"Vue source code learning" do you want to know the implementation principle of Vuex?

Hello, I'm Lin Sanxin. Vuex is a special for Vue JS application development state management mode. It uses centralized storage to manage the state of all components of the application, and uses corresponding rules to ensure that the state changes in a predictable way.Under what circumstances should I use Vuex?Vuex can help us manage shared stat ...

Posted by Skoalbasher on Sat, 25 Dec 2021 06:05:18 +0100

[Java from 0 to Architect, Java Interview Writer Test Logic Topic

The PreparedStatement interface inherits from the Statement interface PreparedStatement is recommended instead of Statement Advantages of Preparedstatement: Prevents SQL injection Faster execution than Statement Support batch processing configuration file Some values that are frequently dynamically modified are recommended to be pla ...

Posted by Goins on Sat, 25 Dec 2021 05:55:17 +0100

Step by step! The evolution of MySQL performance optimization steps is taught by Tencent T2

Compact row overflow: Dynamic row overflow: Under what circumstances will overflow Principle: as long as the sum of one line of records exceeds 8 k,Will overflow. Variable field types include blob,text,varchar Index optimization The main function of index is to find and sort. Index optimization is the most basic optimization me ...

Posted by mezise on Sat, 25 Dec 2021 03:13:55 +0100

Machine learning sklearn class of vegetables, springboot notes

* [StandardScaler and MinMaxScaler How to choose?](about:blank#StandardScaler__MinMaxScaler__210) * [Missing value](about:blank#_226) * * [Missing value filling impute.SimpleImputer](about:blank#_imputeSimpleImputer_244) * [Handling typing features: coding and dummy variables](about:blank#_370) * * [preprocessing.LabelEnco ...

Posted by warydig on Sat, 25 Dec 2021 02:24:13 +0100

Learn the basics of reflection, using PageHelper for so many years

When we learn the basic use of reflection, I will use a SmallPineapple class as a template. First, let's get familiar with the basic composition of this class: properties, constructors and methods public class SmallPineapple { public String name; public int age; private double weight; // Only you know your weight public SmallP ...

Posted by Mindwreck on Fri, 24 Dec 2021 23:54:04 +0100

dried food! MySQL optimization principle analysis and optimization scheme summary, springcloud actual combat project

Terminate the query in advance (for example, when Limit is used, the query will be terminated immediately after finding a satisfactory number of result sets) Optimized sorting (in the old version, MySQL will use two transfer sorts, that is, first read the row pointer and the fields to be sorted, sort them in memory, and then read the data row ...

Posted by njdirt on Fri, 24 Dec 2021 17:07:54 +0100

"Vue source code learning" do you really know how Slot slot is "inserted"

Hello, I'm Lin Sanxin. Vue has implemented a set of content distribution API s, using the < slot > element as an exit to host the distribution content. This is the description on the Vue document. Specifically, a slot is a 'space' that allows you to add content to a component. Do you really know how a slot is "inserted"? I hope ...

Posted by d-m on Thu, 23 Dec 2021 18:15:37 +0100

java interview questions from basic to advanced

java interview questions from basic to advanced I Basics What are the characteristics of Java object-oriented and how to apply it Object oriented programming is an idea of using class and object programming. All things can be classified. Class is a high abstraction of things in the world. Different things have different relationships, the en ...

Posted by coldfused on Thu, 23 Dec 2021 09:34:23 +0100

Collect the interview of niuke.com and Tencent to find out omissions and fill vacancies [threadlocal, explain, quote]

1, ThreadLocal [resolve shared variables] 1.ThreadLocal is called thread variable, which means that the variable filled in ThreadLocal belongs to the current thread. This variable is isolated from other threads, that is, this variable is unique to the current thread. ThreadLocal creates a copy of the variable in each thread, so each thread can ...

Posted by OLM3CA on Thu, 23 Dec 2021 00:08:32 +0100

[Spring Boot 17, introduction to learning route of Java senior engineer series

1. In the distributed system environment, a method can only be executed by one thread of one machine at the same time; 2. High availability and high performance acquisition lock and release lock; 3. Reentrant feature; 4. Have lock failure mechanism to prevent deadlock; 5. It has the non blocking lock feature, that is, if the lock is not obt ...

Posted by randalusa on Wed, 22 Dec 2021 20:14:19 +0100