A quiet collection of essays, benchmarks, and experiments covering database internals, rendering pipelines, and maintainable desktop utilities.
SQLite2D GraphicsPerformanceMinimalism
Recent Writing
October 18, 2026 · 4 min read
Practical SQLite WAL Tuning for Single-Node Services
Why default rollback journals stall concurrent readers, and the four pragmas that stabilize tail latency under mixed workloads.
Switching a local SQLite database to Write-Ahead Logging (WAL) allows readers to proceed without blocking a single active writer. Pairing WAL with synchronous = NORMAL and a sensible busy timeout resolves most lock contention in lightweight web tools.
Keep periodic checkpoints in mind if your workload performs large batch inserts so the -wal file does not grow unbounded.
September 29, 2026 · 5 min read
Maintaining Crisp Strokes in High-DPI 2D Viewports
Handling device pixel ratios, sub-pixel snapping, and adaptive curve flattening when zooming across several orders of magnitude.
When rendering vector paths on displays with fractional scaling (such as 125% or 150%), naive screen-space coordinates quickly produce blurry hairlines. Keeping geometry in double precision in world space and snapping only axis-aligned UI chrome at the final raster stage prevents jitter during pan and zoom.
For curves, choosing chord-error tolerances relative to the active camera scale keeps vertex counts bounded without visible faceting.
August 14, 2026 · 3 min read
Why Zero-Dependency Static Pages Age Better
Building documentation and personal sites with plain HTML, CSS custom properties, and tiny vanilla scripts that still run ten years later.
Build toolchains churn every eighteen months, while plain standards-compliant HTML renders identically across decades. For static content, shipping a single compressed document eliminates hydration delays, avoids broken third-party fonts, and keeps server resource usage near zero.
Small Utilities
TileBench
Lightweight command-line harness for measuring 2D spatial index query times on synthetic polygon sets.
PlainDiff
Single-binary terminal viewer for side-by-side CSV and JSON configuration comparisons.
Chronicle
Static Markdown-to-HTML generator with zero runtime JavaScript and strict RSS feed validation.
About
This site serves as an informal scratchpad for engineering experiments and archival technical notes. All articles are published under CC BY-SA 4.0.