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
45 14 6

Gli ultimi otto messaggi ricevuti dalla Federazione
  • @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

  • trwnh@mastodon.social yes that's the point. I can't enforce behaviour from anyone but we can signal intent.

    That's all this discussion is about. Whether we should Remove(Context) or Delete(Object)+with_replies.

    read more

  • @julian you used the word Delete throughout, so i used the same word. either way, you might consider a policy of treating a context deletion as orphaning all items in the context and then you can optionally garbage-collect them. or not. it's up to you, really!

    read more

  • trwnh@mastodon.social nobody's deleting anything. We're only dealing with removing content.

    (Which I now realize I worded incorrectly in OP, heh)

    That it's a Delete is incidental (and unfortunate wording)

    read more

  • @julian @rimu @nutomic @silverpill essentially the difference between the two actions only exists internally, not externally.

    whether to use a Delete or a Remove is a separate issue of semantics and authority.

    whether to use an array of objects is a separate issue of batching and partial failure. semantically, there is no issue. "john deleted 10 posts" makes sense as a statement.

    read more
Post suggeriti