These are chat archives for ipython/ipython

6th
Oct 2014
Kyle Kelley
@rgbkrk
Oct 06 2014 02:11
@takluyver guess it's the install then? I'm not sure how that packaging works
submodules get initialized outside of where the IPython source gets introduced in the Docker image
which means it all ends up in the same spot in /srv/ipython
Kyle Kelley
@rgbkrk
Oct 06 2014 02:23
ah
I see
just need to add term.js to the sourcing in setupbase.py
testing this change out now
Damian Avila
@damianavila
Oct 06 2014 10:37
unrelated question @rgbkrk... I saw your gifs in the terminado PR, what program do you use to make them?
related, the terminal is beautiful!!! great work @takluyver
Kyle Kelley
@rgbkrk
Oct 06 2014 12:10
@damianavila I use licecap for animated gif recording.
gifcasts!
Damian Avila
@damianavila
Oct 06 2014 12:21
thanks!
they are very useful
I think I need some linux clone :smile:
Damian Avila
@damianavila
Oct 06 2014 12:32
silencast seems an option... I would try it... thanks for the reference to licecap... make easier to find clones... je
Kyle Kelley
@rgbkrk
Oct 06 2014 15:39
ah, yeah. I'm on a Mac.
I'll probably be paying for some real software for screencasting soon.
Thomas Kluyver
@takluyver
Oct 06 2014 16:18
Paul had something that can stream and record terminal sessions, by recording the text rather than images, so it took very little bandwidth
that should work with the in-browser terminal, but I forget what it's called
this http://0xcc.net/ttyrec/index.html.en and this http://noway.ratry.ru/jsn/termcast/ look like things along those lines
Damian Avila
@damianavila
Oct 06 2014 16:31
thanks for the info... btw, I was looking for something image-based because sometimes I have some IPython UI things, visualization-related things and other things to show...
Thomas Kluyver
@takluyver
Oct 06 2014 16:33
yep
I have used recordmydesktop before. It's not particularly friendly, but it works.
Damian Avila
@damianavila
Oct 06 2014 16:55
yes, bad experiences with recordmydesktop... and I like the idea of gif instead of full videos...
Jason Grout
@jasongrout
Oct 06 2014 17:52
@jdfreder - why did we not use the jqueryui accordion for the accordion widget?
Jonathan Frederic
@jdfreder
Oct 06 2014 17:53
We generally have been trying to lessen our dependency on jqueryui and rely more on Bootstrap
Jason Grout
@jasongrout
Oct 06 2014 17:53
I think the jqueryui one is a bit better :)
Jonathan Frederic
@jdfreder
Oct 06 2014 17:55
The Bootstrap one seems broken
for a situation as dynamic as the widgets
Do you have an implementation that uses the jqueryui one?
Jason Grout
@jasongrout
Oct 06 2014 18:07
no. I was hoping you did until I looked at the code and realized you built your own accordion by hand.
I don't know that the bootstrap one is "broken", but it's weird to have the title be a link, and for the click on the header outside the title to do nothing, for example.
(especially when the jqueryui one seems (at least on the surface) to be pretty nice and complete)
Kyle Kelley
@rgbkrk
Oct 06 2014 18:12
@takluyver Are you on a Linux machine or a Mac?
Thomas Kluyver
@takluyver
Oct 06 2014 18:12
Linux
Kyle Kelley
@rgbkrk
Oct 06 2014 18:12
you know what, I can kill some things
Jason Grout
@jasongrout
Oct 06 2014 18:13
do 'sudo kill' :)
Kyle Kelley
@rgbkrk
Oct 06 2014 18:13
If it has enough output, like yes, I can't seem to kill it
hahah, I can't sudo from these containers
at least not without some privesc
If I close the tab it seems to kill the process
so that's good
Thomas Kluyver
@takluyver
Oct 06 2014 18:16
nice job freezing my browser, @rgbkrk
;)
I think yes just produces so much output it overwhelms the frontend
Kyle Kelley
@rgbkrk
Oct 06 2014 18:16
yeah
lol
I was trying to figure out if the buffer just had too much
javascript is the future
This terminal is much faster than iTerm for me
That might be because I'm running in a container
there are exactly 3 processes
Thomas Kluyver
@takluyver
Oct 06 2014 18:18
but doesn't the container have to compete for resources with everything else running on your machine? I'm surprised it would be faster.
Kyle Kelley
@rgbkrk
Oct 06 2014 18:18
Screen Shot 2014-10-06 at 1.16.33 PM.png
I'm in the cloud
Just compiled my first program straight from term.js in IPython notebook
Thomas Kluyver
@takluyver
Oct 06 2014 18:19
nice
Kyle Kelley
@rgbkrk
Oct 06 2014 18:19
Next step: compiling the Linux kernel from IPython notebook
(not actually going to do that, working on docker spawn pools now)
Thomas Kluyver
@takluyver
Oct 06 2014 18:20
there is a degree of irony that we're using two dynamic languages, a websocket, and the might of an HTML rendering engine, all to pretend to be this: http://upload.wikimedia.org/wikipedia/commons/d/df/ASR-33_at_CHM.agr.jpg
Kyle Kelley
@rgbkrk
Oct 06 2014 18:22
:clap:
jupyter@3f086961611e:~$ ps aux                                                                                                                                                                            
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND                                                                                                                                  
jupyter      1  0.0  0.0   4444   776 ?        Ss   18:20   0:00 /bin/sh -c ipython3 notebook --no-browser --port 8888 --ip=0.0.0.0 --NotebookApp.base_url=/user-5Iaaaaaa                                 
jupyter      6  1.5  0.0 150616 37920 ?        R    18:20   0:00 /usr/bin/python3 /usr/local/bin/ipython3 notebook --no-browser --port 8888 --ip=0.0.0.0 --NotebookApp.ba                                 
jupyter     10  0.1  0.0  21056  3756 pts/0    Ss   18:20   0:00 /bin/bash                                                                                                                                
jupyter     21  0.0  0.0  18448  2572 pts/0    R+   18:21   0:00 ps aux
It is pretty funny
Kyle Kelley
@rgbkrk
Oct 06 2014 18:28
What's worse is I'm tethering while my wife drives back to San Antonio from College Station, TX.
Thomas Kluyver
@takluyver
Oct 06 2014 18:29
oh, is this usable over a (presumably relatively high latency) mobile internet link?
Kyle Kelley
@rgbkrk
Oct 06 2014 18:30
absolutely
for some definition of usable
Thomas Kluyver
@takluyver
Oct 06 2014 18:31
heh
Sylvain Corlay
@SylvainCorlay
Oct 06 2014 18:33
@takluyver, the beginning of your comment might be missing. in #6632
Kyle Kelley
@rgbkrk
Oct 06 2014 18:33
I didn't need to compile a Hello World program with gcc over terminal emulation software written in javascript, connected via websockets to a Python/tornado backend, running inside a docker container, proxied by our configurable node http proxy, further proxied by nginx where SSL is terminated. All over my tethered mobile internet connection on a fully functional mac that could compile with gcc already
Anyway, this is pretty usable.
I'm pleased
If merged, this will be available for participants at MozFest.
Sylvain Corlay
@SylvainCorlay
Oct 06 2014 18:37
I just learned the word Chelonian
Thomas Kluyver
@takluyver
Oct 06 2014 18:38
@SylvainCorlay well, at least I've done one useful thing with respect to widgets today, then!
@rgbkrk great :) When is MozFest?
Kyle Kelley
@rgbkrk
Oct 06 2014 18:39
Oct. 24-26
couple weeks!
Thomas Kluyver
@takluyver
Oct 06 2014 18:39
Hopefully we'll have it merged by then
there's not actually that much new code in IPython: it's mostly in separate packages, terminado and ptyprocess
Jonathan Frederic
@jdfreder
Oct 06 2014 18:46
Is terminado one of your personal projects?
Terminado in Google raises a bunch of Spanish->English translation results.
Thomas Kluyver
@takluyver
Oct 06 2014 18:47
kind of
it grew out of pyxterm, but I figured that wasn't a great name, and I did enough work on it to justify a new name
so terminado is a brand new name for heavily revamped code
Jonathan Frederic
@jdfreder
Oct 06 2014 18:49
terminado is an awesome name!
I know, I was pleased when I came up with it
terminals + tornado ;-)
Jonathan Frederic
@jdfreder
Oct 06 2014 18:49
I can imagine your grin now ;)
Matthias Bussonnier
@Carreau
Oct 06 2014 18:50
Oh, I just got the name.
Thomas Kluyver
@takluyver
Oct 06 2014 18:50
:D
Matthias Bussonnier
@Carreau
Oct 06 2014 18:50
do you have a logo?
I'm ready to draw you a terminal with a mexican hat and mustash.
everyone on takluyver/terminado gitter :-)
Damian Avila
@damianavila
Oct 06 2014 18:52
jajaja...
Matthias Bussonnier
@Carreau
Oct 06 2014 18:52
:-( not allowed.
private :-(
Thomas Kluyver
@takluyver
Oct 06 2014 18:52
interesting
Damian got in
Damian Avila
@damianavila
Oct 06 2014 18:53
yepp
Wolfgang Kerzendorf
@wkerzendorf
Oct 06 2014 21:35
I'm currently using ipython parallel to submit > 20000 jobs and am running into memory problems. This could be the result of ipcontroller storing all things that got submitted to the engines. Now I want to use the sqlitedb option, but can't see to find where to tell it where the sqlitedb shall live.
Min RK
@minrk
Oct 06 2014 21:59
c.SQLiteDB.filename = 'whatever.sqlite'
Wolfgang Kerzendorf
@wkerzendorf
Oct 06 2014 22:33
@minrk thanks!
Sylvain Corlay
@SylvainCorlay
Oct 06 2014 23:12
hi
I am quickly building a widget inspector gui. I need to inspect the metadata of traitlets attributes. Is it possible to get the list of traitlets keys without instantiating the widget?
Jonathan Frederic
@jdfreder
Oct 06 2014 23:24
@SylvainCorlay Widget.class_trait_names()
Sylvain Corlay
@SylvainCorlay
Oct 06 2014 23:25
thanks @jdfreder
Jonathan Frederic
@jdfreder
Oct 06 2014 23:27
no prob. I think you can do Widget.class_trait_names(sync=True) if you want to get the traitlets that are synced.