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
30 6 35

Gli ultimi otto messaggi ricevuti dalla Federazione
  • @silverpill @steve so we might need to recommend that these "side effect" activities in as:result SHOULD have fragment identifiers, to be able to refer to them later? or do we intend to never refer to them later? we could say they're transient activities so don't need to be referred to later (only processed in-order).

    lastly as:result itself maybe doesn't have these semantics defined, so should a subproperty or different property be used, or do we skip non-CRUD results?

    read more

  • @silverpill @steve also the server's main responsibility being publishing and therefore needing to mint an identifier for the top level activity, we should ask if the server is expected to assign any inner ids as well? assigning ids changes the graph so it's not clear cut. <how does the server know *which* ids to assign and which ones not to?> is an open question (and maybe blank node identifiers are actually in practice required to avoid ambiguity?)

    read more

  • @silverpill @steve regarding as:result itself there are some other ideas that have come up in past years so good to discuss those in a more focused thread:

    - either marking activities as the "result of" (maybe "in response to"?) another activity could update the other activity to refer to the later activities, or the "result of" property is defined as a @\reverse property of as:result
    - quote stamps currently use result for the stamp itself, not a Create activity for it

    read more

  • @silverpill @steve the type information is largely unnecessary and shouldn't factor into handling CRUD, especially if the objects are managed by the client. the authorization/trust model for which activities are allowed to CRUD which objects is important but can be something other than fe34 (such as an explicit access control policy or authorization resource). also multiple CRUD mechanisms may be in use.

    read more

  • @steve @trwnh

    I am not sure if generic server is even possible without FEP-2277 and FEP-fe34. Maybe duck typing (FEP-2277) could be replaced with hierarchical types, but that would require JSON-LD processing, and I don't want to make it mandatory.

    If you're certain that a different flavor of generic server is possible, I can publish the side effects part as a separate FEP. This way we can focus on areas where we are in agreement.

    read more

  • @steve @silverpill now if only AP had officially defined conformance profiles to this effect... (the "activity publishing profile" and the "notification delivery profile", to be clear)

    read more

  • @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
Post suggeriti
  • 0 Votes
    2 Posts
    12 Views
    @matrix hey @p2panda are you gonna submit anything?
  • 0 Votes
    1 Posts
    18 Views
    I love the excitement for new #ActivityPub based projects. Maybe i'm wrong but 'loops will do for the fediverse what the iPhone did for smartphones' seems a bit out of touch.Nothing wrong with being excited, but seeing how few people know of or care about Pixelfed still outside of Mastodon users who many have bailed for Bluesky, I think maybe, just maybe, the fedi is a hopeful echo chamber in a bubble sometimes. #Reality #Fediverse #Mastodon #Loops #Pixelfed #TikTok #Instagram
  • 0 Votes
    1 Posts
    13 Views
    Transparency update: Web framework integration progress We're sharing a public project board to track our progress on web framework integrations for #Fedify, work commissioned by the Sovereign Tech Fund (@sovtechfund@mastodon.social). You can follow along at: https://github.com/orgs/fedify-dev/projects/1 About this work The Sovereign Tech Fund invested in Fedify to expand its ecosystem through official integrations with popular web frameworks. This investment enables developers to add federation capabilities to their existing applications without changing their technology stack. Notably, some of these integrations were completed between our initial application submission and the official kickoff of the #STF investment. This demonstrates both our commitment to the project and the community's active development momentum. Current status Already completed: Next.js integration supporting both App Router and Pages Router (completed before STF kickoff) Elysia integration optimized for the Bun ecosystem (completed before STF kickoff) In progress: Fastify integration (PR currently under review) Upcoming: Koa integration Comprehensive documentation for all integrations Why this matters These integrations make Fedify accessible to developers across different JavaScript ecosystems and runtime environments. Each integration follows established patterns from our Express and h3 integrations, ensuring consistency and ease of adoption. Investment details Fedify has been awarded a service agreement by the Sovereign Tech Fund for this work, with a budget of €‎32,000 and completion target of November 30, 2025. The Sovereign Tech Agency supports the development, improvement, and maintenance of open digital infrastructure through investments like this. We believe in transparent development and welcome community input and contributions. #ActivityPub #SovereignTechFund #opensource
  • 0 Votes
    27 Posts
    206 Views
    @silverpill oh, I see. I must have missed the context for the discussion, sorry. :) @technical-discussion @julian @grishka