Major milestone for BrainFrame tonight: I've now got the first part of the synch...
Michael Pedersen @pedersen@c.im
Major milestone for BrainFrame tonight: I've now got the first part of the synchronization layer in place. Local conflict free replicated data types (CRDTs) are now in place. Editing a file produces a log that can be replayed elsewhere. It's not yet fully tested, I'll be focusing on that tomorrow night. But it looks like it works. I can import, I can edit, I can replay.
Important thing to know: You can edit your files using any application on your machine, or from within BrainFrame itself. Vim, TextEdit, Notepad, they all work, and the changes you make there are automatically added to the log when you come back to BrainFrame.
Next up: adding the peer to peer networking layer. Time to grab the spec for the any-sync protocol and get ready to implement that. Hopefully that'll be a little quicker than the CRDTs were, since those took me about 2 months to go from "I have an idea" to "This looks ready for use."
Intense work and learning, but I'm incredibly pleased with what's been accomplished.
Now to ask all of you for some advice: I'm going to be implementing any-sync in dart, but without looking at the code. I'm just using the spec. Anybody got any pitfalls they think I should be aware of? Good practices I should follow? Even if they're not dart specific, I want to know.