1. zookeeper event listener
1.1. watcher concept:
zookeeper provides data publish / subscribe function. Multiple subscribers can listen to a specific subject object at the same time. When the subject object's own state changes, such as the node content changes, the list of child nodes under the ...
Posted by brandtj on Thu, 18 Jun 2020 00:35:26 -0700
Tycoon is a multi platform Java blackmail software for Windows ® and Linux ®, which has been in the field since at least December 2019. It is deployed in the form of Trojan Java runtime environment (JRE) and executed in the form of obscure java image format.
It has been o ...
Posted by dutchboy on Wed, 17 Jun 2020 23:55:02 -0700
It's normal for the client to have bugs, but if bugs cause the program to crash, we must pay attention to them, so in order to better locate the cause of the crash, we need to do some special handling. Because only linux and window platforms have been built, the following list only deals w ...
Posted by Cheez on Wed, 17 Jun 2020 23:49:29 -0700
NDK development summary
Scheduling strategy and priority
Threads, sometimes called lightweight processes, are the smallest unit of program execution.
#include < ...
Posted by saito on Tue, 16 Jun 2020 00:21:57 -0700
Python 3.7 learning notes 27 context manager
Input and output of files, connection and disconnection of database are common resource management operations. Because of limited resources. In such a scenario. If these resources are used but not released. It will cause resource leakage. Light makes the ...
Posted by mcmuney on Mon, 15 Jun 2020 19:33:05 -0700
Data analysis with python (Second Edition)
Example 1. Data analysis of time zone
1.1 pure python time zone count
1.2 time zone counting with pandas
Example 2. Analysis of film rating data
2.1 difference of measurement and evaluation
Example 3. Data analysis of infant names in the Un ...
Posted by revraz on Mon, 15 Jun 2020 01:30:32 -0700
GOF definition: separate the construction of a complex object from its representation, so that the same construction process can create different representations. Such a design pattern is called builder pattern.
Builder pattern, also called builder pattern or generator pattern, is one of ...
Posted by H4mm3r3r on Fri, 12 Jun 2020 23:59:53 -0700
Today I want to introduce to you the crawling and identification of verification code, but only involves the simplest graphic verification code, which is also a common type now.
Many people study python and don't know where to start.Many people learn python, master the basic syntax, do not know where to find cases to start.Many people who have ...
Posted by grungefreak on Tue, 09 Jun 2020 01:38:20 -0700
View mysql profile address
mysql --help|grep 'my.cnf'
ps aux|grep mysql|grep 'my.cnf'
The configuration is divided into two parts, the master server part and the slave server part
In this test, the master and slave of the two machines are synchronized, and the environment is windows (the same as Linux)
Main server ip:192.168.1.199
Slave serve ...
Posted by busnut on Sun, 07 Jun 2020 19:52:27 -0700