News for hackers. Stuff that matters.
Re:Lessons learned from creating a real-time collaborative r... by pg_bot on Tuesday October 16, 2018 @02:40PM (#18232000)
The solution to this problem is to add a translation layer from the tree structure to plain text. If you can do that you can work on any arbitrary data structure easily. I'll leave it up to the reader how to figure out how to do it ;)
Re:Lessons learned from creating a real-time collaborative r... by Reinmar on Tuesday October 16, 2018 @03:03PM (#18232173)
We've been there (although, in case of OT). When implementing CKEditor 5, we started with a linear model and just a couple type of operations (the usual set). At that time, we weren't able to transform that linear model to a tree model because conflict resolution based on that simple set of operations was too dumb. As I mentioned in the other comment about CRDT vs OT, we'd still consider having a linear + tree model duet, but so far it's purely theoretical discussion whether it has a chance to work.
Re:Lessons learned from creating a real-time collaborative r... by jacobush on Tuesday October 16, 2018 @03:09PM (#18232229)
I have proof it works, but there’s no room?