CRDT: Fractional Indexing
41–48 of 48 posts
Re: CRDT: Fractional Indexing
#42To me the other algorithms described in the list are more novel and interesting: https://madebyevan.com/algos/crdt-tree-based-indexing/ - for when precise order is critical, like paragraphs in a document. This algorithm is almost like storing adjacency information like a linked list, but is more convergent. Very interesting for [my use-case]( https://www.notion.so/blog/data-model-behind-notion ). https://madebyevan.c…
Re: CRDT: Fractional Indexing
#43[0] https://stackoverflow.com/questions/40718900/jiras-lexorank-...
Re: CRDT: Fractional Indexing
#44Earlier quoted context omitted.
The first use is a hyperlink to a whole article defining the term, what are you on about?
Also, outside the page title/headings and the reference to the name of said external paper the first use in the document _is_ where they use the expanded name.
Re: CRDT: Fractional Indexing
#45Anyone unsure of what a CRDT is (I think everyone on HN must know by now), this is the perfect intro: https://www.inkandswitch.com/peritext/ The two most widely used CRDT implementations (combining JSON like general purpose types and rich text editing types) are: - Automerge https://github.com/automerge/automerge - Yjs https://github.com/yjs/yjs Both have JS and Rust implementations, and have bindings to most online…
Even that link was 5 pages in (on my phone) before it deigned to mention: > It is a Conflict-free Replicated Data Type (CRDT) What happened to the idea of defining all non-universally-recognised acronyms the first time you use the term? With people making up new terms exponentially faster than ever before, it’s now more important than ever.
Re: CRDT: Fractional Indexing
#46reminds me a lot of Ford Circle / Farey Diagram / Stern Brocot tree Basically a tree of fractions where you take two rational points on a number line, a/b and c/d, then the next point in the tree is (a+b) / (c+d). Turns out that every single point you create this way has a unique position and never duplicate each other, and it forms a tree like structure. https://en.wikipedia.org/wiki/Ford_circle not sure if this wou…
Re: CRDT: Fractional Indexing
#47Earlier quoted context omitted.
Are you using Yjs? How are you thinking about scale-up for teams with 100s - 1000s of users?
We've looked at Yjs but ultimately decided to write our own thing from scratch. Even scale-ups with thousands of users will have people working on different parts of the document tree in practice. The client doesn't need to receive every keystroke for people editing somewhere far away in the document tree. Those updates can be sent in batches every once in a while. If 10.000 people decide to edit the exact same locat…
Re: CRDT: Fractional Indexing
#48We should end the CRDT vs OT debate once and for all.