Highlights
Latest

Typestate: Encoding Protocols in Types

Typestate turns protocol states and legal transitions into APIs that reject invalid operation sequences before execution.

2026-05-29·13 min read

Building Reliable LLM Applications

Engineer LLM systems with typed outputs, grounded evidence, controlled tools, evals, observability, canaries, and incident-ready fallbacks.

2026-05-28·13 min read

Binary Search on the Answer: Turning Feasibility into Optimization

Solve optimization problems by proving a monotone feasibility predicate and preserving explicit search-boundary invariants.

2026-05-27·14 min read

Multimodal AI Systems: Text, Images, and Structured Data

Design multimodal systems around explicit modality contracts, evidence-preserving fusion, bounded tools, privacy, fallbacks, and end-to-end verification.

2026-05-26·13 min read

Authorization Models: RBAC, ABAC, and ReBAC

Compare RBAC, ABAC, and ReBAC by how they express policy, preserve tenant boundaries, support revocation, and produce testable decisions.

2026-05-25·15 min read

Service Discovery and Health Checking

Design service discovery as a converging membership system with explicit readiness, liveness, staleness, and observability contracts.

2026-05-24·14 min read

Normalization and Denormalization by Invariant

Design normalized sources of truth and deliberate denormalized projections by assigning every business invariant a clear owner.

2026-05-23·14 min read

How CSS Layout Resolves Flexbox and Grid

Reason about Flexbox and Grid through intrinsic sizes, free-space distribution, track sizing, overflow constraints, and reproducible debugging.

2026-05-22·14 min read

Serverless Architecture: A Decision Framework

Choose serverless by matching workload shape, event semantics, state, platform limits, cost curves, and operating responsibilities to explicit requirements.

2026-05-21·14 min read

Cache Locality and Data-Oriented Design

Reshape hot data and traversal around actual access patterns so each fetched cache line performs useful work without sacrificing honest measurement or maintainability.

2026-05-20·14 min read

Filesystems: Page Caches, Journals, and Durable Writes

Trace a write from the page cache through journaling and storage, then build crash-safe file replacement from explicit guarantees.

2026-05-19·12 min read

Work-Stealing Schedulers for Parallel Tasks

Understand how per-worker deques, selective stealing, task granularity, and runtime telemetry turn irregular parallel work into balanced execution.

2026-05-18·14 min read