In kind-of local news, I see that the folks at Diamond Light Source (which I got to visit last year) have been helping the Bodleian (who I used to work for) to X-ray one of their Herculaneum scrolls (which I’ve written about before). That’s really cool.
Category: Personal
Sabbatical Lesson #2: Burnout
If the most-important lesson I learned from my sabbatical was about boundaries and my work/life balance, then the second most-important was about burnout.
![A matchstick, burned almost to the end.](/_q23u/2024/12/burnout-match-640x175.jpg)
If I were anybody else, you might reasonably expect me to talk about work-related burnout and how a sabbatical helped me to recover from it. But in a surprise twist1, my recent brush with burnout came during my sabbatical.
Somehow, I stopped working at my day job… and instead decided to do so much more voluntary work during my newly-empty daytimes – on top of the evening and weekend volunteering I was already doing – that just turned out to be… too much. I wrote a little about it at the time in a post for RSS subscribers only, mostly as a form of self-recognition: patting myself on the back for spotting the problem and course-correcting before it got worse!
When I got back to work2, I collared my coach to talk about this experience. It was one of those broadening “oh, so that’s why I’m like this” experiences:
The why of how I, y’know, got off course at the end of last year and drove myself towards an unhealthy work attitude… is irrelevant, really. But the actual lesson here that I took from my sabbatical is: just because you’re not working in a conventional sense doesn’t make you immune from burnout. Burnout happens when you do too much, for too long, without compassion for yourself and your needs
I dodged it at the end of November, but that doesn’t mean I’ll always be able to, so this is exactly the kind of thing a coach is there to help with!
Footnotes
1 Except to people who know me well at all, to whom this post might not be even remotely surprising.
2 Among the many delightful benefits to my job is a monthly session with my choice of coach. I’ve written a little about it before, but the short of it is that it’s an excellent perk.
BBC News RSS… with the sport?
Earlier today, somebody called Allan commented on the latest in my series of several blog posts about how I
mutilate manipulate the RSS feeds of BBC News to work around their (many, and increasingly so) various shortcomings, specifically:
- Their inclusion of non-news content such as plugs for iPlayer and their apps,
- Their repeating of identical news stories with marginally-different GUIDs, and
- All of the sports news, which I don’t care about one jot.
Well, it turns out that some people want #3: the sport. But still don’t want the other two.
![FreshRSS screenshot with many unread items, but focussing on a feed called "BBC News (with sport)" and showing a story titled: 'How England Golf's yellow cards are tackling blight of slow play'](/_q23u/2025/02/bbc-news-with-sport-in-freshrss-640x327.png)
I shan’t be subscribing to this RSS feed, and I can’t promise I’ll fix it if it gets broken. But if “without the crap, but with the sports” is the way you like your BBC News RSS feed, I’ve got you covered:
- [RSS] BBC News… without the crap… and without the sports (the one I use) | source code to generate this feed
- [RSS] BBC News… without the crap… but with the sports (the new feed) | source code to generate this feed
So there you go, Allan, and anybody in a similar position. I hope that fulfils your need for sports news… without the crap.
Cafe Proximity Principles
Yr Wyddfa’s First Email
On Wednesday, Vodafone announced that they’d made the first ever satellite video call from a stock mobile phone in an area with no terrestrial signal. They used a mountain in Wales for their experiment.
It reminded me of an experiment of my own, way back in around 1999, which I probably should have made a bigger deal of. I believe that I was the first person to ever send an email from the top of Yr Wyddfa/Snowdon.
Nowadays, that’s an easy thing to do. You pull your phone out and send it. But back then, I needed to use a Psion 5mx palmtop, communicating over an infared link using a custom driver (if you ever wondered why I know my AT-commands by heart… well, this isn’t exactly why, but it’s a better story than the truth) to a Nokia 7110 (fortunately it was cloudy enough to not interfere with the 9,600 baud IrDA connection while I positioned the devices atop the trig point), which engaged a GSM 2G connection, over which I was able to send an email to myself, cc:’d to a few friends.
It’s not an exciting story. It’s not even much of a claim to fame. But there you have it: I was (probably) the first person to send an email from the summit of Yr Wyddfa. (If you beat me to it, let me know!)
Trump’s Strategy
What do you reckon? Is he trying to go for a domination victory without ever saying “MY THREATS ARE BACKED BY NUCLEAR WEAPONS!”? His track record shows that he’s arrogant enough to think that the strategy of simply renaming things until they’re yours is actually viable!
After I saw Mexico’s response to Google following Trump’s lead in renaming the Gulf of Mexico, this stupid comic literally came to me in a dream.
Adapts screenshots from Sid Meier’s Civilization (1991 DOS version), public domain assets from
OpenGameArt.org, and AI-assisted images of world leaders on account of the fact that if I drew pixel-art world leaders without assistance then
you’d be even less-likely to be able to recognise them.
Can AI retroactively fix WordPress tags?
I’ve a notion that during 2025 I might put some effort into tidying up the tagging taxonomy on my blog. There’s a few tags that are duplicates (e.g.
ai
and artificial intelligence
) or that exhibit significant overlap (e.g. dog
and dogs
), or that were clearly created when I
speculated I’d write more on the topic than I eventually did (e.g. homa night
, escalators
1,
or nintendo
) or that are just confusing and weird (e.g. not that bacon sandwich picture
).
![Cloud-shaped wordcloud of tags used on DanQ.me, sized by frequency. The words "geocaching" and "cache log" dominate the centre of the picture, with terms like "fun", "funny", "geeky", "news", "video games", "technology", "video", and "review" a close second.](/_q23u/2025/01/danq-wordcloud-20250130-e1738242507926-640x473.png)
Retro-tagging with AI
One part of such an effort might be to go back and retroactively add tags where they ought to be. For about the first decade of my blog, i.e. prior to around 2008, I rarely used tags to categorise posts. And as more tags have been added it’s apparent that many old posts even after that point might be lacking tags that perhaps they ought to have2.
I remain sceptical about many uses of (what we’re today calling) “AI”, but one thing at which LLMs seem to do moderately well is summarisation3. And isn’t tagging and categorisation only a stone’s throw away from summarisation? So maybe, I figured, AI could help me to tidy up my tagging. Here’s what I was thinking:
- Tell an LLM what tags I use, along with an explanation of some of the quirkier ones.
- Train the LLM with examples of recent posts and lists of the tags that were (correctly, one assumes) applied.
- Give it the content of blog posts and ask what tags should be applied to it from that list.
- Script the extraction of the content from old posts with few tags and run it through the above, presenting to me a report of what tags are recommended (which could then be coupled with a basic UI that showed me the post and suggested tags, and “approve”/”reject” buttons or similar.
Extracting training data
First, I needed to extract and curate my tag list, for which I used the following SQL4:
SELECT COUNT(wp_term_relationships.object_id) num, wp_terms.slug FROM wp_term_taxonomy LEFT JOIN wp_terms ON wp_term_taxonomy.term_id = wp_terms.term_id LEFT JOIN wp_term_relationships ON wp_term_taxonomy.term_taxonomy_id = wp_term_relationships.term_taxonomy_id WHERE wp_term_taxonomy.taxonomy = 'post_tag' AND wp_terms.slug NOT IN ( -- filter out e.g. 'rss-club', 'published-on-gemini', 'dancast' etc. -- these are tags that have internal meaning only or are already accurately applied 'long', 'list', 'of', 'tags', 'the', 'ai', 'should', 'never', 'apply' ) GROUP BY wp_terms.slug HAVING num > 2 -- filter down to tags I actually routinely use ORDER BY wp_terms.slug
published on gemini
if they’re to appear on gemini://danq.me/ and
dancast
if they embed an episode of my podcast. I filtered these out because I never want the AI to suggest applying them.
I took my output and dumped it into a list, and skimmed through to add some clarity to some tags whose purpose might be considered ambiguous, writing my explanation of each in parentheses afterwards. Here’s a part of the list, for example:
- …
- puzzles
- python
- q (explicitly about my unusual surname, which is just the letter Q)
- qparty
- quake
- quakers
- quantum-physics
- quotes
- racing
- racism
- radio
- raid (about RAID storage devices, as might be used in a NAS computer)
- rails (Ruby on Rails)
- rain
- rambling
- …
Prompt derivation
I used that list as the basis for the system message of my initial prompt:
Suggest topical tags from a predefined list that appropriately apply to the content of a given blog post. # Steps 1. **Read the Blog Post**: Carefully read through the provided content of the blog post to identify its main themes and topics. 2. **Analyse Key Aspects**: Identify key topics, themes, or subjects discussed in the blog post. 3. **Match with Tags**: Compare these identified topics against the list of available tags. 4. **Select Appropriate Tags**: Choose tags that best represent the main topics and themes of the blog post. # Output Format Provide a list of suggested tags. Each tag should be presented as a single string. Multiple tags should be separated by commas. # Allowed Tags Tags that can be suggested are as follows. Text in parentheses are not part of the tag but are a description of the kinds of content to which the tag ought to be applied: - aberdyfi - aberystwyth - ... - youtube - zoos # Examples **Input:** The rapid advancement of AI technology has had a significant impact on my industry, even on the ways in which I write my blog posts. This post, for example, used AI to help with tagging. **Output:** ai, technology, blogging, meta, work ...(other examples)... # Notes - Ensure that all suggested tags are relevant to the key themes of the blog post. - Tags should be selected based on their contextual relevance and not just keyword matching.
This system prompt is somewhat truncated, but you get the idea.
Now I was ready to give it a go with some real data. As an initial simple and short (and therefore also computationally cheap) experiment, I tried feeding it a note I wrote last week about the interrobang’s place in the Spanish language, and in Unicode.
That post already has the following tags (but this wasn’t disclosed to the AI in its training set; it had to work from scratch): children, language, languages (a bit of a redundancy there!), spain, and unicode.
Testing it out
Let’s see what the AI suggests:
curl https://api.openai.com/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $OPENAI_TOKEN" \ -d '{ "model": "gpt-4o-mini", "messages": [ { "role": "system", "content": [ { "type": "text", "text": "[PROMPT AS DESCRIBED ABOVE]" } ] }, { "role": "user", "content": [ { "type": "text", "text": "My 8-year-old asked me \"In Spanish, I need to use an upside-down interrobang at the start of the sentence‽\" I assume the answer is yes A little while later, I thought to check whether Unicode defines a codepoint for an inverted interrobang. Yup: ‽ = U+203D, ⸘ = U+2E18. Nice. And yet we dont have codepoints to differentiate between single-bar and double-bar \"cifrão\" dollar signs..." } ] } ], "response_format": { "type": "text" }, "temperature": 1, "max_completion_tokens": 2048, "top_p": 1, "frequency_penalty": 0, "presence_penalty": 0 }'
curl
meant I quickly ran up against some Bash escaping issues, but set +H
and a little massaging of the blog post content
seemed to fix it.
GPT-4o-mini
When I ran this query against the gpt-4o-mini
model, I got back: unicode, language, education, children, symbols
.
That’s… not ideal. I agree with the tags unicode
, language
, and children
, but this isn’t really about education
. If I tagged
everything vaguely educational on my blog with education
, it’d be an even-more-predominant tag than geocaching
is! I reserve that tag for things that relate
specifically to formal education: but that’s possibly something I could correct for with a parenthetical in my approved tags list.
symbols
, though, is way out. Sure, the post could be argued to be something to do with symbols… but symbols
isn’t on the approved tag list in
the first place! This is a clear hallucination, and that’s pretty suboptimal!
Maybe a beefier model will fare better…
GPT-4o
I switched gpt-4o-mini
for gpt-4o
in the command above and ran it again. It didn’t take noticeably longer to run, which was pleasing.
The model returned: children
, language
, unicode
, typography
. That’s a big improvement. It no longer suggests education
,
which was off-base, nor symbols
, which was a hallucination. But it did suggest typography
, which is a… not-unreasonable suggestion.
Neither model suggested spain
, and strictly-speaking they were probably right not to. My post isn’t about Spain so much as it’s about Spanish. I don’t
have a specific tag for the latter, but I’ve subbed in the former to “connect” the post to ones which are about Spain, but that might not be ideal. Either way: if this is how
I’m using the tag then I probably ought to clarify as such in my tag list, or else add a note to the system prompt to explain that I use place names as the tags for posts about
the language of those places. (Or else maybe I need to be more-consistent in my tagging).
I experimented with a handful of other well-tagged posts and was moderately-satisfied with the results. Time for a more-challenging trial.
This time, with feeling…
Next, I decided to run the code against a few blog posts that are in need of tags. At this point, I wasn’t quite ready to implement a UI, so I just adapted my little hacky Bash script and copy-pasted HTML-stripped post contents directly into it.
![Hand-drawn wireframe application with a blog post shown on the left (with 'previous' and 'next' buttons) and proposed tags on the right (with 'accept' and 'reject' buttons), alongside conventional tag management tools.](/_q23u/2025/01/20250130_145307_Brother-Printer-1-640x534.jpg)
I ran against three old posts:
Hospitals (June 2006)
In this post, I shared that my grandmother and my coworker had (independently) been taken into hospital. It had no tags whatsoever.
The AI suggested the tags hospital
, family
, injury
, work
, weddings
, pub
, humour
. Which at
a glance, is probably a superset of the tags that I’d have considered, but there’s a clear logic to them all.
It clearly picked out weddings
based on a throwaway comment I made about a cousin’s wedding, so I disagree with that one: the post isn’t strictly about weddings
just because it mentions one.
pub
could go either way. It turns out my coworker’s injury occurred at or after a trip to the pub the previous night, and so its relevance is somewhat unknowable from this
post in isolation. I think that’s a reasonable suggestion, and a great example of why I’d want any such auto-tagging system to be a human assistant (suggesting
candidate tags) and not a fully-automated system. Interesting!
Finally, you might think of humour
as being a little bit sarcastic, or maybe overly-laden with schadenfreude. But the blog post explicitly states that my coworker
“carefully avoided saying how he’d managed to hurt himself, which implies that it’s something particularly stupid or embarrassing”, before encouraging my friends to speculate on it.
However, it turns out that humour isn’t one of my existing tags at all! Boo, hallucinating AI!
I ended up applying all of the AI’s suggestions except weddings
and humour
. I also applied smartdata
, because that’s where I worked (the AI couldn’t have been expected to guess that without context, though!).
Catch-Up: Concerts (June 2005)
This post talked about Ash and I’s travels around the UK to see REM and Green Day in concert5 and to the National Science Museum in London where I discovered that Ash was prejudiced towards… carrot cake.
The AI suggested: concerts
, travel
, music
, preston
, london
, science museum
, blogging
.
Those all seemed pretty good at a first glance. Personally, I’d forgotten that we swung by Preston during that particular grand tour until the AI suggested the tag, and then I had to
look back at the post more-carefully to double-check! blogging
initially seemed like a stretch given that I was only blogging about not having blogged much, but on
reflection I think I agree with the robot on this one, because I did explicitly link to a 2002 page that fell off the Internet only a few years ago about
the pointlessness of blogging. So I think it counts.
![Dan, in his 20s, crouches awkwardly in front of a TV and a Nintendo Wii in a wood-panelled room as he attempts to headbutt a falling blue balloon.](/_q23u/2025/01/IMG_2413-cropped-de-redeyed-640x542.jpg)
science museum
is a big fail though. I don’t use that tag, but I do use the tag museum
. So close, but not quite there, AI!
I applied all of its suggestions, after switching museum
in place of science museum
.
Geeky Winnage With Bluetooth (September 2004)
I wrote this blog post in celebration of having managed to hack together some stuff to help me remote-control my PC from my phone via Bluetooth, which back then used to be a challenge, in the hope that this would streamline pausing, playing, etc. at pizza-distribution-time at Troma Night, a weekly film night I hosted back then.
![Four young people, smiling in laughing, sit in a cluttered and messy flat.](/_q23u/2025/01/100_0179-640x480.jpg)
It already had the tag technology
, which it inherited from a pre-tagging evolution of my blog which used something akin to categories (of which only one
could be assigned to a post). In addition to suggesting this, the AI also picked out the following options: bluetooth
, geeky
, mobile
, troma
night
, dvd
, technology
, and software
.
The big failure here was dvd
, which isn’t remotely one of my tags (and probably wouldn’t apply here if it were: this post isn’t about DVDs; it barely even mentions
them). Possibly some prompt engineering is required to help ensure that the AI doesn’t make a habit of this “include one tag not from the approved list, every time” trend.
Apart from that it’s a pretty solid list. Annoyingly the AI suggested mobile
, which isn’t an approved tag, instead of mobiles
, which is. That’s probably a
tokenisation fault, but it’s still annoying and a reminder of why even a semi-automated “human-checked” system would need a safety-check to ensure that no absent tags are
allowed through to the final stage of approval.
This post!
As a bonus experiment, I tried running my code against a version of this post, but with the information about the AI’s own prompt and the examples removed (to reduce the risk
of confusion). It came up with: ai
, wordpress
, blogging
, tags
, technology
, automation
.
All reasonable-sounding choices, and among those I’d made myself… except for tags
and automation
which, yet again, aren’t among tags that I use. Unless this
tendency to hallucinate can be reined-in, I’m guessing that this tool’s going to continue to have some challenges when used on longer posts like this one.
Conclusion and next steps
The bottom line is: yes, this is a job that an AI can assist with, but no, it’s not one that it can do without supervision. The laser-focus with which gpt-4o
was able to
pick out taggable concepts, faster than I’d have been able to do for the same quantity of text, shows that there’s potential here, but it’s not yet proven itself enough of a time-saver
to justify me writing a fluffy UI for it.
However, I might expand on the command-line tools I’ve been using in order to produce a non-interactive list of tagging suggestions, and use that to help inform my work as I tidy up the tags throughout my blog.
You still won’t see any “AI-authored” content on this site (except where it’s for the purpose of talking about AI-generated content, and it’ll always be clearly labelled), and I can’t see that changing any time soon. But I’ll admit that there might be some value in AI-assisted curation and administration, so long as there’s an informed human in the loop at all times.
Footnotes
1 Based on my tagging, I’ve apparently only written about escalators once, while playing Pub Jenga at Robin‘s 21st birthday party. I can’t imagine why I thought it deserved a tag.
2 There are, of course, various other people trying similar approaches to this and similar problems. I might have tried one of them, were it not for the fact that I’m not quite as interested in solving the problem as I am in understanding how one might use an AI to solve the problem. It’s similar to how I don’t enjoy doing puzzles like e.g. sudoku as much as I enjoy writing software that optimises for solving such puzzles. See also, for example, how I beat my children at Mastermind or what the hardest word in Hangman is or my various attempts to avoid doing online jigsaws.
3 Let’s ignore for a moment the farce that was Apple’s attempt to summarise news headlines, shall we?
4 Essentially the same SQL, plus WordClouds.com, was used to produce the word cloud grapic!
5 Two separate concerts, but can you imagine‽ 🤣
Note #25595
Dan Q found GCA1K70 Oak Protection
This checkin to GCA1K70 Oak Protection reflects a geocaching.com log entry. See more of Dan's cache logs.
After claiming the FTF on the new cache to the North East, the geohound and I continued our walk with a wander through thy woods, eventually finding ourselves near this gate. I’d nearly attempted this cache during a previous visit to these woods but IIRC was dragged right past it by impatient dogs, children, or both. 😂
Today, though, it was a QEF for the doggo and I. Fun container and a good size too, FP awarded. TFTC!
Dan Q found GCB2FZ4 Family Fun #2
This checkin to GCB2FZ4 Family Fun #2 reflects a geocaching.com log entry. See more of Dan's cache logs.
FTF! It’s been a while since I’ve typed that!
Woke this morning slightly hungover and figured a nice walk with the geopup might help me feel better. And what an opportunity: a brand new cache only a short way from home!
Jumped in the car and zipped up to Church Hanborough, parking near the cemetery/allotments because the church bells were ringing and all the parking spots nearer to the centre of thy village were occupied by churchgoers. Walked up the paths to the GZ and had sight of the cache’s shiny container before we were even there. Retrieval was quick and easy, but we had to wait a while before we could return it to it’s hiding place because a large group of dog walkers (one of whom was holding court on how he was confident that Donald Trump would soon “dismantle the Deep State” 🙄) were passing.
Soon signed vs returned and on our way. TFTC!
Note #25585
‘All Americans legally female’: Trump invites mockery with sloppy executive order
This is a repost promoting content originally published elsewhere. See more things Dan's reposted.
Obviously all of the 118 executive orders President Trump signed into effect on 20 January fall somewhere on the spectrum between fucking ridiculous and tragically fascist. But there’s a moment of joy to be taken in the fact that now, by Presidential executive order, one could argue that all Americans are legally female:
…
One of Trump’s order is titled “Defending Women from Gender Ideology Extremism and Restoring Biological Truth to the Federal Government.” In the definition, the order claims, “‘Female’ means a person belonging, at conception, to the sex that produces the large reproductive cell.” It then says, “’Male’ means a person belonging, at conception, to the sex that produces the small reproductive cell.”
What critics point out is the crucial phrase “at conception.” According to the Associated Press, the second “order declares that the federal government would recognize only two immutable sexes: male and female. And they’re to be defined based on whether people are born with eggs or sperm, rather than on their chromosomes, according to details of the upcoming order.”
…
So yeah, here’s the skinny: Trump and team wanted to pass an executive order that declared that (a) there are only two genders, and (b) it’s determined biologically and can be ascertained at birth. Obviously both of those things are categorically false, but that’s not something that’s always stopped lawmakers in the past (I’m looking at you, Indiana’s 1897 bill to declare Pi to be 3.2 exactly…).
But the executive order is not well thought-out (well duh). Firstly, it makes the unusual and somewhat-complicated choice of declaring that a person’s gender is determined by whether or not it carries sperm or egg cells. And secondly – and this is the kicker – it insists that the point at which the final and absolute point at which gender becomes fixed is… conception (which again, isn’t quite true, but in this particular legal definition it’s especially problematic…).
At conception, you consisted of exactly one cell. An egg cell. Therefore, under US law, all Americans ever conceived were – at the point at which their gender became concrete – comprised only of egg cells, and thus are legally female. Every American is female. Well done, Trump.
Obviously I’m aware that this is not what Mrs. Trump intended when she signed this new law into effect. But as much as I hate her policies I’d be a hypocrite if I didn’t respect her expressed gender identity, which is both legally-enforceable and, more-importantly, self-declared. As a result, you’ll note that I’ve been using appropriate feminine pronouns for her in this post. She’s welcome to get in touch with me if she uses different pronouns and I’ll respect those, too.
(I’m laughing on the outside, but of course I’m crying on the inside. I’m sorry for what your President is doing to you, America. It really sucks.)
Dan Q wrote note for GC9GTV3 Drive Slowly; Fox Crossing
This checkin to GC9GTV3 Drive Slowly; Fox Crossing reflects a geocaching.com log entry. See more of Dan's cache logs.
Checked in on this cache while on a dog walk to ensure the Storm Éowyn hadn’t trashed it. Good news: it’s fine! I need to update the cache description to reflect that the speed limit here is now 20mph, though!
Invertobang
My 8-year-old asked me “In Spanish, I need to use an upside-down interrobang at the start of the sentence‽” (I assume the answer is yes!)
A little while later, I thought to check whether Unicode defines a codepoint for an inverted interrobang. Yup: ‽ = U+203D
, ⸘ = U+2E18
. Nice.
(And yet we don’t have codepoints to differentiate between single-bar and double-bar “cifrão” dollar signs…)
Note #25565
Last year, a colleague introduced me to lazygit, a TUI git client with a wealth of value-added features.
Somehow, though, my favourite feature is the animation you see if you nuke the working tree. 😘 Excellent.