Read by series. Each one starts from an entry article; just follow the dates.

"dzh" "从 bind、计划生成到存储引擎:一个 Go 内核的实现记录。" "den" "From bind and planning to storage: implementation notes from a Go kernel.")

Database & Optimizers5 posts

From porting COLUMBIA and passing all 22 TPC-H queries, to the real traps inside an optimizer.

Open series →

Start here:Writing a Query Optimizer: From COLUMBIA to TPC-H

  1. Porting a 1999 Cascades Optimizer to Modern C++: The COLUMBIA Story2026-10-20
  2. Making an Optimizer Run TPC-H: Lossless Conversion and Execution Reconciliation for 22 Queries2026-10-20
  3. Six Real Traps in an Optimizer: Matching Results Don't Mean a Correct Plan2026-10-20
  4. Writing a Query Optimizer: From COLUMBIA to TPC-H2026-10-20
  5. The Optimizer's Cost Model: From Formulas to Calibrated Numbers2026-10-20

Reading gporca4 posts

Anatomy of Greenplum's optimizer: task engine, memo, DP cells and the property system.

Open series →

Start here:Reading gporca (Part 1): Only ~11K of Its 400K Lines Are Actually Framework

  1. Reading gporca (Part 1): Only ~11K of Its 400K Lines Are Actually Framework2026-10-20
  2. Reading gporca (Part 2): The Reference-Count Gate That Turns Recursive Search into a Pausable Task Network2026-10-20
  3. Reading gporca (Part 3): The Key of a DP Cell — (Group, Required Properties, Stage)2026-10-20
  4. gporca's Rule System: How to Read 119 Rules2026-10-20

Rewriting Lucene in C++6 posts

Byte-compatible index formats, bit-exact scoring, and the fight from 128 to 592 QPS.

Open series →

Start here:Writing a Search Engine from Scratch: Rewriting Lucene in C++

  1. Rewriting Lucene in C++ (Part 1): Byte-Level Compatibility — When Java Reads a C++-Written Index2026-10-20
  2. Rewriting Lucene in C++ (Part 2): Bit-Exact Scoring — The Floating-Point Traps of BM252026-10-20
  3. Rewriting Lucene in C++ (Part 3): From 128 to 592 QPS — The Search Performance Fight2026-10-20
  4. Rewriting Lucene in C++ (Part 4): The Writer and the Long Tail — From 59% to 100% Coverage2026-10-20
  5. Writing a Search Engine from Scratch: Rewriting Lucene in C++2026-10-20
  6. Lucene's Search Execution: impacts, WAND and MAXSCORE2026-10-20

Git for Data6 posts

Implementing snapshots, branches, diff, merge and registry engineering on DuckDB.

Open series →

Start here:Data Version Control: Why a Database Needs Git

  1. Implementing Git for Data on DuckDB (Part 1): Feasibility — Why an Analytical Database Can Grow Version Control2026-10-20
  2. Implementing Git for Data on DuckDB (Part 2): Pinning History — Snapshots, Retention Watermarks and AT SNAPSHOT2026-10-20
  3. Implementing Git for Data on DuckDB (Part 3): Branches, diff, pick, merge — The Version Primitives of Data2026-10-20
  4. Implementing Git for Data on DuckDB (Part 4): Moving Metadata into Tables — Transactions, Crash Consistency and 'Hidden but Readable'2026-10-20
  5. Data Version Control: Why a Database Needs Git2026-10-20
  6. PITR and Clone: Point-in-Time Recovery and Zero-Copy2026-10-20

6502 Hardware Rebuild6 posts

From the visual6502 netlist to KiCad schematics, discrete transistors, board splitting and routing.

Open series →

Start here:6502 Hardware Rebuild: From Netlist to Circuit Board

  1. From a Transistor Netlist to a KiCad Schematic: Redrawing the 65022026-10-20
  2. Building the 6502 from 4,000 Discrete Transistors: The MOnSter6502 Route2026-10-20
  3. Splitting the Board: Dynamic Nodes Can't Just Be Cut2026-10-20
  4. Routing: Auto-Routing a 6,000-Part Board2026-10-20
  5. 6502 Hardware Rebuild: From Netlist to Circuit Board2026-10-20
  6. 6502 Bring-Up: From KiCad to a Physical Board2026-10-20

FPGA & Agents1 posts

97 rounds of experiments on a 6,272-LUT FPGA, and the traps the agent actually hit.

Open series →

Start here:Code Agents and FPGA Development: A 97-Round Experiment Log

  1. Code Agents and FPGA Development: A 97-Round Experiment Log2026-10-20

Criteria for Autonomy8 posts

Judging whether a side project truly buys autonomy: three hard criteria and three axes.

Open series →

Start here:Criteria: What Counts

  1. Where Criteria Begin: Your Real Problem Isn't 'Being Recognized'2026-10-20
  2. Three Hard Criteria: What Counts2026-10-20
  3. Three Axes: Compliance, Feasibility and Risk Must Not Impersonate Each Other2026-10-20
  4. Criteria vs Plans: Criteria Answer 'What Counts', Plans Answer 'What to Do Next'2026-10-20
  5. Criteria: What Counts2026-10-20
  6. How to Audit a Product, Direction or Idea with the Three Hard Criteria and Three Axes2026-10-21
  7. Auditing My Own Product: Is SignalBrief Worth It?2026-10-21
  8. Pricing in the AI Era: Five Thresholds for the Payable 30%2026-10-21

MySQL 8.0 Source Reading2 posts

Byte-level binlog file format and the binlog cache state machine, with reproducible experiments.

Open series →

Start here:MySQL binlog format: what is inside an 891-byte file

  1. MySQL binlog format: what is inside an 891-byte file2026-11-28
  2. The binlog cache: memory, temp files and seven states2026-11-28

Essays3 posts

Minimal experiments in products, business and technology: why, how, and how to measure.

Open series →

Start here:The Minimal Business Loop

  1. Ship a Bilingual Site in One Day2025-10-18
  2. The Minimal Business Loop2025-10-19
  3. How to Find a Product Idea Worth Testing2025-10-20

Database Kernel (plan)6 posts

From bind and planning to storage: implementation notes from a Go kernel.

Open series →

Start here:Database Kernel (1): Bind Is Semantic Analysis, Not Syntax Checking

  1. Database Kernel (1): Bind Is Semantic Analysis, Not Syntax Checking2026-10-22
  2. Database Kernel (2): From Syntax Tree to Plan Tree — Filter Pushdown and Join Ordering2026-10-22
  3. Database Kernel (3): Execution — Vectors, Chunks and the Vectorized Volcano Model2026-10-22
  4. Database Kernel (4): Storage — Row Groups, Column Segments and Four Layers2026-10-22
  5. Database Kernel (5): Transactions, Timestamps and GC2026-10-22
  6. Database Kernel (6): WAL, Replay and Checkpoint2026-10-22