Introduction to python Basics
## Statement: Individual learning arrangement, for reference only
Basic grammar
Note: Identify "#", triple double quotation mark ", comment content".
Line and indentation: Statements with four spaces hanging indentat ...
Posted by ljschrenk on Tue, 10 Sep 2019 20:55:13 -0700
Concurrent programming demo records demo20 ReentrantLock series
Horse Soldier High Concurrency Programming Series Record
https://www.bilibili.com/video/av11076511/?spm_id_from=333.788.videocard.4
ReentrantLock1
reentrantlock used instead of synchronized
In this example, because m1 locks this, m2 cannot execute u ...
Posted by daucoin on Tue, 10 Sep 2019 18:16:37 -0700
Parsing and Implementing a Simple webpack at a Glance
Previous Situation Review
Understand the basic configuration of webpack at a glanceAdvanced configuration and optimization of Web pack at a glance
1. Introduction
This paper mainly describes the working principle of web pack, its packaging process, step by step analysis of its packaging process, and then simulate the implementation of a simple ...
Posted by Perad on Tue, 10 Sep 2019 09:05:58 -0700
MapReduce Case-Data Processing of Agricultural Products
Articles Catalogue
statement
Data sample
functional requirement
1. File data files by day, that is, one data file per day.
requirement analysis
code implementation
Output results
2. Re-export provincial documents and save them in one line of pr ...
Posted by TashaAT on Tue, 10 Sep 2019 01:40:38 -0700
NestJs Learning Tour-Interceptor
Welcome to NestJs Travel Series
Interceptor is a class that implements the NestInterceptor interface and is decorated by the @Injectable decorator.
Interceptor is an application based on AOP programming idea. The following are commonly used functions:
Execute additional logic before or after method execution, which is generally not part of t ...
Posted by greenba on Tue, 10 Sep 2019 01:18:11 -0700
Can programmers not install x? Give the login a graphics authentication code first! (canvas implementation)
Careful students can find that many websites will appear a graphics authentication code after multiple logins, or when submitting forms, or clicking to obtain mobile phone authentication code and other scenarios will have graphics authentication code.
So what problems does Graphic Verification Code come up to solve?
What is Graphic Verificati ...
Posted by psyickphuk on Mon, 09 Sep 2019 00:20:20 -0700
Annotation and Operator
Notes
A single line comment in Python begins with #, for example:
# This is a comment.
print("Hello, World!")
Multi-line comments are enclosed with three single quotation marks'', or three double quotation marks', for example:
'''
This is a multi- ...
Posted by seodevhead on Sun, 08 Sep 2019 23:28:17 -0700
The Way to Design - Decentralize Hotspot Data
Summary
Popular hot data refers to data used in high frequency, such as some hot events, because of the fermentation effect of the network, the concurrency can reach hundreds of thousands or even millions in a short time. For such scenarios, we need to analyze the bottlenecks of the system, as well as the technical implementation of the respon ...
Posted by j007w on Sun, 08 Sep 2019 21:01:40 -0700
poj1639 Picnic Planning Minimum Degree Limited Spanning Tree
Origin: https://vjudge.net/problem/11062/origin
Topic: N-point M-side undirected graph, find a minimum spanning tree so that the degree of node 1 does not exceed the given k
The edge connected to Node 1 does not specify death, only if it is les ...
Posted by athyzafiris on Sun, 08 Sep 2019 19:43:16 -0700
Deeply Understanding the Principle of Go-sync.Map
Map is like a Go map[interface{}]interface{} but is safe for concurrent useby multiple goroutines without additional locking or coordination.
Loads, stores, and deletes run in amortized constant time.
The above paragraph is the official description of sync.Map. From the description, sync.Map is very similar to map. The underlying implementatio ...
Posted by xardas on Sun, 08 Sep 2019 04:04:54 -0700