These are chat archives for ipython/ipython

10th
Mar 2015
Kyle Kelley
@rgbkrk
Mar 10 2015 16:28 UTC
Whenever y'all startup again, I can join in remotely
Nicholas Bollweg
@bollwyvl
Mar 10 2015 16:33 UTC
does this one need g+?
Kyle Kelley
@rgbkrk
Mar 10 2015 16:37 UTC
That's what we usually use for meetings. Sometimes we've used appear.in. Hangouts is just the only option that's easy for us to have available for others to watch live or for later.
Nicholas Bollweg
@bollwyvl
Mar 10 2015 16:37 UTC
right, but i thought that hangouts had broken up with g+
Kyle Kelley
@rgbkrk
Mar 10 2015 16:53 UTC
hopefully
Kester Tong
@KesterTong
Mar 10 2015 16:57 UTC
hey I'm ready too
and I have g+ and hangouts installed
Min RK
@minrk
Mar 10 2015 16:59 UTC
ok, we'll be set up in a bit. Waiting for coffee.
Jason Grout
@jasongrout
Mar 10 2015 18:06 UTC
where is the hackpad for the dev meeting?
Kyle Kelley
@rgbkrk
Mar 10 2015 18:32 UTC
is the volume off for me?
thanks
I'll try again when I can interject
Matthias Bussonnier
@Carreau
Mar 10 2015 18:37 UTC
the speaker sometime turs off.
and yes you seem to be muted. can you unmute yourself ?
works.
try again .
interrupt everyone.
e heare you.
commen show more presence.
Jason Grout
@jasongrout
Mar 10 2015 18:54 UTC
@rgbkrk, just wave your hands wildly when you want to say something.
Jason Grout
@jasongrout
Mar 10 2015 19:15 UTC
@minrk: feedback about the nbformat change in a sage-cloud thread: https://groups.google.com/d/msg/sage-cloud/YomE3s_ag84/6pPx9fePav8J
Kyle Kelley
@rgbkrk
Mar 10 2015 19:15 UTC
Since it's for the Notebook server itself we have to be opinionated and expose some sort of controls to make the experience consistent and controlled. Would it be appropriate to start writing an IPEP? If we don't, I'm just going to use Jon's jupyter-pip and help others to do the same.
Jason Grout
@jasongrout
Mar 10 2015 19:15 UTC
can you link to Jon's thing?
Kyle Kelley
@rgbkrk
Mar 10 2015 19:15 UTC
I just want one tool to install notebook extensions
Jason Grout
@jasongrout
Mar 10 2015 19:16 UTC
I'm curious about the directory structure
Kyle Kelley
@rgbkrk
Mar 10 2015 19:16 UTC
It just made installing both of the widgets I created easy
as well as installing in dev mode
I think the notebook server needs to be more aware of what's there and how
Min RK
@minrk
Mar 10 2015 19:17 UTC
@jasongrout IPython 2.4 can read nbformat v4
Kyle Kelley
@rgbkrk
Mar 10 2015 19:17 UTC
I'd like to get to a state where I can dog food the editor (like I'm doing now) and edit an nbextension
Jason Grout
@jasongrout
Mar 10 2015 19:17 UTC
what is the directory structure of the pip packages created, for widgets where there is js and python?
Kyle Kelley
@rgbkrk
Mar 10 2015 19:17 UTC
I have the javascript right next to the python there
Jon is placing them in their own assets directory
The jupyter pip stuff doesn't care, it just makes your setup.py hardly anything
For flightwidgets, there is a js and a py directory
This message was deleted
This message was deleted
Sylvain Corlay
@SylvainCorlay
Mar 10 2015 19:20 UTC
Building a new packaging system http://xkcd.com/927/
Kyle Kelley
@rgbkrk
Mar 10 2015 19:21 UTC
I think the only thing we really need to address is how to expose to the notebook server the extensions
We don't need a full packaging spec
It might wrap existing tools
my mic... :(
Matthias Bussonnier
@Carreau
Mar 10 2015 19:30 UTC
We shoudl get Saul so that you can be agitated if you are muted.
Kyle Kelley
@rgbkrk
Mar 10 2015 19:30 UTC
:)
I've gotten agitated already
It's ok
I'll just fill the hackpad with my nonsense
I personally have no ideological opposition to installing pure JavaScript nbextensions with pip.
In fact, I prefer that I could run:
ipython nbextension install blah
Matthias Bussonnier
@Carreau
Mar 10 2015 19:32 UTC
Personally, I think that there are 2 problems.
the first is easy, we are tired after 3 hours.
Kyle Kelley
@rgbkrk
Mar 10 2015 19:32 UTC
and that underneath it could be using pip
Matthias Bussonnier
@Carreau
Mar 10 2015 19:32 UTC
the second is harder;
Kyle Kelley
@rgbkrk
Mar 10 2015 19:32 UTC
yeah
Matthias Bussonnier
@Carreau
Mar 10 2015 19:32 UTC
we are hungry.
Kyle Kelley
@rgbkrk
Mar 10 2015 19:32 UTC
Go eat
Jason Grout
@jasongrout
Mar 10 2015 19:32 UTC
we do it this way: "sage -i <package-name>" :)
Kyle Kelley
@rgbkrk
Mar 10 2015 19:32 UTC
I should get some food and eat it in front of you
Matthias Bussonnier
@Carreau
Mar 10 2015 19:32 UTC
Yeeeeessss
Jason Grout
@jasongrout
Mar 10 2015 19:32 UTC
and then it downloads it, extracts it, and installs it all for you.
Kyle Kelley
@rgbkrk
Mar 10 2015 19:32 UTC
Yeah, UX there is great jason
What Brian is talking about is fine too, assuming we can expose the same controls inside the notebook server itself too
Matthias Bussonnier
@Carreau
Mar 10 2015 19:36 UTC
Unmute and do "nom nom nom"
Kyle Kelley
@rgbkrk
Mar 10 2015 19:37 UTC
I should buy one of those little drinking birds to unmute me on the display
Min RK
@minrk
Mar 10 2015 19:39 UTC
flail wildly if you mute again
Kyle Kelley
@rgbkrk
Mar 10 2015 19:39 UTC
k
Matthias Bussonnier
@Carreau
Mar 10 2015 19:43 UTC
Can you stream pfudor ? :-P
Kyle Kelley
@rgbkrk
Mar 10 2015 19:45 UTC
Can you 3d print takeout food yet?
Thanks for having me!
Nicholas Bollweg
@bollwyvl
Mar 10 2015 20:44 UTC
@rgbkrk jupyter-pip sounds great! how does it handle directories? I have been trending towards storing my static together, as I usually have at least some dependencies...
Kyle Kelley
@rgbkrk
Mar 10 2015 20:46 UTC
No idea how it handles directories. I've only done flat packages with it.
Remi Rampin
@remram44
Mar 10 2015 20:46 UTC
:question: hmm. How do I print a matplotlib figure to the notebook?
Nicholas Bollweg
@bollwyvl
Mar 10 2015 20:46 UTC
also with the thought that eventually, whether on bower, npm or a special npm scope we will want to publish widget frontends apart from bakcends
Remi Rampin
@remram44
Mar 10 2015 20:46 UTC
like matplotlib.pyplot does when using %matplotlib inline
Kyle Kelley
@rgbkrk
Mar 10 2015 20:46 UTC
It's @jdfreder's little package that he originally submitted as a PR to IPython itself to make package installation easier
Now it's standalone
Nicholas Bollweg
@bollwyvl
Mar 10 2015 20:48 UTC
well, i'd like to get it into cookiecutter-ipython-widget
or the yeoman thing if we think that's the better way to go
generator-jupyter-widget
Which Backends would you like to support?
[*] python
[ ] julia
[ ] r
Kyle Kelley
@rgbkrk
Mar 10 2015 20:50 UTC
I'm open to either of the widgets I'm developing to support alternative backends
Nicholas Bollweg
@bollwyvl
Mar 10 2015 20:50 UTC
anyhooo... i'll check it out later!
Kyle Kelley
@rgbkrk
Mar 10 2015 20:50 UTC
most of the work is in the frontend
Yeah, I'm working on exciting expense reports at the moment
You helped me procrastinate while I painstakingly recreate trips in my head. Everything is itemized...
For now, python backend makes sense
or even one that just exposes javascript as the package
I'd imagine we'd use normal installation methods for Julia, R, etc. to get the kernel side code
Kester Tong
@KesterTong
Mar 10 2015 20:52 UTC
Where are we up to in the agenda?
Kyle Kelley
@rgbkrk
Mar 10 2015 20:52 UTC
After you left we talked packaging!
Packaging wrt widgets, nbextensions, etc.
Kester Tong
@KesterTong
Mar 10 2015 20:58 UTC
cool. Can someone ping me on hangouts when we get to security?
Kyle Kelley
@rgbkrk
Mar 10 2015 21:02 UTC
They're all out at lunch and I think by the time folks make it back I'll be making dinner for the family
Kester Tong
@KesterTong
Mar 10 2015 21:03 UTC
ok cool I assume one of them will ping me when they return
Remi Rampin
@remram44
Mar 10 2015 21:09 UTC
how do I push one matplotlib figure to the notebook? Like %matplotlib inline does, but I don't want to change global state, just send one
Kyle Kelley
@rgbkrk
Mar 10 2015 21:12 UTC
Not sure
You may get better luck in https://gitter.im/ipython/ipython/help
Most of the devs are gone at lunch right now (and I don't have an answer for you)
Min RK
@minrk
Mar 10 2015 21:43 UTC
@KesterTong @rgbkrk getting set up to talk about security stuff shortly
Kester Tong
@KesterTong
Mar 10 2015 21:43 UTC
ok I'm onine
online
Scott Sanderson
@ssanderson
Mar 10 2015 21:45 UTC
@minrk what security stuff are you guys talking about?
Min RK
@minrk
Mar 10 2015 21:45 UTC
output security, I think. I'm not really sure...
probably bringing back the iframes for output discussion
Scott Sanderson
@ssanderson
Mar 10 2015 21:46 UTC
as in, cross-site scripting concerns?
Min RK
@minrk
Mar 10 2015 21:46 UTC
Not quite, I think one of the concerns is kernel->client
and how much is appropriate to project the client js context from js coming from the kernel
Kyle Kelley
@rgbkrk
Mar 10 2015 21:47 UTC
I won't be making it, but I'll defer to Kester as frontend expert. It's important for Jupyter Drive.
Min RK
@minrk
Mar 10 2015 21:47 UTC
e.g. right now we sanitize otuput on load of untrusted notebooks, so that just opening a notebook doesn't grant execute access
Scott Sanderson
@ssanderson
Mar 10 2015 21:49 UTC
gotcha, so the concern would be that a widget you installed does something unpleasant in your browser that gains unsafe access to your jupyter-drive credentials, say?