Summitt Dweller's Blog

An old fart's memory dump: Lots of code, some life experiences, and a little humor. No politics!

Wrap EVERYTHING in NPM!

Wrap EVERYTHING in NPM!

 2023-05-19

So, node and npm seem to be all the rage these days, and perhaps for good reason. I recently fell in love with Eleventy/11ty   over Hugo   because it’s Javascript, not Go, and it’s elegantly simple with tons of flexibility. I recently tried to add Pagefind search to a Hugo static web site (see https://static.grinnell.edu/dlad-blog/posts/143-significant-rootstalk-retooling/   ). If Rootstalk, an Azure Static Web App was framed in node.js, as both Eleventy and Pagefind are, there would be no problem.

Read more… ( ~4 Min.)
A Pagefind Problem?

A Pagefind Problem?

 2023-05-10

Not Just a Hugo Issue Take note of the question mark at the end of the title, otherwise it could be somewhat misleading. This is not really a problem with Hugo, but one with cloud deployment of Hugo static apps, particularly as an Azure Static Web App. The Nutshell As you may know from post 143   , I have successfully installed and configured Pagefind   in Rootstalk   , but thus far it only works locally.

Read more… ( ~4 Min.)
Searching for a Search Solution

Searching for a Search Solution

 2023-04-20

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).

Read more… ( ~7 Min.)
Engaging `s3cmd` to Download and Resize Images from DO Spaces

Engaging s3cmd to Download and Resize Images from DO Spaces

 2023-04-16

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.

Read more… ( ~7 Min.)
Debugging This Blog with VSCode

Debugging This Blog with VSCode

 2023-04-04

I’m making some significant changes to the code behind this blog today. Specifically, I’m going to move my micropost “front matter” from the post.excerpt or post.custom_excerpt field to the “body” of the post where it might look like this example (taken from this very post): -+-+-+ location: Toledo, IA price: $50.00 note: This is just some sample "front matter". My parser removed the "split" characters from the delimiter you see here.

Read more… ( ~3 Min.)
Finale Workflow Documentation

Finale Workflow Documentation

 2023-02-08

Mackenzie, my daughter, and I created this post documenting my wife’s Finale   workflow for scanning and editing music on her Mac. We did this for my wife to celebrate her birthday preserve her sanity. Well, it was worth a shot. The birthday idea seemed more romantic, but mental health comes first. The document was created using a process we recently built and documented in Creating Better Documentation   . In this instance of the process we tried to annotate in yellow screen capture elements that need attention, and used red annotation to indicate things that require input or action of some kind.

Read more… ( ~3 Min.)