Re: [jupyter] download is .ipynb in safari

2016-10-28 Thread Matthias Bussonnier
Thanks for the report,

Unfortunately as far as I remember there is nothing we can do about this.
Safari is known to have many problems with Jupyter Notebook in general,
and is not one of the browser we recommend.

Thanks,
-- 
Matthias

On Wed, Oct 26, 2016 at 3:48 PM, Gideon Simpson
 wrote:
> I'm finding that if I download  notebook as a .ipynb file while using Safari
> it appends the .json extension to it.  This problem does not occur if I use
> another browser.
>
> --
> 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/571b829b-e0cf-4a4b-88da-953a8e84a30f%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/CANJQusXMCxX1tOX_UrGepKjcXRxA8ZucD19O8vvcFpyiGWLoNw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] PDF Viewer

2016-10-28 Thread Brian Granger
Here is an example of a plugin that has a custom file viewer:

https://github.com/jupyterlab/jupyterlab_geojson

That would get you started. Let us know if you have questions...

On Fri, Oct 28, 2016 at 2:23 PM, Chris Colbert  wrote:
> We don't have a way to do that out of the box, but I imagine you could use
> something like pdf.js to write a plugin to do that.
>
> https://mozilla.github.io/pdf.js/
>
> On Fri, Oct 28, 2016 at 2:43 PM, Pedro Rodriguez 
> wrote:
>>
>> Hi All,
>>
>> I am curious if there is a way to view a PDF within Jupyter lab.
>>
>> Thanks!
>> Pedro Rodriguez
>> PhD Student in Machine Learning | CU Boulder
>>
>> --
>> 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/15061c45-4f38-4974-bbe5-0abd4ba00431%40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> 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/CAPc_zRVPyURoaGMfCxPBgYSP%3DbJPV%3Dqzq_vauFeJRwt%2B6%3D5Z4Q%40mail.gmail.com.
>
> For more options, visit https://groups.google.com/d/optout.



-- 
Brian E. Granger
Associate Professor of Physics and Data Science
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
bgran...@calpoly.edu and elliso...@gmail.com

-- 
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/CAH4pYpRddiONjo6VUsoenYdr6B0XyZX%2Bk8oGqsPKhHGEfNCPig%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] PDF Viewer

2016-10-28 Thread Chris Colbert
We don't have a way to do that out of the box, but I imagine you could use
something like pdf.js to write a plugin to do that.

https://mozilla.github.io/pdf.js/

On Fri, Oct 28, 2016 at 2:43 PM, Pedro Rodriguez 
wrote:

> Hi All,
>
> I am curious if there is a way to view a PDF within Jupyter lab.
>
> Thanks!
> Pedro Rodriguez
> PhD Student in Machine Learning | CU Boulder
>
> --
> 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/15061c45-4f38-4974-bbe5-0abd4ba00431%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAPc_zRVPyURoaGMfCxPBgYSP%3DbJPV%3Dqzq_vauFeJRwt%2B6%3D5Z4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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  > 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  > 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.


Re: [jupyter] Output cell history / diff?

2016-10-28 Thread wwwald
Hello Yuvi,

Just thinking out loud here - wouldn't it be possible to use git as the 
backend for managing the cell's history?

I'm sure it would take quite some additional work and thinking. But I've 
been eager to find a decent solution to integrate git with our 
notebooks/JupyterHub setup for quite some time, I think this would be a 
great way to have fine-grained versioning, even at the cell level. And it 
would avoid notebooks blowing up in size.

Maybe it's a stupid idea - I'm not very familiar with notebook internals 
yet. Let me know what you think.

wwwald

On Friday, October 28, 2016 at 3:57:42 AM UTC+2, 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  > 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  > 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/0152028b-0ded-41de-bbc4-6f9c4c1d6b6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.