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
    🏄🏻🎉 There's a new beta for Surf available on TestFlight and Google Play. As well as the usual performance improvements and bug fixes, we've made some updates to the Surf Shop. Tap Discover Feeds in your sidebar to check out what's new and find inspiration for when you create your own feeds.#SurfFeeds #Flipboard #ActivityPub #ATProto #OpenSocial #Apps #Technology #Tech
  • 0 Votes
    4 Posts
    47 Views
    @dansup can I ask you question? Will it add CC on video ? Because I’m Deaf obv I can’t hear what they said… I hope add CC on video like setting ready to click turn on. It going huge happy when Deaf/Hard of hearing see have CC ready in Loops! Let’s go!!!!
  • 0 Votes
    4 Posts
    22 Views
    @julian @box464 There's actually already an Android app that allows all this: Raccoon for Friendica (which actually also works for Mastodon).Raccoon for Friendica is a rather unique app, one I'm very fond of, because it perfectly illustrates how the best ideas come from the "contamination" of different environments. Here's an article about Raccoon that should be updated, which I wrote a few weeks after the app's beta release (launched in late August 2024)Raccoon for Friendica was developed by @akesiseli after he had already developed an Android client for Lemmy (Raccoon for Lemmy).When he focused on Friendica, he faced the problem of how to translate Friendica's ability to display group conversations into an app (they're quite visible on Friendica's web interface, though they don't have the clearest interface possible like Lemmy's or forum platforms like NodeBB and Discourse). He ported the "topic view" feature already present in Lemmy's apps to Friendica!Since Raccoon is an app that also works with Mastodon, @akesiseli attempted to "force" Mastodon to have the same interface, and after a few attempts, he succeeded perfectly.Raccoon for Friendica still has a few imperfections (search isn't 100% functional, it still doesn't handle resharing with quoting, and other minor glitches, and feed capture is still a bit slow compared to Tusky and Fedilab), but despite being just over a year old, it's a decidedly mature app. Most importantly, it offers group viewing features that no other app offers. And—trust me!—group viewing isn't the only new feature Raccoon has brought to a social media client!I hope the app's development continues well, although I'm a little concerned: the developer is a bit disappointed that almost no one uses his app... But this is mostly due to the fact that the app has a name that appeals to Friendica users (who are very few) and that even the most established apps for Mastodon suffer from competition from an "official" app!
  • 0 Votes
    1 Posts
    18 Views
    Ω🪬Ω#FediAlgo (the customizable timeline algorithm / filtering system for your Mastodon feed) v1.2.2 is deployed now. Has a switch that makes sure any #hashtags / users / etc. that you follow are displayed as filter options even if they don't meet the minimum number of recent toots threshold.Also a bunch of bug fixes and small improvements.* Try it here: https://michelcrypt4d4mus.github.io/fedialgo_demo_app_foryoufeed/* Code: https://github.com/michelcrypt4d4mus/fedialgo_demo_app_foryoufeed* Video of FediAlgo in action (slightly outdated): https://universeodon.com/@cryptadamist/114395249311910522#activitypub #algorithm #algorithmicFeed #algorithmicTimeline #Fedi #FediTips #FediTools #Fediverse #Feed #FOSS #GoToSocial #hashtag #hashtags #javascript #MastoAdmin #Mastodon #MastodonApi #mastohelp #mastojs #node #nodejs #opensource #socialmedia #SocialWeb #timeline #TL #typescript #webdev