These are chat archives for ipython/ipython

24th
Jul 2015
Anton Akhmerov
@akhmerov
Jul 24 2015 16:05

Hi everyone, I'd like to bring up an eternal question of notebooks and version control. I know about the following related projects:

Am I missing anything? Is there already a place summarizing relevant projects? Is there a dev team plan for VCS?

Personally I find the ipymd approach most appealing because it's human-readable without a notebook server. However right now its usefulness is limited since it forgets all the outputs.
Jason Grout
@jasongrout
Jul 24 2015 16:12
seems like we should be able to preserve outputs, even if it's not very readable, in the md format
+1 to having a much more human-readable, diffable format.
Anton Akhmerov
@akhmerov
Jul 24 2015 16:15
Perhaps some combination of ipymd and nbexplode or recombinecm, where all the outputs are stored separately and are referred to from an md file?
It'd be relatively simple with image output, since one could just use ![](outputs/img123.png), but images are but a single type of useful output that's nice to preserve.
Brian E. Granger
@ellisonbg
Jul 24 2015 16:27
A lot of us are traveling this week, could you bring this up on the main Jupyter google group? It is an important topic that we should discuss together
Anton Akhmerov
@akhmerov
Jul 24 2015 16:27
OK, sure.
Remi Rampin
@remram44
Jul 24 2015 18:13
In ipython --help-all, I notice that --KernelManager.kernel_cmd says "DEPRECATED: Use kernel_name", but I can't see that kernel_name option listed
and --KernelManager.kernel_cmd doesn't seem to have any effect
Min RK
@minrk
Jul 24 2015 18:19
Hm.
In the qtconsole?
Remi Rampin
@remram44
Jul 24 2015 18:19
sorry no, the notebook
Min RK
@minrk
Jul 24 2015 18:19
Oh. There's no reason to specify either in the notebook anymore.
IPython 3 adds a notion of 'kernelspec'.
There is now a dropdown menu of available kernels, which you can select between.
You don't need to restart the notebook to change what kernel you are using, just pick a different kernelspec for each notebook.
Remi Rampin
@remram44
Jul 24 2015 18:21
So maybe the --KernelManager.kernel_cmd option should be removed, given that its help message is wrong and that it doesn't work
FYI I stumbled on it from https://github.com/dsblank/simple_kernel
Min RK
@minrk
Jul 24 2015 18:35
It's deprecated. Last I checked, it did work. It will be removed.
Remi Rampin
@remram44
Jul 24 2015 20:14
Deprecated is for things that work but will be removed
there's no reason to wait for whatever your deprecation cycle is if it's already broken
Min RK
@minrk
Jul 24 2015 20:30
Like I said, last I checked it did work. It may be that it only has an effect elsewhere than the notebook (qtconsole, etc.).
Remi Rampin
@remram44
Jul 24 2015 20:33
I see -- there is no requirement that the settings listed by notebook --help-all apply to the notebook. I haven't tested with other frontends, but it's very probably that it works there (only the notebook has this kernelspec stuff)
it's fine then, I did write a kernelspec
Remi Rampin
@remram44
Jul 24 2015 21:35
How does IPython.parallel work? Kernel messages are JSON. Do you just pickle-base64-json objects?