XML parsing detail | Lebyte
Hello everyone, Lebyte's Xiaole is coming again. Where is less Xiaole shared by Java technology? Last time we said that. Extensible Markup Language XML II: XML Language Format Specification, Document Composition This article will focus on XML parsing.
There are two basic ways of parsing: SAX and DOM.
SAX(Simple API for XML) i ...
Added by direland on Mon, 26 Aug 2019 13:45:43 +0300
Precision of js operation
We all know that using js to do arithmetic will definitely encounter the problem of accurate calculation (or rounding error), but how to avoid these pits, here is my plan from the Internet, welcome to discuss.
Reasons for Accuracy Loss
The binary implementation of a computer and the number limitation of digits can not be expressed in finite nu ...
Added by allaboutthekick on Mon, 26 Aug 2019 08:46:52 +0300
Queue Chapter of Data Structure Knowing or Not Series
One day, when you look back on the road you have traveled, you will find that these years of constant struggle are the best life. —— Freud
Queue, FIFO for short, follows the principle of First In First Out. Contrary to the "stack", it adds elements at the end of the queue and deletes elements at the head of the queue. If t ...
Added by bo0 on Sun, 25 Aug 2019 16:14:43 +0300
linux monitoring tools (several of them must be proficient)
Various monitoring tools
Foreign linux Supervisory God: Baidu Search Brendan D. Gregg
http://www.brendangregg.com/linuxperf.html
I. hatop
linux interactive process viewer supports mouse point, search and kill process, sorting, etc. It has quite powerful functions.
https://www.cnblogs.com/enet01/p/8316006.html
PID: Process flag number, non- ...
Added by smilesmita on Sat, 24 Aug 2019 17:12:29 +0300
Java container source code-ArrayList source code analysis (based on JDK8)
Articles Catalogue
(1) Overview of ArrayList
(2) Class names
(3) Attributes
(4) Construction method
(5) Add Method (Expansion Operation)
(6) Remove method (delete element)
(7) Serialization
(8) trimToSize() method
(9) indexOf() method
(10) toArray ...
Added by yusiyuseff on Sat, 24 Aug 2019 15:25:16 +0300
[Learning Notes - Java Collection - 17] Queue - DelayQueue Source Analysis
introduce
DelayQueue is a delayed blocking queue under concurrent packages in java, which is often used to implement timing tasks.
Inheritance System
As you can see from the inheritance system, DelayQueue implements BlockingQueue, so it is a blocking queue.
In addition, DelayQueue combines an interface called Delayed, and all elements stored i ...
Added by samsbox on Sat, 24 Aug 2019 12:10:51 +0300
Beginner Review (Dijkstra+spfa + Chain Forward Star)
Note excerpts
Crap:
I have to marvel at the power of chain forward stars. Yesterday I learned how to sort the topology and understand the magic usage of head [] and next. I didn't expect that I could not build a map when I wrote a topic today. I le ...
Added by Ozzapoo on Fri, 23 Aug 2019 06:54:46 +0300
Enable Aspect JAuto Proxy for Springboot Source Analysis
Summary:
The two core technologies of Spring Framwork are IOC and AOP. AOP is widely used in Spring's product line. If reflection is the basis for your access to advanced level, then the agent is the base for you to stabilize the advanced level. The essence of AOP is also known as CGLIB dynamic proxy technology. It must have been used more or l ...
Added by lepass_7 on Thu, 22 Aug 2019 17:44:19 +0300
Summary of Dynamic Programming Examples
I. 01 knapsack problemTitle Description: There are n items with wi and vi weight and value respectively. From these items, items with total weight not exceeding W are selected, and the maximum value of the total value in all the selection schemes is ...
Added by SkillsToShow on Thu, 22 Aug 2019 14:35:59 +0300
k8s Practice: Pod Resource Management
Environmental description:
host name
Operating System Version
ip
docker version
kubelet version
To configure
Remarks
master
Centos 7.6.1810
172.27.9.131
Docker 18.09.6
V1.14.2
2C2G
Remarks
node01
Centos 7.6.1810
172.27.9.135
Docker 18.09.6
V1.14.2
2C2G
Remarks
node02
Centos 7.6.1810
172.27.9.136
Docker 18.09.6
V1.14.2
2C2G
Remarks
...
Added by red-x on Thu, 22 Aug 2019 12:13:07 +0300