alexwlchan
Alex Chan — Software developer and digital preservation specialist
Software developer on Python, digital preservation, and creative coding.
alexwlchan.netAlex Chan writes about digital preservation, accessibility, creative coding, and the quiet satisfaction of solving interesting technical problems. Posts move between professional expertise (they work in digital preservation) and personal reflections on inclusion, art, and the web — always with a generosity of spirit and care for detail. The site itself reflects those values: CC BY 4.0 licensed, accessibility-first, and full of small delightful touches.
Written by Alex Chan.
Regular
Publishes weekly or bi-weekly
1
Independent Blog
English
How this blog's content is accessed through Blogs Are Back.
Full Content
RSS feed includes complete post content for reading in-app
Proxy Required
Feed is fetched through our proxy for browser compatibility
Proxy Post Links
Post pages are loaded through our proxy for compatibility
Embeddable
Posts can be displayed inline in the reader view
Recent posts from alexwlchan's RSS feed.
gobench: a tool for comparing Go benchmark runs across branches
I’ve recently joined a new team that’s focused on performance, stability, and scalability – a change from my previous projects, where traffic was low enough that performance was rarely a concern. This codebase has already gone through multiple rounds of optimisation, so there’s no low-hanging fruit left. Any proposed change is inherently complex, and it’s rarely obvious whether a tweak will actually speed things up or slow them down. To measure the impact of our work, we’re leaning on the benchm...
Verifying my web archives with Playwright
To protect against link rot and disappearing content, I save local copies of web pages I like into my web archive. Ideally, this archive is completely self-contained. I want a local copy of each page’s HTML and all the assets it depends on (CSS, images, scripts, and so on). I don’t want my archived pages fetching resources from the original website, which could disappear at any time. Initially, I was verifying self-containedness by hand. I’d open each saved page in a web browser, and check the b...
Positive alerts in Prometheus
At work, we use Prometheus to monitor our services. Every few seconds, Prometheus scrapes a /metrics endpoint and records the data in a time series database. The metrics are then used to trigger alerts when services aren’t behaving correctly. Recently we had a flapping alert where an overloaded service was intermittently failing. We wanted to silence/adjust the alert until we could fix the service, to avoid alert fatigue, but it would be easy to forget to revert the adjustment once the service w...
Organising my cross-stitch patterns
I have a lot of digital cross-stitch patterns and until recently they were a mess. My “collection” was a series of several hundred PDFs, disorganised and spread across my disk. Recently, I was looking for a pattern and it took me several minutes to find it. I had a brief moment of panic, thinking that I’d lost it, and the website this pattern came from is long since gone. Fortunately it did turn up, but it was clear I had to organise my pattern collection. Some people would use apps like Pattern...
Parametrised tests in Rust with named parameters
I’ve been revisiting some of my small Rust utilities this week, and I wanted to improve the test suite. There’s a lot of repetition, and I wanted to switch to parametrised tests, a pattern I use a lot in Python and Go. (These are also called “table-driven tests”.) Parameterised tests allow you to write the test logic once, then run it with many different inputs and expected results. This reduces repetition, highlights variation, and simplifies adding new cases. For example, in my thumbnail creat...
If you enjoy alexwlchan, you might also like these blogs.
Seth Larson
sethmlarson.devPython security and open source infrastructure, plus retro gaming preservation and emulation.
Brain Baking
brainbaking.comWouter Groeneveld on software craft, philosophy, and retro computing.
Blake Watson
blakewatson.comSoftware engineer on web development, accessibility, game dev, and 20 years of personal blogging.
Maggie Appleton
maggieappleton.comEssays on programming, design, and anthropology
Follow alexwlchan
If you appreciate writing that's technically thoughtful and deeply humane — where a post about archival systems might sit next to a reflection on accessibility or a creative coding experiment — Alex's blog is a warm, careful presence in your feed.