__new__(cls, *args, **kwargs)
Create an instance (usually cls or other types of instances)
__init__(self, *args, **Kwargs)
After the instance is created by new, it is executed before being returned to the caller
If new returns an instance of cls, the init method is automatically executed, self is the instance created, and the in ...
Added by tysoncane on Fri, 03 Jul 2020 17:41:10 +0300
Previous articles in this series:
Simple implementation of logical programming language (using C ා) - 1. Introduction of logical programming language
This is a classic Prolog exercise. The Chinese translation is from Ruan Yifeng's article Introduction to Prolog language.
Mr. Boddy died of murder. There are six suspects. Each of them ...
Added by ginga8 on Tue, 30 Jun 2020 11:18:10 +0300
Today, let's talk about the exception handling mechanism in Spring Security.
In Spring Security's filter chain, the ExceptionTranslationFilter filter is specially used to handle exceptions. In the ExceptionTranslationFilter, we can see that exceptions are divided into two categories: authentication exceptions and authorization exceptions. The t ...
Added by trazan on Tue, 30 Jun 2020 05:57:58 +0300
Last article I talked with my friends about the parsing process of XML files in Spring source code. I could have continued to look down to load core classes, but SongGe still hopes to be a little slower. Since I have to learn to understand, I can learn from XML There are also some other classes and concepts involved in the process of file parsi ...
Added by ureck on Mon, 29 Jun 2020 05:02:29 +0300
Because of the company's business relationship, I find a way to shorten the interface generation from the tiktok open platform. Two interfaces need to be called here. Packet capturing analysis is as follows:
Tiktok tiktok tiktok SDK currently provides basic capabilities for voice / login / authorization and sharing to vibrate. Tiktok tiktok ca ...
Added by mkubota on Sun, 28 Jun 2020 05:33:18 +0300
Resources for all experiments
Extraction code: iv72
Write in front
Description of algorithm principle for solving problems
Solving two lines of code similarity: LCS
LCS state transition equation:
LCS question: the a ...
Added by noppie on Sat, 27 Jun 2020 12:49:27 +0300
The official account is rich in data statistics, but there may still be no statistical indicators that I want. For example official account official account is not high but the reading rate is very high. Can I draw a scatter map according to the reading rate of each article in my official account to sho ...
Added by kubis on Sat, 27 Jun 2020 10:23:27 +0300
It is the basic data type of python to combine different elements to form a set
Properties of the collection:
De duplication, a list programming set, will automatically de duplication
Relation test: test the intersection, difference, union and other relations between two sets of data
It d ...
Added by ddrummond on Fri, 26 Jun 2020 11:33:31 +0300
Article Java AQS Queue Synchronizer and ReentrantLock Application This paper introduces the implementation of AQS exclusive acquisition of synchronization state, and illustrates how ReentrantLock customizes synchronizer mutually exclusive lock.
Article Java AQS Shared Obtain Synchronization Status and Semaphore Application Analysis In ...
Added by hank9481 on Wed, 24 Jun 2020 05:01:25 +0300
1, ceph L version codeDownload github, omit2, Change do_cmake.sh file
For the comment line, add the following:
#cmake -DBOOST_J=$(nproc) $ARGS "$@" ..
cmake -DCMAKE_C_FLAGS="-O0 -g3 -gdwarf-4" -DCMAKE_CXX_FLAGS="-O0 -g3 -gdwarf-4" -DBOOST_J=$(nproc) $ARGS "$@" ..
Interpretation of the above modifications:
CMAKE_C_FLAGS = "- O0 -g3 -gdwarf ...
Added by boblang on Tue, 23 Jun 2020 12:57:04 +0300