Both my EGO self-propelled mower and old twin-over-full bunk bed sold and taken away today. Yay! Next up, The Rolling Stone camper and Ecotric eBike.
Searching for a Search Solution
A few months ago I sat in on a CFE.dev webinar and I was really impressed with what I saw. I made a note to come back and look closer at Pagefind, and my new blog – this blog that you’re presumably reading right now – really needed a search feature, so the “Search” box on this page (I hope it’s there) is the outcome.
Glad I Found Pagefind
So, I started looking closely at search options and considered things like Lunr, which I’ve used before, and Solr, which I both love and hate (because of its JAVA roots). Pagefind was, of course, also on that short list and it quickly solidified its position at the top of the list when I found Adding search to an Eleventy site by Mike.
Continue Reading »Last evening I followed Using PageFind with Eleventy for Search to try and implement robust search capability in this blog. I’m working in a new pagefind
branch of the code to pull this off.
Barb came in this afternoon and sprayed broadleaf control on the out-of-control “Snow on the Mountain” around the house.
Completed my third soccer officiating assignment tonight… STC middle school girls and boys doubleheader, plus two B-games, vs. Williamsburg. Another 2.5 hours total play, but again, not too bad. I still have so much to learn!

Engaging `s3cmd` to Download and Resize Images from DO Spaces
Earlier in this blog there’s a micropost
that lays out the problem at hand. In a nutshell, most of the photos I saved in DigitalOcean Spaces are too big to be effective in this blog. They suck up lots of time and bandwidth every time this blog gets rebuilt, and then they are rendered at a fraction of their original size. This is exceptionall wasteful and unnecessary.
So, my task this morning is to install, configure, and engage the s3cmd tools to help get this done. There’s DigitalOcean-specific guidance provided in Setting Up s3cmd 2.x with DigitalOcean Spaces so that’s where I will begin. Here goes…
Continue Reading »Ok, I get the sense that constantly pulling enormous digital images from DigitalOcean Spaces to rebuild this blog is unnecessarily chewing up lots of bandwidth. Today I’d like to begin fixing that by creating a utility, probably in Python, to grab all those images one-by-one, make a smaller copy of each, and put those copies back into a web-ready
subdirectory in Spaces, or something like that.
There’s a wealth of probably pertinent information to be had in https://docs.digitalocean.com/reference/api/spaces-api/. Unfortunately, Spaces isn’t compatible with DO’s own command line utility, doctl, but it is compatible with s3cmd and the link I’ve provided documents how to get started with that. 🙂
Update: See Engaging s3cmd
to Download and Resize Images from DO Spaces for my solution.
Last evening I rode my bike to/from soccer so this morning I wanted to “merge” those two track logs before publishing them to https://hikes.SummittDweller.com. So, I found and forked https://github.com/locked-fg/gpxmerger to https://github.com/SummittDweller/gpxmerger and after tweaking my own code IT WORKS!
The command I ran to make my first “merge” was: python3 gpxmerger.py "/Users/mark/Downloads/2023-04-14 16:32 - 3m 11s.gpx" "/Users/mark/Downloads/2023-04-14 20:40 - 3m 27s.gpx"
. I think I might tweak the script soon to just pull all of the .gpx
files from a specified directory.
Update: My fork of the project now accepts a single target_directory
argument and uses “glob” to grab all the .gpx
files in that directory.
My knees and back are definitely feeling better than 2 weeks ago. Tonight I was AR2 for a varsity women’s match with Independence at STC. Final score was 11-2 on a very windy night, and it showed. The crew of TJ and Dustin did a great job and I feel like I learned a lot from them tonight. Thank you, gentlemen.
Tonight is the night we file our 2022 income taxes. Got nice little refunds from both Federal and Iowa, but all of my Fed refund is going toward first quarter estimated payments for 2023. 😕