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

A couple of Mu4e improvements

I usually prefer reading my email using Mu4e in Emacs, but the Vim (ā€œEvilā€) keybindings have been broken since upgrading to 1.10.x. (See this PR for background). This added so much friction that I went back to Mail.app and Notmuch. Recent changes in evil-collection have fixed the issue but weren’t available yet when updating Doom. The fix for now was to (unpin! evil-collection) in packages.el. Much better! Another snag I’ve run into while using Mu4e was that sometimes I also use Apple’s Mail on macOS and iOS and any messages I delete there would only be flagged as ā€œtrashedā€ in Mu4e, so they would show up in the inbox, cluttering things considerably. The fix for this was to set Expunge Both in my .mbsyncrc file. Also much better! That one has been bugging me for a long time. ...

May 6, 2023

Prepending creation date to selected files using AppleScript (macOS)

I try to name all of my files using the file’s creation date as a prefix. For example: 20230504-MyNewFile.txt If I forget, it’s a pain to rename them, so I created a short AppleScript to do it for me. -- Prepend Creation Date to selected files -- Install Location: ~/Library/Scripts/Applications/Finder -- Last Modified: 2023-05-04 tell application "Finder" set selectedItems to selection as list -- Loop through each selected item repeat with selectedItem in selectedItems set creationDate to creation date of selectedItem set fileName to name of selectedItem -- Prepend the creation date to the file name set newName to my stringFromDate(creationDate) & "-" & fileName -- Rename the file with the new name set name of selectedItem to newName end repeat end tell on stringFromDate(_date) -- yyyymmddhhmmss set _string to "" set _string to _string & my stringFromNumber(_date's year, 4) set _string to _string & my stringFromNumber(_date's month as integer, 2) set _string to _string & my stringFromNumber(_date's day, 2) return _string end stringFromDate on stringFromNumber(_number, _digitsToPad) return text -_digitsToPad through -1 of ("0000" & _number) end stringFromNumber I put the script into a Finder-specific folder, so it’s made easily available when Finder is the frontmost app: ~/Library/Scripts/Applications/Finder. (I use FastScripts to make things, er, faster). ...

May 4, 2023

Adding weather info to DEVONthink's daily journals

Since I use DEVONthink Pro (DTP) to index and store my notes and documents, I sometimes revisit the idea of using it to create notes. DTP includes a variety of built-in scripts for creating new content. These are mostly written in AppleScript. I was interested in the ā€œDaily Journalā€ template. By default, running the Daily Journal template would create a new Markdown document containing a random quote and a list of the 4 latest headlines from the New York Times website. I was OK with the headlines, but I didn’t feel the quote was necessary, so I replaced it with the current weather. ...

April 29, 2023

I can't be trusted with powerful software

It’s happening again. My love of powerful, complex software has overrun my ability to avoid tinkering. For example, I’ve spent several hours this week working on my Org-mode agenda display. Configuring org-super-agenda is tons of fun. It can make one’s Agenda absolutely sing and dance, which is not ideal for me because I’ve spent way too much time trying to teach it to sing and dance. I could have finished all of the tasks on my todo list in the time I’ve spent getting them to display just right. ...

April 27, 2023

I'm weary of all social media

Twitter was the place I liked to be from 2006 until 2022. Or more accurately, it was the place I liked to be from 2006 until around 2015. After that, it was the place I felt I needed to be. Still, I managed to curate my Twitter feed well enough to avoid most of the awful bits. I’m a CIS white male, which made it easier of course. Then Musk happened. I gave him the benefit of much doubt, hoping that just maybe he would ā€œfixā€ things. The opposite has happened so far, so I’m out. I visit every few days to see if I’ve missed anything from my friends still there, but otherwise, it’s no longer a place I want to spend time or contribute to. It’s quite sad, honestly. ...

April 27, 2023

Installing a new sprinkler system controller

I replaced our flaky sprinkler system controller this weekend. All by myself. The unit I chose was the Rachio 3 Smart Sprinkler Controller. They offer 4, 8, and 16-zone versions. My system has 9 zones because of course it does. The good news was that Costco sells a version with 12 zones for the same price as the standard 8-zone model. Yay me! ...

April 15, 2023

Another Mastodon move

I decided that a single-player Mastodon instance isn’t ideal. It’s overkill for one person, and it’s lonely! The #local feed is just me shouting to myself. That’s no fun. What’s the point in having a giant Rails app with all sorts of moderation tools, user management, and monthy costs if it’s just me? That’s what I thought, so I’ve moved. First, I considered heading back to fosstodon.org. The vibe there is kind of what it’s like to be in my head, but it also ends up feeling a little narrow-scoped, if that makes sense, so I decided against it. ...

April 14, 2023

Blot is just right

You may have noticed that once again things have changed around here. This time, it’s due to switching from WordPress to Blot. We’ve been around this block before, but lemme ā€˜splain1. I’ve switched from Hugo to Eleventy to WordPress within just the past several months. This is not surprising to any of you who’ve been following along. Sometimes I switch blogging tools because I’m mad at whatever I’m using. Other times I switch because I’m bored. This time it’s a bit of both. ...

April 8, 2023

Must we become what we're near?

I’ve seen a number of thoughts similar to this from Shane Parrish: We unconsciously become what we’re near. If you work for a jerk, sooner or later, you’ll become one yourself. If your colleagues are selfish, sooner or later, you become selfish. If you hang around someone who’s unkind, you’ll slowly become unkind. Little by little, you adopt the thoughts and feelings, the attitudes and standards of the people around you. ...

April 3, 2023

Printing daily.baty.net

At the end of each month, I convert myĀ Org-journalĀ entries into a nice PDF, print it, and put it into a binder. It occurred to me that myĀ daily.baty.netĀ website content is just a bunch of markdown files that could be treated the same as my org-journal files and perhaps printed as well. I started by concatenating March’s entries into a single Markdown file, like so: cat 2023-03*.md >> ~/Desktop/202303-MarchBlog.md The resulting file wasn’t in great shape for printing, so I had to clean it up. At minimum, I needed to do the following: ...

April 1, 2023

My read-later service is made of paper

I’ve tried so many ā€œread-laterā€ services that I can’t remember half of them. They’re all basically the same: visit a website, click a button, and the article is saved to a list somewhere with all the other articles I’ve saved. Some newer services get fancy with recommendations, UI improvements, social integration, etc. but they all just gather a list of articles that I almost never end up reading. But, you know, just in case, right? ...

March 30, 2023

Wavelength Messenger

This is not a review, but I wanted to jot down some notes after a few days in a new app that I’m enjoying very much: Wavelength Messenger. You might like to read John Gruber’s post for details. My wife believes that I have some kind of processing disorder that causes me to quickly become overwhelmed by too much simultaneous input. She discovered this after several visits to the local Costco. After a few minutes in a busy Costco, I sort of shut down and become surly. I can only think about leaving. I’m no fun in a Costco. ...

March 30, 2023

Nick Brandt on using a digital camera – I hated it

I brought a Hasselblad 60 megapixel medium format digital camera to Africa with me. I took photos side by side with my film camera. The digital camera’s images were sharper. They had more detail in both the shadows and the highlights. The digital camera made photographing very, very easy. And I hated it. … In fact, had I photographed using a digital camera from the beginning, I’m not sure that I would have liked a single photograph that I had ever taken. ...

March 23, 2023

Roll-104 (Leica M3/HP5)

It’s always surprising to me how many frames I don’t screw up when using the meterless M3.

March 19, 2023

More like everyone else

I’m wondering if I should become more like everyone else. Should I post ā€œ5 Tips to improve your workflow right now!ā€ articles on Medium? Should I be ā€œsuper excitedā€ to humblebrag about myself on LinkedIn? Should I fire up my Instagram account and splash gaudy ā€œstoriesā€ all over it throughout the day? Should I buy some neon background lights and work on an unnecessary 90-second musical intro to my upstart YouTube channel? ...

March 17, 2023

Back to Org-roam (from Denote)

Update: I think Org-roam is the right answer for most people, but I could not resist the simplicity and lack of dependencies of Denote, so I am back in Denote as of June, 2023. Using bothĀ Org-roamĀ andĀ DenoteĀ for my notes is not sustainable. I had to make a call one way or the other. I went with Org-roam. This is a bit disappointing because I prefer theĀ philosophyĀ of Denote. I like that Denote is agnostic about file types (I can mix and match Markdown and Org-mode files, for example). I like that it forces a consistent file naming scheme. I like that it doesn’t depend on Org-mode features or any other complex dependencies. I like that it doesn’t try to do too much, but is easily extensible. Plus, I’m not trying to build some sort of zettelkasten or anything, so simple is preferable. ...

March 16, 2023

Renumbering my index cards

When I started building a new index card note box, I followedĀ Scott Schepard’s leadĀ and used theĀ Wikipedia Academic DisciplinesĀ as the overarching structure. I’ve come to dislike that system. It’s too dependent on hierarchy, and one I don’t really follow. So, this morning, when trying to install a new note about Libertarianism (topical!), I became frustrated and renumbered everything. I’m now using a simpler, more Luhmann-like card numbering system. (Some would call it ā€œFolgezettelā€, but I’ll stick with ā€œnumbering systemā€). ...

March 14, 2023

Viewing Caddy logs by date in GoAccess

UPDATE: I’ve had trouble getting GoAccess to parse the logs consistently after changing the date format. I’ve been usingĀ GoAccessĀ on the VPS running my static sites for keeping an eye on web server access logs. It works great and requires no tracking scripts. I run a cron job every five minutes to process my site logs and generate an HTML report. This is fine, but GoAccess always processes the entire log file and offers no way to filter the results. Sometimes I only want to see stats for, say, today or for the past week. ...

March 12, 2023

The Spark File

Ten years ago, Steven Johnson wroteĀ The Spark File, in which he describes his process for keeping track of hunches, ideas, etc. in a single text file. I, of course, thought this was a great idea and immediately started keeping my own spark file. It began in 2012 and I was reasonably consistent with it until 2016. After that, there was a lull, but it picked up again for a short time in 2021, after which I sort of forgot about it. ...

March 11, 2023

A fix for backlink display with Org-roam and Doom Emacs

I’ve beenĀ tracking an issueĀ with the way backlinks are displayed that affects my use of Org-roam. Someone (hwiorn) finally discovered a workaround when using Doom Emacs: delete the compiled version of org-roam-utils. Like this: rm .config/emacs/.local/straight/build-*/org-roam/org-roam-utils.elc Now my links show up correctly. Finally! I’ll probably need to delete the file every time I sync or update but I don’t care as long as there’s a fix. It was driving me nuts. ...

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