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?
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?
Why not a binary flag or something? Is it just to avoid making it a formal part of the protocol?
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).
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.
It’s because it’s JSON-LD.
What about JSON-LD makes it so they have to include the “this is public” declaration in the
to
field instead of having anas:public
property on the object? (I don’t know a whole lot about JSON-LD or RDF more broadly)Because it is JSON-LD and that’s how JSON-LD works. It’s an extensible format. Similar to XML namespaces.
deleted by creator
I don’t understand the comment. It’s like calling the fact that
firstName
is in the JSON{"firstName": "Bob"}
“over engineered bullshit” when they should’ve made some application specific protocol instead of using JSON. ActivityStreams and ActivityPub are built on top of JSON-LD to utilize existing libraries to represent linked data (that’s what the LD is). To specify what schemas are used there is a “context” field. There are other schemas as well. Take a look at https://schema.org/ to see them.If it feels over engineered it’s because it’s meant to be able to represent a wide variety of types of social media and typical interactions with them. I seriously doubt Mastodon (micro blogging) and Lemmy (link aggregation forum) would be able to interact easily if they weren’t “over engineered”.
deleted by creator
Then go complain somewhere else, you asked for an explanation of how it works.
deleted by creator