Baty.net
  • Archive
  • Notes
  • About
  • Tags
  • Uses
  • šŸ”
black and white film photo of my grandson looking out the window.

Saturday, April 05, 2025

I should apologize for my mood this morning…Sorry about my mood this morning. Yesterday, I decided to bring back my Doom Emacs config. I’ve been missing evil-mode and using Space as leader key. Sometimes hitting Control-this Control-that constantly becomes tedious, ya know? After a couple of hours, I bailed on the idea. Doom offers a ton of quality-of-life features, but it also contains a lot of magic. As much as I appreciate the magic, I too often feel like it’s working against me. Back to my own config, which works against me too, but at least it’s my fault this way. ...

Light rain 41.4 | Low 37.8, High 54.1
Black and white photo of my dog on the couch

Friday, April 04, 2025

I need to find a way for my brain to relax. I spend entire days with a dozen apps open, each with a dozen tabs open. I click rapidly between them looking for something to focus on. I never find anything. Part of my problem might be that I’ve surrounded myself with too much infrastructure. There are dependencies everywhere. daily.baty.net for example. The idea is that I have a separate blog that works well for short, daily writing. Except that now I have two blogs. And I’m (for the moment) using Kirby for that one. This means an entirely different workflow and setup. This is great for when I’m feeling bored with Hugo. It keeps me from moving this blog back and forth. However, it’s also more stuff in my brain. Do I need more stuff in my brain? Right now, I don’t think so. Hence, I’m writing today’s journal post here. ...

Clear 32.4 | Low 34.0, High 52.7

Handling robots.txt with Caddy and Kirby CMS

Kirby CMS uses plain .txt files for content. Since the bare .txt files should not be accessible with a browser, one normally uses a path matcher in Caddy and then denies requests based on a path, like so… path *.txt /content/* /site/* /kirby/* /.* But what if I want a /robots.txt file? Turned out to be a simple answer, but it took me a while to find it. I’m writing it down here in case anyone else might need it. Here’s the whole block from my site’s Caddyfile: ...

April 2, 2025

Journelly - Org mode-backed journaling for iOS

I saw the Irreal post about Journelly, but mostly ignored it because I wasn’t looking for a new iOS journaling app. He did mention that Journelly is by Ɓlvaro RamĆ­rez, author of Plain Org, lmno.lol, and others, so that made things more interesting. What intrigued me most, though, was learning that Journelly is backed by plain-text Org Mode files. Bonus! Now it had my attention. Ɓlvaro was kind enough to let me into the TestFlight, and I’m putting it through its paces this morning. ...

April 2, 2025

Daily.baty.net is running Kirby now

I’ve migrated daily.baty.net to Kirby CMS. It has been a static site managed byĀ TinderboxĀ for a long time. I love Tinderbox, but now that baty.net is back on Hugo, I wanted a playground for learning more about Kirby, without moving the main blog back and forth between Hugo and Kirby. So, here we are. Your RSS feed is probably complaining right now. Sorry about that.

March 29, 2025

Mu4e transient menu

I ran across something neat while reading the Mu4e release notes A (experimental) ā€œtransientā€ menu has been added for mu4e. You can use it e.g., with something like: (require 'mu4e-transient) (global-set-key (kbd "C-c m") #'mu4e-transient-menu) It’s very handy!

March 29, 2025

Saturday, March 29, 2025

AI can be useful to me, personally.

Partly cloudy 62.1 | Low 54.0, High 65.1

Annotating an image with weather

I thought it would be neat to include the date and weather on the images I use for my journal entry covers here on the blog. It turned out to be neat, but not fun. I spent nearly 3 hours on all sorts of failed approaches. I figured it might be useful to write down where I ended up. I leveraged two of my existing bash scripts that deal with the weather, and wrote a new one that uses ImageMagick to put things together. ...

March 28, 2025
Black and white photo of old car behind bushes

Friday, March 28, 2025

I spent hours this morning trying to find a good way of adding some metadata to the cover images on the blog. I wanted the temparature, at least. I tried shoehorning it into my Retrobatch script, but that was a dead end. Whenever I’m lost in image manipulation, I turn to ImageMagick. Boy did that take me down a rabbit hole. Long story short, I figured it out. But now I don’t like it. ĀÆ_(惄)_/ĀÆ. ...

Partly cloudy 42.1 | Low 39.0, High 67.1

Emacs lisp function to update exif data in film scans

I maintain a list of shell commands for updating Make/Model/Lens information in film scans. I’ve always run this via babel in a code block in an Org mode file. Something like this: #+begin_src sh cd ~/Pictures/_Scans exiftool '-m' '-Make=Leica' '-Model=Leica MP' -overwrite_original . exiftool '-m' '-LensModel=Summilux-M 1:1.4/50 ASPH' '-FocalLength=50mm' -overwrite_original . #+End_src Easy enough, I just copy and paste from a list of commands, depending on the lens and camera. However, it occurred to me that I’d prefer to simply have Emacs prompt me for the information, and then take care of the shell commands for me. Also, instead of hard-coding the path, I wanted to use marked files in a Dired buffer. ...

March 27, 2025
Black and white photo of burlap wrapped around trees

Wednesday, March 26, 2025

Yes, I changed blog platforms again. It’s been like a week, so it seemed like we’re due for a change. :)

Partly cloudy 26.1 | Low 21.2, High 48.2

Tuesday, March 25, 2025

LinkedIn is not the right place for me to find interesting work.

Partly cloudy 39.0 | Low 25.3, High 38.8

Using the Obsidian Web Clipper with Denote

I was feeling envious of theĀ Obsidian Web Clipper, which is quite fancy, so I thought I’d try leveraging it for use withĀ Denote. My first run at this involves a couple of steps: Tweak the web clipper to save files using Denote’s format and front matter Save the file without adding it to an Obsidian vault Move the saved file into my Denote folder Here’s the Web Clipper template configuration I ended up with: ...

March 25, 2025

Upgrading php to 8.3 on the (Ubuntu) server

I upgraded PHP to v8.3 (from 8.2) today on the server running baty.net. I don’t pretend to be an Ubuntu sysadmin, so I’m writing it down, just in case. sudo apt update sudo apt install php8.3 php8.3-cli php8.3-{bz2,curl,mbstring,intl,gd,xml} sudo apt install php8.3-fpm sudo a2enconf php8.3-fpm # enable it sudo vi /etc/caddy/Caddyfile # replace socket path with 8.3 sudo systemctl reload caddy sudo sudo a2disconf php8.2-fpm # disable 8.2 sudo apt purge php8.2* # in fact, just delete 8.2 The site runs on Caddy, so I needed to change the path to the fpm socket. Here’s the Kirby section of the Caddyfile… ...

March 24, 2025

Roll 204 (Hasselblad 500C/M)

I’ve not been shooting much film recently. Yesterday, I was bored and in a mood, so I grabbed the Hasselblad and fired off a roll using Alice as my model. Only one frame was good enough to share. I really like it, so it was worth sacrificing the other 11. Alice

March 23, 2025

A change to my everything.rss feed

For a while, I tried maintaining a combined RSS feed that included posts from all my sundry blogs. I kept it at /everything.rss. It was managed as part of my WordPress blog, and since I’ve stopped using WordPress, I’ve been redirecting /everything.rss to the feed for baty.net, which is either /feed or /index.xml, depending on my blog platform of the day. I think that instead of that, I’ll piggyback off myĀ @batybotĀ account on Mastodon.social. I crosspost most stuff from my sites to @batybot viaĀ EchoFeedĀ already, and Mastodon offers an rss feed for each account. Mine isĀ https://mastodon.social/@batybot.rss.Ā ...

March 22, 2025
Closeup of Nikon Z f camera dials

Five weeks with the Nikon Z f

A few quick thoughts after just over a month with the new Nikon Z f

March 21, 2025

Fixing the terrible scrolling behavior with Logitech MX Master on macOS

Scrolling with theĀ Logitech MX MasterĀ in Safari sucks out of the box. The following fromĀ this Reddit threadĀ helped, even though it required installing 2 additional packages. Here’s the useful part of that thread: Install Logitech Options+ (sigh) and set: Logi Options+ (Plus): Customization App for Logitech Devices What a gross bit of software, but it’s necessary here. I’ve read that once this process is done, I can delete the app completely, but I haven’t tried that yet. ...

March 19, 2025

Listing today's notes in Denote journal entry

While tinkering with Obsidian recently, something I liked was having a daily notes template with a Dataview query showing the other files I’d added that same day. I added something similar for Denote. It’s a Yasnippet: # -*- mode: snippet -*- # name: Denote insert today's links # key: dnl # -- #+begin: denote-links :regexp "^`(format-time-string "%Y%m%d")`$0" #+end I just run that after first creating the daily note and I get a list of links to the other Denote files from that day. There’s probably a way to automate that, but this is good enough for who it’s for.

March 18, 2025

Espanso again

I’ve gone back to using Espanso for text expansion. As powerful as Keyboard Maestro is, every time I reach for it I feel like I’ve already lost a battle somewhere. Text expansion macros are about all I use KM for these days, so it’s not much of a disruption. I bookmark Espanso’s config folder in Emacs so I can jump right in any time. The expansion macros (ā€œmatchesā€) are contained in YAML files and can be as simple as: ...

March 17, 2025
Ā« Prev  Next  Ā»
Ā© Jack Baty | Ā· Powered by Hugo & PaperMod