QA Official

How can threads achieve synchronization and communication

https://qaofficial.com/post/2019/05/11/69815-how-can-threads-achieve-synchronization-and-communication.html 2019-05-11
Thread Synchronization What is Thread Synchronization? When multiple threads are used to access the same data, it is very easy to have thread safety problems (for example, multiple threads are operating the same data, resulting in inconsistent data), so we use synchronization mechanism to solve these problems.There are two ways to realize synchronization mechanism: 1.Synchronization code block: synchronized (same data) {} same data: n threads access the same data at the same time.

Jiangxi University of Science and Technology Network Security Fundamentals Chapter 11 and Chapter 12 Review Questions

https://qaofficial.com/post/2019/05/11/69891-jiangxi-university-of-science-and-technology-network-security-fundamentals-chapter-11-and-chapter-12-review-questions.html 2019-05-11
1. Intrusion Detection 1) Function: Real-time Monitoring, Security Audit and Active Response 2) detection method (1) Statistical anomaly detection: includes data sets related to the behavior of legal users within a certain period of time.Then the observed user behavior is tested by using statistical testing methods, so as to be able to judge whether the behavior is legal user behavior more definitely. a. threshold detection b. based on behavior curve

Method of Infinite Trial Software

https://qaofficial.com/post/2019/05/11/70013-method-of-infinite-trial-software.html 2019-05-11
1: Unlimited trial of Navicat for mysql Open the registry to HKEY _ CURRENT _ USER \ SOFTWARE \ CLASSES \ CLSID and delete only one info key under UUID, which contains a key value starting with the first four bytes of UUID.For example:

Problems Needing Attention on Operators in Java

https://qaofficial.com/post/2019/05/11/70062-problems-needing-attention-on-operators-in-java.html 2019-05-11
type conversion operator () takes precedence over the method call operator public class Operator { double operate(){ return 3.14; } public static void main(String[] args){ Operator operate = new Plus(); //如果写成(Plus)operate.plus();编译器是不会通过的 System.out.println(((Plus)operate).plus()); } } class

Select sorting algorithm (sort from small to large)

https://qaofficial.com/post/2019/05/11/69783-select-sorting-algorithm-sort-from-small-to-large.html 2019-05-11
algorithm principle is to take the smallest number to the premise every cycle. Not much said directly on the code public static void seleteMinSort(int[] arry) { for (int i = 0; i < arry.length; i++) { int minIdex = i;// 最小下标 for (int j = i + 1; j < arry.length; j++) { if (arry[j] < arry[minIdex]) { // 按从大到小排序只

Some Basic Concepts

https://qaofficial.com/post/2019/05/11/69666-some-basic-concepts.html 2019-05-11
Some Basic ConceptsBefore starting to learn Keras, we want to pass on some basic concepts and techniques about Keras and in-depth learning. We suggest beginners to browse the contents mentioned in this page before using Keras, which will reduce your confusion in learning. 1 symbolic computation Keras' underlying libraries use Theano or TensorFlow, which are also called Keras' backend.Both Theano and TensorFlow are a "symbolic" library. Therefore, this also makes Keras programming different from traditional Python code.

a mind map to learn how to build a high-performance MySQL system!

https://qaofficial.com/post/2019/05/11/70121-a-mind-map-to-learn-how-to-build-a-high-performance-mysql-system.html 2019-05-11
https://mp.weixin.qq.com/s/OBIOAjHo5k8ioNz-F2LoQA?utm_source=tuicool&utm_medium=referral

brick removal in learning and learning

https://qaofficial.com/post/2019/05/11/69586-brick-removal-in-learning-and-learning.html 2019-05-11
Improving Skills-Learning Code and Ideas Programmers improve their skills while developing functions to complete their work. Elementary Introduction look at the project basic code, public code, understand the implementation functions, intentions, ideas Note: The basic code and tool classes are implemented or transplanted by the old hand people. When you don't understand them, you can directly ask them for quick answers. to improve their skills Intermediate Basic+Realize the function at the same time, find the best way to complete and understand the extension from point to line.

command line update scikit-learn

https://qaofficial.com/post/2019/05/11/69689-command-line-update-scikit-learn.html 2019-05-11
Use pip command to update library pipinstall-upgrade library name such as updating scikit-learn package pip install --upgrade scikit-learn pip update Python -m pip install --upgrade pip

install pip without root permission

https://qaofficial.com/post/2019/05/11/69677-install-pip-without-root-permission.html 2019-05-11
translated from: https://askubuntu.com/questions/363300/how-to-install-pip-python-to-user-without-root-access There is no root privilege on a server and the system does not have built-in python-pip.Search found that Python Enterprise Application Kit can be used for installation. The command is as follows: easy_install --user pip PATH may need to be added (not used by the author), and export in. bashrc is sufficient. subsequent use of pipinstall-uservirtualenv allows you to freely match your environment.