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
    8 Views
    Frequently /me [from DE] thinks about #Datensparsamkeit The officially best [en] explainer is https://martinfowler.com/bliki/Datensparsamkeit.html@mfowler I became a Carteret Islands person once.Looking at my shell neclace.My wish for christmas is that you read it and carefully think about all the things you publish in terms of accessibility but also formats and size.An example:For @clemensg I did the yearly #ActivityPub #Atlas - it comes with millions and millions of geohashed places for OSM, wikidata, official sources and, well openaddresses [.io] They publish primarily in texts with lines of geojson.The whole planet is about 46 GB … … …An exmple:DE in this "format" is about 3.2 GBDE in CSV would be maybe 1.5 GB If we normalize and publish it compressed, it is [incl geohashes] about 800MB. If we now compress the geohashes, expanding it clientside the 3.2 GB becomes 250 MB …Maybe we can't save tons of powerplants like banning bitcoin would.But together we can save lots of energy.#geojson 💣
  • @Edent

    Moved Technical Discussion activitypub apache nginx php
    2
    0 Votes
    2 Posts
    11 Views
    @tofeo take a look at https://gitlab.com/edent/activity-bot/-/blob/main/README_nginx.md?ref_type=headsI don't use nginx, but that should help.
  • ** ** *_* / /

    General Discussion gemini gopher guppy fediverse activitypub
    1
    0 Votes
    1 Posts
    11 Views
    ** ** *_* / /_____ ____ / /_(_) /__ / **/ ** \/ ** \/ **/ / //_// /_/ /_/ / /_/ / /_/ / ,< \__/\____/\____/\__/_/_/|_| tootik v0.19.9=> https://github.com/dimkr/tootiktootik is a federated nanoblogging service for the small internet.tootik allows people to participate in the fediverse using their Gemini, Gopher or Finger client of choice and makes the fediverse lighter, more private and more accessible. tootik's interface strips content to bare essentials (like text and links), puts the users in control of the content they see and tries to "slow down" the fediverse to make it more compatible with the slower pace of the small internet.It's a single executable that handles both the federation (using ActivityPub) and the frontend (using Gemini) aspects, while sqlite takes care of persistency. It should be lightweight and efficient enough to host a small community even on a cheap server, and hopefully, be easy to hack on.tootik implements only a small subset of ActivityPub, and probably doesn't really conform to the spec.Changelog:=> https://github.com/dimkr/tootik/releases/tag/v0.19.9#Gemini #Gopher #Guppy #Fediverse #ActivityPub
  • 0 Votes
    1 Posts
    11 Views
    #ActivityPub 日本語ハッシュタグのデコード問題、早く解決してくれないかな…。解決するまではいしい‘@長文の投稿を控えるつもりだけど、軽く投稿したい長文があるんだよな…。