this post was submitted on 29 Dec 2024
76 points (95.2% liked)

Fediverse

29634 readers
721 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), Search Lemmy

founded 2 years ago
MODERATORS
 

Let's say we have lemmy instances A, B, C.

alice from A makes a post "Hello, world" to B. What happens? How is it processed on servers A, B, C and how do users from A, B, C receive her post?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 month ago (2 children)

Why not a binary flag or something? Is it just to avoid making it a formal part of the protocol?

[–] [email protected] 4 points 1 month ago (2 children)

I actually don't know, you'd need to ask someone privy to design decisions made with ActivityPub, like Prodromou or Lemmer-Webber. It's definitely not to avoid making it part of the protocol, because it already is (see the link in the last comment).

[–] [email protected] 2 points 1 month ago* (last edited 1 month ago)

Thanks—I meant “formal” as in “formal grammar”, not that it wasn’t described in the published protocol. As in, there’s nothing in the protocol’s explicit form that distinguishes between this implied meaning and a real extra recipient—so it simplifies the parsing but adds an extra post-parsing step.

[–] [email protected] 0 points 1 month ago (1 children)
[–] [email protected] 1 points 1 month ago

What about JSON-LD makes it so they have to include the "this is public" declaration in the to field instead of having an as:public property on the object? (I don't know a whole lot about JSON-LD or RDF more broadly)

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago) (1 children)

Because it is JSON-LD and that's how JSON-LD works. It's an extensible format. Similar to XML namespaces.