These are chat archives for ipython/ipython

4th
Dec 2014
Jonathan Frederic
@jdfreder
Dec 04 2014 00:00
Public note to self: update widget example notebooks before 3.0 release
Jason Grout
@jasongrout
Dec 04 2014 00:10
one problem: if visible=True (the default), then the css is explicitly styled with visiblity: visible
whereas I want visibility: inherited by default. Otherwise hiding a parent container does not hide the explicitly visible children
So perhaps we really need 4 values: visibile = default (e.g., inherited, e.g., not set)
visible=True, visible=False, and visible='totally gone'
Jonathan Frederic
@jdfreder
Dec 04 2014 00:20
? Why not just make visible=true map to css('visibility', '')
Jason Grout
@jasongrout
Dec 04 2014 00:28
that's what I did now.
but I also switched visible = None to be visibility: hidden
probably the common use-case is to collapse the space, so that should be visible=False
even if it probably makes more sense to have visible=None for that
and that will make it backwards compatible anyway
Nathan Goldbaum
@ngoldbaum
Dec 04 2014 01:15
@minrk thanks for the suggestion, that looks great!
Damian Avila
@damianavila
Dec 04 2014 16:27
@/all, I can not join the meeting today... I will see the video later. Have fun!!!
Jessica B. Hamrick
@jhamrick
Dec 04 2014 16:28
Oh, I should mention I also won’t be able to make the meeting today. See everyone next week instead!
Kyle Kelley
@rgbkrk
Dec 04 2014 17:08
Hmmm, nothing on the agenda
I'll add a couple things I'd like to discuss, hopefully we'll have one
Cheers @damianavila and @jhamrick
Jonathan Frederic
@jdfreder
Dec 04 2014 17:09
@/all dev meeting today?
Kyle Kelley
@rgbkrk
Dec 04 2014 17:10
yes from me. ;)
Kenny Ho
@kennyho-code
Dec 04 2014 17:10
anyone here
Brian E. Granger
@ellisonbg
Dec 04 2014 17:12
I will be on if I can get it to work on my phone
Min RK
@minrk
Dec 04 2014 17:14
Should be a short one today
Fernando Perez
@fperez
Dec 04 2014 17:18
I'm here too.
@minrk, can you start it?
Min RK
@minrk
Dec 04 2014 17:22
Yup, will do
@fperez it's up, links above
Fernando Perez
@fperez
Dec 04 2014 17:31
tx, opening!
Jonathan Frederic
@jdfreder
Dec 04 2014 17:37
@jasongrout you're being mentioned in the meeting
Jason Grout
@jasongrout
Dec 04 2014 17:38
I'm listening
Are we talking about it now?
Jonathan Frederic
@jdfreder
Dec 04 2014 17:38
Yeah
Jason Grout
@jasongrout
Dec 04 2014 17:38
+1 to @takluyver's suggestion
Jonathan Frederic
@jdfreder
Dec 04 2014 17:39
The JS link
Jason Grout
@jasongrout
Dec 04 2014 17:39
that's what I, erm, resigned myself to :)
Kyle Kelley
@rgbkrk
Dec 04 2014 17:39
:)
Jason Grout
@jasongrout
Dec 04 2014 17:39
I had thought we were going to split widgets off after 3.0, and gave up trying to push this into core until then.
really, either way; I can use the code outside of IPython just as well as inside
With the widget persistence PR, this javascript link really has a good use-case.
Brian E. Granger
@ellisonbg
Dec 04 2014 17:42
I'm -1 on that
Jason Grout
@jasongrout
Dec 04 2014 17:42
on the other hand, @takluyver brought up some other possibilities for linking without widgets
I already have a baby version of this javascript link in my extra widgets repo: https://github.com/jasongrout/ipywidgets
so it sort of already is in another repo...
It's fine either way to merge it or not.
It's just importing from your lib or ours, either way
though I think if we have persistent widgets in nbconvert, having a js link makes a huge difference
Jonathan Frederic
@jdfreder
Dec 04 2014 17:46
@jasongrout another question pending for you
waiting for youtube to catch up
Jason Grout
@jasongrout
Dec 04 2014 17:46
in the other repo?
merged in the other repo? or in core?
I would push for it being merged into a separate repo
I'm trying to figure out what the lag is by seeing how long it takes you guys to react to my answers :)
Jonathan Frederic
@jdfreder
Dec 04 2014 17:47
FYI- ~2.5 s round trip to the moon
Jason Grout
@jasongrout
Dec 04 2014 17:48
I think it does need to be rebased. I can do that.
Fernando Perez
@fperez
Dec 04 2014 17:48
yup, pinged you on that.
tx
tx @jdfreder :)
Jason Grout
@jasongrout
Dec 04 2014 17:48
I have lots of thoughts about the single cell too :)O
Fernando Perez
@fperez
Dec 04 2014 17:49
I imagine!!
Jason Grout
@jasongrout
Dec 04 2014 17:49
it's huge to be able to embed the single cell into other web pages
Brian E. Granger
@ellisonbg
Dec 04 2014 17:49
Sorry about my connectivity problems
I trust you all to make a good decision 😊
Fernando Perez
@fperez
Dec 04 2014 17:50
bummer Brian.
I did BDFL call and approved it for merge.
Jason Grout
@jasongrout
Dec 04 2014 17:50
yes, but we have connectivity problems. I'll try now.
Fernando Perez
@fperez
Dec 04 2014 17:50
IPython will sponsor you for a phone ;)
Jason Grout
@jasongrout
Dec 04 2014 17:51
oh yeah, I forgot I can use my phone.
Matthias Bussonnier
@Carreau
Dec 04 2014 17:53
Python.notebook.kernel.execute(
       'from IPython.html.widgets import interact\n'+
       '@interact\n'+
       'def fun(n=1):\n'+
       '    print(n)\n',     
         {
               shell : {
                 reply : function(data){console.log('reply',data.content)},
                 payload : {
                   set_next_input : function(data){console.log('sni',data)},
                   page : function(data){console.log('page',data)},
                 }
               },
               iopub : {
                   output : function(data){$("#yyy").append((data.content.data||{'text/plain':'text/plain'})['text/plain']); console.log('output',data.content)},
                   clear_output : function(data){console.log('cloup',data)},
                   get_cell: function(data){console.warn('got celllllll1111111!!!!'); return {widget_subarea:$('#xxx')}}

               },
               input : function(data){console.log('rawin',data)}
         }
       , {silent: false, store_history: true})
Fernando Perez
@fperez
Dec 04 2014 17:53
@jasongrout can you mute yourself ffor aa sec?
Brian E. Granger
@ellisonbg
Dec 04 2014 17:53
I have a phone - can you buy att a new network and google new stuff?
Fernando Perez
@fperez
Dec 04 2014 17:54
your phone seems to be making interf.
yup @ellisonbg, we'll help Google hire some web programmers :)
Jonathan Frederic
@jdfreder
Dec 04 2014 17:54
jason you sound like a bag of bees
:bee:
Jason Grout
@jasongrout
Dec 04 2014 17:57
If I have advance notice, I can bring my laptop to work to participate easier.
Fernando Perez
@fperez
Dec 04 2014 17:58
ok, though it's hard to know when the conversation will really drift your way. The agenda is always posted on hackpad: https://ipython.hackpad.com/2014-IPython-Weekly-Development-Meetings-part-2-bxJTQTtMzh0
Min RK
@minrk
Dec 04 2014 17:58
We'll ping you if we know ahead of time
Jonathan Frederic
@jdfreder
Dec 04 2014 17:59
we can see you @jasongrout !
still sound like bees though...
@ellisonbg the windshield wipers on your car sound funny
Kyle Kelley
@rgbkrk
Dec 04 2014 18:17
I may ask more questions after the call given our audio issue fun.
Kyle Kelley
@rgbkrk
Dec 04 2014 18:26
Did Brian ask for room? I didn't hear that part.
:P
Jason Grout
@jasongrout
Dec 04 2014 18:28
I think next time, if I need to get on, it would be easier if someone could add my phone number to the hangout. It's easier for me to just talk on the phone than to see the audio.
see the hangout video, I mean
Kyle Kelley
@rgbkrk
Dec 04 2014 18:29
Sounds good
Jonathan Frederic
@jdfreder
Dec 04 2014 18:29
I thought we tried doing that when I was out there
but they couldn't find the add by phone number feature
(in hangouts)
Kyle Kelley
@rgbkrk
Dec 04 2014 18:30
Jason Grout
@jasongrout
Dec 04 2014 18:30
for the notes: here are some use-cases for our single cell server: http://sagecell.sagemath.org/static/about.html?v=15adefe8b7e89fcf49eda7af5303abd4#in-use
Kyle Kelley
@rgbkrk
Dec 04 2014 18:30
awesome
Kyle Kelley
@rgbkrk
Dec 04 2014 18:33
Yeah, this is pretty slick
I was going through that one
I also see now why they would want a new kernel for subsections
Standalone whole content with its own namespace
Jason Grout
@jasongrout
Dec 04 2014 19:23
right, that's the idea.
they are working on another grant proposal for enhancing textbooks and materials in the classroom, the sage cell server, and SageMathCloud
If they get the grant, it will be really nice.
Others have mentioned that they use the sage cell server as an easy way to send computations to students or have students send computations back. You just send links.
In Korea, they are using the cell server by embedding QR codes into textbooks. Students can then go right to the relevant computation on their phones by decoding the QR code.
That "Share" button down at the bottom of the cell input has been a great thing.
Jason Grout
@jasongrout
Dec 04 2014 19:41
@jdfreder - in your limitless free time, ipython/ipython#7093 could use a review :)
Jonathan Frederic
@jdfreder
Dec 04 2014 19:52
Reviewing :)
Actually :toilet: break, then reviewing
Fernando Perez
@fperez
Dec 04 2014 19:54
Hey guys, just noticed what seems to be a bug in creating an nb programatically (I was trying to update my old recipe to answer a question on-list)
Thomas Kluyver
@takluyver
Dec 04 2014 19:55
the third argument to write should be a version number, not ipynb
it should have a better error message, though
Jonathan Frederic
@jdfreder
Dec 04 2014 21:40
@jasongrout sorry for the delay
just left a comment in your PR
Jason Grout
@jasongrout
Dec 04 2014 22:58
@jdfreder -- so...do I need to do anything else for #7093?