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

Fixing my duplicate email fiasco with rmlint in Maildir

Remember my recentĀ email fiasco, during which I ended up with tens of thousands of duplicate emails? I remember it. After storming off and ignoring the problem for a week, I decided I should do something about it. Today, I fixed it! ...

January 27, 2025

Bringing Apple Passwords into Pass

I have a soft spot forĀ Pass: The Standard Unix Password Manager, but Apple’s new Passwords app has been working fine. I use Safari, so the whole thing is very convenient.Ā Sometimes I get twitchy about having things in only one place, so today I decided I’d like to import my Apple Password passwords into Pass. It took me a minute, so I’m jotting down some notes here, for next time. ...

January 24, 2025

An email fiasco

All I wanted was to useĀ notmuchĀ on my MBP to manage email, just like I do on my Mac Mini. The only viable solution I found wasĀ muchsync. There’s no macOS installer for it1, so I figured I’d compile it myself.Ā A few years ago I promised myself that if something requiredĀ ./configure && make && make installĀ I would skip it. Well, IĀ reallyĀ wanted to try it, so off I went. TheĀ makeĀ command failed immediately because it couldn’t find notmuch.h. Great, path problems. After an hour of throwing things at the wall, adding some environment variables worked: ...

January 20, 2025

Journaling changes

ReadingĀ Jeremy’s post about keeping his personal journal helped clarify some of the thoughts I’ve been having about mine. Some Entries from My Personal Journal: On Tuesday the 12th of November, 2024, I started what I hoped to be a new habit. That is writing a personal daily journal. Over the weeks, I expanded my aspirations to include a daily check list of activities I wanted to do. I’ve been consistently keeping a personal journal for years. I write primarily usingĀ Org-journal, a Daybook.org file, and a paper notebook. My problem isn’t that I don’t journal enough, but rather thatĀ I can’t decideĀ whereĀ to journal.Ā ...

January 18, 2025

Vanilla to Doom to Vanilla

I’d been happily using Doom Emacs until just over a month ago, when I decided toĀ start from scratch again.Ā ...

January 17, 2025

Roll 195 (Hasselblad 500C/M)

Sometimes I just need to blow through a roll when I’m bored. This is from the Hasselblad 500C/M and 80mm Planar on HP5 developed with HC-110(b). Thankfully, Alice was handy. These were all handheld at 1/30th, which is a terrible idea. The one of me is underexposed and full of dust. ĀÆ\(惄)/ĀÆ ...

January 17, 2025

2025 Roll 194 (Olympus OM-2n / HP5)

Here are a few images from the first roll I ran through the Olympus OM-2n after having it overhauled by John Hermanson. The camera feels very good. ...

January 16, 2025

Adding weather to my Fish welcome message

Fish shell welcome message showing weather conditions For some reason, I always want to know the weather conditions. I barely go outdoors, but I still like to know what’s happening. I have a few shell scripts that kick out some version of the weather. Here’s the one I use most: #!/bin/sh # Jack Baty, 2023 (https://baty.net) # Grab and parse weather info using WeatherAPI.com jq=/opt/homebrew/bin/jq # Save the response to temporary file # TODO: shouldn't this just be a variable or something instead? weatherfile=`mktemp` curl -s "https://api.weatherapi.com/v1/forecast.json?key=[SNIP]&q=49301&days=1&aqi=no&alerts=no" > $weatherfile now=`${jq} -r .current.condition.text ${weatherfile}` temp=`${jq} -r .current.temp_f ${weatherfile}` condition=`${jq} -r .forecast.forecastday[0].day.condition.text ${weatherfile}` high=`${jq} -r .forecast.forecastday[0].day.maxtemp_f ${weatherfile}` low=`${jq} -r .forecast.forecastday[0].day.mintemp_f ${weatherfile}` echo "${now} ${temp} | Low ${low}, High ${high}" Right now, this returns: Light snow 21.9 | Low 20.1, High 26.4 ...

January 8, 2025

GoAccess and HTTP Protocols

UsingĀ GoAccessĀ to process my web server logs is going fine. It’s nice not paying for an analytics service, but it’s definitely a messier process. I wrote a little aboutĀ Filtering server logs for use with GoAccessĀ recently, but have since tweaked things a little. One thing I found annoying was that GoAccess reports requests separated by HTTP protocol. So HTTP2 and HTTP1.1 requests are counted separately. Not what I wanted, so I discoveredĀ --http-protocol noĀ andĀ --http-method no. I’m always going to want this, so I added the following to /etc/goaccess/goaccess.config ...

January 7, 2025

Blog Questions Challenge (2025)

I was tagged byĀ Kev QuirkĀ to complete a ā€œBlog Questions Challengeā€, so here we go. The questions are: Why did you start blogging in the first place? What platform are you using to manage your blog and why did you choose it? Have you blogged on other platforms before? How do you write your posts? For example, in a local editing tool, or in a panel/dashboard that’s part of your blog? When do you feel most inspired to write? Do you publish immediately after writing, or do you let it simmer a bit as a draft? What’s your favourite post on your blog? Any future plans for your blog? Maybe a redesign, a move to another platform, or adding a new feature? ...

January 7, 2025

My first 3D print

Back when I regularly maintained a ā€œSpark file1ā€, I wrote the following on Aug. 26, 2012: Do something with a 3D Printer Me, in 2012 Today, I can finally cross that one off the list. It’s Benchy! The Bambu Lab A1 arrived yesterday, so I did what everyone does and printed the little ā€œBenchyā€ tugboat. The A1 only came with 20g of filament, and of course I forgot to order more with the printer, so the starter filament is all I had to work with. It’s so cute, though!l. k ...

January 4, 2025

Trying Ghostty

GhosttyĀ is a new, platform-native terminal app fromĀ Mitchell Hashimoto. I’ve been alternating between Ghostty and Apple’s Terminal for about a week. I like Ghostty. It feels nice right out of the box. Configuration is done via a simple text file, but almost no configuration is necessary. Sensible defaults always make a good first impression, and Ghostty makes a really good first impression. Most of the early reviews I’ve read begin with raves about how fast Ghostty is. Is it that fast, though? It’s pretty fast, actually, but it’s not noticeably faster on my Mac than Apple’s Terminal. I keep comparing the two, and I find no meaningful difference in speed for anything I do with a terminal. It’s not slower than Terminal, certainly, but I suspect that all this talk about speed is partially because we like new things and because everyone elseĀ saysĀ it’s fast. We’re an impressionable lot šŸ˜€. ...

January 4, 2025

Handling Kirby content vs code

One of the things that frustrated me about Kirby last year was handling code/template changes vs content changes. IĀ complained about it here. Ideally, since Kirby is a PHP CMS, I would do everything directly on the server. What I’ve done more often instead, is to run a full copy locally and rsync the final product (code, blueprints, content, images, etc.) to the production instance. Content is kept in plain text files, so both code and content changes need to be kept in sync.Ā ...

January 2, 2025

The Notebook Situation for 2025

It’s the same old story. I don’t know whether I want to use one or multiple notebooks. Or even if I want to use paper notebooks at all. Here are some random thoughts about my intended notebook use for 2025. Each year for the past 13 years I have ordered a Hobonichi Techo. Some years, I write in one nearly every day. Other years, I fill the first few pages, then it remains mostly blank for the rest of the year. This morning, I (optimistically, as always) set mine up for 2025. ...

January 1, 2025

Reduce & Simplify - Redux 2025

I like the idea of building my own Emacs config, so I set Doom aside and (re)built my own configuration (mostly) from scratch.

December 31, 2024

Saturday, December 28, 2024

I don’t feel like writing full-on blog posts, lately. What I’m interested in is journaling…in public. I don’t like this Hugo template for that purpose, but I have learned that changing Hugo templates isn’t worth the trouble. Now what? I want to be entirely self-sufficient, but I don’t want the job of maintaining anything. How’s that supposed to work? DVD is dead. Long live DVD. In a media landscape where the only sure thing is that there are no sure things, our best bet is still to put a disc in a drive ...

Overcast 51.1 | Low 38.5, High 47.1

Friday, December 27, 2024

I was working on a little shell script for generating GoAccess reports on the web server but I was running into a minor problem that I couldn’t figure out. I asked ChatGPT for help and immediately had the solution, and a better overall script than I had written. The side effects of LLMs suck, but there’s no denying their utility right now. I feel dirty, but I have a nice script, I guess? ...

Mist 39.0 | Low 34.0, High 38.3

Thursday, December 26, 2024

I’m deleting a bunch of old files. There’s a significant psychological difference between ā€œzipping them up and putting them on some hard drive somewhereā€ and actually deleting them. Deleting, where feasible, is better.

Fog 32.9 | Low 32.4, High 37.6
You woke me for this?

Wednesday, December 25, 2024

It’s Christmas šŸŽ„. Organizing things. da Vinci.

Fog 32.2 | Low 31.5, High 35.8
My beloved Focomat IIc Enlarger

Tuesday, December 24, 2024

I was going through my Braintoss messages and this one from April, 2023 jumped out at me: there’s a low-level specific pain in having to accept that putting up with you requires a certain generosity of spirit in your loved ones Ouch 😬 (It’s from ― Emily St. John Mandel, Sea of Tranquility) Also this one: The thing I miss most about working is canceled meetings. And this: ...

Mist 30.7 | Low 28.2, High 33.4
Ā« Prev  Next  Ā»
Ā© Jack Baty | Ā· Powered by Hugo & PaperMod