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

Context deletion vs. Removal brainstorming

Technical Discussion
30 3 83
  • @julian in "technical terms" the reason no one has to worry about this issue is because no one implements activitypub, and when they deliver, they generally disallow delivering to any collections except your own followers collection.

    imagine addressing someone else's followers collection, or your own following collection, or a group's members collection, or a public collection. those are all possible in activitypub and would behave according to the specified delivery algorithm for any AP outbox

    @julian i mean, if i sent nodebb an activity addressed to collection.example right now, what would you do with it? mastodon would use that as a signal to upgrade any "direct" or "followers" post to a "limited" post. this was implemented as part of their early support for "circles", which i think are so far only a thing on fedibird and bonfire maybe? i'm not sure how audience would be inherited in further interactions but mastodon would probably default to followers-only as overridden by API

  • @julian in "technical terms" the reason no one has to worry about this issue is because no one implements activitypub, and when they deliver, they generally disallow delivering to any collections except your own followers collection.

    imagine addressing someone else's followers collection, or your own following collection, or a group's members collection, or a public collection. those are all possible in activitypub and would behave according to the specified delivery algorithm for any AP outbox

    trwnh@mastodon.social but that's exactly it, nobody does it.

    That's perhaps not a compelling reason to remove it from the spec, but if it's already on the chopping block then I don't feel as strongly about sticking to that part of it.

  • @julian i mean, if i sent nodebb an activity addressed to collection.example right now, what would you do with it? mastodon would use that as a signal to upgrade any "direct" or "followers" post to a "limited" post. this was implemented as part of their early support for "circles", which i think are so far only a thing on fedibird and bonfire maybe? i'm not sure how audience would be inherited in further interactions but mastodon would probably default to followers-only as overridden by API

    trwnh@mastodon.social I can't speak for how Mastodon would handle it, but if an arbitrary collection were addressed, I don't see why it would change visibility of the object.

    Public and unlisted are containing as:Public in to and cc respectively. Followers-only is sender's follower collection addressed, and otherwise it's mentioned-only post.

    Would Mastodon try to resolve the collection for actors? Good question. If it did it would likely resolve it, see that it isn't an Actor, and give up. However I'm venturing into conjecture now.

  • @julian in theory there shouldn't be anything wrong with saying a Collection is also something else, but activitypub's delivery algorithm will have unintended consequences if you address a Collection that has its own inbox

    also Remove is defined with respect to object+target, not object+origin. yes, this is somewhat confusing because in english we remove "from" rather than remove "to", but that's far from the only slip-up. (currently AS2 also defines you Invite an Event to a Person...)

    trwnh@mastodon.social said in Context deletion vs. Removal brainstorming:
    > also Remove is defined with respect to object+target, not object+origin.

    That's fine, I'll make the corresponding change.

    I was basing it off this line in the AS spec:

    > If specified, the origin indicates the context from which the object is being removed. [[source](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-remove)]

  • @julian if "no one POSTs to outbox" is an argument for axing the outbox, then i don't know what we'd be discussing, because what would be left? i mean, maybe we can say "addressing collections no longer expands delivery to items", but then we presumably need an alternative that doesn't involve addressing actors one-by-one.

  • @julian that's pretty much exactly what happens iirc, except instead of "it isn't an actor", the check mastodon does is "it isn't a Person/Group/Organization/Application/Service".

    multityping [OrderedCollection, Service] as you propose would cause mastodon to try to process it as an actor, but likely fail when it doesn't pass the webfinger assertion and therefore can't be converted to an Account entity.

  • @julian yes, this is an area where AP actually contradicts AS2 for no good reason. semantically it should be origin, but the side effects of AP are defined wrt target.

  • @julian that's pretty much exactly what happens iirc, except instead of "it isn't an actor", the check mastodon does is "it isn't a Person/Group/Organization/Application/Service".

    multityping [OrderedCollection, Service] as you propose would cause mastodon to try to process it as an actor, but likely fail when it doesn't pass the webfinger assertion and therefore can't be converted to an Account entity.

    @julian mastodon has a level between "followers-only" and "mentioned-only", which represents exactly this case -- "limited". this means that there are addressees who are not are not accounts, and who are not your followers. to mastodon, these are basically "unknown recipients", and it records the fact that they were addressed but not who they are (its database model doesn't support this)

    but activitypub only has actors and collections (while overlooking that the same thing might be both)

  • it feels like an unnecessary abstraction for the purposes of skirting around a limitation in the ActivityPub specification.

    What limitation?

    The problem is not that ActivityPub has a limitation, the problem is that it doesn't have enough. It can't be used to build a real application because it doesn't specify what is valid and what is not. it doesn't even specify what an "actor" is.

    Fortunately, the answers to these questions were found and documented in FEP-fe34 and FEP-2277. Object observers are likely compatible with both FEP-fe34 and FEP-2277. Other ideas are not compatible.

    In your proposed structure (feel free to correct if wrong), a resolvable context would declare an observer property pointing to an Actor, who would be federating actions out on its behalf.

    Yes. I think some property can also be added to posts to simplify discovery e.g. Note.contextObserver.

    However, it has the same technical hurdle — lack of existing implementation — than the alternative, which is to multi-type the collection into ["OrderedCollection", "Service"] or similar.

    So ["OrderedCollection", "Service"] is supposed to be an actor that is also a dynamic container? That doesn't make any sense, and I don't know how to implement that in C2S setting. It also conflicts with FEP-fe34 and FEP-2277.

  • it feels like an unnecessary abstraction for the purposes of skirting around a limitation in the ActivityPub specification.

    What limitation?

    The problem is not that ActivityPub has a limitation, the problem is that it doesn't have enough. It can't be used to build a real application because it doesn't specify what is valid and what is not. it doesn't even specify what an "actor" is.

    Fortunately, the answers to these questions were found and documented in FEP-fe34 and FEP-2277. Object observers are likely compatible with both FEP-fe34 and FEP-2277. Other ideas are not compatible.

    In your proposed structure (feel free to correct if wrong), a resolvable context would declare an observer property pointing to an Actor, who would be federating actions out on its behalf.

    Yes. I think some property can also be added to posts to simplify discovery e.g. Note.contextObserver.

    However, it has the same technical hurdle — lack of existing implementation — than the alternative, which is to multi-type the collection into ["OrderedCollection", "Service"] or similar.

    So ["OrderedCollection", "Service"] is supposed to be an actor that is also a dynamic container? That doesn't make any sense, and I don't know how to implement that in C2S setting. It also conflicts with FEP-fe34 and FEP-2277.

    If I used an object observer for a topic/context, and proceeded to delete that context, the object observer would go away too.

    That is, unless you're inferring that I take steps to preserve the object observer for some period of time (if not forever?)


Gli ultimi otto messaggi ricevuti dalla Federazione
  • @reiver i think the disjunction between Object and Link was actually unnecessary. https://github.com/w3c/activitystreams/issues/666

    i also think there's too much emphasis on types when there really shouldn't be -- it's the *properties* that you end up using almost all of the time. pretty much the only types that actually matter are the Activity types (because you can't infer those).

    read more

  • @haitchfive

    I don't think it was me, but — it seems interesting.

    https://github.com/ha1tch/quertfy

    .

    read more

  • @reiver Did you and I discuss queryfy a while ago, or was it one of my other projects?

    Just wondering whether I owe you a heads up since queryfy has been bumped up to v0.3.0

    read more

  • With ActivityPub / ActivityStreams...

    To me, it feels like there should have been something that is a common parent of both 'Object' and 'Link'.

    That just had the "name", "nameMap", and "preview" fields (along with "id" and "type, of course) — since that is what 'Object' and 'Link' share in common.

    I'll just call this common parent: 'Entity'.

    ...

    It could have even been an opportunity to talk about how to handle unknown types.

    read more

  • @soapdog@toot.cafe hmm... just thinking aloud here.

    You posit in another post that the network effects inflate exponentially:

    > Push models are resource hogs that approach exponential growth in a large network like the fediverse

    That's not true. If you post a message then it sends a copy to each follower. That's linear growth. If you collapse recipients via shared inboxes you can reduce that further.

    If you're referring to the torrent of requests that happen if your post is shared (the "thundering herd" problem) then that's actually a PULL happening from those requesting instances!

    Secondly, in a pull model of AP, you would need to continually poll servers of all your followers so as to approach a real-time effect. You'd be polling servers over and over again, and many of them would have nothing new, with so much wasted traffic.

    If your expectations include semi real-time updates, the push model is much more performant, in my humble opinion.

    read more

  • @evan @mariusor @silverpill i think we probably need to revisit the user story of creating multiple objects at once, or more accurately, the user story of minting and binding multiple identifiers at once.

    read more

  • read more

  • @evan @mariusor @silverpill re: ids though the RDF ecosystem (and jsonld) doesn't use "null", it uses blank node identifiers (those prefixed with _: are special cased by the prefix expansion algorithm). this can allow for "transient" activities or "anonymous" objects (and the graph data model auto assigns _:b1, _:b2 and so on when "id" is missing; the canonicalization algorithm assigns _:c14n0 and _:c14n1 and so on)

    this is maybe not the best way to create replies collections though...

    read more
Post suggeriti
  • 0 Votes
    1 Posts
    3 Views
    ICYMI, @fediforum's Growing the Open Social Web unworkshop took place today. Catch up on everything that happened via @tchambers's FediForum Surf feed.https://surf.social/feed/surf%2Fcustom%2F01jvprse7ptd6b9gccy3m9g547#FediForum #OpenSocial #SocialWeb #Fediverse #ActivityPub #SurfFeeds
  • 0 Votes
    8 Posts
    54 Views
    @theraccoonbytes @mapache I might not be the best person but I can try to connect you!
  • 0 Votes
    1 Posts
    10 Views
    Week in Fediverse 2025-11-28Servers- tootik v0.20.0- Ktistec v3.2.1- NodeBB v4.7.0- Wafrn v2025.11.01- Loops v1.0.0-beta.5- Mitra v4.14.0- Misskey v2025.11.1- Omnom v0.8.0- PieFed v1.3.5- stegodon: An SSH-first federated blogging platform- linkblocks: A federated network to bookmark, share and discuss good web pages with your friendsClients- Chihu v1.14.0- Phanpy changelogTools and Plugins- feed2fedi v3.4.0- FIRES Server v0.7.0- OwncastLive Panel: A GNOME Shell extension that monitors your favorite Owncast instances and notifies you when they go liveArticles- Git as Federation Transport — Rethinking How Small Social Networks Talk to Each Other- Now witness the power of this fully operational Fediverse!- Fediverse onboarding resources- Owncast Newsletter November 2025- Fediverse Report – #144-----#WeekInFediverse #Fediverse #ActivityPubPrevious edition: https://mitra.social/objects/019aa829-83b6-d369-eedb-8725125ced7b
  • 0 Votes
    1 Posts
    8 Views
    Destroying Autocracy – November 27, 2025Welcome to this week’s “Destroying Autocracy”.It’s your source for curated news affecting democracy in the cyber arena with a focus on protecting it. That necessitates an opinionated Butlerian jihad against big tech as well as evangelizing for open-source and the Fediverse. Since big media’s journalism wing is flailing and failing in its core duty to democracy, this is also a collection of alternative reporting on the eternal battle between autocracy and democracy. We also cover the cybersecurity world. You can’t be free without safety and privacy.FYI, my opinions will be in bold. And will often involve cursing. Because humans. Especially tech bros. And fascists. Fuck ’em.The Programmer’s Fulcrum is the future (and smaller) home for a fusion of Symfony Station and Battalion. Its tagline is Devs Defending Democracy, Developing the OMN.You can sign up now and for 2025 get an email with links to each week’s Symfony Station Communiqué and Battalion “Destroying Autocracy” post along with their featured articles. And you’ll be set with TPF after the fusing in January.We are posting on the Fediverse now at @thefulcrum @thefulcrum.dev and original website content will start in 2026.Featured Item(s)The Atlantic writes:Over the weekend, Elon Musk’s X rolled out a feature that had the immediate result of sowing maximum chaos. The update, called “About This Account,” allows people to click on the profile of an X user and see such information as: which country the account was created in, where its user is currently based, and how many times the username has been changed.Nikita Bier, X’s head of product, said the feature was “an important first step to securing the integrity of the global town square.” Roughly four hours later, with the update in the wild, Bier sent another post: “I need a drink.”Almost immediately, “About This Account” stated that many prominent and prolific pro-MAGA accounts, which signaled that they were run by “patriotic” Americans, were based in countries such as Nigeria, Russia, India, and Thailand.@MAGANationX, an account with almost 400,000 followers and whose bio says it is a “Patriot Voice for We The People,” is based in “Eastern Europe (Non-EU),” according to the feature, and has changed its username five times since the account was made, last year.On X and Bluesky, users dredged up countless examples of fake or misleading rage-baiting accounts posting aggressive culture-war takes to large audiences. An account called “Maga Nadine” claims to be living in and posting from the United States but is, according to X, based in Morocco. An “America First” account with 67,000 followers is apparently based in Bangladesh. Poetically, the X handle @American is based in Pakistan, according to the feature.Elon Musk’s Worthless, Poisoned Hall of MirrorsJust FYI, December 25th will be the day I stop exploring the stupidity of our current timeline and the last Destroying Autocracy post. Again, see the notes above about The Fulcrum.We start and end with good news to make the middle bearable.The response to Russia’s War Crimes, Techno Feudalism, and other douchebaggeryEuroNews reports:Life after chatbots: Meet the ‘AI vegans’ refusing to accept a virtual realityKagi is:Introducing SlopStop: Community-driven AI slop detection in Kagi SearchOrion 1.0 ✴︎ Browse BeyondFucking awesome if you use Macs.TechPolicy Press reports:Why Civil Society Is Sounding the Alarm on the EU’s Omnibus RollbackThe Guardian reports:European parliament calls for social media ban on under-16sThe Free Software Foundation Europe shares:Germany Stack: Only Free Software Enables Digital SovereigntyWikimedia announces:Unifying our mobile and desktop domainsDecidim reviews:Decidim Fest 2025: Collective energy, digital sovereignty and a common roadmapThe Conversation reports:Tim Berners-Lee wants everyone to own their own data – his plan needs state and consumer support to workMullvad reports:An important victory – but we still need to stop Chat Control.Ploum says:Don’t Do Snake Oil WritingFiona Fokus says:I don’t care how well your “AI” worksAbso-fucking-lutely.NeutralThe Guardian asks:Has Britain become an economic colony?England always makes sure to ape the shitty parts of America.W3C shares:Preventing Abuse of Digital CredentialsBen Werdmuller covers:The EFF we need nowThe Evil Empire (AKA Autocracy) Strikes BackHeise reports:Analysis of the Digital Sovereignty Summit: Open Source Gets ScoldedWe Are Solomon reports:Hungry for data: Inside Europol’s secretive AI programThe Intercept reports:The FBI wants to use Surveillance Drones with Facial Recognition TechnologyHow Corporate Partnerships Powered University Surveillance of Palestine ProtestsThe Counter Offensive reports:Witkoff was secretly giving Russians advicePariah StatesThe Register reports:CISA warns spyware crews are breaking into Signal and WhatsApp accountsDarkReading reports:DPRK’s FlexibleFerret Tightens macOS GripBig MediaThe Columbia Journalism Review reports:Could Public Skepticism of the Press Actually Be Good for Democracy?It could since most Big Media is owned by right-wing c^nts.ProPublica shares:ProPublica’s May-August 2025 Impact Report: Independent Investigations That Spur ChangeBig TechSage JournalsAlgorithms at your service: Understanding how X’s systems of recommendation likely fueled the far-right riots in the United Kingdom by amplifying visual representations of racist conspiracy theoriesRenée DiResta reports:On the internet, nobody knows you’re a MAGA influencer… in LagosThe Daily Beast reports:Top MAGA Influencers Accidentally Unmasked as Foreign Trolls404 Media reports:America’s Polarization Has Become the World’s Side HustleThe Register reports:Meta knows how bad its sites are for kids, say lawyersMM+M reports:What healthcare marketers need to know about Meta’s censoring of abortion adsThe Markup reports:How American Big Tech guards the profits it extracts around the worldCybersecurity/PrivacyBleepingComputer reports:Cox Enterprises discloses Oracle E-Business Suite data breachHmm, cable companies are literally shit at everything.Code beautifiers expose credentials from banks, govt, tech orgsDarkReading reports:Infamous Shai-hulud Worm Resurfaces From the DepthsThe Register reports:FCC guts post-Salt Typhoon telco rules despite ongoing espionage riskFediverseTerence Eden has:Now witness the power of this fully operational Fediverse!Ghost has:Explore the independent webRadWeb Hosting shares:How to Host Your Own Mastodon Server on a VPS (5 Minute Quick-Start Guide)How to Install Pleroma on Ubuntu VPS (5 Minute Quick-Start Guide)NodeBB announces:NodeBB v4.7.0 — category boost fixes, remote media/emoji in chats, and more!Slightly Decentralized Social MediaConnected Places has:ATmosphere Report – 144CTAs (aka show us some free love)That’s it for this week. Please share this edition of Destroying Autocracy.Follow me on the Fediverse. Or this site via the button in the footer. Or via RSS. Or even our future home in 2026, if you want a head start.Keep fighting!Ringleader, BattalionReuben Walker Follow me on the Fediverse#activitypub #ai #atproto #autocracy #bigJournalism #bigTech #democracy #fascism #fediverse #mastodon #nodebb #pleroma #stopChina #stopIsrael #stopRedAmerica #stopRussia #supportUkraine #technoanarchism #technofeudalismhttps://battalion.mobileatom.net/?p=3992