Posts

Showing posts from March, 2025

A neat approach for sortable versioned filenames

A neat approach for sortable versioned filenames tl;dr Add a letter to indicate number of digits: a0, a1 to a9, b10 to b99, c100 to c999, etc. Important disclaimer: I didn't come up with this scheme. I read it in a twitter X thread some time ago and have been using it ever since. I'm sure I bookmarked it, but I lost access to my account 1 So, basically, I know you hate when you're dealing with files and start with important_work.xlsx and then realize that you better version this thing, so you F12 it and add a suffix indicating the version: important_work.xlsx important_work_v2.xlsx That works, so back again to doing your job. Then, after a few back and forth with peers/boss/clients you find yourself with over 10 versions: important_work.xlsx ...

Computer Science Nominative Determinism - Edsger Dijkstra

Computer Science Nominative Determinism - Edsger Dijkstra \(\text{Edsger } D^*_{ijk} \) Ok, that was awful, I know, I know. P.S.:If you're not getting this joke, maybe you have a terrible sense of humor your browser doesn't play nice with MathJax

Semantic Similarity in Pompeii

 Reposting an anecdote I originally posted on Hacker News  regarding my trip to Pompeii:     We were walking around the city (the archeological park, that is) and I wanted to see one of those roman public bathrooms. So I googled "pompeii latrine" and got search results links for how to find the bathrooms (as in, the guest facilities). I was initially confused as to why such a clear query got me the completely wrong answer, until it hit me that bathroom and latrine are semantically similar, but not in my context.     At least that's my headcanon, who knows. And it seems like the cool preserved latrinae were in herculanum anyway. Still, fun to think about  Again, I have no way of knowing if this is why it happened, but I like to believe it is.