March 14, 2023
·
6 min read
Regarding software:
- Installation of the ubuntu operating system
- Abandon bash, embrace zsh
- Use of package managers,
- Install the NVIDIA GPU driver
- Software installation:Miniconda
- Software installation:Python IDE
- Software installation: ssh
- Software installation:Git
- Installation of other productivity software
...
March 1, 2023
·
5 min read

Directory Structure
#
The Nginx root directory contains the following folders:
client_body_temp conf fastcgi_temp html logs proxy_temp sbin scgi_temp uwsgi_temp
Folders ending in _temp are used to store temporary files generated during operation.
The other main folders are:
- conf: stores configuration-related files
- html: the default directory for static files such as HTML and CSS files
- sbin: the main Nginx executable
- logs: stores various logs. For example,
access records access-related information, error records errors, and nginx.pid records the service’s PID, that is, its process ID.
...
February 28, 2023
·
4 min read
Virtual machine: VMware Workstation 16
Operating system: CentOS 7.4
Download URL: https://vault.centos.org/centos/7.4.1708/isos/x86_64/CentOS-7-x86_64-Minimal-1708.iso
Recommended computer configuration:
- Memory: 8 GB or more is recommended
- Disk: An SSD is recommended
- CPU: Any mainstream CPU with four or more cores will suffice
...
August 5, 2022
·
31 min read
从 SQL 解析与执行流程出发,介绍基于规则和代价的查询优化、统计信息、执行计划枚举,以及 Apache Calcite 的开源实践。
...
July 25, 2022
·
23 min read
Shell is the language we use to communicate with the operating system through the command line.
Shell scripts can run directly on the command line, or a set of logic can be organized into a file for reuse. The command line can be thought of as a “shell script executing line by line.”
There are many common kinds of shell scripts in Linux, including:
- Bourne Shell (
/usr/bin/sh or /bin/sh) - Bourne Again Shell (
/bin/bash) - C Shell (
/usr/bin/csh) - K Shell (
/usr/bin/ksh) zsh- …
Linux systems generally use bash by default.
The file should begin with #! /bin/bash to specify bash as the script interpreter.
...
July 8, 2022
·
1 min read
介绍 CUDA 的基本概念、支持的编程语言、发展历程及 GPU 加速计算的应用。
...
March 15, 2022
·
84 min read
整理 MySQL 常用语法、函数、约束、多表查询和事务,并介绍存储引擎、索引、执行计划与 SQL 性能优化。 文中的密码仅作示例,实际使用时请独立生成。
...
March 7, 2022
·
3 min read
Process
#
Collect data
Define the model
Usually a function containing parameter variables: \(y=F_{\Theta}(X)\)
Example: \(y=\sigma\left(\Theta^{T} X\right)\)
Train
Find the optimal parameters \(\Theta^{*}\) so that the model \(y=F_{\Theta^{*}}(X)\) achieves the highest accuracy on the training set
Predict
For a new image \(\hat{X}\) , use the trained model to predict its class, namely \(\hat{y}=F_{\Theta^{*}}(\hat{X})\)
...
February 12, 2022
·
4 min read
Log In to the Server
#
user: usernamehostname: IP address or domain name
The first time you log in, you will see this prompt:
The authenticity of host '123.57.47.211 (123.57.47.211)' can't be established.
ECDSA key fingerprint is SHA256:iy237yysfCe013/l+
Are you sure you want to continue connecting (yes/no/[fingerprint])?
Enter yes and press Enter. This records the server’s information in ~/.ssh/known_hosts.
Then enter the password to log in to the remote server.
The default login port is 22. To log in through a specific port:
...
July 10, 2021
·
3 min read
Strictly speaking, most of what we learned in the JavaScript section belongs to ECMAScript. ECMAScript, or ES, defines language standards such as the syntax rules for variables, data types, expressions, statements, and functions. Browsers implement most of the ECMAScript specification and extend it with practical features. These extensions are called Web APIs.

...