C# AOP Learning Notes
1. AOP Concepts
Official Interpretation: AOP (Aspect-Oriented Programming) is a technology that dynamically and uniformly adds functionality to a program without modifying its source code through precompilation and run-time dynamic proxies.It is a new methodology and a complement to traditional OOP programming.OOP is concerned with dividing req ...
Posted by Shandrio on Tue, 17 Mar 2020 17:54:29 +0100
Super ledger fabric Transient Data and Private Data use cases
There are two related concepts in Hyperledger Fabric: Private Data and Transient Data. This paper provides four example programs, which correspond to the four combinations of Private Data and Transient Data. By observing the transactions of account books and the world state database, we can understand why Transient Data should be used as input ...
Posted by netxfly on Mon, 16 Mar 2020 16:01:14 +0100
Source code analysis of hotspot object local method
Catalog
1, Object.c
2, JVM? Clone
3, Shallow copy and deep copy
4, ObjectSynchronizer
1,FastHashCode / identity_hash_value_for
2,get_next_hash
3,inflate / inflate_helper
4,omAlloc / omRelease / omFlush
5,InduceScavenge / deflate_idle_monitors / deflate_monitor / walk_monitor_list
6,wait / n ...
Posted by scheinarts on Sun, 15 Mar 2020 04:22:25 +0100
Live2D(Cubism3.x) web Kanban settings
Previous tutorial
Main contents of this issue
1, Perfect what you didn't notice before. Set the mouse movement event before, and forget to modify the mouse click event
Add the code in the original place
2, Understand the configuration file of this model file and configure it according to your own need ...
Posted by dhillarun on Sat, 14 Mar 2020 09:36:38 +0100
How do I use Servlet and Ajax?
I'm new to Web applications and servlets, and I have the following questions:
Whenever I print something in the Servlet and the web browser calls it, it returns a new page containing that text. Is there a way to print text on the current page using Ajax?
#1 building
I'll show you the entire example of a servlet and the way ajax calls ...
Posted by kof20012 on Wed, 11 Mar 2020 11:15:17 +0100
War Epidemics - Revealing the Retrograde with Maps
After the epidemic happened, almost all the people of the whole country obeyed the call to isolate themselves at home. However, there are such a group of people, called "retrograders", who are the medical staff from all provinces of the country who went to Hubei to support them. They rushed to ...
Posted by acroporas on Wed, 11 Mar 2020 02:58:13 +0100
Should I declare Jackson's ObjectMapper as a static field?
ObjectMapper class of Jackson Library Seems thread safe .
Does this mean that I should declare my ObjectMapper as a static field like this?
class Me {
private static final ObjectMapper mapper = new ObjectMapper();
}
Instead of instance level fields like this?
class Me {
private final ObjectMapper mapper = new ObjectMapper(); ...
Posted by azhan on Sat, 07 Mar 2020 13:03:35 +0100
python note 24 (review)
1. Content Review
Object-oriented
Class variable
Method
: Static method
Class method
: Binding method
: Attribute property
Singleton Module
Singleton module: design mode
Singleton scenarios
_u new_u(self): Instance creation, working before init
logging module
Logged
Logging errors, operation logs
For programmers to see: 1 Statistical use; ...
Posted by nylex on Thu, 05 Mar 2020 18:45:36 +0100
django advanced more: https://docs.djangoproject.com/en/3.0/
Model
ORM (relationship object mapping)
1. field
AutoField(Field)
# int Auto increment column, parameter must be filled primary_key=True
BigAutoField(AutoField)
# bigint Auto increment column, parameter must be filled primary_key=True
//If there is no auto increment column in the model, a column named id will b ...
Posted by Dakkar on Tue, 03 Mar 2020 08:46:59 +0100
MySQL Full Text Index, Joint Index, like Query, json Query Speed Match
Query Background
There is a table, tmp_test_course Around 100,000 records, and then a json field, outline, that holds a one-to-many relationship (multiple codes, such as jy15776881775)
We need to retrieve specific types of data in this 100,000 data set, with a total target of 2,931
SELECT COUNT(*) FROM tmp_test_course WHERE `type`=5 AND del=2 ...
Posted by richardw on Tue, 03 Mar 2020 01:29:33 +0100