homeabout

hello, I'm Ranga

i make things. sometimes they work!

Writing

Sep 15, 2026

Hunting Down a Race Condition in Homebrew's TTY Size Caching

How a premature variable assignment caused Homebrew to miscalculate terminal widths under concurrent calls.

Sep 09, 2026

Fixing a File Descriptor Leak in Homebrew's Cleanup Logic

How a missing block argument in File.open caused file descriptors to leak during brew cleanup.

Sep 06, 2026

Graceful Download Cancellation in Homebrew: From Thread Pools to curl Subprocesses

How I implemented cooperative cancellation and eliminated orphaned curl processes across two pull requests to Homebrew.

Sep 03, 2026

Hello, world

A small beginning for a small corner of the internet.

© 2026 r.blog