201 Followers
68 Following
864 Posts
Computer programmer up t’north. Former organiser of London Computation Club and speaker at London Ruby User Group, now mostly writing Ruby, Go and JavaScript but also Python, PHP, Rust and Clojure. My views do not represent those of my employer.
webhttps://mudge.name
githubhttps://github.com/mudge
sponsorhttps://github.com/sponsors/mudge
@jonty do you have any recommendations for a thermal camera for general home radiator bothering? I vaguely recall you mentioning alternatives to Flir but search is failing me.

Is there a “boring” (in the https://boringtechnology.club sense of the word) static site generator these days?

The outsized complexity and pain of maintaining a Gatsby project and the surrounding unstable JavaScript ecosystem makes it very hard for me to recommend it to anyone.

Choose Boring Technology

How to be old, for young people.

You can then load up the page in your browser of choice, hit ⌘ + F5 to turn VoiceOver on, then Caps Lock + U to bring up the Rotor, and use left and right to navigate the various menus.

In Rails, assuming you have errors and a hint in elements with the IDs “name-errors” and “name-hint” respectively, you can do the following:

```
<%= form.text_field :name, required: true, aria: {describedby: "name-errors name-hint"} %>
```

Getting into the habit of loading up VoiceOver’s Rotor https://support.apple.com/en-gb/guide/voiceover/mchlp2719/mac to check a page’s landmarks, headings, and links. Using semantic markup was a good idea all along.

The main gotchas I’ve found are multiple <main> elements, incorrect heading levels (not a strict <h1> <h2> etc. order), and links with poor text (e.g. “0” for comments, “Browse”, “Download”, etc. without further context). It helps to use aria-describedby to connect form inputs to their errors and hints too.

Use the VoiceOver rotor on Mac

With VoiceOver on your Mac, use the VoiceOver rotor to navigate to specific items in app windows and web pages.

Apple Support

Adam Liptrot’s “Introduction to screen-readers: VoiceOver macOS Edition” is a great guide to using sites with a screen reader: https://liptrot.org/guides/vo-macos/

I’ve certainly learned a lot about the importance of landmarks, see https://developer.mozilla.org/en-US/blog/aria-accessibility-html-landmark-roles/

Introduction to screen‐readers: Voiceover MacOS Edition | Adam Liptrot

Adam Liptrot, accessibility fan, builds websites

After hours watching tool restorations on YouTube, I finally had an excuse for my own: cleaning up my late grandfather’s Acorn hand plane for E—. She just did a two-day woodworking course and, while the instructor told her it isn’t a particularly good make, it’s the one we have.

I took it apart, soaked all the rusted parts in white vinegar for 24 hours, rinsed with water and bicarb, then scrubbed it with a brush and scourer before lightly sanding and then applying 3-in-1 oil and reassembling.

Satisfying and totally unnecessary job of the day: testing batteries’ DC voltage with a multimeter to see which are discharged (e.g. < 1.3V for 1.5V batteries) or not. Finally the graveyard of AAs in my office can be sorted out.

Argon2id 0.9.0 is now out, adding precompiled support for Ruby 4.0 but removing support for Ruby 2.6, 2.7, and 3.0.

https://github.com/mudge/argon2id/releases/tag/v0.9.0

Release 0.9.0: Ruby 4.0 support · mudge/argon2id

Added Add support for Ruby 4.0 in precompiled, native gems. Removed Remove support and native gems for Ruby 2.6, 2.7, and 3.0. Remove native gems for 32-bit platforms, specifically x86-linux-gnu...

GitHub

re2 2.23.0 is now out, adding precompiled gem support for Ruby 4.0.

https://github.com/mudge/re2/releases/tag/v2.23.0

Release 2.23.0: Precompiled support for Ruby 4.0 · mudge/re2

Added Add support for Ruby 4.0 in precompiled, native gems. SHA256 checksums: 9b2fa8b565574ed5adad20f3b0af75842fe7913d638edce435b9be68ae70f792 re2-2.23.0-aarch64-linux-gnu.gem 23ab13c80a412ac14...

GitHub