Software Engineering
Posts on system design, debugging, and the craft of building software.
All Software Engineering posts

Rate Limiters: Five Algorithms in Python
··6 mins
I will explain five algorithms for rate limiters with example Python implementations: token bucket, leaky bucket, fixed window counter, sliding window log, and sliding window counter.

Why Every Software Engineer Should Use AI
··4 mins
This post shares my perspectives on why every software engineer should use AI: the productivity gains it enables and the shift it is driving across the industry.

Debugging Hidden GPU Processes in PyTorch
··7 mins
When nvidia-smi shows free GPUs but PyTorch throws OOM errors, here’s how to find and kill orphaned processes still holding the GPUs.