Writing
- Default Apps 2026
Here are my Default Apps of 2026.
- Three Things That Bite You When You Ship gRPC to Production
Three things about gRPC that look fine in tutorials and bite you in production: load balancer imbalance, browser incompatibility, and silent schema corruption.
- How Prompt Caching Works
What LLM APIs cache, what breaks the cache, and why long agent loops get 5–10× cheaper with it.
- My Local LLM On A 32 GB M1 Pro
How I adapted an M1 Max guide to half the machine by handing it to pi and letting it grill me first, plus the exact, reproducible steps that came out the other end.
- Django ORM: From sync_to_async Threads to Native psycopg3
A deep dive into how Django's ORM became truly async — how the old thread-pool approach worked, what changed in Django 6.0 with psycopg3 and ContextVar, and why asyncpg was left out.
- How I Optimized My Zsh Startup Time
An audit of my zsh config turned up shell forks, redundant plugins, and eager evals. Here are the eight fixes that shaved an estimated 400-700 ms off cold start.
- Redis’s License Change and the Valkey Fork
The story of Redis's controversial license change in March 2024 and how the open-source community responded by creating Valkey—a fork that's now outperforming the original on speed and efficiency.
- BM25 Ranking in PostgreSQL with pg_textsearch
pg_textsearch brings BM25 relevance ranking to Postgres. How it compares with built-in full-text search, and when to use each.
- Default Apps 2025
Here are my Default Apps of 2025.
- Notes on Understanding Hebbian Learning
A beginner-friendly exploration of one of neuroscience's most elegant principles - how neurons that fire together, wire together.
- Django Native PostgreSQL Connection Pooling
Configure Django’s native PostgreSQL connection pool with psycopg, handle connection cleanup, and measure performance before and after.
- ty: Astral's Take on Python Type Checking
Notes on ty, the pre-alpha type checker from the team behind Ruff and uv, and what its speed, its missing plugin system, and its open business model actually mean.
- Handling Django Authentication Redirects in HTMX Applications
A clean solution for handling Django authentication redirects in HTMX applications, preventing login forms from appearing in the wrong place when sessions expire.