Stephen
Nerdy sort who loves messing with computers but is sometimes uncomfortable with the industry I find myself part of. Self hosting all the things is my coping strategy.
A whole-ass human, whilst also a work in progress 🏳️🌈
Header artwork by the wonderful @yesjohn@mastodon.social
Migrated from @stephen@nerdout.club
- Website
- https://s-n.me Verified link to s-n.me
@littlefedi_official@littleone.littlefedi.social Hi! Not sure if this is the right place to direct this, but I've noticed the "Mark as read" in the Catch-up tab has always returned an error for me. I had a little look into the logs, and it's a PostgreSQL-specific issue due to ambiguous matching of the version field. I have a very simple patch I now apply to my build which solves it for me. Hope it's helpful!
diff --git a/internal/storage/bun.go b/internal/storage/bun.go
index 7a1ae89..34ce77e 100644
--- a/internal/storage/bun.go
+++ b/internal/storage/bun.go
@@ -4101,7 +4101,7 @@ func (s *bunStorage) SetMarker(ctx context.Context, accountID, timeline, lastRea
VALUES (?, ?, ?, 1, ?)
ON CONFLICT (account_id, timeline) DO UPDATE SET
last_read_id = excluded.last_read_id,
- version = version + 1,
+ version = markers.version + 1,
updated_at = excluded.updated_at`,
accountID, timeline, lastReadID, now); err != nil {
return nil, err
Not really an ad, because it's not like I'd profit in any way from this, but it seems a shame for it to go to waste... I have this Netcup VPS expiring on 24th November. It was a cracking deal, especially now given the current pricing.
"Root Server G12 Pro", 8x cores/threads (EPYC 9645), 16Gb RAM, 1Tb SSD for 20,02€ per month, billed on a two month cycle. Happy to transfer it to another Netcup account before it expires.
It's always performed well in the year I've had it. Drop me a message if you're interested.
Recently started buying lottery tickets in hopes of one day not having to computer professionally. 🪿🧑🌾
What eMudhra did, getting a reputable root CA to sign a powerful intermediate certificate for whom everybody could have the private key, is what many people have been hoping for for years.
All the important stuff is patched or restricted in what it can connect to so it's not really a problem for anybody that takes security seriously.
At the same time tools like mitmproxy can now finally help us to analyze all communications from devices where manufacturers never really respected their end users. Smart TVs, mobile phones, etc. will have their traffic analyzed. Often features disappeared over the years as services got shut down.
For any device that trust this root CA, thanks to eMudhra, it will be possible to create replacement services that people can run at home. Devices might even gain new features. What eMudhra did is a great thing!
Home router manufacturers should take note too as their feature set will change drastically the coming years.
@sntx@bsd.cafe I've been using NixOS for 3-4 years now. Every little thing that isn't already packaged and/or without a module to configure it still feels like a fight 😅
But every time I migrate a server, an individual service, or setup a new desktop/laptop, I'm grateful that a git clone and nixos-rebuild and a quick rsync of my data gets it done.
And deploying a new service which does have a module being as simple as services.<thing>.enable = true with maybe a handful of other settings is pretty wonderful.
Trying out littleFedi by migrating myself to it wholesale and seeing how that goes. I wrote a little NixOS module to configure it, which was fun.
And with that I'm now back to properly self-hosting all my stuff from home 🎉