2. Event monitoring and cluster building of zookeeper

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

Analysis of multi platform Java ransomware for education and software industry

essential information 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

qt client technology talks - client exception crash handling: dump, corefile 02

1, Foreword 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

NDK14_C + + foundation: C + + thread

NDK development summary Article catalog C++11 thread POSIX Threads Thread properties Detach thread Scheduling strategy and priority Thread synchronization Conditional variable Threads, sometimes called lightweight processes, are the smallest unit of program execution. C++11 thread #include &lt ...

Posted by saito on Tue, 16 Jun 2020 00:21:57 -0700

Java learning_ 08_GUI programming

Java learning_ 08_GUI programming GUI programming 1. Introduction 2. Introduction to AWT 2.1 introduction to AWT 2.2 components and containers 2.3Frame 2.4 Panel 2.4.1FlowLayout 2.4.2 BorderLayout 2.4.3 GridLayout 2.4.4 layout exercise 2.5 event monitoring 2.6 graphics 2.7 mouse event adapter 2.8 ...

Posted by varghesedxb on Mon, 15 Jun 2020 20:05:03 -0700

Python 3.7 learning notes 27 context manager

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

Five cases of data analysis: handle data processing (basic, detailed)

Article catalog 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

Detailed explanation of builder's design mode

1, Definition 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

Python crawler tutorial: detailed explanation of crawling and recognition of verification code

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

One way master-slave synchronous configuration of mysql under windows

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