Writing6 notes

Working notes.

Notes on agents, inference systems, and measurement. Written when a result surprised me, or turned out to be measuring the wrong thing.

September 15, 20266 min read

The Engine Is Allowed to Forget

An inference server stays fast by treating every request as its first. vLLM's agentic layer puts the memory beside the engine, and most of its design follows from one rule about who owns the history.

vLLMAgent InfrastructureSystems Design
August 5, 20265 min read

A Loop Is Only as Good as Its Sensor

An agent that grades its own work is a control loop whose sensor sits inside the plant. Every time I fixed my evaluation, it started rewarding a different degenerate agent.

Agent EvaluationControl SystemsMeasurement
July 25, 202612 min read

The 31% Page-Size Slowdown That Wasn't

An SGLang result survived every rerun and vanished only when I timed the right interval. Nsight and source tracing revealed when KV-cache pages actually matter.

LLM SystemsSGLangGPU Profiling
June 24, 20264 min read

The Honest Machine

A generated paper can look finished and be wrong in the two places nobody checks. The useful engineering is the part that fails the build.

AI for ScienceAutonomous ResearchResearch Integrity
March 15, 20264 min read

The Detector Was the Easy Half

A focus tracker that reads your pulse through the webcam and decides when to interrupt you. The signal took a month. The interruption is a different kind of problem, and I turned it off within a day.

rPPGChrome ExtensionReactSignal Processing
February 20, 20264 min read

The Ghost Stories Had the Best Data

Song-dynasty supernatural tales were classed as trivial anecdotes. They are full of geographic and social detail, because a haunting needs an ordinary world to interrupt.

NLPDigital HumanitiesClassical ChineseFlask