So now I am more receptive to these ideas.
Edward
Another question is whether the integration is just at the load/save
level or at the node traversal level, i.e. constantly using a data
backend. I think if we started with the load/save level, the sweet
spot might be some subtree / node level live refresh from a data
backend.
For diffs, seems an xml to yaml conversion would achieve that? Like I
say, haven't been following the conversation too closely.
Cheers -Terry
The next more challenging task is to create an elegant GUI that user can use to run all those functions.
I am not sure that all this would be useful at all. I can't recall when was the last time that I needed something like this. But maybe I would use it more often if it was possible in the first place.
The way I see it, this can be interpreted as "undo/redo" functionality but persistent between editing sessions and spread at node levels, i.e. every node has its own "undo/redo" timeline. It may be useful, who knows?
I assume you mean it's just one Python file, that could be distributed
with Leo? That is an advantage.
backend.snapshot_node(<node_id>, <node_content>)
backend.node_versions(<node_id>) # list version_ids of available versions
backend.get_node(<node_id>, <version_id>)
Cheers -Terry
I'm not sure there's enough difference in convenience there to put a lot
of weight on that distinction.
Cheers,
Offray
--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscribe@googlegroups.com.
To post to this group, send email to leo-e...@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.
Richard Hipp, Fossil and SQLite author, makes that distinction and about the "pile of files" database (like the .git folder) instead of the single file approach[2]. There is a lot of querying capabilities of the last one, as you can see on [4]
[2] https://www.youtube.com/watch?v=8y_ABXwYtuc
[3] https://www.youtube.com/watch?v=ghtpJnrdgbo
[4] http://fossil-scm.org/index.html/doc/trunk/www/webpage-ex.md
If the emphasis is on node versioning, there's this:
https://groups.google.com/d/msg/leo-editor/LIUGtgP8T_s/oSQD4RQGeogJ
which points to a couple of older posts.
I think node versioning is a potentially "killer app".
Having a fully automatic document versioning system at the .leo file level and node level would be a turbo boost in project organization and development tracking, a fine-grained full-fledged document history. At this level you could truly be able to see a piece of software unfold and develop in ways that aren't foreseeable with manual operation.
I think it would also provide robustness to the concept of "undo". Being able to "undo" node level edits at any time and location is an awesome idea. There are potential statistical and visualization concepts that can aid development as well.
I am skeptical about such grand claims. The real "action" consists of ideas. They get translated into a gazillion small steps. It's almost certainly impossible to go backwards from code to concept. My present opinion, lightly held, is that if you can't deduce what is happening from the checkin logs, you have no chance of doing so from the actual code.
Well, if I'm being honest this is all theoretical in my mind. I've been looking into Fossil more and just the name triggers ideas. Fossil was chosen as a name due to the fact that all artifacts in Fossil are immutable and could be thought of as fossils. The imagery of archaeology is what I find powerful.An automatic and "fossilized" undo system can be useful, here is an anecdote. I was recently working on some code that was not version controlled (I know, I was asking for it) and I accidentally deleted a node containing a class implementation that I didn't realize was gone until hours worth of coding later,
So, if version control is so important and outlining is so powerful, then why wouldn't version control at the node level be powerfully important?
I am skeptical about such grand claims. The real "action" consists of ideas. They get translated into a gazillion small steps. It's almost certainly impossible to go backwards from code to concept. My present opinion, lightly held, is that if you can't deduce what is happening from the checkin logs, you have no chance of doing so from the actual code.
People like you, Edward, are about as active a committer as I have met, most projects on github come nowhere near to your level of individual activity. You're doing it the "right" way but I don't think we can expect everyone to do it the right way. And even for you, we've still missed a gazillion of your small steps. Archeologically speaking are we to believe that we have nothing to learn from those small steps. My theory is that there has to be something there.
Here is a basic idea, and one that comes from data science and statistics. When you've got a gazillion of something usually the only way to digest it is with statistical data. Numbers and figures which help describe the nature and shape of that big blob on gazillion somethings.
I don't follow the argument. In your case, you deleted a node. How could you then Leo to recover that node using node history?
There is no doubt that deep learning is going to transform the world. But if the intentions and notes for a project already exist, there is no need to recreate them.
It's an interesting question. Sure, there may be something to be learned from looking a gazillion small steps. But life is way too short for such an approach.
Devs should study both the git issue and the official docs closely. It would be a huge waste of time to study the git commits or (oh horror!) the git diffs.
Hi,
Core object provides outlining with node versioning:
Still on early stages, but I think that it helps into making a point about these possibilities (which doesn't mean that they should be implemented on Leo ;-) ).
Cheers,
Offray
--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+...@googlegroups.com.