Re: [jupyter] Jupyter JVM Repr

2017-04-05 Thread s...@draves.org
Thank you Ryan this library is a great idea. How about we discuss this
type/class question on the new issue tracker after it gets created?

On Wed, Apr 5, 2017 at 11:03 PM, 'Ryan Blue' via Project Jupyter <
jupyter@googlegroups.com> wrote:

> The com.github.jupyter group does come from jitpack. If there's a better
> way to publish Jars from the Jupyter organization, I'm all for that.
> Otherwise, I think the simplicity of jitpack is worth the trade-off of
> having a weird groupId.
>
> On the wrapper class, the choice of a Map was to keep things a simple and
> close to the spec as possible. Since a MIMEContainer class doesn't do
> anything a map wouldn't, I didn't see a reason to include one.
>
> rb
>
> On Wednesday, April 5, 2017 at 12:56:06 PM UTC-7
> , sp...@draves.org wrote:
>>
>> Sounds like a good standard to have, we will support in BeakerX.  I
>> already filed an issue: https://github.com/twosigma/beakerx/issues/5120
>>
>> Is that the right namespace though?  Shouldn't it be
>> org.jupyter.something?  Is jitpack enforcing that?
>>
>> Also, it looks like it's using a Map as the mime type.  I think it's
>> normal to define a class specifically for this purpose (MIMEContainer or
>> MIMEResult or something).
>> Here's BeakerX's version (which we would be happy to replace with a class
>> from this standard): https://github.com/twosigma/beakerx/blob/37816a82
>> 8fb2d3f8343182695720214650385823/kernel/base/src/main/java/
>> com/twosigma/beaker/mimetype/MIMEContainer.java
>>
>> Best, -Scott
>>
>>
>> On Wed, Apr 5, 2017 at 3:00 PM, Kyle Kelley  wrote:
>>
>>> Hey all,
>>>
>>> Following up on the Scala discussion and action list, Ryan created
>>> https://github.com/rdblue/jupyter-repr-api to standardize JVM object
>>> representation to benefit both libraries and kernels.
>>>
>>> I'd like folks to be able to keep moving on this (while still advancing
>>> Toree and other kernels) with the confidence they're supported by Jupyter.
>>> As part of this I created the JVM team on the jupyter organization. I'll
>>> continue to act as a sponsor and facilitator, and look forward to others
>>> taking charge to lead within the jupyter ecosystem for JVM based tooling as
>>> time goes on.
>>>
>>> I'd enjoy it if https://github.com/rdblue/jupyter-repr-api was moved
>>> into this org as github.com/jupyter/jvm-repr, which will package jars
>>> on jitpack (https://jitpack.io/docs/BUILDING/#gradle-projects), with
>>> the namespace com.github.jupyter
>>>
>>> Thoughts?
>>>
>>> --
>>> Kyle Kelley (@rgbkrk ; lambdaops.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+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/ms
>>> gid/jupyter/CA%2BtbMaVy7UzAo_2cGEXUU6JJNZpen-x0O-
>>> WJCXvQAxF792V3eQ%40mail.gmail.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> BeakerNotebook.com
>> ScottDraves.com 
>> @Scott_Draves 
>>
>> --
> 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/1f69f848-8970-4b78-8d2e-e6e2209da47d%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
BeakerNotebook.com
ScottDraves.com 
@Scott_Draves 

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


Re: [jupyter] Jupyter JVM Repr

2017-04-05 Thread 'Ryan Blue' via Project Jupyter
The com.github.jupyter group does come from jitpack. If there's a better 
way to publish Jars from the Jupyter organization, I'm all for that. 
Otherwise, I think the simplicity of jitpack is worth the trade-off of 
having a weird groupId.

On the wrapper class, the choice of a Map was to keep things a simple and 
close to the spec as possible. Since a MIMEContainer class doesn't do 
anything a map wouldn't, I didn't see a reason to include one.

rb

On Wednesday, April 5, 2017 at 12:56:06 PM UTC-7 
, sp...@draves.org wrote:
>
> Sounds like a good standard to have, we will support in BeakerX.  I 
> already filed an issue: https://github.com/twosigma/beakerx/issues/5120
>
> Is that the right namespace though?  Shouldn't it be 
> org.jupyter.something?  Is jitpack enforcing that?
>
> Also, it looks like it's using a Map as the mime type.  I think it's 
> normal to define a class specifically for this purpose (MIMEContainer or 
> MIMEResult or something).
> Here's BeakerX's version (which we would be happy to replace with a class 
> from this standard): 
> https://github.com/twosigma/beakerx/blob/37816a828fb2d3f8343182695720214650385823/kernel/base/src/main/java/com/twosigma/beaker/mimetype/MIMEContainer.java
>
> Best, -Scott
>
>
> On Wed, Apr 5, 2017 at 3:00 PM, Kyle Kelley  > wrote:
>
>> Hey all,
>>
>> Following up on the Scala discussion and action list, Ryan created 
>> https://github.com/rdblue/jupyter-repr-api to standardize JVM object 
>> representation to benefit both libraries and kernels.
>>
>> I'd like folks to be able to keep moving on this (while still advancing 
>> Toree and other kernels) with the confidence they're supported by Jupyter. 
>> As part of this I created the JVM team on the jupyter organization. I'll 
>> continue to act as a sponsor and facilitator, and look forward to others 
>> taking charge to lead within the jupyter ecosystem for JVM based tooling as 
>> time goes on.
>>
>> I'd enjoy it if https://github.com/rdblue/jupyter-repr-api was moved 
>> into this org as github.com/jupyter/jvm-repr, which will package jars on 
>> jitpack (https://jitpack.io/docs/BUILDING/#gradle-projects), with the 
>> namespace com.github.jupyter
>>
>> Thoughts?
>>
>> -- 
>> Kyle Kelley (@rgbkrk ; lambdaops.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+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/CA%2BtbMaVy7UzAo_2cGEXUU6JJNZpen-x0O-WJCXvQAxF792V3eQ%40mail.gmail.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> BeakerNotebook.com
> ScottDraves.com 
> @Scott_Draves 
>
>

-- 
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/1f69f848-8970-4b78-8d2e-e6e2209da47d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Custom action for showing/hiding/toggling menu bar

2017-04-05 Thread Milos Miljkovic
Hi,

If I wanted to add a custom notebook action for showing/hiding/toggling 
menu bar, would including the code below 
into /notebook/static/notebook/js/actions.js work and correctly add entry 
to /.jupyter/nbconfig/notebook.json if a custom keyboard shortcut was 
created?


'toggle-menubar':{
help: 'hide/show the menu bar',
handler : function(env) {
var value = !env.notebook.menubar;
if (value === true) {
$('#menubar-container').show();
} else if (value === false) {
$('#menubar-container').hide();
}
events.trigger('resize-header.Page');
env.notebook.menubar = value;
}
},
'show-menubar':{
help: 'show the menu bar',
handler : function(env) {
$('#menubar-container').show();
events.trigger('resize-header.Page');
env.notebook.menubar = true;
}
},
'hide-menubar':{
help: 'hide the menu bar',
handler : function(env) {
$('#menubar-container').hide();
events.trigger('resize-header.Page');
env.notebook.menubar = false;
}
},


Cheers,

Milos.

-- 
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/0acf4c0d-183d-460e-a13d-9273be1581b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Jupyter JVM Repr

2017-04-05 Thread Jason Grout
If we have a steering council member sponsoring/facilitating it, and there
is an active community working on it, then I'm +1 to giving it a repo under
the Jupyter github org. Thanks Kyle and everyone involved!

Jason


On Wed, Apr 5, 2017 at 3:56 PM s...@draves.org  wrote:

> Sounds like a good standard to have, we will support in BeakerX.  I
> already filed an issue: https://github.com/twosigma/beakerx/issues/5120
>
> Is that the right namespace though?  Shouldn't it be
> org.jupyter.something?  Is jitpack enforcing that?
>
> Also, it looks like it's using a Map as the mime type.  I think it's
> normal to define a class specifically for this purpose (MIMEContainer or
> MIMEResult or something).
> Here's BeakerX's version (which we would be happy to replace with a class
> from this standard):
> https://github.com/twosigma/beakerx/blob/37816a828fb2d3f8343182695720214650385823/kernel/base/src/main/java/com/twosigma/beaker/mimetype/MIMEContainer.java
>
> Best, -Scott
>
>
> On Wed, Apr 5, 2017 at 3:00 PM, Kyle Kelley  wrote:
>
> Hey all,
>
> Following up on the Scala discussion and action list, Ryan created
> https://github.com/rdblue/jupyter-repr-api to standardize JVM object
> representation to benefit both libraries and kernels.
>
> I'd like folks to be able to keep moving on this (while still advancing
> Toree and other kernels) with the confidence they're supported by Jupyter.
> As part of this I created the JVM team on the jupyter organization. I'll
> continue to act as a sponsor and facilitator, and look forward to others
> taking charge to lead within the jupyter ecosystem for JVM based tooling as
> time goes on.
>
> I'd enjoy it if https://github.com/rdblue/jupyter-repr-api was moved into
> this org as github.com/jupyter/jvm-repr, which will package jars on
> jitpack (https://jitpack.io/docs/BUILDING/#gradle-projects), with the
> namespace com.github.jupyter
>
> Thoughts?
>
> --
> Kyle Kelley (@rgbkrk ; lambdaops.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/CA%2BtbMaVy7UzAo_2cGEXUU6JJNZpen-x0O-WJCXvQAxF792V3eQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
> --
> BeakerNotebook.com
> ScottDraves.com 
> @Scott_Draves 
>
> --
> 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/CAMaD%2Bf5PNvU%3DY1Gv%3DQtxHNuYhEShmtyFxzQkrLd_AAsYaWkHLA%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/CAPDWZHwy9PeirRXmB8XJ6euqVyfkrnp-e3mjgpjUgAM5F8h0tQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Jupyter JVM Repr

2017-04-05 Thread s...@draves.org
Sounds like a good standard to have, we will support in BeakerX.  I already
filed an issue: https://github.com/twosigma/beakerx/issues/5120

Is that the right namespace though?  Shouldn't it be
org.jupyter.something?  Is jitpack enforcing that?

Also, it looks like it's using a Map as the mime type.  I think it's normal
to define a class specifically for this purpose (MIMEContainer or
MIMEResult or something).
Here's BeakerX's version (which we would be happy to replace with a class
from this standard):
https://github.com/twosigma/beakerx/blob/37816a828fb2d3f8343182695720214650385823/kernel/base/src/main/java/com/twosigma/beaker/mimetype/MIMEContainer.java

Best, -Scott


On Wed, Apr 5, 2017 at 3:00 PM, Kyle Kelley  wrote:

> Hey all,
>
> Following up on the Scala discussion and action list, Ryan created
> https://github.com/rdblue/jupyter-repr-api to standardize JVM object
> representation to benefit both libraries and kernels.
>
> I'd like folks to be able to keep moving on this (while still advancing
> Toree and other kernels) with the confidence they're supported by Jupyter.
> As part of this I created the JVM team on the jupyter organization. I'll
> continue to act as a sponsor and facilitator, and look forward to others
> taking charge to lead within the jupyter ecosystem for JVM based tooling as
> time goes on.
>
> I'd enjoy it if https://github.com/rdblue/jupyter-repr-api was moved into
> this org as github.com/jupyter/jvm-repr, which will package jars on
> jitpack (https://jitpack.io/docs/BUILDING/#gradle-projects), with the
> namespace com.github.jupyter
>
> Thoughts?
>
> --
> Kyle Kelley (@rgbkrk ; lambdaops.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/CA%2BtbMaVy7UzAo_2cGEXUU6JJNZpen-
> x0O-WJCXvQAxF792V3eQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
BeakerNotebook.com
ScottDraves.com 
@Scott_Draves 

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


Re: [jupyter] Jupyter JVM Repr

2017-04-05 Thread Brian Granger
I am +1 on this proposal. I think having good JVM support is really
important and there is a huge benefit to having it "in-org". Thanks
for working on this stuff Kyle!

On Wed, Apr 5, 2017 at 12:00 PM, Kyle Kelley  wrote:
> Hey all,
>
> Following up on the Scala discussion and action list, Ryan created
> https://github.com/rdblue/jupyter-repr-api to standardize JVM object
> representation to benefit both libraries and kernels.
>
> I'd like folks to be able to keep moving on this (while still advancing
> Toree and other kernels) with the confidence they're supported by Jupyter.
> As part of this I created the JVM team on the jupyter organization. I'll
> continue to act as a sponsor and facilitator, and look forward to others
> taking charge to lead within the jupyter ecosystem for JVM based tooling as
> time goes on.
>
> I'd enjoy it if https://github.com/rdblue/jupyter-repr-api was moved into
> this org as github.com/jupyter/jvm-repr, which will package jars on jitpack
> (https://jitpack.io/docs/BUILDING/#gradle-projects), with the namespace
> com.github.jupyter
>
> Thoughts?
>
> --
> Kyle Kelley (@rgbkrk; lambdaops.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/CA%2BtbMaVy7UzAo_2cGEXUU6JJNZpen-x0O-WJCXvQAxF792V3eQ%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/CAH4pYpSpoiAZVxcJ7g5h5_OzqZ2qwEtm5f3aCwbWFRgWidntGw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Jupyter JVM Repr

2017-04-05 Thread Kyle Kelley
Hey all,

Following up on the Scala discussion and action list, Ryan created
https://github.com/rdblue/jupyter-repr-api to standardize JVM object
representation to benefit both libraries and kernels.

I'd like folks to be able to keep moving on this (while still advancing
Toree and other kernels) with the confidence they're supported by Jupyter.
As part of this I created the JVM team on the jupyter organization. I'll
continue to act as a sponsor and facilitator, and look forward to others
taking charge to lead within the jupyter ecosystem for JVM based tooling as
time goes on.

I'd enjoy it if https://github.com/rdblue/jupyter-repr-api was moved into
this org as github.com/jupyter/jvm-repr, which will package jars on jitpack
(https://jitpack.io/docs/BUILDING/#gradle-projects), with the namespace
com.github.jupyter

Thoughts?

-- 
Kyle Kelley (@rgbkrk ; lambdaops.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/CA%2BtbMaVy7UzAo_2cGEXUU6JJNZpen-x0O-WJCXvQAxF792V3eQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Run code when cells finished executing

2017-04-05 Thread Thomas Kluyver
On 5 April 2017 at 16:55, Adam Rule  wrote:

> I'm running version 4.1.0 so I'll update to 5.0 and check if
> finished_execute.CodeCell gets thrown. If not, I'll file an issue.
>

Thanks Adam :-)

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


Re: [jupyter] Clarifying intent of the kernel_gateway

2017-04-05 Thread Thomas Kluyver
On 5 April 2017 at 16:39, 'Bergam' via Project Jupyter <
jupyter@googlegroups.com> wrote:

> Is the kernel_gateway ready for production use?


AFAIK yes, but I hope some of the people who built it will chime in.

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


Re: [jupyter] Run code when cells finished executing

2017-04-05 Thread Adam Rule
I'm running version 4.1.0 so I'll update to 5.0 and check if 
finished_execute.CodeCell gets thrown. If not, I'll file an issue.

On Wednesday, April 5, 2017 at 7:11:36 AM UTC-7, takowl wrote:
>
> On 4 April 2017 at 23:34, Adam Rule  
> wrote:
>
>> My problem is that some actions seem to call code that runs 
>> asynchronously and my post-application block runs before the action has 
>> been applied. 
>>
>
> Yeah, that's not uncommon with Javascript - lots of things are async, so a 
> function may well return before the effect it's meant to produce has 
> happened. Feel free to propose more events if the existing ones don't meet 
> your needs - I don't think there's much cost to adding more events.
>  
>
>> Looking through the code base 
>> 
>>  I 
>> thought I could listen for finished_execute.CodeCell but that event 
>> never seems to fire.
>>
>
> That might be a bug - can you file an issue about it? And if you have 
> time, try to track down why it might be going missing? And check that 
> you've got the latest version of notebook - 5.0 was just released.
>
> 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/484c1eaa-6c1b-44a8-bb5c-f98c76faf620%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Clarifying intent of the kernel_gateway

2017-04-05 Thread 'Bergam' via Project Jupyter
Thanks, Thomas! It sounds like both the kernel_gateway and the Jupyter 
Notebook server would both work for my purposes then. Is the kernel_gateway 
ready for production use?

-- 
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/431b987f-7348-4e5d-9389-2cb49ab8ff1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Run code when cells finished executing

2017-04-05 Thread Thomas Kluyver
On 4 April 2017 at 23:34, Adam Rule  wrote:

> My problem is that some actions seem to call code that runs asynchronously
> and my post-application block runs before the action has been applied.
>

Yeah, that's not uncommon with Javascript - lots of things are async, so a
function may well return before the effect it's meant to produce has
happened. Feel free to propose more events if the existing ones don't meet
your needs - I don't think there's much cost to adding more events.


> Looking through the code base
> 
>  I
> thought I could listen for finished_execute.CodeCell but that event never
> seems to fire.
>

That might be a bug - can you file an issue about it? And if you have time,
try to track down why it might be going missing? And check that you've got
the latest version of notebook - 5.0 was just released.

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


Re: [jupyter] Failure to upgrade to Notebook 5.0

2017-04-05 Thread dukea2006
Min,

Thanks for getting back to me. I was able to determine root cause.

My upgrade was throwing an error (I missed it in my earlier attempts to 
upgrade);

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-
build-Gg_x9G/tornado/

To correct this error I had to upgrade Setup Tools;

$ pip install --upgrade setuptools

# and rerun the notebook upgrade:

$ jupyter notebook --version

Now I'm all set and running v5.0 of notebook. 

Thanks again and I hope this info helps others who may have encountered the 
same thing.

Best, 

Duke


On Wednesday, April 5, 2017 at 9:01:35 AM UTC-4, Min RK wrote:
>
> What do you see from pip list?
>
> You can check the notebook version with jupyter notebook --version. jupyter 
> --version only shows the version of the jupyter-core package, which 
> provides basic dispatch functionality.
>
> -Min
> ​
>
> On Wed, Apr 5, 2017 at 12:17 AM, dukea2006  > wrote:
>
>> I'm trying to upgrade my environment (Ubuntu 14.04.5 LTS)  from:
>>
>> $ jupyter --version
>> 4.3.0
>>
>> to version 5.0 by running: 
>>
>> pip install --upgrade notebook 
>>
>> The upgrade appears to run correctly with the only error being;
>>
>> Cannot remove entries from nonexistent file /home/vagrant/anaconda3/lib/
>> python3.5/site-packages/easy-install.pth
>>
>> However, the jupyter version doesn't change and the new v5.0 features are 
>> not available. 
>>
>> Any suggestions for next steps?
>>
>>
>> -- 
>> 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/d7651a64-4e74-4408-96ca-fe299c17d701%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/b01c845b-d7e0-40bb-96f7-4abd2921a65e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Failure to upgrade to Notebook 5.0

2017-04-05 Thread MinRK
What do you see from pip list?

You can check the notebook version with jupyter notebook --version. jupyter
--version only shows the version of the jupyter-core package, which
provides basic dispatch functionality.

-Min
​

On Wed, Apr 5, 2017 at 12:17 AM, dukea2006  wrote:

> I'm trying to upgrade my environment (Ubuntu 14.04.5 LTS)  from:
>
> $ jupyter --version
> 4.3.0
>
> to version 5.0 by running:
>
> pip install --upgrade notebook
>
> The upgrade appears to run correctly with the only error being;
>
> Cannot remove entries from nonexistent file /home/vagrant/anaconda3/lib/py
> thon3.5/site-packages/easy-install.pth
>
> However, the jupyter version doesn't change and the new v5.0 features are
> not available.
>
> Any suggestions for next steps?
>
>
> --
> 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/d7651a64-4e74-4408-96ca-fe299c17d701%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/CAHNn8BWVaeYUpSkE-hjMXzb7EH-w-D4BSV06y6dc22F6fj378Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.