Random Geekery

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

These are my notes!

cover image
Time to start reading Domesticate Your Badgers

Took part in the crowdsource thing for Domesticate Your Badgers: Become a Better Writer Through Deliberate Practice by Michael Warren Lucas. Now I got my PDF and it’s time to start studying.

Slowly pulling in tools for site flow

Made a toot with Masto. Kinda need that for content syndication.

Here's my toot
Here's my toot

The Mastodon Twitter Crossposter works great, but waiting for the announcement toot to show up as a tweet was a tedious manual step that I hope to discard. So I figured out how to make a tweet with twitter-api-v2.

Those are the pieces I need to get POSSE syndication working in this Eleventy iteration of the site.

Now I just need to staple those pieces together, grab a sharpie, and label it “workflow.”

Eleventy 1.0 beta handles custom templates

I got Eleventy handing Sass processing more or less per the instructions.

Course, now I’m thinking how I could use that for Asciidoctor templates / content.

cover image
meanwhile, weather

Would you look at that? We 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. There’s a repo mirrored to Github if you want to see the carnage.

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

cover image
I got Astro working!

Astro’s great once you get started. A bit funky if you have twenty years of legacy content.

Rather than do my usual — a screenshot and maybe a “lesson learned” post — this time around I made a public repo and live instance of this in-progress experiment available for your entertainment and edification.

Oh and lesson learned: components are fussy, and the errors don’t always happen where you expect. Treat all your imported HTML as XHTML, and look for stray { characters. You might need to convert those to {.

Took me months to figure that out. Hopefully it saves you a few hours of confusion.

cover image
Logseq sure does work hard at being friendly

Talking about Logseq, a knowledge management tool roughly equivalent to Obsidian or Org-roam.

There’s just so many little affordances. Not even talking about the built-in query language or graph view. Those are full-on features, which other tools match or sometimes exceed. I’m talking about little things like t t to toggle between the light and dark mode of your current theme. It’s just nice to use even before you get to tweaks and plugins.

Logseq documentation has the full list under Keyboard Shortcuts but here are a few that I’ve built up muscle memory for:

Keys Action
t t light / dark theme
t r right sidebar
t l left sidebar
t d list / document mode
cover image
My Org Config! It's back!

Side effect of a little computer housekeeping is a nearly fresh config. Rather than just drop in my dotfiles directly, decided to revisit my old org-config pages.

Still need to get my Neovim init.lua on there.

Update 2021-11-10

I added my neovim config.

cover image
Drawing and site shuffling are coping techniques

That says it all, really. Been a stressful oh I don’t know let’s say year and a half or so.

Tweaked and reloaded the Picnic CSS-based theme I had a while back. I missed it. Buried my bookmarking links — they’re still there for now, but I have another idea how I want to handle the “info dump” section of the site. I’ll also revisit the org-config section, since it still gets traffic even though I buried it months ago.

And then there’s the drawing. More hours, days, and weeks of manual symmetry in Linea Sketch. Got a store refresh planned for the art! That was what sparked the site shuffling. Wanted a clean slate for my money-grubbing.

cover image
Try Riv if you like Vim and reStructuredText

Riv is a wiki, but feels like more of a notebook. Think Deft for Emacs with journaling and HTML publishing. What makes Riv interesting — aside from the Vim thing — is that it uses reStructuredText for its native format.

It works well enough, especially once you build up muscle memory for Riv’s leader sequence C-e. Don’t overload it right away though! It includes some insert mode mappings, which can get real confusing if your preferred leader is a space.

Meanwhile I got a lot of neovim ideas. Course, I need to get some more practice in with pynvim first. And I suppose some more practice with Riv.

winget is pretty slick now

Just updated PowerShell via winget, Microsoft’s command line package manager. And Firefox. And Volta. And HeidiSQL. And Alacritty. And Go. And some other stuff.

Trying to recover a post about markdown-it-py that I accidentally deleted, so I won’t sidetrack myself with a detailed follow-up on the last time I really looked at winget.

Instead, here’s the TIL:

winget upgrade
shows what’s out of date
winget upgrade --id=<package.id>
upgrades a package
winget upgrade --all
upgrades everything.

No “Run As Administrator” needed, though you need to click the UAC dialog. Another caveat: it’s coming from the application’s own download servers, not some Azure-backed central repository. Sometimes the fetching may take a minute.