Shallow Thoughts

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

Mon, 03 Nov 2025

Finding the Bounding Box of a Dataset

Yesterday I wrote about PyTopo's difficulty in displaying a large all-US dam dataset. I've finally fixed the bug ... though it's still very slow to display the whole dataset: you have to wait a minute or more to redrew if it's zoomed all the way out to show the whole world.

Wait, the whole world? I thought this dataset was for all dams in the US?

Yes, in theory. In practice, not so much.

(I'm going to cheat a little bit and call this 30 Day Map Challenge Day 3: Polygons, because a bounding box is a polygon and I've spent so much time on this that I definitely don't have time to do any other 30 day projects today.)

Read more ...

Tags: , , , ,
[ 16:21 Nov 03, 2025    More mapping | permalink to this entry | ]

Sun, 02 Nov 2025

Plotting Dams (30 Day Map Challenge Day 1: Points) and a PyTopo Tweak

[Map showing dams in maybe a 100-mile area centered around EspaƱola, NM] The 30 Day Map Challenge started yesterday, and already I'm a day behind. (I'm not going to try to keep up; I'll be sporadic about challenge entries.) Day 1 was Points.

The website for the challenge has an interesting list of possible data sources, and clicking around them, I found one that looked like a good quickie: a Data is Plural entry that mentioned a dataset from the National Inventory of Dams that lists all dams in the US. That sounds like a useful thing to have.

Read more ...

Tags: , , ,
[ 16:24 Nov 02, 2025    More mapping | permalink to this entry | ]

Tue, 21 Oct 2025

Los Alamos No Kings Protest

[A row of protesters standing on the edge of a sidewalk facing a street, holding a variety of signs. In the center someone is holding a large (more than human sized) inflatable alien and a sign: WE THE PEOPLE WILL NOT BE ALIENATED] The Los Alamos No Kings protest on Saturday went well. I won't try to estimate how many people showed up (I haven't seen estimates in the papers, either) but there was quite a variety of signs and people were having a lot of fun.

Read more ...

Tags:
[ 09:25 Oct 21, 2025    More politics | permalink to this entry | ]

Fri, 17 Oct 2025

Gratuitous Firefox Changes: Wider Minimum Width in Firefox 144

I just updated to Firefox 144 and discovered that when I narrow my Mastodon window to its minimum size, it no longer fits in the space between my mail and IRC windows. I suppose I could reduce the IRC window even further, but I don't want to; the sizes I was using yesterday were fine.

I ask you, what was the compelling reason that Firefox users had to be prevented from using a 450-pixel wide window? What is up with Mozilla developers? (And why do I still put up with random time-wasters like this?

Read more ...

Tags:
[ 12:00 Oct 17, 2025    More tech/web | permalink to this entry | ]

Sat, 11 Oct 2025

Split a Multi-page TIFF Into Separate Files

My cardiologist wanted me to wear a heart-rate monitor for two weeks.

I'm still hoping I can get the raw data eventually (the company's tech support promised me it was possible), but meanwhile, the data available for download on the medical portal was a text file plus a large TIFF. It turned out the TIFF had 14 subfiles (which is apparently what you call separate images inside a TIFF). I don't have any viewing tools that will let me easily page through TIFF subfiles, so I wanted to split them so I could step through them easily.

Read more ...

Tags: , , ,
[ 19:51 Oct 11, 2025    More linux | permalink to this entry | ]

Wed, 01 Oct 2025

Flying Fluff and Spiderwebs

[Looking up at tall trees from the forest floor; one of the trees is blocking the sun so there's a flare around where the sun is] On a recent bike ride up at the East Fork trail, Dave had to go back to the car to get something he'd forgotten, leaving me guarding his pack.

It turned out that was a blessing in disguise. While I waited, looking up at the spectacular backlit sky high above the ponderosas, I saw hundreds of little fluff pieces floating by, highlighted and glowing from the sun behind them. Occasionally, I'd see long filaments drift past: I assume they were strands of spider web, perhaps with tiny baby spiders attached, invisible at that distance.

I tried to capture them on phone video, but unsurprisingly, the video wasn't good enough to capture them, and neither were the still photos.

Tags: , , , ,
[ 14:41 Oct 01, 2025    More hikes | permalink to this entry | ]

Sat, 27 Sep 2025

Apache has decided websites shouldn't have their own /javascript

Someone sent me an alert that my Galilean Jupiter's moons simulation and SatSat Saturn's moons simulation pages weren't working.

Sure enough, they weren't. The error console said Loading failed for the script with the name of a calendar widget I use, along with the CSS it uses, both loaded from a directory inside /javascript on my website, the same website where the moon simulations are running.

I checked the logs: sure enough, references to those files were returning 404 in the access log, with nothing at all in the error log. The files were clearly there, and world readable, so it wasn't a permissions problem.

Read more ...

Tags: , , , ,
[ 13:29 Sep 27, 2025    More tech/web | permalink to this entry | ]

Tue, 09 Sep 2025

Decoding a Specialized E-bike FIT file

My Review of my Specialized Turbo Levo Kids ebike mentioned that the Specialized phone app had some fun features, but also some annoying problems. (I'm using it on Android. Dave doesn't use the app on his iPhone, so I don't know how the iPhone version compares.)

Read more ...

Tags: , , , ,
[ 17:39 Sep 09, 2025    More bike | permalink to this entry | ]