Tactile intelligent sharing | making Debian10 base file system
IDO-EVB6Y09 is a multi interface internet of things gateway device equipped with NXP imx6uliec processor, with a maximum dominant frequency of 800MHz. It has three functions: 4G industrial router, 4GDTU and industrial HMI. It supports the wireless communication mode of WIFI Bluetooth module and 4G all Netcom module, and provides multiple functi ...
Posted by matthew_ellis24 on Mon, 06 Dec 2021 21:09:34 -0800
Detailed explanation of the core concepts in Spring (see the necessary source code)
BeanDefinition
Definition of Bean. In Spring, how can we define a Bean?
@Bean@Component(@Service,@Controller)
Also, you can use BeanDefinition
For example, we can define a Bean by defining a BeanDefinition object:
// A BeanDefinition is defined
AbstractBeanDefinition beanDefinition = BeanDefinitionBuilder.genericBeanDefinition().getBeanDe ...
Posted by loopykd on Mon, 06 Dec 2021 21:07:24 -0800
Complete leetcode's intensive lecture on algorithm interview in Dachang 24. Other types of questions
Complete leetcode's intensive lecture on algorithm interview in Dachang 24. Other types of questionsVideo Explanation (efficient learning): Click to learncatalog:1. Introduction2. Time and space complexity3. Dynamic planning4. Greed5. Binary search6. Depth first & breadth first7. Double pointer8. Sliding window9. Bit operation10. Recursion ...
Posted by gary00ie on Mon, 06 Dec 2021 20:58:17 -0800
The Spring framework uses JDBC template to connect to the database
JDBCTemplate
JDBC template (concept and preparation)
What is a JdbcTemplate
The Spring framework encapsulates JDBC and uses JdbcTemplate to facilitate database operation preparation
Introduce related jar packages [the external chain image transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to ...
Posted by samsunnyuk on Mon, 06 Dec 2021 20:53:20 -0800
Spring transaction management
Spring transaction management
1. Business
What is a transaction A set of operations either succeeded or failed Characteristics of transactions ACID
Atomicity, a group of operations is a whole, either all successful or all failed, and cannot be separatedConsistency: the data is consistent before and after the transactionIsolation: multipl ...
Posted by romic on Mon, 06 Dec 2021 20:52:09 -0800
java multithreaded programming -- various locks -- exclusive lock VS shared lock
reference resources: https://tech.meituan.com/2018/11/15/java-lock.html https://www.cnblogs.com/jyroy/p/11365935.html
Exclusive lock and shared lock are the same concept. Let's first introduce the specific concepts, and then introduce the exclusive lock and shared lock through the source code of ReentrantLock and ReentrantReadWriteLock.
Exclu ...
Posted by Mega on Mon, 06 Dec 2021 20:43:48 -0800
Explain the principle and implementation of Bloom filter in detail
Why do I need a bloom filter
Imagine how you would handle the following scenario:
Whether the mobile phone number is registered repeatedly
Has the user participated in a second kill activity
Forge requests for a large number of id query records that do not exist. At this time, the cache misses. How to avoid cache penetration
To solv ...
Posted by bogdaniel on Mon, 06 Dec 2021 20:40:19 -0800
TensorFlow basic learning - 3 CNN
Convolutional neural networkGrasp its core idea, that is, reduce the content of the image through convolution operation, and focus the model's attention on the specific and obvious features of the image.max pooling - enhance features and reduce datarealizationIn the following code, the accuracy of the model on the training data may rise to abou ...
Posted by pjoshi on Mon, 06 Dec 2021 20:30:14 -0800
SPI and adaptive extension of Dubbo analysis
Before going into Dubbo, you must understand the SPI mechanism in Dubbo.
1, Background
1. Source
Dubbo's extension point loading is enhanced from the SPI (Service Provider Interface) extension point discovery mechanism of JDK standard. However, it is different. It improves the following problems of SPI of JDK standard:
The SPI of the JDK stan ...
Posted by libertyct on Mon, 06 Dec 2021 20:28:28 -0800
JS implementation of four digital kilogram formatting methods to share
The so-called digital thousandth form, that is, from the single digit, add a comma between every three digits. For example, "10000". To meet this requirement, I initially wrote such a function:
Method 1
The code is as follows:
// Method 1
function toThousands(num) {
var result = [ ], counter = 0;
num = (num || 0).toString() ...
Posted by airo on Mon, 06 Dec 2021 20:19:46 -0800