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

Deleting a post vs deleting an entire comment tree

Technical Discussion
49 14 6

Gli ultimi otto messaggi ricevuti dalla Federazione
  • @mariusor @julian @helge

    i'd rather have an actual context for tracking context. from the point of view of being understood, if you said "What's your favorite pie?" and i said "Julian is invited to my house this weekend", then this is a non sequitur.

    a real example of multi-reply:

    inReplyTo: [
    - AT&T tells the FTC it is a common carrier and the FTC has no jurisdiction
    - AT&T tells the FCC that it is not a common carrier and is not subject to net neutrality
    ]
    content: AT&T is doublespeaking

    read more

  • @trwnh an example
    for threading based on multiple elements for inReplyTo (using vanilla JavaScript): https://git.sr.ht/~mariusor/oni/tree/master/item/src/js/items-threading.js

    This is my last contribution to this discussion, with apologies for the spamming to all that have been dragged into it inadvertently.

    @julian @helge

    read more

  • @trwnh I dislike to have to get into the semantics of what "a reply" is, but from my point of view the definition matches any downstream element in a discussion. Why? Because in a discussion context matters, both on a comprehension level and on the pragmatic ActivityPub level, as we can see from the work the threadiverse does. So yes, it's not an immediate reply to its ancestors but it is in the "reply chain" of its ancestors, and that is sufficient for me.

    If your worry is about how to deal with this programmatically, check JWZ's message threading algorithm, which gives good solutions even with multiple ancestors.

    @julian @helge

    read more

  • @mariusor @julian @helge i got here via a discussion on activitypub.space, not via your profile.

    in any case, per https://www.w3.org/TR/activitystreams-vocabulary/#dfn-inreplyto

    > Indicates one or more entities for which this object is considered a response.

    if A says something and B responds to what A said, then C responds to what B said, it is not universally true that C is always responding to A as well.

    A: What's your favorite pie?
    B: I like apple pie.
    C: Hey B, wanna try my apple pie this weekend?

    C is not a response to A.

    read more

  • @trwnh ok, that's a valid opinion to have, but I disagree with it, and as long as you can't offer me a specification quote which contradicts my point of view "misuse" is just like your opinion, man.

    Also, please stop reply guying every time I offer my input to somebody else.

    @julian @helge

    read more

  • @mariusor @julian @helge i'm saying you should define an "ancestors" property for this instead of misusing "inReplyTo". if i am responding to specific posts, i am not necessarily responding to something 20 recursive replies upward.

    read more

  • @trwnh I'm not sure how much time you spent thinking about this, but I have and I *do* think that it makes sense, thank you for your input. Also it does not violate any constraints in the specification, though if you know of one I'd love to hear it.

    The advantage of having all ancestors there is that the object can be disseminated to all the instances in that list, and be added to all the replies collections of its ancestors. As such when you retrieve any of those ancestor replies collections you have the full thread from their point downwards and you don't need to fetch other replies collections up the chain.

    @julian @helge

    read more

  • @julian with_replies doesn't make sense, but neither does Remove(Context). if the intent is to signal "we locally cleared our cache" then i'm not sure that's relevant to anyone else?

    read more
Post suggeriti
  • Probando snac en debian.

    General Discussion activitypub mastodon snac
    1
    0 Votes
    1 Posts
    12 Views
    Probando snac en debian. Esto sí que es autarquía. Ya ni siquiera se trata de Mastodon, o de elegir alguna instancia, sino de optar por su lenguaje, ActivityPub, o de montar instancia propia, nómada, itinerante, en algún cacharro electrónico reciclado.#ActivityPub #Mastodon #snac
  • 0 Votes
    1 Posts
    15 Views
    Vacations are wonderful. It is a privilege to be able to travel without worry. It's also wonderful to be home, and to have the time to work on projects I care about. With those thoughts in mind, I present release v3.1.1 of Ktistec, an ActivityPub server written in the Crystal programming language!This release is a mixed bag of small features and improvements:AddedAuto-link URLs in posts. (fixes #24)Support searching by actor username. (fixes #102)Support hourly granularity in metrics charts.FixedMark actor as down if refresh fails.Remove draft posts from the everything collection.Ignore charts with no points in the date range.Ensure HTTP::Client instances are closed.I added support for multiple users at the beginning of the month. I'm very interested in feedback on how that's working out for anyone using it.#ktistec #fediverse #activitypub #crystallang
  • 0 Votes
    7 Posts
    40 Views
    @dnkrupinski immernoch?
  • 0 Votes
    1 Posts
    17 Views
    Mastodon has a concept called "pinned statuses", which is a special collection attached to a Person actor. https://docs.joinmastodon.org/spec/activitypub/#featured It wasn't readily known how this collection is updated and federated (not without code achaeology), but claire@social.sitedethib.com recently shared some additional info :smiley: The actor itself will issue an Add activity targeting the collection with the status in object. This activity is sent to all followers of the actor. No activity is sent if the actor has no remote followers. A Remove is sent when a pinned post is unpinned. This is what the Add looks like: { "@context": "https://www.w3.org/ns/activitystreams", "type": "Add", "actor": "https://example.org/users/testUser", "target": "https://example.org/users/testUser/collections/featured", "object": "https://example.org/users/testUser/statuses/115266412340579560" } The corresponding Remove is identical except for type, which is of course, Remove.