Cleaning Up

Date: Sat 2023-11-11

Permalink: https://www.dominic-ricottone.com/posts/2023/11/cleaning-up/


I’ve restructured the way permalinks are generated. While I do prefer underscores for file names, URLS are decidedly cleaner when using dashes. Luckily Hugo already has a concept for this (:slug) so it’s as simple as setting the permalink template with that ‘variable’.

To prevent breakage of existing links, I’ve set up aliases. That’s another very convenient feature of Hugo. I’ve also seems some recipes online for creating aliases automatically. I’m not currently sold on the idea of setting up named aliases for all posts going forward, but I’ll revisit that in the new year.

And since I’m doing all of that, I decided it’s also time to organize permalinks based on publication date.


I’ve significantly reworked my development workflow in the last couple months. It’s become a headache to try and keep all of my internal toolchains, script interpreters, and document processors up-to-date across all of the hosts I use. For a long time, I liked to think that I sidestepped this issue by using POSIX scripts. But apparently several distros feel otherwise.

It’s not even Red Hat that I’m specifically frustrated at right now. It’s come to my attention that ed isn’t installed by default on Ubuntu. Now I know, few people care about ed, I’m in an extreme minority. It’s still POSIX.

So I’ve centralized all of those installations to a single host (on public internet, but without any compromisable servers running, and requiring an SSH key for login), and it rsyncs built files to a separate web server only accessible on my VLAN.

Anyway, that’s prompted a gradual revisiting of all of my Makefiles. It’s sometimes interesting to see how my approach to those has changed over time. Clearly 4 years ago I was obsessed with parameterizing them. I think my current attitude is to keep them file-oriented, and anything more complicated is pulled out into a separate script. Many of my projects now feature a top-level scripts folder. (This is also why keeping my script interpreters up-to-date was such a hastle.)


Previous article: Logging and Rate Limiting, Take 2

Next article: RIP Email Server


Articles from the internet that I've been reading

  • Does A Software Engineer Have Scorpion Nature?

    I. A scorpion wants to sell some software but cannot code, so it asks a frog to write the application. The frog hesitates, afraid that the scorpion might start running Scrum, but the scorpion promises not to, pointing out that they would both be out of wor…

    via Ludicity

    April 8, 2024

  • My Maintenance Policy

    A short document describing how I maintain open source projects. It talks about how I prefer issues to PRs, how I work in batches, and how I'm trigger-happy with bans. It's all about setting expectations.

    via Filippo Valsorda

    April 6, 2024

  • I created a monster

    I guess it’s not a surprise, but I just don’t enjoy writing very much. I do, however, recognize its importance, so I always want to try. And sometimes, there is just this weird set of circumstances that kicks everything back into motion. _Djot One feeling that…

    via blogfehler!

    April 5, 2024

Generated by openring