redis source learning 01: String sds
Preface
This article is the learning notes of redis source code on string processing, welcome to correct.
The version of redis is 5.0.5. I won't elaborate on the functions, uses and performance of redis.
text
In the main topic, redis provides its own string storage and related operations. The source files are in sds.h and sds.c.
In the process ...
Added by aesthetics1 on Mon, 20 Apr 2020 13:48:17 +0300
Introduction to SLS Machine Learning: Time Series Complement and Version Comparison
This time, we introduce two useful functions: time series complement function and abnormal contrast function.
1. Time Series Complement Point Function
Indicator description in the chart above
Log Event Event T0: The earliest event a log generates
Log Event Event T1: The latest event the log generates
Actual point data: There is definite data ...
Added by puritania on Mon, 20 Apr 2020 06:44:07 +0300
Summary of common ES6 features
I. ES6 Basic Understanding
1. What is ES6?
ES6 refers to ECMAScript 6.0 and is a standard for the JavaScript language.The goal is to make JavaScript a language for enterprise development by allowing you to write complex, large applications.
2. What is the difference between ES6 and JavaScript?
ES6 is a standard for JavaScript, and JavaScript is ...
Added by suomynonA on Sat, 18 Apr 2020 00:04:07 +0300
EFCore Extended Select Method (Customize Query Statements to Entities)
EFCore Extended Select Method (Customize Query Statements to Entities)
Often when working with databases, queries return fields that are inconsistent with what we define as entities, so it is cumbersome to create a large number of models for UI or interface layers and to manually correspond to the fields.This article addresses these repeti ...
Added by welsh_sponger on Fri, 17 Apr 2020 20:51:39 +0300
IOptions, IOptions monitor, and IOptions snapshot
background
ASP.NET Core introduces the Options mode, which uses classes to represent related setting groups. To put it simply, a strongly typed class is used to express configuration items, which brings many benefits.Beginners will find that this framework has three main consumer oriented interfaces: ioptions < toptions >, ioptions monit ...
Added by eabigelow on Fri, 17 Apr 2020 11:08:00 +0300
Introduction to Java reflection mechanism
Reflection: the soul of frame design
Framework: semi-finished software, which can be developed on the basis of framework and simplify code
Reflection: encapsulates the components of a class as other objects, which is the reflection mechanism
Benefits:
These objects can be manipulated during program execution
It can be decoupl ...
Added by billcoker on Sun, 12 Apr 2020 12:08:37 +0300
The difference and use of Spring @Valid and @ Validated
Difference between them
@Valid
@Validated
standard
Standard JSR-303
Enhance JSR-303 specification
package
javax.validation
org.springframework.validation
Verification results
BindingResult result
BindingResult result
Group support
I won't support it
Support
Packet sequence
I won't support it
Support
type annotation
?
Support
...
Added by petrosa on Sat, 11 Apr 2020 17:09:10 +0300
ASP.NET Core uses Interceptor IActionFilter for privilege control
Original:
ASP.NET Core uses Interceptor IActionFilter for privilege control
"Web-based education system for wheat silk "Uses a front-end and back-end code separation architecture, that is,"Miidy.Cloud.Console"station and"Miidy.Cloud.Manage"station (two front-end stations) simultaneously invoke the"Miidy.Cloud. ...
Added by chrille112 on Sat, 11 Apr 2020 04:27:47 +0300
OpenGL ES 3. OBJ file rendering
Hello, next I will introduce OpenGL ES 3. OBJ file rendering.
The previous section introduces the OBJ file and its text structure. Next, it introduces how to load the OBJ file into memory and render it through OpenGL.
1. OBJ file parsing class
Because OBJ text files are stored according to certain rules (see the previous section for de ...
Added by TalonFinsky on Wed, 08 Apr 2020 11:26:19 +0300
[swagger] the use and avoidance of swagger in C Chen
@
Catalog
1 installation
2 modification name and version number
3 display description
4 display controller notes and Chinese
5. The same route and different query parameters
6 ignore some fields in the Model
7 delivery header
8 HTTP status code on error
When developing web api, it's a pain to write documents. Without documents, people don' ...
Added by nbalog on Tue, 07 Apr 2020 10:29:41 +0300