Adding an ID property to Org-mode files in directory
I wanted to add an :ID: property to several hundred files, but only if one didn’t already exist. I cheated and asked ChatGPT for help. It helped.
I wanted to add an :ID: property to several hundred files, but only if one didn’t already exist. I cheated and asked ChatGPT for help. It helped.

How I added a subtle link to edit the current page or post in Ghost.
There is no built-in method in Ghost for floating an image and having text flow around it. It’s a significant omission, and one which they say is “too hard” and have no plans to change. OK fine, I’ll do it myself. I found a reasonable solution in this post on the forums. Here’s how I’m using it. Add the following to the header in the code injection area: /* small images to float but not look stupid on mobile */ @media (min-width: 40rem) { .float-left-half figure, .float-left-two-thirds figure { float: left; margin: 8px 20px 6px 0; } .float-right-half figure, .float-right-two-thirds figure { float: right; margin: 8px 0 6px 20px; } .float-left-half figure, .float-right-half figure { max-width: 50%; } @media (min-width: 64em) { .float-left-two-thirds figure, .float-right-two-thirds figure { max-width: 67%; } } } Then, in a post or page, I add an HTML block before the image card I want to float (e.g to the right). ...

The Canon AE-1 Program was my first real camera. Unfortunately, I no longer own that original from 1982, so I bought another one in 2013. It’s not a great camera, but it works. I like to put a roll through it now and then.

I spent the morning of the election with my daughter and grandson. It was a nice way to spend part of an otherwise anxiety-filled day.
OK, it’s happening again. Hugo broke my site for the second time in two updates. I got mad (again) and decided it was time for us to break up. I dusted off the version of the blog that I’d built using Eleventy and started working on getting everything updated. Except it didn’t work. I don’t know what I was missing or what had changed since I stopped using it, but things were broken. I then decided that I would start fresh with Eleventy’s base blog repo. That was also a mistake. After several hours, I had built an ugly blog, without some of the features I’d wanted. I gave up. ...
What have we done?

I’ve been back in Doom Emacs for a few days. This is how it’s going.
I hope you’re voting for Harris today. Other than that, I’m shutting my political brain down for the rest of the day. My heart can’t withstand this level of sustained anxiety. I have a lot of anxiety around flying, so before and during a flight, my brain and body sort of shut down and go into internal, primary-systems-only mode. That’s how I’m reacting to the election. This is mostly because of two things: ...
Do you ever feel like your life’s wake is littered with missed opportunities? I spend so much time looking backwards that I don’t pay attention to what’s ahead. I don’t understand people who post overconfident, often controversial posts on social media, and then say things like “This is NOT an invitation to debate!…”. I mean, where do you think you are? I’ll tell you where, you’re in a place where everything is an invitation to debate, whether you like it or not. ...

You should vote vote for Harris. I did.
I have a routine that I go through on the 1st of every month, during which I always tell myself that, “This one will be different.”, but in the end they’re all the same.

I’m so mad at Emacs right now. It’s so frustrating when something stops working for no reason I can fathom. I sync everything related to my Emacs config via Syncthing, and the Emacs version is identical, and yet doom-modeline fails to load on the MBP but works fine on the Mini. It’s crazy-making and I can’t figure it out. UPDATE: I had to re-install the “f” and “shrink-path” packages for no apparent reason. I still hate not knowing why things broke in the first place. Makes me want to throw in the entire Emacs towel. ...

I am experimenting with using Org-roam again for my notes.
Roam > Obsidian and Org-roam > Roam. So guess what I’m using today :).
LinkedIn, The New Internet, Worrying about a “lack of updates”
I sure wish Hugo would stop deprecating things. This time it’s site.Social. My theme uses that in a couple of files, and the theme’s author is busy and doesn’t always have time to fix things right away. They now want site.Params.Social so I’ve temporarily fixed the problem myself by editing two files. In twitter_cards.html: {{ with site.Social.twitter -}} # becomes {{ with .Site.Params.Social.twitter -}} And in opengraph.html: {{- with site.Social.facebook_admin }} # becomes {{- with .Site.Params.Social.facebook_admin }} At least now the error is gone and the site builds. I’ll need to keep an eye on the PaperMod repo for a real fix. ...

We’re back on Hugo

I’m not saying anything new, but I feel like we’ve lost the battle for having good and useful products and services. Is it just me, or does every product seem to only grudgingly accept the actual user as a necessary evil? We’re secondary to whatever is actually making the money. Call me a grumpy old man, but I hate this trend. “Enshittification” is an over-used meme word by now, but I can’t think of a better one. ...

The thing about BOGO (Buy One, Get One free) is that I end up buying something I don’t need, just so I can get a second thing I don’t need. I’m (half-heartedly) considering canceling every streaming option I have. Maybe then I’ll stop endlessly scrolling through trailers while never actually watching any movies. Haven’t felt like blogging much. Every time I think of something to “say”, I shrug and think, “Not worth it.” I hope this doesn’t trigger a platform change or anything. I was just getting comfy here :) ...