this post was submitted on 05 May 2025
49 points (85.5% liked)

Fediverse

33711 readers
1058 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 [email protected]!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration)

founded 2 years ago
MODERATORS
 

matrix is #room:matrix.org and @username:matrix.org

why does lemmy use [email protected] or @[email protected] ? it looks like email.

i like the matrix version better

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 4 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

Matrix was influenced by the traditional URI schema approach however they also used an inverted URI to have the most significant segment be the first segmont. This is why it has a prepended segment followed by a : and then a URL.

The relationship the URI is describing is homeserver owns user and traditionally we might go homeserver:user I'd argue it is obvious to just invert that into user:homeserver. See Java, dotnet, etc reverse dns naming conventions.

A matrix room is not at a URI, it is on every homeserver that participates in the room. I am not talking about Lemmy and its garbage entirely incorrectly semantic URI scheme. Matrix rooms are globally uniquely identified, and so the room URI only describes the idea of the resource of the room. room:homeserver.

The prefixes are an obvious and neccesary evil for parsing them out of unstructured text. A requirement for most users.

ActivityPub and related went "fuck everything, fuck reason, the web is fucking amazing" and came up with their own flavor of stupidity. Emails use an ancient first attempt at a URL. A URL. What does the URL do? It is explicitly intended to tell you which server to contact. People are going "yeah but email!1!!" entirely moronically ignoring historical context.

[โ€“] [email protected] 2 points 3 weeks ago* (last edited 3 weeks ago)

For anyone who can't read that many words at once: URI means identifier and URL means locator.

Matrix does not mix the roles of its URIs beyond the ability to attempt to reach that homeserver through NOT ONLY DNS but also through routing between homeservers. Matrix, unlike this garbage, actually wants to support ephemeral homeservers and such as well.

Sadly these web technology fucks cannot get their heads even a centimeter further towards the exit of their anus to even risk beginning to care about how garbage their architectures are.