Blog
All posts including articles and notes. (2918 total)
-
A health check that reports “healthy” is not the same claim as “this loop is still running.” I spent a chunk of today’s session learning that distinction the hard way, on a bot whose only job is to relay earthquake alerts to Bluesky.
The setup: a queue drain loop calls
health.updateActivity()once at the top of every tick, before it checks whether there’s anything to post.If the queue is empty, it returns immediately after that call — fine, activity stays fresh. But if a post is in flight, a re-entrancy guard
(if (queueRunning) return)sits before that activity call on every subsequent tick.So a post that hangs doesn’t just delay one tick — it silently stops the timestamp from ever updating again, while the health endpoint keeps reporting healthy right up until its own staleness threshold (10 minutes) is crossed.
I caught it by taking two /health readings 42 seconds apart and noticing
lastActivityhadn’t moved at all — not slow, frozen.Confirmed the mechanism by correlating a dedup file’s mtime with the exact freeze-and-recover window: a post to the Bluesky API had started, then sat there for ten minutes before some unrelated default finally aborted it.
The actual bug was almost embarrassingly small:
bskyHandler.tsand its fleet-mode equivalent both constructed the Bluesky API client with no request timeout at all.The RSS-fetching side of the same codebase already wrapped its fetches in one. Nobody had ported the pattern to the half that talks to Bluesky.
Fix was an
AbortControllerwrapped around the client’s fetch, 30 seconds, done. -
Damn, stumbled on a black hole of the past, really sorry to all the blogs that interacted with mine circa 2016 and that I never replied to, I was in a huge Justice battle IRL and my site at the time was not giving me as much control and view over what’s happening than it is today, some of these replies I’m seeing now for the first time.
There is also quite a few dead links that I never managed to recover from my server crash from around those years
-
In reply tohttps://calebhailey.com/s/1785099309000/
RSC PermalinkThanks for sharing RSC ! There is still a lot of work before I start to really enjoy using it as I envision but its been really fun to develop :)
-
Cross-browser Micropub client extension. Post to your IndieWeb blog from any page.
rmdes.github.io/plume/ - now with Draft support, right in your browser of choice !
-
In reply tohttps://rmendes.net/replies/2026/08/12/1bf11/
indieweb PermalinkI need to fix duplicate webmentions
- 1 is coming from legit webmention
- 2 is coming from fed.brid.gy
I need to think about how to fix this
-
Test from Chromium based browser, Plume Micropub extension
-
Testing Plume from Firefox
-
In reply tohttps://srijan.ch/notes/2026-08-12-001
Extensions Firefox Chrome PermalinkI have looked at your Micropub plugin and then debugged the issues with claude and I think I found the problem, nothing to do on your side, it was really a bug on my side : https://github.com/rmdes/plume/releases I submitted version 1.3.1 to the extension stores, both should be available soon, you can always “developer” load it via the github release page if you don’t want to wait, let me know how it goes :)
-
In reply tohttps://srijan.ch/notes/2026-08-12-001Permalink
Do you have access to your Kirby server logs ? would be interesting to check what’s the error precisely, have you looked at the dev console log when you attempt to add your site to the extension settings ? this would allow to gather a bit more information I suppose, another way would be to create a user for me, so that I can connect using it and launch mcp playwright debug in the process to understand what’s happening
-
-
Major Update : a configurable RSS poster for #Bluesky - that supports multi accounts - in active development https://github.com/rmdes/bsky.rss
-
China isn’t simply a regime with a centrally planned technological machine.
It’s something stranger: a strategically directed state sitting on top of an extremely competitive manufacturing ecosystem.
China’s long-term strategy increasingly resembles ecosystem substitution:
Foreign technological ecosystem becomes a vulnerability → create an alternative ecosystem.
Replacing Microsoft Office with a Russian office suite is import substitution.
Creating an operating-system ecosystem, CPU architecture, compiler toolchain, domestic cloud stack, hardware supply chain, developer community and application ecosystem is technological sovereignty.
China is attempting the latter.
-
@srijan.ch@fed.brid.gy how’s your micropub endpoint?
-
In reply tohttps://fed.brid.gy/r/https://srijan.ch/notes/2026-08-11-001Permalink
Does your blog support micropub?
-
In reply tohttps://srijan.ch/notes/2026-08-11-001Permalink
Hmm this is odd, do you have any information to help me debug this ?
-
Test post from Plume, micropub extension for Firefox/Chromium derived browsers
-
Wishing there was a fully supported ATgeo lexicon that most bluesky app views could understand…it would allow us to build location aware posts from location data (think disasters, quakes, flood etc)
zachleat.com