$ ls -la writing/

Writing

Technical deep dives, system design notes, and engineering logs. A collection of thoughts on building scalable software.

Byte Packing: Turning a u32 into Four u8s by Hand

• 145 views

Hand-rolling u32-to-bytes encoding and back with bit shifts, and why the byte order you pick (big-endian vs little-endian) actually matters.

#rust #bit-manipulation #encoding #systems-programming
9 min READ

Rewriting StrataDB in Rust, Part 1: MemTable and Naive Persistence

• 224 views

Starting the StrataDB rewrite in Rust: the MemTable, why BTreeMap, modeling tombstones with Option<T>, hand-rolling a binary record format, and a naive on-disk engine tested against real byte output.

#rust #database #systems #strata-db
10 min READ

Selective CI Builds for a Monorepo with GitHub Actions + Coolify

• 455 views

How I stopped rebuilding four Docker images on every commit, and the five annoying bugs that got in the way of a clean CI pipeline.

#ci-cd #github-actions #docker #coolify #devops #monorepo
7 min READ

Deploying Lumina: A Scalable AI Photo App on Hetzner & Coolify

• 368 views

How I deployed a complex monorepo stack for $4/month using Coolify, while overcoming OOM crashes and configuration drift.

#deployment #hetzner #coolify #docker #devops
8 min READ

Lumina: Building a Collaborative AI Photo Intelligence Layer

• 376 views

Designing a distributed face-matching system using Bun, FastAPI, and PostgreSQL—without relying on pgvector.

#javascript #python #monorepo #ai #face-recognition #postgresql
9 min READ

StrataDB: Engineering a Multi-Layered Database from Scratch

(Edited) • 485 views

A technical post-mortem on building a multi-layered relational engine, from byte-level storage to SQL interfaces and ACID transactions.

#database #systems #typescript #sql
5 min READ

Rewriting the Portfolio to have a Journal

• 310 views

A deep dive into the technical migration from React to Astro, SQLite-backed view tracking, and the engineering behind a terminal-inspired UI.

#web-design #astro #journal #sqlite
8 min READ

Deploying React on a Budget

• 313 views

Moving from Netlify to a 1GB VPS: Tackling memory limits with swap space and Nginx configuration.

#deployment #react #linux #devops
4 min READ