Mandelbrots on the BBC Micro
At the end of the last fractal post I joked about leaving the BBC Micro on overnight for a single picture. So this time I went back to where it started for me: BBC BASIC in MODE 2. I had Claude drive the MacBeeb emulator and type the programs in at the > prompt, with the emulator window open so I could watch it go, one key at a time, the way I used to copy listings out of magazines.
The Fractal Zoom Video, Now in the Repo
Yesterday’s retro fractal zoom has a proper home now. zoom_video.py lives in the python/ folder of my fractals repo, along with the scripts from the last update. It can spin the view and zoom back out again, and it runs a fair bit faster than it did.
What it draws
It dives from the whole Mandelbrot set down to the spot used by the old Andromeda Research demo, −1.74747070750 + 0.00087953063i, at 11.1 million times magnification. It only draws the edges between iteration bands and leaves the bands themselves black. Far from the set the bands are wide, so you get thin contour lines; close in they crowd together into solid colour. Each frame is rendered at 640×480 and doubled up with nearest-neighbour scaling, which keeps the chunky VGA feel.
More Fractals: An Interactive Explorer and Some Python
The fractals repo from my Pascal Mandelbrot post didn’t stay still for long. There’s a fifth Pascal program you can explore with, and some Python scripts that draw other kinds of fractals in a retro style.
mandelbrot5: an interactive explorer
mandelbrot4 could pan and zoom, but only by rerunning it with new numbers. mandelbrot5 turns it into an explorer you drive with the keyboard. It fills the terminal and follows it when you resize it, and every frame is redrawn in place.
Retro Fractal Zoom
This one tickled my 8 bit brain.
I remember having to leave my BBC Micro on overnight to calculate a single low res image of a Mandelbrot fractal. Now, with a couple of prompts and a bit of to and fro with the Claude app on my phone, it renders a whole retro styled zoom video like this in a couple of minutes.
Vibe Coding Mandelbrots in Pascal
A bit of evening fun: I wanted to see how far a quick vibe coding session could take a Mandelbrot renderer in Free Pascal, drawing straight into the terminal. Pascal was one of the first languages I used, and the Mandelbrot set is the classic “hello world” of fractals, so it seemed like a good pairing.
The result is alastairhm/fractals: four small programs, each one building on the one before, going from plain ASCII art up to truecolor half-block graphics.
Patching php2shell in My Alpine Lighttpd PHP Docker Image
If you use my alpine-lighttpd-php Docker image, please pull :latest again and recreate your container. The image now runs PHP 8.4.27, which fixes the php2shell vulnerabilities.
docker pull alastairhm/alpine-lighttpd-php:latest
# or
docker pull ghcr.io/alastairhm/alpine-lighttpd-php:latestWhat is php2shell?
php2shell is the name for two PHP vulnerabilities, CVE-2026-109618 and CVE-2026-109619. Both are critical, and both allow remote code execution with no authentication. PHP published a security advisory on 21 October, alongside fixed releases 8.5.12, 8.4.27, 8.3.36 and 8.2.35.
New Posts Now Announce Themselves on Bluesky
New posts on this blog now get announced on Bluesky automatically, alongside the Mastodon toots that were already going out. If you’re reading this via a Bluesky link card, that’s the thing working.
It went live on 16 October, with the Inktober “Gangly” post being the first one through, and it’s been quietly doing its job since.
How it works
The whole thing is a GitHub Actions workflow plus a small Python script, with no third-party service in the middle.
Claude Has Made Posting Here Frictionless
Quick update rather than a full write-up: since pointing Claude Code at this blog’s repo a few weeks back, the whole loop of writing, publishing, and maintaining this site has stopped being a chore.
The biggest change isn’t any single fix — it’s that the friction just isn’t there any more. Drafting a post, sorting front matter, fixing up a GitHub Actions workflow that’s drifted out of date, branching and PR-ing a change, merging it once it’s built cleanly — all of that used to be enough faffing about that posts would sit as unfinished drafts for weeks. Now it’s a five-minute conversation and it’s live.
Generative Art with Context Free
I’ve got a small repo, ContextFree, that I keep coming back to whenever I want the specific kind of fun that comes from writing a handful of lines of code and having something unexpectedly pretty fall out the other end. It’s a collection of Context Free Art scripts — a tiny grammar for describing images as recursive drawing rules — plus a Docker image wrapping the cfdg renderer so I can run them without installing anything locally.
Two Weeks of GoatCounter Data
Back when I wired GoatCounter into this blog, the honest answer to “does any of this actually get read” was a shrug — no analytics meant no way to know. It’s been running for a couple of weeks now, so pulled the first export and had a proper look.
Rather than paste a wall of numbers, here’s the breakdown as an actual chart — daily pageviews, top pages, referrers, and where the hits are coming from: