note

02
Oct

Fixing NPM permissions errors on WSL

Saving this one for posterity since I seem to run into something like this once every couple of months. Really gotta get a Mac for my next dev machine.

sudo apt update && sudo apt upgrade -y

# Since you mention that you have set your user to be root:
sudo sh -c 'echo "[user]\ndefault=root" > /etc/wsl.conf'

wsl.exe -l -v
# Confirm your distribution name for the following command:
wsl.exe --terminate Ubuntu

Credit to this StackOverflow answer.

20
Jun

Home Assistant Is Astonishingly Easy To Set Up On Synology

Just a quick shout-out to Home Assistant, who have relatively easy-to-follow documentation for setting the app up on a Synology NAS. Just download the container, add your time zone, make sure it's set to use the "host network", and make sure port 8123 is open on your firewall. I'd been putting off setting this up given the usual amount of lift involved in getting something new runing on my homelab, but it only took me about 10 minutes. Finally no more fiddling with the Hue app, and K can purchase (some) smart devices without me getting all mad about proprietary software and security.

06
Feb

#100DaysOfWriting

In googling for a stock image to put at the top of today's post, I discovered there's already a #100DaysofWriting movement. Apparently it's quite popular!

The whole thing is based on showing up to the page with curiosity and gentleness. 'Showing up' can look like whatever you want. Five minutes of note scribbling? That counts. Research reading? That counts too, just as much as writing 1000 words. The point is regular connection without judgement.

These people think it's okay to "set reasonable expectations for themselves" and "not make a demented commitment like write something public-facing on their blog for 100 days straight". Absolutely disgusting. I would like to courteously invite anyone in this "gentle" 100 days of writing to meet me in single combat. While you were freewriting I was studying the blade (blogging).