aria-details

In an attempt to improve the accessibility of a component I’m building at work, I ended up finding an ARIA attribute I’d never seen before: aria-details (MDN). The component in question contains a cell which can contain a string, or be empty. If it’s empty, a message (nominally, “No reason given”) is displayed to the user, but this could allow for some ambiguity as to whether the reason was actually empty, or if it was set to the string used to indicate no reason was given....

October 10, 2024 · 1 min · 188 words · Sammy

Internet Archive Hacked (probably)

Well, shit. If you happened to head to https://archive.org in the last 30 minutes or so, you may have seen this alert: (which has now been replaced with this message) I’ll try to keep things updated here if/when IA responds. Update 1: Well now https://archive.org isn’t loading at all.. guessing they’ve pulled the plug or the increased attention has broken things. Update 2: Seems it was caused by a possible supply-chain “attack” — polyfill....

October 9, 2024 · 1 min · 111 words · Sammy

Broken NIC on GPD Pocket

[Just a quick post to get info in one place, sorry!] Info I have a GPD Pocket: running Ubuntu 24.04.1 LTS with a BCM4356 802.11ac Wireless Network Adapter (PCI ID 14e4:43ec) with some issues: It appears like only 2.4GHz networks are being detected, and not 5GHz networks. That being said, our router is dual-band and I can’t see either network. Attempting to connect to a random 2.4GHz network crashes the network manager (WiFi icon/settings entry disappears, then reappears after a few seconds)....

September 10, 2024 · 2 min · 239 words · Sammy

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

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