{ "includeCoAuthoredBy": false }
If you end up adding anything, you may also choose to give back to the template so that others can use it.
I do not understand what you meant by "ty", though?
There is one operation to change the tree, called insmov (move-or-insert). Whenever a client is online it can sync changes C to a server. Whenever the server has remote changes for us, it will send us back a list R of all changes since our last sync in a global linear order. We then undo any of the insmovs in our changeset C, and (re)apply all changes in R + any new changes we didn't sync yet.
We don't use any fractional indices though. Instead, our insmov tuple not only contains a parent P, but also a previous sibling guid A. Because all tree ops will eventually be applied in the global linear order as determined by the server, "sorting" is handled by just using the insmov operation.
Most of the time the undo'ing of operations is not needed though. Only when the server has insmov changes we don't know about while we are sending new insmovs ourselves do we need to ensure we replay the operations in the correct order. That's likely to happen when you reconnect to wifi after a long flight, but not so likely when updates are pushed in real-time over websocket when you're online (plus it's not needed for non-insmov operations, like updating text).
Boiler Room is an underground music platform. We’re looking for an experienced lead to join us & manage a small team of developers within our product team.
We’re currently working on improving the data sets & analytics that help us sell tickets & apparel, solving difficult scaling problems as our audience grows, plus an iOS app where fans can listen without ads.
Our stack currently: NodeJS, JavaScript, React, Python, Django, GraphQL, AWS, Cloudflare
We work 2 days a week from our HQ in Hackney. We are owned by DICE (https://dice.fm/) and we work from their Dalston office sometimes too.
Perks include private healthcare, ClassPass, free food & snacks, a dog friendly office, free clothes quarterly from our collection & guest list to our parties.
Apply here: https://boards.greenhouse.io/boilerroom/jobs/7273620002