These are chat archives for ipython/ipython

26th
Feb 2015
Sylvain Corlay
@SylvainCorlay
Feb 26 2015 00:01
great!
David P. Sanders
@dpsanders
Feb 26 2015 00:42
Hi, just a quick question -- is there an easy way to use the R kernel on Windows? I am helping a biology student who has a terrible R work"flow" and would like to make their life a bit easier. (But I have no idea about Windows.) IPython 3 is looking really great, by the way, congrats to all :)
Min RK
@minrk
Feb 26 2015 00:45
I'm not sure there are many (or any) people with the right cross section of expertise for that one.
David P. Sanders
@dpsanders
Feb 26 2015 00:46
Hehe, right, that's the feeling I had.
Thomas Kluyver
@takluyver
Feb 26 2015 00:50
there are some people working on Windows support for the R kernel. It's the ZMQ bindings that are hardest.
but at present, no, I don't think there's anything easy I can recommend.
David P. Sanders
@dpsanders
Feb 26 2015 00:51
OK, thanks. I'll have a look at RStudio for the moment, then.
(Though I feel like I'm betraying the team ;) )
Min RK
@minrk
Feb 26 2015 00:54
Ha, no worries. RStudio is still great, and much less painful than anything we have on Windows.
David P. Sanders
@dpsanders
Feb 26 2015 00:57
OK, great, thanks.
K.-Michael Aye
@michaelaye
Feb 26 2015 18:15
have u removed the rc1 tag or is my clone kaputt? ;)
Matthias Bussonnier
@Carreau
Feb 26 2015 18:16
Don't think we have removed any tag.
Isn't there supposed to be a meeting today ? (Well nothing on agenda, so I suppose cancelled)
Damian Avila
@damianavila
Feb 26 2015 18:37
Yes, I supposed the same...
K.-Michael Aye
@michaelaye
Feb 26 2015 18:38
weird, can’t remember that I ever had to use the —tags option for pulling in updates to get the tags. My other clones of ipython on other machines got the tags automatically, this one doesn’t. Depends on git version I guess?
Matthias Bussonnier
@Carreau
Feb 26 2015 18:43
Hum, I always had to pull tags manualy.
git config option ?
@/all should release notes mention more about Jupyter/ Jupyterhub ... etc.
Matthias Bussonnier
@Carreau
Feb 26 2015 19:01
are @takluyver and @minrk in BIDS ?
Thomas Kluyver
@takluyver
Feb 26 2015 19:02
yep
Fernando just arrived
Matthias Bussonnier
@Carreau
Feb 26 2015 19:06
Oh, on my way then.
Did come to Barker this morning to be a bit with you :-P
Jonathan Frederic
@jdfreder
Feb 26 2015 19:49
Time to make a pass on the example notebooks...
:zzz:
Min RK
@minrk
Feb 26 2015 19:50
@jdfreder I was thinking of doing the same. What notebooks are you looking at?
Jonathan Frederic
@jdfreder
Feb 26 2015 19:50
I was going to do Notebook/ and Widgets/ folders - just because that's what I usually cover in talks
but I'm willing to cover more
or trade with you
Min RK
@minrk
Feb 26 2015 19:59
that's fine, I just didn't want us to be touching the same files
I'll start elsewhere
Jonathan Frederic
@jdfreder
Feb 26 2015 20:19
@minrk were you planning on filling in Notebook Security ? It's a completely empty notebook in the examples/Notebook directory. It may be some of @ellisonbg 's doc work that didn't get started..?
Jonathan Frederic
@jdfreder
Feb 26 2015 20:27
LOL @ this -> "When it is released in the Summer/Fall of 2014, IPython 3.0 will"
Cyrille Rossant
@rossant
Feb 26 2015 20:31
@jdfreder I think IPython 4.0 was originally planned for two months ago ;)
Matthias Bussonnier
@Carreau
Feb 26 2015 20:31
Rhaaa, late Fall + jet lag. Can't you be flexible ?
ANd technically we have released it, it is just not ready yet.
Promise.all( release, ready)
Jonathan Frederic
@jdfreder
Feb 26 2015 20:31
@rossant it's sad, but you're right :P
Matthias Bussonnier
@Carreau
Feb 26 2015 20:31
it's a :horse:
Jonathan Frederic
@jdfreder
Feb 26 2015 20:31
Lol
those :horse: 's
Cyrille Rossant
@rossant
Feb 26 2015 20:32
you'll soon catch up with Linux's versioning
Jessica B. Hamrick
@jhamrick
Feb 26 2015 20:38
Oops @Carreau we submitted pull requests at basically the exact same time :)
Matthias Bussonnier
@Carreau
Feb 26 2015 20:44
:-P You did more code than I did.
the other question is do we prevent stdin on kernel creation, or on each execute request.
both are fine with me, and I'm happy for you to have more commits in IPython.
Jessica B. Hamrick
@jhamrick
Feb 26 2015 20:46
I think you can override it on each execute request, so it seems like it would be better to do it on kernel creation
e.g. if someone wanted to override the class and have it be enabled some of the time, or something. I can’t actually think of a case where that would happen, though, so it probably doesn’t matter very much.
Matthias Bussonnier
@Carreau
Feb 26 2015 20:48
lets go with yours then.
Jessica B. Hamrick
@jhamrick
Feb 26 2015 20:48
Ok
Matthias Bussonnier
@Carreau
Feb 26 2015 20:48
I'm fine with having it configurable if code is already written .
Jessica B. Hamrick
@jhamrick
Feb 26 2015 20:48
I changed my PR to remove the configurability
@Carreau could you cancel some of the tests on my PR? They don’t all need to run, just the ones for the last commit
Matthias Bussonnier
@Carreau
Feb 26 2015 20:51
I can try
Jessica B. Hamrick
@jhamrick
Feb 26 2015 20:52
Thanks
I wish that travis could tell if you pushed a new commit to a branch, and cancel tests for older commits automatically
Matthias Bussonnier
@Carreau
Feb 26 2015 20:54
That's weird you cannot cancell. These are your commits right ?
Oh, no, they are the merge commit actually.
I see.
Jessica B. Hamrick
@jhamrick
Feb 26 2015 20:54
Ah, that explains it. I had wondered about that before too.
Jessica B. Hamrick
@jhamrick
Feb 26 2015 21:05
Is there a way to interrupt the kernel from a kernel client? I see that the kernel manager can do that, but it doesn’t seem like there’s any way for the client to do so
Matthias Bussonnier
@Carreau
Feb 26 2015 21:10
there shoudl be, the notebook have an 'interupt kernel'
kernel_manager.interrupt_kernel() Or did I missunderstood your request ?
Jessica B. Hamrick
@jhamrick
Feb 26 2015 21:14
Well, essentially, in the execute preprocessor I want it to be able to interrupt the kernel if it times out waiting for a cell to complete, but it only has access to the kernel client, not the kernel manager
Because the run_kernel context manager only returns the client: https://github.com/ipython/ipython/blob/master/IPython/kernel/manager.py#L428
I suppose I could just have it call start_new_kernel rather than using the context manager
Matthias Bussonnier
@Carreau
Feb 26 2015 22:33
@jdfreder around ?
Jonathan Frederic
@jdfreder
Feb 26 2015 22:33
Hey, yeah
Still reading through notebooks
Matthias Bussonnier
@Carreau
Feb 26 2015 22:33
Question js documentation
what the state.
Is there a link to it in the normal docs ? Is there a "narrative" part.
Jonathan Frederic
@jdfreder
Feb 26 2015 22:36
No and no.
The state is that there is a command you can use to build them.
ipython/ipython#7116
Matthias Bussonnier
@Carreau
Feb 26 2015 22:37
Ok. Thanks.
I was just wondering
Jonathan Frederic
@jdfreder
Feb 26 2015 22:37
And that the notebook.js file IIRC is the only one looked at by hand
and whitelisted
ipython/ipython#7096
We just need to go through the remaining JS files that we want documented
and make sure they convert correctly
then add them to the whitelist.