News for hackers. Stuff that matters.
Re:New way to have complex discussions by senkora on Monday May 06, 2024 @04:08PM (#40278929)
I like this thought but note that it would no longer technically be a DAG if you allowed editing earlier comments to link to later comments.
Re:New way to have complex discussions by James_K on Monday May 06, 2024 @04:14PM (#40278979)
This is easy to solve by representing edits as amendments. Each edit forms a new "reply" node in the graph with the amended content.
Re:New way to have complex discussions by readyman on Monday May 06, 2024 @05:23PM (#40279664)
Or each edit forms a new "edit" node that new replies are then connected to. Regardless, the DAG can always be preserved somehow.
Re:New way to have complex discussions by stevage on Monday May 06, 2024 @07:41PM (#40280724)
Ooh, interesting - so it's clear that the B responded to A, not to A'. And your DAG ends up A'->B->A (where -> means responds to).

OTOH I'm not sure that cycles are even a huge problem.

Re:New way to have complex discussions by James_K on Monday May 06, 2024 @07:47PM (#40280766)
They probably aren't a problem, but they might be. I can see there potentially being some graph theory optimisations on the server side you can do if you know you're dealing with a DAG.

> And your DAG ends up A'->B->A

A' would be in response to A.

Re:New way to have complex discussions by basil-rash on Monday May 06, 2024 @06:56PM (#40280439)
You could edit a comment to violate the DAG criterion, but not every edit that references a prior node must result in violation of the DAG. Those edits which would result in a violation should be prohibited.