this post was submitted on 23 Nov 2023
98 points (98.0% liked)
Fediverse
28224 readers
453 users here now
A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).
If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!
Rules
- Posts must be on topic.
- Be respectful of others.
- Cite the sources used for graphs and other statistics.
- Follow the general Lemmy.world rules.
Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
So much yes. You'd think that'd be the first thing they'd bake in the ActivityPub spec, given it governs how the user handles are handled, they even look like E-Mail addresses. Yet nobody seems to have thought about making the usernames sane. It's the first thing I looked up while setting my Lemmy, can I make the username look less stupid, as I did with Matrix when I set that one up.
There's a weird trend towards stuffing everything as HTTP(S) web APIs and JSON. We're about to get to a point where everything will talk over websockets because we forgot TCP exists.
Ha, one of my biggest pet peeves is developers poorly re-inventing a wheel that already exists as a standard.
ActivityPub does not govern how user handles work. All AP actors are defined by their IDs (which in Lemmy's case happens to be the URL their profile is hosted in, which is a mistake as you cannot change your username without breaking federation, but at least Lemmy isn't alone, both Mastodon and I think *oma family of software do the same thing)
AFAIK the @username@instance convention is Webfinger's doing, and (to the best of my very incomplete knowledge) the convention of "preferredUsername @ the hostname of the object ID" is a hack Mastodon pulled that got adopted as a de-facto standard (as is quite a lot of other things in AP).