News for hackers. Stuff that matters.
Re:Open source collaborative text editors by mkl on Tuesday May 07, 2019 @05:32AM (#19847813)
Do you have any idea which would be better for a vector based drawing app? The data is mostly strokes (lists of points), and individual strokes generally don't change.
Re:Open source collaborative text editors by alpyne on Tuesday May 07, 2019 @06:06AM (#19847966)
From the introduction:

"After over a decade, however, CRDT solutions are rarely found in working co- editors or industry co-editing products, but OT solutions remain the choice for building the vast majority of co-editors. In addition, the scope of nearly all CRDT solutions for co-editing are confined to resolving issues in plain-text editing, while the scope of OT has been extended from plain-text editing to rich text word processors, and 3D digital media designs, etc."

Re:Open source collaborative text editors by mkl on Tuesday May 07, 2019 @06:22AM (#19848039)
I'm not sure what to make of that, though, as there seem to be quite a few different JSON CRDT libraries, for example.

Just after that it says "The contradictions between these realities and CRDT’s purported advantages have been the source of much debate and confusion in co-editing research and developer communities." That's kind of my question/confusion: people writing CRDTs really talk them up, and I can't tell what's true in practice. I have no way to judge the accuracy of this paper myself (I don't know enough to really understand it), so I'm hoping someone who knows this stuff in a practical way can shed some light on it.

Re:Open source collaborative text editors by AnthonBerg on Tuesday May 07, 2019 @06:48AM (#19848193)
I found that I could eventually power through the paper. I thought it was beyond me at first. Then I got angry and just shoved piece by piece into my head :) Not in linear fashion, and it didn’t happen quickly. Actully not that slow either once I got going. I found I was maybe rather more of a paper-reader than I assumed I was. Probably you too!!
Re:Open source collaborative text editors by scofalik on Tuesday May 07, 2019 @07:44AM (#19848502)
So, what is your conclusion after reading it?
Re:Open source collaborative text editors by AnthonBerg on Tuesday May 07, 2019 @09:39AM (#19849168)
I found the arguments convincing, and will be moving towards OT in general. From outside it feels like OT is generally closer to how I tend to think.
Re:Open source collaborative text editors by bikeshaving on Tuesday May 07, 2019 @12:58PM (#19851253)
Figma has a blog post about the algorithm they use for their collaborative editing features but no open source code as far as I can tell.

https://www.figma.com/blog/realtime-editing-of-ordered-seque...

Re:Open source collaborative text editors by phedkvist on Wednesday May 08, 2019 @02:48PM (#19861753)
I made a collaborative graph editing app using CRDTs in my master thesis. You can read about it here http://liu.diva-portal.org/smash/get/diva2:1292743/FULLTEXT0...
Re:Open source collaborative text editors by AnthonBerg on Tuesday May 07, 2019 @06:15AM (#19848011)
I don’t :) I’m just starting out. I’m sure that there are research papers addressing this question.

However, I think either could work. The task mostly maps onto editing a long string, right?