Just got Lopecode's plain text serialisation forma...
# devlog-together
t
Just got Lopecode's plain text serialisation format deterministic so its now git diff friendly! The first version of the new multi-notebook architecture is public here from the lopecode repository. The code editing experience sucks and I lost a lot of functionality switching to dockered multi-notebook but it is so much better being able to work on two or more reactively linked notebooks at the same time it will be worth the backward step long term.
g
How did you make the text serialization deterministic? FYI - I've been playing with JSON (ick) as an I.R. and using
jq
to sort the fields alphabetically.
t
They were mostly ordered already, the notebook cell order is the serialisation order. I only needed to sort the modules by their name and it was done, but before that the git diffs were 1000 line blocks moving around randomly
first bug fix as a git commit https://github.com/tomlarkworthy/lopecode/commit/a98f7529f869a3aa61f43ece1faedad563de457f still a bit messy but it is actually readable now.