Day20 multi thread creation, life cycle, lock
Program, process, thread
Program: static concept, a collection of instructions written in a language, a piece of static code Process: the execution process of a program or the program being executed. It is a dynamic process with a life cycle Thread: a process is refined into a thread, which is the internal execution path of a program Concurren ...
Added by MidOhioIT on Fri, 04 Mar 2022 20:37:40 +0200
Java data structure and algorithm -- in situ hash algorithm
In situ hash algorithm
The in-situ hash algorithm is used to solve the problem with spatial complexity of O(1), and the result range is between [0, len (Num)], and num is the solution array provided by the problem.
The in-situ hash algorithm is mainly used in the array solution with the result range of [0, len (Num)]. The space complexity is ...
Added by wisewood on Fri, 04 Mar 2022 20:30:33 +0200
github access three-party login vue+egg+ts
1. What is third-party login? Third party login is to quickly obtain user related information through the account and password of the third-party application For example: QQ login After clicking the QQ login button, the user will be asked to enter the QQ account and password As long as the user enters the QQ account and password, we can get the ...
Added by sup on Fri, 04 Mar 2022 20:27:11 +0200
Kubernetes - data storage
summary
the life cycle of containers may be very short and will be created and destroyed frequently. When the container is destroyed, the data saved in the container will also be cleared. This result is undesirable to users in some cases. kubernetes introduces the concept of Volume in order to persist the data of the container. &ems ...
Added by kvnirvana on Fri, 04 Mar 2022 20:17:04 +0200
vue slot details
Slot is a placeholder provided to the parent component in the child component. It is represented by < slot > < / slot >. The parent component can fill any template code in this placeholder, such as HTML, component, etc. the filled content will replace the < slot > < / slot > tag of the child component. The purpose of the ...
Added by kef on Fri, 04 Mar 2022 20:10:32 +0200
Basic Lecture Notes
Basic chapter
Key points of basic part: algorithm, data structure and basic design mode
1. Binary search
requirement
Be able to describe the binary search algorithm in your own languageAble to write binary search codeBe able to answer some changed test methods
Algorithm description
Premise: there is A sorted array A (assuming it is ...
Added by davidlenehan on Fri, 04 Mar 2022 20:05:05 +0200
[expression recognition] facial expression recognition based on sparse representation feature template matching algorithm, including Matlab source code
1 Introduction
With the development of pattern recognition, image processing and machine learning, fast and effective automatic recognition and verification technology has attracted extensive attention because of its great theoretical and practical application value. As an important verification means in biometrics, face recognition has achiev ...
Added by bidntrade on Fri, 04 Mar 2022 19:58:53 +0200
Java heap & priority queue
catalogue
1. Priority queue
1.1 concept
1.2 internal principle
1.3 operation - queue entry
3.4 operation - out of queue (highest priority)
3.5 borrow heap to realize priority queue
1. Implement an interface
2. See the previous section for the complete code of the heap
3. Priority queue
3.6 testing
1. Priority queue
1.1 concept
...
Added by fris on Fri, 04 Mar 2022 19:51:43 +0200
Prometheus multi rent write Thanos Receiver configuration
Background description
When the collection of too many indicators exceeds the processing capacity of a single prometheus, we usually use multiple prometheus instances to collect certain indicator fragments respectively, and then aggregate them through thanos to provide unified query services.
Through simple experiments, this paper demonstrate ...
Added by mohabitar on Fri, 04 Mar 2022 19:42:26 +0200
Continuous integration interface automation - jmeter+ant+jenkins and HTML report extension
ant batch execute Jmeter
1, Environmental preparation
1. JDK environment: Java Downloads | Oracle
2. ANT environment: Apache Ant - Binary Distributions
3,Jmeter: Apache JMeter - Download Apache JMeter
4. Add ant-jmeter-1.1.1. To the extras directory of JMeter Copy the jar package to the lib directory under the ant installation directory
5 ...
Added by sunnyside on Fri, 04 Mar 2022 19:37:54 +0200