Shallow Thoughts : : May

Akkana's Musings on Open Source Computing and Technology, Science, and Nature.

Wed, 15 May 2024

Antifreeze and Critters

[Lizard inspecting a rock for traces of that yummy antifreeze] My Miata blew a radiator hose and dumped out all its coolant, so I needed to do a radiator flush and fill.

Turns out that's kind of a nasty job on an NB (second-gen) Miata. The radiator drain plug is accessed through a hole in the tray under the engine. Once you get it loose enough that coolant has started to drip out, if the screwdriver slips, it's impossible to get it back on without getting coolant all over the screwdriver, flashlight, your arm, your face and hair, etc. And once you do manage to loosen it enough, it pops out, sending coolant gushing everywhere onto the engine undertray, from which it comes out the back and sides and it's impossible to catch it all in a drain pan.

So that left me with quite a mess to clean up afterward. I started by pouring the used coolant into a container with a secure cap: I've always heard warnings about how kids and pets will try to drink the poisonous stuff because it tastes and smells sweet. We don't have kids or pets, but there are plenty of wild critters and we want them to stay healthy too.

Read more ...

Tags: ,
[ 15:23 May 15, 2024    More nature | permalink to this entry | ]

Fri, 10 May 2024

New Hiking Route: Ancho Rapids to Lower Water Canyon

[Panorama of the Rio Grande from the River Trail just north of Ancho Rapids] Can you follow Lower Water Canyon (in the DOE open space lands south of White Rock, NM) all the way to the Rio Grande?

In the decade we've lived here, we've heard that question and asked it ourselves, and have heard a few anecdotal reports. You can follow it down most of the way, but there's a pour-off near the end that you won't want to do without a rope. Or there was a pour-off fifteen years ago that wasn't that big a deal, but it's changed since then and isn't passable now. Or ... well, anyway, the story kept changing depending on who we asked, and nobody seemed to have tried it in many years.

Now I've done it. It's a beautiful hike, and right now there's an abundance of wildflowers in bloom along the canyon.

Read more ...

Tags: , ,
[ 12:42 May 10, 2024    More hikes | permalink to this entry | ]

Tue, 07 May 2024

Bighorn on the Trail

On a mountain bike ride on the White Rock Canyon Rim trail yesterday, we stopped at one of the overlooks to admire the view, and turned to see three bighorn sheep crossing the trail behind us.

[Two bighorn sheep crossing a trail]

Read more ...

Tags: ,
[ 13:04 May 07, 2024    More nature | permalink to this entry | ]

Sat, 04 May 2024

Creating an Image with Wrapped Text using the Python Imaging Library

I stumbled onto the page for this year's Asimov's Magazine Readers' Award Finalists. They offer all the stories right there -- but only as PDF. I prefer reading fiction on my ebook reader (a Kobo Clara with 6" screen), away from the computer. I spend too much time sitting at the computer as it is. But trying to read a PDF on a 6" screen is just painful.

The open-source ebook program Calibre has a command-line program called ebook-convert that can convert some PDF to epub. It did an okay job in this case — except that the PDFs had the wrong author name (they all have the same author, so I'm guessing it's the name of the person who prepared the PDFs for Asimov's), and the wrong title information (or maybe just no title), and ebook-convert compounded that error by generating cover images for each work that had the wrong title and author.

I went through the files and fixed each one's title and author metadata using my epubtag.py Python script. But what about the cover images? I wasn't eager to spend the time GIMPing up a cover image by hand for each of the stories.

Read more ...

Tags: , ,
[ 13:52 May 04, 2024    More programming | permalink to this entry | ]