Recent Posts

textual-fspicker v1.1.0

1 min read; 13 GFI

I've just released v1.1.0 of textual-fspicker. This release includes a contribution that implements a long-standing TODO item. The requirement was that the directory-picking dialog, much like the file-oriented dialogs, should allow you to type in directory names, working alongside the pre-existing ability to navigate and select directories with the main picker widget.

xMohnad has been kind enough to implement that for us.

SteamOS Gamer Magazine

1 min read; 9 GFI

For a lot of my life, I've been an avid buyer and reader of magazines. All sorts of magazines. I'd get into some hobby, or get some new interest, and devour all sorts of magazines related to it. Meanwhile, there were also magazines that were a constant for a long time: music magazines, computer magazines, programming magazines, etc. In the last decade or so, this has pretty much stopped. Almost all the media I consume is online. I can't remember the last time I actually bought a magazine.

This changed about a week ago. I stumbled on this post on Reddit and just had to take a look. These days, I'm fairly invested in gaming with SteamOS, given I have a Steam Deck, Steam Machine and Steam Frame. One visit to the site later, I had the first two issues on their way.

They turned up yesterday.

SteamOS Gamer Magazine

I've not had a chance to read either of them yet -- that's something that might happen over the weekend (I've been distracted by something else) -- but, at first glance, the quality looks good to me. The content itself appears to be what you'd expect from a gaming-oriented magazine, with it all having a bit of a fanzine feel (something I very much approve of). I guess, these days, the "how much of this is produced by/with AI?" question needs to be asked. The content that I've glanced at so far feels authentic, but at the same time I'm not obviously seeing anything on the site or in the magazine that makes an all-human pledge. There's nothing I can see in the request for authors that suggests AI-generated content is forbidden.

I've not taken out a subscription -- yet -- but might be tempted if I find it enjoyable enough on first read. This will be affected by how genuine the content feels; there's no way I'd take out a subscription for a physical magazine that was mostly AI-created. It sucks that this is even a concern.

Heck, perhaps I might even get bold enough to pitch an article!

Recently I found - 11

1 min read; 13 GFI

Introduction

An occasional collection of things I've recently found on the Internet and added to my bookmarks.

Outcrop

A geology app that shows the geologic map wherever you are, draws it onto the land in front of you in augmented reality, and works offline. I've yet to give it a go, but I can see it being an interesting thing to play with on my next visit to Whitby.

Building a Gemini server in Python

Someone's journey building a Gemini protocol server in Python.

Anytext

A hard fork of Textual. There are some deviations, but it's very much worth keeping an eye on because a) it's being actively maintained (unlike Textual itself) and b) it will also allow building applications that run inside a web page.

Who wants to fuck with Elon Musk?

An effort to build a monument to Elon Musk.

Anatomy of Apple's Personal Knowledge Graph

A post that goes into detail about Apple's personal knowledge graph, and how to access the content on macOS.

Psychological Reactions to Subordinates' LLM Use at Work

Quote: "The present research uncovers a novel, robust effect: subordinate LLM use decreases supervisory trust. The effect is consistent across contexts, task criticality, and supervisors’ prior LLM experience, and is only eliminated when LLM use at work is specifically encouraged. This work informs leadership theory and practice and extends the emerging literature on human-AI interaction at work. While subordinates’ LLM use involves benefits and downsides for subordinates and the organizations in which they work, their supervisors may view such use largely negatively."

Rust Style Guide

Google's style guide for Rust code.

Abyssal Garden

Another one of those things to load into the browser during a very boring all-hands.

Suicide of a Nation

Shaun takes on a questionable book, with a fascinating side quest related to using AI/LLMs as writing aids. While there's plenty of interesting political content here, I think there's also a lesson for the adoption of LLMs internally within businesses -- one they will either never learn, or will learn too late.

Cone City

Web-based tongue-in-cheek driving game set in Glasgow.

Build Your Own Paint

A Rust tutorial in which you build your own simple Paint application.

Now for some Rust

2 min read; 10 GFI

I'm sure I've mentioned it plenty of times on this blog over the years, but I like to dabble with programming languages. For some people, writing code is purely a job; they concentrate on one language, do it well, and that's enough for them. I can respect that. For me, though, writing code started as a hobby, long before I ever did it as a living, and it continues to be a hobby.

A consequence of this is that I like to try to wrap my head around a new language every so often. Over the years, I've written code with:

  • Assembler
  • BASIC
  • C
  • C++
  • Clipper
  • COBOL
  • Common Lisp
  • Emacs Lisp
  • JavaScript
  • Julia
  • OCaml
  • Pascal
  • Perl
  • PHP
  • Python
  • Ruby
  • Scheme
  • TypeScript

and probably some others I've forgotten to add to this list. One or two I like to think I've (mostly) mastered (at least at one point in my cycle of use); others I've dabbled with to the point of having some fun and nothing more.

This last week, I've started to add another language to the list: Rust. I don't know where on the usage scale it will end up yet (either quick dabble or the walk to attempting to master), but I'm finally getting to grips with it and the urge to do so is sticking.

I've had a couple of goes before now, both times making an effort to work through the book. For some reason, both those times in the past, I lost interest. I think it's because -- as I've often said -- I'm the sort of person who needs a purpose when it comes to learning a language. So, to this end, I'm working on the problem I've used for this so many times before: I'm writing a Norton Guide reading library.

As always, for me, this is a great project to work on: it's a problem I know well, it's an outcome I know well, and it's a requirement that touches on all sorts of issues that you want to be thinking about when learning a language. Already, while working on this, I've had to learn something about how to build a library package, how to lay the code out, what Rust does for the obvious bits of syntax you tend to go looking for, how to do memory management, how to do file IO, and so on.

I won't claim that what I've got written so far is good Rust. I suspect that much of it isn't even idiomatic Rust (yet). What I do know is, so far, the code is working, and in getting it to work, I've started to understand some core concepts of writing Rust.

I now want to see it through to the finish. Heck, who knows, perhaps I'll eventually take it further and build a Rust-based sibling application for AgiNG so I can see how working with Ratatui compares with all my experience with Textual.

Zensical (Redux)

2 min read; 8 GFI

Back in March this year I dipped my toe into trying out Zensical as a replacement for MkDocs/mkdocs-material. At the time I had success with using it as a drop-in replacement for a project, and following that used it for a couple more. All was good.

In that post, towards the end, I also said:

The next test will be to try the docs for something like Hike. They're a little bit more involved, with SVG-based screenshots being generated at build time, etc. If that just works out of the box too, without incident, I think I'm all sorted.

I did try this, but ran into a problem: the screenshots took ages to build. At that point I decided to put the PR on the back-burner and only use Zensical for more static-like sites.

A couple of days ago I noticed that v0.1.0 had been released, and with it this claim:

This release closes the major remaining compatibility gaps with MkDocs, including support for many of its most widely used plugins. You can bring your existing MkDocs project to Zensical and continue using the workflows you're familiar with.

With this I was reminded that I'd not gone back and tried to use it again. So I took the Hike PR, upgraded Zensical, rebuilt the docs and... pretty much as fast as MkDocs! The result, style changes aside, looked the same too.

Given that it seemed to be working fine, I decided to start again from scratch with my current pet project of choice: Rogallo. I removed MkDocs/mkdocs-material, added Zensical, tweaked the Makefile, ran make rtfm and... crash! The error being along the lines of:

RuntimeError: Python error: FileNotFoundError: [Errno 2] No such file or directory: '[...]/site-packages/zensical/templates/.icons/simple/cplusplus.svg'

I tweaked a couple of things to eliminate anything particular about my environment (in the case of Rogallo, SmolServe is used to run Zensical, to ensure there's a test server available for making the screenshots, so I wanted to ensure that it wasn't some fallout from that setup), but the problem remained.

I then hit the issues and did a quick search; it turned out it was a known issue and, in my case, was easily fixed with a quick make update (resolving the issue that markdown-exec had a small bug that had subsequently been addressed).

So, as of today, I've swapped Rogallo over to using Zensical for its documentation and, so far, it looks to be working out well. From my perspective the claim of it being a drop-in replacement is 100% true.

My only quibble: I wish they supported a zensical.yml configuration file. From what I can tell it's zensical.toml or mkdocs.yml, so no satisfying mv mkdocs.yml zensical.yml to be had here.

I think I can cope with that, though.

Recently I found - 10

1 min read; 7 GFI

Introduction

An occasional collection of things I've recently found on the Internet and added to my bookmarks.

The Russian Bot Collapse Report

Many people were talking about how lots of accounts went quiet when the Russian data centres were attacked. Does the data support this?

TurboLisp

A new Common Lisp development environment. I need to try this out at some point.

What's getting pwned right now

While the whole thing smells of being vibe-coded (I don't know if it is, but it has that look/feel), this does seem like a handy thing to keep a link to.

SteamOS 3.9

SteamOS 3.9. By the looks of things, this is the first version of SteamOS that lets me hook the Steam Machine and the Steam Frame up together to play some PCVR.

Story of Your Life

A PDF of the short story that is the basis for the movie Arrival.

Emacs turns 50

All my tools are getting old, just like me...

Why I Resist Generative "AI"

Pretty good essay on one person's reasons for resisting GenAI.

Frame Control

Useful-looking application that lets you manage all sorts of aspects of your Steam Frame, from a desktop/laptop.

No, Transformers Won't End the Human Race lol

An essay on how a lot of the doom related to AI, and the impact it could have on us, is tied up with hype about AI.

Manifestos, Fear, and "Loser Thinking"

So Proton is currently having a meltdown...

Base

A macOS-native GUI for working with SQLite.

X is bad, though

A good takedown of the current crop of "eh, X is kind of good again" noises some people are making. This fits in well with the reasons why I nuked my made-in-2007 account and why you'll never find me back on there ever again.

Peplum v1.1.0

1 min read; 5 GFI

I've just updated Peplum to v1.1.0. For anyone who might not have run into it before, Peplum is a simple terminal-based browser and reader for Python PEPs. I first released it in January last year and it's been pretty stable since. Earlier today, though, I noticed it falling over due to an unexpected value in one of the properties of a PEP.

Peplum

So this release fixes that issue. It also drops support for Python 3.10 (which is now end of life) and CI now also tests with Python 3.14 and 3.15.

Peplum can easily be installed with uv:

uv tool install peplum

Once installed, simply run peplum.

Steam Frame lenses by VR Optician

2 min read; 10 GFI

Back on Monday, I finally received some lens inserts for my Steam Frame. I originally registered my interest in getting some back on September 20th, got an email to say they were available for purchase on October 1st, and ordered them the same day. They finally turned up on the 26th (two days ago). Considering that the Steam Frame is still a pretty new device, and I imagine the company were still getting fully set up to handle all of this, this felt like a good turnaround.

The lenses in their bags

The company I used this time around (I've used others for my Quest 2 and PSVR2 headsets) was VR Optician. In my case I was ordering actual prescription lenses. While I am mildly short-sighted, and also have to contend with astigmatism, I can mostly get away with using a headset without correction. It's not ideal, but it's also not impossible to play and read in the headset. In fact, for the last few weeks that I've had the Steam Frame, I've got used to it.

On Monday evening I took a moment to fit the lenses and give them a very quick try-out. Oh, the difference! It's not a surprise, of course, but I was already impressed with how clear the Frame is; with the lenses in place it felt like a whole new headset again.

I ordered the "slim/comfort" versions, as opposed to the "advanced eye-tracking/VRChat" versions1. I don't need advanced eye-tracking (at least for the foreseeable future) and I'm very unlikely to ever need to be doing anything in VRChat. Despite being the "slim" version, they obviously add some extra bulk to the lenses.

A single lens

I can't say I'm currently noticing a difference in how they feel with respect to my eyes (although this week isn't one that's giving me much opportunity to mess about in VR), but there is a noticeable extra bit of "pinch" on the sides of my nose. Hopefully, with a little more time in the headset, I'll find a sweet spot when it comes to comfort.

As for whether it was worth the £69.00 plus shipping... yeah, for sure. They correct my eyesight, let me get the most out of the headset, and they let me do it in a way that protects the actual Frame's lenses (both in terms of giving them a less-expensive cover and by removing the urge to try and wear glasses inside the headset).


  1. If you're curious why there are two different versions and what the difference is: the page has a pop-out that goes into detail. ↩

Rogallo v3.3.0

1 min read; 10 GFI

Rogallo v3.3.0 has been released. This update adds the ability to ignore some types of errors you may encounter when navigating Geminispace.

The update was prompted by the fact that, yesterday, the certificate for AstroBotany expired. Rogallo, quite rightly, alerted me to this and didn't carry on with loading the content. But it got me realising that it's easy enough to inspect the situation, realise that it's just a blip that will be fixed pretty quickly, and meanwhile you just want to get on with watering your plant, etc. At that point, Rogallo didn't allow you to do this.

So v3.3.0 adds the ability to ignore some errors that might crop up when visiting a capsule.

The ignore button

When an error is ignored, it is only valid for that host, that port, and that particular error for the duration of your Rogallo session. If you close Rogallo and start it again, you'll be shown the same dialog when visiting that host/port.

As a reminder, if an error is being ignored for the document you're viewing, the verification icon in the document title will indicate an error with its background colour:

Showing a capsule error

If you click on the icon (if using a mouse), or use the AboutThisPage command (bound to F7 by default), any ignored errors will be shown along with the other document information.

Errors in the about dialog

With all this in place, all being well, if AstroBotany has a wee certificate update lag again in the future, I should still be able to visit the Koi pond without a problem.

Well, okay, with an ignored problem.

Wasat v1.11.0

1 min read; 8 GFI

Another little update to Wasat, this time bumping the version to v1.11.0.

After this morning's change, I made a start on the work I wanted to do on Rogallo and quickly realised that most of what I had planned was better done in Wasat itself. The short version is: rather than maintaining a just-this-session ignore list in the application, it made more sense to handle this in Wasat.

So this release adds an ignore_security_error method to the client that lets you -- for the current session -- ignore a particular type of error for a given host/port pair. This makes for a lot less work needing to be done by the application making use of Wasat. Now it's just a case of1:

from wasat import Client, IgnorableSecurityError

client = Client()
uri = "gemini://expired.example.com/"

try:
    response = await client.request(uri)
except IgnorableSecurityError as error:
    client.ignore_security_error(uri, error)
    response = await client.request(uri)

Obviously, the code in Rogallo is a bit more involved than the above, but that's the gist of it: try the request, if it fails with an error that can be ignored, ignore it and try again.


  1. Yes, I know the await isn't going to work in this example; consider it pseudo-code. ↩