
Vector clocks reveal two concurrent writes
Compare three-component version vectors, reconcile a shopping-list deletion, and test how identity reuse or erased context breaks causal comparison.
The journal / Ideas in progress
Engineering & everyday learningSoftware, systems, and the things I’m learning along the way. From first principles to AI in production.
Find something to readA little theory. A lot of practice.

Compare three-component version vectors, reconcile a shopping-list deletion, and test how identity reuse or erased context breaks causal comparison.

Trace two increments that lose an update, define the critical section, and distinguish a teaching interleaving from undefined C++ data races.

Compare inherited descriptors with independent open calls using a six-byte file, and explain shared offsets, close behavior and close-on-exec.

Calculate content, padding, borders and margins to diagnose an overflowing card, then distinguish box sizing from minimum sizes and transformed rectangles.

Interleave a source read, commit, invalidation and late fill, then test how an atomic generation guard rejects obsolete cache writes.

Preserve the focused control across theme changes, retain a pointer fallback, and verify clipping, viewport clearance and forced-color behavior.

Trace hits, recency changes and evictions in a three-entry Python cache, then check loader failures, cached None and a scan that misses every time.

Compare selection-time and arrival-time TTLs, test exact expiration boundaries, and carry response age through an explicit HTTP caching example.

Trace a link color through layers, inline styles, specificity and scope with six reversible experiments before adding CSS overrides.

Relax the document wrapper’s automatic flex minimum, inspect action containment, and add wrapping plus a keyboard-accessible full filename.

Protect a bounded ring queue as one state transition, including its head, tail and count, and state what the mutex does not guarantee.

Run local TCP controls where the same client timeout hides different server outcomes, then test retry identities and lost deduplication receipts.