@ireneista "undocumented bonus features" :bloblaugh:

@howtophil @Luther @antijingoist @mos_8502 @vkc

Sleepy time for this that’s somehow still going

So, I blew the dust off my blog and gave it an amateur design refresh. I think my favorite thing is the dumb web component that rotates the tagline under the main title. I couldn't come up with one - I came up with 30 and just crammed them all in.

blog.lmorchard.com/2024/03/11/

Added a few new features too, like using Pagefind for client-side search and a little light/dark theme toggle as is the fashion these days.

Still got more things in mind to do, but figured I'd just ship what I had so far just to feel like I'd accomplished something.

Really want to excise Disqus from the site for comments, run through their API and archive comments for past posts. Then, think about adding something fediverse-powered.

Also kind of want to add a guestbook and visitor counter for shits & giggles

Oh, and the other big-ish thing I'd like to do is work up a not-terrible build process for per-post web components. So if I want to tinker with more graphics & animation sketches, I can build those and embed them in posts with custom elements.

The fun / dumb thing about this blog is it's mostly all my own from-scratch code. Cobbled together my own static site generator that should be almost too stupid to work yet somehow does just fine.

It loads all of my 22+ years worth of posts (!) entirely into memory before spewing out all the HTML. It doesn't do anything particularly clever and I mostly understand it when I come back to the code months later.

github.com/lmorchard/blog.lmor

A surprising thing about my dumb code is that it manages to build the whole site of about 1200 posts along with index pages for dates and tags in just over 7 seconds on my MacBook Pro.

I keep meaning to apply some optimizations. Maybe add a file watcher so it'll selectively just rebuild what I'm currently editing. Maybe incrementally build only what's changed since last git commit.

It's not hard to imagine that I could improve upon that whole 7460ms that the last run took, but it just doesn't seem all that pressing

us politics; jd vance; shitpost

vance: "i love your couch!"

me: "get out"

re: food

@voltur that is an inappropriate level of everything

#

Les Orchard
2024/07/26