To really foul things up you need an AI

Today, an AI review tool used by my workplace reviewed some code that I wrote, and incorrectly claimed that it would introduce a bug because a global variable I created could “be available to multiple browser tabs” (that’s not how browser JavaScript works).

Just in case I was mistaken, I explained to the AI why I thought it was wrong, and asked it to explain itself.

To do so, the LLM wrote a PR to propose adding some code to use our application’s save mechanism to pass the data back, via the server, and to any other browser tab, thereby creating the problem that it claimed existed.

This isn’t even the most-efficient way to create this problem. localStorage would have been better.

So in other words, today I watched an AI:
(a) claim to have discovered a problem (that doesn’t exist),
(b) when challenged, attempt to create the problem (that wasn’t needed), and
(c) do so in a way that was suboptimal.

Humans aren’t perfect. A human could easily make one of these mistakes. Under some circumstances, a human might even have made two of these mistakes. But to make all three? That took an AI.

What’s the old saying? “To err is human, but to really foul things up you need a computer.”

Dog tired

Today was a long day. Between commuting (the kids to school from our distant flood-evacuation accommodation), work, childcare, insurance wrangling etc., I was pretty tired when I got back “home”. So I came in and lay on the floor.

At which point the dog decided I was a pillow.

A white man with a goatee lies on his back on a floor. A French Bulldog lies on his chest, looking at him.

×

Note #28280

While cleaning up/assessing damage following our house flood, I finally found a lost digital stylus I’ve been looking for for a couple of months.

An 'XP-Pen' digital stylus on a wooden floor alongside a water-stained wall.

Unfortunately it’s been sat under the water line so I don’t know yet if it survived. But it’s FOUND, at least!

(Look at me, finding ways to stay positive!)

×

Normal life

I want normal life back now, please.

I appreciate that it’s only 40-ish hours since my house flooded and we had to move out. But with all the stress and activity that’s necessarily followed, it feels like it’s been so much longer.

Unrelated note: why has the person in the room above me at this hotel been using a pogo stick since around 05:30?

Flood

My house is under water.

A flooded house.

Well, fuck.

×

RIP James Van Der Beek

James van der Beek died this week of bowel cancer; he was only a couple of years older than I am. I guess I’m at that point of my life where unexpectedly-early celebrity deaths might start being “around my age”.

Chloe (Krysten Ritter) speaks to Luther (Ray Ford) across a desk, while James Van Der Beek - playing a fictionalised version of himself - poses in the background to show off the jeans he's wearing.
“They’re super tight. But if you want your ass to rock, your plums’ gotta pay the price.”

I’m neither young nor angsty enough to enjoy a re-watch of Dawson’s Creek, but I especially loved him in Don’t Trust the B—- in Apartment 23 so maybe I’ll re-watch that.

×

Syncthing on Unraid: repairing malformed database disk image

Mostly as a note to myself, but here’s what to do if you’re running linuxserver/syncthing via Docker on Unraid and it keeps saying:

ERR Database error when getting previous version (error="getkv: database disk image is malformed (11)" log.pkg=syncthing)

The problem is that Syncthing’s index has been corrupted. I was able to fix it by getting a shell into the relevant Docker container and moving the index: Syncthing detected it as absent and re-created it, re-indexing everything. Here’s what I did:

docker exec -it syncthing bash
mv /config/index-v2 /config/index-v2-BROKEN

Everything fixed itself immediately and the Docker logs showed the reindex underway.

Methuselah

My partner and her husband (my metamour) have a tradition that every 5th wedding anniversary they get the “next size up” of champagne bottle.

This meant that on yesterday, when we celebrated their 15th, we needed to get through a Methuselah: a massive 6 litre bottle equivalent to nine standard bottles of champagne (rightmost in the attached picture).

A half bottle, standard bottle, magnum, Jeroboam, and Methuselah of Bollinger champagne lined up on a window ledge, with a banana for scale.

It’s times like these you’re glad of friends you can call on to help you drink such a monster!

×

Dan Q on itch.io

I’ve had my itch.io account for about six years; I think I first created it to buy a copy of We Are But Worms: A One Word RPG. I’ve since made several purchases, donations, reviews, and comments, but never really used my account as a “creator”.

I changed that today when I realised that there was nothing to stop me re-publishing games like DNDle and Axe Feather 2021 via my itch.io profile as well as on their current homes (and on GitHub, I suppose). For some folks, itch.io’s discovery features might be the best way for them to discover worthwhile content weird stuff like this.

I might republish some other “things” I’ve made on itch.io too. It’s not like there haven’t been lots of them over the years!

Daily Mail RSS that doesn’t suck

Off the back of my project to un-suckify BBC News’ RSS feeds (https://bbc-feeds.danq.dev) by removing non-news content and duplicate items, I received an email this week (addressing me by the wrong name, I might add) from somebody who asked if I could do the same… for the Daily Mail.

I’m so very tempted to provide an empty RSS feed and say “there you go; that’s an RSS feed of the Daily Mail but with the crap bits removed”.

Turns out my distaste for the Daily Mail is greater than my love of clean RSS.

Email from Simon G to Dan Q, subject "Dail Mail RSS that doesn't suck", with message: Hey Darren, I’ve come across your BBC RSS feeds and find them really useful over the last few days. Thank you so much for this!! I’m not sure how easy it is but could you do something similar with the Daily Mail as that has thousands of reposts a week? Happy to contribute/donate.

×

Sky potholes

Amusing announcement from the captain of my plane out of Tenerife South this afternoon. In place of the usual recommendation to keep your seatbelt fastened while seated in case of turbulence, he advised that there was a “risk of potholes”.

I’m sure the analogy makes sense to the Brits aboard, but I hope it translated well for the Spanish speakers on this plane!

Hollandaise Sauce

If I’m on holiday and a hotel offers me eggs benedict for breakfast, I’ll almost always order it. But I’d never make it at home.

I tell myself that this is because hollandaise sauce is notoriously easy to mess up. That I don’t want to go through the learning process only to make something inferior to what I eat as a holiday treat.

But maybe it’s just that my brain wants to keep eggs benedict as a signifier that I’m on holiday. That I can unplug from the world, stop thinking about work, and enjoy a leisurely breakfast with some creamy eggs and a long black coffee.

Maybe eggs benedict just has to remain “holiday food”, for me.

Airborne RSS

RSS readers rock. Having a single place you connect for a low-bandwidth bundle of everything you might want to read means it doesn’t matter how slow the WiFi is on your aeroplane, you can get all the text content in one tap.

(I’m using Capy Reader to connect to FreshRSS, by the way.)

Time to catch up on some news, blogs, etc.!

Bagel Holes

Our kid doesn’t like bagel holes. She’ll eat the rest of the bagel, but not the hole.

At least, that’s the only explanation I can think of for finding things like this most mornings.

On a plate, buttered bagel has been nibbled all around the outside, leaving only the hole surrounded in a thin circle of bread.

×

Discourse

I like it when the Internet says “yes, and”.
I like it when the Internet says “yes, but”.
I even like it when the Internet says “no, because”.

I’m not so keen when the Internet says “well, actually”,
(Probably because it reminds me of what
a shit I was in some not-yet-forgotten time.)

But I don’t like when the Internet rallies a brigade
To pick apart a character flaw I have, but hate,
Or to attack something I’m not, and expect me to defend.

So perhaps next time, start with “yes, and”, “yes, but”,
Or even “no, because”… or just say nothing, and
Remember what it means to connect with a human.