Hacker's Diary
A rough account of what I did with Emacs recently.
- August 23
- Once upon a time I was delighted to gain access to a machine
where "accidentally ran Emacs" wasn't a system-halting event. Now
I'm dealing with systems where "accidentally asked the package
manager to install Emacs without specifying some sort of minimal
install" is a whole "stop whatever you were doing and go take a
coffee break" event. (117 packages installed.)
This took inordinately long to find out: if you configure a
raspberry Pi with the imager with a specific WiFi network and
decide that maybe you didn't want that (because let's say
hypothetically speaking you actually intended setting up a wifi
AP), nmcli connection show to find the damned thing and
nmcli connnection delete to kill it. In my day we
hand-edited files and drove to the DC at 4am to reconfigure from
the console after accidentally destroying the remote
connection. Kids these days etc.
- August 22
- Ok, that's annoying. Using Tramp to edit a file on t'other Mac,
and something keeps deciding to write the file Mac stylee
(as in, CR line-endings).
- August 19
- Back to the busted Raspberry Pi. This time I grabbed the imager
from the Raspberry Pi OS website and installed a headless version
of trixie configured to boot onto the wifi network. Amazingly it's
worked: in the process I discovered this is a Raspbery Pi 1B and I
expected all manner of failure from it. In the fine fashion of
these things the freshly installed OS has 90 pending
updates.
There is something slightly perverse about installing
unattended-upgrades and then running it manually in debug
mode in a terminal.
- August 18
- Celebrating "we did" for the 15th time!
- August 17
- Pleased to discover that a little hackery renders ebooks.com's
shift to LCPL-format files effectively something I don't actually
care about.
- August 16
- Today's discovery comes in two parts: "why can't I connect to
this site using requests? It blows up with a SSL error!"
Answer the first, my installed version of requests appears
to be configured-by-default to reject TLS earlier than 1.3, and
answer the second, this very website is running TLS 1.2. I think the
latter is a facet of various other legacy thingery that I've needed
to deal with for several months now; the former seems a bit odd, but
is reproducible so it does seem like my interpretation of the
situation is correct. I mean, I could go read code and do some more
tests, but for the purposes of what I'm up to this is
sufficent.
- August 15
- Doing some DIY and encountering the inevitable "stud behind
drywall is exactly where I wanted to put in fastener that needs
void behind drywall". Sigh. Fetch the power drill.
- August 14
- Oh hey, new season of Reacher.
Looking as big, dumb, and stupid (not really stupid) as previous
seasons.
- August 12
- Well, that went pear-shaped. Seems it may have installed
packages of the wrong architecture without noticing until it broke
the package tools. Something something scratch monkey something
something.
- August 11
- I'm sure I could do this more easily, but look, you work with
what you have at hand in the moment... which was a Raspberry Pi
with a NOOBS-imaged SDCard and a broken install of who knows
what. Reinstalled and found myself with Jessie and no viable
upgrades; hacked about the apt config a bit and got
upgrades to the most recent packages, but still Jessie. Copied the
apt config from another Pi running Bullseye, got a bunch
of key errors. apt-key adv --keyserver keyserver.ubuntu.com --recv-keys [...]
and now I'm about ready to try live-updating the thing to
Bullseye. The Mac sitting next to it is not running anything new
enough to handle the Raspian imager, btw, so if I want to do a
proper job of reimaging the boot partition I'll need to try
something else.
- August 10
- Trying to drag an old Raspberry Pi out of decrepitude, as you do.
- August 8
- Sharper was a lot of fun, mainly because of trying to figure out
the con behind the con behind the con. I picked up a few things,
but missed a bunch as well.
- August 7
- The Beast: well, that's 2 and a half hours of sheer terrible
that we're not getting back.
- August 2
- Wrapped Season 6 of Deep Space Nine. Woah. That was a bit of a
dramatic season wrap.
- August 1
- I've been meaning to watch Twisters for a while, and finally
did. It's fairly predictable and, well, does exactly what you'd
expect for this movie, which I think is a mild positive - they
didn't try to shoehorn in some sort of meaningful unexpected thing
that didn't belong there.
previous month | current month| next month