101
submitted 1 year ago* (last edited 1 year ago) by ALostInquirer@lemm.ee to c/fediverse@lemmy.world

It kind of makes me think of how odd it would have been if many of the old forums named themselves like bookclub.phpbulletin.com, metalheads.vbulletin.net, or something.

There's nothing wrong with doing that, obviously, but it's struck me as another interesting quirk of fediverse instances/sites. Generally as soon as you visit them you can tell by the site interface or an icon somewhere what software they're using.

you are viewing a single comment's thread
view the rest of the comments
[-] ptz@dubvee.org 3 points 1 year ago

I've been thinking of making some proxy thing that can intelligently route ActivityPub from the root to Lemmy/Mastodon/Pixelfed and whatnot so that they can behave like one big instance and browse the same content but differently, but it sounds like as big of a project as making Lemmy itself.

That's basically what SRV records accomplish. When I looked a while back to see if ActivityPub had support/plans to support them, I landed on, I think, a Mastaton feature request where the response was "won't implement SRV" because "webfinger already does that" (it does not).

Personally, I think SRV records and webfinger solve different problems and can complement each other. The ActivityPub software would lookup the SRV record matching its platform and use the result from that to query the correct webfinger endpoint to resolve the user's URI for that platform.

I have no idea why SRV records seem to have fallen out of fashion, but they would easily solve the delegation problem since that's exactly what they were designed for. lol

[-] Max_P@lemmy.max-p.me 3 points 1 year ago

but they would easily solve the delegation problem since that's exactly what they were designed for. lol

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.

[-] ptz@dubvee.org 3 points 1 year ago

Ha, one of my biggest pet peeves is developers poorly re-inventing a wheel that already exists as a standard.

[-] ShittyKopper@lemmy.blahaj.zone 1 points 1 year ago* (last edited 1 year ago)

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).

this post was submitted on 23 Nov 2023
101 points (98.1% liked)

Fediverse

28736 readers
135 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

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 2 years ago
MODERATORS