javascript

07
Oct

Over my skis; posting into the void

I managed to nerd snipe myself yesterday by seemingly breaking the Bluesky profile attached to my self-hosted did:web when I deleted and rebuilt it. I am well out of my comfort zone right now - I don't really understand JWTs, dids, or the various application layers involved in the process of actually having a self-hosted PDS talk to an atproto app yet. Only way to learn is by doing, though, so here are the results of my initial investigations.

I ended up spending a few hours on this iterating with Claude and reading and re-reading the API docs. I

Read more
5 min read
02
Oct

Getting Collections From The Bluesky API

Yesterday almost immediately gave me pause about spending a month learning more about ATProto. Bluesky CEO Jay Graber is having a bit of an ongoing crashout about moderation and the general culture of Bluesky, in this case about the mods' ongoing work to appeal to right-wingers and alienate trans and other marginalized users. To some degree I'm sympathetic to the broader culture problems that Graber takes issue with. Bluesky is full of the type of people who are willing to leave Twitter for moral reasons, which results in a lot of people getting into each other's mentions being upset or

Read more
4 min read
01
Oct

ATProto Statusphere Setup In WSL, Pulling Records from Bluesky

For today, the first day of my 30 Days of Protocols, I'm just following the ATProto Quickstart Guide. It's a fun opportunity to work with JS after largely living in Python land for the last few months.

This is probably pretty easy and straightforward if you're not a Windows idiot like me (the general consensus from ATProto devs seems to be that Macs are superior, which I don't disagree with. However, I am stuck in Windows land for the foreseeable future, so I have to live like this regardless).

It seems easy and straightforward on WSL until you get past

Read more
7 min read
05
Feb

Setting Up Django With Vite On Windows Subsystem for Linux

This is documented piecemeal elsewhere, but I ran into enough small issues as a WSL user that it seemed worth writing up, and while django-vite is a cool tool I think it assumes a lot of domain knowledge that new users may not have.

Though I've been a fan of the HTMX minimal dependencies philosophy for a while, I am accepting the necessity of having some degree of JavaScript build pipeline: even if you're keeping all your logic on the back-end, there are plenty of things it's preferable to be able to install through NPM, and the Django ecosystem for

Read more
3 min read
18
Sep

Setting Up TiddlyWiki on a Remote Server with Systemd & Nginx

TiddlyWiki is a cool tool, but if you, like me, are insane interested in getting it set up on the cloud, it can be a bit of a hassle. Here's a quick set of instructions to get it to run automatically as a service on a Linux server - I used a Hetzner Ubuntu machine.

Install TiddlyWiki and create a server:

npm install -g tiddlywiki

tiddlywiki {server name} --init server

Create a systemctl file for Tiddlywiki, e.g. etc/systemd/system/tiddlywiki.service

Add the following for a barebones systemd service:

[Unit]
Description=TiddlyWiki Server
After=network.target
StartLimitIntervalSec=0
Read more
2 min read