Programming. Page 6

ReactiveCocoa use details-1

Reactive cocoa (referred to as RAC) is a functional responsive programming framework for iOS and OS development, which i...
8:58 4 February 2020

nginx worker process loop

When the worker process starts, it first initializes the environment it needs to run, then it enters a cycle in which it...
23:18 3 February 2020

UDP and TCP 2 for Network Programming

TCP TCP: A connection-oriented, reliable, byte-stream-based transport layer, communication protocol Features: Connection...
23:02 3 February 2020

Front and back interaction (Promise, fetch, axios, async / await usage)

1.Promise overview Promise is a solution of a...
3:07 2 February 2020

LeetCode Power Button 55. Jump Game

Title Description (Medium Difficulty) 45 Questions You've already seen this before, but you've just returned to the min...
21:44 1 February 2020

Spring - handwritten spring annotation version transaction, seven communication behaviors of spring things

I. annotations 1. What is built-in annotation (1) Add @ SuppressWarnings to the front of the program to remove warnings in javac compilation -- stage ...
21:53 19 January 2020

OAuth2 protocol and Spring Security OAuth2 integration

The authorization protocol of OAuth 2.0 allows third-party applications to access restricted HTTP resources. As usual, when you use Github and Google...
1:58 19 January 2020

Introduction to network socket programming

The following is a Li's understanding of socket programming, hoping to help you; if there are errors, please point out generously; 1: Socket pro...
9:21 17 January 2020

ByteBuddy manipulating Java bytes example: automatically removing spaces on both sides of a string

I learned a little bit about ByteBuddy today. Its official warehouse address is: https://github.com/raphw/byte-buddy. Official description: Runtime co...
6:07 14 January 2020

Algorithms Ring Chain List II

00141 Ring Chain List Title Description Given a list of chains, determine if there are rings in the list. Instance 1: Input: head = [3,2,0,-4], pos =...
18:51 13 January 2020

Slow code Python? Hands on how to speed up your code by 30%

Yun Qi Hao: https://yqh.aliyun.comThe first-hand cloud information, the selected cloud enterprise case base of different industries, and the best prac...
6:58 13 January 2020

Using UAV (mobile phone) and Unity3D software to make their own VR panoramic software

*There are many panoramic websites and companies in the market. I will not list them here. I will Baidu VR and Panorama and so on will jump out a lot...
23:39 12 January 2020

Three traversal methods of binary tree (non recursive)

Binary tree is a kind of data structure. The structure of simple binary tree can be divided into left sub node, right sub node, and a pointer to data...
5:18 11 January 2020

What to do if php fails to call python

What if php fails to call python? Solutions to PHP's failure in calling Python Suppose there is a file: php_test.php python_test.py To run Python...
1:22 10 January 2020

Manage hierarchical data using MySql

Summary We know that relational database tables are better suited for flat lists than for hierarchical data with parent-child relationships that can b...
21:15 17 December 2019

How do I avoid deadlocks?

When concurrent programs become deadlocked, we often have to restart the application.The best way to solve the deadlock problem is to avoid it. Condit...
2:56 6 December 2019

Exception handling in [C + +] 64 μ C + +

C + + exception handling C + + has built-in exception handling syntax element try... Catch try statement handles normal logic code catch statement pro...
18:17 4 December 2019

1030 perfect sequence (25 points)

Given a positive integer sequence, and a positive integer p, let the maximum value of the sequence be m, and the minimum value be m. if M ≤ mp, the s...
17:25 4 December 2019

Several ways to realize multithreading

This blog series is a record summary of learning concurrent programming. Due to the large number of articles and the scattered time of writing, I arra...
14:28 4 December 2019

Storage - massive data - (mycat core concepts and advanced)

target Master big data processing scheme and HA of database Master why database middleware is needed and what is database middleware Master the charac...
11:52 4 December 2019

Golang reading and writing files

Reading and writing files is one of the common operations of programming languages. Here, we will read the related operations of the files. read file ...
9:05 4 December 2019

Some methods of re

re.compile(pattern, flags=0) Create a reusable variable from a regular expression. The generated object can be used in other places repeatedly, inste...
8:54 4 December 2019

Echo server C + + 4-UDP connect version

Calling the connect function for a UDP socket does not establish a connection with the UDP socket of the other party, but registers the destination IP...
1:07 4 December 2019

[drain pit] Ftp normally connects to the server but cannot get the file

Some codes in ftp tool class ftp util are as follows: import org.apache.commons.net.ftp.*; public class FtpUtil { private static Logger log = Logger.g...
23:42 3 December 2019

Talk about registerConsumer and unregisterConsumer of rocketmq

order This paper mainly studies the registerConsumer and unregisterConsumer of rocketmq. MQClientInstance rocketmq-client-4.5.2-sources.jar!/org/apach...
23:39 3 December 2019

Day 13 of advanced learning

Catalog 1. Anonymous type 2. Lambda expression 1. Anonymous type Without indicating the type of type, an object of unknown type is created through im...
23:28 3 December 2019

Arrays in Scala

1. Introduction to array There are two kinds of arrays in scala: fixed length array and variable length array. fixed length Array: because Array is i...
23:20 3 December 2019

Introduction to Scala basic syntax

1. Definition of variables Note: there is no concept of static in scala. All methods and properties in the class decorated by the keyword object are ...
17:01 3 December 2019

java multithreading, communication between two threads

Example: two threads execute in turn package com.heima.day25; public class Demo004 { public static void main(String[] args) { Print print = new Print...
15:15 3 December 2019

What are the similarities between Python and JS?

Python is a widely used language. It can automate scripts, crawlers, and even in the field of deep learning. As a front-end developer, I also know tha...
13:43 3 December 2019