Jack Baty

Jack Baty - Director of Unspecified Services

Monday, May 16, 2022

I'm feeling very analog today. This is the opposite of how I felt yesterday, and likely the opposite of how I'll feel tomorrow.

/daily/2022/2022-05-16/Q1000120.jpg
Today's setup

Latest Posts

Some unremarkable pens the Internet made me buy

I'm an impressionable young man, and when I notice someone on The Internet raving about something, I want to feel that way, too. I often order whatever that thing is, only to be disappointed. For example, here are a few of the pens I bought after being told how remarkable they are. They're not that remarkable.

Publishing portions of my Org-roam database

I’m trying something new. I’ve become a pretty heavy user of Org-roam for personal notes. I put nearly everything there now; technical notes, contact information, project notes, vendor info, etc. These notes are all nicely linked and backlinked and live in my main ~/org directory so I can easily find things right within Emacs. A portion of these notes might be useful to other people. So I’m exporting the shareable notes from Org-roam as Hugo -compatible Markdown files.

Aligning comments in Emacs

I want my per-line code comments to line up nicely, so I’ll often add a bunch of spaces by hand to make things just so. I realized that, being Emacs, there must be an easier way to handle this. Of course there is. Two minutes of searching revealed a short bit of lisp that does the job nicely: 1 2 3 4 5 6 7 8 ;; Align comments in marked region ;; Via https://stackoverflow.

Roll-061 (Leica MP/ HP5)

As usual, this roll contained a few self-portraits, a few of Alice, and a few of “stuff”. My favorites are the ones taken in my dad’s garage. Alice. (Leica MP. HP5 Plus. 90mm Elmarit-M)" Alice. (Leica MP. HP5 Plus. 90mm Elmarit-M) Dad's workbench (Leica MP. HP5 Plus. 50mm Summilux-M)" Dad's workbench (Leica MP. HP5 Plus. 50mm Summilux-M) Self-portrait (Leica MP. HP5 Plus. 90mm Elmarit-M)" Self-portrait (Leica MP. HP5 Plus.

Configuring the org-download save directory

When I drag and drop an image into Emacs, I want the attached file to end up in ./img/YYYY/. This is how I tried configuring org-download in my setup (I use Doom Emacs): 1 2 3 4 (setq org-download-method 'directory org-download-image-dir (concat "img/" (format-time-string "%Y") "/") org-download-image-org-width 600 org-download-heading-lvl 1) For some reason, org-download-method was being reset from 'directory to 'attach after loading, and this broke things. I thought maybe I needed to set the variables after org-download was loaded, so I did this:

Posting from Emacs to WordPress using Org2Blog

I’ve settled on WordPress for this blog. (“settled” is a fluid word for me, but let’s assume I mean it for now). However, I prefer to do most of my writing in Emacs and Org mode. To help with this, I’ve configured org2blog and I’m writing this post with it. I’m using org2blog pretty much right out of the box. Just a single blog configuration with the following tweaks: 1 2 3 4 <div class="org-src-container"><pre id="nil" class="src src-emacs-lisp"><span style="color: #4078f2;">(</span><span style="color: #e45649;">setq</span> <span style="color: #6a1868;">org2blog/wp-track-posts</span> <span style="color: #a626a4;">(</span><span style="color: #b751b6;">list</span> <span style="color: #50a14f;">"~/org/baty.