Yeah, intelligently calculating or showing a diff for structured data can be tricky. A couple of thoughts:
1. Min RK and others are working on a diffing tool for notebooks, but this may be too heavy-weight for what you want: https://github.com/jupyter/nbdime 2. You could show a text-only version of the diff - basically create your own very simple notebook viewer that splats the text into a codemirror with delimiters for the cells and use your existing diff viewer. For the purposes of seeing what text changed, this would go a long way. Another approach is to convert the notebook to a simple sage worksheet view and do the diff there. Thanks, Jason On Thu, Sep 8, 2016 at 4:58 PM William Stein <[email protected]> wrote: > On Thu, Sep 8, 2016 at 1:52 PM, Jason Grout <[email protected]> wrote: > >> This is really cool! Thanks! >> > > Any thoughts about a Jupyter version? Basically one would want to show > only cells that have somehow changed, and *within* the input for each such > cell, use basically the diff viewer here as is. Maybe ignore output. Not > so sure about re-ordering of cells... > > -- William > > >> >> On Thu, Sep 8, 2016 at 2:59 PM William Stein <[email protected]> wrote: >> >>> Hi, >>> >>> I just released a new SageMathCloud feature -- TimeTravel diffs: click >>> changes, drag sliders, and see what changed in a file during any interval. >>> This works for all editor based documents, e.g., code, sage worksheets, >>> etc. (Not available for Jupyter notebooks yet.) You can see exactly what >>> happened with a file during any interval of time. >>> >>> William >>> >>> -- >>> >>> Best Regards, >>> William Stein >>> >>> CEO, SageMath, Inc. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "sage-cloud" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/sage-cloud/CA%2BjwZMjqRhvKjueNG9q8aSzAZOc77711AEcM2EgL86r3uR_eEg%40mail.gmail.com >>> <https://groups.google.com/d/msgid/sage-cloud/CA%2BjwZMjqRhvKjueNG9q8aSzAZOc77711AEcM2EgL86r3uR_eEg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "sage-cloud" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-cloud/CAPDWZHx6V3%3DH4ihYck2zA3hVQ-WNSHeqQYUUoCFoDYO_N6GntA%40mail.gmail.com >> <https://groups.google.com/d/msgid/sage-cloud/CAPDWZHx6V3%3DH4ihYck2zA3hVQ-WNSHeqQYUUoCFoDYO_N6GntA%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . > > >> For more options, visit https://groups.google.com/d/optout. >> > > -- > > Best Regards, > William Stein > > CEO, SageMath, Inc. > > -- > You received this message because you are subscribed to the Google Groups > "sage-cloud" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-cloud/CA%2BjwZMgiTWwmSegrYCpgGAXgYCktgnrdRgG1tCV%2Bgm3DQRktBQ%40mail.gmail.com > <https://groups.google.com/d/msgid/sage-cloud/CA%2BjwZMgiTWwmSegrYCpgGAXgYCktgnrdRgG1tCV%2Bgm3DQRktBQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sage-cloud" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cloud/CAPDWZHw%3DVuc0asykwr-W4Cd88rx%2B0x_EUt%2BQYvhkdfnDDvJ_yw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
