These are chat archives for ipython/ipython

4th
May 2015
Jason Grout
@jasongrout
May 04 2015 16:20
@rgbkrk - did you find the answer to your model_module question?
jasongrout @jasongrout thinks it's really nice that gitter displays the real name when completing handles now.
jasongrout @jasongrout and that you can complete on real name, and it'll look up the handle
Kyle Kelley
@rgbkrk
May 04 2015 17:07
@jasongrout well, I've been exploring an alternative frontend built on a standalone Chromium+node.js app framework: http://electron.atom.io/
It wasn't really a question, more of a statement
Brian had an idea about having a kernel message that tells a frontend about assets it needs.
Then the frontend has to manage those assets
These might be CSS, JavaScript, adding on to the widgets, etc.
Jason Grout
@jasongrout
May 04 2015 17:29
interesting. Did you see the Microsoft online code editor announcement? (also using electron)
@rgbkrk - have you pushed your code anywhere?
Sylvain Corlay
@SylvainCorlay
May 04 2015 17:35
hey @rgbkrk
what is your end goal with the jupyter sidecar?
Sylvain Corlay
@SylvainCorlay
May 04 2015 17:40
I was thinking that something like this could be of interest also as a spyder plugin
Kyle Kelley
@rgbkrk
May 04 2015 18:03
@SylvainCorlay It was more of an experiment to start working on JavaScript and Jupyter a bit more while tinkering with Electron. I'll probably stop once I have a decent way to package it as an accompaniment to the terminal.
@jasongrout https://github.com/rgbkrk/jupyter-sidecar - bit rough around the packaging edges
There's really not much code since I leaned on a library that got exported from ijavascript last week
@jasongrout I wrote the whole thing in Microsoft's Code Editor ;)
Kyle Kelley
@rgbkrk
May 04 2015 18:25
The control you get, API wise, for controlling Electron is wonderful. It would make a great alternative interface with the notebook that we could use a good portion of the same JavaScript and CSS on.
I recognize that this is like side project # 893 for me though and we have our own focuses within the project.
Jonathan Frederic
@jdfreder
May 04 2015 18:29
I'm excited to play with electron
I still haven't had time to do so yet
Dale Jung
@dalejung
May 04 2015 19:22
is there a page that outlines what the jupyter equivalent of ipython configs are?
specifically trying to get my ipython_notebook_config.py to work
Min RK
@minrk
May 04 2015 19:34
The notebook config hasn't changed at all yet, it's just moved from .ipython/ipython_notebook_config to .jupyter/jupyter_notebook_config.
Dale Jung
@dalejung
May 04 2015 19:41
huzzah
cool.
Min RK
@minrk
May 04 2015 19:46
working on a migration tool that will be done before we start releasing 4.0.
Mostly it's copying files to their new locations. Few things will have any real changes.
jupyter/jupyter_core#7
Dale Jung
@dalejung
May 04 2015 19:47
yar, i'm running master on all the packages so i know i'm on the edge.
so .ipython will be fully deprecated post 4.0?
Min RK
@minrk
May 04 2015 19:48
No, it will still be used for IPython
ipython_config, ipython_kernel_config, etc. will still be there. Jupyter projects are moving out - notebook, qtconsole, etc.
Dale Jung
@dalejung
May 04 2015 19:51
oh okay. that makes more sense to me now. ipython notebook is really just jupyter since it's agnostic.
some reason i thought it would start up an ipython specific jupyter_notebook app
Min RK
@minrk
May 04 2015 19:53
Right, it's just a deprecated alias.
Matthew Rocklin
@mrocklin
May 04 2015 23:39
Can anyone point me to docs on how to specify my own ipython parallel clusters on the notebook's "cluster" pane?
Googling around on this has led me somewhat astray
Min RK
@minrk
May 04 2015 23:40
ipython profile create --parallel [name]
Matthew Rocklin
@mrocklin
May 04 2015 23:44
OK, there is a good amount of information for me to sift through there
Thanks

If I might ask for a glass of milk to go along with my cookie can you recommend things to search for within those config files? My situation is as follows:

I have a cluster with a few machines and a notebook server living on one of them. I would like users to log into that server, create a new cluster using the clusters pane, and then open up their own notebooks for analysis and connect to the cluster that they just created.

Presumably I need to take care of running ipengine on my various nodes and register them with some central JSON file. I suspect that it's on me to actually spin up those processes; I'm curious how to integrate with the UI in the notebook server. I would of course be quite happy to learn that IPython already had a canned solution to this.

Matthew Rocklin
@mrocklin
May 04 2015 23:52
Some function gets run when the start button gets pressed. I'm curious what this actually fires.
Min RK
@minrk
May 04 2015 23:53
ipcluster actually handles starting engines.
If you have a batch system, the easiest way to start engines is with PBS/SGE.
You can use SSH if there's nothing else.
The main things to configure are: IPClusterEngines.engine_launcher_class and then the section for the class you choose.
OK, I'll poke around a bit
Thanks for the pointers
Might but you again sometime tomorrow
Min RK
@minrk
May 04 2015 23:57
You will also want to set HubFactory.ip='*' so that remote engines can see the controller.
in ipcontroller_config