To make your data faster to lookup, you can either store it in an order that makes it easier to search, or add one or more indexes. For practical work, you can let your file system do this for you, or use a pre-built database (either relational or not). I’ll describe from the lowest-level to highest level so you can understand what I’m suggesting, but my real-world answer is that I would store most kinds of data in a relational database like PostgreSQL and put indexes on any column that I want to do lookups by.

Read more

I’ve always found it annoying to have a bunch of keys in my pocket (they’re heavy, sometimes poke into you, and create weird bulges), so I try to carry as few as possible. Unfortunately, I’ve reached a point where I have a fairly large number of keys that I need …

Keys on carabiners lined up next to a smaller key ring

Read more

I used to get carpel tunnel symptoms while working on a computer all day, and the thing that finally solved it was a vertical mouse. Unfortunately, there’s only a couple options, and the one I like best has an annoying issue where the wheel wears out after a year or so. It’s cheap enough that this wasn’t a huge deal, but I finally got around to trying to fix it and realized it’s stupidly easy.

Close-up of a black Anker vertical mouse on a desk with blue annotation arrows and white text labels. The top arrow points to the black textured rubber ring around the scroll wheel labeled "Rubber part". The bottom arrow points to the silver ridged metal wheel visible beneath, labeled "Metal wheel".

Read more