These are chat archives for ipython/ipython

19th
Sep 2014
Jason Grout
@jasongrout
Sep 19 2014 00:36
This is a really interesting post about using CSP-style programming in javascript (think Go channels): http://jlongster.com/Taming-the-Asynchronous-Beast-with-CSP-in-JavaScript
Fernando Perez
@fperez
Sep 19 2014 03:41
hey folks, does anyone have a quick demo handy of how to embed one of the standard d3 examples into a notebook, without messing up the whole dom?
Min RK
@minrk
Sep 19 2014 03:45
I don't have one. Maybe @ellisonbg does.
or skim some of Rob Story's notebooks, he's usually got nice d3 stuff
Are you after raw d3?
Fernando Perez
@fperez
Sep 19 2014 03:46
yes, someone wanted to have a cell that produced the "collision detection" demo of the d3 docs
Min RK
@minrk
Sep 19 2014 03:46
or something like vincent or mpld3?
ah
but inside a cell
jake tried to help her, and d3 hosed the dom and blocked out the whole notebook.
do you know if it's even possible?
I'm a bit out of my html depth here.
Min RK
@minrk
Sep 19 2014 03:50
aha, you can display with isolated: True metadata to put it in an iframe
should leave the page alone
Fernando Perez
@fperez
Sep 19 2014 03:53
tx! @christinaeilers is the one trying
here at the uw hack week
christinaeilers
@christinaeilers
Sep 19 2014 03:54
thanks a lot!
Min RK
@minrk
Sep 19 2014 03:55
This one doesn't put it in an IFrame: http://nbviewer.ipython.org/gist/minrk/33635139fe6d1272bab5
Fernando Perez
@fperez
Sep 19 2014 03:58
awesome, thanks!
a bunch of people smiling right now here ;)
Kyle Kelley
@rgbkrk
Sep 19 2014 16:39
@minrk Question for you, does ipython try to detect submodules or git when installing directly from source?
Docker does a git clone --recursive --depth 1 <repo>
But then it presents that without the .git folder
submodules are set, path wise, but not present in the usual fashion
Min RK
@minrk
Sep 19 2014 17:12
Screen Shot 2014-09-19 at 10.11.21 .PNG
@rgbkrk I can't see the link
Kyle Kelley
@rgbkrk
Sep 19 2014 17:16
oh that's lame
I'll just copy the error at the bottom
Step 8 : RUN pip2 install . 
---> Running in ce1a37c1f344 
Unpacking /srv/ipython 
Running setup.py (path:/tmp/pip-4o10AB-build/setup.py) egg_info for package from file:///srv/ipython 
Cannot build / install IPython with unclean submodules 
Please update submodules with 
python setup.py submodule 
or 
git submodule update 
or commit any submodule changes you have made. 
Complete output from command python setup.py egg_info: 
Cannot build / install IPython with unclean submodules

Please update submodules with

    python setup.py submodule

or

    git submodule update

or commit any submodule changes you have made.

---------------------------------------- 
Cleaning up... 
Command python setup.py egg_info failed with error code 1 in /tmp/pip-4o10AB-build 
Storing debug log for failure in /.pip/pip.log 
The command [/bin/sh -c pip2 install .] returned a non-zero code: 1