Si Vanitas

A tale on the rewrite of a program in Go, and building my first vanity URL

  ·   2 min read

Vanity rules this world. There’s no reason for fancy cars, phones, and many others. Consider the case of NFTs, in which you basically you owned a UUID for some given image, most of the times.

For the uninitiated, a UUID is a Universally Unique IDentifier, which basically means a pseudorandom sequence of characters with a low probability of being repeated in a system. It’s useful for technical reasons, but “owning” something like that is just ridiculous. It’s just a name. It’s like a brand, but less useful.

This Saturday, amidst the chaos of my life I did some refactoring in snq, and built a clone of it in Go. Its name is nqg. It is and was pure vanity, it had no practical use, except rewriting it in a different technology. It was a pure excuse to implement something called vanity URL, which I’ve wanted to do for sometime with my domain.

So, vanity URLs are something that enables a custom “namespace” for my software. In this case, it is go.cpmachado.pt. So if you go to go.cpmachado.pt/nqg, it will redirect you to my GitHub repository with the code. This is because I’m not hosting it myself, which I could, but I don’t want to.

The expression of pure vanity is that I actually made a direct translation. Originally, I had considered to make a study of it, and build other solutions, and explore other algorithms, but I didn’t feel like it.

To summarize my state of mind, I don’t want or feel like doing much at all, in my free time. The semester is around the corner, and my study has stalled since I joined my latest endeavour. One wonders if there’s any life left in this empty and sore carcass, that I call my body.

Whisking away moments in the middle of the night, amidst the superfluous, drinking my anxieties away. Wasting what time I have for myself. Maybe I should go clean stuff at home, I don’t know. In the end, I don’t know much about anything.