Recent Posts

.apply() need not apply

4 minute read

Here’s an interesting puzzle I encountered. I’m working with a dataset with two features of interest: naive datetimes (naive meaning without any timezone in...

Implementing the Observer Pattern

8 minute read

I faced some challenges on a recent project, which I solved by implementing the Observer design pattern. Or a version of it, anyway. Here’s how I did it.


less than 1 minute read

Just finished a prototype of this friendly bit manipulator to help others develop better intuition for bits, bytes, and bitwise operations.

A Curious Variation of Binary Search

6 minute read

Binary search is a simple and efficient (and surprisingly intuitive!) way of searching a sorted array for a certain item that runs in O(log n) time.