Writing log71 posts289 tagslatest Oct 23, 2026
Posts.
I take large codebases apart and write down how they actually work.
Latest posts
Finding two causes of a walking stutter in a Godot game with a measuring harness
A Godot 4.6 game that streams its world in chunks froze for 0.1 to 0.3 seconds every time the player walked. A harness that walks the hero on its own and logs frame times found two causes: code scanning 19,000 nodes every physics tick, and code building and tearing down whole chunks in a single frame. After the fix, frames over 50 ms are gone.
What Crosses the Bridge Between Two Games? Twelve Passthrough Mods Compared
This post opens the code of twelve passthrough mods that merge two running games into one and sorts them by what crosses the bridge: pixels, meshes, logic, or nothing at all.
Inside the Bridge That Runs Minecraft in Elden Ring: How Do Two Games Share One Frame?
This post reads minecraft-crossover-bridge and walks through what its shared-memory protocol, depth-tested compositing, terrain raycasts and hidden stand-in character each solve.
What Does Active Record Build on Every Request? Measured the Same Way as Sequelize and GORM
The last post concluded that Ruby is not slow and that most of a Rails request is Active Record. This one compares what Active Record does per request with Sequelize and GORM, by reading the source and measuring. Most of the cost comes from a has_and_belongs_to_many preload that turns every join row into a full record, and there is a way to cut it sharply while keeping the same SQL.
Where Does One Rails Request Spend Its CPU? HTTP, Routing, Database and ORM, Measured Apart
One list request, split into four layers (HTTP server, routing and middleware, database queries, ORM) and measured in Rails, Express and Gin. 70% of a Rails request's CPU is Active Record; routing and middleware take 7%.
Archify dissected: what changes when the agent writes an IR instead of drawing the diagram?
Archify has the agent write a typed JSON IR and lets a deterministic compiler turn it into a self-contained HTML artifact. I read the repository end to end and built four diagrams with it, watching what the validator refuses, why deliver, visual-check, and human review are kept apart, and what changes when this blog’s own mermaid is ported over.
Carbon Basics 2: Where carbon hides in daily life
Following one ordinary day to pull the hidden emissions out of food, travel, goods and electricity, in five 3D visuals. Of the 26 kg in that day, 58% came from a single lunch.
DeepSeek Harness Hands-On: Dumping the Boot Tree and Swapping Rows With Patches
I booted DeepSeek Harness with a single npx command and no API key, dumped its 145-row boot tree with --dump-config, and edited the patch layer by hand. The web profile ships with every model-facing tool switched off, and the reason turns out to be interesting. I also walked straight into the trap where patching a row config silently kills a CLI flag.
WebMCP Explained: What Changes in Browser Automation When a Web Page Hands Tools Directly to an AI Agent?
WebMCP is a W3C Community Group proposal in which a web page registers JavaScript functions and HTML forms as "tools" on document.modelContext, and the browser mediates those tools to the user's agent. This article lays out the imperative and declarative APIs and the boundaries the browser guarantees, straight from the spec, then calls real tools with Chrome 152 and agent-browser 0.36 to see how it differs from accessibility-tree automation.
Carbon Basics 1: What carbon is, and why it matters
What CO₂e means, how much CO₂ has built up in the air, how much of the 1.5 °C budget is left, and how big a tonne really is, shown in four 3D visuals instead of paragraphs.