News for hackers. Stuff that matters.
Re:Saving is Obsolete: Etherpad adds time slider by tetha on Thursday September 03, 2009 @12:12PM (#802759)
My development enviroment has this, 's called git diff and git log?
Re:Saving is Obsolete: Etherpad adds time slider by acangiano on Thursday September 03, 2009 @12:20PM (#802786)
Not quite the same thing.
Re:Saving is Obsolete: Etherpad adds time slider by Pistos2 on Thursday September 03, 2009 @12:28PM (#802812)
I commit to version control very often. Further, with version control, you annotate the commits with meaningful messages, and you (presumably) commit at meaningful points in time. For example, you (usually) wouldn't commit in the middle of developing something (when it's obviously broken, even syntactically). Snapshooting at arbitrary points in time would not enjoy these benefits of intentional version control commission.
Re:Saving is Obsolete: Etherpad adds time slider by acangiano on Thursday September 03, 2009 @01:11PM (#802921)
I'm obviously not arguing in favour of replacing git, hg or svn with this. It would be a fun, additional feature to have. You could then watch how the code evolved over time, easily move step-by-step, hand it over to a less experienced developer to teach him how to refactor code, and so on. I would find it useful.
Re:Saving is Obsolete: Etherpad adds time slider by akkartik on Thursday September 03, 2009 @03:31PM (#803304)
That mirrors how I hack. I like to think in terms of the changelog message, what I want to say about the current snapshot, front and center. The fact that the snapshot is saved at that point is almost implicit.

http://akkartik.name/codelog.html (from 2005; now I use git instead of darcs)

Re:Saving is Obsolete: Etherpad adds time slider by thwarted on Thursday September 03, 2009 @12:26PM (#802807)
UI difference. That and when browsing code history, the focus is on commits rather than the order in which the keys were hit. When I'm checking code history, what was typed in between commits would be useless information 99% of the time.
Re:Saving is Obsolete: Etherpad adds time slider by DanielStraight on Thursday September 03, 2009 @12:59PM (#802891)
Much more than UI difference. It's seamless and automatic. That's what makes it different. You CAN do this in any environment, but you might not. I've quite often done some work, decided I didn't like the way I did it, gone back and done something else (never committing the first method), then decided I wanted to original way back.

No one has time to commit EVERYTHING they may want to undo. Also, browsing through history in a version control system takes much longer than dragging a slider.

Re:Saving is Obsolete: Etherpad adds time slider by aaronblohowiak on Thursday September 03, 2009 @01:38PM (#802983)
"No one has time to commit EVERYTHING they may want to undo." - why not? Committing locally takes ~0.25 seconds ( bash script called from command line in vim makes it painless.) then when you're ready for your real commit, you just rebase -i to squash the in-between ones, and then push. as for the slider.. eh.
Re:Saving is Obsolete: Etherpad adds time slider by catch23 on Thursday September 03, 2009 @03:34PM (#803316)
Yeah, but not everyone wants to have their commit logs full "testing sample code 2" etc. Maybe you're profiling and you're trying out different pieces of code to see which ones might be faster -- happens all the time in javascript because browser implementations of javascript aren't identical. I don't do these intermediate commits otherwise my log would be a pain to read and 95% of the commit messages would be me testing out random code samples.

Another useful case for it is when you're just putting in a bunch of debugging statements that you don't want to be committed later. I find myself doing undo/redo all the time for doing stuff like this. I think a more advanced undo/redo would definitely help out.

Re:Saving is Obsolete: Etherpad adds time slider by aaronblohowiak on Thursday September 03, 2009 @09:58PM (#804111)
>not everyone wants to have their commit logs full "testing sample code 2" etc

That's why you squash the commits when you are done with the profiling. Squashing the commits makes it seem like just one commit (and one commit message) in the log.

This way your log is clean, but you get the advantage of frequent saves.

If you dont want to do this, you could probably hook up something with FUSE

Re:Saving is Obsolete: Etherpad adds time slider by iamwil on Thursday September 03, 2009 @01:06PM (#802910)
Sure, developers have this sort of power. Lay people don't. Their target audience is more than just devs.
Re:Saving is Obsolete: Etherpad adds time slider by apotheon on Thursday September 03, 2009 @04:09PM (#803409)
Editor integrated version control is what this is talking about, though.