Journal
All articles — newest first.
gen ai
beginner
RAG Basics — Retrieval Augmented Generation
How RAG works: embed documents, retrieve relevant chunks, and prompt an LLM with context.
gen ai
intermediate
Prompt Engineering for Backend Engineers
Practical prompt patterns for structured output, tool use, and fewer hallucinations.
python
intermediate
How Python Manages Memory
A walk through Python's memory model: heap objects, reference counting, cyclic GC, pymalloc arenas, and the trashcan that prevents stack overflows during cleanup.
python
intermediate
How Python Threads Learned to Share All Your CPU Cores — Safely
The engineering behind free-threaded Python: four techniques (no-lock, atomics, per-object locks, stop-the-world GC) that let CPython drop the GIL without slowing single-threaded code down.