2026

Summer

Wangjiang Pavilion, Remembered

17 min read

I toured Wangjiang Pavilion on June 12, but the write-up dragged; weeks later I scraped together what details I could recall and set them down for later.

Spring

Notes on Adding I18n to a Hexo Blog

6 min read

Design notes on Hexo i18n — filename conventions for language detection, a permalink filter for path-prefix routing, per-language generators, hreflang, and a language switcher.
Colophon

5 min read

How this site is made: writing workflow, design principles, typography and color, and the build-and-deploy stack.
Way to Minimalism, Part 1: Meta Bar

5 min read

A blog minimalism experiment starting from the article meta bar, tucking fonts, line height, post info, and comments into lighter UI for a quieter page.
Chengdu Natural History Museum

11 min read

An excellent natural history museum with rich dinosaur fossils and mammal specimens, thoughtful exhibit design and animal mounts — well worth a visit.
Langya Terrace Travel Notes

12 min read

Standing alone and prominent above all other hills, with a circumference of over twenty li at its base, overlooking the great sea
Sea World & Panda Base

6 min read

February 28 at Qingdao Underwater World, then March 5 at Chengdu Research Base of Giant Panda Breeding.

Winter

Beneath the Wheel

11 min read

Reading notes on Hermann Hesse's Beneath the Wheel, and how Hans's story mirrors my own years of exam-driven schooling and burnout.
Type Less With Code Snippets

6 min read

Developers often face repetitive coding patterns, ranging from standard if/for structures to Go's error handling or HTML boilerplates. This redundancy is inefficient and error-prone. Snippets offer the optimal solution. When you type a short prefix (e.g., if, for), your IDE suggests a completion item that can be expanded into a predefined code template.
UI/UX Terminology

17 min read

Why is it called a Radio Button, a Breadcrumb, a Toast? These UI terms trace back to car radios, Grimm's fairy tales, and toasters — metaphors early GUI designers borrowed from the real world.
Job Control in Nushell

6 min read

The Job Control chapter of Effective Shell covers task control in Bash. This post shows how the same ideas work in Nushell.
HTML Table Overflow Issues

4 min read

A simple CSS technique to keep HTML tables within their containers by controlling table layout and text wrapping.
A Practical Guide to OpenCode

8 min read

OpenCode is an open-source AI coding tool with free models like MiniMax 2.1, GLM 4.7, and Grok Code Fast 1. Here are the lessons from my own daily use.
Blog Changes in 2025

4 min read

A running review of 2025 blog changes, covering Markdown rendering, images, themes, fonts, responsive design, and performance work.
2025

Winter

PostBuild With ESBuild & Minify-HTML

10 min read

Add a PostBuild step to your static site CI for image compression and CSS/JS minification. This post covers writing a PostBuild script with ESBuild & minify-html.

Autumn

VSCode Status Bar Ricing

4 min read

Customize the VS Code status bar with custom CSS, fonts, item ordering, Vim mode colors, and replacement problem icons.

Summer

Shiki Code Highlighting Test

3 min read

How Shiki renders inline code, code blocks, and transformer markers in my Hexo blog, for checking styles and layout edge cases.
Set System Env-Vars in UNIX

7 min read

How to set true system-wide environment variables on macOS with a simple Launch Agent and shell script, so GUI apps and every shell see them.
Making Web Fast —— LCP Optimization

10 min read

🤖 Optimize LCP with preload, fetchpriority, responsive images and srcset. Covers Sharp image processing, CI/CD automation, and preload hints for better Core Web Vitals.
VSCode VIM Part I - EasyMotion

3 min read

Learn how to enhance VSCode text navigation by setting up EasyMotion with the VSCode Vim extension and LazyVim-like keybindings.
Clean Disk Space in Ubuntu

3 min read

Fix apt install errors caused by no free space in /var/cache/apt/archives by locating the full partition and using a temporary cache path.
Network IO Models

15 min read

A walkthrough of the five I/O models on Linux, with C and Java implementations.
GoWall

3 min read

Convert wallpapers to specific color schemes such as Catppuccin or Nord with GoWall, and wrap the common command in a small script.
Decorator @Cached_property

3 min read

Study Python's cached_property decorator, how it stores computed values on instances, and where it fits in Django-style code.

Spring

Set Git Proxy

2 min read

Set up a proxy for Git operations, both for HTTP/HTTPS and SSH connections.
Learn Git Data Structure Design

10 min read

A look at Git's data structures — objects, references, and branches. These concepts are the foundation for understanding how Git actually works.
Spotify Ricing(Spicetify)

18 min read

🤖 Transform your Spotify client with custom themes and extensions using Spicetify. This guide walks you through installing Spicetify CLI and Marketplace on Windows, Linux, and MacOS, helping you personalize your music streaming experience with beautiful themes and powerful add-ons. Elevate your desktop aesthetics with minimal effort!
Humble Administrator's Garden

5 min read

Thus I observe the measure of contentment, forsaking ambitions like drifting clouds, building a house and planting trees, free and self-possessed. The ponds suffice for fishing, the harvested grain for farming. Watering the garden and selling vegetables provides for daily meals; tending sheep and brewing cheese awaits the seasons' needs. Filial in devotion, brotherly in bonds — this too is the governance of the unskilled.

Winter

Use Medium-Zoom in Hexo Blog

3 min read

Integrate medium-zoom into a Hexo blog to replace image-link jumps with an in-page zoom interaction, including Icarus and PJAX notes.
2024

Winter

VS Code DevContainer

3 min read

Use VS Code Dev Containers to develop inside Docker, reusing an existing Dockerfile while keeping dependencies isolated and reproducible.
UESTC to Momenta

5 min read

December 21, 2024: a travel day from Chengdu to Shanghai and Suzhou before reporting to Momenta.
VSCode Ricing

3 min read

Customize VS Code with Custom CSS and Animations, including themes, fonts, status bar styling, borders, and command palette layout.
Internet Checksum

6 min read

Notes from designing an Internet checksum lab, covering parallel summation and incremental checksum updates.
Decorators Pattern in Python

3 min read

Understand Python decorators as a design pattern, including first-class functions, simple wrappers, chained decorators, and common uses.

Autumn

The Proxy Pattern in Java

12 min read

The proxy pattern lets one object stand in for another, controlling access to it and adding features like logging, access control, lazy loading, or monitoring without touching the target's core logic.
Java Priority Queue

6 min read

An introduction to Java's PriorityQueue, its API, custom comparators, and the binary min-heap that powers it.

Summer

Tangdao Bay & May Fourth Square

4 min read

A travel note from Tangdao Bay and May Fourth Square in Qingdao, with stops at Yumingzui Village, the Olympic Sailing Center, and Zhanqiao.
Tomcat

6 min read

Apache Tomcat is an open-source, lightweight web application server that implements the Java Servlet and JavaServer Pages (JSP) specs and part of Java EE.
Http Protocol

3 min read

HTTP is an application-layer protocol for transferring hypermedia documents such as HTML. This post covers request and response messages.
Apache MyBatis

7 min read

MyBatis notes from the Heima Programmer Java Web course, covering core concepts and a Spring Boot CRUD demo.
Apache Maven

13 min read

Maven, the project management tool for Java. Covers basic usage including dependency management, the build lifecycle, and multi-module design.
Linux Network Namespace

13 min read

Hands-on with Linux network namespaces, from ip link, ARP, and route basics to connecting namespaces with veth pairs and a Linux bridge.
Shell Programming

5 min read

Shell startup and features, command forms, I/O redirection and pipes, shell variables and quoting, writing and running shell scripts, plus a brief intro to sed and awk.
Scoop Handbook

4 min read

Scoop is a command-line installer for Windows. This note covers directory structure, installation, common commands, updates, cleanup, and buckets.

Spring

Move WSL to Another Drive

2 min read

Move an installed WSL distribution to another drive by exporting, unregistering, importing, and restoring the default user.
File System

31 min read

File system basics, directory management with FCBs and inodes, file sharing via hard and symbolic links, physical file structures, and free space management.
I/O System

30 min read

I/O controllers, channels, and control modes (polling, interrupt, DMA); device data structures; disk scheduling (FCFS, SSTF, SCAN, CSCAN); buffering.
ChⅥ Database Application Programming

12 min read

Notes on database application programming; ODBC/JDBC connectivity, the Java Web persistence layer, PL/pgSQL functions and stored procedures, triggers, and cursors.
Ch4 - Database Design and Implementation

11 min read

Database design process and strategies, E-R model elements, entity relationship types, weak entities, CDM/LDM/PDM design, functional dependencies, normal forms, denormalization, and SQL implementation with Power Designer.
The Dead Lock

16 min read

Causes and necessary conditions of deadlock, plus prevention, avoidance, detection, and recovery, including the Banker's Algorithm.
The Processor Scheduling

8 min read

Levels of processor scheduling, scheduling queue models and criteria, scheduling algorithms, and real-time scheduling.
Process Scheduling in OS

4 min read

Notes on process scheduling triggers, evaluation metrics, and common algorithms such as FCFS, SJF, RR, MLFQ, EDF, and LLF.
Ch3 - Database Operations With SQL

6 min read

SQL statement types and data types; DDL for databases, tables, and indexes; DML for insert, update, delete; DQL with sorting, grouping, subqueries, joins; and views.
Reflection in Java

7 min read

How Java reflection works, how to obtain Class objects, create instances, invoke methods, and read annotations at runtime, plus its performance trade-offs.
Thread

8 min read

Threads as the basic unit of scheduling, thread control, synchronization with mutexes, condition variables, and semaphores, and ULT vs KLT.
Inter Process Communication

12 min read

Types of IPC: shared memory, pipes, message-passing systems, mailboxes, and client-server mechanisms like sockets and RPC.
Linux Commands

7 min read

Notes on common Linux commands, shortcuts, and plugins, plus recommended terminals and shells.
ProcessSync

22 min read

Process synchronization in operating systems, covering critical sections, semaphores, hardware synchronization, and classic synchronization problems.
Git for Android

2 min read

Use MGit as a Git client on Android, including installation, cloning, local repositories, URL formats, and SSH key setup.

Winter

Glossary for Database

4 min read

A database glossary covering structured, unstructured, and semi-structured data, plus relational and NoSQL data models.
Java Stream

10 min read

An introduction to the Stream API introduced in Java 8
Functional Interface

3 min read

Single Abstract Method Interfaces are Java functional interfaces. This post explains how to create and use them with lambdas and references.
Java Hashtable

6 min read

A hash table looks up data in O(1) time. This post walks through hash tables in the Java ecosystem: the data structure, the put process, and thread safety.
Using tasks.json

3 min read

A brief note on using VS Code tasks.json to compile, run, package, and automate common project tasks.
VS Code Extensions

2 min read

A personal list of VS Code extensions for editing, Markdown, formatting, Git, web development, utilities, and drawing.
2023

Autumn

Java SE Generics

12 min read

Study notes on Java Generics, covering wildcards, PECS, type inference, and how to design generic classes, interfaces, and methods.
Lab: Ratex Preview

1 min read

This page verifies Ratex rendering for inline formulas, displayed equations, matrices, cases, and integrals.
Lab: Markdown Preview

2 min read

Test various Markdown features including color schemes, math, task lists, callouts, and code blocks.

Summer