Re: [jupyter] JupyterLab Terminal

2017-09-15 Thread Matthias Bussonnier
Which platform are you on ? I believe Terminal are not available on windows.
-- 
Matthias

On Fri, Sep 15, 2017 at 12:47 AM, peter_cz  wrote:
> Dears,
>
> just installed JupyterLab and running it, unofrtunatelly I do not have
> "Terminal" windows there. So I can't run console is it some xtension/plugin?
> How to add it?
>
> Thanks
>
> --
> 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/924d4e2d-2e8d-4c10-8feb-17871dcf2748%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/CANJQusX6KyTaYYBHz9vEfQL_C2dkpLcr6%3D%3D3rwaTFQSVPtanCA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] extension keybinding and custom.js

2017-09-15 Thread Thierry Parmentelat
Thanks Thomas, this is helpful, a registered action has done the trick


-- 
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/e5c212ff-1e4e-4f8b-828b-3ff4c8379865%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] extension keybinding and custom.js

2017-09-15 Thread Thomas Kluyver
Hi Thierry,

On 15 September 2017 at 08:24, Thierry Parmentelat <
thierry.parmente...@gmail.com> wrote:

> by default this function is bound to Alt-R right in the RISE code, and
> right now there is no convenient way to let a user customize this binding
> in her custom.js, because the function name is local to the extension module
>

>From our perspective, I think the answer here is for RISE to define an
'action' which is registered with the notebook, and bind the keyboard
shortcut to that. Then the user can add their own shortcuts for the action.
I think that should even make it show up in the 'edit shortcuts' dialog
inside the notebook.


> it would be cool if I could do something like this
> define(['base/js/namespace', 'nbextensions/rise/main' ], function(Jupyter,
> RISE) {
>
> but that won't work as is; I'm not 100% clear on how these paths get
> searched, but on my mac at least the extensions get installed in a
> different location as the core code, it's probably why..
>

I think that should work. We do something quite similar to that to load
nbextensions. Not sure why it would go wrong.

Thomas

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


Re: [jupyter] extension keybinding and custom.js

2017-09-15 Thread Jason Grout
I'm not sure about the answers for the classic notebook, but just wanted to
point out that customizing keyboard shortcuts is possible in JupyterLab by
default in the settings. The RISE extension (or other slideshow extension)
hasn't been ported over yet, though.

Jason


On Fri, Sep 15, 2017 at 3:25 AM Thierry Parmentelat <
thierry.parmente...@gmail.com> wrote:

> hi jupyter
>
> I have a question regarding the RISE extension, but I feel like it's a
> general pattern for all extensions
>
> in a nutshell, this extension offers one function for starting the
> slideshow
>
> by default this function is bound to Alt-R right in the RISE code, and
> right now there is no convenient way to let a user customize this binding
> in her custom.js, because the function name is local to the extension module
>
> I'd like to solve that cleanly, and have considered a few angles
>
> * accessing the extension module with define()
>
> I mean, instead of having custom.js do just this:
> define(['base/js/namespace' ], function(Jupyter) { 
>
> it would be cool if I could do something like this
> define(['base/js/namespace', 'nbextensions/rise/main' ], function(Jupyter,
> RISE) {
>
> but that won't work as is; I'm not 100% clear on how these paths get
> searched, but on my mac at least the extensions get installed in a
> different location as the core code, it's probably why..
>
> * I'm not sure about the mechanisms offered by a keyboard manager;
> if this included retrieving a function in the manager from some sort of a
> logical name (quickly reading the code suggests there is, but it's unclear
> how to use this..), then the extension could register the shortcut (right
> now this key binding is done using a low-level mechanism), and custom.js
> could retrieve the function from there
>
> ===
> So my questions are:
>
> * is there some general framework that an extension should follow and that
> would solve this ?
>
> * if not, is any of the 2 ideas above worth pursuing ?
>
>
> thanks in advance
>
> --
> 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/29ff18ea-d38b-4868-8e31-ded609229159%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/CAPDWZHyzRXhr8PavNCRjy9hWZu4G887b%3DN2awSQB-18YxH2utg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Clearing up issue labels

2017-09-15 Thread Thomas Kluyver
Thanks all, this is done now.

On 12 September 2017 at 23:11, MinRK  wrote:

> +1
>
> On Tue, Sep 12, 2017 at 8:55 AM, Matthias Bussonnier <
> bussonniermatth...@gmail.com> wrote:
>
>> +1 as well.
>>
>> On Tue, Sep 12, 2017 at 4:24 AM, Damián Avila 
>> wrote:
>> > +1 on the removal.
>> >
>> > I don't think the historical context of these specific labels is
>> important
>> > enough to keep them alive.
>> >
>> > Cheers.
>> >
>> > 2017-09-12 7:34 GMT-03:00 Thomas Kluyver :
>> >>
>> >> The IPython issue tracker has accumulated a bunch of old labels which
>> we
>> >> no longer use. I would like to clear them up so we can quickly apply
>> the
>> >> labels we do use. However, this will discard some historical
>> information
>> >> about older issues, which is why I'm bringing it up here.
>> >>
>> >> The labels I propose to delete are:
>> >>
>> >> - backport-{0.12.2 ... 2.1}  (We later switched to using milestones to
>> >> indicate backports)
>> >> - console  (redundant with zmq-console)
>> >> - emacs
>> >> - forward_port
>> >> - hacktoberfest
>> >> - latex
>> >> - py3k
>> >>
>> >> Would anyone rather we kept some or all of these for historical
>> reference?
>> >>
>> >> Thomas
>> >>
>> >> --
>> >> 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/CAOvn4qg%3DJurV2O2
>> 9-rodQbAWk09R%3DcBpvS1%2Bf-AQ8XwgHdE_MQ%40mail.gmail.com.
>> >> For more options, visit https://groups.google.com/d/optout.
>> >
>> >
>> >
>> >
>> > --
>> > Damián Avila
>> >
>> > --
>> > 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/CAH%2BmRR0ggcaUA65
>> AX7Dm0XGfO3NfMn0_iBH8P%2BmazExfioMjHg%40mail.gmail.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/ms
>> gid/jupyter/CANJQusW6V2Ai51z0LtAtGwivwd9wHQTgjqEMdh5c3ZXUxOy
>> DYA%40mail.gmail.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/CAHNn8BUP_QBn9ZQS2Xt-uZBW%3DqE38vJCE4YL3jx%3Dv%
> 2BR9VZpdSQ%40mail.gmail.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/CAOvn4qjYFBQATOiWZdqHAWbxT2UGqxhESm31RZsPCgqLze2S1w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Jupyter Port

2017-09-15 Thread Thomas Kluyver
On 15 September 2017 at 04:25,  wrote:

> I want to support both Jupyter and JupyterHub for the users.
>

JupyterHub is something you, the system administrator, can use to give your
users access to Jupyter. It's not something users would set up themselves.

If you don't do that then each user running Jupyter themselves will need a
separate publicly accessible port. Jupyter tries up to 50 ports by default,
if I remember correctly, so it should be OK with up to 50 servers running
at the same time. But it might get slower to start if it has to try more
ports.

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


[jupyter] JupyterLab Terminal

2017-09-15 Thread peter_cz
Dears,

just installed JupyterLab and running it, unofrtunatelly I do not have 
"Terminal" windows there. So I can't run console is it some 
xtension/plugin? How to add it?

Thanks

-- 
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/924d4e2d-2e8d-4c10-8feb-17871dcf2748%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] extension keybinding and custom.js

2017-09-15 Thread Thierry Parmentelat
hi jupyter

I have a question regarding the RISE extension, but I feel like it's a 
general pattern for all extensions

in a nutshell, this extension offers one function for starting the slideshow

by default this function is bound to Alt-R right in the RISE code, and 
right now there is no convenient way to let a user customize this binding 
in her custom.js, because the function name is local to the extension module

I'd like to solve that cleanly, and have considered a few angles

* accessing the extension module with define()

I mean, instead of having custom.js do just this:
define(['base/js/namespace' ], function(Jupyter) { 

it would be cool if I could do something like this
define(['base/js/namespace', 'nbextensions/rise/main' ], function(Jupyter, 
RISE) {

but that won't work as is; I'm not 100% clear on how these paths get 
searched, but on my mac at least the extensions get installed in a 
different location as the core code, it's probably why..

* I'm not sure about the mechanisms offered by a keyboard manager;
if this included retrieving a function in the manager from some sort of a 
logical name (quickly reading the code suggests there is, but it's unclear 
how to use this..), then the extension could register the shortcut (right 
now this key binding is done using a low-level mechanism), and custom.js 
could retrieve the function from there

===
So my questions are:

* is there some general framework that an extension should follow and that 
would solve this ?

* if not, is any of the 2 ideas above worth pursuing ?


thanks in advance

-- 
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/29ff18ea-d38b-4868-8e31-ded609229159%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.