Blog

Python's heapq and bisect Modules: Priority Queues and Sorted Lists
A lot of code needs data in order, but not always fully sorted all the time. A job scheduler only needs to know which task is most urgent right now
Continue Reading
Working with JSON in Python: Serialization, Custom Encoders, and Pitfalls
JSON is the format Python programs use to talk to almost everything else: web APIs, JavaScript frontends, config files, message queues, and databases
Continue Reading
Regular Expressions in Python with the re Module
Regular expressions are a small language for describing patterns in text: "four digits, a dash, two digits", "a word that starts with a capital lette
Continue Reading
MongoDB vs. Firebase Firestore: Which NoSQL Database Fits Your App?
Firestore and MongoDB both store JSON-like documents in collections, both are schemaless by default, and both have generous free tiers that make them
Continue Reading
CSS Accessibility Best Practices Every Developer Should Know
When developers talk about web accessibility, the conversation usually turns to semantic HTML, ARIA attributes, and screen readers. Those matter enor
Continue Reading
How to Write Mobile-First CSS with Media Queries
Most stylesheets I inherit on client projects were written desktop-first. The base styles describe a three-column layout, and then a pile of `max-wid
Continue Reading