Re:Show HN: Tonic – A data visualizing REPL for Node.js
by boucher on Tuesday August 18, 2015 @02:24PM
(#10081115)
Yup. The time travel stuff is somewhat transparent and hard to talk about. If you think of the document as a .js file, than it is pretty easy to reason about what will happen. Things are just executed in order. The magic is that we don't have to re-execute a bunch of stuff every time just to get to your actual change.
Re:Show HN: Tonic – A data visualizing REPL for Node.js
by nailer on Tuesday August 18, 2015 @03:40PM
(#10081638)
> The time travel stuff is somewhat transparent and hard to talk about.
Wouldn't that mean it's opaque, since we can't see see into it?
PS. That's picky. This is a rad project and I love the time travel & the 'requiring packages automatically installing them' feature too.
Re:Show HN: Tonic – A data visualizing REPL for Node.js
by anotherangrydev on Tuesday August 18, 2015 @02:30PM
(#10081167)
Do you override 'require('fs')' or do you do some magic at the OS level ?
Re:Show HN: Tonic – A data visualizing REPL for Node.js
by boucher on Tuesday August 18, 2015 @02:36PM
(#10081212)
We use docker pretty extensively, and so between each code cell we can evaluate the layered filesystem docker provides for changes and save them.
Re:Show HN: Tonic – A data visualizing REPL for Node.js
by anotherangrydev on Tuesday August 18, 2015 @05:33PM
(#10082360)
Good, thanks.
If I delete a file through there, and "go back in time" would the files would still be there?