On Thursday, September 8, 2016, Jason Grout <[email protected]> wrote:
> 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/jupyt > er/nbdime > > One requirement is that is be client side JavaScript, since the idea is that you drag a slider and quickly see the results of diff'ing -- it's nice to avoid any backend back-and-forth for this sort of thing. Still it's good to know about 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. > Those are some great ideas. Thanks; I hope to do something soon-ish. > > 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/ms >>>> gid/sage-cloud/CA%2BjwZMjqRhvKjueNG9q8aSzAZOc77711AEcM2EgL86 >>>> r3uR_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/ms >>> gid/sage-cloud/CAPDWZHx6V3%3DH4ihYck2zA3hVQ-WNSHeqQYUUoCFoDY >>> O_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/ms >> gid/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/ms > gid/sage-cloud/CAPDWZHw%3DVuc0asykwr-W4Cd88rx%2B0x_EUt% > 2BQYvhkdfnDDvJ_yw%40mail.gmail.com > <https://groups.google.com/d/msgid/sage-cloud/CAPDWZHw%3DVuc0asykwr-W4Cd88rx%2B0x_EUt%2BQYvhkdfnDDvJ_yw%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/CA%2BjwZMg9BSLBj5N8%2BH%2B7X_xHFR-AQSZCYp8ggh51kBit2kz1Lw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
