A Collection of Terms I Don't Understand

Last updated on July 12, 2026 pm

This article is currently an experimental machine translation and may contain errors. If anything is unclear, please refer to original Chinese version. I am continuously working to improve the translation.

Preface

I often come across terms I don't understand in various places, then copy them over to ask an LLM what they mean, and that's the end of it. But a day or two later I've forgotten again, so this Blog serves as a notepad, collecting these terms I don't understand. Much of the content is straight out of an LLM and doesn't have much real readability, so it's just for my own use.

AOT Compilation

I came across this in this Zhihu answer by Mr. Liao Xuefeng.

引用AOT stands for Ahead-Of-Time compilation, generally translated as 提前编译 (...

AOT stands for Ahead-Of-Time compilation, generally translated as 提前编译 (ahead-of-time compilation) in Chinese.

It means: the program is compiled into machine code executable on the target platform, or something close to machine code, before it actually runs.

A simple comparison:

Traditional interpreted execution:

Source code → read and executed line by line at runtime

AOT compilation:

Source code → compiled to machine code ahead of time → executed directly at runtime

For example, C / C++ is typically AOT-compiled:

// hello.c
#include <stdio.h>

int main() {
    printf("Hello\n");
}

You first compile it with a compiler:

gcc hello.c -o hello

Then you get an executable:

./hello

At runtime, the system no longer needs to understand the C code; it directly executes the already-generated machine code.

What's often contrasted with it is JIT compilation, i.e. Just-In-Time compilation.

For languages or platforms like JavaScript, Java, and C#, much of the time the program compiles hot code into native machine code at runtime, based on actual execution. Roughly:

Source code / bytecode → program runs → hot code detected at runtime → compiled and optimized → execution continues

So a rough way to understand it:

AOT: compiled before running
JIT: compiled at runtime
Interpreted execution: code interpreted directly at runtime**

This is actually the most common compilation form for C-family languages, as opposed to Java's JIT and Python's interpretation.

But this project is written in C#, so how does it achieve AOT compilation?

引用For C# projects, AOT compilation generally refers to .NET Native AOT. A...

For C# projects, AOT compilation generally refers to .NET Native AOT.

A normal C#/.NET program roughly runs like this:

C# source code → compiled to IL intermediate language → at runtime, .NET CLR/JIT compiles it to native machine code → executed

In other words, after a normal C# program is published, it usually still needs the .NET Runtime at runtime, and during execution the JIT compiles the IL into machine code.

Whereas Native AOT is:

C# source code → compiled directly to native machine code at publish time → generates a native executable → executed directly at runtime

Microsoft's official documentation says Native AOT publishing compiles the application directly to native code, and it's a self-contained publishing method; it's usually enabled by adding the following to .csproj: (Microsoft Learn)

<PropertyGroup>
  <PublishAot>true</PublishAot>
</PropertyGroup>

Then publish, for example for Windows x64:

dotnet publish -c Release -r win-x64

Or Linux x64:

dotnet publish -c Release -r linux-x64

The published program is more like an executable compiled from C/C++. It no longer primarily depends on runtime JIT, so it typically has these characteristics:

Faster startup, suitable for CLI tools, short-lived services, Serverless, and containerized services.

Potentially lower memory usage, since the runtime doesn't need to do much JIT work.

Easier deployment — usually you can just ship a single executable for the target platform.

But the costs are also obvious:

First, stronger platform binding. For example, win-x64, linux-x64, and linux-arm64 each need to be published separately.

Second, slower builds, because the compilation work is done ahead of time.

Third, more limited support for reflection, dynamic loading, and runtime code generation. Many libraries in the C# ecosystem like to use reflection — JSON serialization, ORM, dependency injection, plugin systems — and these may require extra configuration under Native AOT, or may even be incompatible. ASP.NET Core has dedicated compatibility notes for Native AOT, and Web API projects in particular need to check whether dependencies and framework features are supported. (Microsoft Learn)

So for your C# project, you can understand it this way:

The AOT compilation of this project means compiling the C#/.NET project ahead of time at the publish stage into a native executable for a specific platform, reducing runtime dependence on the JIT and the full .NET Runtime.

If it's an ordinary console tool, a small background service, or a CLI program, Native AOT may be a great fit.

If it's an ASP.NET Core backend, it can also be used, but it depends on whether the project uses a lot of reflection, dynamic proxies, ORM, plugin loading, or runtime code generation. For example, if it uses Entity Framework Core, certain complex JSON serialization configurations, or frameworks that dynamically scan assemblies, the cost of adapting to AOT may rise.

The simplest way to tell is to check whether the project file contains:

<PublishAot>true</PublishAot>

Or whether the publish command contains:

/p:PublishAot=true

If so, the project is attempting the .NET Native AOT publishing route.

Actually, the advantage of things like the JVM and .NET Runtime is cross-platform support, which AOT essentially gives up.

That's the Java marketing slogan: "Write once, run anywhere".

JSONL

引用JSON and JSONL are both text formats for storing structured data, but th...

JSON and JSONL are both text formats for storing structured data, but they're organized differently.

JSON, short for JavaScript Object Notation, is usually a complete data structure, such as an object or an array:

{
  "name": "Alice",
  "age": 20,
  "city": "Shanghai"
}

It can also be an array:

[
  {
    "name": "Alice",
    "age": 20
  },
  {
    "name": "Bob",
    "age": 22
  }
]

JSONL, short for JSON Lines, also called NDJSON. Its characteristic is: one line is one JSON object.

{"name": "Alice", "age": 20}
{"name": "Bob", "age": 22}
{"name": "Charlie", "age": 23}

The biggest difference between them:

JSON is a single whole. For example, with the array above, the entire file must be taken together to be valid JSON. You can't just read the first line and consider it complete data.

JSONL is one record per line. Each line is itself valid JSON, so you can read, process, and append line by line.

A more intuitive comparison:

A normal JSON file might look like this:

[
  {"id": 1, "text": "hello"},
  {"id": 2, "text": "world"},
  {"id": 3, "text": "test"}
]

A JSONL file looks like this:

{"id": 1, "text": "hello"}
{"id": 2, "text": "world"}
{"id": 3, "text": "test"}

So JSON is more suitable for config files, small-scale data, and API responses between frontend and backend.

JSONL is more suitable for logs, large amounts of data, machine learning datasets, web scraping results, and stream processing. Because it can be written as it's generated, and read line by line, without loading the entire file into memory at once.

For example, reading JSON in Python:

import json

with open("data.json", "r", encoding="utf-8") as f:
    data = json.load(f)

Reading JSONL:

import json

with open("data.jsonl", "r", encoding="utf-8") as f:
    for line in f:
        item = json.loads(line)
        print(item)

Simple way to remember:

.json is "one complete JSON".

.jsonl is "many lines of JSON, one record per line".

If you're working with datasets, logs, or saving scraping results, JSONL is usually more convenient; if you're writing config files or API responses, JSON is more common.

NAS VPS

引用NAS and VPS can both be understood as "a machine on the network", but th...

NAS and VPS can both be understood as "a machine on the network", but their purposes are very different.

NAS stands for Network Attached Storage. You can think of it as "a networked hard drive at home / in the dorm / in the office". It's mainly used to store files — photos, videos, backups, movies, documents — and can also run some lightweight services like a photo album, media library, downloader, Docker, small databases, etc.

A common scenario: you buy a Synology, QNAP, or UGREEN NAS, plug in a few hard drives, and put it in your home. Then your computer, phone, and tablet can all access it. Its core value is: storage, backup, private cloud, home media, intranet services.

VPS stands for Virtual Private Server. You can think of it as "a virtual Linux server rented to you in a cloud provider's data center". Servers opened on Alibaba Cloud, Tencent Cloud, Vultr, Hetzner, DigitalOcean, AWS, Azure, etc. are essentially mostly VPS / cloud servers.

Common scenarios: deploying websites, backend APIs, databases, bots, blogs, reverse proxies, scrapers, monitoring, CI/CD, etc. Its core value is: stable public internet access, easy service deployment, always online.

A simple comparison:

Item NAS VPS
Where it lives Usually your own home/office Cloud provider data center
Main purpose Storage, backup, private cloud Deploying websites, backends, services
Disk space Usually large, starting at several TB Usually smaller, starting at tens of GB
Public access Requires public IP / NAT traversal / DDNS Has a public IP by default
Network speed Depends on your home broadband upload Depends on cloud server bandwidth
Maintenance Hard drives, data safety, power outages, network System security, service deployment, costs
Good for storing lots of files? Very suitable Not very cost-effective
Good for running public backends? Possible but troublesome Very suitable

For example:

If you want to store photos, back up your computer, build your own cloud drive, and watch movies and TV shows, a NAS is the right fit.

If you want to deploy a Golang backend, PostgreSQL, Redis, a QQ Bot, a blog, or API services, a VPS is the right fit.

You can also combine them: the VPS handles the public internet entry point, and the NAS handles large-capacity storage. For example, run a reverse proxy or relay on the VPS, while the NAS at home stores files and runs private services. This way you get public internet access without putting lots of files on expensive cloud server disks.

What you mentioned recently about "deploying a backend project on an Alibaba Cloud server" is closer to a VPS / cloud server, not a NAS. A NAS is more like a device you buy yourself and keep at home for private storage.

Minisearch

引用MiniSearch generally refers to a lightweight JavaScript full-text search...

MiniSearch generally refers to a lightweight JavaScript full-text search library.

It lets you search a batch of local data in the browser or Node.js. The official introduction describes it as a "tiny but powerful in-memory fulltext search engine" — that is, a small, in-memory full-text search engine that runs in Node and the browser. (GitHub)

For example, suppose you have a set of articles:

const documents = [
  { id: 1, title: 'ARP 协议解析', text: 'ARP 用来根据 IP 地址找到 MAC 地址' },
  { id: 2, title: 'TCP 三次握手', text: 'SYN 会消耗一个序号' },
  { id: 3, title: 'Elasticsearch 入门', text: 'ES 适合做全文搜索和日志分析' }
]

You can build an index with MiniSearch, then search:

miniSearch.search('三次握手')

It will return documents related to "三次握手".

Compared with Elasticsearch, you can think of it this way:

Elasticsearch is a standalone search service, suitable for large-scale data, log analysis, and backend search systems.

MiniSearch is a JS library, usually embedded directly in frontend or Node projects, suitable for small-to-medium-scale data — documentation site search, blog search, offline search, frontend local search.

Its supported features include full-text search, prefix search, fuzzy matching, field weighting, auto-suggestions, and more. The author's introduction also mentions that it supports prefix search, fuzzy match, boosting, and auto suggestions, has no runtime dependencies, and is suited to client-side search scenarios. (lucaongaro.eu)

So in one sentence:

MiniSearch is a lightweight JavaScript local full-text search library, suitable for implementing search in frontend pages, static websites, documentation sites, or small projects.

Edge Nodes, ESA

引用Put together, these terms are really about a modern way of deploying web...

Put together, these terms are really about a modern way of deploying websites: placing part of a website's logic, caching, search indexes, and static assets on network nodes closer to users for processing, so access is faster and you don't have to maintain many servers yourself.

First, "edge nodes".

Traditional website access roughly goes:

User's browser → your origin server

For example, if your server is in the US, users in China have to traverse a long network path, resulting in high latency and possibly slow speeds.

With a CDN / edge network, it roughly becomes:

User's browser → nearby edge node → origin server only when necessary

"Edge nodes" here are the data center nodes deployed by CDN providers in various locations. They sit at the "edge" of the network, closer to end users. For example, if a user is in Shanghai, the edge node might be in Shanghai, Hangzhou, or Nanjing; if the user is in Singapore, the edge node might be in Singapore. They can cache static files — images, JS, CSS, HTML — and also handle security protection, request forwarding, and simple computation.

"Edge" here doesn't refer to a geographic border, but is a concept relative to the "central server / origin".

The "center" is your origin server — a VPS, a cloud server, a backend service.

The "edge" is the layer of network nodes close to users, such as Cloudflare, Alibaba Cloud CDN, or Alibaba Cloud ESA nodes.

So "edge computing" means: not all requests go back to the central server for processing; part of the logic is handled directly on nodes close to users.

A very concrete example.

Suppose your blog's search feature needs to read a search index. If the index file is on the origin server, every user search has to hit the origin. With an edge solution, you can put the search index in Cloudflare KV, or cache it near the edge nodes. When a user searches, a Worker reads the KV at the edge node and returns the search results directly. This shortens the access path and may make responses faster.

Now, ESA.

Here, ESA most likely refers to Alibaba Cloud's Edge Security Acceleration. According to Alibaba Cloud's official introduction, ESA is a cloud service for unified management of network and edge infrastructure, providing acceleration and protection for internet content, applications, data centers, enterprise networks, and AI workloads; it also provides acceleration, edge computing, and security capabilities.

You can roughly understand ESA as:

CDN acceleration + security protection + edge computing + domain access management

It's a bit like Alibaba Cloud's version of Cloudflare. In the past, when people said CDN, they mainly thought of "caching static assets"; but products like ESA are more comprehensive — besides acceleration, they include WAF, DDoS protection, access control, edge functions, KV storage, rule configuration, and more. Alibaba Cloud's product page also mentions that ESA supports serverless deployment, key-value storage, edge functions, and other capabilities.

So when the chat says "the CDN of that Alibaba Cloud ESA", it means: he treats ESA as a more advanced CDN / edge acceleration platform.

DAU

Daily Active User

UIUX

UIUX is usually a combined shorthand for UI / UX, referring to the field related to product interfaces and interaction experience.

UI = User Interface. Mainly concerned with "what the interface looks like": buttons, colors, typography, icons, visual style, page layout, etc.

UX = User Experience. Mainly concerned with "how smoothly users can use it": whether flows are clear, whether operations are convenient, whether users can quickly accomplish their goals, whether there are pain points, etc.

So a UIUX role can generally be understood as: a position related to interface design / interaction design / user experience design.

PTY, TTY, ttyrec and ttyplay, asciinema, .cast

引用You can understand this along the line of: what a terminal is → how to f...

You can understand this along the line of: what a terminal is → how to fake a terminal → how to record a terminal.

At the lowest level, start with TTY.

TTY originally meant teletypewriter. Early computers had no graphical interface like today's; people interacted with the computer through a typewriter-like device: you typed, and the machine sent characters to the computer; the computer output characters, and the device printed them.

Later, although physical typewriters disappeared, the concept was retained in operating systems. Nowadays, TTY usually refers to a "terminal device" or "terminal session".

Simply put:

TTY = a terminal as seen by the operating system

In Linux / Unix, many programs check whether they're connected to a TTY. For example:

ls

If ls detects its output is going to a terminal, it may show colors and format in columns; if it detects output going to a pipe or file, it may drop colors and output plain text.

For example:

ls
ls > out.txt

These two may behave differently, because the former faces a TTY while the latter faces a regular file.

Next is PTY.

PTY stands for pseudo terminal. It's not a real hardware terminal, but a pair of terminal interfaces emulated by the operating system.

It generally has two ends:

PTY master end: held by the controlling program
PTY slave end: makes the running shell / CLI / TUI program believe it's connected to a real terminal

Think of it this way:

Real human terminal:
You ↔ terminal ↔ shell / vim / top / htop

PTY:
Controlling program ↔ pseudo terminal ↔ shell / vim / top / htop

Why is PTY important? Because many command-line programs only produce their full effect when they detect they're connected to a terminal. Colors, progress bars, interactive prompts, TUI interfaces, password input, cursor movement — all depend on terminal capabilities.

If you just run it through a regular pipe:

some-cli > output.txt

The program may detect "I'm not connected to a terminal" and turn off colors, disable interactivity, and change its output format.

But if you launch it with a PTY, it will feel like it's running in a real terminal:

What some-cli sees is the PTY slave
So it believes: I'm running in a terminal

To recreate terminal screenshots, you can't just capture stdout; it's best to run the program inside a PTY.

Next, ttyrec.

ttyrec is a terminal recording tool. It starts a terminal session and records the output that happens in that terminal.

Typical usage:

ttyrec demo.ttyrec

Then you run commands inside it. When done, type:

exit

It generates a recording file, such as:

demo.ttyrec

This file roughly records:

At what point in time
which bytes the terminal output

The "bytes" here aren't just plain text — they also include ANSI escape sequences, such as colors, screen clearing, cursor movement, etc.

So what ttyrec records looks roughly like:

0.10 s: output "$ ls\r\n"
0.20 s: output "README.md  src  package.json\r\n"
0.30 s: output "$ "

It's not a video. It doesn't record fonts, pixels, terminal window borders, or the actual picture on your screen. It records the terminal character stream.

Next is ttyplay.

ttyplay is the playback tool that goes with ttyrec.

ttyplay demo.ttyrec

It reads demo.ttyrec and replays the terminal output according to the originally recorded timing.

So the relationship between the two is simple:

ttyrec  = record a terminal session
ttyplay = play back a ttyrec recording file

An analogy:

Camera       = ttyrec
Player       = ttyplay
Video file   = .ttyrec file

Except the "recording" here isn't a video recording, but a "terminal character stream recording".

Now, asciinema.

asciinema is also a terminal recording tool, with goals similar to ttyrec / ttyplay, but more modern and better suited for sharing, web embedding, and automated processing.

Common usage:

asciinema rec demo.cast

This records a terminal session.

Playback:

asciinema play demo.cast

asciinema also has a web player; you can upload recordings to asciinema.org, or embed them in your own web pages / README documents.

Its core difference from ttyrec is a more modern, easier-to-handle file format.

ttyrec files are more like old-style binary recordings; asciinema's .cast files are usually text format — specifically JSON Lines / NDJSON, i.e. one JSON record per line.

Finally, .cast.

.cast is the file produced by asciinema, also called an asciicast file.

For example:

asciinema rec demo.cast

Generates:

demo.cast

The .cast file looks roughly like this inside:

{"version":2,"width":80,"height":24,"timestamp":1710000000,"env":{"SHELL":"/bin/bash","TERM":"xterm-256color"}}
[0.1,"o","$ echo hello\r\n"]
[0.3,"o","hello\r\n"]
[0.5,"o","$ "]

The first line is metadata:

version   format version
width     terminal width at recording time, in columns
height    terminal height at recording time, in rows
timestamp recording time
env       environment info, e.g. SHELL, TERM

Each subsequent line is an event:

[time, event type, content]

For example:

[0.3,"o","hello\r\n"]

Meaning:

0.3 seconds after recording started, the terminal output a piece of content: hello

The "o" here generally stands for output, i.e. terminal output.

So .cast can be understood as:

.cast = asciinema's terminal recording file

The overall relationships can be strung together:

代码TEXT · 20 行
TTY
= the "terminal" concept in the operating system

PTY
= a "pseudo terminal" emulated by a program
= makes CLI / TUI programs believe they're really running in a terminal

ttyrec
= the classic terminal recording tool
= records terminal output byte stream and timestamps

ttyplay
= playback tool for ttyrec files

asciinema
= a more modern terminal recording, playback, and sharing tool

.cast
= the file format produced by asciinema
= a text-based, JSONL-style terminal recording file

One-sentence summary:

TTY is the terminal concept;
PTY is an emulated terminal;
ttyrec/asciinema are tools for recording terminals;
ttyplay is the tool for playing back ttyrec;
.cast is asciinema's recording file.

CRLF LF

引用CRLF and LF are both line endings (newline characters); the difference l...

CRLF and LF are both line endings (newline characters); the difference lies in which characters are used for the newline.

Name Characters Byte representation Common systems
LF \n 0A Linux, macOS, Unix
CRLF \r\n 0D 0A Windows

Specifically:

LF is Line Feed, meaning "move to the next line":

hello\nworld

CRLF is Carriage Return + Line Feed, meaning "return to start of line + move to the next line":

hello\r\nworld

Historically, CR was the typewriter's "carriage return to line start", and LF was "paper feeds one line". Windows kept CRLF, while Unix systems mainly use LF.

Common impacts:

# Linux/macOS 下查看文件换行类型
file xxx.txt

If a script errors on Linux with:

/bin/bash^M: bad interpreter

It usually means the file uses Windows CRLF, where ^M corresponds to \r.

You also often run into this in Git. You can use .gitattributes to unify line endings:

* text=auto
*.sh text eol=lf
*.bat text eol=crlf

Simple rule to remember:

Windows commonly uses CRLF; Linux/macOS commonly use LF. When writing code, scripts, and config files, it's generally recommended to use LF consistently.

cron

引用cron is the scheduled task tool in Linux/Unix systems. It lets the syste...

cron is the scheduled task tool in Linux/Unix systems.

It lets the system automatically execute a command or script at a specified time, for example:

  • Back up the database at 2 a.m. every day
  • Check service status every 5 minutes
  • Clean up logs once a week
  • Generate reports once a month

cron tasks are usually written in a crontab.

For example:

0 2 * * * /home/app/backup.sh

Means: execute /home/app/backup.sh at 2 a.m. every day.

The cron time format is generally:

minute hour day month weekday command to execute

For example:

*/5 * * * * command

Means: execute command every 5 minutes.

Simple way to understand it: cron = an alarm clock on the server + automatic command execution.

RSS

引用RSS is a content subscription format, commonly used to automatically fet...

RSS is a content subscription format, commonly used to automatically fetch website updates.

You can think of it as:

RSS = a subscription feed for website updates

For example, if you follow a blog, news site, or podcast site and it provides RSS, you can add the RSS address to an RSS reader. From then on, whenever the site publishes new articles, they automatically appear in your reader — no need to manually open the site every day to check.

Common uses:

News subscriptions
Blog subscriptions
Podcast updates
Tech article updates
Announcements and notifications

RSS is usually a link that might look like:

https://example.com/rss
https://example.com/feed

You need an RSS reader to subscribe, such as Feedly, Inoreader, NetNewsWire, FreshRSS, etc.

In short: RSS is like installing an "auto-notification and inbox" for a website's content.

backend R&D

Backend R&D usually refers to backend research & development, i.e. Backend Research & Development.

Next.js

引用Next.js is a web development framework based on React, mainly used for b...

Next.js is a web development framework based on React, mainly used for building websites and web applications. It's maintained by Vercel and is an open-source project. Officially, it's positioned as a React framework for building full-stack web applications. (Wikipedia)

Simply put:

React is mainly responsible for writing page components; Next.js builds on top of React to provide the capabilities needed to "build a complete website/application".

Its common features include:

  • Routing: page routes are automatically generated from folders/files.
  • Server-side rendering (SSR): pages can first be rendered to HTML on the server, then sent to the browser.
  • Static generation (SSG): static pages are generated ahead of time, so access is fast.
  • API / backend capabilities: you can write frontend pages and some backend endpoints in the same project.
  • More SEO-friendly: compared to a pure frontend React app, it's easier for search engines to understand.
  • Performance optimization: image optimization, code splitting, caching, preloading, etc.

An analogy:

React is like a "toolbox for building page components", while Next.js is like the "construction framework for building a complete website with React".

Common uses include: official websites, blogs, e-commerce sites, admin systems, SaaS products, AI application frontends, etc. If you already know a bit of HTML/CSS/JavaScript, the learning path is usually:

JavaScript → React → Next.js → databases/deployment/full-stack development.

ORM

引用An ORM (Object-Relational Mapping) framework is a class of tools that he...

An ORM (Object-Relational Mapping) framework is a class of tools that helps programs map object-oriented code to relational database tables.

Simply put: it lets you avoid frequently hand-writing SQL, and instead operate on the database through "objects".

For example, suppose the database has a table:

users
id | name | age

In code, it can correspond to a class:

class User {
    Long id;
    String name;
    Integer age;
}

With an ORM framework, you can operate like this:

User user = new User();
user.setName("Alice");
user.setAge(20);

userRepository.save(user);

The ORM converts it into something like:

INSERT INTO users (name, age) VALUES ('Alice', 20);

What ORM frameworks mainly do

They're usually responsible for:

  1. Mapping classes to tables Mapping the User class to the users table.
  2. Mapping objects to records Converting a row of database data into an object.
  3. Auto-generating SQL For example insert, query, update, delete.
  4. Managing object relationships For example one-to-one, one-to-many, many-to-many relationships.
  5. Simplifying database operations Letting developers focus on business logic instead of repeatedly writing SQL.

Common ORM frameworks

ORM frameworks exist in many languages:

  • Java: Hibernate, MyBatis, JPA
  • Python: SQLAlchemy, Django ORM
  • PHP: Laravel Eloquent, Doctrine
  • JavaScript/TypeScript: TypeORM, Prisma, Sequelize
  • C#: Entity Framework

Advantages of ORM

The benefits of ORM are high development efficiency, more object-oriented code, and easier maintenance. For common CRUD operations, ORM can eliminate a lot of repetitive SQL.

Disadvantages of ORM

ORM isn't a silver bullet either. For complex queries, performance optimization, and batch operations, auto-generated SQL may not be efficient enough. And if a developer doesn't understand SQL at all, it's easy to write poorly performing code.

One-sentence understanding

An ORM framework is: mapping database tables to objects in code, so you operate on the database by manipulating objects.

JD

In job hunting, JD is usually short for Job Description, meaning job description / position description.

A JD generally includes:

  • Position title: e.g. product manager, data analyst
  • Responsibilities: what you'll mainly do after joining
  • Requirements: what skills, experience, education, etc. are needed
  • Bonus points: not required, but a plus if you have them
  • Salary & benefits / location / reporting line: some JDs include these

For example, when someone says "send me the JD", it means "send me the job description for this position".

scp Upload

引用Uploading to a server via SCP means: using the scp command, over an SSH...

Uploading to a server via SCP means: using the scp command, over an SSH secure connection, to copy files built locally or in CI to a remote server.

In your CI/CD context, it usually refers to:

The frontend dist/ and backend build artifacts built in GitHub Actions
        ↓
Uploaded via SCP
        ↓
Placed in some temporary directory on the server, e.g. /var/www/cd_tmp

Conceptually, something like:

scp -r frontend/dist user@server:/var/www/cd_tmp/frontend
scp -r backend/publish user@server:/var/www/cd_tmp/backend

The meanings are:

scp        the command for securely copying files
-r         recursively copy an entire directory
frontend/dist  the local directory to upload
user       the username for logging into the server
server     the server address or IP
/var/www/cd_tmp/frontend  the target path on the server

In GitHub Actions, you generally don't hand-write the scp command directly; instead you use a ready-made action, for example:

- name: Upload files to server
  uses: appleboy/[email protected]
  with:
    host: ${{ secrets.SERVER_HOST }}
    username: ${{ secrets.SERVER_USERNAME }}
    key: ${{ secrets.SERVER_SSH_KEY }}
    port: ${{ secrets.SERVER_PORT }}
    source: "frontend,backend"
    target: "/var/www/cd_tmp"

What it does is: copy the files from the GitHub Actions runner to a directory on your server, authenticated via an SSH private key.

So the phrase:

SCP upload to server /var/www/cd_tmp

Can be understood as:

Securely copy the new version files built by CI to the server's temporary deployment directory /var/www/cd_tmp, then later use SSH to run scripts that move these files to the production directory.

SCP is only responsible for "transferring files"; the actual actions of "restarting services, swapping directories, starting the backend" are usually done afterwards by executing a deployment script over SSH.

Tasks in a GitHub PR

What are these tasks?

See the red box

Answer: they're these checkboxes. However many there are is the denominator, and the number checked is the numerator:

OrcaTerm

A terminal product made by Tencent Cloud, available as both a local client and a web version, mainly serving Tencent Cloud connections.

From what I can see so far, the collaboration features are decent, but the downside is that the local terminal isn't great to use — I'll just go back to WT.

VNC

Virtual Network Computing

VNC = a remote screen.

It's not an ordinary command line; it's like "remote desktop" — you directly see the server's screen/console.

But your server is a Linux server and may not have a graphical desktop, so after connecting via VNC you might still just see a black login screen.

It's mainly used for emergencies, such as:

SSH login fails
The firewall is misconfigured
The network configuration is broken
The server boots abnormally
You need to see system console errors

For day-to-day project deployment, you basically never need VNC.

Ruff

"The tool documentation has also been filled in. Next, I'll run the full test suite and Ruff again, and do a startup smoke test to confirm the app can start in the uv environment." What is the Ruff mentioned here?

The Ruff here refers to a code linting/formatting tool for Python projects. Common uses include:

1. Lint checks Checks the code for style issues, potential bugs, unused variables, import ordering problems, and so on. Similar to what ESLint is to JavaScript.

2. Code formatting Ruff can also automatically format Python code, like Black.

3. Very fast It's written in Rust, so it's much faster than traditional Python lint tools. Many projects use it to replace or integrate Flake8, isort, pyupgrade, some Pylint rules, and more.

The meaning of that sentence is:

The documentation is filled in. Next, I'll rerun the full test suite, run Ruff for lint/format checks, and do a startup smoke test to confirm the app starts normally in the environment managed by uv.

"Run Ruff" usually means commands like these:

ruff check .
ruff format --check .

Or auto-fixing:

ruff check . --fix
ruff format .

HAR

HAR stands for HTTP Archive — you can think of it as a "request record bundle" from the browser's Network panel.

It usually contains:

  • Request URL and method: GET / POST
  • Request headers: User-Agent, Accept, Cookie, etc.
  • Query parameters: ?id=...&t=...
  • POST request body: e.g. form data
  • Response status codes: 200, 302, 401
  • Response headers
  • Response content summary or body
  • Request timing, redirect chains, resource types

In Chrome DevTools' Network panel, you can right-click to export a HAR. It's very useful for figuring out an API, because you can see "exactly what the browser sent."

However, HAR files are also very sensitive — they may contain things like Cookie, sessionid, X-Token, and login tokens.

RPD Process

In product/R&D management contexts, the RPD process usually refers to Rapid Product Development, i.e., a "rapid product development process." It's an end-to-end development methodology covering a product from requirements to delivery, often drawing on practices like IPD, agile development, and stage-gate reviews. Its core is using shorter cycles and stronger collaboration to quickly turn customer needs into deliverable products.

Its core ideas generally include:

  1. Customer-need-centric: the goal of product development isn't "finishing the features" but satisfying real customer/market needs.
  2. Rapid validation: do proof-of-concept and prototype validation early, to avoid discovering too late that the direction was wrong.
  3. Iterative development: not a one-shot waterfall delivery, but validating and optimizing as you go.
  4. Cross-department collaboration: product, R&D, testing, operations, supply chain, marketing, etc. all participate together.
  5. Stage reviews: key review points decide whether the project continues, adjusts, or terminates.

Common RPD stages can be summarized as:

Stage Meaning
Requirements/Concept stage Clarify customer needs, product goals, business value
Design/Prototype stage Produce technical designs, prototypes, feasibility validation
Development & Testing stage R&D implementation, system testing, integration testing
Pilot/Small-batch stage Validate with real customers or in real scenarios
Official Release stage After meeting release criteria, scale up to market or delivery

Some materials also mention review milestones like CR, DR, ER, GA: for example, project initiation, development release, early release, general availability, etc., used to control resource investment, quality risk, and business pacing.

One-sentence understanding: the RPD process is a rapid product development mechanism of "customer-need-driven, rapid validation, cross-department collaboration, staged reviews."

SDK

SDK is short for Software Development Kit, in Chinese called 软件开发工具包 (software development toolkit).

It's a collection of tools that helps developers quickly integrate with a system, platform, or service. It usually includes:

Component Purpose
API interfaces Let your program call a platform's features
Sample code Shows you how to use it
Documentation Explains features, parameters, and how to call them
Tools/library files Save you from low-level development work
Debugging tools Make testing and troubleshooting easier

For example:

If you want to add WeChat login to your app, WeChat provides a WeChat SDK. You don't need to implement the login flow from scratch — just call the relevant methods according to the SDK documentation, and you can complete "WeChat authorized login."

More examples:

  • Payment SDK: integrate payment capabilities like Alipay, WeChat Pay, Stripe
  • Map SDK: integrate AMap, Google Maps
  • SMS SDK: send verification code text messages
  • AI SDK: call speech recognition, image recognition, LLM capabilities
  • Game SDK: integrate accounts, top-ups, ads, analytics, and other features

One-sentence understanding: an SDK is a "ready-made toolbox" provided by a platform to developers, for developing or integrating features faster and more standardized.

glob

glob is a file path matching pattern that uses wildcards to match a batch of files at once.

For example:

*.js

means all .js files in the current directory.

Common syntax:

*        matches any number of characters, but usually does not cross directories
?        matches any single character
[abc]    matches any one of the characters a, b, or c
[0-9]    matches a digit
**       recursively matches multiple directory levels; support depends on the tool

Example:

src/*.js

Matches:

src/app.js
src/index.js

But usually does not match:

src/utils/helper.js

To match recursively, you can write:

src/**/*.js

This matches .js files at any level under src.

It's very common in GitHub Actions:

on:
  push:
    paths:
      - "src/**/*.js"

Meaning: the workflow is only triggered when JavaScript files under the src directory change.

It's different from regular expressions. glob is simpler and mainly used for file paths; regular expressions are more powerful and mainly used for text matching.

Note that different tools may implement glob slightly differently, especially regarding **, hidden files, and negation rules. For example, in GitHub Actions:

paths:
  - "**/*.js"
  - "!test/**"

means match all JavaScript files but exclude the test directory.

Synchronization Primitives

"Synchronization primitives" can be understood as: a class of basic tools provided by a programming language to coordinate the ordering, waiting, and notification between multiple concurrent tasks.

Here there are two concurrently executing roles:

Agent goroutine: after requesting permission, stops and waits
UI main loop: shows the dialog and waits for the user to press a key

They need an agreed-upon reliable "handoff method":

Agent: I need a decision, so I'll wait
UI: the user chose Allow, hand the decision to the Agent
Agent: got it, continuing execution

In Go, the synchronization primitive best suited for this is the channel.

The project roughly does this:

respCh := make(chan PermissionResponse, 1)

eventCh <- PermissionRequestEvent{
    ToolName:   tc.ToolName,
    ResponseCh: respCh,
}

resp := <-respCh

The meaning:

  1. respCh is a small channel that "can only carry a permission decision."
  2. The Agent sends it to the UI along with the PermissionRequestEvent.
  3. resp := <-respCh blocks the current tool goroutine until someone puts a decision into respCh.
  4. After the UI receives the event and shows the confirmation dialog, when the user presses a key it executes:
m.permRespCh <- agent.PermAllow

This sends PermAllow into the channel; the Agent's <-respCh then unblocks, gets the result, and continues executing the tool.

Here the channel serves two purposes at once:

  • Passing data: carrying concrete decisions like PermAllow and PermDeny;
  • Synchronizing timing: the Agent must wait for the UI's answer before continuing.

Other common synchronization primitives include:

  • sync.Mutex: only one goroutine at a time may modify shared data;
  • sync.WaitGroup: wait for a batch of goroutines to all finish;
  • sync.Cond: one goroutine waits for a condition to hold, another goroutine notifies it;
  • context.Context: carries control signals like cancellation and timeouts;
  • channel: passing data or waiting for notifications between goroutines.

PRD

PRD stands for Product Requirements Document, in Chinese called 产品需求文档.

It mainly explains:

  • What feature to build
  • Why to build it
  • How users will use it
  • What the business rules are
  • What counts as development complete

For example, a PRD for a login feature would cover: the login flow, verification code rules, error messages, and acceptance criteria.

You can simply understand it as:

PRD = the instruction manual for a product feature.

SEO

SEO stands for Search Engine Optimization.

In the context of your blog, it means something very simple:

Make it easier for search engines like Google, Bing, and Baidu to understand your blog content, and make them more willing to show your articles in search results.

For example, if you wrote an article:

xv6 page table source code analysis

If the SEO is done well, when someone searches:

xv6 page table walk function`
`xv6 page table

your article has a better chance of appearing on the first few pages of results.

You often see SEO mentioned when building a blog — it's generally about handling these things:

  • <title>: the title in search results
  • <meta name="description">: the article summary
  • canonical URL: tells search engines which URL is the official address of the article
  • sitemap.xml: tells search engines "these are the pages on my site"
  • robots.txt: tells crawlers which pages can be fetched
  • Open Graph / Twitter Card: mainly for previews when sharing to social networks
  • Semantic HTML: h1, h2, article, etc.
  • Page speed, mobile experience
  • Internal links, e.g. articles referencing each other

For example:

<title>xv6 页表源码解析 | 我的博客</title>

<meta
  name="description"
  content="从源码角度解释 xv6 的三级页表、walk 函数与虚拟地址转换过程。"
/>

After Google crawls your page, it can more easily determine:

Oh, this article is mainly about xv6 page tables.

Your earlier tinkering with blog URL redirects is also related to SEO. For example, originally:

/2026/07/04/my-post

Later it became:

/2026/my-post

If you don't set up a redirect, search engines may treat the old URL and the new URL as two separate pages, and old search results might even 404. Using a 301 Redirect tells search engines:

"This page has permanently moved; please transfer the original rankings and link relationships to the new URL as much as possible."

So for a personal technical blog, you can roughly understand it as:

SEO = finding ways to get search engines to properly index your articles, so that people searching for related keywords can find you.

You don't need to be superstitious about SEO. What matters most for a technical blog is still the content itself + correct title/description + sitemap + stable URLs + not having lots of 404s — that's basically enough.


A Collection of Terms I Don't Understand
https://blog.wendain.ing/en/posts/explanations-of-unknown-nouns/
Author
wendaining
Posted on
June 12, 2026
Updated on
July 12, 2026
Licensed under