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

Recently, there was a discussion about generic #ActivityPub servers.

Moved Technical Discussion
24 6 21

Gli ultimi otto messaggi ricevuti dalla Federazione
  • @steve @silverpill in theory POST to outbox should publish the activity, and should trigger the delivery algorithm based on audience (which is another thing handled poorly compared to even smtp which it tried to copy...)

    imo that should be part of the protocol contract, and the idea of "side effects" unfortunately muddles that. the guarantee should be built into the outbox delivery algorithm and an outbox should signal this algorithm is in effect.

    read more

  • @steve @silverpill it's why mastodon went with the concept of "stamps" as http resources that could be fetched to retrieve latest state (200 / 404). you no longer need a complete ordered history of activities and you don't need to calculate the current state from those activities.

    subscription records would work the same way and could be extended to allow subscribing only to certain activities instead of an unfiltered everything

    read more

  • @trwnh @silverpill Yeah, it's not the only bad example of side effects specified in AP. Most of the side effects are optional (SHOULD) and outbox delivery (federated or local) isn't described as a side effect. I think that's one of most significant side effects of posting an activity to the outbox.

    read more

  • @steve @silverpill the other question is if this level of explicitness is useful. the answer AP spec gives is "no, just assume every server SHOULD do this".

    and a tangent for follows: they are too stateful. you send Follow and Accept and someone knowing about those two might assume you are a follower now but not be aware of later removal or undoing (of either the Follow or Accept). this is broken in practice for years because Follow/Accept follow is not expressive enough

    read more

  • @steve @silverpill i assume the Undo would have a result that describes that? so Undo(Follow) might have a result of Remove from Follow.actor.following+Follow.object.followers in theory. for the other way around the Follow doesn't have a result but the Accept(Follow) has a result of Add to Follow.object.followers+Follow.actor.following

    but i think Follow is a bad example because it really should be subscription record management instead, ideally.

    read more

  • @trwnh @silverpill Another interesting "side effect" twist... some of the standard side effects are conditional (like only adding an actor to a following collection after an Accept is received). I think the FEP should also cover what happens with Undo of an activity with explicit side effects. Some secondary/side activities might have clear inverses and others not (some kinds of Update?).

    read more

  • @trwnh @silverpill I agree about the name and the extraneous external FEP references. Even if focused on side-effects, a properly specified FEP on this topic would be a challenge.

    read more

  • @silverpill @steve so maybe instead of "generic activitypub server" the FEP should be called something like "explicitly specifying side effects with the result property". it seems to me like the references to 2277 and fe34 are not strictly necessary to the core idea and a separate FEP could bundle them together into a profile, like "a profile for using outbox activities to manage objects and collections". not sure what the best name is because naming things is the hardest

    read more
Post suggeriti
  • 0 Votes
    1 Posts
    7 Views
    Website LeagueAn island network using Fediverse technologies in allowlist-only mode.#SocialNetwork #SocialNetworking #Fediverse #ActivityPub
  • 0 Votes
    1 Posts
    13 Views
    I'm working on federation issues.👻 Release v3.1.2 of Ktistec improves support for Lemmy and community servers like it that distribute content by wrapping it in Announce activities (FEP-1b12: Group federation support). Ktistec also supports the audience property, although support for that was removed from Lemmy earlier this year.🎃 This release also adds support for delivering to shared inboxes, which are widely supported by other ActivityPub servers. Despite being federated, the Fediverse is not highly distributed, and this optimization can reduce outbound delivery traffic by 10-20x.AddedSupport for the Dislike activity.Support for the audience property on activities and objects.Support for delivery to shared inboxes.Support for full-width hash signs in hashtags (e.g. #日本語) commonly used in Japanese and other Asian languages.FixedStrip HTML from object summaries rather than escaping it.Properly unwrap Lemmy-style Announce activities.ChangedDestroy discarded drafts instead of deleting them.Enjoy!#ktistec #fediverse #activitypub #crystallang
  • 0 Votes
    20 Posts
    81 Views
    @davew @pfefferle Ha! Yeah, it's a mind bender alright!At least the Spam aspect shouldn't be a concern with all the back-and-forth to even allow quote posts.The way I look at it is integrating an ActivityPub concept with a blogging concept that's already familiar to WP users.
  • 0 Votes
    4 Posts
    23 Views
    @toddsundsted Having said that — quote-posts existed on the Fediverse years before Mastodon implemented them. For example, Misskey and its forks have had quote-posts for years! (Other Fediverse software, too.)And, they work differently than Mastodon-style quote-posts.So, if you wanted to support quote-posts, you would also have to (explicitly or implicitly) decide on what style of quote-post to support. Mastodon-style? Misskey-style? Etc?