Python Context Managers: The Three Cases You Actually Need

Most tutorials show the trivial with open(...) example and stop. Here are the three patterns I actually reach for in real code, and the failure modes each one prevents.

May 3, 2026 · 4 min · Tech Notes

Reading EXPLAIN ANALYZE in Postgres Without Getting Lost

EXPLAIN ANALYZE output looks intimidating until you know which three numbers actually matter. Here’s the order I read them in, and the patterns that point to specific bugs.

May 2, 2026 · 5 min · Tech Notes