Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

Expanding collections on delivery

Technical Discussion
15 3 2

Gli ultimi otto messaggi ricevuti dalla Federazione
  • @silverpill @technical-discussion it's part of the outbox delivery algorithm, which bridges between c2s and s2s. the intention is that the outbox publishes activities via c2s, but then optionally delivers based on addressing properties via s2s

    (this ends up having other issues in practice due to the lack of an envelope, but at least the intent of "relevant activities should trigger notifications for relevant entities" makes sense, per 6.1 clients "look at" some relevant props)

    read more

  • @silverpill @julian @technical-discussion

    example: alice and bob on site.example each have followers collections, but alice can't see bob's followers. if alice addresses bob's followers collection, then alice's outbox can't deliver to bob's followers. alice must address bob, and bob can choose to forward to bob's followers (inbox forwarding)

    if site.example has a collection of "local users" that alice can see, then alice can address it and alice's outbox can deliver to items

    read more

  • @silverpill @julian @technical-discussion

    a "local collection" might still have access control on it.

    (the interface being assumed throughout the AP spec is HTTP, or at least HTTP semantics; "with the user's credentials" in this case means using an Authorization header that lets the outbox access the collection. it's only confusing if you have a monolith with no boundaries between the outbox and anything else; in that case it'd be "lookup the collection in your db/store/etc")

    read more

  • @julian Yes, I think in practice expansion should be performed only for local collections.

    the server MUST dereference the collection (with the user's credentials) is confusing, because it sounds like we're talking about remote collections here.

    @trwnh

    read more

  • @julian well, sure, with a monolithic implementation, the client and the outbox and the delivery agent are all the same app. but they don't have to be. the model is that the client submits to the outbox, and the outbox could also talk to a separate delivery agent internally. it's all opaque from outside the outbox. your internal "outbox" is the code that serializes activities and sends them to the delivery workers.

    read more

  • @trwnh@mastodon.social said in Expanding collections on delivery:
    > say you are an outbox and you get an activity to: some id. you deref the id and get some info. what do you do?

    Simple. My outboxes send a "not supported" HTTP tag 🤣

    But I'm being facetious.

    From a C2S standpoint I suppose that makes sense. Thanks.

    read more

  • @julian now remove the requirement. what do you do instead?

    - if it has ldp:inbox, send an LDN

    ...and that's it. at no point were you ever told or required to do anything else, so your followers/audience/members/etc will never get the activity even if addressed, because the collection was never expanded.

    read more

  • @julian i don't think it's "inferred", and leaving ambiguous cases up to inference in specification is typically called "unspecified behavior" ;)

    say you are an outbox and you get an activity to: some id. you deref the id and get some info. what do you do?

    - in all cases, if it has an `inbox`, you send an LDN to that id if you can.
    - in case it's an as:Collection, you iterate over its items in theory and repeat step 1 recursively. (this is also problematic because it can be both paged+unpaged)

    read more
Post suggeriti
  • 0 Votes
    1 Posts
    8 Views
    Short video is a creative medium. The problem arises when platforms prioritize 'time on screen' over human well-being.That's when we get outrage and doomscrolling.Loops offers a different path: A healthy, community-owned space where you control the experience. Open source, federated, and ethical.https://joinloops.org/our-mission#Loops #ActivityPub #TikTok
  • 0 Votes
    1 Posts
    10 Views
    Moin,aus aktuellem Anlaß, auf den ich später noch mit mehr Details zurückkommen will, darf ich (noch) einmal auf mein Projekt eines eigenen #Fediverse-Servers namens #Mammuthus hinweisen, in den ich demnächst mehr Zeit investieren will.Dazu sei auch auf vier auf #Mammuthus laufende Accounts meinerseits hingewiesen, die ich in Zukunft hoffentlich auch aktiver mit sinnvollen Beiträgen bestücke... :-)@nick@hhmx.de ⚫ Mein allgemeiner Account auf meiner als Single-Account-Instanz genutzten Umgebung, die in der Regel als erstes eine neue #Mammuthus-Version einsetzt, sobald sie aus meinem Labor kommt... ;-)@nick@mammuthus.de ⚫ Auf diesem Account schreibe ich technische Punkte (auf Deutsch und Englisch) bezüglich #ActivityPub & Co.@nick@rahlstedt.de ⚫ Mit rahlstedt.de, rahlstedt.biz und rahlstedt.social will ich meinen Stadtteil ins #Fediverse bringen... Details zur Entwicklung, ggf. auch Umfragen zwecks Meinungseinholung in Bezug auf meine lokalen bzw. regionalen #Hamburg-#Rahlstedt-Aktionen hier...@nick@rahlstedt.social ⚫ Auch lokal... ein bißchen persönlicher...Mehr demnächst...Wem Unstimmigkeiten oder Probleme mit o.g. Accounts (und/oder den sie betreibenden Instanzen) auffallen, bitte gern an mich durchmelden. Mit Details & Co.Notfalls an meinen #Mastodon-Account @nick@norden.social (der bleibt als Backup und langjähriger fediversaler Account natürlich bestehen).Soweit erst einmal,einen schönen Abend in die fediversale Runde!The Future Is Federated
  • 🆕 blog!

    General Discussion mastodon mastodonapi activitypub fediverse
    1
    0 Votes
    1 Posts
    19 Views
    🆕 blog! “Getting started with Mastodon's Quote Posts - technical implementation details for servers”Quoting posts on Mastodon is slightly complex. Because of the privacy conscious nature of the platform and its users, reposting isn't merely a case of sharing a URl.A user writes a status. The user…👀 Read more: https://shkspr.mobi/blog/2025/10/getting-started-with-mastodons-quote-posts-technical-implementation-details-for-servers/⸻#ActivityPub #fediverse #mastodon #MastodonAPI
  • 0 Votes
    9 Posts
    50 Views
    @reiver @silverpill @wjmaggos we have spent 40 years educating internet users about how domain names work. They know how email federation works; they know how web federation works. They know what it means to own your own domain and to use someone else's domain.