Baty.blog
  • Archive
  • Notes
  • About
  • Tags
  • Uses
  • šŸ”

BSSG (Bash Static Site Generator)

Today I learned about BSSG, a static site generator written using Bash. I’ve been chugging along with Hugo for a minute, but you just know I have to try every new thing I discover, so… bssg.baty.net How fun is that!? Written by Stefano Marinelli, BSSG is so simple and easy to use that I had a blog started in, I swear, two minutes. The only thing I had to do was change MARKDOWN_PROCESSOR to use pandoc, and I was off and running. Nice. ...

April 11, 2025
My grandson walking away from me in yard

Friday, April 11, 2025

Dammit, now I’m posting journal posts in two places. I get bored doing things the same way every day, so I change things. I don’t know if this makes me interesting or if it’s a symptom of some deep-rooted mental issue. Read Mike’s Deft, Markdown, Marksman/Emacs LSP, iA Writer and then spent an hour playing with Marksman and I ended up getting nowhere and now I’m upset that I can’t get wikilink completion in random Markdown files. This is why I shouldn’t be using Emacs. ...

Overcast 34.0 | Low 32.5, High 55.9

Thursday, April 10, 2025

I had fun yesterday working with the Coping Mechanism blog and Ghost. If you ignore the upsell and ā€œplease subscribe!ā€ noise, Ghost is rather pleasant to work with. The problem is that I don’t want to migrate this blog to it, and I don’t want multiple blogs. This means that, while I still may tinker with Ghost, I shouldn’t use it for anything ā€œrealā€. So, what am I doing? ĀÆ_(惄)_/ĀÆ. I’m typing this in iA Writer for reasons I can’t explain. ...

Overcast 34.0 | Low 34.5, High 42.6
My mom and grandson playing piano

Wednesday, April 09, 2025

I’m supposed to be working on a new website for a family member. I’m 80% finished, but the final 80% is the uninteresting part and I don’t feel like doing it right now. Instead, I spent an hour this morning feeling like I should go back to using Lightroom Classic instead of Capture One, but I still prefer Capture One, so I’ll have to deal with the things I don’t like about it. ...

Overcast 28.0 | Low 26.1, High 48.2
Black and white photo of man cutting birthday cake

Roll 207 (Leica M3)

It’s my dad’s 84th birthday. I had the M3 with a roll of HP5.

April 8, 2025

Tuesday, April 08, 2025

In a mood, evidenced by changing Denote’s default file format twice in ten minutes.

Overcast 25.0 | Low 23.9, High 36.1
Black and white photo of my dog

Monday, April 07, 2025

I don’t know what to write about today. I’m sitting here at my usual desk typing into a full-screen Emacs frame with a few of my usual buffers open. I did end up giving up on Doom again. It’s just more than I want, even though it does a lot of nice things without my help. And I miss having SPC as leader key. I’m not doing that general.el thing again, either. Oh well, I guess it’s back to C-c or C-x for everything. ...

Overcast 33.1 | Low 22.6, High 39.2

Feynman on computers

ā€œThere is a computer disease. Anybody who works with computers knows about it. It’s a very serious disease and it interferes completely with the work. The trouble with computers is that you ā€˜play’ with them!ā€ Richard Feynman, ā€œSurely You’re Joking, Mr. Feynmanā€

April 6, 2025
Black and white film photo of a bunch of film rolls

Sunday, April 06, 2025

I honestly don’t know whether the past few days of tinkering with Emacs evil-mode, Doom, etc. was fun or a complete, confusing waste of time. Right now I’m thinking the latter.

Clear 34.0 | Low 31.6, High 52.2

I don't care what you think

I don’t mean to be rude, but I don’t care much what you think. OK, that’s not exactly true, I care deeply what you think. Maybe it’s more accurate to say that I don’t worry about what you think. Are you mad that I keep switching platforms? Sorry, not sorry. Are you annoyed that I use words like ā€œjustā€ and ā€œmaybeā€ and ā€œreallyā€ too often? Yeah, me too. We’ll get over it. Does it bother you that I don’t do enough throat-clearing before mentioning something that has become problematic? You’ll be fine. Would you prefer that I only write about Emacs? Not happening. ...

April 5, 2025
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
Ā« Prev  Next  Ā»
Ā© Jack Baty | Ā· Powered by Hugo & PaperMod