Collecting my attempts to improve at tech, art, and life

2021-12-30

Tags: hackers-town look

Does any of this enlighten, entertain, or otherwise please you? Please consider a Tip. Every little bit helps!

I last updated this page

Meanwhile, weather

thick layer of snow over the back yard

Would you look at that? Seattle got some actual weather.

What else?

Been keeping myself busy with the JavaScript static site generators. Last week’s Astro experiment got slow so I’ve been messing with Eleventy.

Probably my last note of the year, so: Happy New Year!

Activity Log

hackers.town: 2021-12-30 Thu 12:50

Using Typescript via ts-node for a utility script. Wouldn’t say that makes things easier, but it’s making it easier to figure out where I screwed up.

hackers.town: 2021-12-30 Thu 16:21

OW MY BRAIN

but hey I got eleventy-img resizing and nunjucks macros w/o pushing extra args everywhere

by splitting out a separate image manip phase, save metadata, and grab site image metadata on load for the image shortcode so that’s cool

BUT OW MY BRAIN

hackers.town: 2021-12-30 Thu 16:24

Couldn’t use an async image shortcode because Nunjucks macros don’t support async and about 1/3 through decided I’d rather have macros than on-demand resizing for rarely changing images.

Also knocked (2nd) build time back down to 20s.