Awwab.md
§08

How I Build

The habits behind the work, each with a project that shows it: understand first, think in systems, choose trade-offs in context, measure honestly, grow in small steps, write it down.

The build loopA cycle of six steps: get curious, research, model and design, build small, measure and iterate, write it down, then back to the start.the loopevery project starts the next1Get curiousa question or a problem2Researchlandscape, theory3Model and designbefore the editor4Build smallthe smallest working version5Measure, iteratebreak it on purpose6Write it downthen the next one
fig. 8The loop most of my projects follow. The last step feeds the first: what I write down at the end of one project is where the next one starts.

These are the habits I keep coming back to. Each one has a project that shows it in practice, because a principle I can’t point to in my own work isn’t really one of mine.

Understand it before I use it

When I pick up a tool, I want to know what problem it was invented for and what it trades away. An API can be looked up again later; a mental model of why it exists carries over to the next framework.

The quickest way I know to get that model is to build the thing myself. Early on, I wrote a neural network for MNIST from scratch, with no framework underneath it. Typestruct exists because implementing linked lists, disjoint sets, and an LRU cache behind a clean API made me confront invariants I had been taking for granted. Right now I’m working through AI Engineering From Scratch the same way, implementing each idea rather than calling a library that hides it.

Think in systems

I try to see a feature as part of the whole: where the data comes from, what depends on it, and what happens when it fails.

CodeAtlas is built around that last question. Its rule is stale but correct: if an update fails halfway, the system keeps serving the last verified documentation instead of something it can’t back up. In Tangent, every service carries a blast radius computed from the dependency graph, and an automated fix can be proposed but never merged without a human.

Choose the trade-off for the context

There’s rarely a best architecture, only one that fits the constraints. I’d rather understand why a choice is right here than memorise a best practice.

In Efficient Deep Learning on CIFAR-10, I built a Mixture of Experts expecting the dynamic router to win. A static, accuracy-weighted ensemble beat it. The simpler design was the better one for that budget, and the experiment is what showed me.

Measure, and report what didn’t work

A result is only as good as the evidence behind it, so I try to decide how I’ll judge something before I see the numbers.

For Watermarking the Control Plane, we preregistered the analysis and evaluated on held-out seeds. In SLO-Aware Chaos Engineering, the whole study replays byte-for-byte. Both write-ups state their failures as plainly as their wins: live costs didn’t fall, adaptive control didn’t beat a calibrated open-loop policy, and an attacker with enough jitter escapes. The failed iterations stay in the repositories as negative results.

Start small, then grow

I build the smallest version that works, check my assumptions against it, and add to it from there. For anything bigger than a weekend, I write down what I’m building first.

LexGraph moves one approved specification at a time, and anything not yet checked against a primary source stays marked unverified. Turkish Wiki is built in phases from a written spec. Even Mood & Ayah, a small app, started as a product requirements document.

Write it down

Notes turn something I understood for a week into something I can build on a year later. Decisions, dead ends, and lessons go into my notes while they’re fresh.

This site is the clearest example: it’s rendered straight from the knowledge base I keep in Obsidian, so writing things down and publishing them are the same act.

The loop

Put together, most of my projects follow the same rhythm:

  1. Get curious about a question or a problem.
  2. Research the landscape and the theory underneath it.
  3. Sketch a mental model and a design before opening the editor.
  4. Build the smallest working version.
  5. Measure it, break it, and iterate.
  6. Write down what I learned, and start the next one with it.