Aaron's Stuff

Fixing BBDB in Emacs with bbdb-migrate

I recently upgraded Emacs and BBDB, and it stopped working to auto-complete addresses in Gnus. The error turned out to be that it was trying to run bbdb-migrate to update the database, and I wasn’t loading that. So I just needed to add this to my .emacs: (require 'bbdb-migrate) And do a C-x C-e at the end of that line to execute it. Then the next time I tried to use BBDB by auto-completing an address, it took a few moments to migrate the database, then worked fine.

Change to org-agenda-time-grid in Org 9.1

Another small one that others might be searching for. The upgrade to Org 9.1 included a change to the arguments in org-agenda-time-grid, adding a new one and rearranging them a bit. This was my previous setting (from Bernt Hansen’s config): (setq org-agenda-time-grid (quote ((daily today remove-match) #("----------------" 0 16 (org-heading t)) (0900 1100 1300 1500 1700)))) And now it’s this: (setq org-agenda-time-grid (quote ((daily today remove-match) (0900 1100 1300 1500 1700) " " ".

Switched from ido-mode to ivy-mode for org-mode completion

I used ido-mode for completion in org-mode for a long time, based on settings I got from Bernt Hansen’s Org Mode config. Recent changes to Org for version 9 have broken a few things. One is that org used to have its own hook into ido-mode for completion on things like refile tasks, using the variable org-completion-use-ido. That no longer exists. The docs say it can use a completion engine via completing-read, but while researching how to do that, I ran across ivy-mode.

Design Notes on a MULE-type Game

I’ve been playing some Stardew Valley lately. I got it from gog.com for $15, which is the most I’ve spent on a game in a long time. It’s a very well-made game, and even more impressive when you find out it was done by one man. Not many people can code well enough to make a complete game work, and do good graphics, and do good music, etc. Most games are made by teams of people with different skills, and when one skill is missing, it shows.

Fixing Org-protocol issue with conkeror

I have a function in conkeror that saves a web page’s URL and title, along with any selected text at the time, in Emacs/Org-mode as a captured task, when I hit C-c r. It does this by feeding an org-protocol command through emacsclient. A recent upgrade of org-mode broke it, so I had to change it up a bit. The function in my .conkerorrc used to look like this: function org_capture (url, title, selection, window) { var cmd_str = 'emacsclient "org-protocol://capture:/w/'+ url + '/' + title + '/' + selection + '"'; if (window !

I Left Him Cheese

I was reading through some old notes, and was reminded of this Dairy Council ad. It’s been almost 20 years, but thinking of that little girl’s grinning last line still makes me chuckle.

Putting My Old Usenet Posts Online

I was hunting through my old Usenet posts recently, and thought it might be useful to put them online for searching. Google still has the Groups archive, but it’s clear that they’ve started scrubbing things politically, so who knows how long that will survive. These are from 2002-2008, which must be when I mostly stopped using Usenet. I keep trying to get back into it, but unfortunately it’s kind of a wasteland now.

Getting bwn driver working on a Dell Latitude D520

I run FreeBSD on a Dell Latitude D520 laptop. One issue in installing it is that the wireless doesn’t work out of the box, so you have to install firmware for it. In this machine’s case, the needed firmware is in the net/bwn-firmware-kmod port. So you have to connect with the Ethernet port long enough to get that installed, or pull it in some other way, like a flash drive.

Starting the Gardening Year

It’s time to start working on the garden. Actually, a little past time. I planted a double-row of peas about ten days ago, as well as lettuce, parsnips, radishes, and carrots in the little bed in the grotto. The cold weather last week made that seem too early, but those things should still come up. I have a lot of leftover seed that germinated okay last year, but it might be iffy this year.

Hammer All the Cores

My current workstation has 8 CPU cores (each core can handle a stream of instructions independently, so it’s more-or-less like having 8 CPUs – 8 different “brains” that can each be running its own thing at the same time). My last computer had 2, so I’m guessing my next one will have 32. They seem to be hitting a wall on how fast a single CPU can be, so the next best thing is to stack more and more of them together.