Notes

BaddCafe OS: learning Rust with a small x86-64 kernel

Read

From linker errors and a blank QEMU screen to page tables, heap allocators and an async keyboard: what building a small Rust kernel made me work through.

2026-10-19

Two SONiC switches, one BGP session, and a first PR

Read

Standing up a containerlab SONiC fabric to learn the domain — RFC 8212, loopbacks, next-hops — and then fixing a six-year-old CLI bug in sonic-utilities that was silently writing junk into CONFIG_DB.

2026-09-06

Keycloak on GKE — from Terraform state to a working login

Read

Building a repeatable Keycloak deployment with private GKE nodes, Cloud SQL, keyless CI, Terraform-driven Helm values, realm imports, and recovery that accounts for the database.

2026-08-20

CustomWaypoints: Rethinking Navigation in WoW Through Graph-Based Routing

Read

A deep dive into building a routing layer on top of Carbonite, exploring graph-based pathfinding, transport-aware navigation, and the challenges of modeling real-world game traversal.

2026-03-26

Baddcafe zsh theme — keeping the prompt out of the way

Read

A shell prompt with background system collectors, async Git status and a clock that repaints one line: the latency, lifecycle and terminal-width problems behind the theme.

2026-10-20

My first eBPF program — counting execve() from inside the kernel

Read

A tiny kernel-side counter plus a libbpf loader, and everything I had to look up to understand it: the BPF 'VM', the verifier, why the Makefile needs a weird include path, and what the bytecode actually looks like.

2026-10-02

Cosine similarity in SQL — item-based recommendations without the matrix

Read

Building a listings API where the recommendations are computed by the database instead of in memory, plus a CSV import that stays idempotent, and the Spring traps found along the way.

2026-08-19

TIS-100: small programs, blocking ports and explicit protocols

Read

Notes from a nineteen-puzzle solution archive: routing streams, preserving input alignment and managing state with one accumulator and a saved register.

2026-10-13

Reverse proxies and SSL in production

Read

Practical nginx, Caddy, and HAProxy notes: TLS termination, proxy headers, timeouts, failover behavior, and operational pitfalls.

2025-08-14

Solving the Container With Most Water Problem in Go (Two-Pointer Trick Explained)

Read

Exploring the two-pointer technique to solve the Container With Most Water problem efficiently in O(n) time, with a detailed walkthrough of the greedy strategy.

2025-02-01

Greatest Sum Divisible by Three – A Deep Dive with Greedy and DP Solutions

Read

Exploring two approaches to finding the maximum sum divisible by 3: an intuitive greedy method and a dynamic programming solution using remainder tracking.

2025-01-28

From Recursion to Dynamic Programming: A Problem-Solving Journey in Go

Read

Exploring how a simple recursive solution evolves into an efficient dynamic programming approach, using Fibonacci as a practical example in Go.

2025-01-25

Payment processing — idempotency and error handling

Read

Why a timeout is an unknown outcome, how to claim payment attempts atomically, and how provider idempotency, durable webhooks, and reconciliation fit together.

2025-01-20

Kubernetes resource tuning — avoiding fake precision

Read

Practical notes on Kubernetes requests, limits, CPU throttling, OOMKills, JVM memory, and why resource tuning should be based on workload behavior.

2025-01-10

Spring Boot production readiness — beyond the happy path

Read

Health checks, graceful shutdown, metrics, connection pools, and logging patterns I care about before trusting a Spring Boot service in Kubernetes.

2025-01-05

Docker multi-stage builds for smaller images

Read

Separating build tools from Java/Go runtimes, preserving dependency layers, and checking the trade-offs behind smaller container images.

2024-12-20