Blog
Notes on technology, learning, making and life.
27 articles.
2026
2025
-
Perlin Noise - Principles and Implementation
“There is no true randomness in nature, only patterns we haven’t understood yet.” — Philosophy of Perlin Noise
-
Reading Notes on Game Design Workshop
Reading goal: understand the problems that may arise when prototyping and designing games.
-
Reading Notes on Energy Management
The table of contents already puts me off: four principles, three steps, five obstacles. The usual bestseller routine, dressed up to look scientific. I feel the most valuable th...
2024
2023
-
Pytorch Learning Notes
Reference tutorial: https://datawhalechina.github.io/thorough-pytorch/ This tutorial is pretty rubbish: it describes things but does not explain them. Switching to other books h...
-
Docker Introduction and Practice
Docker is an operating-system-level virtualization technology. Its isolated processes are independent of the host and other isolated processes, and are also called containers.
-
Depth-First Search (DFS)
Problem:
-
TCP Port Forwarding Notes
The program is single-threaded and nonblocking, with client and server components. It maps a TCP service (app) running on a particular port in a private network (app port, such ...
2022
-
Investigating and Fixing MySQL Slow Queries
Some time after a feature went live, slow queries started appearing. Setting aside business-specific data compatibility handling and simplifying the statements, the slow queries...
-
Recursion
Recursion is when a function repeatedly calls itself. Defining a recursive function generally involves two steps: identifying the base case and finding the recursive relation. A...
2021
-
Reading Notes on Code Style
Constants
-
How SSH Works
Encryption mainly keeps data safe during transmission. It combines asymmetric and symmetric encryption. Asymmetric encryption protects the transmission of the shared passphrase;...
-
Bash Programming Practice
1.Count the lines in .c files in a working directory and all its subdirectories
-
Introduction to Bash Programming
Variables can be copied directly and assigned values multiple times. There must be no spaces on either side of =. To use a variable, prefix it with $; when embedding it in a lon...
-
Common Git Commands
git merge leaves existing commits unchanged, while git rebase appends the feature branch’s changes as patches after the master branch. git merge faithfully preserves commit hist...
-
Getting Started with Git
Initialize: Use git init workspace to create the initial workspace and some initial Git configuration files.
-
Setting Up nginx as an Unprivileged User Where Possible
Installation creates an nginx directory.
-
Installing and Using Debian 10
2020
2019
-
Leetcode Search Problems
Suppose an array sorted in ascending order has been rotated at an unknown pivot.
-
Leetcode Sorting Problem Notes
Merge two sorted linked lists into a new sorted linked list and return it. The new list is formed by joining all the nodes from the two given lists.
-
Acne Treatment
After using exfoliating acids over winter break, I no longer have severe inflammatory acne. It still flares up occasionally because of the weather and my diet, though. As for th...
2018
-
Setting Up a Paddle Fluid Development Environment with VS Code
On Ubuntu, visit the VS Code website [https://code.visualstudio.com/], download the deb package, and install it.
-
Autonomous Driving: Research Status and Future Prospects
In recent years, developments in autonomous driving have appeared constantly across the media, attracting attention and expanding our imagination of future travel. The technolog...
-
Reflections on Yellow River, Green Mountains
I picked up this book because recommendations often mentioned “failure” and “autobiography.” Its author, Huang Renzong, also wrote another book I wanted to read, The Fifteenth Y...