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
    7 Views
    Wäre es nicht super, wenn man sich mit sei­nem Mast­o­don-Account ein­fach für eine Ver­an­stal­tung anmel­den könn­te – so wie das frü­her bei Face­book mög­lich war? Der­zeit geht das noch nicht. Aber es gibt ein paar hoff­nungs­vol­le Anzei­chen, dass sich das ändern könnte.Ich habe es im letz­ten Arti­kel ange­teasert: In der Sprech­stun­de hat André Men­rath (@linos) ein paar inter­es­san­te Din­ge erzählt und wir haben uns über die gene­rel­le Situa­ti­on von Ver­an­stal­tun­gen bei Word­Press und im Fedi­ver­se unterhalten. Bei Plug­ins für Ver­an­stal­tungs-Kalen­der bin ich wirk­lich kri­tisch. Ich habe damals das Ein­ga­be­for­mu­lar für den Ver­an­stal­tungs­ka­len­der bei kiel4kiel.de ent­wi­ckelt. Wenn man jeden Monat 1000 Ter­mi­ne ein­ge­ben will, sieht man zu, dass man da kei­nen ein­zi­gen Klick zu viel macht, weil das immer x1000 geht.Ich habe noch kein For­mu­lar für Ver­an­stal­tun­gen gese­hen, das so prak­tisch war, wie unser User-Inter­face damals. Das fängt damit an, dass Ver­an­stal­tun­gen NIE um 00:00 Uhr anfan­gen. Die Zeit­aus­wahl steht aber bei jeder Soft­ware auf 00:00 und die­ser Stan­dard­wert lässt sich nicht konfigurieren.Events bei WordPressIch bin der Mei­nung, dass es kein ein­zi­ges gutes Event-Plug­in für Word­Press gibt. Auch kein kom­mer­zi­el­les. Ich ken­ne kei­nes. Die meis­ten sind mit Fea­tures total über­la­den, die dafür auch noch schlecht zu bedie­nen sind. Dazu kommt, dass alle Kalen­der schei­ße aus­se­hen und man sie nicht anpas­sen kann – selbst wenn sie sich ein eige­nes Tem­p­la­te-Sys­tem über­legt haben.Beim Web­Mon­tag brau­che ich ein ein­fa­ches Plug­in bei dem man Datum und Uhr­zeit und eine Adres­se ein­gibt. Außer­dem soll man sich an- und abmel­den kön­nen. Ich habe das vor lan­ger Zeit über einen Cus­tom-Post-Type erle­digt, den ich um Datum und Loca­ti­on erwei­tert habe. Außer­dem habe ich die Kom­men­tar­funk­ti­on dort so „gehackt“, dass das Text­feld aus­ge­blen­det wird. So mel­det man sich an, indem man einen Kom­men­tar ohne Text abgibt. Des­we­gen bekommt man auch kei­ne Benach­rich­ti­gung und man kann sich auch dar­über nicht abmelden. Das funk­tio­niert. Aber ich hät­te trotz­dem eine etwas kom­for­ta­ble­re Lösung. Bei Gather­Press arbei­ten wohl gera­de eini­ge moti­vier­te Ent­wick­ler an einem neu­en Plug­in für Events. Das sieht auf den ers­ten Blick sehr auf­ge­räumt aus und scheint sich an den moder­nen Para­dig­men der Word­Press-Ent­wick­lung zu orientieren.Events im FediverseAuch im Fedi­ver­se gibt es Ver­an­stal­tun­gen. Mobi­li­zon ist eine Lösung dafür. Auf so einer Instanz gibt es dann nur Ver­an­stal­tun­gen. Ich ken­ne mich damit nicht so gut aus. Aber super wäre es natür­lich, wenn ich einem Account bei Mobi­li­zon bspw. von Mast­o­don aus fol­gen könn­te und wenn mir dann eine Ver­an­stal­tung durch die Time­line läuft, kli­cke ich auf „teil­neh­men“ und bin ange­mel­det. Das geht aber noch nicht. Es gibt aber wohl Über­le­gun­gen bei Mast­o­don, Ver­an­stal­tun­gen bes­ser zu unter­stüt­zen. Fri­en­di­ca, Hub­zil­la und Ple­ro­ma kön­nen das schon – zumin­dest teilweise.Auf der Sei­te von Word­Press arbei­ten And­re Men­rath und Mat­thi­as Pfef­fer­le (@pfefferle) an einer Bridge für die bestehen­den Event-Plug­ins ins Fediverse.Die­se The­ma ist lei­der noch nicht ganz so kon­kret wie die grund­sätz­li­che Unter­stüt­zung für Arti­kel von Word­Press in Mast­o­don. Es sind eini­ge Puz­zle­tei­le, die ein inter­es­san­tes Bild ver­spre­chen, wenn sie jemand klug zusammensetzt. Ich fänd es cool, wenn ich eine Lösung hät­te bei der Men­schen den Ver­an­stal­tun­gen des Web­Mon­tags bspw. auf Mast­o­don fol­gen und sich anmel­den könn­ten. Zusätz­lich wäre es aber natür­lich nötig, dass man sich auch wei­ter­hin unkom­pli­ziert ohne Account anmel­den könn­te. Ein Ter­min-Plug­in, bei dem ich eine Stan­dard-Start­zeit ein­stel­len kann, weil der Web­Mon­tag immer ab 19 Uhr sei­ne Tür öff­net; einen Stan­dard-Ver­an­stal­tungs­ort, weil wir meis­tens in der Star­ter­kit­chen sind. Eine öffent­lich ein­seh­ba­re Teil­nah­me­lis­te, aus der sich Leu­te auch auf Wunsch aus­blen­den kön­nen und die sich nach ein paar Mona­ten von allei­ne löscht und nur die zusam­men gerech­ne­te Zahl der Anmel­dun­gen behält.Dar­auf muss ich wohl noch ein wenig war­ten. Aber Vor­freu­de ist ja auch etwas Schönes.
  • I just looove TUIs!

    General Discussion tui fediverse activitypub stegodon
    1
    0 Votes
    1 Posts
    9 Views
    I just looove TUIs! #tui #fediverse #activitypub #stegodon
  • 1 Votes
    1 Posts
    18 Views
    RE: https://mastodon.social/@MastodonEngineering/115337952873418574Uy... 👀 Interesante...> Change the identifiers used in ActivityPub to numeric IDs (instead of their username) for new users. This is a first step towards allowing account renaming. — Github PR #32724 (by ClearlyClaire)#mastodon #activitypub #fediverso #fedi #fediverse
  • 0 Votes
    4 Posts
    22 Views
    @julian Pretty much my intention, even though that is SO BAD for an ADHD brain.I'm going to end up taking notes on deep decarbonization of fediverse intermobility urban networks bridging Halifax during extreme Bonfire events ....(yes I am still mashing up "fediverse" and "urbanism" but whatever gave it away?)