Of course the week started with swimming (for this series of weekly reviews I’ll take the Sunday as start of the new week). Not all the way across the lake as it’s getting a little chilly in the water now and we didn’t had that much time.
Coding
while writing on last weeks review it nagged me that the WordPress blog posts don’t have image descriptions. I know it’s just me being lazy to put them in in the first place. But I’m meanwhile spoiled by IceCubes app which can autogenerate image descriptions.
So I started chatting with ChatGPT about writing a little helper program in Rust which would get an image description from the OpenAPI API and then upload the picture to my WordPress and put the description as well. It slowly took shape but didn’t quite get there apart from it getting late in my day …
I was about to give up and sent a toot before closing my laptop. But then someone replied that they had more success with Claude.ai instead of ChatGPT for Rust programs.
And indeed. The code seemed much better and I got a first working version that night. You can find the code and some pre-compiled binaries on my Forgejo instance.
To process multiple files I used a simple shell loop:
No thinking where to take this next. I’d like to update the image descriptions of the existing images in WordPress. Could do this from remote as well. But an actual WordPress plugin probably makes more sense here.
Other idea is to use a local LLM to generate the image description so you don’t need to upload the images to OpenAI.
This is really a rabbit hole. But programming is much more satisfying the herding cats as a project/program manager ….
And because self-hosting is fun … I also set up an instance of Asciinema. The “shell cast” above is an example of this.
Walking
Since the office gym is still closed I’m missing out on a lot of exercise 🙁
Started walking to the office more often. It’s a 4.5km walk in one direction. So adding up close to 10km of walking per day. Not too shabby. Now that the weather is turning colder and more rainy it’s even more fun 😉
Updated my nails again as the color faded and crackled.
First snow
This week we finally had some snow. It didn’t stick in Berlin, but the on the countryside one actually had a thing white blanket over everything. Even when we arrived there on Friday evening there was still some snow on the sides and roofs. The low sun made for some incredible sundowns in the late afternoon.
On Saturday we had our annual “Vereinsfeier” at the house of some friends. Always lovely to see the people from the village and have them bring all sorts of food and chat away into the night.