It took a day to fix Springboot + Mybatis

I have written the strategic logic for several months, which is a bit silly. To do database and table splitting, it took almost a day to use the simplest Mybatis in spring boot. The ability to solve macro problems has declined a lot after a long time in logic details. To use Mybatis in spring boot, you need to do the following steps: 1. use S ...

Posted by shmeeg on Mon, 20 Jan 2020 04:58:40 -0800

Deep understanding of JVM class loading mechanism

Class loading process A type starts from being loaded into the memory of the virtual machine and ends at being unloaded. Its whole life cycle will go through seven stages: Loading, Verification, Preparation, Resolution, Initialization, Using and Unloading Collectively referred to as Linking, as shown in the figure: The order of loading, verify ...

Posted by sulin on Mon, 20 Jan 2020 03:17:20 -0800

Wang Shuang assembly language second edition curriculum design 2

Wang Shuang course design of assembly language 2 The most important thing to master a programming language is practice. Wang Shuang's teacher's Curriculum Design II, if you write 400 to 800 lines of code completely, and complete this curriculum design independently, you will be proficient in 16 bit a ...

Posted by Logical1 on Sun, 19 Jan 2020 22:13:48 -0800

Quick guide to integrating apollo with spring boot

>At present, there are three popular configuration center frameworks on the market: Spring CLoud Config ,Alibaba Nacos as well as Ctrip apollo , we call on the corresponding architecture group to use Apollo. Work Flow Simple explanation: In the above figure, there are three environments FAT, UAT and PROD, each of which has two sets of Confi ...

Posted by sbinkerd1 on Sun, 19 Jan 2020 18:53:25 -0800

nginx event module implementation details

In Detailed structure of nginx event module In, we explain the overall workflow of the event module of nginx, and focus on the role of each method of organizing the event module. This paper mainly focuses on the entire process, and explains the implementation details of the event module of nginx from the source point of view. 1. ngx_events_bloc ...

Posted by modplod on Sun, 19 Jan 2020 18:02:36 -0800

Design mode of Dahua, decorator mode of structural mode

Overview of structural mode Overview of structural mode Decorator Pattern allows you to add new functionality to an existing object without changing its structure. This type of design pattern belongs to structural pattern, which is a wrapper for existing classes. This pattern creates a decoration cl ...

Posted by Slashscape on Sun, 19 Jan 2020 06:40:08 -0800

String concatenation: concat() and "+" operators

Suppose strings a and b: a += b a = a.concat(b) Behind the scenes, are they the same thing? Here you decompile concat as a reference. I also want to be able to decompile the + operator to see what it does. public String concat(String s) { int i = s.length(); if (i == 0) { return this; } else { char ac ...

Posted by rashu.dr on Sun, 19 Jan 2020 03:59:36 -0800

tensorflow2.0 series: Eagle execution and Auto Graph

Catalog Disadvantages of static graph Eager mode Basic features of Eagle execution Support for numpy Auto Graph - dynamic graph static analysis VS dynamic flow Visible domain of local parameter The use of python collections data in tensorflow control flow Dimension and data type of sensor in ten ...

Posted by shadypalm88 on Sun, 19 Jan 2020 03:18:26 -0800

Programming exercises in Chapter 3 of C++ Primer Plus

outline The programming exercises in this chapter mainly focus on the application of different data types (when to use what data types are better) and type conversion (the definition of data types is different from the type required in actual calculation) 3.1 feet and inches for height #include<i ...

Posted by SilverFoxDesign on Sun, 19 Jan 2020 02:01:04 -0800

List de duplication problems and methods

How to de duplicate the list, which is often asked in the interview, is used to check your mastery of the list data structure and related methods, and to show whether your java foundation is solid.As we all know, set sets are characterized by no repeating elements. If the data type in the collection is the basic data type, you can directly conv ...

Posted by kurky on Sun, 19 Jan 2020 01:15:26 -0800