Searching baty.net

I’ve added a search page. It uses Pagefind. It turns out I’d already begun work on this with the original site. The clue was a commented-out line in my Makefile: index: npx -y pagefind --site ${SITE_DIR} All I needed to do was create a search page and add a snippet: --- layout: layouts/base.njk title: Search slug: /search --- <link href="/pagefind/pagefind-ui.css" rel="stylesheet"> <script src="/pagefind/pagefind-ui.js"></script> <div id="search"></div> <script> window.addEventListener('DOMContentLoaded', (event) => { new PagefindUI({ element: "#search", showSubResults: true, pageSize: 10, autofocus: true }); }); </script> To manually build the index, I render the site and then index it. using npx -y pagefind --site _site. I do this as part of the deploy recipe in the Makefile. ...

October 12, 2024 Â· 137 words

Eleventy

I’m back to using Eleventy for my blog

October 2, 2024 Â· 233 words

Roll-178 (Leica MP)

Latest roll (HP5) from the Leica MP. Nothing much here to speak of, although I did use a manual flash on some of the indoor shots. I kind of like flash photos. They look like photos, you know? Lincoln looking up My dad and Lincoln. Testing manual flash. Funny face White sneakers are white

September 24, 2024 Â· 54 words

Tweaks to my Dired config in Emacs

Listing directories first and hiding file details by default in Dired

September 17, 2024 Â· 359 words

Some quality-of-life improvements to the darkroom

I kind of have an actual “wet side” now.

September 12, 2024 Â· 88 words

My second sewing project is finished

I sewed a drawstring bag

September 11, 2024 Â· 193 words

Adding Expires headers to Caddy

Improving site performance by adding Expires headers in my Caddy config.

September 9, 2024 Â· 141 words

How many times am I going to fix RSS images for the first time?

OMG I never learn. Even when I write stuff down. Every time I switch back to Hugo, I complain about the fact that when using relative image links in Hugo’s Page Bundles, they don’t work in the RSS feed. Then I spend time digging around old forum posts or whatever trying to fix the problem. Except I already have fixed the problem. At least twice. Maybe just check your own notes, Jack. ...

September 7, 2024 Â· 483 words

Org-rainbow-tags

Making tags readable in Org-mode DONE headings

September 6, 2024 Â· 140 words

Books.org redo

I’ve updated my org-mode reading list using my fork of the org-books package

September 6, 2024 Â· 279 words

Roll-176 (Leica M3)

This roll of HP5 from the Leica M31 was shot mostly in Grand Haven during one of our frequent walks through town and on the pier. Gail’s feet in Lake Michigan Grandma walking Lincoln Grand Haven Pier Well-dressed kids on beach Beach grass, rocks, and sand Gift store in Grand Haven. Closed. ...

September 6, 2024 Â· 65 words
Self-portrait in mirror with Canonet

Roll-175 (Canonet G-III QL17)

The final final roll from the Canonet

September 6, 2024 Â· 185 words

Posting to social media without being "on" social media

I’m finding it difficult being “off” social media right now. Every time there’s a lull in my thoughts, I want to reach for one of my feeds. It’s how I avoid doing anything useful. I want social media to be a source of information and not purely entertainment, but it usually ends up being entertainment. Also, it’s often infuriating, which is why I stepped away in the first place. One thing I’ve noticed is that when I’m not sharing things, I feel kind of invisible. I like sharing things. My blog(s) are good for sharing. It’s what they’re for. But not having comments on the blogs means there’s not much actual engagement. I like engagement :). That’s what Mastodon (and more recently, Micro.blog) is good at, which is why I find it difficult to leave. ...

September 4, 2024 Â· 180 words

Wild God

The new record from Nick Cave and The Bad Seeds is called “Wild God” and it’s fantastic. Nick Cave in a good mood is a rare and wonderful thing.

September 3, 2024 Â· 29 words

I wish this was something else

When a horrible billionaire ruins my wonder at the night sky

September 1, 2024 Â· 73 words

How long can I go without SetApp?

My SetApp subscription was scheduled to renew today, but I didn’t let it. I figured that if I buy the apps outright that I actually use, I’ll spend around the same amount as I would on a 1-year SetApp license for both Macs. The purchased apps would either come with lifetime licenses or a small annual upgrade fee. This means next year I’ll pay a much smaller amount for all the same software. ...

August 31, 2024 Â· 218 words

Asking ChatGPT to do things I used to think were fun

I’ve been testing a version of Johnny Decimal using folders and org-mode files. While doing this, I found myself frequently wanting to create a new .org file in the current (Dired) directory with the same name as the directory (long story). In a past life, this would have been a fairly straightforward challenge. I’m not remotely fluent in (emacs) lisp, but I’ve always enjoyed learning, so I would have dug in and figured out how to write the function myself. ...

August 29, 2024 Â· 355 words

Micro.blog revisited

Back on Micro.blog after some time away.

August 27, 2024 Â· 237 words

Roll-174 (Leica MP. HP5.)

Roll of HP5 from the Leica MP

August 25, 2024 Â· 80 words
Mom and Dad on 62nd wedding anniversary. Hasselblad 500C/M. Tri-X.

Roll-173 (Hasselblad 500C/M. Tri-X.)

I spent the afternoon with my parents to celebrate their 62nd wedding anniversary. This roll of Tri-X was taken with the Hasselblad 500C/M and the 80mm Planar. Mom and dad My sister’s family Door into my brother-in-law’s pole barn Lula

August 25, 2024 Â· 40 words