Docbook — failed to load external entity

I was trying to build coreutils the other day and kept running into an error with docbooks. I’d initially figured out I was missing the docbook and docbook-xsl packages (fairly obvious given it said it couldn’t find it…), but having installed them, I then got this more cryptic error: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" Some searching and trawling through forum posts led me to try installing docbook-xml — this solved the problem. ...

June 2, 2023 · 1 min · 88 words · Sammy Fox

Shallow insights into the Wikimedia Community

Although getting a pointless degree in Community Governance Studies1 would allow me to preface the shit I spout with “as someone with a degree in..”, half the points I (try to) make about The Wikimedia Community™ really are just common sense — they are rarely “deep insights based off my 10+ years volunteering”, nor things I’ve figured out in my year-and-a-bit working for the Foundation in a community-facing-ish role. That’s not to say there aren’t deeper insights to be figured out by long-term volunteers, staff, or those with specific industry experience in community governance, but these probably ain’t it. ...

May 29, 2023 · 6 min · 1202 words · Sammy Fox

php-ast on PHP 8.2 (Windows)

php-ast by nikic exposes the abstract syntax tree generated by PHP 7 and 8 — nikic currently only provides pre-built Windows DLLs up to PHP v8.1, and building it yourself can be a minor hassle. So here’s a collection of pre-built DLLs for PHP 8.0 - 8.2 (ts/nts) https://github.com/theresnotime/php-ast-windows-build/releases/tag/1.0.4

April 4, 2023 · 1 min · 49 words · Sammy Fox

A quick(ish) fix for expired GPG repo keys

This’ll be a short post, more for my own reference than anything else! When running sudo apt update, I got the following error: Err:8 https://dl.yarnpkg.com/debian stable InRelease The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <[email protected]> [...] W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <[email protected]> W: Failed to fetch https://dl.yarnpkg.com/debian/dists/stable/InRelease The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <[email protected]> W: Some index files failed to download. They have been ignored, or old ones used instead. Googling this returns a mixture of results and fixes, but the one I’ve found works the majority of the time is: sudo apt-key adv --refresh-keys --keyserver keyserver.ubuntu.com Running sudo apt update again then works — yay! 🎉

March 22, 2023 · 1 min · 142 words · Sammy Fox

My head hurts

Ole Hedeager, CC BY-SA 4.0, via Wikimedia Commons Content Warning: suicide/self-harm This post was adapted from a mixture of an old blog post, and something I posted on my Wikipedia user page. According to my site views, nearly 150 unique visitors saw my (now removed) blog post the other day - normally I’d be pretty happy about that, but the post yesterday really wasn’t great. It’s not that it was badly written, but on reading it back today it just isn’t the type of post I want to making. Let me explain why… ...

September 4, 2021 · 4 min · 836 words · Sammy Fox