Deep analysis of thread pool in java thread series

(it's more convenient to see the source code on the horizontal screen of mobile phone) Note: java source code analysis part is based on java version 8 unless otherwise specified. Note: thread pool source code refers to ThreadPoolExecutor class unless otherwise specified. brief introduction We have learned the architecture, construction method ...

Posted on Sun, 03 Nov 2019 09:55:18 -0500 by benwilhelm

js static attribute, instance attribute, encapsulation, prototype, and "proto"

Original works, reprint please indicate the source, sogeisetsu , I also have this article on csdn csdn js static attribute, instance attribute, encapsulation, prototype, and "proto" Here is the source code of my blog. You can read the text below without looking at him <!DOCTYPE html> <html lang="en"> <head> <m ...

Posted on Sun, 03 Nov 2019 07:19:19 -0500 by anser316

Some simple notes on Vue routing

Routing simply means that different paths call different code blocks.Before configuring routes, of course, they are introduced first: <script src="garage/vue.js"></script> <script src="garage/vue-router.js"></script> To configure a route, there are two steps: Create routing table Create vue object Create routing table ...

Posted on Sun, 03 Nov 2019 05:42:28 -0500 by Wardy7

hexo blog yili topic personalized custom tutorial -- learning from reference, initial recognition of yili topic

Reproduced in: hexo blog yili topic personalized custom tutorial (1) -- learning from reference, initial recognition of yili topic This blog has been stumbling for many days, because I don't know what's going on with the Next topic, I'm playing it badly. So I changed the subject.The famous yilia theme, advocating simplicity and elegance, and u ...

Posted on Sun, 03 Nov 2019 04:48:36 -0500 by teckn1caLity

C. simple achievement management system

Preface This week I have been dealing with C Chen for a week (this week is the experimental week arranged by the school, and then I use C Chen to realize the desired programs and functions)There are seven experiments in total, choose three, and I will choose the one with the greatest progress to analyze. Effect Let's see the effect first After ...

Posted on Sun, 03 Nov 2019 03:43:22 -0500 by shah

Disadvantages of continuous cross table (the retrieved data should be related in the associated table)

1. Relationship between book table and author table:   2.book table: 3.author table: 4.authordetail table:   #Relationship of all tables: from django.db import models # Create your models here. class Author(models.Model): #Put more commonly used information in this table nid = models.AutoField(primary_key=True) na ...

Posted on Sat, 02 Nov 2019 16:56:04 -0400 by abriggs

More elegant writing method of JavaScript complex judgment (if else / switch) to optimize redundancy

premise When we write js code, we often encounter complex logic judgment. Generally, you can use if/else or switch to realize multiple conditional judgment. But there will be a problem. With the increase of logic complexity, if/else/switch in the code will become more and more bloated, more and more incomprehensible. How to write more elegant j ...

Posted on Sat, 02 Nov 2019 13:08:24 -0400 by intermediate

Failed to verify the iview form?

The project needs to be encouraged. It's almost convenient to use with elementUI for a while. In the process of using form validation, how to avoid the occasional exception of failed validation? 1: set attributes to < form > Tags: model = "fromdata" and: rules = "fromrules" and ref = "fromdatadom" 2: set th ...

Posted on Sat, 02 Nov 2019 11:11:53 -0400 by HektoR

Spring transaction attribute details

To learn things, we need to integrate knowledge with practice. If we only know the theory but never practice it, we will not have a solid grasp of it. It is estimated that we will forget it in a few days. Next, we will practice together to learn the propagation properties of Spring transactions. Propagation attribute The propagation attribute ...

Posted on Sat, 02 Nov 2019 09:52:38 -0400 by benyboi

React practice - the only way to learn JSX syntax

React required skill JSX In this article, we will learn about the JSX syntax of React. Before that, we will install React. Two points need to be noted here: 1. The first point is to install node at: https://nodejs.org/en/ Use the lts version. 2. Install scaffold, address: https://github.com/facebookin.... step 1. Scaffold installation npm inst ...

Posted on Sat, 02 Nov 2019 09:50:41 -0400 by likethegoddess