Python Basics: basic settings and common syntax of pycharm
Content summary
Basic use of pychar
Annotation syntax
Variables and constants
Garbage collection mechanism
data type
Detailed content
Note that the Python environment should be downloaded locally, and the main.py script file is not checked temporarily
Topic selection:
pycharm switch interpreter:
Click add
Select the desired interpreter ...
Posted by fontener on Tue, 02 Nov 2021 16:09:04 -0700
day_25Lambda expression, functional interface
1. Lambda
1.1 general
Lambda expression is a function without name, which can also be called closure. It is the most important new feature released by Java 8. It is essentially an anonymous inner class or a piece of code that can be passed
And the arrow function
1.2 why use Lambda expressions
Lambda expression is a short form of anonymous ...
Posted by unknown101 on Tue, 02 Nov 2021 15:46:14 -0700
SpringCloud microservice practice -- building an enterprise level development framework: OpenFeign+Ribbon to achieve load balancing
Ribbon is a load balancing project under Netflix, which mainly realizes the load balancing of middle tier applications. After configuring the service provider address list for the Ribbon, the Ribbon will automatically help the service caller to request based on a load balancing algorithm. The Ribbon provides a variety of load balancing a ...
Posted by gthri on Tue, 02 Nov 2021 14:51:33 -0700
VS2017 CUDA Programming learning 10: texture memory
VS2017 CUDA Programming learning 1: CUDA Programming two variable addition operation
VS2017 CUDA Programming learning 2: executing threads on GPU
VS2017 CUDA Programming learning 3: CUDA obtains attribute information on the device
VS2017 CUDA Programming learning 4: preliminary exploration of CUDA parallel processing - Implementation ...
Posted by phpeanuts on Tue, 02 Nov 2021 14:25:12 -0700
Linux CPU context switching performance monitoring
Context switching
In short, it is to save the resources of the register and program counter of the previous task, then load the register and program counter of the next task, and finally jump to the address of the new task.
The context switching of CPU can be divided into:
System call context switchingProcess context switchingThread cont ...
Posted by RobinTibbs on Tue, 02 Nov 2021 14:07:31 -0700
The second "intelligence Cup" National College Students' IT skills competition (synchronized with the final)
T130013 garden party seal
Title Description
The College held a garden tour, in which a very important link is to collect seals. The stamp collection card is a piece of white paper with height and width of \ (h,w(20\le h \le 1000,50\le w \le 2000) \). Initially, each unit pixel is filled with (representing white).
Now little A is stamping on A b ...
Posted by tentaguasu on Tue, 02 Nov 2021 14:05:16 -0700
Use of SaltStack advanced status
YAML language
YAML is an intuitive data serialization format that can be recognized by computer. It is a programming language with high readability, easy to be read by human beings, easy to interact with scripting language and used to express data sequences.
It is similar to the data description language of XML, a subset of the standard gener ...
Posted by esukf on Tue, 02 Nov 2021 14:03:17 -0700
[Luogu P3160] [CQOI2012] local minimum
preface
[Title portal]
What a difficult question
Mental journey:
I have no idea.
Crazy problem solving.
The code is too long and wants to give up.
After sorting out the ideas, I found that the core is not so complex.
Start writing according to a piece of code.
Transfer to 90pts\ after finishing writing.
Finally.
There are so many implementa ...
Posted by Wave on Tue, 02 Nov 2021 13:55:59 -0700
Detailed sorting of Java String class operation methods
The basic operations of String class can be divided into the following categories:
1. Basic operation method
2. String comparison
3. Conversion between string and other data types
4. Character and string lookup
5. Interception and splitting of strings
6. String replacement and modification 1, String basic operation method
First, let's ta ...
Posted by Paavero on Tue, 02 Nov 2021 13:53:08 -0700
Linux Process Management
Process and thread definition
A process is a program in execution (the object code is stored on the media). A process includes not only the running program, but also some other resources, such as open files, suspended signals, internal kernel data, processor status, etc. An execution thread is projected in a section of memory, which also c ...
Posted by Scorptique on Tue, 02 Nov 2021 13:15:11 -0700