Installation of Galaxy Kirin operating system with localized virtual ARM64-CPU
backgroundA project needs to realize the localization of all basic software, in which the operating system specifies Galaxy Kirin v4 and the CPU uses Feiteng processor. I don't have this domestic processor locally, but Feiteng is a 64 bit processor based on ARMv8 architecture, so theoretically, the hardware based on this CPU architecture should ...
Added by candy2126 on Mon, 07 Mar 2022 03:51:21 +0200
fmt in Golang standard library
fmt in Golang standard library
fmt package implements formatted I/O similar to C language printf and scanf. It is mainly divided into two parts: output content and obtain input content.
1. Outward output
The standard library fmt provides the following output correlation functions.
Print
Print series functions will output the content to the ...
Added by keeve on Sun, 06 Mar 2022 17:15:37 +0200
Roll it up and take you to write a distributed RPC framework that middle and senior programmers will know
I summary
What is RPC?
Remote service callOfficial: the idea of requesting services from remote computer programs through the network without understanding the underlying network technologyA little more popular: without knowing the details of the call, the client calls an object that exists on the remote computer, just like calling an objec ...
Added by donald on Sun, 06 Mar 2022 16:46:07 +0200
4. Use Redis to optimize login module
#Using Redis to optimize login module
Redis is used to optimize the functions with high access frequency that will affect efficiency
Use Redis to store verification code
[the transfer of external chain pictures fails, and the source station may have anti-theft chain mechanism. It is recommended to save the pictures and upload them d ...
Added by metalhead41 on Sun, 06 Mar 2022 15:55:02 +0200
[deep analysis of Spring source code] 09 transaction
1. Transaction usage example in JDBC mode
1) Create data table structure
CREATE TABLE user (
id int(11) NOT NULL auto increment,
name varchar (255) default NULL ,
age int ( 11 ) default NULL ,
sex varchar (255 ) default NULL ,
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
2) Create corresponding PO
public class User ...
Added by evanluke on Sun, 06 Mar 2022 15:18:57 +0200
3. Follow, cancel, follow and fan list
#Follow and cancel
[the transfer of external chain pictures fails, and the source station may have anti-theft chain mechanism. It is recommended to save the pictures and upload them directly (img-xwZ8AhZC-1646567007779)(D:\TyporaNotes \ Niuke forum project \ Chapter III pictures \ image-20220306104936732.png)]
Design the key and Valu ...
Added by wyvern on Sun, 06 Mar 2022 14:01:22 +0200
C # – calling asynchronous methods from non asynchronous methods
summary
Each variation of the following code I tried didn't work – either DoSomething(): void or being called write or DoSomething(): Task and using taskex Runex() call, some attempts involve GetAwaiter(). Call getResult() Errors seen include: "Start may not be called on a Task with a null operation", "RunSynchronously may ...
Added by BillBillJr on Sun, 06 Mar 2022 13:03:00 +0200
Spring transaction management
1, Transaction Basics
1. Transaction definition
2. Four characteristics of transaction
Atomicity Transaction is the logical work unit of database. All operations included in transaction are either done or not done at all.Consistency The result of transaction execution must be to change the database from one consistency state to another. ...
Added by j9sjam3 on Sun, 06 Mar 2022 12:31:18 +0200
Deploy nacos cluster in k8s (official document version)
Xiaobai anti forgetting Recently, I learned the basic usage of k8s and wanted to practice with an actual springCloud project. As a result, I was directly stopped in the first level registration center. Fortunately, there are official configuration documents, but there are still some holes in the configuration process, so I record it here. Deplo ...
Added by gwizz on Sun, 06 Mar 2022 12:10:02 +0200
Monthly production of 10000 Chinese medicine popular science short video methods, Python Programming AI tutorial
You're right. I don't know if other programming languages and tools can do 10000 popular science short videos a month, but it can be done with the MoviePy module of Python.
In 19 years, when I was still in school, the leader arranged for me to use pr to make a popular science short video of traditional Chinese medicine. I really couldn't get t ...
Added by Antnee on Sun, 06 Mar 2022 10:29:54 +0200