Posts

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.

I love Flix's FAQ

I was disappointed to learn that Flix has feature X instead of my favorite feature Y. We are deeply sorry to have let you down. This page alone made me want to try it. For a less passive-aggressive introduction to the language, their homepage is pretty good at giving an overall feel of the language.

Brazilian Lox

Pão Francês Smoked salmon Mayonnaise Sliced green olives Yellow mustard Open the bread roll, add mayo to both insides, then salmon, sliced olives on top and a generous topping of mustard.

Can Rust teach me computers?

     One of the books on my reading list is Bryant and O'Hallaron's Computer Systems: A Programmer's Perspective . As the name implies, it teaches you how computers work. The book uses C since it's a low-level language that "exposes" the machine and it appeals to me because I've been eager to learn both systems-level programming and computer hardware, and this book addresses both areas using C.     Now, the reader might not be aware, but there's currently a low-level language holy war between Rust and C going on (well, more like a two-front war with Rust tackling C and C++ at the same time). Which is fine and all - I've got no dog in this fight - but it got me thinking: Is there some book or piece of content that can teach me the same breadth of hardware knowledge based on Rust? Even though learning is fun, I'd rather learn a language at the same time I learn about hardware.      I don't expect to become a systems programmer any time soon, ...

Domain transfer code email may take up to 24h to arrive

Generating this code sounds like it should be quicker. Actually I expected it to be instantaneous, since I had both Porkbun's and Squarespace's tabs open, ready to set both my domains on the former. But it seems like Squarespace will take its sweet time before allowing me not to pay 3x the reasonable rate for a domain maintenance fee. I wonder if Domains was that unprofitable for Google to sell it. I hope Blogger is not on the chopping block, but I might migrate just in case.