Re: [jupyter] Jupyterhub and motd/nologin/alerts?

2020-09-02 Thread Jason Grout
If you wanted to implement a front-end extension for, say, JupyterLab, you
could do this. Basically, the extension would have two parts: a server part
that creates an api endpoint (i.e., a url that can be polled, like `/motd`)
and a frontend part that polls the url asking for a message and displays a
message if there is one. Or slightly fancier would be an api endpoint that
uses some sort of push method (websocket, or even long polling, or
something) - that way a message could be pushed to the server without
having to wait for a polling interval.

Jason


On Wed, Sep 2, 2020 at 2:26 AM Norman Gray  wrote:

>
> Michael, hello.
>
> On 1 Sep 2020, at 18:20, 'Michael Milligan' via Project Jupyter wrote:
>
> > I'm not aware of a "nologin" type solution, but it sounds simple
> > enough
> > that someone has probably implemented one.
>
> It does sound quite simple.  Having created a mildly customised spawner
> before, I imagine I could hack up something like this myself, but...
> must resist... must resist...
>
> > Unfortunately the weak link here is communicating with users who are
> > already in running sessions. Jupyterhub can't easily help there, as by
> > that
> > time the user experience is under the control of the notebook server,
> > jupyterlab, or whatever frontend they happen to be using. So your
> > solution
> > will depend on what your users are actually doing. I'd also be curious
> > to
> > know if others in this forum have solutions for that.
>
> Right, I see.  I could imagine there being some sort of hook in there
> which we could use, but if control is handed over to the notebook
> server, I can appreciate that would be hard.
>
> So maybe this is more of a jupyterlab question, than a jupyterhub one.
>
> Best wishes,
>
> Norman
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/AB5AF6AB-7205-42FF-A8ED-54CFF747C8F0%40gmail.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHy_zSR075%2BuD1YhU_95JWzfiAxDQO2xAfi%3D4Cu5wNXMVw%40mail.gmail.com.


Re: [jupyter] Calculation bug

2020-08-27 Thread Jason Grout
This is an issue with python (not jupyter) converting your number a/4 from
floating point to integer, resulting in precision loss. See the table at
https://docs.python.org/3/library/stdtypes.html#numeric-types-int-float-complex,
and in particular footnote (2) and (3).

One way to get the answer is to use python 3 floor division:

a//4

Thanks,

Jason


On Thu, Aug 27, 2020 at 10:02 PM Weiguang Hou 
wrote:

> The following calculation result does not match the value calculated by a
> calculator!
> a= 7871572981212338496
> b=int(a/4)
> print(b)
> 1967893245303084*544*
> The result calculated by a  calculator is 1,967,893,245,303,084,*624*
> Something is wrong!
> Any one has any idea?
> Thanks,
> Wei
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/37ec1ff7-79d9-46c1-bb3a-549ae819783cn%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHwSDvD-0yJ8rZRVbW9DFPpy56TxzYmu6SLSb-NVov3qPQ%40mail.gmail.com.


Re: [jupyter] job: research eng and science platform

2020-08-21 Thread Jason Grout
Great to hear! You might also post on the discourse forum and tag it with
the 'jobs' tag: https://discourse.jupyter.org/c/meta/jobs/7

Jason


On Fri, Aug 21, 2020 at 1:29 PM s...@draves.org  wrote:

> Dear Jupyter community,
>
> CTRL-labs (https://www.ctrl-labs.com/) works on neural interfaces for
> AR/VR,
> including a cloud platform for scientific research and ML.
> Jupyter is a central component of this platform, of course :)
> We were acquired at the end of last year and are now part of FRL, based in
> NYC.
>
> My team has an open position to develop this platform, we encourage all
> qualified candidates to apply.
> Please take a look: https://www.facebook.com/careers/jobs/568807057334356
>
> A fullstack developer with Python/Science plus Typescript/Web would be
> awesome.
>
> If you or someone you know is interested, please reach out by email.
>
> Note: this is not based on BeakerX (http://beakerx.com/) the Jupyter
> platform I used to work on.
> Totally new company and new project!
>
> Thanks for your attention, -Scott
>
>
>
>
>
>
> --
> *CTRL-labs.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 view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/CAMaD%2Bf4-2xTak1sEU6Boi1zRtg0msBWGvrOUU3Ndqj-hf40o5A%40mail.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHxR%2BaFTVvenK1L5uqpRaSn6ybjo%2BXTDiEUCz-2dypf25A%40mail.gmail.com.


[jupyter] JupyterCon Call For Proposals deadline extended to Wed, 22 July

2020-07-20 Thread Jason Grout
Hi everyone,

We've extended the JupyterCon 2020 Call For Proposals deadline to
Wednesday, 22 July. There's still time to submit your talk, tutorial,
poster, or sprint proposal!

https://jupytercon.com/participate/#Call%20for%20proposals

Thanks,

Jason

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHyhiG%3DtybJOOk2-X9-%3DaU804T1LK1BsUqODm61keTpB4w%40mail.gmail.com.


Re: [jupyter] Jupyterlab extension debug

2020-04-09 Thread Jason Grout
Not currently, though you should be able to enable source maps in your
debugger to step through your code.

Jason


On Wed, Apr 8, 2020 at 11:24 PM Jerry Zhang 
wrote:

> Thanks. However, the JS files I see in Chrome debugger are bundled files.
> Is there a way to tell Jupyterlab to not bundle extension JS files?
>
> On Wednesday, April 8, 2020 at 3:57:36 AM UTC-4, Jason Grout wrote:
>>
>> I use the Firefox or Chrome debuggers.
>>
>> Thanks,
>>
>> Jason
>>
>>
>> On Wed, Apr 8, 2020 at 12:26 AM Jerry Zhang  wrote:
>>
>>> Hi, all,
>>>
>>> Is there any tool I can use to debug a Jupyterlab extension when I
>>> develop an extension?
>>> Is checking Chrome console the only way I can use to debug?
>>>
>>> Thanks,
>>>
>>> Jerry
>>>
>>> --
>>> 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 jup...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jupyter/613624a3-6136-4f70-8e14-7a85296a67fe%40googlegroups.com
>>> <https://groups.google.com/d/msgid/jupyter/613624a3-6136-4f70-8e14-7a85296a67fe%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/4f6e71d8-64bc-4d16-abb3-50585ba6a0b0%40googlegroups.com
> <https://groups.google.com/d/msgid/jupyter/4f6e71d8-64bc-4d16-abb3-50585ba6a0b0%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHxg_65RP6xCjg2VyZ70yh05ccRJspPVfzOY6xQPKaVhvA%40mail.gmail.com.


Re: [jupyter] Jupyterlab extension debug

2020-04-08 Thread Jason Grout
I use the Firefox or Chrome debuggers.

Thanks,

Jason


On Wed, Apr 8, 2020 at 12:26 AM Jerry Zhang 
wrote:

> Hi, all,
>
> Is there any tool I can use to debug a Jupyterlab extension when I develop
> an extension?
> Is checking Chrome console the only way I can use to debug?
>
> Thanks,
>
> Jerry
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/613624a3-6136-4f70-8e14-7a85296a67fe%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHwex06HqLaBkEEP-CDX18UHK6cJfPVYFWMisygoytTwug%40mail.gmail.com.


Re: [jupyter] Jupyter extension, registering clicks

2020-03-24 Thread Jason Grout
Is this the Jupyter Notebook, JupyterLab, or some other front end with
notebooks?

Do you want to just see every click, or do you want to override
functionality from Jupyter? If you just want to see the clicks, you can
register a click handler in the capture phase of the DOM events. See
https://www.w3.org/TR/DOM-Level-3-Events/#event-flow or
https://developer.mozilla.org/en-US/docs/Web/API/Event/eventPhase or
https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Building_blocks/Events#Event_bubbling_and_capture
for more information. If you want to override Jupyter functionality, then
it entirely depends on what you want to do and what frontend you are
working in.

Thanks,

Jason


On Tue, Mar 24, 2020 at 1:37 PM Dario Panada  wrote:

> Any suggestion around this? For context, I am trying to hide some code
> comments but every time I click they reappear.
>
> Kind regards
> Dario
>
> On Tuesday, March 24, 2020, Jason Grout  wrote:
>
>> My guess is that the thing handling clicks in the notebook is stopping
>> propagation of the click event up to the window?
>>
>> Jason
>>
>>
>> On Tue, Mar 24, 2020 at 12:31 PM Dario Panada 
>> wrote:
>>
>>> Hello,
>>>
>>> I am creating a Jupyter extension to register clicks anywhere on the
>>> notebook webpage. I am using:
>>>
>>> $(window).click(() => console.log("click"));
>>>
>>>
>>> That works for any click, *except* the first click on an un-selected
>>> code cell. Once that becomes selected, further clicks register normally.
>>>
>>> Any advice as to why?
>>>
>>> --
>>> 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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jupyter/d89c9b46-14dc-424f-bcc8-d2aeeb528a93%40googlegroups.com
>>> <https://groups.google.com/d/msgid/jupyter/d89c9b46-14dc-424f-bcc8-d2aeeb528a93%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/jupyter/CAPDWZHx6nPmxFaq-BaiYd35tWqT6id66Pkkiu5WMCQsw8T8QGg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jupyter/CAPDWZHx6nPmxFaq-BaiYd35tWqT6id66Pkkiu5WMCQsw8T8QGg%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/CAByD6GMuHQcLEVJWyK3Afo_ZZryg9akx%2B0uCfrGqqXD5-sY4jA%40mail.gmail.com
> <https://groups.google.com/d/msgid/jupyter/CAByD6GMuHQcLEVJWyK3Afo_ZZryg9akx%2B0uCfrGqqXD5-sY4jA%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHxjNb9NT9YKb9RDcR%3DNdjANs9AOOXgqNLTbzAXkiGvz1g%40mail.gmail.com.


Re: [jupyter] Jupyter extension, registering clicks

2020-03-24 Thread Jason Grout
My guess is that the thing handling clicks in the notebook is stopping
propagation of the click event up to the window?

Jason


On Tue, Mar 24, 2020 at 12:31 PM Dario Panada 
wrote:

> Hello,
>
> I am creating a Jupyter extension to register clicks anywhere on the
> notebook webpage. I am using:
>
> $(window).click(() => console.log("click"));
>
>
> That works for any click, *except* the first click on an un-selected code
> cell. Once that becomes selected, further clicks register normally.
>
> Any advice as to why?
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/d89c9b46-14dc-424f-bcc8-d2aeeb528a93%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHx6nPmxFaq-BaiYd35tWqT6id66Pkkiu5WMCQsw8T8QGg%40mail.gmail.com.


Re: [jupyter] Random Astronomy Picture Example

2020-03-21 Thread Jason Grout
It should work in JupyterLab 2.0. Can you walk us through exactly what you
are doing and where you are seeing an error, and what that error is?

Someone just opened an issue asking it was compatible:
https://github.com/jupyterlab/jupyterlab_apod/issues/4. Was that you? If
so, can we continue the conversation on the issue (or even better, an issue
in the jupyterlab repo) so it is easier to find for others?

Thanks,

Jason


On Sat, Mar 21, 2020 at 9:12 PM Tom Lou  wrote:

> I mean how do I change the code to make it compatible with Jupyter Lab
> 2.0? 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/8c3f1521-6587-4fa4-8899-8bd5b4d85ed3%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHxSdVA%2Boa1_eJT4GUE%2B8KGPyUFaWY_Frd5%2BWYHSM0hqMg%40mail.gmail.com.


Re: [jupyter] Current Working Directory

2020-01-29 Thread Jason Grout
More questions to help understand your situation better:

And are there any errors in the notebook log (printed to the terminal where
you launched the notebook)?
Do you see any Javascript errors in the browser debugger console?
Are you using JupyterLab (if so, what version of that too)?
Can you give us the command you use to invoke the notebook?
Can you give us the config file for the notebook (and if using JupyterLab,
its config file too)? (see the path given by "jupyter --config-dir")
What happens if you create a fresh new conda environment and launch that
notebook?

Thanks,

Jason



On Wed, Jan 29, 2020 at 5:46 AM Jason Grout  wrote:

> And what is your notebook package and any packages that start with "ipy"
> (ipykernel, ipython, etc.)?
>
> On Tue, Jan 28, 2020 at 9:51 PM Javi Alfaro 
> wrote:
>
>> My bad, maybe I wasn't clear the first time. I am indeed talking about
>> the cwd of my kernel process.
>>
>> When I run jupyter from the command line and I open an ipynb file, the
>> cwd of the kernel process will always default to a one different from where
>> it was opened.
>>
>> E.g.
>>
>> 'C:\\Users\\XXX\\Dropbox\\esen_ra\\data\\interim\\ja'
>>
>> That's what I get from running the command "pwd" everytime I open a new
>> ipynb file. So I have to (always) write *os.chdir(globals()['_dh'][0])*
>> in order to get:
>>
>> 'C:\\Users\\XXX\\Dropbox\\Master\\ESEN\\Ayudantías\\Python'
>>
>> Which is the correct path where I opened the file. I'm not sure if this
>> helps, but if I run jupyter from Anaconda Navigator, I do not have this
>> problem.
>>
>> I apologize if I'm making things more confusing than they actually are.
>>
>> Software versions:
>>
>> jupyter: 1.0.0
>> jupyter-client: 5.3.4
>> jupyter-console: 6.1.0
>> jupyter-contrib-core: 0.3.3
>> jupyter-contrib-nbextensions: 0.5.1
>> jupyter-core: 4.6.1
>> jupyter-highlight-selected-word: 0.2.0
>> jupyter-latex-envs: 1.4.6
>> jupyter-nbextensions-configurator: 0.4.1
>> jupyterthemes: 0.20.0
>>
>> Thanks in advance,
>>
>> JA.
>>
>> On Tue, Jan 28, 2020 at 11:16 PM Jason Grout 
>> wrote:
>>
>>> Ah, I think I misunderstood your question. I thought you were talking
>>> about the default folder path for the notebook server, but it seems instead
>>> you are talking about the current working directory of your kernel process?
>>>
>>> Can you give us more information? What path is your notebook in and what
>>> is your kernel current working directory, and how might those two paths be
>>> related? Have you reproduced this in a clean environment? What versions of
>>> software are you running?
>>>
>>> Thanks,
>>>
>>> Jason
>>>
>>>
>>>
>>> On Tue, Jan 28, 2020 at 8:45 PM Javi Alfaro 
>>> wrote:
>>>
>>>> Hi Jason,
>>>>
>>>> Thank you very much for your response. I tried everything, but for some
>>>> reason the problem still persists.
>>>>
>>>> The only code that gave me the real working folder path was :
>>>>
>>>> globals()['_dh'][0]
>>>>
>>>> And I took it from:
>>>> https://stackoverflow.com/questions/39125532/file-does-not-exist-in-jupyter-notebook/53958599#53958599
>>>>
>>>> But I wasn't able to make the ipynb file to load the current folder
>>>> path :( ... I also tried uninstalling and installing jupyter again.
>>>>
>>>> On Tue, Jan 28, 2020 at 4:49 PM Jason Grout 
>>>> wrote:
>>>>
>>>>> You can change that default directory in the notebook configuration,
>>>>> or from the comand line with: jupyter notebook
>>>>> --NotebookApp.notebook_dir='/path/to/directory'.
>>>>>
>>>>> Perhaps you need to look at your config file. You can find the config
>>>>> file in one of the config directories listed by `jupyter --paths`. Look 
>>>>> for
>>>>> the jupyter_notebook_config.py file.
>>>>>
>>>>> Here are instructions for setting that config value, which may help
>>>>> narrow down things: https://stackoverflow.com/a/40514875
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Jason
>>>>>
>>>>>
>>>>> On Tue, Jan 28, 2020 at 2:02 PM Javi Alfaro 
>>>>> wrote:
>>>>>
>>>>>> Good evening from El Salvad

Re: [jupyter] Current Working Directory

2020-01-29 Thread Jason Grout
And what is your notebook package and any packages that start with "ipy"
(ipykernel, ipython, etc.)?

On Tue, Jan 28, 2020 at 9:51 PM Javi Alfaro  wrote:

> My bad, maybe I wasn't clear the first time. I am indeed talking about the
> cwd of my kernel process.
>
> When I run jupyter from the command line and I open an ipynb file, the cwd
> of the kernel process will always default to a one different from where it
> was opened.
>
> E.g.
>
> 'C:\\Users\\XXX\\Dropbox\\esen_ra\\data\\interim\\ja'
>
> That's what I get from running the command "pwd" everytime I open a new
> ipynb file. So I have to (always) write *os.chdir(globals()['_dh'][0])*
> in order to get:
>
> 'C:\\Users\\XXX\\Dropbox\\Master\\ESEN\\Ayudantías\\Python'
>
> Which is the correct path where I opened the file. I'm not sure if this
> helps, but if I run jupyter from Anaconda Navigator, I do not have this
> problem.
>
> I apologize if I'm making things more confusing than they actually are.
>
> Software versions:
>
> jupyter: 1.0.0
> jupyter-client: 5.3.4
> jupyter-console: 6.1.0
> jupyter-contrib-core: 0.3.3
> jupyter-contrib-nbextensions: 0.5.1
> jupyter-core: 4.6.1
> jupyter-highlight-selected-word: 0.2.0
> jupyter-latex-envs: 1.4.6
> jupyter-nbextensions-configurator: 0.4.1
> jupyterthemes: 0.20.0
>
> Thanks in advance,
>
> JA.
>
> On Tue, Jan 28, 2020 at 11:16 PM Jason Grout  wrote:
>
>> Ah, I think I misunderstood your question. I thought you were talking
>> about the default folder path for the notebook server, but it seems instead
>> you are talking about the current working directory of your kernel process?
>>
>> Can you give us more information? What path is your notebook in and what
>> is your kernel current working directory, and how might those two paths be
>> related? Have you reproduced this in a clean environment? What versions of
>> software are you running?
>>
>> Thanks,
>>
>> Jason
>>
>>
>>
>> On Tue, Jan 28, 2020 at 8:45 PM Javi Alfaro 
>> wrote:
>>
>>> Hi Jason,
>>>
>>> Thank you very much for your response. I tried everything, but for some
>>> reason the problem still persists.
>>>
>>> The only code that gave me the real working folder path was :
>>>
>>> globals()['_dh'][0]
>>>
>>> And I took it from:
>>> https://stackoverflow.com/questions/39125532/file-does-not-exist-in-jupyter-notebook/53958599#53958599
>>>
>>> But I wasn't able to make the ipynb file to load the current folder path
>>> :( ... I also tried uninstalling and installing jupyter again.
>>>
>>> On Tue, Jan 28, 2020 at 4:49 PM Jason Grout 
>>> wrote:
>>>
>>>> You can change that default directory in the notebook configuration, or
>>>> from the comand line with: jupyter notebook
>>>> --NotebookApp.notebook_dir='/path/to/directory'.
>>>>
>>>> Perhaps you need to look at your config file. You can find the config
>>>> file in one of the config directories listed by `jupyter --paths`. Look for
>>>> the jupyter_notebook_config.py file.
>>>>
>>>> Here are instructions for setting that config value, which may help
>>>> narrow down things: https://stackoverflow.com/a/40514875
>>>>
>>>> Thanks,
>>>>
>>>> Jason
>>>>
>>>>
>>>> On Tue, Jan 28, 2020 at 2:02 PM Javi Alfaro 
>>>> wrote:
>>>>
>>>>> Good evening from El Salvador,
>>>>>
>>>>> I apologize if my query shouldn't be posted here.
>>>>>
>>>>> I understand that when running Jupyter notebooks, the default working
>>>>> directory is the directory the notebook is open in, but I'm not sure what
>>>>> happened and this doesn't happen anymore, my current working directory has
>>>>> been set, accidentally, to a different path. How can I correct this to the
>>>>> default option?
>>>>>
>>>>> Thanks in advance,
>>>>>
>>>>> Javier Alfaro.
>>>>>
>>>>> --
>>>>> 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 view this discussion on the web visit
>>>>> https://groups.google.com/d/ms

Re: [jupyter] Current Working Directory

2020-01-28 Thread Jason Grout
Ah, I think I misunderstood your question. I thought you were talking about
the default folder path for the notebook server, but it seems instead you
are talking about the current working directory of your kernel process?

Can you give us more information? What path is your notebook in and what is
your kernel current working directory, and how might those two paths be
related? Have you reproduced this in a clean environment? What versions of
software are you running?

Thanks,

Jason



On Tue, Jan 28, 2020 at 8:45 PM Javi Alfaro  wrote:

> Hi Jason,
>
> Thank you very much for your response. I tried everything, but for some
> reason the problem still persists.
>
> The only code that gave me the real working folder path was :
>
> globals()['_dh'][0]
>
> And I took it from:
> https://stackoverflow.com/questions/39125532/file-does-not-exist-in-jupyter-notebook/53958599#53958599
>
> But I wasn't able to make the ipynb file to load the current folder path
> :( ... I also tried uninstalling and installing jupyter again.
>
> On Tue, Jan 28, 2020 at 4:49 PM Jason Grout  wrote:
>
>> You can change that default directory in the notebook configuration, or
>> from the comand line with: jupyter notebook
>> --NotebookApp.notebook_dir='/path/to/directory'.
>>
>> Perhaps you need to look at your config file. You can find the config
>> file in one of the config directories listed by `jupyter --paths`. Look for
>> the jupyter_notebook_config.py file.
>>
>> Here are instructions for setting that config value, which may help
>> narrow down things: https://stackoverflow.com/a/40514875
>>
>> Thanks,
>>
>> Jason
>>
>>
>> On Tue, Jan 28, 2020 at 2:02 PM Javi Alfaro 
>> wrote:
>>
>>> Good evening from El Salvador,
>>>
>>> I apologize if my query shouldn't be posted here.
>>>
>>> I understand that when running Jupyter notebooks, the default working
>>> directory is the directory the notebook is open in, but I'm not sure what
>>> happened and this doesn't happen anymore, my current working directory has
>>> been set, accidentally, to a different path. How can I correct this to the
>>> default option?
>>>
>>> Thanks in advance,
>>>
>>> Javier Alfaro.
>>>
>>> --
>>> 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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jupyter/70f17237-6aa0-4ff6-9fca-f4a90972304a%40googlegroups.com
>>> <https://groups.google.com/d/msgid/jupyter/70f17237-6aa0-4ff6-9fca-f4a90972304a%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/jupyter/CAPDWZHwGHTW-%3DOFW4%3DbkJTBLtNCqONSxvFNeM%3DWxneERHMp-yA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jupyter/CAPDWZHwGHTW-%3DOFW4%3DbkJTBLtNCqONSxvFNeM%3DWxneERHMp-yA%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/CACJGEmGLw2coHT%2B1_Ou3WjPK3aogM40gQhdBbPTP65e71NXNMg%40mail.gmail.com
> <https://groups.google.com/d/msgid/jupyter/CACJGEmGLw2coHT%2B1_Ou3WjPK3aogM40gQhdBbPTP65e71NXNMg%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHzKEcGQDfsnXbEVYu08NMBuB3y%2B%2B_YNYiZVNiYqwP66gg%40mail.gmail.com.


Re: [jupyter] Current Working Directory

2020-01-28 Thread Jason Grout
You can change that default directory in the notebook configuration, or
from the comand line with: jupyter notebook
--NotebookApp.notebook_dir='/path/to/directory'.

Perhaps you need to look at your config file. You can find the config file
in one of the config directories listed by `jupyter --paths`. Look for the
jupyter_notebook_config.py file.

Here are instructions for setting that config value, which may help narrow
down things: https://stackoverflow.com/a/40514875

Thanks,

Jason


On Tue, Jan 28, 2020 at 2:02 PM Javi Alfaro  wrote:

> Good evening from El Salvador,
>
> I apologize if my query shouldn't be posted here.
>
> I understand that when running Jupyter notebooks, the default working
> directory is the directory the notebook is open in, but I'm not sure what
> happened and this doesn't happen anymore, my current working directory has
> been set, accidentally, to a different path. How can I correct this to the
> default option?
>
> Thanks in advance,
>
> Javier Alfaro.
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/70f17237-6aa0-4ff6-9fca-f4a90972304a%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHwGHTW-%3DOFW4%3DbkJTBLtNCqONSxvFNeM%3DWxneERHMp-yA%40mail.gmail.com.


Re: [jupyter] Re: ImportError: No module named notebook.notebookapp

2020-01-10 Thread Jason Grout
 pypi_0pypi
> werkzeug  0.16.0 py_0
> wheel 0.33.6   py36_0
> widgetsnbextension3.5.1py36_0
> wrapt 1.11.2   pypi_0pypi
> xz5.2.4h1de35cc_4
> zeromq4.3.2h6de7cb9_2conda-forge
> zipp  0.6.0  py_0conda-forge
> zlib  1.2.11   h1de35cc_3
>
> when I ran a ipynb file, I 've got error from the server log
>
> /Users/zhongsheng/anaconda2/envs/ganRegression/bin/jupyter notebook
> --no-browser
> Traceback (most recent call last):
>   File
> "/Users/zhongsheng/anaconda2/envs/ganRegression/bin/jupyter-notebook", line
> 7, in 
> from notebook.notebookapp import main
> ModuleNotFoundError: No module named 'notebook.notebookapp'
>
> Process finished with exit code 1
>
> can anyone can help me with this issue?
>
>
>
>
>
> On Friday, October 18, 2019 at 1:56:19 AM UTC+8, Jason Grout wrote:
>>
>> It sounds like your install is messed up, and you have two environments
>> layered on top of each other (perhaps you have a system install and an
>> anaconda install?). The __file__ trick helps you see what is actually being
>> run.
>>
>> Jason
>>
>> On Thu, Oct 17, 2019 at 10:33 AM brian piercy  wrote:
>>
>>> more info:
>>>
>>> 'python' loads w/o problem. (interesting, though, it loads using 3.5.2,
>>> default, 2018/11/12.)
>>> 'ipython' however, loads with python 2.7.12 & iPython 5.8.0.
>>>
>>> no wonder Jupyter is confused.
>>>
>>>
>>> On Thursday, October 17, 2019 at 10:53:07 AM UTC-5, brian piercy wrote:
>>>>
>>>>
>>>>- rebuilding after a crash. i started via a fresh Anaconda
>>>>download. Here's the results of 'jupyter --version"
>>>>
>>>>
>>>>- bjpcjp@bjpcjp-Lenovo-Z710:~$ jupyter --version
>>>>- jupyter core : 4.6.0
>>>>- jupyter-notebook : 6.0.1
>>>>- qtconsole : 4.5.5
>>>>- ipython : 7.8.0
>>>>- ipykernel : 5.1.2
>>>>- jupyter client : 5.3.4
>>>>- jupyter lab : not installed ('conda install jupyterlab' returns
>>>>"all packages already installed")
>>>>- nbconvert : 5.6.0
>>>>- ipywidgets : 7.5.1
>>>>- nbformat : 4.4.0
>>>>- traitlets : 4.3.3
>>>>
>>>>
>>>>- I get the error msg shown in the title, despite multiple
>>>>reinstalls, via "jupyter notebook".
>>>>
>>>> according to 'conda info':
>>>>
>>>>- no active environment
>>>>- conda 4.7, conda-build 3.18, python 3.7.4.
>>>>- channel URLs listed
>>>>- package caches present; envs directories present; linux-64
>>>>platform.
>>>>
>>>> ideas? Thank you. (also posted in GitHub
>>>> <https://github.com/jupyter/notebook/issues/4982>, FYI.)
>>>>
>>> --
>>> 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 jup...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jupyter/75e354d3-d80a-4014-a73c-9a472843c87e%40googlegroups.com
>>> <https://groups.google.com/d/msgid/jupyter/75e354d3-d80a-4014-a73c-9a472843c87e%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/93fcd1bd-7c8e-4bfc-835a-340b92e0120c%40googlegroups.com
> <https://groups.google.com/d/msgid/jupyter/93fcd1bd-7c8e-4bfc-835a-340b92e0120c%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHzTpsAYKfRuE9eEoFvV%2B%2BvePMv1HVJenOep_J-u%3DtnSLw%40mail.gmail.com.


[jupyter] Call for proposals: Jupyter Community Workshops for Jan-Aug 2020

2019-11-12 Thread Jason Grout
Hi everyone,

We’re excited to announce the third call for proposals

for Jupyter Community Workshops. Proposals are due by Dec 15 for workshops
held during January through August 2020. See the blog post for details:
https://blog.jupyter.org/jupyter-community-workshops-call-for-proposals-for-jan-aug-2020-710f687e30f4

Thanks,

Jason

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHzHmNwPN%2BLx%2BjK9NyhpnZXzC1wQ%2BVuzfs78a8OZpR%3D8ZQ%40mail.gmail.com.


Re: [jupyter] Re: ImportError: No module named notebook.notebookapp

2019-10-17 Thread Jason Grout
It sounds like your install is messed up, and you have two environments
layered on top of each other (perhaps you have a system install and an
anaconda install?). The __file__ trick helps you see what is actually being
run.

Jason

On Thu, Oct 17, 2019 at 10:33 AM brian piercy  wrote:

> more info:
>
> 'python' loads w/o problem. (interesting, though, it loads using 3.5.2,
> default, 2018/11/12.)
> 'ipython' however, loads with python 2.7.12 & iPython 5.8.0.
>
> no wonder Jupyter is confused.
>
>
> On Thursday, October 17, 2019 at 10:53:07 AM UTC-5, brian piercy wrote:
>>
>>
>>- rebuilding after a crash. i started via a fresh Anaconda download.
>>Here's the results of 'jupyter --version"
>>
>>
>>- bjpcjp@bjpcjp-Lenovo-Z710:~$ jupyter --version
>>- jupyter core : 4.6.0
>>- jupyter-notebook : 6.0.1
>>- qtconsole : 4.5.5
>>- ipython : 7.8.0
>>- ipykernel : 5.1.2
>>- jupyter client : 5.3.4
>>- jupyter lab : not installed ('conda install jupyterlab' returns
>>"all packages already installed")
>>- nbconvert : 5.6.0
>>- ipywidgets : 7.5.1
>>- nbformat : 4.4.0
>>- traitlets : 4.3.3
>>
>>
>>- I get the error msg shown in the title, despite multiple
>>reinstalls, via "jupyter notebook".
>>
>> according to 'conda info':
>>
>>- no active environment
>>- conda 4.7, conda-build 3.18, python 3.7.4.
>>- channel URLs listed
>>- package caches present; envs directories present; linux-64 platform.
>>
>> ideas? Thank you. (also posted in GitHub
>> , FYI.)
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/75e354d3-d80a-4014-a73c-9a472843c87e%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHx9SUfd6XoZ7pt6G2c9qj%3Dogp_weFmdgSZb0U%2B7qWtKXw%40mail.gmail.com.


Re: [jupyter] ImportError: No module named notebook.notebookapp

2019-10-17 Thread Jason Grout
It sounds to me like your installation is messed up somehow. Also, the "no
active environment" looks a bit suspicious.

To debug issues like this, I usually try to start python alone, import
something relevant (like notebook), and then query `notebook.__file__` to
see if I'm importing notebook from where I think I should be importing
notebook: python -c "import notebook; print(notebook.__file__)" or something

Jason

On Thu, Oct 17, 2019 at 8:53 AM brian piercy  wrote:

>
>- rebuilding after a crash. i started via a fresh Anaconda download.
>Here's the results of 'jupyter --version"
>
>
>- bjpcjp@bjpcjp-Lenovo-Z710:~$ jupyter --version
>- jupyter core : 4.6.0
>- jupyter-notebook : 6.0.1
>- qtconsole : 4.5.5
>- ipython : 7.8.0
>- ipykernel : 5.1.2
>- jupyter client : 5.3.4
>- jupyter lab : not installed ('conda install jupyterlab' returns "all
>packages already installed")
>- nbconvert : 5.6.0
>- ipywidgets : 7.5.1
>- nbformat : 4.4.0
>- traitlets : 4.3.3
>
>
>- I get the error msg shown in the title, despite multiple reinstalls,
>via "jupyter notebook".
>
> according to 'conda info':
>
>- no active environment
>- conda 4.7, conda-build 3.18, python 3.7.4.
>- channel URLs listed
>- package caches present; envs directories present; linux-64 platform.
>
> ideas? Thank you. (also posted in GitHub
> , FYI.)
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/4b9a625d-6996-4b4a-8a58-1b8f5b12c210%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHw3Tk5DurzewZX0H4KOw0nuTMpOx48qKorNoZdGpCf9TA%40mail.gmail.com.


Re: [jupyter] Sprint tasks

2019-10-16 Thread Jason Grout
We try to curate a list of "good first issues" in JupyterLab that might be
good for people that want to do stuff in JS/Typescript:
https://github.com/jupyterlab/jupyterlab/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22

There's also a curated list of good first issues in ipywidgets:
https://github.com/jupyter-widgets/ipywidgets/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22
- though those might be a bit less curated, and they do include probably
more python issues.

Thanks,

Jason


On Wed, Oct 16, 2019 at 2:18 PM Thomas Kluyver  wrote:

> Hi all,
>
> I've said I'll run a Jupyter-related sprint at a Hackathon being organised
> in London in a couple of weeks (https://www.man.com/hackathon2019 ). I'm
> not as familiar with Jupyter development as I used to be, so briefly: are
> there any Jupyter projects, or Jupyter-related projects, with a good crop
> of relatively straightforward issues that people could tackle in a sprint?
>
> The timetable includes 10 hours (!) of coding time, so ideally it would be
> good to have a range of difficulties, including a few more challenging
> issues. Maintenance things like adding tests or improving documentation are
> in scope.
>
> I'd like to have maybe 3 specific repositories I can point people to,
> because there's a bewildering array of Jupyter projects by now. It's also
> easier for people to help each other if they're working on the same pieces.
> Of course, if someone wants to work on something from another repo, I'll
> still help them.
>
> I'll look through some repositories myself as well, but if people know of
> projects that would be a good fit, I'd be grateful.
>
> Thanks,
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/CAOvn4qiOQxAkG927xMeLe5bDO4LWYLdP9otAeGU%3DMmy%3DyPXEuw%40mail.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHz9oDz91cxCACfrr57c%3D-Fz10c_A2%2BzbhCsnX5hqfNPYw%40mail.gmail.com.


Re: [jupyter] Guix-Jupyter: Towards self-contained, reproducible notebooks

2019-10-10 Thread Jason Grout
That is a *very* interesting approach to a tricky problem many people
encounter, and you solution looks very well thought out and executed.
Thanks for sharing!

Jason


On Thu, Oct 10, 2019 at 5:08 AM Ludovic Courtès 
wrote:

> Hello,
>
> I’m happy to announce the first beta release of Guix-Jupyter, a kernel
> that allows users to annotate their notebooks with the list of software
> dependencies the notebook requires, and have them deployed in a
> reproducible fashion through GNU Guix:
>
>
> https://hpc.guix.info/blog/2019/10/towards-reproducible-jupyter-notebooks/
>
> As I wrote in this post, we’re more familiar with Guix than with Jupyter
> and we’d very much welcome your feedback on this approach!
>
> Thanks,
> Ludo’.
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/87ftk03ish.fsf%40inria.fr.
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHwnKAsFvhzpYbsWZoh1JZLUAJvR2E1MgbSKAxp8T2b7pw%40mail.gmail.com.


Re: [jupyter] Compile Javascript in Jupyter ?

2019-09-25 Thread Jason Grout
Somehow we got off the mailing list, so I'm redirecting back to it.

You can change a kernel to Javascript, but then your python kernel is gone.

The Beaker project explores sharing values between javascript and python,
and having both running at the same time.

There is a C++ kernel as well.

Jason


On Wed, Sep 25, 2019 at 8:36 AM CrestChristopher 
wrote:

> I hope one can switch between the native python kernel and javascript,
> that is something I'll have to find out; I guess there is a kernel for C as
> well ?
>
> Christopher
> On 9/25/2019 11:21 AM, Jason Grout wrote:
>
> Javascript doesn't have a print() function. You can't mix javascript and
> python syntax or variables.
>
> To show something from Javascript you can do a console.log() to log to the
> browser console.
>
> You could also just install a javascript kernel if you really just want to
> work in javascript always. I haven't tried it, but for example IJavascript
> is listed in our kernels page at
> https://github.com/jupyter/jupyter/wiki/Jupyter-kernels.
>
> Jason
>
>
> On Wed, Sep 25, 2019 at 8:09 AM CrestChristopher <
> crestchristop...@gmail.com> wrote:
>
>> For example;
>> var one = "apple";print(one);I don't want a Jupyter cell to print the
>> code as it was typed; I want it to show the result of the variableonewhich
>> in this case would beapple` ?
>> ​
>>
>> Sorry my client screwed up the styling of the comment.
>> On 9/25/2019 11:06 AM, Jason Grout wrote:
>>
>> Can you post a code snippet of what you have tried, and what is not
>> working about it?
>>
>> I'm not sure what you are trying to do with `import javascript`.
>>
>> Jason
>>
>>
>> On Wed, Sep 25, 2019 at 8:02 AM CrestChristopher <
>> crestchristop...@gmail.com> wrote:
>>
>>> I have some Javascript which I want to run as executed. I know about
>>> %%js or %%javascript but I must also do
>>>
>>> import javascript in the cell, which is the correct syntax ?
>>>
>>> Christopher
>>>
>>> On 9/25/2019 10:56 AM, Jason Grout wrote:
>>>
>>> What do you mean by "compile Javascript"? Do you mean you have some
>>> Javascript that you want to run? You can use the Javascript display type in
>>> IPython, for example:
>>>
>>> I think you can use either %%javascript at the top of the cell, or
>>> something like: from IPython.display import Javascript; Javascript(...)
>>>
>>> Thanks,
>>>
>>> Jason
>>>
>>>
>>> On Wed, Sep 25, 2019 at 7:24 AM CrestChristopher <
>>> crestchristop...@gmail.com> wrote:
>>>
>>>> Is it possible to compile Javascript in a cell in Jupyter ?
>>>>
>>>> Christopher
>>>>
>>>> --
>>>> 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 view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/jupyter/8caf2bbd-db67-9bfb-7852-ec4961d40fdc%40gmail.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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jupyter/CAPDWZHzJQ89G_bKMqkpK_bF1%3DT7yNemotB%3DF%2BHuRzMvKMk%2Bw_g%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/jupyter/CAPDWZHzJQ89G_bKMqkpK_bF1%3DT7yNemotB%3DF%2BHuRzMvKMk%2Bw_g%40mail.gmail.com?utm_medium=email_source=footer>
>>> .
>>>
>>> ​
>>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHx2suGs%3DLEBFkjBygkwLu3AeFkYRu99_n1L9pqdibHubw%40mail.gmail.com.


Re: [jupyter] Compile Javascript in Jupyter ?

2019-09-25 Thread Jason Grout
What do you mean by "compile Javascript"? Do you mean you have some
Javascript that you want to run? You can use the Javascript display type in
IPython, for example:

I think you can use either %%javascript at the top of the cell, or
something like: from IPython.display import Javascript; Javascript(...)

Thanks,

Jason


On Wed, Sep 25, 2019 at 7:24 AM CrestChristopher 
wrote:

> Is it possible to compile Javascript in a cell in Jupyter ?
>
> Christopher
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/8caf2bbd-db67-9bfb-7852-ec4961d40fdc%40gmail.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHzJQ89G_bKMqkpK_bF1%3DT7yNemotB%3DF%2BHuRzMvKMk%2Bw_g%40mail.gmail.com.


Re: [jupyter] How does "stream" message, sent as reply to comm, bound to cell?

2019-09-23 Thread Jason Grout
The view is the one to actually send the comm message from js:
https://github.com/jupyter-widgets/ipywidgets/blob/a311d753385f0867c34525eacad9496108e43cc1/packages/controls/src/widget_button.ts#L124

In the classic Notebook, the view registers a display callback that puts
any output coming back from the kernel in the cell containing the view. The
process for getting that callback right is a bit convoluted, involving
asking the widget manager for the right callback, etc. The relevant code is
at
https://github.com/jupyter-widgets/ipywidgets/blob/a311d753385f0867c34525eacad9496108e43cc1/widgetsnbextension/src/manager.js#L311-L335

In JupyterLab, right now nothing is done with the output, so the output
essentially disappears: . We are working on a logging extension (hopefully
merged for jlab 1.2) that will log a message with any output returned from
the kernel.

In the docs, we also encourage people to use the OutputWidget to explicitly
capture output if that's what you want:
https://ipywidgets.readthedocs.io/en/latest/examples/Output%20Widget.html#Debugging-errors-in-callbacks-with-the-output-widget

Thanks,

Jason


On Mon, Sep 23, 2019 at 9:45 AM 'Ilya Kazakevich' via Project Jupyter <
jupyter@googlegroups.com> wrote:

> Hello,
> I have the following code
>
> ```
>
> btn = widgets.Button(description='Medium')
> display(btn)
> def btn_eventhandler(obj):
> print('Hello from the {} button!'.format(obj.description))
> btn.on_click(btn_eventhandler)
>
> ```
>
> When I click on the button, it sends comm message to python side.
> Python replies with "stream" message.
>
> As I understand, button widget uses it's model to send comm message.
> Model may have more than one view.
> So, how does jupyter know which cell should be used to output this stream?
>
> I know that for regular code execution it registers callback and uses
> "parent" header of reply, and I am sure something similar takes place here,
> but I don't see any callback registered by view nor by model.
>
> Thank you.
> Ilya.
>
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/CAMQsgbSoR3Smw_zHrBW%3DL4OSYgtuk1LUo71OY7bCdFAybA5JoQ%40mail.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHwstENV7CWxVny7bKkFwqeK4gWvZcoeCX66bnkivOG_YQ%40mail.gmail.com.


Re: [jupyter] A modest proposal: jupyter lab should present notebooks in iframes

2019-09-04 Thread Jason Grout
And also thanks Pete for detailing how an iframe's js execution affects the
rest of the page!

On Wed, Sep 4, 2019 at 12:52 AM Afshin T. Darian  wrote:

> This has turned out to be an interesting conversation. Thanks, everyone!
>
> William, I love your pathological case. You're right, of course. I think I
> am lumping all situations where you need to kill the tab as basically on
> the same tier of user irritation.
>
> On Wed, Sep 4, 2019 at 12:25 AM Pete Blois  wrote:
>
>> As a maintainer of quite of bit of Colab's iframing infrastructure: it
>> does a good job of isolating for security but it's not great at preventing
>> the `while (true) {}` case. The reason is that if the iframe is just a
>> srcdoc iframe then it shares the same thread, so a hang there will still
>> hang your entire page. If the iframe is using a separate origin then with
>> Chrome's OOPIF
>> <https://www.chromium.org/developers/design-documents/oop-iframes>
>> feature it will wedge all iframes across all tabs, in even worse ways.
>> OOPIF's are still pretty new. Today, when dealing with while (true), the
>> non-iframed error model is superior.
>>
>> I'm a strong believer in the value of the security model offered by
>> iframes, but they are non-trivial to implement.
>>
>> try opening a notebook with 500 visible cells with output in Colab, and
>>> watch things die badly, due to trying to create 500 nontrivial iframes.
>>
>> Yeah, there are a number of tricks... If the 500 cells were generated by
>> Colab then the resulting height of the output is also written to the
>> notebook file so a placeholder can be rendered instead. Then
>> IntersectionObserver is used to only render the output when it becomes
>> visible. This also helps minimize resize jank when loading a large
>> notebook. 500 cells is still... a whole lot of cells.
>>
>> On Tue, Sep 3, 2019 at 1:12 PM 'Aaron Watters' via Project Jupyter <
>> jupyter@googlegroups.com> wrote:
>>
>>> Thanks Darian,
>>>
>>> I'm concerned that there is precisely one Javascript thread shared by
>>> all notebook interfaces in Jupyter Lab.
>>> I will try to come up with an example involving animation running in
>>> multiple notebooks that causes performance degradation.
>>>
>>> I agree that iframes are difficult to deal with. I think the additional
>>> robustness might be worth it.  Regarding your specific objections:
>>>
>>> 1) dropping "dead zone" -- this may be -- I don't know.  I'm personally
>>> probably willing to sacrifice this use case.  I never "drop" anything into
>>> a notebook myself.
>>> 2) iframes can't communicate with the rest of the application -- I think
>>> you could mediate communication between iframes if necessary on the server
>>> side.
>>>
>>> Thanks for the reply and comments!  -- Aaron Watters
>>>
>>> On Tuesday, September 3, 2019 at 3:19:31 PM UTC-4, Afshin T. Darian
>>> wrote:
>>>>
>>>> Hi Aaron,
>>>>
>>>> Thanks for writing. If you have a test case that you can contrive to
>>>> crash JupyterLab, we'd love to try to address the issue head on.
>>>>
>>>> But in the absence of that, here's what I surmise would happen if you
>>>> did run into a notebook that causes a runaway JS thread to cause JupyterLab
>>>> to become unresponsive:
>>>>
>>>> 1. Let's say you execute a cell and its result is that the web app
>>>> becomes unresponsive.
>>>> 2. Like many web apps, you would either refresh the tab or you would
>>>> close it and open a new one.
>>>> 3. When the new tab opens, it would restore the state of JupyterLab to
>>>> the last known saved state.
>>>> 4. Your broken notebook would be open and you could either close it or
>>>> modify the contents of the offending cell.
>>>>
>>>> I think you'd basically be in the same situation you were in the
>>>> classic notebook because of JupyterLab's layout/state restoration.
>>>>
>>>> As far as using iframes, they bring with them a lot of trouble, which
>>>> makes them unsuitable for an application like JupyterLab. They become a
>>>> "dead zone" in terms of drag and drop interoperability with the rest of
>>>> what is on your screen. Also, they don't have programmatic access to the
>>>> rest of the JupyterLab application and it makes interacting with other
>>>> extensions quite difficult.
&g

Re: [jupyter] Re: Hello World Custom Widget example for jupyterlab

2019-08-26 Thread Jason Grout
FYI, we just realized a few seconds ago in a totally unrelated conversation
that in order for that cookiecutter to work in JLab 1.0,
https://github.com/jupyter-widgets/widget-cookiecutter/blob/master/%7B%7Bcookiecutter.github_project_name%7D%7D/js/package.json#L34
needs to be changed to version range `^1 || ^2`.

Someone is making a PR momentarily, but thought I'd flag it in case you
jumped right in before the change went in.

Jason


On Mon, Aug 26, 2019 at 9:55 AM Gianni C.  wrote:

> You are right Hai !
> It was a nice PEBCAK on my side, after starting with a clean and correctly
> setup environment (instead of randomly install things on top of something
> else) things start working.
> Time to dive into widgets development and see what I manage to do.
> Thanks :)
>
> Gianni
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/d98e2779-c965-4f15-b1bf-7ca0372bff7f%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHyBt%3D-1vk_%2ByKFCTrOdZ7xSKYp%2BsEY_EzieGBgLmx2KJA%40mail.gmail.com.


Re: [jupyter] Show: example JupyterLab theme that extends from base theme

2019-08-15 Thread Jason Grout
Cool, thanks for sharing!

On Thu, Aug 15, 2019 at 12:33 PM Jason Anderson 
wrote:

> Hey all,
>
> I've been playing around with distributing a lightly customized theme to
> users on our JuptyerHub. My first pass was basically forking the existing
> theme-light-extension packaged within JupyterLab. But, then when 1.0 rolled
> around and I had to revisit my 0.35-era theme... I experienced pain.
>
> I ended up stumbling across a solution that was obvious in hindsight:
> simply wrap an existing theme and add a few overrides. For my use-case this
> was fine; I just wanted to override an icon, and maybe in the future adjust
> some colors or likewise. This ended up being surprisingly simple to do
> thanks to JupyterLab's module architecture and tooling around webpack. If
> you want to have a look, the code is here:
> https://github.com/chameleoncloud/jupyterlab-theme-extension
>
> I imagine others might have similar use-cases, so I wanted to share my
> experience. Hope it's helpful!
>
> Cheers,
>
> --
> Jason Anderson
>
> Chameleon DevOps Lead
> *Consortium for Advanced Science and Engineering, The University of
> Chicago*
> *Mathematics & Computer Science Division, Argonne National Laboratory*
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/836ac6f9-9a9a-1007-2eed-78a4b17167d5%40uchicago.edu
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHx61gcSUJy%3DsiyxKpYeGP3ttsF4-nt6DiMoC%2BmXkQkByg%40mail.gmail.com.


Re: [jupyter] Re: Working implementation of WYSIWYG rich text cell in Jupyter notebook...

2019-08-06 Thread Jason Grout
Very interesting discussion. Just curious, did you look at Prosemirror for
lightweight WYSIWYG editing for markdown cells?

Thanks,

Jason


On Tue, Aug 6, 2019 at 12:23 PM Jonathan Gutow  wrote:

> Tony,
>
> Thanks for the pointer. The extension uses CKEditor4 which we decided
> against because it is pretty heavy weight and used iframes, making styling
> consistency more difficult. I see that CKEditor5 which does not use iframes
> is now available. We might look into CKEditor again although they make it
> difficult to look at the code if there are problems. The editor we chose,
> Quill,  is relatively lightweight. Plus, I think the
> argument for their internal document model rather than just using html is
> good.
>
> I can address your point about things getting messy when using the
> jupyter-wysiwyg extension that tries to keep everything in markdown and the
> questions others have asked about why I think jupyter needs a new cell type
> simultaneously. I have been thinking about this very seriously as I play
> with and debug the code we have written so far. I too would prefer not to
> change the notebook format if possible. However, I have concluded that if
> we want to continue making Jupyter easier to use and have it be useful over
> the long haul the notebook format will have to continue to evolve.
>
> Ease of use considerations:
>
>1. As you (Tony) have noted things get very messy in a markdown cell
>if you try to include formatting beyond the basic formatting supported in
>markdown. This is a problem for lots of users. Only if you are comfortable
>writing and editing html and are familiar with all the css embedded in
>Jupyter does this work OK. Others (including myself) find it frustrating to
>get the formatting I intend.
>2. Unless you use markdown a lot it is easy to forget exactly what to
>do to get specific formatting. I and many users of Jupyter do a lot of
>other things and only use Jupyter for cases where we need to do particular
>kinds of coding or data analysis. This means making useful annotations in
>the notebook is almost always a frustrating experience. Also having to
>execute the cell to see if the formatting is what you actually want is
>frustrating. This is where WYSIWYG shines.
>3. I think we want people to be able to concentrate on the work they
>are trying to do in Jupyter. Some examples where I do not think the users
>are likely to be interested in writing html code, but may need to format
>explanatory text more extensively than can be done with pure markdown: data
>analysis, code development, and my use case. My use case requires
>undergraduates to answer questions in a Jupyter notebook used for direct
>collection of lab data into the notebook. Freshman students taking
>chemistry do not need the added cognitive load of having to learn markdown
>to provide answers to chemistry lab questions. Additionally, the
>instructors who create the worksheets want to be able to use more
>formatting of their instructions than is available in markdown and do not
>know how to code html or markdown.
>4. From a user perspective I do not want a cell that I just edited
>using full WYSIWYG editing to open by default as a markdown cell. I want it
>to open as a full WYSIWYG editor when I double click on it. To be
>consistent with the way Jupyter works this means that the WYSIWYG cell is a
>different type of cell and as such has to be defined separately in the
>notebook format.
>5. Related to the issue above is that getting clean conversion back
>and forth between markdown (with embedded html) and WYSIWYG is not easy.
>This stems in part from the ambiguity (which provides flexibility as well)
>of html. If the cell types are different, people have to explicitly choose
>to convert between the two and are more likely to accept and be prepared to
>deal with small inconsistencies.
>6. The above also suggests that to make Jupyter easier to use Jupyter
>should also support a toolbar (that can be hidden) for markdown cells
>containing buttons and menus for just the formatting options markdown
>supports. Github does something like this. As part of the idea of markdown
>is that you can "just type it", I am not sure that a WYSIWYG version of a
>markdown cell is appropriate or necessary. I think WYSIWYG should be
>reserved for a rich text cell as done in the Jupyter fork I am working on.
>
> Jupyter longevity considerations:
>
>1. The currently chosen json format for the stored notebooks is
>admirably flexible much as xml/html and likely to have good longevity. The
>only issue I see is that people might want an automatic way to bundle up
>external files used in a workbook, sort of a zip archive. Embedded images
>are already handled cleanly as base64 encoded binary in the json strings.
>2. The 

Re: [jupyter] Re: Working implementation of WYSIWYG rich text cell in Jupyter notebook...

2019-08-01 Thread Jason Grout
This looks really cool!

I would suggest that if at all possible, you work within the existing
notebook format and not introduce a new cell type. There is a massive
amount of momentum behind the notebook format as it stands.

Thanks,

Jason

On Thu, Aug 1, 2019 at 5:10 PM Colin Gutow  wrote:

> I am the other person who has worked on this so far. I will endeavor to
> answer questions and provide assistance related to this topic when
> possible. As such if you have questions please feel free to direct them to
> either the thread head or myself.
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/df9d2c28-b5e2-4484-aa62-ccc66bc5cea6%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHxNm_74iNHg3nxN5zBKqpAXDoDKb6FRkSzweZFs%2BYCC6g%40mail.gmail.com.


Re: [jupyter] clear_output and display widgets (from ipywidgets) connection

2019-07-11 Thread Jason Grout
That's great to hear!

If you're at scipy right now, I'd love to touch base with you in person
about this effort.

Thanks,

Jason


On Thu, Jul 11, 2019 at 7:38 AM Ilya Kazakevich <
ilya.kazakev...@jetbrains.com> wrote:

> Jason, William, thank you.
> I now understand how this redirection works. It would be nice to document
> it somewhere in
> https://jupyter-notebook.readthedocs.io/en/stable/comms.html
>
> Yes, we are implementing ipywidgets for PyCharm:)
>
> Ilya.
>
>
>
> --
> 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/d5067a08-a694-4118-a653-1696c0721912%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/CAPDWZHwyPn%3DtFZ1SSxOn3ax%3Dh3oOB38Qqv-ZeB7Nrj2Ovn_pXw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] clear_output and display widgets (from ipywidgets) connection

2019-07-11 Thread Jason Grout
On Wed, Jul 10, 2019 at 8:01 PM William Stein  wrote:

> On Wed, Jul 10, 2019 at 5:51 PM Ilya Kazakevich
>  wrote:
> >
> > Thank you!
> > I was trying to understand how is it implemented technically, how it
> works under the hood
>
>
I'll also add that the answer to

> Then, how does jupyter "understands" that only widget content must be
cleared? This is not comm message, so no connection to widget is made. How
does it work?

is simple. The source for that .clear_output method is (
https://github.com/jupyter-widgets/ipywidgets/blob/b2a998402120c2b9a277508efd7453f678c5785e/ipywidgets/widgets/widget_output.py#L76-L77
):

with self:
clear_output(*pargs, **kwargs)

which means that calling that method *first* sends a comm message
redirecting output, *then* sends the global clear_output message (which is
redirected to the widget), then exits the context manager undoing the
output redirection.



> If that GitHub issue I pointed to isn't sufficiently clear, please
> reopen it and add additional questions or make a new one.  Jason Grout
> told me that he really likes using GitHub issues to answer technical
> questions about how ipywidgets works.
>
>
I like using GitHub issues because they seem to better support answers (for
example, I can inline code and links and they are formatted nicely), and
they are more searchable than chat or I think even mailing list posts. So
our "reference" issue milestone has accumulated a number of stack overflow
type questions and answers.



> Are you guys implementing IPywidgets support for PyCharm?   Having
> recently implemented a new client (not jupyterlab or jupyter classic),
> I think it will be very good for the ipywidgets project if there are
> even more integrations of ipywidgets into different clients out there...
>
>
+1 to having more clients implement ipywidgets support. Are you? Let us
know if you are having any other issues. Output widgets in particular are
still a bit tricky.

Thanks (and thanks William for answering as well!)

Jason

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


Re: [jupyter] Re: Possibility to separate the JupyterLab Web and Server

2019-05-02 Thread Jason Grout
The decision of if and when to launch a kernel is a frontend decision, not
a backend decision. That's why it should also be a JupyterLab issue.

Thanks for finding that Jupyter notebook issue. If you could reference
that, that would help tie in the discussion.

Thanks,


Jason


On Thu, May 2, 2019 at 1:53 PM Song Liu  wrote:

> Yes, I can.
>
> But it seems that there is already a same issue in jupyter/notebook
> project (https://github.com/jupyter/notebook/issues/3170), I understand
> jupyterlab is using the jupyter/notebook as its backend, or jupyterlab will
> rewrite not only the  frontend but also the backend ?
>
> On Wednesday, May 1, 2019 at 6:48:29 AM UTC+8, Jason Grout wrote:
>>
>> On Tue, Apr 30, 2019 at 4:36 PM Song Liu  wrote:
>>
>>> Yes, this is the kernel and Jupyter Server separation solution for my
>>> requirement.
>>>
>>> So what is the schedule for this kernel launching behavior change ?
>>> where could access this kind of discussion ?
>>>
>>>
>> The current state is:
>>
>> 1. We discussed this when implementing JupyterLab, and decided to go with
>> the classic notebook behavior for compatibility.
>> 2. We are releasing 1.0 shortly (in the next several months?), and we
>> (most likely) wouldn't change this behavior at this point for 1.0.
>> 3. We can take up this discussion after releasing 1.0, especially if
>> someone volunteers to do the work for it.
>>
>> Do you want to open an issue for "Launch a kernel for notebook only when
>> needed, not at open" in the jupyterlab repo at
>> https://github.com/jupyterlab/jupyterlab/issues/new? That will help us
>> keep track of this request.
>>
>> Thanks,
>>
>> Jason
>>
>>
>>
>> --
> 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/d829a562-14eb-4292-b723-36a70936d5f7%40googlegroups.com
> <https://groups.google.com/d/msgid/jupyter/d829a562-14eb-4292-b723-36a70936d5f7%40googlegroups.com?utm_medium=email_source=footer>
> .
> 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/CAPDWZHz4yqwtAZtYr1OY6xfBNm4C-uF4jA9OV8jV5kqCHZL3jg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Re: Possibility to separate the JupyterLab Web and Server

2019-04-30 Thread Jason Grout
On Tue, Apr 30, 2019 at 4:36 PM Song Liu  wrote:

> Yes, this is the kernel and Jupyter Server separation solution for my
> requirement.
>
> So what is the schedule for this kernel launching behavior change ? where
> could access this kind of discussion ?
>
>
The current state is:

1. We discussed this when implementing JupyterLab, and decided to go with
the classic notebook behavior for compatibility.
2. We are releasing 1.0 shortly (in the next several months?), and we (most
likely) wouldn't change this behavior at this point for 1.0.
3. We can take up this discussion after releasing 1.0, especially if
someone volunteers to do the work for it.

Do you want to open an issue for "Launch a kernel for notebook only when
needed, not at open" in the jupyterlab repo at
https://github.com/jupyterlab/jupyterlab/issues/new? That will help us keep
track of this request.

Thanks,

Jason

-- 
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/CAPDWZHxtsj37M-wXTfGOiaX-oj%3DMnCBnpNbs-zNTFGwwo92UNA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Re: Possibility to separate the JupyterLab Web and Server

2019-04-30 Thread Jason Grout
It sounds like basically you just want, when opening a notebook, for the
kernel to only be launched when you execute the first cell, instead of
launching the kernel automatically when the notebook opens? We discussed
this when implementing JupyterLab, but decided to stay with the behavior
from classic notebook. However, we've been discussing recently changing the
behavior in JupyterLab to not launch the kernel when a notebook starts up,
and waiting until the first time a cell is executed.

Jason


On Tue, Apr 30, 2019 at 10:15 AM Song Liu  wrote:

> Also, about the separation looks like a direction in the community, but
> there are not some progress for a long time.
>
> and I see there are two jupyter server:
>
> - jupyter/jupyter_server
> - jupyterlab/jupyterlab_server
>
> I feel that the refactor want to be done under the new group "jupyterlab",
> but jupyterlab is still using something from old group "jupyter". It would
> confuse if we want to contribute something.
>
> Thanks,
> Song
>
> --
> 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/8a8db447-6ec2-4a82-889e-091de9996b35%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/CAPDWZHxOD2bBj4Q0WmpoXtSK_2mBoueZtiN6Tm5hPawMrhJCoA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Possibility to separate the JupyterLab Web and Server

2019-04-29 Thread Jason Grout
On Sun, Apr 28, 2019 at 11:08 AM Song Liu  wrote:

> And the https://github.com/jupyter/notebook will be used for JupyterLab
> as it is without any modification ?
> or what's the relationship between jupyter/notebook and
> jupyterlab/jupyterlab project ?
>
>
jupyter/notebook is the "classic notebook" web application that has been
around for a long time now. It consists of both the backend server and the
frontend javascript.

jupyter/jupyterlab is a complete reimplementation of the frontend (it does
not use the jupyter/notebook javascript), but still uses the
jupyter/notebook backend server.

Jason

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


Re: [jupyter] Re: Possibility to separate the JupyterLab Web and Server

2019-04-29 Thread Jason Grout
The jupyterlab examples/notebook example does use a notebook server backend
(like I mentioned). It provides a starting point for you to see the sorts
of components needed to build a front-end only solution for viewing/editing
notebooks. Someone will still need to write a front-end thing like you are
asking about.

Thanks,

Jason


On Sun, Apr 28, 2019 at 6:23 PM Song Liu  wrote:

> It seems that examples/notebook from JupyterLab project it is still
> launching a Notebook App Server which would provide the Web and Backend
> functions.
>
> So that actually I am looking for a deployment separation between "static
> (html,js)" and the backend server, where:
>
> - the web server provides the viewing and editing (+ save to storage)
> function
> - the backend server is created on demand for running
>
> --
> 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/283939d7-fdc1-4179-bbda-af9b7f36098c%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/CAPDWZHwQb3Tt%3Dwh9WqStnYgH9oa0VBP4Z3QnNs7aeR7Pc5SRLQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Possibility to separate the JupyterLab Web and Server

2019-04-27 Thread Jason Grout
I would look at the JupyterLab notebook example. That example does require
a backend, but does get you started in seeing the sorts of components
needed to render/edit a notebook:

https://github.com/jupyterlab/jupyterlab/tree/master/examples/notebook

Thanks,

Jason


On Sun, Apr 28, 2019 at 2:52 AM Song Liu  wrote:

> Thanks, could you kindly clarify which JupyterLab components could be used
> to compose a notebook viewer & editor ?
>
> On Saturday, April 27, 2019 at 10:06:22 PM UTC+8, Jason Grout wrote:
>>
>> Absolutely. We wrote each part of JupyterLab as a separate component, and
>> it should totally be possible to write just a notebook viewer and editor
>> with JupyterLab components.
>>
>> Jason
>>
>>
>> On Sat, Apr 27, 2019 at 8:50 AM Song Liu  wrote:
>>
>>> Hi,
>>>
>>> Just like the Google Colab user experience, is that possible to separate
>>> the JupyterLab Web and Backend ?
>>>
>>> That is the notebook viewing and editing functionality could be provided
>>> by the JupyterLab web service just with minimum resource consumption.
>>> When running the Python code it could send it to a remote JupyterLab
>>> backend (Server and Kernel).
>>>
>>> Thanks,
>>> Song
>>>
>>> --
>>> 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 jup...@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/d9872648-8909-4ad8-84f7-853ae8c81460%40googlegroups.com
>>> <https://groups.google.com/d/msgid/jupyter/d9872648-8909-4ad8-84f7-853ae8c81460%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> 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/75cefc72-3b75-481e-8c47-d766703ec39e%40googlegroups.com
> <https://groups.google.com/d/msgid/jupyter/75cefc72-3b75-481e-8c47-d766703ec39e%40googlegroups.com?utm_medium=email_source=footer>
> .
> 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/CAPDWZHyXH_Dnm4%3DKGektnw3wV9QXa%3DKEH%3DTYoxNPcL8YHRyYrA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] when jupyterlab release 1.0 come out?

2019-04-27 Thread Jason Grout
Hopefully in the next few months.

Jason


On Sat, Apr 27, 2019 at 11:46 AM Big Stone  wrote:

> Any refinement on Jupyterlab-1.0 release date estimate ? fall 2019 ? 2020 ?
>
>
>
> On Wednesday, January 17, 2018 at 5:20:29 PM UTC+1, Jason Grout wrote:
>>
>> You can see the current issue queue for 1.0 at
>> https://github.com/jupyterlab/jupyterlab/milestone/2. We are currently
>> working on polishing the Beta release series (including documentation) and
>> will announce the beta series of releases soon, which should be usable in
>> day-to-day work by general users. While we don't expect a huge amount of
>> change from a user perspective between the series of beta releases and 1.0,
>> we will see a continual iteration and refinement of the user experience.
>> Looking at the issue queue for 1.0, I expect we'll see a number of beta
>> releases as we work towards refining the user experience and stabilizing
>> the extension system api for developers for 1.0.
>>
>> As always, help is welcome - if anyone wants to help, you can
>> particularly search for the "good first issue" label (
>> https://github.com/jupyterlab/jupyterlab/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22),
>> and there are also lots of places to help with documentation (for example,
>> we are currently working on making screenshots for the user-level
>> documentation). You can join the ongoing conversation at
>> https://gitter.im/jupyterlab/jupyterlab and we can help you get set up
>> to contribute.
>>
>> Thanks,
>>
>> Jason
>>
>>
>> On Wed, Jan 17, 2018 at 7:00 AM Matthias Bussonnier <
>> bussonnie...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> The release of JupyterLab should happen relatively soon.  The release of
>>> notebook 5.3 (released yesterday), was necessary for JupyterLab 1.0 to be
>>> released. The code is (almost) frozen, and the team is spending time making
>>> sure the documentation is correct and up to a good standard.
>>>
>>> You can already install JupyterLab via Pip and conda, and not much
>>> changes should happend between current version and 1.0.
>>>
>>> --
>>> Matthias
>>>
>>> On 17 January 2018 at 02:30,  wrote:
>>>
>>>> Hi,
>>>>
>>>> where can I find the roadmap for jupyterlab? and when we are going to
>>>> release jupyter lab version 1.0?
>>>>
>>>> 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 jup...@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/bf7ba78a-d106-46b5-9b5e-5216d3b8fb16%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/jupyter/bf7ba78a-d106-46b5-9b5e-5216d3b8fb16%40googlegroups.com?utm_medium=email_source=footer>
>>>> .
>>>> 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 jup...@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/CANJQusUy8XwJd5X0B%2BBS3JFTk0iOCjDsPfK4qx0iUFGydDuCcA%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/jupyter/CANJQusUy8XwJd5X0B%2BBS3JFTk0iOCjDsPfK4qx0iUFGydDuCcA%40mail.gmail.com?utm_medium=email_source=footer>
>>> .
>>> 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/fbc88e94-ef0d-4580-98ca-2a43ba5a6dc9%40googlegroups.com
> <https://groups.google.com/d/msgid/jupyter/fbc88e94-ef0d-4580-98ca-2a43ba5a6dc9%40googlegroups.com?utm_medium=email_source=footer>
> .
> 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/CAPDWZHy8V7mKCFgdmptqXz1_8k49aLE0DOq7ziU3Xvqbewj82w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Possibility to separate the JupyterLab Web and Server

2019-04-27 Thread Jason Grout
Absolutely. We wrote each part of JupyterLab as a separate component, and
it should totally be possible to write just a notebook viewer and editor
with JupyterLab components.

Jason


On Sat, Apr 27, 2019 at 8:50 AM Song Liu  wrote:

> Hi,
>
> Just like the Google Colab user experience, is that possible to separate
> the JupyterLab Web and Backend ?
>
> That is the notebook viewing and editing functionality could be provided
> by the JupyterLab web service just with minimum resource consumption.
> When running the Python code it could send it to a remote JupyterLab
> backend (Server and Kernel).
>
> Thanks,
> Song
>
> --
> 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/d9872648-8909-4ad8-84f7-853ae8c81460%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/CAPDWZHweX%2BVWqdH3ePFgEfDcnJW9SzD%3DbqqwaGbRbW3Tss8DNQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Differences between Lab and Notebook for handling display_data messages with text/html data

2019-04-22 Thread Jason Grout
1. Jupyter notebook and JupyterLab do indeed use completely different
message processors.
2. The execute_result vs display_data difference you see is from how you
evaluated things. execute_result basically returns the result of displaying
the last line of execution. display_data messages come from explicitly
displaying something. To see the display_data message, do something like
`display(HTML(...))`.

Thanks,

Jason


On Mon, Apr 22, 2019 at 10:30 PM Nils Bruin  wrote:

> Dear Matt,
>
> Thank you very much! That worked quite well. I'm recording some details
> below for future reference.
>
> In fact, nbconvert raised an error complaining that "metadata" was missing
> (from the content), so adding a "metadata: {}" to the content dict of the
> display_data message seems to resolve the issue.
>
> It looks like JupyterLab just swallows that error (it should probably log
> it). Somehow, JupyNotebook doesn't seem bothered so it probably uses a
> different message parser.
>
> By adding a `print(msg)` line to line 359 of
> nbconvert/preprocesors/execute.py it was easy to confirm what the message
> content was that caused the problem.
>
> Further differences: the IPython.display.HTML(...) results in a
> "execute_result" message; not a "display_data" message. I'd be happy
> returning one of those instead, but when I read the jupyter kernel protocol
> docs, I did find display_data and not execute_result. It may be a later
> addition?
>
> --
> 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/3ff07e3b-e0fc-4531-966f-14ac875d0655%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/CAPDWZHw2qvd%3DYa8QLoZfLM8J0VXu13sd4F%3DeMx%3Dh74mB0zYcAQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Re: Widgets menu

2019-04-19 Thread Jason Grout
Great! It sounds like you're seeing exactly what you should be seeing
(there is no option labeled "Save Notebook with Widgets") [1]. In order to
save your widget state to the notebook, use the "Save Notebook Widget
State". In order to delete the saved widget state from a notebook file, use
"Clear Notebook Widget State".

I do see the menu item changed name about 2 years ago [2], but it looks
like we forgot to update the documentation in one place [3] with the menu
item name change (it's correct elsewhere in that documentation page). Sorry
for the confusion. I opened
https://github.com/jupyter-widgets/ipywidgets/pull/2386 to fix this one
place in the documentation.

Thanks,

Jason

 [1] Here it is in the code:
https://github.com/jupyter-widgets/ipywidgets/blob/1df5b73812a4186504c120e327389a8084a2f226/widgetsnbextension/src/manager.js#L226-L230
[2]
https://github.com/jupyter-widgets/ipywidgets/commit/c059166725ae8b5a13f8ae58e79b6f1f3996c470
[3]
https://github.com/jupyter-widgets/ipywidgets/blob/f78dcb6474e68d7fed6202dd2d1ddd3fdecc835e/docs/source/embedding.md#rendering-interactive-widgets-on-nbviewer



On Fri, Apr 19, 2019 at 9:54 AM  wrote:

> Thanks, Jason!
>
> I am using Jupyter Notebook 5.7.8 on Windows,
> I run the command "conda install -c conda-forge ipywidgets" in the
> Anaconda Prompt
>
> I have the following packages installed:
> - ipywidgets   7.4.2  py_0
> - widgetsnbextension3.4.2 py36_1000
> - sphinx 1.8.5py36_0
> - jupyterlab0.35.4   py36hf63ae98_0
>
> But I still can only see the options "Save Notebook Widget State", "Clear
> Notebook Widget State", "Download Widget State" and "Embed Widget State"
>
> best regards,
> fabrizio
>
>
> On Thursday, April 18, 2019 at 12:09:54 PM UTC+2, fabrizi...@gmail.com
> wrote:
>>
>> Hi, I have a very simple question.
>> I cannot find the option "Save Notebook with Widgets" in the widgets menu
>> of the notebook, and I have not understood what I should do to make this
>> option available. I tried installing several packages and extensions, but
>> still it does not appear in the menu.
>> How may I make this option available?
>>
>> thanks a lot for your answer,
>> fabrizio
>>
>> --
> 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/277f35c7-76ef-4e65-b473-355f9a3c4842%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/CAPDWZHxyXzt0r%3D-tO6O4YB1EYBZpSk59sJJQKZAqYE09uD2LPw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Widgets menu

2019-04-18 Thread Jason Grout
Are you using classic notebook or JupyterLab?

Here are the installation instructions in the ipywidgets docs:
https://ipywidgets.readthedocs.io/en/stable/user_install.html

Thanks,

Jason


On Thu, Apr 18, 2019 at 10:10 AM  wrote:

> Hi, I have a very simple question.
> I cannot find the option "Save Notebook with Widgets" in the widgets menu
> of the notebook, and I have not understood what I should do to make this
> option available. I tried installing several packages and extensions, but
> still it does not appear in the menu.
> How may I make this option available?
>
> thanks a lot for your answer,
> fabrizio
>
> --
> 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/4b2e47cd-85c6-42a0-bece-05cd3cfcb6b7%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/CAPDWZHyx-p0zke8HsrCw1cdYBhEfeWwz-EdpkuN4H9_uit-t6Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] iJava - Jupyter Notebook - Displaying JFrame

2019-04-16 Thread Jason Grout
Are you using a Java kernel? I would suggest (a) listing what kernel you
are using and (b) also posting an issue on the kernel's repository.
Hopefully someone with experience using that Java kernel can help.

(I have no experience using a Java kernel, but that would be where the
question would be answered.)

Jason


On Tue, Apr 16, 2019 at 10:18 PM Dan  wrote:

> I am toying with using Jupyter Notebook to teach my high school Java class.
> My first problem is that I don't know how to get the JFrame to display in
> the Jupyter Notebook.
> I can make an instance of the JFrame and can display it as a String.
> However, I can't get it display as a graphic or as a pop-up.
> If this can't be accomplished, please let me know that as well.
> Thank you for your assistance.
>
> --
> 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/faf8b7ef-8910-4e5b-9e06-a4072f578795%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/CAPDWZHxysqTM9ky3Bsr2n%2BwG6sswFrzvXMP6Y2FqVZ%2Bw1qtUGA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Jupyter Notebook using CMD

2019-02-27 Thread Jason Grout
>From the error, it seems that it is complaining that your file is not utf-8
encoded. Is that correct?

Jason


On Wed, Feb 27, 2019 at 6:29 AM  wrote:

> I'm getting this error whenever I try to run jupyter notebook on cmd. Plz
> help
>
> 'utf-8' codec can't decode byte 0x85 in position 569273: invalid start byte
>
> --
> 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/fabc64a8-c36c-48a5-80a8-b9d72e076c4a%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/CAPDWZHyogzXp6BST20yiqW7uNqB-9FKF2cv8%2BU-OK8Qa1WLb_g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] def function

2019-02-09 Thread Jason Grout
I'd suggest going through the python tutorial:
https://docs.python.org/3/tutorial/

Jason


On Sat, Feb 9, 2019 at 2:15 AM  wrote:

> Hello all,
> please am new at python programming language, but am determined to excel
> in this language.
> so i ask that if anyone can help me to understand the full topic on def
> function statement and how to make use of them once created.
>
> --
> 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/e35bdbb0-3098-45ce-acac-a74918aea5bf%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/CAPDWZHznWSP1D%3DKPPZ5GUJLo-ChX8cLu6PnkFRQbZwbsKfirjA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Joining the group

2019-02-09 Thread Jason Grout
Great! You're in! Welcome!

If you'd like to contribute to code or docs, pick a project and see its
contributing guide, which is often a section of the documentation or a file
named something like CONTRIBUTING in the repository. You can also look for
"good first issue" tagged issues in the repos as a good first project. For
example, here are some in JupyterLab:
https://github.com/jupyterlab/jupyterlab/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22

Welcome!

Jason


On Sat, Feb 9, 2019 at 3:26 AM chinedu ozurumba <
ozurumbachinedu1...@gmail.com> wrote:

> I would like to join this noble innovative community in other to better my
> programming skills.
>
> --
> 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/CAKP8DtYSvZOF9a%3DQ7E3dnQs-2HvAhEYPsanHcNToFP9u3eVqGQ%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/CAPDWZHy96SgWE-_s0nbe9Hr7LWO5S1N%3D%3DkfPJfAD1xn3sqKS_w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Re: Working Javascript in HTML rendered notebooks

2019-01-16 Thread Jason Grout
Hooking an html page to a live kernel is exactly the sort of thing that
ThebeLab, the project Chris mentioned, does:
https://github.com/minrk/thebelab

Jason


On Tue, Jan 15, 2019 at 3:53 PM Jason  wrote:

> Thanks for the fast replies!
>
> Is is possible to hook the html to a live kernel so that the interactivity
> is maintained?
>
> If so, how would I go about that?
>
> Regards,
>
> Jason
>
> --
> 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/9fa3da98-1f0a-471b-a659-9113948b2ac0%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/CAPDWZHzBfYeX6MzRNmQMW1gUs9VmQ8rqsBJLRZDh0Z%3DpLpw63A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Showing picture depend on radio button option

2019-01-09 Thread Jason Grout
Are you using ipywidgets? If so, I would start with the
https://github.com/jupyter-widgets/ipywidgets/blob/master/docs/source/examples/Image%20Browser.ipynb
example.

Jason


On Wed, Jan 9, 2019 at 10:13 AM  wrote:

> Hi
>
> Do you know how I can show different image depend on radio button option?
> Thank you for all the answers
>
> John
>
> --
> 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/517ecb10-edd4-4285-bf65-b2c452c5eb25%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/CAPDWZHx9bPT0McrKGmoBN_AbNa%3DmEC0%2Bty93%3DPQN7TZSC67G0A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] JupyterCon Announcement

2018-12-21 Thread Jason Grout
A reminder: if you'd like to help out with the future direction and vision
of the annual Jupyter conference (aka JupyterCon), please read the blog
post at
https://blog.jupyter.org/the-future-of-jupytercon-2019-and-beyond-9e3002faaf48
and fill out the google form mentioned there today.

Thanks,

Jason


On Wed, Dec 12, 2018 at 12:53 PM  wrote:

> In case you missed the tweet, there is an important announcement about the
> direction and vision for JupyterCon 2019 and beyond that was announced
> today. Read more here:
> https://blog.jupyter.org/the-future-of-jupytercon-2019-and-beyond-9e3002faaf48
>
>
> --
> 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/183d9a4f-2d0b-426a-a434-9f0618f13ba6%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/CAPDWZHz2bwL8u0j%3DWqWYKHAijaoGGxf%3Dje0H8vUbLbwuOqb8LQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] chrome interface problems

2018-12-06 Thread Jason Grout
Ah, I think Chris is right, then. You're not in JupyterLab, that's the View
menu from the classic notebook, so you likely switched to the classic
notebook interface somehow. Perhaps you can change your alias you start
with to use `jupyter lab` instead of `jupyter notebook`?

Jason




On Thu, Dec 6, 2018 at 7:48 AM  wrote:

> that's what I thought...
> unfortunately, my View menu currently contains just 1) Toggle header 2)
> Toggle toolbar 3) Toggle linenumbers 4) Cell toolbar,
> and none of these work.
> I'm on Linux/Chrome, and the shortcuts you suggested (or some variations
> of them) dont work (just ctrl+shift+d gives me a "bookmark all tabs" ...)
>
>
>
> On Thursday, December 6, 2018 at 4:36:42 PM UTC+1, Jason Grout wrote:
>>
>> It does indeed sound like you switched to single-document mode.
>>
>> Control Shift Enter does not switch single-document mode anymore (people
>> were accidentally triggering the mode too much). Now you'll need to switch
>> out of it using the View menu, or the shortcut shown there (Shift Command D
>> or Control Shift D on Windows?).
>>
>> Thanks,
>>
>> Jason
>>
>>
>>
>> On Thu, Dec 6, 2018 at 7:13 AM  wrote:
>>
>>> using the example in
>>> https://jupyterlab.readthedocs.io/en/stable/user/interface.html, that
>>> was exactly how it appeared to me before!
>>>
>>> On Thursday, December 6, 2018 at 3:51:53 PM UTC+1, Chris Holdgraf wrote:
>>>>
>>>> Do you have an image of how the interface looked before stuff
>>>> disappeared? Or how you 'expect' it to look? Maybe that'll help debug
>>>>
>>>> On Thu, Dec 6, 2018 at 9:46 AM  wrote:
>>>>
>>>>> thank you for the idea!
>>>>> But I dont think so, I start it with the alias
>>>>> alias jup='cd /0ale;jupyter notebook --allow-root'
>>>>>
>>>>> and here's the output:
>>>>>
>>>>> [root@lambda ~]# jup
>>>>> [I 09:10:03.860 NotebookApp] JupyterLab extension loaded from 
>>>>> /usr/lib/python2.7/site-packages/jupyterlab
>>>>>
>>>>> [I 09:10:03.860 NotebookApp] JupyterLab application directory is 
>>>>> /usr/share/jupyter/lab
>>>>>
>>>>> [I 09:10:03.867 NotebookApp] Serving notebooks from local directory:/0ale
>>>>>
>>>>> [I 09:10:03.868 NotebookApp] 0 active kernels
>>>>> [I 09:10:03.868 NotebookApp] The Jupyter Notebook is running at:
>>>>> [I 09:10:03.868 NotebookApp] http://localhost:/
>>>>> [I 09:10:03.868 NotebookApp] Use Control-C to stop this server and shut
>>>>> down all kernels (twice to skip confirmation).
>>>>> [I 09:10:04.095 NotebookApp] 302 GET /tree (::1) 2.41ms
>>>>> [I 09:10:04.546 NotebookApp] 302 GET /login?next=%2Ftree (::1) 1.63ms
>>>>> [I 09:10:04.557 NotebookApp] 302 GET /login?next=%2Ftree (::1) 0.64ms
>>>>> [I 09:10:46.017 NotebookApp] Kernel started: 
>>>>> df0dcc95-8356-4250-9f56-aaee5c314055
>>>>>
>>>>> [I 09:10:46.033 NotebookApp] 302 GET 
>>>>> /notebooks/High%20Frequency/SW/DMI/vlaminck1.png
>>>>> (::1) 1.73ms
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Thursday, December 6, 2018 at 3:32:06 PM UTC+1, Chris Holdgraf
>>>>> wrote:
>>>>>>
>>>>>> Hello! I you mention a sidebar - perhaps you were running
>>>>>> "JupyterLab" before, and switched to the "Jupyter Notebook" interface
>>>>>> accidentally? Try replacing everything after the "" with "lab".
>>>>>>
>>>>>> On Thu, Dec 6, 2018 at 3:28 AM  wrote:
>>>>>>
>>>>>>> Sorry, I'm a newbie with Jupyter (on chrome, Linux),
>>>>>>> but I run into a problem:
>>>>>>> due to my inexperience, I often made this mistake: after inserting a
>>>>>>> new line (above or below: A or B) I start writing immediately, believing
>>>>>>> that I'm already inside the cell, and not still in (I think it's called)
>>>>>>> command mode...
>>>>>>> Needless to say, doing this I inserted a lot of commands without
>>>>>>> intention.
>>>>>>> Last time it happened, I noticed that 1) my notebooks are not tabbed
>>>>>>> anymore, and 2) my left sidebar (files, running, comm

Re: [jupyter] chrome interface problems

2018-12-06 Thread Jason Grout
It does indeed sound like you switched to single-document mode.

Control Shift Enter does not switch single-document mode anymore (people
were accidentally triggering the mode too much). Now you'll need to switch
out of it using the View menu, or the shortcut shown there (Shift Command D
or Control Shift D on Windows?).

Thanks,

Jason



On Thu, Dec 6, 2018 at 7:13 AM  wrote:

> using the example in
> https://jupyterlab.readthedocs.io/en/stable/user/interface.html, that was
> exactly how it appeared to me before!
>
> On Thursday, December 6, 2018 at 3:51:53 PM UTC+1, Chris Holdgraf wrote:
>>
>> Do you have an image of how the interface looked before stuff
>> disappeared? Or how you 'expect' it to look? Maybe that'll help debug
>>
>> On Thu, Dec 6, 2018 at 9:46 AM  wrote:
>>
>>> thank you for the idea!
>>> But I dont think so, I start it with the alias
>>> alias jup='cd /0ale;jupyter notebook --allow-root'
>>>
>>> and here's the output:
>>>
>>> [root@lambda ~]# jup
>>> [I 09:10:03.860 NotebookApp] JupyterLab extension loaded from 
>>> /usr/lib/python2.7/site-packages/jupyterlab
>>>
>>> [I 09:10:03.860 NotebookApp] JupyterLab application directory is 
>>> /usr/share/jupyter/lab
>>>
>>> [I 09:10:03.867 NotebookApp] Serving notebooks from local directory:/0ale
>>>
>>> [I 09:10:03.868 NotebookApp] 0 active kernels
>>> [I 09:10:03.868 NotebookApp] The Jupyter Notebook is running at:
>>> [I 09:10:03.868 NotebookApp] http://localhost:/
>>> [I 09:10:03.868 NotebookApp] Use Control-C to stop this server and shut
>>> down all kernels (twice to skip confirmation).
>>> [I 09:10:04.095 NotebookApp] 302 GET /tree (::1) 2.41ms
>>> [I 09:10:04.546 NotebookApp] 302 GET /login?next=%2Ftree (::1) 1.63ms
>>> [I 09:10:04.557 NotebookApp] 302 GET /login?next=%2Ftree (::1) 0.64ms
>>> [I 09:10:46.017 NotebookApp] Kernel started: 
>>> df0dcc95-8356-4250-9f56-aaee5c314055
>>>
>>> [I 09:10:46.033 NotebookApp] 302 GET 
>>> /notebooks/High%20Frequency/SW/DMI/vlaminck1.png
>>> (::1) 1.73ms
>>>
>>>
>>>
>>>
>>> On Thursday, December 6, 2018 at 3:32:06 PM UTC+1, Chris Holdgraf wrote:

 Hello! I you mention a sidebar - perhaps you were running "JupyterLab"
 before, and switched to the "Jupyter Notebook" interface accidentally? Try
 replacing everything after the "" with "lab".

 On Thu, Dec 6, 2018 at 3:28 AM  wrote:

> Sorry, I'm a newbie with Jupyter (on chrome, Linux),
> but I run into a problem:
> due to my inexperience, I often made this mistake: after inserting a
> new line (above or below: A or B) I start writing immediately, believing
> that I'm already inside the cell, and not still in (I think it's called)
> command mode...
> Needless to say, doing this I inserted a lot of commands without
> intention.
> Last time it happened, I noticed that 1) my notebooks are not tabbed
> anymore, and 2) my left sidebar (files, running, commands...) disappeared.
> I thought I entered without wanting into single document mode, but
> ctrl-shift-enter does nothing.
>
> Can you help me please?
>
> Alessandro
>
>
>
> --
> 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/aefead89-720a-4a63-84d4-7ff6ed182f7f%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+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/7c0daa86-ee9a-4b6b-a5ba-4e9467492d18%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/da5ff3f6-b57c-4907-b383-def135c2e495%40googlegroups.com
> 

Re: [jupyter] Re: Jupyter support in Visual Studio Code

2018-11-09 Thread Jason Grout
This looks great! Thanks for posting about this, and for the work on it!
I'm excited to try it out.

Jason


On Fri, Nov 9, 2018 at 3:59 PM Graham Wheeler  wrote:

> More detailed blog post:
> https://blogs.msdn.microsoft.com/pythonengineering/2018/11/08/data-science-with-python-in-visual-studio-code/
>
>
> On Thursday, November 8, 2018 at 3:12:09 PM UTC-8, Graham Wheeler wrote:
>>
>> Hi all
>>
>> Just want to let everyone know that the latest release of the Python
>> extension for Visual Studio Code now includes an IPython REPL and the
>> ability to import and export .ipynb files. We're very excited by this
>> update and expect to add a lot more Jupyter-based goodness in the future!
>>
>>
>> https://blogs.msdn.microsoft.com/pythonengineering/2018/11/08/python-in-visual-studio-code-october-2018-release/
>>
>> Thanks
>> Graham
>>
> --
> 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/16f66046-6eab-49a6-8c02-0f032cba399b%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/CAPDWZHxzUZ2tFsgF%2BcHBZgo0nqNkMDTG3%3D_VmEAkxtSSKKgZAQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Disappearing Extensions Pane

2018-10-02 Thread Jason Grout
Can you clarify:

1. What extension pane are you talking about? The JupyterLab extension
manager? A custom classic Jupyter Notebook extension? An extension manager
provided by Anaconda?
2. What versions of the relevant software we are talking about (notebook,
JupyterLab, Anaconda, etc.)

Thanks,

Jason

On Tue, Oct 2, 2018 at 6:13 AM Gideon Simpson 
wrote:

> I recently updated my Jupiter installation via anaconda, and now my
> extensions pane has disappeared.  Any suggestions on how to get it back?
>
> --
> 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/7b85ad1c-c311-4d3b-a9d9-aeb38824ef70%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/CAPDWZHyOWMxB_4Q%2BuD_XjuHY50H7ZqTx_n4xojo-j2cA4UUcbQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] [ANN] Release of IPython 7.0 – you've awaited long enough

2018-09-28 Thread Jason Grout
Congratulations. I can't wait to play with the async/await stuff. It looks
really great!

Jason

On Thu, Sep 27, 2018 at 10:43 AM Matthias Bussonnier <
bussonniermatth...@gmail.com> wrote:

> Hi all,
>
> It is my pleasure to announce the release of IPython 7.0 and IPykernel 5.0.
> The conda forge builder are working hard, and until things are published
> on conda forge, you can try it using pip.
>
>  $ pip install ipython ipykernel --upgrade.
>
> (Some Conda forge recipe are failing we'd appreciate help debugging, and
> updating BTW).
>
> You can read more on the announce blog post that describe the new
> async-await top level feature:
>
> https://blog.jupyter.org/ipython-7-0-async-repl-a35ce050f7f7
>
> We've also enabling anyone to tag/untag and close any issue on the IPython
> repository to foster participation and making it easier to find how to
> help. See this pull request[1] and look in the contributing.md TL;DR: you
> can mention a bot, and the bot will tag/close issue for you for you. E.g:
>
>   @meeseeksdev tag windows, async/await
>
> And both tag will be applied.
>
> With this and the new release, there will likely be a number of tiny bugs
> and pull-request you can help with during hacktoberfest[2], like updating
> IPython.org, wikipedia with the latest release number and new features...
> etc.
>
> Much love from the IPython team, and enjoy this new release. Let us know
> if there are any questions or concerns.
> --
> Matthias
>
>
>
>
>
> 1: https://github.com/ipython/ipython/pull/11326
> 2: https://hacktoberfest.digitalocean.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/CANJQusWTqFd1oU%2BpTnMxqVhv0%2BjW%2BV6K-P6PUwB5fn_UdP-4Rg%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/CAPDWZHx-cHw6ZMH406O%3DPS-dmjRG_i%3D%2BeWfpV9GP2FVQ8QNFYg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Re: Jupyter lab Terminal can't copy and paste!

2018-09-21 Thread Jason Grout
You can also try using the keyboard shortcuts documented at
https://github.com/jupyterlab/jupyterlab/issues/1146#issuecomment-394686488
(which I think are similar to the ones documented for Visual Studio Code at
https://code.visualstudio.com/docs/editor/integrated-terminal#_copy-paste).
Apparently it depends (currently) on the platform you are running the
jupyter lab application on.

Jason


On Fri, Sep 21, 2018 at 7:32 PM 'Tyler Erickson' via Project Jupyter <
jupyter@googlegroups.com> wrote:

> I don't have a windows machine to test this, but try clicking on the
> terminal and then use the following to open up a context menu for
> copy/pasting:
>
> Shift+F10
>
> source: https://www-archive.mozilla.org/docs/end-user/moz_shortcuts.html
>
> - Tyler
>
> On Thursday, September 20, 2018 at 11:05:04 PM UTC-7, 铁龙国 wrote:
>>
>> My operating system is  windows and my browse is firfox .
>>
>>
>>
>> 'Tyler Erickson' via Project Jupyter 
>> 于2018年9月20日周四 上午6:33写道:
>>
>>> The copy and paste keyboard strokes are different depending on your
>>> operating system.
>>>
>>> What operating system / browser are you using?
>>>
>>>
>>> On Tuesday, September 18, 2018 at 3:11:16 AM UTC-7, 铁龙国 wrote:

 Jupyter lab Terminal can't copy and paste!

>>> --
>>> 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/493eb17e-ec01-4e7b-b03d-325e036be092%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/d3082bb1-2d94-4189-b66f-d0de3e8ecd09%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/CAPDWZHxdZ818pXWDfMujq7K%3D9_0aBa9nZGSF01D9wHupFZ7-VA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] commenting on someone else's Jupyter Notebook

2018-09-21 Thread Jason Grout
No, there's no inherent way to identify the author of a markdown cell in a
notebook (the notebook doesn't even understand the concept of multiple
users).

Thanks,

Jason


On Fri, Sep 21, 2018 at 1:42 AM Colin Rowat  wrote:

> I am beginning to use Jupyter Notebook.
>
>
> I want students to comment on each other's Notebooks as part of a
> validation exercise.
>
>
> I know how to insert markdown, etc., but have not found any 'automatic'
> way to identify a comment's author. For example, comments that I insert in
> an MS Word document are prefaced with my initials.
>
>
> Does anyone know if there is such a feature, or whether an author needs to
> manually enter their identify?
>
>
> Thank you,
>
>
> Colin
>
>
> p.s. I've also posted this question at stackoverflow, at
> https://bit.ly/2QNZYeg
>
> --
> 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/5f1e4454-6508-426f-ae26-336c1d2ccc89%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/CAPDWZHyy%3Dni9BR0uPPE0iSFHU-0OEK-zbzNO1s-uQkURZBOQJw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Re: Jupyter lab Terminal can't copy and paste!

2018-09-20 Thread Jason Grout
Thanks for the very comprehensive answer, William!

There are a few jlab issues asking about this (including
https://github.com/jupyterlab/jupyterlab/issues/4143,
https://github.com/jupyterlab/jupyterlab/issues/3011,
https://github.com/jupyterlab/jupyterlab/issues/1204,
https://github.com/jupyterlab/jupyterlab/issues/1146#issuecomment-394686488).
I'm going to point at least #1146 to your comment.

Jason


On Thu, Sep 20, 2018 at 1:24 PM William Stein  wrote:

> Hi,
>
> Jupyter (and Jupyter Lab) uses xterm.js to implement their terminal:
> https://github.com/xtermjs/xterm.js
> I've been looking into xterm.js a lot this week since I'm currently
> rewriting CoCalc to xterm.js instead of term.js.
>
> (NOTE term.js -- see https://github.com/chjj/term.js --  is Fabrice
> Bellard's terminal in Javascript so he could use his emscriptem linux
> in a browser, and xterm.js is a fork of term.js with all the code
> refactored and rewritten in Typescript, and with an additional Canvas
> renderer, a plugin system, etc., etc. I hadn't looked at xterm.js much
> and have been developing term.js a little over the last 5 years in
> parallel.)
>
> As far as I can tell, xterm.js is pretty amazing.  However,  I just
> searched through the xterm.js source code
> for a while, and it looks to me like "the copy/paste via the keyboard
> terminal problem" is not really fully solved in xterm.js itself.
> There's also no issue in the xterm.js issue tracker about implementing
> copy so maybe I'm missing something.  There's discussion claiming this
> is not a problem at all: "Copy & paste from and to xterm should just
> work fine without any extra code using CTRL+C and CTRL+V keyboard
> shortcuts."
> (see
> https://github.com/xtermjs/xterm.js/issues/1411#issuecomment-383916953)
>
> This is the sort of thing you would think if you don't do cross
> platform testing... e.g., you only use a mac, but is a big  problem
> for people using Linux (me) or maybe Windows.   Anyway, it looks to me
> like the only way copy can happen is via the code here:
>
> https://github.com/xtermjs/xterm.js/blob/master/src/Terminal.ts#L546
>
> This binds to the copy event I think of the hidden textarea.  So copy
> (and paste) via *right click and a menu* work fine in Windows and
> Linux with xterm.js.  However, copy via "Control+C" doesn't seem to
> trigger copy on the terminal, since that gets interpreted elsewhere,
> and results in an interrupt signal in bash.
>
> It's an interesting  UX problem how to deal with this, and most
> terminals on Windows/Linux have their own solution.   For example, the
> browser-based one in ChromeOS uses Control+Shift+C (and
> Control+Shift+V) for copy/paste, and also I think *just* highlighting
> causes the copy to happen in ChromeOS, even if you don't hit keys.  I
> think this control+shift+v choice is pretty common in Linux. VSCode
> also integrates xterm.js, and they
> have solved this problem as explained here:
>
>
> https://code.visualstudio.com/docs/editor/integrated-terminal#_copy-paste
>
> where they have control+shift+c on linux, control+c on Windows, and
> Cmd+c on OS X.  I didn't look into the vscode/xterm.js integration
> code to see how they did this (in electron/chromium).
>
> In CoCalc, with term.js, I took a different approach.  I made it so
> Control+C behaves as usual (sending an interrupt, say) if no text is
> selected.  If you select text and then hit Control+C then it does
> copy.   I've been using this for years, and I think it makes a ton of
> sense.  On the other hand, it's just a UX solution I completely made
> up, and I've never seen it anywhere else.  Our users don't complain
> about it -- they expect control+c to copy after all when they are
> doing a copy, and they expect it to interrupt when they are trying to
> stop something, and just never think about it.  Either I implement
> this same thing somehow for xterm.js, or I have to just stick with old
> term.js (which I really don't want to do).
>
>  -- William
>
> On Wed, Sep 19, 2018 at 3:33 PM, 'Tyler Erickson' via Project Jupyter
>  wrote:
> > The copy and paste keyboard strokes are different depending on your
> > operating system.
> >
> > What operating system / browser are you using?
> >
> >
> > On Tuesday, September 18, 2018 at 3:11:16 AM UTC-7, 铁龙国 wrote:
> >>
> >> Jupyter lab Terminal can't copy and paste!
> >
> > --
> > 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/493eb17e-ec01-4e7b-b03d-325e036be092%40googlegroups.com
> .
> >
> > For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> William (http://wstein.org)
>
> --
> You received this message because you are subscribed to the 

Re: [jupyter] JupyterLab Terminal

2018-09-12 Thread Jason Grout
It opens a new interactive shell on your computer, as if you had opened a
new terminal on your computer. When you open a new terminal on your
desktop, does conda work? What operating system are you using?

See also https://github.com/jupyterlab/jupyterlab/issues/3094

Jason


On Tue, Sep 11, 2018, 20:51  wrote:

> Hi All-
>
> I guess this is a newbie question, but I can't find it in the docs.  When
> I start a terminal in JupyterLab I get a bash shell, but I can't figure out
> where it is running.
>
> For example, I type:
>
> $conda info
>
>
> and the reply is:
>
> bash conda:command not found.
>
>
> Considering the whole installation was done with conda into an environment
> created in conda this doesn't make sense to me.
>
> I expected a shell on the environment/host that's running JupyterLab so am
> confused.
>
> Would someone please be so kind as to enlighten me?
>
> Thanks,
> David
>
> --
> 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/fe268dec-2fe2-4908-8fd7-b48471511251%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/CAPDWZHzROL_Be2QB_r%3DSC%3DjbCVO8fo2YGc1wsWUW7EdD2T9%3DrQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Jupyter widget that modifies notebook?

2018-09-10 Thread Jason Grout
That or something similar may work as a hack for the classic notebook, but
would be much harder to impossible to get to work in JupyterLab, for
example. In general, the widgets do not have access to the notebook they
are running in.

Jason


On Mon, Sep 10, 2018 at 10:42 AM Titus Barik  wrote:

> Hi all,
>
> Apologies for the newbie question.
>
> How does one design a Jupyter widget (DOMWidget) that can modify the
> notebook itself? For example, given a sample DOMWidget, let's say I want a
> button that upon clicking inserts a new cell:
>
> define('hello', ["@jupyter-widgets/base"], function(widgets) {
>
> var HelloView = widgets.DOMWidgetView.extend({
>
> // Render the view.
> render: function() {
> this.el = /* creates some sort of HTML button */;
> },
> });
>
> return {
> HelloView: HelloView
> };
> });
>
> Is the right thing to do to modify render, render an HTML button, and then
> have its onclick event perform something like:
>
> IPython.notebook.insert_cell_below('code').set_text('some text');
>
> Or is there some better/more appropriate strategy?
>
> 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/1536601350.1530800.1503185984.1A58B039%40webmail.messagingengine.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/CAPDWZHzrE2JdD_DeLbR2RPpYfHJ6Bex-6zrM15zzX%2BM%3DD%2Bfm3A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Re: What other language kernels (other than Python) support jupyter widgets?

2018-09-06 Thread Jason Grout
1. There is a PR open for making the core widget attributes a JSON
document, like Sylvain mentioned:
https://github.com/jupyter-widgets/ipywidgets/pull/2193. It needs review
and merging. You're right that the attributes keep being added to, but we
also try hard to signal the spec changes in the version numbers (for
example, adding a new widget attribute that is backwards compatible is a
minor version bump in ipywidgets).
2. I believe interact.jl in Julia implements their own widget system, not
the Jupyter widgets system. Other than that, the implementations listed
above are the current widget implementations I know about (C++, Juniper R
kernel (using xwidgets), BeakerX)

Jason


On Thu, Sep 6, 2018 at 3:05 AM Tony Hirst  wrote:

> The JuniperKernel (an R kernel alternative to IRkernel) also looks like it
> runs xwidgets: https://github.com/JuniperKernel/JuniperKernel
>
> --tony
>
>
> On Monday, 3 September 2018 23:01:35 UTC+1, Sylvain Corlay wrote:
>>
>> Hi Christian,
>>
>> (Responding on mailing list for the record even though we also connected
>> through other channels).
>>
>> In terms of language backends for Jupyter widgets, I should mention
>>
>>  - *xwidgets*, the C++ implementation of the Jupyter widgets protocol,
>> which includes all the controls from ipywidgets. Backends for bqplot
>> (xplot), ipyleaflet (xleaflet) and pythreejs (xthreejs) were built upon
>> xwidgets. These widget libraries can be used with the C++ kernel.
>>
>>Here are a few binder links for trying out these libraries:
>>
>>xeus-cling:
>> https://mybinder.org/v2/gh/QuantStack/xeus-cling/stable?filepath=notebooks/xcpp.ipynb
>> (general demo of xeus-cling)
>>xwidgets:
>> https://mybinder.org/v2/gh/QuantStack/xwidgets/stable?filepath=notebooks/xwidgets.ipynb
>>xleaflet:
>> https://mybinder.org/v2/gh/QuantStack/xleaflet/stable?filepath=notebooks
>>xplot:
>> https://mybinder.org/v2/gh/QuantStack/xplot/stable?filepath=notebooks
>>
>>  - I should also mention the *beakerx*
>>  project, which includes kernels
>> and widget backends for multiple languages of the JVM world.
>>
>>  - The *Interact.jl*  project
>> enables a lot of the controls of the base ipywidgets package for the Julia
>> programming language.
>>
>> Best,
>>
>> Sylvain
>>
>> On Monday, September 3, 2018 at 9:42:44 PM UTC+2, Christian Schafmeister
>> wrote:
>>>
>>>
>>> We've ported several jupyter widgets to Common Lisp so that we can use
>>> jupyter widgets from our kernel written in Common Lisp.
>>> This has involved translating about 15,000 lines of Python into Common
>>> Lisp - and dealing with translating traitlets and multithreaded code.
>>>
>>> It's going to be a maintenance burden for us - but we have the basic
>>> jupyter widgets, nglview, and bqplot widgets ported.
>>>
>>> I haven't been able to find any but are there any other languages that
>>> have made this investment? Julia? R? Ruby?
>>>
>>> If so - I'm curious to see how you approached it.
>>>
>>> Best,
>>>
>>> Christian Schafmeister,
>>> Professor, Chemistry Department
>>> Temple University.
>>>
>> --
> 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/d236bdf1-8fa1-4381-875e-b63791a60057%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/CAPDWZHz612wqLFbBpenbLuFw6X8%2BkuNfrsimhJa5J%3Dh8fpUEgg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Free JupyterCon "Open Studio" sprint day, Sat Aug 25, NYC

2018-08-06 Thread Jason Grout
Hi everyone,

If you are in New York Saturday, August 25, please join us for the *free*
JupyterCon Community Sprint from 9:00am to 5:00pm *at the Hilton Midtown
(Murray Hill)*, sponsored by Bloomberg. All community members, *whether or
not you plan to attend the main JupyterCon conference, are invited*. You do
not have to register for the JupyterCon conference to register for this
sprint.


*Register for the sprint at
https://www.eventbrite.com/e/jupytercon-community-sprint-day-tickets-48679310127
*

During this hands-on "Open Studio" day, collaborate with other community
members and leaders to work on a Jupyter-related project, share insights
and experience with others, design or implement that feature you've always
wanted, fix bugs, write documentation, test software, dive deep into the
internals of a project, get started on a new project, or just learn how to
get started contributing to open source.

Attendees of all experience levels are welcome. There will be a short
introduction to the GitHub workflow for new contributors. Laptops are
recommended.

This "open studio" day will stay fairly informal. There will be a short
introductory session to orient attendees and allow people to speak on
projects and areas they’d like to focus on. The majority of the day will be
devoted to small groups working together. You are free to change groups any
time.
Thanks,

Jason

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


Re: [jupyter] Re: execute cell using Cmd Enter (Ctrl Enter on Windows)

2018-08-03 Thread Jason Grout
I would suggest using the Settings menu entry to change the console execute
shortcut to enter, then modify the resulting customized shortcuts however
you like.

Jason


On Fri, Aug 3, 2018 at 6:06 PM vnijs  wrote:

> The easiest way to do this seems to be the shortcut ui extension for
> Jupyter. See link below
>
> https://github.com/jupyterlab/jupyterlab-shortcutui
>
>
>
> On Wednesday, June 20, 2018 at 3:42:44 PM UTC-7, vnijs wrote:
>>
>> Just started to use Jupyter lab. It is a great tool but the Shift
>> Enter keyboard shortcut to execute code in a cell was unexpected. I'm so
>> used to Cmd Enter (mac) or Ctrl Enter (windows) that I'd like to change
>> this shortcut. This looks straight forward with "User overrides" but for
>> some reason it doesn't take. See code I added:
>>
>> {
>> "console:run-forced": {
>>   "command": "console:run-forced",
>>   "keys": [
>> "Cmd Enter"
>>   ],
>>   "selector": ".jp-CodeConsole-promptCell"
>> }
>> }
>>
>> FYI I'm using Version 0.32.1 on Ubuntu 18.04
>>
> --
> 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/8337d911-cb73-47cd-b463-0818560f8631%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/CAPDWZHxEjouKKsT7%2BF274PrzTR58k1mCzWH%2BfJWQygaupdjSDw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] [ANN] Jupyter at Research Facilities mailing list/google group

2018-05-28 Thread Jason Grout
Hi everyone,

We're starting a new mailing list/google group focused on discussion around
using Jupyter at research facilities (aka "user facilities"), such as X-ray
light sources, observatories, supercomputing centers, etc..

https://groups.google.com/forum/#!forum/jupyter-research-facilities

Here is our focus statement for this new group:

There are a wide range of research facilities (such as X-ray light sources,
astronomical observatories, genetics centers, etc.) that are users or
potential users of the Jupyter ecosystem to support their research. Such
facilities have some common needs in the Jupyter ecosystem:

1. Large data sets that are expensive to produce and prohibitive to
transport need to be stored and analyzed for long periods of time. Often
these data sets must be analyzed remotely.

2. Large computational resources (such as clusters or supercomputers) need
to be scheduled and shared among facility users and accessed remotely.

3. Remote teams need to work in collaboration with facility personnel or
on-site team members to collect and analyze data. This includes both
interactive collaboration as the data is being collected and analysis long
after the data has been collected.

4. Reproducible computational results, including narrative, data, code, and
output, need to be stored and accessible remotely for potentially long
periods of time.

5. Results need to be converted to formats suitable for publication and
sharing with the broader community.

In this group, we welcome questions and discussions relating to the use of
Jupyter at research facilities to address these and other needs.

Thanks,

Jason

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


Re: [jupyter] Re: jupyterlab version of vpython

2018-05-22 Thread Jason Grout
Right, JLab uses it's own extension system, and webpack to bundle
javascript up, and does not use require or the nbextension system.

I think maybe you can do something like this for the first steps:

1. Write an npm package containing the vpython javascript. JLab extensions
are fundamentally npm packages containing some extra metadata.
2. Write a very simple extension (perhaps like the beginning steps of the
xkcd extension?) whose sole purpose is to get the js on the page. You do
this by importing the vpython js modules into your main extension file that
JupyterLab loads.
3. Decide how vpython is going to display. It seems that there are lots of
parallels with ipywidgets and vpython, so you might look to ipywidgets for
inspiration. For example, we now display using the ipython display system
and a custom widget mimetype and custom mimetype renderer.

Jason


On Tue, May 22, 2018 at 7:10 AM Steve Spicklemire <
stevespicklem...@gmail.com> wrote:

> My understanding is that webpack is used, but that’s based on the
> tutorials I read. Have I got that right?
>
> thanks,
> -steve
>
> > On May 22, 2018, at 10:02 AM, John  wrote:
> >
> > For classic jupyter notebook, vpython is copying javascript files to the
> nbextensions directory by calling the routine
> >
> > notebook.nbextensions.install_nbextension()
> >
> > from the vpython package directory.
> (site-packages/vpython/vpython_libraries/) . These javascript files are
> loaded into the notebook from the nbextensions directory using ipython
> display method along with requirejs.
> >
> >
> display(Javascript("""require(["nbextensions/vpython_libraries/glowcomm"],
> function(){console.log("GLOWCOMM LOADED");})"""))
> > This works in classic jupyter notebook but not in Jupyterlab . Does
> jupyterlab use the nbextensions directory or does it is place javascript
> fles in a different directory. What should be used in place of requirejs to
> load javascript files?
> >
> >
> >
> >
> > On Tuesday, May 22, 2018 at 6:11:57 AM UTC-7, Steve Spicklemire wrote:
> > Hi Jupyter folks,
> >
> > I'm hoping to carve out some time in the next few weeks to make some
> serious progress on a jupyterlab compatible version of vpython (
> http://vpython.org).
> >
> > The jupyter notebook interaction of vpython involves opening a
> communication channel (ipykernel.comm.Comm) between the kernel process and
> a javascript program running in the browser handling the display. The
> javascript code is currently embedded in the python package
> (site-packages/vpython/vpython_libraries/) and transferred into
> nbextensions on demand and then pulled into the notebook using
> ipython.display.display.
> >
> > It has been suggested that this whole scheme needs to be redesigned
> under jupyterlab. I'm hoping to begin that design process now, but being
> new to jupyterlab, I'm not really sure where to begin. I did read through
> the tutorials for jupyterlab extensions, but I'm not clear what sort of
> extension would be needed here since it doesn't seem to exactly match the
> use cases described in the exam extensions. I'd love some input from any
> jupyterlab veterans about how we should go about planning/building this.
> Ideally users would be able to take code that works in the jupyter
> notebook, and run it unchanged in jupyterlab.
> >
> > something like:
> >
> > ---
> > from vpython import *
> >
> > s=sphere()
> >
> > 
> >
> > without needing any magics or other python code if possible.
> >
> > thanks,
> > -steve
> >
> >
> > --
> > 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/279ebceb-50f6-49fb-aae2-f3e74cf04009%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/6BE31AFE-8531-4261-B191-91E989974474%40gmail.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/CAPDWZHx%2BQ7SBg9DmnNygf0j_9dXkj6MWdVN8-ieKi0GKj%2Bfkcg%40mail.gmail.com.

Re: [jupyter] setting focus on a widget

2018-05-11 Thread Jason Grout
Clarifying to make sure we're talking about the same thing: No, there's not
a way to change the frontend focus from python in the core ipywidgets
system.

On Fri, May 11, 2018 at 9:55 AM Jason Grout <ja...@jasongrout.org> wrote:

> No, there's not a way to change the frontend focus from python.
>
> Jason
>
>
> On Fri, May 11, 2018 at 9:45 AM Randy Heiland <randy.heil...@gmail.com>
> wrote:
>
>> Is there a way to programmatically give a widget focus? I have a
>> multi-tabbed UI and would like to have the slider on an 'interactive'
>> widget have focus when I select the tab in which it lives (so the user can
>> immediately press keys to step the slider).
>>
>> thanks, Randy
>>
>> --
>> 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/ca466ba6-b5d5-4460-946c-e8ed8b4b5538%40googlegroups.com
>> <https://groups.google.com/d/msgid/jupyter/ca466ba6-b5d5-4460-946c-e8ed8b4b5538%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> 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/CAPDWZHyu9dBQqmXDwi7CHJ02OJOK1knHZtM84nrYzEBktSB-1g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] setting focus on a widget

2018-05-11 Thread Jason Grout
No, there's not a way to change the frontend focus from python.

Jason


On Fri, May 11, 2018 at 9:45 AM Randy Heiland 
wrote:

> Is there a way to programmatically give a widget focus? I have a
> multi-tabbed UI and would like to have the slider on an 'interactive'
> widget have focus when I select the tab in which it lives (so the user can
> immediately press keys to step the slider).
>
> thanks, Randy
>
> --
> 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/ca466ba6-b5d5-4460-946c-e8ed8b4b5538%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/CAPDWZHyPAUw5RtU%2BHgidoHNB2Se_3UTg4LT3Bjq%3DiHKmVkq04w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Use of Jupyter Notebook in a commercial product

2018-04-21 Thread Jason Grout
Have you seen the trademark guidelines in our governance repo?
https://github.com/jupyter/governance/blob/master/trademarks.md

Do those guidelines answer your question? If not, let us know so we can
clarify it.

(We're happy to have further conversation, but I'm really curious first of
all if our existing documentation is sufficient to answer your questions,
so we can know if we need to improve it.)

Jason


On Sat, Apr 21, 2018 at 6:13 AM Amit Rathi  wrote:

> Hello Jupyter Team,
> I have a question around usage of Jupyter Notebook source for the product
> I'm planning to build. Briefly put, I'm building a collaborative
> computational notebook platform for managing DevOps runbooks. I forked off
> of the Jupyter Notebook repo & building things I need on the top. I
> understand that the Jupyter comes with BSD-3 clause which prohibits anyone
> from using name of the project to promote derived products without
> permission.
>
> I want to abide by all the licensing terms & have couple of questions for
> clarification:
>
>- Can I keep the Jupyter logo that's on the top left corner of the
>Notebook pages or would you want me to remove that?
>- Can I mention on my website that it's a Jupyter Notebook
>environment? Similar to how Google Colaboratory project mentions it.
>
>
> Let me know if there is anything else to be aware of. And thank you for an
> amazing tool.
>
> Best,
> Amit
>
> --
> 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/CAAOh2M6RH4%2BUFWmUtAzH4u-hpgC7JVsU-rdoa98FTWkZ%2BM7U9A%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/CAPDWZHxhnHpVmy1k9oQWjDKxxqfA3PAjSOBbkKO3PEObF0fOVw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Jupyter, Mathematica, and the future of the research paper

2018-04-14 Thread Jason Grout
Here is a very interesting article I saw mentioned on HackerNews about why
someone switched from Mathematica to Jupyter:
https://paulromer.net/jupyter-mathematica-and-the-future-of-the-research-paper/

Some quotes:

"The [recent Atlantic] article asks why Jupyter succeed where Mathematica
failed. The obvious contrast is between the proprietary world of Wolfram
and the open-source model of the software ecosystem that Jupyter mobilizes."

...

"In the larger contest between open and proprietary models, Mathematica
versus Jupyter would be a draw if the only concern were their technical
accomplishments. In the 1990s, Mathematica opened up an undeniable
lead. Now, Jupyter is the unambiguous technical leader.

"The tie-breaker is social, not technical. The more I learn about the open
source community, the more I trust its members. The more I learn about
proprietary software, the more I worry that objective truth might perish
from the earth."


Thanks,

Jason

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


Re: [jupyter] github trending jupyter notebooks

2018-04-13 Thread Jason Grout
To be more specific (it took me a minute to figure out what was wrong),
those top trending Jupyter notebook repos actually didn't have any Jupyter
notebooks in them.

Jason


On Fri, Apr 13, 2018 at 6:50 AM Denis Akhiyarov 
wrote:

> FYI, the github trending for Jupyter Notebooks is broken completely!
>
> I appreciate if someone from Jupyter team contacts GitHub team to fix this:
>
> https://github.com/trending/jupyter-notebook
>
> This is the way I track latest machine learning books and resources.
>
> For example Python trending works OK:
>
> https://github.com/trending/python
>
>
>
> 
>
> --
> 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/016fce58-71dd-494e-8c0a-c0141c44a6ce%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/CAPDWZHyzzFBh9SwfYFxp3Fw0OSVTosXKgcLcs0co4ca3d0QaEw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] programmatic testing of widgets?

2018-04-02 Thread Jason Grout
There is some automated testing of Jupyter widgets in the widgets repo
(look for the test directories), but it is mainly concerned with the python
side, or with the library functions for developers. We don't have really
good tests for user interaction, nor end-to-end tests of the entire system.
Now that headless Chrome/Firefox is out, that would be a really good
project for someone to take up.

Thanks,

Jason


On Mon, Apr 2, 2018 at 7:55 AM Randy Heiland 
wrote:

> Has anyone done any programmatic/automated testing of Jupyter widgets?
> E.g., test if numeric input widgets got a valid number?
>
> thanks, Randy
>
> --
> 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/c723f828-7f78-4ef8-818e-2b5fdeb53eb3%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/CAPDWZHwBodYjQ9kSv7PAT1qyih7rPoN1zZAeax0%3DpFfDtOtaLg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Interested in contributing: Terminal option for "Option as Meta Key"

2018-03-29 Thread Jason Grout
Thanks for pinging here. I also added a note on the PR.

Jason


On Thu, Mar 29, 2018 at 10:48 AM David Little 
wrote:

> Hi there, I've just been looking into JupyterLab and it looks great!
> Amazing work!!
>
> I'm interested in contributing to the project in a small way: making it
> possible to use the Option Key (on a mac keyboard) as the Meta Key in the
> terminal package. I opened an issue
>  about this a few
> days ago. Looks to me like it should be pretty simple to implement, as the
> underlying library for the terminal (xterm.js) has the ability to set this
> option.
>
> I think I understand how to change the terminal package so that there is a
> way for the user to set this option: it looks like it would involve
> creating a new method in terminal package to change this option for
> `this._term`, and then, following the example of creating increase-font
> commands, creating a command for calling this method within the
> terminal-extension package.
>
> Just wanted to check here, based on the description in the community
> guidelines, to see if a pull request with this change would be of interest
> before I go and try to implement it.
>
> --
> 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/10d14769-07fa-4a7c-a57d-898711c1770c%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/CAPDWZHybE4KufeyQ-GfGdDwbotvAxCmwXgpUfB9vqQNiDwyTAQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] How would you build a dashboard in a Jupyter notebook?

2018-03-28 Thread Jason Grout
Christian,

Great questions! Here are a couple of thoughts:

1. The https://github.com/jupyter/dashboards project is, I think,
essentially unmaintained at this point.

2. However, there are lots of people excited about doing dashboards and
working on experiments for doing dashboards using ipywidgets. See
https://github.com/jupyter-widgets/ipywidgets/issues/2018 for some notes on
recent discussion and links to some experimental projects.

3. Another broader discussion about dashboards is happening at
https://github.com/jupyterlab/jupyterlab/issues/1640

We welcome any input, and especially helping push forward in some of these
experiments.

Thanks,

Jason


On Wed, Mar 28, 2018 at 6:25 AM Christian Schafmeister <
drschafmeis...@gmail.com> wrote:

> Thank you very much for the clarification!
> I very much appreciate it.
>
>
> On Mar 28, 2018, at 4:46 AM, Thomas Kluyver  wrote:
>
> For the record, your messages were in the Google Groups spam filter (which
> seems to be problematic lately, because a load of messages got caught in
> it). After a day or so, we get an email telling us that some messages were
> filtered, and we can go and approve them.
>
> On 27 March 2018 at 20:10, Christian Schafmeister 
> wrote:
>
>> I was posting replies under the wrong account (sigh)
>>
>> I discovered Jupyter dashboards while watching videos on this last night
>> - thank you.
>>
>>
>>
>> On Tuesday, March 27, 2018 at 6:33:16 AM UTC-4, takowl wrote:
>>>
>>> Hi Christian,
>>>
>>> Have you had a look at the Jupyter dashboards project? Is this something
>>> like what you want?
>>>
>>> https://github.com/jupyter/dashboards/
>>>
>>> Best wishes,
>>> Thomas
>>>
>>> On 26 March 2018 at 22:37, Christian Schafmeister 
>>>  wrote:
>>>

 Greetings fellow Jovyans!

 I'm setting up an application in a Jupyter notebook that will launch a
 large number of very long (multiple day) jobs/calculations on a cluster of
 GPU machines.

 How would folks recommend setting up a dashboard to monitor the
 progress of those calculations within a Jupyter notebook?

 I was thinking a dashboard made up of jupyter widgets composed of HBox,
 VBox, Buttons, Labels etc that would be updated every couple of seconds
 from a process launched by evaluating a function in a cell.

 The dashboard would contain a button to shut down the process that
 monitors the jobs.

 Has anyone done anything like this?   Are there any examples that folks
 could point me towards?

 Note: I'm not doing this in Python.   We've implemented a new kernel in
 Common Lisp and we have ported Jupyter Widgets 7.1 to this kernel.
 Everything is compiled to native code and we have threading implemented
 using pthreads.

 Best,

 Christian Schafmeister
 Professor,
 Chemistry Department,
 Temple University



 --
 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/b16cffaf-3d31-49d0-8469-e50f9b1f3ebb%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/e505d253-87a3-4267-a2dd-0066cb93b233%40googlegroups.com
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
>
> You received this message because you are subscribed to a topic in the
> Google Groups "Project Jupyter" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jupyter/OPEzPGEldoc/unsubscribe.
> To unsubscribe from this group and all its topics, 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/CAOvn4qiGEJuANeHYCBsfPsi65pk01Um3%3Dk0WS%2BSJ-D82xq8Rvw%40mail.gmail.com
> 

Re: [jupyter] numeric text description cropped

2018-03-24 Thread Jason Grout
Does this section in the docs help?

https://ipywidgets.readthedocs.io/en/latest/examples/Widget%20Styling.html#Description



On Sat, Mar 24, 2018 at 3:18 PM Randy Heiland 
wrote:

> The following crops the description for the FloatText; how can I have it
> not do that? Basically, I'd like to display the entire description string
> and shorten the FloatText input box.
>
> from ipywidgets import Layout, HBox, FloatText, Label
> numVal = FloatText (
> description= 'Enter your value',
> layout = Layout(flex='0%', constWidth='200px'),  # width = 'auto',
> )
> numUnits = Label('Units')
> HBox([numVal, numUnits], layout=Layout(width='300px'))
>
> --
> 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/f5625704-3cfe-4257-8da2-f61b3b03872e%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/CAPDWZHzxeeBNDYh1u0JLFAbs7At_vVJ4%2BufHbs5mCbCKbsbeLA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] plot data

2018-03-23 Thread Jason Grout
Likely the issue is with the plotting library, not with Jupyter itself. If
you want more specific help, you'll need to provide more information about
what you are doing, like what plotting library you are using, what you mean
by 300k (points? lines?), how Jupyter is involved (are you using the
notebook?), etc. Example code illustrating the problem would be extremely
helpful too.

Jason


On Fri, Mar 23, 2018 at 10:53 AM alberto  wrote:

> Hi ,
> I'm trying to plot data (at 300K )with jupiter.
> apparently I do not get any error message, but no plot is generated. How
> can I solve it
>
> regards
>
> Alberto
>
>
>
> https://drive.google.com/file/d/1VHMuXRWx8OhmIQsKYE8jj5WLkUhotOy_/view?usp=sharing
>
> https://drive.google.com/file/d/1dDpcs_DSweQLCETR08yC_CeqUQPUITtZ/view?usp=sharing
>
> https://drive.google.com/file/d/1H3RpjcKjaRLv-sOkDBBvQcmbqej3vSDM/view?usp=sharing
>
> --
> 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/3492e36e-7b23-4bf9-96ce-ebda766f2fcf%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/CAPDWZHwXJtoLz4TzsRz5_MTiJ35XQ%2BA4HsWu6ULUdHnmYC%2BCWQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Declarative widgets project status

2018-03-22 Thread Jason Grout
Hi everyone,

There have been some questions recently about the status of the declarative
widgets project at https://github.com/jupyter-widgets/declarativewidgets.
In https://github.com/jupyter-widgets/declarativewidgets/issues/570, the
people involved in the repo said that the project is currently unmaintained
(though one comment indicated there might be another forthcoming project
that supersedes the work in that repo). I would like to move the repo to
the Jupyter-attic GitHub organization to make the retired status clear.
However, before I do, is there anyone here willing to step forward to
maintain the project?

(If I don't hear anything within a week, I'll go ahead and move the repo to
jupyter-attic.)

Finally, I want to say as a member of the Jupyter community to those that
worked on declarative widgets: thanks very much for your work there and
pushing that experiment forward. We appreciate it!

Thanks,

Jason

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


Re: [jupyter] remove up-down arrows on numeric widgets?

2018-03-22 Thread Jason Grout
That's a browser rendering thing since we now use the html 5 numeric types.
I don't know of a way to get the browser to not render those increment
arrows.

Jason


On Thu, Mar 22, 2018 at 11:17 AM Randy Heiland 
wrote:

> Is it possible to remove the little up-down arrows to increment values in
> a numeric widget? My desire to do so is to save on horizontal space when I
> want several such widgets. 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/74bd836e-5471-4a38-86cf-93b6cc185a4c%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/CAPDWZHyENCN6o2oCjuKsa8tJ2onVq_WWppjWaFHCcEPYB01y1Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Good solution for sharing largish data sets?

2018-03-15 Thread Jason Grout
There was a guest post on the Jupyter blog the other day about Quilt, which
may be interesting for you to look at:
https://blog.jupyter.org/reproducible-data-dependencies-for-python-guest-post-d0f68293a99

Jason


On Thu, Mar 15, 2018 at 12:34 PM Matthew Turk  wrote:

> Hi!
>
> Great question.  My name's Matt Turk and along with some other folks
> (lurking?) on this list I work on a project called Whole Tale.  We
> just had an overview paper published (gold OA) at
> https://doi.org/10.1016/j.future.2017.12.029 that gives some
> architectural information, but the gist is that we're trying to solve
> that exact problem.  Our website isn't the best, and we're not
> confident of a stable, running instance until early summer (I bet if
> you logged in you could find ways to break it or prickly bits in the
> UI), but you can find a bit more at wholetale.org and
> github.com/whole-tale .  You could even launch your own instance,
> should you want to.
>
> The long and the short of it is that we run docker containers (not
> only Jupyter, but it's currently used as one of the defaults) with
> computational environments and "inject" data through a handcrafted
> FUSE fs.
>
> The ultimate location of the data is not important (can be both local
> or remote), as long as you provide a valid uri containing both
> location and transfer protocol (e.g. 'http://example.com/file',
> 'globus:/endpoint/foo/bar'). There's a couple of additional attributes
> you need to provide (size & name, although over HTTP sometimes we can
> get these). We keep track of all of those using an external db
> (MongoDB via Girder) which is subsequently used by FUSE to resolve
> OS-level IO calls into appropriate requests for data. For example,
> when you open() a file that's registered as a 'http://' url, it will
> (invisibly) locally cache it and present it as though it were local.
>
> Kacper Kowalik, our software architect, recently gave a presentation
> on it that you can see here that might be of interest:
> http://use.yt/upload/c8236396 .
>
> I'd be happy to share more here or offline, too, but this is something
> we're working on pretty hard and while we have a ways to go --
> especially in smoothing things out from a UI/UX perspective and
> getting stability of the platform, we're working hard on it and really
> want to engage much more deeply with folks throughout the community.
>
> -Matt, on behalf of the Whole Tale team
>
> On Thu, Mar 15, 2018 at 1:06 PM, 'Aaron Watters' via Project Jupyter
>  wrote:
> > Hi folks,
> >
> > I'm interested in techniques for sharing data in scientific workflows.
> > Tools like git/github and docker/repo2docker are great for sharing
> > computational
> > environments and moderate sized data, but not good for sharing (say)
> > hundreds of gigabytes of data.  What do people do?
> >
> > I have in mind something like this: a scientist on a good network
> > spins up a jupyter server in a Docker container containing a workflow
> > using github and repo2docker.  In the container s/he provides some
> > authorization credentials and data for the workflow appears in the
> > container if the credentials are valid, maybe with read/write access
> > of some sort if the credentials are really good.
> >
> > If we are interested in provided publically accessible data in read
> > only mode we could just dump the data to a web server anywhere
> > and pull it down using HTTP,
> >
> > I don't know the right way to do this if we want to have limited access
> > to the data and sometime provide the ability to write the data.
> >
> > I'm also interested in the case where the scientist is remote --
> > ie, certain people are allowed to use our compute cluster possible
> > with data they have locally or with other data out there somewhere...
> >
> > Any and all thoughts or pointers appreciated.  Thanks!
> > Sorry if the question is silly or too vague.
> >
> >-- Aaron Watters
> >
> > --
> > 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/003e34fa-a547-40c5-a617-8997ee5db326%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/CALO3%3D5HfjR69tOPB37pkCQo4yiWftsGVfVvzAOhyJnaDn6a3cQ%40mail.gmail.com
> .
> For more options, visit 

Re: [jupyter] Jupyter Lab and ISO 8601

2018-02-26 Thread Jason Grout
I think there's definitely room for configuring the filebrowser to show
ISO-formated dates. We also need to deal with sorting based on date, and
many other things.

On Mon, Feb 26, 2018 at 10:11 PM Lawrence D’Oliveiro 
wrote:

> On Saturday, February 24, 2018 at 5:55:20 PM UTC+13, ellisonbg wrote:
>>
>> Not sure how I feel about showing users ISO 8601 formatted datetimes
>> though.
>>
> It is not a particularly human friendly datetime format.
>>
>
> It’s standard in Japan. And it *is* an international standard, after all.
> Besides which, it makes logical sense.
>
> --
> 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/7b6891d3-7886-4796-bced-eaf014f69213%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/CAPDWZHwYd02z9KquSoWGA3N1oMC3fzsfU1cdFeA1x9GQ3r-7NA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Re: widget updating plot; plot disappears

2018-02-23 Thread Jason Grout
continuous_update is an option for a slider, not for the interactive
command. Try doing:

interact_manual(f, p=(0, 100))

(and I agree that we should refactor these interact and interactive
commands to be more consistent and powerful, and happy to help someone do
it.)

Jason


On Wed, Feb 21, 2018 at 4:49 PM Randy Heiland <randy.heil...@gmail.com>
wrote:

> Any idea why the "continuous_update=False" doesn't work (for me)? Does it
> work for others? - rf. attached .ipynb.
>
> thanks, Randy
>
> On Wed, Feb 21, 2018 at 4:22 PM, Jason Grout <ja...@jasongrout.org> wrote:
>
>> You can use the interact_manual function. See
>> http://ipywidgets.readthedocs.io/en/latest/examples/Using%20Interact.html#Disabling-continuous-updates
>>
>> Jason
>>
>>
>> On Mon, Feb 19, 2018, 10:09 Randy Heiland <randy.heil...@gmail.com>
>> wrote:
>>
>>> I seem to have fixed my initial problem - rf. attached .ipynb.
>>>
>>> Next question - how do I avoid continuous update when a slider is moved?
>>>
>>> thanks, Randy
>>>
>>>
>>> On Monday, February 19, 2018 at 11:13:02 AM UTC-5, Randy Heiland wrote:
>>>>
>>>> Hello,
>>>>
>>>> I was testing the following on https://try.jupyter.org/  and wondering
>>>> why the plot sometimes disappears:
>>>>
>>>> %matplotlib notebook
>>>> import numpy as np
>>>> import matplotlib.pyplot as plt
>>>>
>>>> def f(p):
>>>> plt.figure(2)
>>>> nx = 10
>>>> ny = 10
>>>> x = np.linspace(1, nx, nx)
>>>> y = np.linspace(1, ny, ny)
>>>> xv, yv = np.meshgrid(x, y)
>>>>
>>>> rgb = np.zeros((nx*ny,3))
>>>> rgb[:,0] += 1
>>>> rgb[:][p-1] = [0,1,0]
>>>>
>>>> area=200
>>>> plt.scatter(xv, yv, marker='s', s=area, c=rgb)
>>>>
>>>> plt.xticks([])
>>>> plt.yticks([])
>>>> #plt.show()
>>>>
>>>> from ipywidgets import interact, interactive
>>>> interactive_plot = interactive(f, p=(0, 100))
>>>> interactive_plot
>>>>
>>> --
>>> 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/886fd352-09b5-4e50-858a-ebf7c8d3f508%40googlegroups.com
>>> <https://groups.google.com/d/msgid/jupyter/886fd352-09b5-4e50-858a-ebf7c8d3f508%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Project Jupyter" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/jupyter/732c6aozcIE/unsubscribe.
>> To unsubscribe from this group and all its topics, 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/CAPDWZHznV1xxv938KOfGnQ4xftkLMFDcrpMyQvp8Mey0BgVrDw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jupyter/CAPDWZHznV1xxv938KOfGnQ4xftkLMFDcrpMyQvp8Mey0BgVrDw%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>
>
>> 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/CAO_spu4iFzDirh0AgK%3DSWe%2BmXNbZ7O0xO9TijYidqehPxOUnQg%40mail.gmail.com
> <https://groups.google.com/d/msgid/jupyter/CAO_spu4iFzDirh0AgK%3DSWe%2BmXNbZ7O0xO9TijYidqehPxOUnQg%40mail.gmail.com?utm_medium=email_source=footer>
> .
> 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/CAPDWZHwuqr3FFGjQ9%2Bo5spPZqaPsuinAFiu4OJBeiCzpP%2BCrQg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] Reopening issues on GitHub

2018-02-22 Thread Jason Grout
A few of us just realized that if we, as repo administrators, close an
issue on GitHub, the issue creator can't reopen the issue. In the past,
we've asked the original poster to reopen an issue if they'd like to
continue the discussion or if they didn't feel like things were resolved -
but apparently they aren't allowed to do so by GitHub.

If we closed an issue that you wanted to reopen and couldn't, please
comment on the issue. If you are a repo admin and didn't realize this, now
you know.

Thanks,

Jason

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


Re: [jupyter] Time Travel Analysis or Undo in Jupyter

2018-02-22 Thread Jason Grout
It sounds like you are asking about reverting the kernel computation state
to some previous state. With arbitrary side effects possible, I think this
a difficult problem in general. However, if you constrained your
computation to pure functions, or essentially checkpointed your project
state at every step, you could do something like reverting your computation
state.

Jason


On Thu, Feb 22, 2018 at 4:08 PM Paul Ivanov  wrote:

> Hi Jayme,
>
> two things come to mind immediately - bpython has a linear single version
> of this capability -  it's called "rewind":
> https://bpython-interpreter.org/
>
> The more general case sounds related to some of Philip Guo's PhD thesis
> work around IncPy: http://pgbovine.net/PhD-dissertation.htm
>
> Both of those are the general Python case - as for Jupyter -  we are not
> tightly coupled to the namespace (the feature of being able to execute
> cells out of order is seen as a bug by some) - the jupyter kernel does not
> know about a notebook document, it only receives code content to be
> executed, and sends back the results of such execution. It would be
> feasible to build in the sort of coupling that you are talking about, but I
> don't think such functionality would be welcomed back into the mainline of
> Jupyter notebook user interfaces (because the tighter coupling would be a
> limitation for other kinds of use cases).
>
> best,
> pi
>
> On Thu, Feb 22, 2018 at 2:39 AM, Jayme Bird  wrote:
>
>> Dear all,
>>
>> I would appreciate your feedback with a potential research area,
>> specifically within Jupyter - and perhaps more generally in Python.
>>
>> Interactive data analysis in frameworks like jupyter notebooks has a
>> common issue - the modification of potentially large datasets within an
>> interactive session. Unintentional modification is frequent, and the common
>> solution is to re-run the steps that were required to get from a data file
>> to the point in question. This reduces the usability of the analysis tools,
>> makes “what-if” exploration difficult, and creates a lot of unnecessary
>> overhead for either manually saving state or re-running scripts to recreate
>> it.
>>
>> I'm investigating a proposed project focused on the use of relational
>> Multi-Version Concurrency Control (MVCC) techniques from database systems
>> for these interactive workloads. In essence allowing a control z undo
>> functionality to return to the previous state after running a particular
>> step of an interactive script.
>>
>> I would appreciate knowing if any development of this has been discussed
>> - as well as ideas or useful feedback in general?
>>
>> Kind regards
>> Jayme Bird
>>
>> --
>> 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/1410954636.3371205.1519295968702.JavaMail.zimbra%40cwi.nl
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
>_
>   / \
> A*   \^   -
>  ,./   _.`\\ / \
> / ,--.S\/   \
>/  `"~,_ \\
>  __o   ?
>_ \<,_ /:\
> --(_)/-(_).../ | \
> --...J
> Paul Ivanov
> http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7
>
> --
> 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/CAKCGbV6ArZFY9tJsBmKDKt1SqVXBtZEEBT2P1QdcPP9QH%3DRPCg%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/CAPDWZHzQjLq9p91%2BXP7T1m_QyRak6b62%3DwqLCux7m%3DXV5Vgrsg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] JupyterLab: Ready for Users

2018-02-20 Thread Jason Grout
We are proud to announce the beta release series of JupyterLab, the
next-generation web-based interface for Project Jupyter.

tl;dr: *JupyterLab is ready for daily use (**documentation*
*,
**try it with Binder*

*)*

Read all about it:
https://blog.jupyter.org/jupyterlab-is-ready-for-users-5a6f039b8906

Thanks to everyone that made this possible!

Jason

-- 
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/CAPDWZHyp1SuXCQgwbG3Ska%2B%3D%3DHRZZgM%2BPVTJyiVtUhTyQ75j_g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Get Notebook Metadata using Python

2018-02-19 Thread Jason Grout
In general, the python (kernel) does not know if it is running code from a
notebook, console, or some other service. The architecture is specifically
designed to be agnostic that way to give you great power and flexibility in
how to run code. For example, it's easy to run one cell from a notebook,
open up a console to the same kernel, and run the next few bits of code
from the console as you investigate the environment interactively outside
of the notebook. As such, I don't know of any way to tell from a given
piece of code being run that it is (a) sent from a notebook, and (b) get
the metadata from the notebook.

Of course, if you are just talking about using the python kernel to open up
a notebook file itself, you can retrieve the metadata by just reading in
the notebook JSON.

Thanks,

Jason


On Mon, Feb 19, 2018 at 7:09 AM Stefano Antonel 
wrote:

> Hi I need to access the Notebook metadata using python.
> I'm able to get it using javascript like IPython.notebook.metadata but I
> don't like it at all.
> There is any option with python?
>
> Stefano
>
> --
> 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/52cb2e92-c5ea-46fd-a402-e19279dc3cb4%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/CAPDWZHwQfBR_6WZzfFqFSv5fsqjdQ_iYGRpZLHbb9tzMS%2BioLg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] LWN article

2018-02-15 Thread Jason Grout
FYI, there was an interesting LWN article on Jupyter published today:
https://lwn.net/Articles/746386/

Thanks,

Jason

-- 
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/CAPDWZHw9UFAGXQ-Ufkr7FDxB%3Db-0dQDq9E1fyYJE35gtDH4bhw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] License

2018-01-29 Thread Jason Grout
You can find out this information in http://jupyter.org/about : "Jupyter
will always be 100% open-source software, free for all to use and released
under the liberal terms of the modified BSD license
."

"Jupyter" comprises many different pieces of software. Each piece of
software has a license file (sometimes called LICENSE or COPYING) which may
contain more details about the licenses of software inside of it. For
example, the Jupyter notebook's license file is at
https://github.com/jupyter/notebook/blob/master/COPYING.md .

Thanks,

Jason


On Mon, Jan 29, 2018 at 1:43 PM Leonardo Rocha 
wrote:

> Hi guys,
>
> I'd like to know if jupyter plataform it's free to use for commercial
> purpose? Where I find this information?
>
> --
> 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/53a97d43-2300-4ef6-9cd9-32681ce62bda%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/CAPDWZHzRNm-KRC%3Ds3shBjaeLBh21GobwbKXg11x3P%2BX5-sjpAQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] when jupyterlab release 1.0 come out?

2018-01-17 Thread Jason Grout
You can see the current issue queue for 1.0 at
https://github.com/jupyterlab/jupyterlab/milestone/2. We are currently
working on polishing the Beta release series (including documentation) and
will announce the beta series of releases soon, which should be usable in
day-to-day work by general users. While we don't expect a huge amount of
change from a user perspective between the series of beta releases and 1.0,
we will see a continual iteration and refinement of the user experience.
Looking at the issue queue for 1.0, I expect we'll see a number of beta
releases as we work towards refining the user experience and stabilizing
the extension system api for developers for 1.0.

As always, help is welcome - if anyone wants to help, you can particularly
search for the "good first issue" label (
https://github.com/jupyterlab/jupyterlab/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22),
and there are also lots of places to help with documentation (for example,
we are currently working on making screenshots for the user-level
documentation). You can join the ongoing conversation at
https://gitter.im/jupyterlab/jupyterlab and we can help you get set up to
contribute.

Thanks,

Jason


On Wed, Jan 17, 2018 at 7:00 AM Matthias Bussonnier <
bussonniermatth...@gmail.com> wrote:

> Hi,
>
> The release of JupyterLab should happen relatively soon.  The release of
> notebook 5.3 (released yesterday), was necessary for JupyterLab 1.0 to be
> released. The code is (almost) frozen, and the team is spending time making
> sure the documentation is correct and up to a good standard.
>
> You can already install JupyterLab via Pip and conda, and not much changes
> should happend between current version and 1.0.
>
> --
> Matthias
>
> On 17 January 2018 at 02:30,  wrote:
>
>> Hi,
>>
>> where can I find the roadmap for jupyterlab? and when we are going to
>> release jupyter lab version 1.0?
>>
>> 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/bf7ba78a-d106-46b5-9b5e-5216d3b8fb16%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/CANJQusUy8XwJd5X0B%2BBS3JFTk0iOCjDsPfK4qx0iUFGydDuCcA%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/CAPDWZHygiE44uOW%2BvASg%3D4yZgxy8srp6upkmC578%3D55GyZBGLQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Re: Restart snippet numbering in the middle of a notebook?

2018-01-03 Thread Jason Grout
Another direction we can take is to make it easier to navigate in a
collection of notebooks. For example, make it easy to make previous/next/up
links in each notebook, plus an index. We do some things like this for the
ipywidgets documentation.

Jason


On Wed, Jan 3, 2018 at 9:52 AM <insearchofanswer...@gmail.com> wrote:

> I agree. That's what I am doing now. As we go to review with our book, I
> am curious whether instructors/students will find that burdensome, which is
> why I am asking about resets in a single notebook.
>
>
> On Thursday, 28 December 2017 10:24:41 UTC-5, Jason Grout wrote:
>
>> You might consider putting each section in a separate notebook. Then it
>> very naturally starts with a fresh kernel, is self-contained, etc.
>>
>> Jason
>>
>> On Tue, Dec 26, 2017, 23:44 Roland Weber <rolw...@de.ibm.com> wrote:
>>
> On Tuesday, December 26, 2017 at 3:42:23 PM UTC+1, insearcho...@gmail.com
>>> wrote:
>>>>
>>>> But once I ship out the notebook to others, they'd need to do the same
>>>> as they execute cells, correct?
>>>>
>>>
>>> Once you ship out the notebook to others, they can execute and
>>> re-execute cells in whatever order they want to. In reverse order, if they
>>> have a mind to.
>>> If you want to give them something that never changes, then make an HTML
>>> export or a screenshot.
>>> If you want to give them something that starts numbering from scratch
>>> with each chapter, then give them a separate notebook for each chapter.
>>>
>>> Notebooks are interactive, everyone will have their personal instance of
>>> them. The execution count shows how someone works with their notebook.
>>> You're trying to control what others will do with their copies of your
>>> notebook(s). It's a waste of time. It's like trying to control in which
>>> order people read the different articles in a newspaper, or on a news
>>> website.
>>>
>>> cheers,
>>>   Roland
>>>
>>> --
>>> 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/017782d9-8d3d-4b8b-9ce2-3fa1c423954d%40googlegroups.com
>>> <https://groups.google.com/d/msgid/jupyter/017782d9-8d3d-4b8b-9ce2-3fa1c423954d%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> 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/8892a4d3-8ef8-4e33-9007-ac3872323403%40googlegroups.com
> <https://groups.google.com/d/msgid/jupyter/8892a4d3-8ef8-4e33-9007-ac3872323403%40googlegroups.com?utm_medium=email_source=footer>
> .
> 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/CAPDWZHymiN_FLGE27195W0EHEYqUyQ0U7-YqPpvxCciHsK-%3D5Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Re: Restart snippet numbering in the middle of a notebook?

2017-12-28 Thread Jason Grout
You might consider putting each section in a separate notebook. Then it
very naturally starts with a fresh kernel, is self-contained, etc.

Jason

On Tue, Dec 26, 2017, 23:44 Roland Weber  wrote:

> On Tuesday, December 26, 2017 at 3:42:23 PM UTC+1, insearcho...@gmail.com
> wrote:
>>
>> But once I ship out the notebook to others, they'd need to do the same as
>> they execute cells, correct?
>>
>
> Once you ship out the notebook to others, they can execute and re-execute
> cells in whatever order they want to. In reverse order, if they have a mind
> to.
> If you want to give them something that never changes, then make an HTML
> export or a screenshot.
> If you want to give them something that starts numbering from scratch with
> each chapter, then give them a separate notebook for each chapter.
>
> Notebooks are interactive, everyone will have their personal instance of
> them. The execution count shows how someone works with their notebook.
> You're trying to control what others will do with their copies of your
> notebook(s). It's a waste of time. It's like trying to control in which
> order people read the different articles in a newspaper, or on a news
> website.
>
> cheers,
>   Roland
>
> --
> 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/017782d9-8d3d-4b8b-9ce2-3fa1c423954d%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/CAPDWZHx%2BN0OyHPSjsDYv2J2UX6MG1bfykGEqDMp1OjA8tXYfHQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Binary vs text websocket frames

2017-12-18 Thread Jason Grout
The websocket frames are sent in either binary or text, depending on
whether there are binary buffers encoded in the message (it is a
per-message decision, not an overall decision). The decision logic is here:
https://github.com/jupyter/notebook/blob/ca50f1af5afb525fd95b98b2e61e69db28094467/notebook/base/zmqhandlers.py#L230

I think it would be very useful to have either something that can log the
messages in the kernel, right around that logic. Another interesting change
would be to have a debug switch in the notebook server that encodes any
binary message buffers with base64 so the websocket message can still be a
text websocket frame. Another place to put the logging logic is in the
frontend, after the message has been converted back into a native js object.

Jason


On Mon, Dec 18, 2017 at 6:23 AM Christian Schafmeister <
drschafmeis...@gmail.com> wrote:

> Hello,
>
> How can I control whether the jupyter server sends binary websocket frames
> vs text websocket frames to the browser?
>
> When monitoring websocket traffic between an ipython jupyter notebook
> kernel and the browser, all websocket frames, both to the browser and from
> the browser are in websocket text frames.  This makes it easy to read the
> JSON dictionaries using almost any browser.
> When monitoring websocket traffic between our Common Lisp kernel and a
> browser, the websocket frames to the browser are binary websocket frames
> and the frames from the browser are websocket text frames.
> I recently learned that it is the jupyter notebook server (written in
> python) that is interposed between our kernel and the browser that is
> carrying out this websocket communication.  Why is it using binary frames?
> Binary websocket frames are a lot harder to dig into and extract the JSON
> from.
>
> I'd like to monitor the websocket traffic between the jupyter server and
> the browser for debugging.
> It has been extremely helpful to do this in a painful/limited way to add
> jupyter widgets support to our kernel (based on cl-jupyter/Common Lisp).
>
> Best,
>
> Christian Schafmeister
> Professor
> Chemistry Department
> Temple University
>
> --
> 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/9915a01a-5704-4671-86ce-5c33793504ee%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/CAPDWZHx0dQi0egPcJzzqmvcuqrc78tJQcnEcKKA3qjeBunh6vw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] detect run all cells

2017-11-30 Thread Jason Grout
You can run your long-running code in a separate thread, so that your
kernel will be able to respond to comm messages. If your long-running code
is running in the main thread, that will block the message processing and
your comm messages won't be processed.

Jason


On Fri, Nov 24, 2017 at 4:44 PM John  wrote:

> I have a python cell that runs a long duration simulation and moves
> objects on a canvas on the front end. I would like to receive and process
> messages from the front end over a Comm channel while the python code is
> executing in a cell. Such as a mouse event when a user clicks on the canvas
> element and a message is sent over Comm to the python side. Is there a
> mechanism in ipython/notebook that will allow me to process a message from
> the front end while my python code is executing in a cell such as in a
> while loop that runs forever.
>
> Thanks
>
> John
>
>
> On Friday, November 24, 2017 at 1:43:10 PM UTC-8, Matthias Bussonnier
> wrote:
>
>> Hi John,
>>
>> No, you cannot detect that. The kernel is not even aware of whether it
>> is ran from a notebook or any other interface that may not have cells.
>> Maybe if you shared what you are trying to achieve we can find another
>> solution.
>>
>> Thanks,
>> --
>> Matthias
>>
>>
>> On Fri, Nov 24, 2017 at 10:20 PM, John  wrote:
>> > From python code in an ipython notebook cell is it possible to detect
>> how
>> > the cell was executed. For instance is the cell being executed from a
>> "shift
>> > enter" command or from a "run all cells" command.
>> >
>> > Thanks
>> >
>> > John
>> >
>> > --
>> > 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/7cc52ae0-22b3-40c1-9815-45e7059ffd77%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/61f5ca4d-97ec-4c01-8a3e-5796ad3d12f7%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/CAPDWZHy5ESq6F1QdWbjRtgzuH3%3DuKXEtBzb7a7oLbHMkPA-a1Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Error: Class my_comm_target not found in registry

2017-11-22 Thread Jason Grout
If you are using the display system and a mimetype to set up your
rendering, you could possibly use the cookie cutter at
https://github.com/jupyterlab/mimerender-cookiecutter to create the
nbextension.

Jason


On Wed, Nov 22, 2017 at 11:37 PM Jason Grout <ja...@jasongrout.org> wrote:

> Yes, make a notebook nbextension, which is the preferred way to get
> javascript on the page:
>
>
> https://jupyter-notebook.readthedocs.io/en/stable/examples/Notebook/Distributing%20Jupyter%20Extensions%20as%20Python%20Packages.html
>
>
>
> On Wed, Nov 22, 2017 at 7:12 PM John <johnco...@shaw.ca> wrote:
>
>> OK I figured out what my problem was. In my kernel python code I was
>> setting up the comm channel with these two lines of code.
>>
>> display(Javascript("""require(["nbextensions/vpython_libraries/glowcomm"],
>> function(){console.log("GLOWCOMM LOADED");})"""))
>> comm = Comm(target_name='my_comm_target')
>>
>> The first line would run javascript code which in turn registered the
>> target on the javascript front end. The second line would connect to the
>> target from the python side. If I put a time delay between these two
>> commands then the problem goes away because the javascript code has time to
>> execute to register the target to which I am trying to connect the Comm
>> channel to.
>>
>> Is there an alternative approach to ensure that the javascript file I
>> require is loaded when the notebook is opened?
>>
>> John
>>
>>
>>
>> On Wednesday, November 22, 2017 at 4:10:37 PM UTC-8, Jason Grout wrote:
>>
>>> Can you turn on the browser debugger and have it pause on errors, and
>>> see what the lines of code are that are giving the problem (what are the
>>> lines of code, not just the line numbers)? I would probably debug this by
>>> also putting a breakpoint at the registration function and making sure that
>>> was working (i.e., step through the code and make sure that an entry was
>>> stored in the kernel's comm registry). I would also step through the code
>>> where the error happened and inspect the registry.
>>>
>>> For reference, here is where we are registering a target in
>>> widgetsnbextension:
>>> https://github.com/jupyter-widgets/ipywidgets/blob/bbfc39ec0f9e49f730d25bc5347d39e18992a54b/widgetsnbextension/src/manager.js#L71
>>>
>>>
>>> Thanks,
>>>
>>> Jason
>>>
>>>
>>> On Wed, Nov 22, 2017 at 2:30 PM John <john...@shaw.ca> wrote:
>>>
>> Hi
>>>>
>>>>I tried opening a Comm from the kernel as described in
>>>>
>>>> http://jupyter-notebook.readthedocs.io/en/stable/comms.html
>>>>
>>>> And I am getting the error
>>>>
>>>> utils.js:910 Could not open comm  --  Error: Class my_comm_target not
>>>> found in registry
>>>> at utils.js:874
>>>> at new Promise ()
>>>> at Object.load_class (utils.js:859)
>>>> at CommManager.comm_open (comm.js:84)
>>>> at i (jquery.min.js:4)
>>>> at Kernel._handle_iopub_message (kernel.js:1223)
>>>> at Kernel._finish_ws_message (kernel.js:1015)
>>>> at kernel.js:1006
>>>> at 
>>>> (anonymous) @ utils.js:910
>>>> Promise rejected (async)
>>>> CommManager.comm_open @ comm.js:85
>>>> i @ jquery.min.js:4
>>>> Kernel._handle_iopub_message @ kernel.js:1223
>>>> Kernel._finish_ws_message @ kernel.js:1015
>>>> (anonymous) @ kernel.js:1006
>>>> Promise resolved (async)
>>>> Kernel._handle_ws_message @ kernel.js:1006
>>>> i @ jquery.min.js:4
>>>>
>>>> I have have a custom javascript file called glowcomm.js that is
>>>> installed at the location
>>>>
>>>> nbextensions/vpython_libraries/glowcomm.js
>>>>
>>>> The javascript code comes from a python package called vpython that
>>>> installs some custom javascript code to this location using
>>>>
>>>> notebook.nbextensions.install_nbextension(path =
>>>> package_dir+"/vpython_libraries",overwrite = True,user = True,verbose = 0)
>>>>
>>>>
>>>> The contents of the glowcomm.js file looks like
>>>>
>>>> define(["nbextensions/vpython_libraries/jquery-ui.custom.min",
>>>> "nbextensions/vpython_libraries/glow.min"], functi

Re: [jupyter] Error: Class my_comm_target not found in registry

2017-11-22 Thread Jason Grout
Yes, make a notebook nbextension, which is the preferred way to get
javascript on the page:

https://jupyter-notebook.readthedocs.io/en/stable/examples/Notebook/Distributing%20Jupyter%20Extensions%20as%20Python%20Packages.html



On Wed, Nov 22, 2017 at 7:12 PM John <johnco...@shaw.ca> wrote:

> OK I figured out what my problem was. In my kernel python code I was
> setting up the comm channel with these two lines of code.
>
> display(Javascript("""require(["nbextensions/vpython_libraries/glowcomm"],
> function(){console.log("GLOWCOMM LOADED");})"""))
> comm = Comm(target_name='my_comm_target')
>
> The first line would run javascript code which in turn registered the
> target on the javascript front end. The second line would connect to the
> target from the python side. If I put a time delay between these two
> commands then the problem goes away because the javascript code has time to
> execute to register the target to which I am trying to connect the Comm
> channel to.
>
> Is there an alternative approach to ensure that the javascript file I
> require is loaded when the notebook is opened?
>
> John
>
>
>
> On Wednesday, November 22, 2017 at 4:10:37 PM UTC-8, Jason Grout wrote:
>
>> Can you turn on the browser debugger and have it pause on errors, and see
>> what the lines of code are that are giving the problem (what are the lines
>> of code, not just the line numbers)? I would probably debug this by also
>> putting a breakpoint at the registration function and making sure that was
>> working (i.e., step through the code and make sure that an entry was stored
>> in the kernel's comm registry). I would also step through the code where
>> the error happened and inspect the registry.
>>
>> For reference, here is where we are registering a target in
>> widgetsnbextension:
>> https://github.com/jupyter-widgets/ipywidgets/blob/bbfc39ec0f9e49f730d25bc5347d39e18992a54b/widgetsnbextension/src/manager.js#L71
>>
>>
>> Thanks,
>>
>> Jason
>>
>>
>> On Wed, Nov 22, 2017 at 2:30 PM John <john...@shaw.ca> wrote:
>>
> Hi
>>>
>>>I tried opening a Comm from the kernel as described in
>>>
>>> http://jupyter-notebook.readthedocs.io/en/stable/comms.html
>>>
>>> And I am getting the error
>>>
>>> utils.js:910 Could not open comm  --  Error: Class my_comm_target not
>>> found in registry
>>> at utils.js:874
>>> at new Promise ()
>>> at Object.load_class (utils.js:859)
>>> at CommManager.comm_open (comm.js:84)
>>> at i (jquery.min.js:4)
>>> at Kernel._handle_iopub_message (kernel.js:1223)
>>> at Kernel._finish_ws_message (kernel.js:1015)
>>> at kernel.js:1006
>>> at 
>>> (anonymous) @ utils.js:910
>>> Promise rejected (async)
>>> CommManager.comm_open @ comm.js:85
>>> i @ jquery.min.js:4
>>> Kernel._handle_iopub_message @ kernel.js:1223
>>> Kernel._finish_ws_message @ kernel.js:1015
>>> (anonymous) @ kernel.js:1006
>>> Promise resolved (async)
>>> Kernel._handle_ws_message @ kernel.js:1006
>>> i @ jquery.min.js:4
>>>
>>> I have have a custom javascript file called glowcomm.js that is
>>> installed at the location
>>>
>>> nbextensions/vpython_libraries/glowcomm.js
>>>
>>> The javascript code comes from a python package called vpython that
>>> installs some custom javascript code to this location using
>>>
>>> notebook.nbextensions.install_nbextension(path =
>>> package_dir+"/vpython_libraries",overwrite = True,user = True,verbose = 0)
>>>
>>>
>>> The contents of the glowcomm.js file looks like
>>>
>>> define(["nbextensions/vpython_libraries/jquery-ui.custom.min",
>>> "nbextensions/vpython_libraries/glow.min"], function() {
>>>
>>> var comm
>>>
>>> IPython.notebook.kernel.comm_manager.register_target('my_comm_target',
>>>
>>> What do I need to do to register "my_comm_target"  so that I don't get
>>> this error.
>>>
>>> Error: Class my_comm_target not found in registry
>>>
>>>
>>>
>>> Thanks
>>>
>>> John
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Project Jupyter" group.
>>>
>> To unsubscribe from this group and stop receiving e

Re: [jupyter] Error: Class my_comm_target not found in registry

2017-11-22 Thread Jason Grout
Can you turn on the browser debugger and have it pause on errors, and see
what the lines of code are that are giving the problem (what are the lines
of code, not just the line numbers)? I would probably debug this by also
putting a breakpoint at the registration function and making sure that was
working (i.e., step through the code and make sure that an entry was stored
in the kernel's comm registry). I would also step through the code where
the error happened and inspect the registry.

For reference, here is where we are registering a target in
widgetsnbextension:
https://github.com/jupyter-widgets/ipywidgets/blob/bbfc39ec0f9e49f730d25bc5347d39e18992a54b/widgetsnbextension/src/manager.js#L71


Thanks,

Jason


On Wed, Nov 22, 2017 at 2:30 PM John  wrote:

> Hi
>
>I tried opening a Comm from the kernel as described in
>
> http://jupyter-notebook.readthedocs.io/en/stable/comms.html
>
> And I am getting the error
>
> utils.js:910 Could not open comm  --  Error: Class my_comm_target not
> found in registry
> at utils.js:874
> at new Promise ()
> at Object.load_class (utils.js:859)
> at CommManager.comm_open (comm.js:84)
> at i (jquery.min.js:4)
> at Kernel._handle_iopub_message (kernel.js:1223)
> at Kernel._finish_ws_message (kernel.js:1015)
> at kernel.js:1006
> at 
> (anonymous) @ utils.js:910
> Promise rejected (async)
> CommManager.comm_open @ comm.js:85
> i @ jquery.min.js:4
> Kernel._handle_iopub_message @ kernel.js:1223
> Kernel._finish_ws_message @ kernel.js:1015
> (anonymous) @ kernel.js:1006
> Promise resolved (async)
> Kernel._handle_ws_message @ kernel.js:1006
> i @ jquery.min.js:4
>
> I have have a custom javascript file called glowcomm.js that is installed
> at the location
>
> nbextensions/vpython_libraries/glowcomm.js
>
> The javascript code comes from a python package called vpython that
> installs some custom javascript code to this location using
>
> notebook.nbextensions.install_nbextension(path =
> package_dir+"/vpython_libraries",overwrite = True,user = True,verbose = 0)
>
>
> The contents of the glowcomm.js file looks like
>
> define(["nbextensions/vpython_libraries/jquery-ui.custom.min",
> "nbextensions/vpython_libraries/glow.min"], function() {
>
> var comm
>
> IPython.notebook.kernel.comm_manager.register_target('my_comm_target',
>
> What do I need to do to register "my_comm_target"  so that I don't get
> this error.
>
> Error: Class my_comm_target not found in registry
>
>
>
> Thanks
>
> John
>
>
> --
> 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/630e2d49-96e9-4f88-b927-42c36dfcf883%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/CAPDWZHxxqFXQi8sd06%3DU4qhyPda8AEbtakm%2BWg7wcwTfbk24BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Using Angular with Jupyterlab Extensions

2017-11-22 Thread Jason Grout
We should also quote things like "Using Angular and creating a jupyterlab
extension has been an absolute joy." in the JupyterLab docs/material, if
it's all right with Simon. Is it all right, Simon?

Jason


On Mon, Nov 20, 2017 at 5:55 AM Matthias Bussonnier <
bussonniermatth...@gmail.com> wrote:

> Cool
>
> We should find a place to list all these recipe, maybe one of
> JupyterLab (or Phosphor?) wiki or FAQ ?
> If will be easier to refer to later !
>
> Thanks !
> --
> Matthias
>
> On Mon, Nov 20, 2017 at 12:17 PM, Simon Biggs 
> wrote:
> > I have created an npm package that allows you to use Angular within a
> Phosphor widget. This results in being able to use Angular for building
> jupyterlab extensions. The repo is over at:
> >
> > https://github.com/SimonBiggs/phosphor-angular-loader
> >
> > It's on npm as @simonbiggs/phosphor-angular-loader
> >
> > The repo has a little demo widget demonstrating use as within just
> phosphor. I've been using this package to create an extension I am
> currently working on:
> >
> > https://github.com/SimonBiggs/jupyterlab-form
> >
> > Using Angular and creating a jupyterlab extension has been an absolute
> joy.
> >
> > --
> > 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/114b3ca0-3d0f-4290-9fa0-87946feacd0a%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/CANJQusW%3Du2OYqRAAaeg1n3FTDUdhOGSXL%2B_qp_7NGebHqf11kw%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/CAPDWZHxry1kRwxJbSb3obPH-5T07RsLfU5Y%2BN-no8pWkd03M3g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Moving Terminado into Jupyter maintenance

2017-11-21 Thread Jason Grout
When you do this, can you clean up a few things related to the license? For
example, there is both a LICENSE and COPYING file in that repo. Also,
project standards are that each file notes the copyright, etc. (You know
all this, I'm just reminding of the checklist for moving things into the
org:
https://github.com/jupyter/governance/blob/master/newsubprojects.md#incorporation
)

Thanks again!

Jason


On Tue, Nov 21, 2017 at 5:07 AM Thomas Kluyver <tak...@gmail.com> wrote:

> Thanks everyone. I wasn't expecting any controversy about this. I'll do it
> now.
>
> On 21 November 2017 at 11:48, Damián Avila <damianav...@gmail.com> wrote:
>
>> +1 as well.
>>
>> 2017-11-21 0:46 GMT-03:00 Jason Grout <ja...@jasongrout.org>:
>>
>>> +1 to moving into Jupyter.
>>>
>>> On Mon, Nov 20, 2017, 15:27 Steven Silvester <steven.silves...@gmail.com>
>>> wrote:
>>>
>>>> +1 from me as well!
>>>>
>>>>
>>>> On Monday, November 20, 2017 at 4:40:53 PM UTC-6, ellisonbg wrote:
>>>>
>>>>> +1, let me know if you want help reaching out to MSFT folks
>>>>>
>>>>> On Mon, Nov 20, 2017 at 6:59 AM, Matthias Bussonnier
>>>>> <bussonnie...@gmail.com> wrote:
>>>>> > I'm +1 to transferring the repository. I would also try to ping
>>>>> > whoever-we-know at Microsoft, as enabling this will likely impact
>>>>> them
>>>>> > the most.
>>>>> > --
>>>>> > Matthias
>>>>> >
>>>>>
>>>> > On Mon, Nov 20, 2017 at 2:50 PM, Thomas Kluyver <tak...@gmail.com>
>>>>> wrote:
>>>>> >> Terminado (http://terminado.readthedocs.io/en/latest/ ) is part of
>>>>> the
>>>>> >> machinery that we use for interactive terminals in the browser.
>>>>> Xterm.js
>>>>> >> (https://xtermjs.org/ ) provides the frontend in the browser,
>>>>> which is where
>>>>> >> most of the complexity is needed, while Terminado is a relatively
>>>>> simple
>>>>> >> part that runs on the server. It integrates with the Tornado web
>>>>> framework,
>>>>> >> which the Jupyter Notebook is built on.
>>>>> >>
>>>>> >> Currently, Terminado is purely for Unix-like systems. However,
>>>>> there is a
>>>>> >> library called winpty which provides the underlying feature to make
>>>>> similar
>>>>> >> functionality possible on Windows. The Spyder developers have done
>>>>> some
>>>>> >> impressive work to package this up in a form that is readily
>>>>> accessible from
>>>>> >> Python and pip-installable, and Steven has opened a pull request on
>>>>> >> Terminado to use this.
>>>>> >>
>>>>> >> It would certainly be nice to provide terminals on Windows as well,
>>>>> but I'm
>>>>> >> not confident I understand the Windows side of things well enough
>>>>> to
>>>>> >> maintain it. Steven has offered to help with maintenance (thanks!),
>>>>> but I'd
>>>>> >> like to propose moving it into the Jupyter organisation to make
>>>>> this easier,
>>>>> >> and to facilitate other people contributing to its maintenance.
>>>>> >>
>>>>> >> Terminado has generally been a very low-maintenance project - it's
>>>>> simple
>>>>> >> glue between a Unix pty and a tornado websocket. Windows support
>>>>> may add
>>>>> >> some load, but I don't see it ever needing many changes. Jupyter is
>>>>> the only
>>>>> >> user I'm aware of, though over 100 people have 'starred' it, so it
>>>>> may have
>>>>> >> some others.
>>>>> >>
>>>>> >> Thanks,
>>>>> >> 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+u...@googlegroups.

Re: [jupyter] Moving Terminado into Jupyter maintenance

2017-11-20 Thread Jason Grout
+1 to moving into Jupyter.

On Mon, Nov 20, 2017, 15:27 Steven Silvester 
wrote:

> +1 from me as well!
>
>
> On Monday, November 20, 2017 at 4:40:53 PM UTC-6, ellisonbg wrote:
>
>> +1, let me know if you want help reaching out to MSFT folks
>>
>> On Mon, Nov 20, 2017 at 6:59 AM, Matthias Bussonnier
>>  wrote:
>> > I'm +1 to transferring the repository. I would also try to ping
>> > whoever-we-know at Microsoft, as enabling this will likely impact them
>> > the most.
>> > --
>> > Matthias
>> >
>>
> > On Mon, Nov 20, 2017 at 2:50 PM, Thomas Kluyver 
>> wrote:
>> >> Terminado (http://terminado.readthedocs.io/en/latest/ ) is part of
>> the
>> >> machinery that we use for interactive terminals in the browser.
>> Xterm.js
>> >> (https://xtermjs.org/ ) provides the frontend in the browser, which
>> is where
>> >> most of the complexity is needed, while Terminado is a relatively
>> simple
>> >> part that runs on the server. It integrates with the Tornado web
>> framework,
>> >> which the Jupyter Notebook is built on.
>> >>
>> >> Currently, Terminado is purely for Unix-like systems. However, there
>> is a
>> >> library called winpty which provides the underlying feature to make
>> similar
>> >> functionality possible on Windows. The Spyder developers have done
>> some
>> >> impressive work to package this up in a form that is readily
>> accessible from
>> >> Python and pip-installable, and Steven has opened a pull request on
>> >> Terminado to use this.
>> >>
>> >> It would certainly be nice to provide terminals on Windows as well,
>> but I'm
>> >> not confident I understand the Windows side of things well enough to
>> >> maintain it. Steven has offered to help with maintenance (thanks!),
>> but I'd
>> >> like to propose moving it into the Jupyter organisation to make this
>> easier,
>> >> and to facilitate other people contributing to its maintenance.
>> >>
>> >> Terminado has generally been a very low-maintenance project - it's
>> simple
>> >> glue between a Unix pty and a tornado websocket. Windows support may
>> add
>> >> some load, but I don't see it ever needing many changes. Jupyter is
>> the only
>> >> user I'm aware of, though over 100 people have 'starred' it, so it may
>> have
>> >> some others.
>> >>
>> >> Thanks,
>> >> 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+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/CAOvn4qhY97amb4qoajB58U%3DQuxbFKA90XpefM7CJS3FY8C-ZiA%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+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/CANJQusUghzVD-PvsmmfZw6zMSLGs4iT1SNMjT6Ox%2Bew_Qn3P_A%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
>>
> bgra...@calpoly.edu and elli...@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/5e69c964-9e68-426c-a120-d7bdea2236a1%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/CAPDWZHxdKkpQx1TKzwWeFw5A%3DuSgPQcFA0VR6ARcNthiNcW6Vw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Appmode: A new extension for turning notebooks into web applications

2017-11-11 Thread Jason Grout
I made an issue at https://github.com/oschuett/appmode/issues/3

Thanks again!

Jason


On Sat, Nov 11, 2017 at 7:25 AM Jason Grout <ja...@jasongrout.org> wrote:

> I've been promoting it already :).
>
> I have some ideas about how such a project could make better use of some
> of the new components coming out of the JupyterLab project to make it
> lighter weight and not depend so much on the classic notebook. I'll post an
> issue to the project soon.
>
> Thanks,
>
> Jason
>
>
> On Sat, Nov 11, 2017 at 4:26 AM <o...@schuett.name> wrote:
>
>> Thanks a lot for the endorsement!
>>
>> Do you have any suggestions on how I could further promote Appmode?
>>
>> -Ole
>>
>> --
>> 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/d1d557fc-d2ef-4277-9b77-fcca81732d32%40googlegroups.com
>> <https://groups.google.com/d/msgid/jupyter/d1d557fc-d2ef-4277-9b77-fcca81732d32%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> 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/CAPDWZHz2YF5cTmvkkRMD-9hwOgYZaq6p%3Dt%2BYUpea%3DcRnCntRgg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Appmode: A new extension for turning notebooks into web applications

2017-11-11 Thread Jason Grout
I've been promoting it already :).

I have some ideas about how such a project could make better use of some of
the new components coming out of the JupyterLab project to make it lighter
weight and not depend so much on the classic notebook. I'll post an issue
to the project soon.

Thanks,

Jason


On Sat, Nov 11, 2017 at 4:26 AM  wrote:

> Thanks a lot for the endorsement!
>
> Do you have any suggestions on how I could further promote Appmode?
>
> -Ole
>
> --
> 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/d1d557fc-d2ef-4277-9b77-fcca81732d32%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/CAPDWZHzBxahHtovWuE63O_YSNaZLT%3DQYLjLyTme9-PZNZcoJ-A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Moving nbmanager into Jupyter Github org?

2017-11-11 Thread Jason Grout
I'm agree that using this thread to gather consensus is fine. As a steering
council member, I support moving the repo to the Jupyter org.

I do think we should follow the process in the "Incorporation" heading,
including making sure the copyright statements and license is in order, and
announcing the new repo to the mailing list.

Thanks,

Jason


On Sat, Nov 11, 2017 at 6:54 AM Brian Granger  wrote:

> Yes, fully agree!
>
> Sent from my iPhone
>
> On Nov 11, 2017, at 4:32 AM, Thomas Kluyver  wrote:
>
> I see this thread as a lightweight mechanism that preserves the spirit of
> the formal process - we get a consensus from the core developers before
> moving a project into the Jupyter org. So far there seems to be a clear
> consensus in favour of the move, so hopefully this will suffice.
>
> I'm keen that we don't accumulating bureaucracy and formal 'processes' for
> things like this - I've tried to work with Debian before, and the rules
> around the project contributed to an unwelcoming environment where it was
> hard to get anything done.
>
>
>
> On 10 November 2017 at 17:01, Damián Avila  wrote:
>
>> I am OK to moving it, just I think we need to follow the guidelines:
>> https://github.com/jupyter/governance/blob/master/newsubprojects.md#incorporation-of-an-existing-external-subproject
>>
>> It is already incubated, so the proposal should be accepted quickly... I
>> know it is probably a formality but still I think it makes sense to go that
>> route.
>>
>> Cheers.
>>
>> 2017-11-10 12:53 GMT-03:00 Brian Granger :
>>
>>> As a side point - we are adding these types of capabilities to the
>>> JupyterLab electron app, including smart searching for all the
>>> python+jupyter installations and envs on a system...
>>>
>>> On Fri, Nov 10, 2017 at 7:52 AM, Brian Granger 
>>> wrote:
>>> > +1
>>> >
>>> > On Fri, Nov 10, 2017 at 7:39 AM, Carol Willing 
>>> wrote:
>>> >> Sounds like a great plan for sustainable development. +1
>>> >>
>>> >> On Nov 10, 2017 7:02 AM, "MinRK"  wrote:
>>> >>>
>>> >>> +1 to moving it to into Jupyter from me
>>> >>>
>>> >>> On Fri, Nov 10, 2017 at 3:58 PM, Thomas Kluyver 
>>> wrote:
>>> 
>>>  Hi all,
>>> 
>>>  Some time ago, I wrote nbmanager (
>>> https://github.com/takluyver/nbmanager
>>>  ), a small PyQt application to list running notebook servers and
>>> shut them
>>>  down. It has a steady trickle of people using it, or attempting to
>>> use it
>>>  and running into problems, but I only occasionally use it myself,
>>> and I'm
>>>  not maintaining it very well.
>>> 
>>>  One person who has worked on it recently is Philipp Angerer (Github
>>> user
>>>  flying-sheep), who has already adopted most of the maintenance of
>>> IRkernel.
>>>  He has accepted my offer to be a maintainer of nbmanager as well.
>>> 
>>>  It would feel slightly disingenuous to keep the repo under my own
>>> name on
>>>  Github while encouraging someone else to do most of the work, so I
>>> am
>>>  proposing that we move it into the Jupyter Github org, and add
>>> Philipp as a
>>>  collaborator there. This would also reduce the bottleneck on any
>>> one person,
>>>  because other Jupyter developers could commit or add a new
>>> collaborator.
>>> 
>>>  Are people happy with this plan? Or should we maintain it somewhere
>>> else?
>>> 
>>>  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/CAOvn4qiqioR_rvn2HEb%3DEeaTWYfHKp2B%2BpveEBS0aPrUkS5-og%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/CAHNn8BV2_QhWe38M_XhXS2Xt3%2BZc9CFEsqCjXjE5%2B3GJ9XkEVQ%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 

Re: [jupyter] Data binding and syncing between JavaScript and Kernel

2017-11-04 Thread Jason Grout
The data syncing happens over comm messages with a very simple syncing
protocol. Our protocol is documented at
https://github.com/jupyter-widgets/ipywidgets/blob/master/packages/schema/messages.md#widget-messaging-protocol-version-2
(version
2 is implemented in ipywidgets 7).

Jason


On Fri, Nov 3, 2017 at 10:43 PM Simon Biggs  wrote:

> I noticed that declarative widgets achieves data binding and syncing
> between JavaScript and the kernel. I believe that ipywidgets achieves the
> same thing.
>
> I have been searching their source code trying to find where exactly they
> achieve this, but I as of yet have been unsuccessful.
>
> I am currently writing a jupyterlab extension in Angular. If I was to be
> able to achieve data binding syncing between the python kernel and the
> JavaScript that would be absolutely perfect. My WIP extension is over at
> https://github.com/SimonBiggs/jupyterlab-form
>
> Could someone who is familiar with either the ipywidgets or declarative
> widgets code bases be able to point me in the direction of where this data
> syncing is achieved. That would be absolutely amazing.
>
> Thank you,
> Simon
>
> --
> 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/1ded5625-1b2a-4d3c-a830-1e7c03405f65%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/CAPDWZHxTiBD-L_vb8Lo7EMjQsDV3Getca5cFUHox%2BRq4fUPGBw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Repo for exploring a debugger protocol + UI for Jupyter

2017-11-02 Thread Jason Grout
Awesome!

It looks like that repo is a private repo.

Thanks,

Jason


On Thu, Nov 2, 2017 at 4:33 PM Brian Granger  wrote:

> Hi all,
>
> Wanted to let the community know that we have created a repo for
> exploring an interactive debugger protocol and UI for Jupyter:
>
> https://github.com/jupyter/debugger
>
> We will be using this repo for discussions, research and prototypes of
> the different pieces. If you are interested in debuggers for Jupyter,
> we encourage you to join in!
>
> Cheers,
>
> Brian
>
> --
> 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/CAH4pYpSe8q%2BcCrCTGtX3LGuPekuc3oH3q9aYeEnEy%2BSz%3Drwz-A%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/CAPDWZHx%3Dg7-nurAF%2B2K-DKew0nQWoT7c41Nb5%3DoN%2BUbhGtnkpQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] Re: Congratulations to Thomas Kluyver

2017-10-14 Thread Jason Grout
Thomas,

Congrats! Definitely a well-deserved award - you're a great example to us.

Jason


On Sat, Oct 14, 2017 at 5:18 PM Brian Granger  wrote:

> Thomas, many congrats on this recognition of your wide reaching, fantastic
> work!
>
> On Sat, Oct 14, 2017 at 1:12 PM, Carlos Córdoba 
> wrote:
> > Congrats Thomas!! Thanks for all your hard work in IPython/Jupyter, it's
> > been a terrific contribution to all the Scientific Python community!
> >
> >
> > Cheers,
> > Carlos
> >
> > El 14/10/17 a las 06:22, Steven Silvester escribió:
> >
> > Congratulations Thomas!  Your contributions to and engagement with the
> open
> > source community are astounding.
> >
> >
> > On Thursday, October 12, 2017 at 2:21:42 PM UTC-5, Carol Willing wrote:
> >>
> >> Please join me in thanking Thomas for all that he does for the Python
> and
> >> Jupyter communities. Congrats on the Python/PSF Community Service
> Award. We
> >> are so happy for you.
> >>
> >>
> >>
> http://pyfound.blogspot.com/2017/10/thomas-kluyver-community-service-award.html
> >>
> >>
> >>
> >>
> >> Carol Willing
> >>
> >> Research Software Engineer
> >> Project Jupyter at Cal Poly State University, San Luis Obispo
> >> @willingc on GitHub and @willingcarol on Twitter
> >> will...@gmail.com and cawi...@calpoly.edu
> >>
> >> Signature Strengths
> >> Empathy - Relator - Ideation - Strategic - Learner
> >>
> >>
> >>
> > --
> > 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/2d3a8cf8-21fd-4a7f-9d11-d15665e3b620%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/5debba49-dd61-4feb-13da-15e18635263e%40gmail.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/CAH4pYpRXzsUjNkao2vWT8M%3DY5d8VwOhz36HrivmdwfDyZmXP_w%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/CAPDWZHxE6hhQPTi94BZuvrvPfoAXCYjcJ-Bx6xe-_bj%2BHnYB7g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


  1   2   >