Archive

30 posts, 872 min of reading. Spans show reading time on a 0 to 70 min scale.

2026

30 posts

  1. DFilterForge Retrospective 06: Every number has a source, yet one digit was still missing on a phone

    The DFilterForge site forbids hand-written numbers: every value on a page carries its provenance, pointing to a location in a committed file in the repository, and a test recomputes it independently. This post tells how that chain came to be and the holes it had: a check that only recognized ASCII digits, numbers that existed only in server-rendered HTML, two values swapped, a formatting function shared with the page, and the one time the text was all correct but the pixels were wrong: on a 320 px phone, a real bill read as USD 0.2. Finally, the unreproducible README animation and a few deployment traps.

    Reading time: 17 min
  2. DFilterForge Retrospective 05: A pinned tshark, keyless CI, and on-demand GPUs

    This post is DFilterForge's engineering checklist: tshark pinned and built from source, until upstream moved the source tarball; how the runner safely executes model-written filters; how the field catalog freezes to byte-identical exports; how CI rescored every committed run without keys or network access, and how pytest filled /tmp and back-to-back merges cancelled CI runs; starting and stopping GPUs on demand on Modal, with open endpoints, startup crashes, scaling to zero and preemption, circuit breakers and rate limits, networks that only block the data plane, and waiting for a GPU; finally, the Windows host and dependency upgrades.

    Reading time: 15 min
  3. DFilterForge Retrospective 04: A small model that errs more quietly

    After QLoRA fine-tuning Qwen3-1.7B, its strong exact on test condition C4 rises from 0.063 to 0.396 (mean over three seeds). But of the 49 answers that previously failed to compile or had the wrong format, 32 to 35 become executable, and about half of those are silent-wrong: they run but pick the wrong packets. This post covers what happened along the way: how the training data was built and kept separate from the test split; how TRL's defaults nearly emptied the data; how the training targets themselves teach the model to violate the prompt's rules; when the checkpoint and the reading rules were fixed; how far you can get without training; a key-sorting accident that made 80 answers identical; and how the cost is accounted for.

    Reading time: 15 min
  4. DFilterForge Retrospective 03: The only significant result was an artifact of rate limiting

    Whether a number from an evaluation can be trusted is not just about whether the scoring is right. This post is about how DFilterForge protected the numbers on its test split, and the times the numbers nearly got distorted. The test split was frozen, and every reading was registered before the requests went out; rerun at temperature 0, thirty or forty of the 112 answers per condition changed; of the 12 registered condition comparisons, the only one whose interval excluded 0 was almost entirely caused by HTTP 429 rate limiting; the unit of the pooled statistics was used wrong once; a registered prediction was edited after the results came in. Finally, the LLM-as-a-judge comparison: of 165 answers that tshark can disprove with a single frame, it rated 58 as 'correct'.

    Reading time: 15 min
  5. DFilterForge Retrospective 02: Show the model the packet that disproves it

    When a filter is wrong, DFilterForge gives the model one more round, with a counterexample: the frames that disprove it if it ran wrong, the error if it failed to compile. On the frozen test split, out of 75 wrong answers, counterexamples repaired 35, a bare 'wrong' repaired 21, and resending the same prompt repaired 4. This post covers four things: how the model's input is designed, what goes on a counterexample card, how to read the results of the three arms, and the conclusions that didn't hold or couldn't be read. What didn't hold: typed intent did not beat writing the filter directly. What couldn't be read: most single-model comparisons show no difference. Also, the fine-tuned 1.7B small model repaired none with counterexamples.

    Reading time: 15 min
  6. DFilterForge Retrospective 01: Three wrong answers scored full marks

    DFilterForge has an LLM write a Wireshark display filter from a plain-English request, then checks it with a pinned tshark on synthetic captures. The first run of the dev split with a real model produced three wrong answers that scored full marks. This post covers the verifier that judges right from wrong: where labels come from, how mutants test the test data itself, why every probe ends with 33 witness packets, and how shortcuts are prevented.

    Reading time: 20 min
  7. DFilterForge Retrospective 00: Overview

    DFilterForge has an LLM write a Wireshark display filter from a plain-English request, then checks it with a pinned tshark against synthetic captures. This post is the overview of the retrospective series: it walks through one example end to end, gives the three main sets of numbers and a timeline of more than two months, and points out where the pitfalls cluster, which post covers each of the ten pitfalls most worth reading about, and what remains unfinished.

    Reading time: 11 min
  8. APOSD Reading Notes 03: Working Code Isn't Enough

    Notes on Chapter 3 of the second edition of A Philosophy of Software Design: tactical vs. strategic programming, a 10–20% design investment with a 6–18 month payback, and why startups shouldn't count on cleaning up later either.

    Reading time: 42 min
  9. APOSD Reading Notes 02: The Nature of Complexity

    Notes on Chapter 2 of the second edition of A Philosophy of Software Design: a practical definition of complexity, its three symptoms—change amplification, cognitive load, and unknown unknowns—its two causes, dependency and obscurity, and why complexity accumulates in small increments.

    Reading time: 43 min
  10. APOSD Reading Notes 01: It's All About Complexity

    Notes on Chapter 1 of the second edition of A Philosophy of Software Design: why the greatest limit on writing software is our ability to understand it, the two ways to fight complexity, why design is never done, and how the author suggests reading the book.

    Reading time: 49 min
  11. Reflection: How much of this book's experience remains in 2026 — for FDEs and developers

    Looking back at What We Learned from a Year of Building with LLMs more than two years later: how many of the 20 claims from the book and my notes still hold in 2026, what they mean for FDEs and for developers, and how the authors think.

    Reading time: 23 min
  12. Chapter 3 Reading Notes: Strategy — Building with LLMs Without Being Overtaken

    Notes on Chapter 3 of What We Learned from a Year of Building with LLMs: why you shouldn't train a model right away, where the moat lies beyond the model, how humans and AI divide the work, how to get started, and what the trend of low-cost cognition means.

    Reading time: 37 min
  13. An engineering checklist for a purely static game: saving, input, typesetting, and publishing in The Road We Came

    The Road We Came has no backend, and the words players write never leave the browser. This post gathers the engineering details it took care of into a checklist: saving and refreshing, how tests walk through a whole journey, Chinese input methods and mobile keyboards, the vertical scroll and fonts, wind synthesized in the browser, bilingual link previews, zips that are byte-identical every time, visit counting that never collects the text, and the Dependabot and CI setup.

    Reading time: 14 min
  14. Letting a sentence drift on the road: the retelling rules and summit scoring in The Road We Came

    The Road We Came is a five-minute browser game: before you set out, you write down one reason for the journey; the people along the road retell it again and again, and at the summit you write it back from memory. This post covers how the retelling is built from a few word lists and a seeded random number generator, how the summit scores with the longest common subsequence (the score is ROUGE-L) and decides whether you remembered your own words or the road's version, and the problems that showed up after running over a thousand seeds.

    Reading time: 20 min
  15. The Road We Came: at the summit, do you still remember why you set out?

    The Road We Came is a browser game of about five minutes that asks whether, at the end of the road, you still remember why you began. This post is about its design: how the sentence you write at the start is handed over, how the people along the road retell it, the character the ferryman asks for, the blank scroll at the summit, and how the people on the road recognize you when you walk it again.

    Reading time: 11 min
  16. Chapter 2 Reading Notes: Operations — Developing and Managing LLM Applications and the Teams That Build Them

    Notes on Chapter 2 of What We Learned from a Year of Building with LLMs: how to keep an LLM application running across four areas (data, models, product, and team), and what needs revising more than two years later.

    Reading time: 50 min
  17. Chapter 1 Reading Notes: Tactics — The Emerging LLM Stack

    Notes on Chapter 1 of What We Learned from a Year of Building with LLMs: what the four building blocks of prompting, retrieval (RAG), workflow tuning, and evaluation and monitoring each say, and what needs revising more than two years later.

    Reading time: 59 min
  18. DDIA Reading Notes 12: The Future of Data Systems

    Notes on the last chapter of Designing Data-Intensive Applications, first edition: why combining data systems should rely on derived data rather than distributed transactions, what unbundling databases means, how to guarantee correctness in asynchronous dataflows, and what responsibility the people who build data systems owe their users.

    Reading time: 27 min
  19. DDIA Reading Notes 11: Stream Processing

    Notes on Chapter 11 of Designing Data-Intensive Applications, first edition: how traditional message brokers differ from log-based ones, how change data capture and event sourcing turn a database into a stream, how stream processing handles time, windows, and joins, and how to achieve exactly-once semantics when things fail.

    Reading time: 26 min
  20. DDIA Reading Notes 10: Batch Processing

    Notes on Chapter 10 of Designing Data-Intensive Applications, first edition: how the design of Unix pipes scales to thousands of machines, how MapReduce brings related data together for joins and grouping, why batch processing should output immutable datasets, and what dataflow engines like Spark and Flink improve.

    Reading time: 28 min
  21. DDIA Reading Notes 09: Consistency and Consensus

    Notes on Chapter 9 of Designing Data-Intensive Applications, first edition: what linearizability guarantees and what it costs, how causal order differs from total order, why total order broadcast is equivalent to consensus, why two-phase commit can get stuck, and what consensus algorithms and coordination services like ZooKeeper can do.

    Reading time: 24 min
  22. DDIA Reading Notes 08: The Trouble with Distributed Systems

    Notes on Chapter 8 of Designing Data-Intensive Applications, first edition: networks drop packets and delay them indefinitely, clocks drift and jump, processes pause anywhere; in such an environment, what a node can know, whom it should trust, and how to reason about algorithm correctness with system models.

    Reading time: 19 min
  23. DDIA Reading Notes 07: Transactions

    Notes on Chapter 7 of Designing Data-Intensive Applications, first edition: what each letter of ACID actually promises, which races read committed and snapshot isolation block and which they miss, why write skew and phantoms are hard to prevent, and three ways to implement serializability.

    Reading time: 20 min
  24. DDIA Reading Notes 06: Partitioning

    Notes on Chapter 6 of Designing Data-Intensive Applications, first edition: the strengths and hot-spot problems of partitioning by key range and by hash of key, how secondary indexes are partitioned, how to rebalance when adding or removing nodes, and how requests find the partition they need.

    Reading time: 33 min
  25. DDIA Reading Notes 05: Replication

    Notes on Chapter 5 of Designing Data-Intensive Applications, first edition: how single-leader, multi-leader, and leaderless replication work, what anomalies replication lag can cause, what quorums can and cannot guarantee, and how to tell whether two writes happened one before the other or were concurrent.

    Reading time: 70 min
  26. DDIA Reading Notes 04: Encoding and Evolution

    Notes on Chapter 4 of Designing Data-Intensive Applications, first edition: how JSON, Thrift, Protocol Buffers, and Avro encode data into bytes, how schemas evolve so old and new code can read each other, and what compatibility data needs as it flows through databases, service calls, and message passing.

    Reading time: 45 min
  27. DDIA Reading Notes 03: Storage and Retrieval

    Notes on Chapter 3 of the first edition of Designing Data-Intensive Applications: how hash indexes, SSTables and LSM-trees, and B-trees store data on disk and find it again, the costs of the two families of storage engines, and why data warehouses turn to column-oriented storage.

    Reading time: 52 min
  28. DDIA Reading Notes 02: Data Models and Query Languages

    Notes on Chapter 2 of Designing Data-Intensive Applications, first edition: what kinds of data suit the relational and document models, why declarative queries win, and the property graph, triple-store, and Datalog graph models.

    Reading time: 42 min
  29. DDIA Reading Notes 01: Reliable, Scalable, and Maintainable Applications

    Notes on Chapter 1 of the first edition of Designing Data-Intensive Applications: the difference between faults and failures, how to discuss scalability with load parameters and response time percentiles, and the three aspects of maintainability.

    Reading time: 22 min
  30. Hello, World: 缉熙 and Dawning

    The first post on this blog: the origins of the two names "缉熙" and "Dawning", doubling as a typography sample.

    Reading time: 8 min