It’s late.
I’ve been working for hours on trying to do something which I thought would be relatively straightforward, but turned out to be anything but.
I looked on forums, asked two different LLMs, and spent hours seeing if I could knit something together quite nicely. Turns out, I should have just made something ugly, something that was clunky, but something that worked.