Re: Demo: Zeppelin Table of Contents Spell

2017-10-16 Thread Cyril Scetbon
Nice !
> On Oct 16, 2017, at 1:56 PM, Ryan  wrote:
> 
> Check it out!
> 
> This feature was the biggest thing stopping me from switching from Jupyter to 
> Zeppelin, it makes it very easy to navigate large notebooks.
> 
> Don’t look at the code, I wrote it from within the chrome developer console 
> lol.
> 
> https://github.com/Submersible/zeppelin-toc-spell 
> 


Re: python.docker interpreter not working

2017-10-04 Thread Cyril Scetbon
But python.docker needs to be activated in one note and used in another, how 
then could you use %python.docker and %python in different notes ? I suppose 
it's possible if you manually run each note sequentially but not if you choose 
to run all notes contained in a notebook ? (Using the run all at the top of the 
notebook)

Cyril Scetbon

> On Oct 4, 2017, at 5:31 PM, David Howell <david.how...@zipmoney.com.au> wrote:
> 
> The context of an interpreter is global by default, but you can set the scope 
> to be isolated per note, which would allow you do have a different %python in 
> different notes.
> You could also create a second python interpreter as a copy and call it 
> something different like %python27 or %python36
>  
>  
>  
> From: Cyril Scetbon [mailto:cyril.scet...@free.fr] 
> Sent: Thursday, 5 October 2017 8:14 AM
> To: David Howell <david.how...@zipmoney.com.au>
> Cc: users@zeppelin.apache.org
> Subject: Re: python.docker interpreter not working
>  
> Oh thanks David, interesting, however that’s super counterintuitive .. Then 
> how do you manage to you use one version in a paragraph and another one 
> somewhere else ? Does it mean that you need to use the same one for all the 
> paragraphs you’re working on ?
> Because I’m wondering how it does as Zeppelin is supposed to run all 
> paragraphs in parallel.
>  
> On Oct 4, 2017, at 4:27 PM, David Howell <david.how...@zipmoney.com.au> wrote:
>  
> Hi Cyril, I found a gif in the original Jira ticket showing how this would 
> work. It appears that it works similarly to %python.conda
>  
> You would use %python.docker in one paragraph to activate the container, and 
> just %python in the next paragraph to execute python in the context of that 
> docker:
>  
> https://cloud.githubusercontent.com/assets/1540981/20421814/38a93a9c-ad1b-11e6-8a64-2d0230ff4d8a.gif
>  
> From: Cyril Scetbon
> Sent: Thursday, 5 October 2017 6:13 AM
> To: users@zeppelin.apache.org
> Subject: python.docker interpreter not working
>  
> Hey guys,
>  
> I’m trying to use python.docker but activating an image doesn’t work. I’m 
> using version Zeppelin 0.7.3 
>  
> 
>  
> 
>  
> Docker is installed on my machine :
>  
> docker run -ti python:2.7 python -V   
>   
> 100%   15:11:16
> Python 2.7.14
>  
> And this is what I see in Zeppelin logs :
>  
> WARN [2017-10-04 15:10:35,998] ({pool-2-thread-34} 
> NotebookServer.java[afterStatusChange]:2064) - Job 20171004-150341_2114032812 
> is finished, status: ERROR, exception: null, result: %text Not supported 
> command: activate python:2.7
> print ‘nothing'
>  
> Thanks
> —
> Cyril Scetbon
>  


Re: python.docker interpreter not working

2017-10-04 Thread Cyril Scetbon
Oh thanks David, interesting, however that’s super counterintuitive .. Then how 
do you manage to you use one version in a paragraph and another one somewhere 
else ? Does it mean that you need to use the same one for all the paragraphs 
you’re working on ?
Because I’m wondering how it does as Zeppelin is supposed to run all paragraphs 
in parallel.

> On Oct 4, 2017, at 4:27 PM, David Howell <david.how...@zipmoney.com.au> wrote:
> 
> Hi Cyril, I found a gif in the original Jira ticket showing how this would 
> work. It appears that it works similarly to %python.conda
>  
> You would use %python.docker in one paragraph to activate the container, and 
> just %python in the next paragraph to execute python in the context of that 
> docker:
>  
> https://cloud.githubusercontent.com/assets/1540981/20421814/38a93a9c-ad1b-11e6-8a64-2d0230ff4d8a.gif
>  
> <https://cloud.githubusercontent.com/assets/1540981/20421814/38a93a9c-ad1b-11e6-8a64-2d0230ff4d8a.gif>
>  
> From: Cyril Scetbon <mailto:cyril.scet...@free.fr>
> Sent: Thursday, 5 October 2017 6:13 AM
> To: users@zeppelin.apache.org <mailto:users@zeppelin.apache.org>
> Subject: python.docker interpreter not working
>  
> Hey guys,
> 
> I’m trying to use python.docker but activating an image doesn’t work. I’m 
> using version Zeppelin 0.7.3 
> 
> 
> 
> 
> 
> Docker is installed on my machine :
> 
> docker run -ti python:2.7 python -V   
>   
> 100%   15:11:16
> Python 2.7.14
> 
> And this is what I see in Zeppelin logs :
> 
> WARN [2017-10-04 15:10:35,998] ({pool-2-thread-34} 
> NotebookServer.java[afterStatusChange]:2064) - Job 20171004-150341_2114032812 
> is finished, status: ERROR, exception: null, result: %text Not supported 
> command: activate python:2.7
> print ‘nothing'
> 
> Thanks
> —
> Cyril Scetbon



Re: Completion

2016-09-12 Thread Cyril Scetbon
https://issues.apache.org/jira/browse/ZEPPELIN-1429
> On Sep 12, 2016, at 11:49, Hyung Sung Shim <hss...@nflabs.com> wrote:
> 
> Maybe it was my misunderstood, I thought that doesn't work pop-up for 
> completion.
> I just tested spark auto completion but it doesn't work as you said.
> I think this issue is from spark-2.0 supporting.
> Do you mind creating jira issue for this?
> 
> 2016-09-13 0:11 GMT+09:00 Cyril Scetbon <cyril.scet...@free.fr 
> <mailto:cyril.scet...@free.fr>>:
> Hey,
> 
> not working too :(
> I tried "ctrl.", "cmd.", "alt.", nothing works
> 
>> On Sep 12, 2016, at 10:00, Hyung Sung Shim <hss...@nflabs.com 
>> <mailto:hss...@nflabs.com>> wrote:
>> 
>> Hello.
>> Could you put the key "Ctrl ." (Ctrl + dot) for the completion?
>> 
>> 2016-09-12 22:43 GMT+09:00 Cyril Scetbon <cyril.scet...@free.fr 
>> <mailto:cyril.scet...@free.fr>>:
>> Hi,
>> 
>> I'm testing Zeppelin 0.6.0 and I've not been able to use completion on OSX. 
>> I tried the combination ctrl+ with both Safari and Chrome without success. 
>> Am I missing something ? Does it work only with some interpreters and not 
>> others ? I tried to use only with the default interpreter (%spark)
>> 
>> Thanks
>> 
> 
> 



Re: Completion

2016-09-12 Thread Cyril Scetbon
sure
> On Sep 12, 2016, at 11:49, Hyung Sung Shim <hss...@nflabs.com> wrote:
> 
> Maybe it was my misunderstood, I thought that doesn't work pop-up for 
> completion.
> I just tested spark auto completion but it doesn't work as you said.
> I think this issue is from spark-2.0 supporting.
> Do you mind creating jira issue for this?
> 
> 2016-09-13 0:11 GMT+09:00 Cyril Scetbon <cyril.scet...@free.fr 
> <mailto:cyril.scet...@free.fr>>:
> Hey,
> 
> not working too :(
> I tried "ctrl.", "cmd.", "alt.", nothing works
> 
>> On Sep 12, 2016, at 10:00, Hyung Sung Shim <hss...@nflabs.com 
>> <mailto:hss...@nflabs.com>> wrote:
>> 
>> Hello.
>> Could you put the key "Ctrl ." (Ctrl + dot) for the completion?
>> 
>> 2016-09-12 22:43 GMT+09:00 Cyril Scetbon <cyril.scet...@free.fr 
>> <mailto:cyril.scet...@free.fr>>:
>> Hi,
>> 
>> I'm testing Zeppelin 0.6.0 and I've not been able to use completion on OSX. 
>> I tried the combination ctrl+ with both Safari and Chrome without success. 
>> Am I missing something ? Does it work only with some interpreters and not 
>> others ? I tried to use only with the default interpreter (%spark)
>> 
>> Thanks
>> 
> 
> 



Re: Completion

2016-09-12 Thread Cyril Scetbon
Hey,

not working too :(
I tried "ctrl.", "cmd.", "alt.", nothing works
> On Sep 12, 2016, at 10:00, Hyung Sung Shim <hss...@nflabs.com> wrote:
> 
> Hello.
> Could you put the key "Ctrl ." (Ctrl + dot) for the completion?
> 
> 2016-09-12 22:43 GMT+09:00 Cyril Scetbon <cyril.scet...@free.fr 
> <mailto:cyril.scet...@free.fr>>:
> Hi,
> 
> I'm testing Zeppelin 0.6.0 and I've not been able to use completion on OSX. I 
> tried the combination ctrl+ with both Safari and Chrome without success. Am I 
> missing something ? Does it work only with some interpreters and not others ? 
> I tried to use only with the default interpreter (%spark)
> 
> Thanks
> 



Completion

2016-09-12 Thread Cyril Scetbon
Hi,

I'm testing Zeppelin 0.6.0 and I've not been able to use completion on OSX. I 
tried the combination ctrl+ with both Safari and Chrome without success. Am I 
missing something ? Does it work only with some interpreters and not others ? I 
tried to use only with the default interpreter (%spark)

Thanks