technonaturalist

image link to hive image link to ko-fi

hugo

small quality of life hugo scripts

Wednesday, 25 February 2026 @ 7:54pm
Finally got around to writing a couple of bash scripts to chain the image modifying and deployment stuff together so I can do all of that with one command instead of 2-3. Named without extensions to make my life easier and located in /.local/bin/ because it was already on the path and seemed like a good idea at the time. blogify (usage: blogify image01 image02 etc or blogify *.ext) #!/bin/bash # "apply" orientation flags by actually rotating the image, resize to 1000px on the longest side with a quality of 90 to everything matching whatever was entered mogrify -auto-orient -resize 1000x1000 -quality 90 $@ # remove all exif data and don't make a backup (if you want backups remove -overwrite_original, alternately make sure you're working on a copy) exiftool -all= -overwrite_original $@ I’m pretty sure I tested it with the wildcard but am currently second-guessing myself and will find out the hard way when I next need to do it

hugo notes: selective lazy loading

Wednesday, 22 January 2025 @ 10:32am
In which I flip normal behaviour and make lazy loading images the default and eager loading the thing you have to do unless it’s the first item in a list. The nonsense I get up to when deciding to try to make everything green on Pagespeed. I should also point out I have no idea if I’m doing things correctly or not, this is very much a hackjob. Here I check to see if I wrote loading= when calling the figure shortcode from index.md like so:

June ProgBlog #2: The Great Blogsite Migration Part 2

Sunday, 9 June 2024 @ 10:40pm
Part 1 happened over the course of weeks or months a couple of decades ago when I migrated to Drupal from livejournal (I didn’t really note how long it took partly because I wasn’t interested at the time and mostly because I was trying to get through that cringey era as quickly as possible). though it has been interesting watching my tone change from when I was blogging every little thing and basically talking to my friends on livejournal, to still kind of doing that but realising that people I didn’t know were also reading my blog at some point shortly after migrating to Drupal, to kind of just talking to a void/audience that may or may not be there, to mostly talking to myself and occasionally addressing the potential audience or specific people Part 2 started a few months ago after I finally (after way too long because I am nothing if not unreasonably stubborn) accepted the fact that I’ve been really, really struggling to keep on top of Drupal updates alongside everything else. By stupid dumb luck I saw hugo mentioned in an article on one of my feeds (the author was migrating their site from Drupal 6 to hugo from memory) and went and had a look.

March ProgBlog #1: floundering

Wednesday, 13 March 2024 @ 12:47pm
I deliberately didn’t post a progblog last week as I was having a minor tanty about how nothing had changed. Nothing much has changed still, I continue fighting to square up the mesh but it’s working out better with more mesh for more context. To some value of better. My DE of choice got upgraded to KDE6 which is mostly great for the most part. I had to swap out my theme switcher (Yin Yang) because it didn’t want to work under Wayland. Minor issue I’m having is that its replacement (Koi) doesn’t always automatically switch (it mostly does but not always and I don’t know why) and doesn’t switch the Konsole colours.