Reading Notes / JavaScript Notes
2021.03.02
The URL interface
The built-in URL class provides a convenient interface for creating and parsing URLs.
Reading Notes / JavaScript Notes
2021.03.01
Common built-in array methods in JavaScript
The JavaScript Array object defines a number of methods that you can use to work with arrays. Here's common ones you might encounter daily.
Reading Notes / Java Notes
2020.02.10
Binary heap representation
The binary heap is a data structure, in which the keys are store in an array such that each key is guaranteed to be larger than (or equal to) the keys at two other specific positions. In turn, each of those keys must be larger than (or equal to) two additional keys, and so forth. This ordering is easy to see if we view the keys as being in a binary tree structure with edges from each key to the two keys known to be smaller.
Reading Notes / Java Notes
2020.02.05
Sorting algorithms (elementary), Java implementation
Sorting plays a major role in commercial data processing and in modern scientific computing. Here, we consider several classical sorting methods.
Reading Notes / Java Notes
2020.02.03
Memory usage in Java
Memory usage is well-defined for Java on your computer that every value requires precisely the same amount of memory each time that you run your program. But Java is implemented on a very wide range of computational devices, and memory consumption is implementation-dependent. So, following is some *typical* values that subject to machine dependencies.
Reading Notes / Web Notes
2020.01.21
Nginx Built-in Variables
Nginx variables that are pre-defined by either the Nginx core or Nginx modules are called "built-in variables".
Reading Notes / Web Notes
2020.01.20
Nginx Variables
Variables are just container holding various values. For Nginx, variables can hold only one type of values, that is, strings (3rd-party modules not included).