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

NodeBB <> Lemmy federation issue (re: nullable image/icon)

Technical Discussion
8 3 2

Gli ultimi otto messaggi ricevuti dalla Federazione
  • @julian I forgot, why do you want to delete a context? If it's your thread, isn't it enough to just Delete the top-level post?

    read more

  • mradcliffe@nokoto.org apart from the technical details, this approach also is extremely easy to explain to laypeople.

    "Follow who this person follows" :heavy_check_mark:

    read more

  • I think that my comment on GitHub that Group Actors acting as Starter Packs really comes from how I approach my social network.

    I rely on my friends and peers to discover new topics and meet new people.

    Friends and peers as Starter Packs work great on a small microblog instance like Mastodon, Misskey, or Sharkey because the federated feed/bubble lists topics written by the amazing people that they are following. This approach is ideal for small instances, but flagship, large and relayed instances make it much harder as the topics are much too diverse. 

    When a small instance I was part of shutdown, I was really at a loss because I relied heavily on that feature without following people myself i.e. I'm lazy. And so to figure out who to follow, I went back to my peers’ and friends’ following Collection. Note to self, I need to remember to continually discover more people from people I follow now that I am on my own single-actor instance.

    This is why I come to the conclusion that people are Starter Packs. Or in other words, Actors are Starter Packs. And more specifically, anyone or thing with a publicly-available following Collection is a Starter Pack. 

    But making a public directory of everyone is not a good idea and discoverability is hard.

    Starter Packs should be (Group) Actors because

    Consent is built-in with the Follow Accept/Reject.People that want to explicitly allow followers already have this option.Implementations should use Mastodon’s discoverability property to also limit who a Starter Pack may follow.Revoking consent is mostly built-in with either Remove Follow, Block Undo, or Reject Follow.Discoverability is built-in:The following Collection is available.Group Actors can make posts when their following Collection is updated.Amazing UX designers can make the following Collection more usable in their software.Starter Packs that are used in bad faith can be defederated like any other bad faith Actor or instance.The barrier to implementation is much lower than tacking on anything new to the specification.
    read more

  • Currently I am grappling with the specifics behind how to federate out the deletion of a topic in a category (or in ForumWG terms, the deletion of a context from an audience.)

    For those unaware, a context is essentially an OrderedCollection containing all objects within its purview.

    Deleting a note or other object is easy. If you are same-origin as the object, you Delete(Object), done.

    Deleting a context is more difficult... you can't rely on other implementors to store references to your contexts, since it is essentially meaningless to them. Furthermore, if a context is deleted, then when a Delete(Context) is federated out, receivers will have no idea what they're seeing, will try to retrieve the object, and find a 404. So it doesn't even work at all.

    Even worse, you can't really delete other peoples' contexts (or for that matter, their content) since you're not same-origin.

    Finally, I realized I'm looking at this the wrong way — I'm not deleting contexts, I'm simply removing them from an audience. Remove works perfectly fine when the context continues to exist (as it can be referenced and duck typed). Remove also works for remote content; the same-origin check applies to the audience you're removing from.

    If you're deleting a context, you have to be the same-origin, and you really should just federate out deletion of the local members in that collection, via regular Delete(Object).

    I suppose federating out self-destruction of a context would be the most complete but it is quite difficult to do when it is no longer resolvable...

    read more

  • Yes I'm fine with that. It doesn't make much difference in the end.

    read more

  • Thanks Rimu. Will give this a shot.

    Upon reflection, since Deletes aren't wrapped in an Announce, then I would recommend that any Move activity we use not be wrapped in Announce either.

    read more

  • @julian if you give me any specific examples of when you would want to use null, i can recommend better alternatives. generally, it's always possible that there is missing information.

    read more

  • @julian @trwnh there are specifically processing problems with JSON-LD when an `id` property is `null`. I agree, we need better guidance. I'm adding an issue for it.

    https://github.com/w3c/activitystreams/issues/656

    read more
Post suggeriti
  • 0 Votes
    1 Posts
    1 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
    47 Posts
    24 Views
    @wjmaggos @evan @chris @blaine @anewsocial Huge difference between screenshotting vs always being a part of another network and another organization's infrastructure by default.To be clear, I don't agree with Fediverse platforms depending on a blocklists, I much prefer approve-lists, but I don't think that's a popular opinion either.
  • 0 Votes
    1 Posts
    5 Views
    Apologies in advance if I misrepresented anybody or missed any crucial bits of information. Jesse Karmani (jesseplusplus@mastodon.social), Ted Thibodeau Jr. (tallted@mastodon.social, and Julian Lam (julian@activitypub.space) in attendance Julian provided an update on adoption of FEP 7888 Both Piefed and Lemmy have adopted 7888, and will begin publishing resolvable context collections in their next release Jesse opened a PR to Mastodon, which received preliminary approval from Gargron@mastodon.social (ed. it was later merged, rolled back, updated, a new PR opened, which was then merged) This PR is the first of two planned pull requests. The first generates the outgoing context (the same as what Lemmy/Piefed have done recently) The seconds handles incoming contexts and backfills Jesse was asked whether it would conflict with existing reply-tree crawling methods, but the two are complementary. She expects additional discussion before the PR is opened. Julian noted that it would be helpful if statistics/analytics were gathered by the Mastodon team to see how conversation contexts and backfill works at scale; admits that existing implementations and testing has been small scale and may not reflect real-world usage. Julian noted that Lemmy's implementation (nutomic@lemmy.ml) does not paginate their resolvable context implementation. All objects are listed in one OrderedCollection Jesse noted that she followed Mastodon's pagination convention for collections. Context inheritance Julian asked for opinions on whether contexts were inherited in existing implementations. Notes that NodeBB inherits parent context, but checks further up the known parent chain for further contexts Julian admits that not everybody can and should do this, is also not sure anymore whether NodeBB actually does this. Julian notes the ideal implementation would be every object referencing their immediate parent, which would lead to the entire collection referring to the same context collection. Jesse: Decodon inherits immediate parent context only Ted: notes that this is a reinvention of inReplyTo Julian and Jesse note that there are marked differences between crawling the reply chain. A short discussion about how netnews and usenet handled reply chains was had. Julian notes that Lemmy will not inherit context. Every object will point back to its own server's context collection. This was a conscious decision by Nutomic as each instance is meant to consider its own representation of remote content as the canonical representation ActivityPub.Space Julian made a short shout-out to a new site called ActivityPub.Space, meant to be a hub for AP development discussions ("A federated space for ActivityPub discussions so that they don’t just get lost in ephemeral replies") A short double-back to NNTP and how they approach "eventual consistency" Ted: “Cloud of NNTP servers are all hosts of articles and replies.” Strictly speaking it’s not a reply tree as replies can be inReplyTo multiple parents
  • 0 Votes
    1 Posts
    2 Views
    🌍 Il mondo e l'Italia stanno cambiando e non sempre in meglio.Crisi internazionali, guerre, derive autoritarie, censure e manipolazione dell'informazione. E in Italia i segnali preoccupanti non mancano.Per informarsi al di fuori dal rumore di fondo e dall'indignazione acchiappa click il gruppo #lemmy di attualità ha appena raggiunto i 400 iscritti:💬 @attualitaun punto di informazione dal basso per seguire notizie indipendenti, reportage dal campo, analisi di attivisti e osservatori.