Re: [jupyter] Output cell history / diff?

2016-10-28 Thread Patrick Surry
Very cool!  

Looking forward to seeing your approach on UI, I was imagining just 
forward/back arrows under the "In [20]:" prompt in the margin to flip 
back/forth in the cell history, maybe highlight stuff that differs from the 
next version of the cell?

Not sure how a whole workbook slider would work - wouldn't each cell have 
potentially different amount of history?

Best,
Patrick

On Thursday, October 27, 2016 at 9:57:42 PM UTC-4, Yuvi Panda wrote:
>
> I've extracted that code out into 
> https://github.com/yuvipanda/nbtimetravel. It doesn't have an UI to 
> explore yet - will add that next week, probably. I'm thinking of 
> mostly adding a slider for the whole notebook, and also one per-cell. 
> Ideas / patches welcome :D 
>
> I'm very interested in having this be installed with students' working 
> on learning to code - I feel a lot of insight can be gained by 
> analyzing the evolution of code over time as such students are working 
> towards their assignments or whatever. Just graphing the shape of the 
> AST of the answers to the same question by different students over 
> time seems like it would provide insights... 
>
> On Thu, Oct 27, 2016 at 12:34 PM, Yuvi Panda <yuvi...@gmail.com 
> > wrote: 
> > Haha, we just built something like this last Friday for a workshop we 
> > did at UC Berkeley. I'm going to spend some more time polishing it and 
> > making it better before publishing it. It's called 'nbhistory' - I'll 
> > send a link as soon as I've a vague version up, and would love it for 
> > you to test it up and give feedback! 
> > 
> > On Thu, Oct 27, 2016 at 8:41 AM, Patrick Surry <pat...@hopper.com 
> > wrote: 
> >> One of the great things about Jupyter for data analysis is that it 
> preserves 
> >> the output of each cell within and between sessions as a "historical 
> >> record". 
> >> 
> >> I often find myself copying & pasting a cell to execute with small 
> changes 
> >> and then compare to a previous iteration, either while I'm exploring 
> >> interactively, or because I'm re-running a previous analysis with 
> updated 
> >> data. 
> >> 
> >> In those cases it'd be really handy if you could preserve a few prior 
> >> versions of the output cell, so you could flip back & forth to compare 
> and 
> >> perhaps highlight differences automagically. 
> >> 
> >> Has anyone experimented with anything like that? 
> >> 
> >> Cheers, 
> >> Patrick 
> >> 
> >> -- 
> >> You received this message because you are subscribed to the Google 
> Groups 
> >> "Project Jupyter" group. 
> >> To unsubscribe from this group and stop receiving emails from it, send 
> an 
> >> email to jupyter+u...@googlegroups.com . 
> >> To post to this group, send email to jup...@googlegroups.com 
> . 
> >> To view this discussion on the web visit 
> >> 
> https://groups.google.com/d/msgid/jupyter/d32d8284-dd02-4f14-96e9-705c5d3d9adc%40googlegroups.com.
>  
>
> >> For more options, visit https://groups.google.com/d/optout. 
> > 
> > 
> > 
> > -- 
> > Yuvi Panda T 
> > http://yuvi.in/blog 
>
>
>
> -- 
> Yuvi Panda T 
> http://yuvi.in/blog 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/ea969a17-54f0-4385-8a26-2474cbff992a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Output cell history / diff?

2016-10-27 Thread Patrick Surry
One of the great things about Jupyter for data analysis is that it 
preserves the output of each cell within and between sessions as a 
"historical record".

I often find myself copying & pasting a cell to execute with small changes 
and then compare to a previous iteration, either while I'm exploring 
interactively, or because I'm re-running a previous analysis with updated 
data.

In those cases it'd be really handy if you could preserve a few prior 
versions of the output cell, so you could flip back & forth to compare and 
perhaps highlight differences automagically.

Has anyone experimented with anything like that? 

Cheers,
Patrick

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/d32d8284-dd02-4f14-96e9-705c5d3d9adc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.