These are chat archives for ipython/ipython

17th
Jun 2015
Jonathan Frederic
@jdfreder
Jun 17 2015 17:45
@jasongrout FWIW, contrary to popular opinion, I liked the namespaced names slightly more.
Jason Grout
@jasongrout
Jun 17 2015 17:47
as I'm dealing with the fallout from the rename...I think I probably do too.
import notebook just seems so generic
or even jpr_notebook
or even better, jupyter.notebook
jupyter.nbformat, jupyter.nbconvert, etc.
seems like scikit had those sorts of python namespaces
Min RK
@minrk
Jun 17 2015 17:49
If namespace packages worked okay prior to 3.4, we probably would have used them.
But they don't.
ah, okay
Jonathan Frederic
@jdfreder
Jun 17 2015 17:51
@jasongrout, Min has a nice dev setup script Gist which makes cloning/installing straight forward.
Jason Grout
@jasongrout
Jun 17 2015 17:51
me too :)
Jonathan Frederic
@jdfreder
Jun 17 2015 17:51
Also I've been using http://mixu.net/gr/ which I like a lot
Jason Grout
@jasongrout
Jun 17 2015 17:52
but we still have to change all of our imports, etc.
Jonathan Frederic
@jdfreder
Jun 17 2015 17:52
Well, maybe "a lot" is an exaggeration, but it's definitely better than nothing
ah yes
that'll be painful
Jason Grout
@jasongrout
Jun 17 2015 17:53
M-x find-name-dired, t, Q, ....
so it's not so bad with emacs multi-file replace. Still, a bit of a pain...
Min RK
@minrk
Jun 17 2015 17:54
It's a transition.
Jason Grout
@jasongrout
Jun 17 2015 17:54
yep, when living on the cutting edge, you bleed sometimes
Min RK
@minrk
Jun 17 2015 17:54
We certainly do.
Jason Grout
@jasongrout
Jun 17 2015 17:55
I still think "import notebook" is a bit too generic...
Min RK
@minrk
Jun 17 2015 17:55
And we appreciate the blood you shed!
Jason Grout
@jasongrout
Jun 17 2015 17:55
but oh well
hey, William Stein is rewriting SMC in react:
you can see his current work at https://github.com/sagemathinc/smc
Min RK
@minrk
Jun 17 2015 17:57
Nice
Thomas Kluyver
@takluyver
Jun 17 2015 18:16
@minrk can I get your eyes on ipython/traitlets#39 when you get a moment? Thanks.
Jason Grout
@jasongrout
Jun 17 2015 18:30
@jdfreder - yep, I still think notebook is too generic. It just broke some code...
Min RK
@minrk
Jun 17 2015 18:31
@jasongrout how could a package name break code? There are no registered packages with that name.
Jason Grout
@jasongrout
Jun 17 2015 18:32
if I have a file named notebook.py, and try to import notebook inside that file, things break
because . is the first directory in the path.
so it tries to import the notebook.py file in the current directory
Jonathan Frederic
@jdfreder
Jun 17 2015 18:33
That's unfortunate
Jason Grout
@jasongrout
Jun 17 2015 18:33
I agree it's pretty unlikely for me to write a file named nbconvert.py or nbformat.py, but notebook.py is a pretty generic filename...
Min RK
@minrk
Jun 17 2015 18:39
I liked nbserver for the server package, but I think that ship has sailed.
Jason Grout
@jasongrout
Jun 17 2015 18:39
I agree that nbserver makes a lot of sense.
how has the ship sailed? We haven't released?
s/released?/released./
Min RK
@minrk
Jun 17 2015 18:39
The discussion was lengthy over many weeks, and a conclusion was arrived at.
Jason Grout
@jasongrout
Jun 17 2015 18:40
oh. I guess I missed it.
I still think we're asking for trouble having a package name that is "notebook"
Min RK
@minrk
Jun 17 2015 18:40
ok
Jason Grout
@jasongrout
Jun 17 2015 18:40
who should I point the mob to? :)
Min RK
@minrk
Jun 17 2015 18:40
mailing list, I guess.
Hamzeh Alsalhi
@hamsal
Jun 17 2015 19:09
Hello, Where is the python server code that runs and writes files when the javascript autosave is triggered.?
Most of the implementation being here
Hamzeh Alsalhi
@hamsal
Jun 17 2015 19:18
aha
thanks
Kyle Kelley
@rgbkrk
Jun 17 2015 23:33
Am I not using preprocessors right with nbconvert here:
In [21]: c = Config({'ExecutePreprocessor': {'enabled': True}})

In [22]: exporter = HTMLExporter(config=c)

In [23]: _ = exporter.from_filename("./example-notebooks/issues.ipynb")
That notebook should bomb out
Sylvain Corlay
@SylvainCorlay
Jun 17 2015 23:34
Folks, gamepad widget in IPython 3.x / Jupyter 4.0
Kyle Kelley
@rgbkrk
Jun 17 2015 23:35
awwww yissss
Sylvain Corlay
@SylvainCorlay
Jun 17 2015 23:35
pip install -e for now
not yet on pypi
for my robot