attempted to install procedure "" with a full menu path "<Image>/Shortcuts/_Change to Softlight" as menu label, this is not supported any longer.
26 November 2025
GIMP 3.0 hit my Linux machines a while ago, and all my personal and 3rd-party scripts broke.
I finally took a moment to look at the errors and figure out what needed to be updated.
My simplest script merely sets the current layer’s blend mode to Soft Light, but even that broke. Why’s that useful? Once there’s an action in the menu, I can bind a keyboard shortcut (Ctrl-S) to it. I need to switch lots of new layers to Soft Light: High Pass for sharpening, or a layer for dodging and burning.
Registering the menu is what often failed:
attempted to install procedure "" with a full menu path "<Image>/Shortcuts/_Change to Softlight" as menu label, this is not supported any longer.
To fix it,
we move the menu path into a separate call, instead of all at once
in script-fu-register.
Here’s the fixed script:
(define (softlight-layer img inLayer)
(gimp-layer-set-mode inLayer LAYER-MODE-SOFTLIGHT)
(gimp-displays-flush))
(script-fu-register
"softlight-layer" ;function name
"Change to Softlight" ;menu label
"Change current layer to Softlight mode" ;description
"John Flinchbaugh" ;author
"Copyright 2025, John Flinchbaugh" ;copyright notice
"November 26, 2025" ;date created
"RGB* GRAY*" ;image type that the script works on
SF-IMAGE "image" 0
SF-DRAWABLE "drawable" 0)
(script-fu-menu-register "softlight-layer" "<Image>/Shortcuts")
11 August 2025
For our local art collective, Susquehanna River Creative Collective (SRCC), I setup some Raspberry PIs connected to televisions to display our flyers advertising benefits of membership and upcoming events.
The machines are behind a firewall and running on a read-only overlay filesystem for resiliency, so I had the machines periodically pull the event images from the website, and I can change out the images on the website any time.
This was all done with desktop autostart scripts
and cron for quite some time,
but eventually, we needed more control.
We wanted to have different sets of images and to be able to choose them. For a show, we may want to only show the logo, while other times might call for all the normal advertisements.
The machines have no keyboards or mice, so they needed to be controlled by a web browser. I also don’t know if they’ll start up on the same IP addresses, so I needed a bit of Javascript in a static place to have the browser search and find running slide servers.
The service on each machine
now runs as a babashka script that starts upon automatic login.
It pulls new images from the website
and from a Google Drive,
periodically refreshes them,
and starts Eye of Mate (eom)
to run the slide show.
The babashka script
also starts a small web server
on http-kit to let us
to choose image sets
and to trigger a refresh of the images.
http-kit is provided by default in babashka.
The SRCC website is a static site built with Hugo, so I add all the events to it via an image or 2 and some YAML. It’s hard to train another normal person to do this stuff, so the responsibility fell exclusively on me. I scripted it up with some bash, but that’s still only accessible to me.
Finally, I’ve been coding all Clojure code for the past couple weeks, and I’ve started playing with Gemini CLI to see what it can do with some Clojure code.
I now have a web form available to
allow others to create events
for the website,
and it interacts with git
for publishing to the Hugo site.
The service is deployed on my normal Linux servers
as a container run by podman kube play
and systemd quadlet.
I can direct Gemini to make changes or add features, and I review the code, ask for corrections or just make updates myself. It’s kind of like pair programming with someone who’s really good at Googling answers and jumping to some (mostly) useful conclusions. Having the AI agent has helped maintain some momentum and saved me jumping down some deep rabbit holes before I needed. I’m asking it for small changes and iterating, not trying to get it to do everything in one shot.
Gemini’s CLI interface makes it easy to switch to another project directory and let it try some stuff on lots of my projects recently.
I had also played with Claude CLI for a day, but Gemini’s free tier is proving capable enough for me so far.
24 March 2025
I have a long list of Clojure projects I’ve created over the years to learn Clojure and accomplish various personal tasks.
As of the end of 2024, I’ve done at least some of Advent of Code for 7 years in a row. I’ve had the most fun and practice parsing and transforming the input data for each puzzle into a suitable model.
I learned pretty quickly from the puzzles
to store the common grids as sparse maps
to save lots of memory and keep the problem in memory.
I sometimes got stuck on the puzzle and the algorithm,
but I still got lots of practice in general Clojure.
I definitely see that the Clojure data structures
lend themselves well to the puzzles.
I’ve gotten to effectively apply
lots of common Clojure libraries
like core.async and core.logic.
My incidents project
scrapes an RSS feed of emergency response incidents
in Lancaster County
and stores them into an XTDB database
for history.
It generates static site of current events with hiccup
and historical charts with Clerk.
Running this project
day-to-day,
I learned that the Clojure/JVM start up
is a bit too heavy to start frequently
from cron,
so I run it as a service in systemd with its own scheduling.
Clerk is also a bit heavy
with the amount of historical data,
so I have that scheduled to rebuild less frequently than the scraper.
The site is still all static.
With this CLJS project,
I was trying to derive a standard shadow-cljs workflow
to make sure I could start any new CLJS web project quickly.
It started using Reagent,
and I migrated to Helix
to be less-insulated from newer React features.
I also wrote code to migrate data
in local browser storage from an old Transit format
to EDN.
I’m constantly learning the better flows
for data in React and local storage.
This project also now has a
back-end API
running on http-kit as a server
and storing its data in XTDB 2.
The beginning of 2020 provided some of us with lots of downtime, so I started loading and analyzing Johns Hopkins University’s data on COVID with my own data warehouse and web app to display my data.
The data was pretty messy early on,
and it changed over time,
so I needed to parse lots of different formats.
I generated a static site with my historic graphs
and focused on World, US, and counties in Pennsylvania.
It was a classic ETL for a star schema data warehouse,
since I wanted to refresh my experience on that.
I initially stored in in a SQL database
using hugsql and next.jdbc.
After a bit of time,
this became my first project to explore CRUX/XTDB
and NoSQL data structures.
I learned a bit about how changes applied in XTDB
and how to limit history
and otherwise save space
on my small server environment.
I could easily apply core.async
when it was time to get things done faster.
The web app project that I added later provided a more dynamic Reagent app in CLJS that used the static data produced by warehouse project.
I wanted a simple tool for conducting planning poker in sprint planning, so I built one in JS to run on mobile phones. When I started learning CLJS, I converted it to Reagent and used Leiningen to build it.
I’ve enjoyed finding there are ways to apply Clojure to everything!
I’m reading SICP and implementing all the exercises in Clojure.
I have a project where I play with data structures for music and explore lots of examples in Overtone, including Rich Hickey’s experiments in additive synthesis and sequencing some simple beats from drum-n-bass tutorials for other DAWs.
It required lots of yak-shaving work over the years to keep the native wiring to Supercollider and Linux sound working.
I’ve found a library to interface Clojure to OpenSCAD, so I have some 3D models defined in Clojure code for printing.
25 April 2024
I created a little ReloaderJS script that I use with a couple projects. Upon applying the script, the page is always reloaded and up-to-date any time I switch to the tab or wake the laptop.
The script allows reloading at a period that matches the schedule at which the underlying site is updated. It also doesn’t bother updating when the site is unavailable (down or the client is offline).
It really stands out now when I see a site that’s tried to reload but couldn’t, so it’s showing an error page from the browser when I open my laptop. It feels good to have solved that problem for myself.