These are chat archives for ipython/ipython

11th
Jun 2015
Scott Sanderson
@ssanderson
Jun 11 2015 02:47
@minrk is there an essential reason why frontend detection isn't supported from kernels? it seems like a pretty commonly-requested feature. For use-cases that I've seen it'd be enough for a KernelManager to set an environment variable, e.g. JUPYTER_FRONTEND or somesuch. Is the issue that you could conceivably be talking to the same kernel from multiple different frontends?
Min RK
@minrk
Jun 11 2015 03:45
Mainly because there can be several frontends at the same time.
And there can be many different frontends - we don't want to fall down the user-agent hole, where frontends are claiming to be each other.
Min RK
@minrk
Jun 11 2015 03:57
We've been considering defining __file__ (or JUPYTER_FILE) when a notebook is running.
Thomas Kluyver
@takluyver
Jun 11 2015 04:00
+1 to the user agent point
e.g. if we had something like that from the get go, lots of things would check 'is this the notebook' to see if it could do rich HTML. And then e.g. Rodeo, which is another HTML interface on top of the Jupyter architecture, wouldn't get those. So it would pretend to be the notebook. Commence much madness.
Matthias Bussonnier
@Carreau
Jun 11 2015 04:03
Also about running headless, like nbconvert. Is that a notebook ?
How was lightning talk @takluyver ?
Kyle Kelley
@rgbkrk
Jun 11 2015 12:29
Most of the issue seems to be around stating
Jessica B. Hamrick
@jhamrick
Jun 11 2015 17:41
@takluyver is there a jupyter account or something we should use to setup the nbconvert docs on RTD?
Thomas Kluyver
@takluyver
Jun 11 2015 17:43
I've just set it up on my own account, but we can add owners to a set of docs
"A direct export capability from within the Jupyter Notebook web app is planned."
Jessica B. Hamrick
@jhamrick
Jun 11 2015 17:45
Woohoo!
And hah, whoops
Thomas Kluyver
@takluyver
Jun 11 2015 17:47
I think we should try to avoid documentation that specifically refers to current state, or perhaps have some way to mark it so we can check up on it. It's so liable to get out of date. A bunch of our docs also say 'we now have...', which sounds weird when things aren't new
do you have a RTD username? I'll add you. It mostly doesn't need direct interaction, but it can be useful to see build logs etc.
Jessica B. Hamrick
@jhamrick
Jun 11 2015 17:48
Yep, it’s jhamrick
And yeah, that’s probably a good idea to avoid stuff that refers to the current state
Thomas Kluyver
@takluyver
Jun 11 2015 17:52
great, added you :-)
Thomas Kluyver
@takluyver
Jun 11 2015 18:09
I've made an RTD issue with @Carreau's suggestion of configuring readthedocs by putting a config file into the repo.
rtfd/readthedocs.org#1336
Nathan Goldbaum
@ngoldbaum
Jun 11 2015 23:12
so a little bird just told me that bitbucket it working on adding a rich viewer for jupyter notebooks :)
should be out soon, I think
Kyle Kelley
@rgbkrk
Jun 11 2015 23:19
That's awesome!
apparently if nbdiff supported ipython 3 they could add nice diffing too