<br><br><div class="gmail_quote">On Mon, Jan 28, 2013 at 6:02 PM, W. Trevor King <span dir="ltr"><<a href="mailto:wking@tremily.us" target="_blank">wking@tremily.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I've been browsing through the docs and source off and on over the<br>
past few days trying to get a handle on a collaborative IPython<br>
workflow.  There's a “collaborative scenarios” hint in<br>
docs/source/development/messaging.txt and talk of an --existing option<br>
in docs/source/interactive/qtconsole.txt.  It looks like the support<br>
for the connect_info magic lives in IPython/zmq/zmqshell.py, but<br>
support for --existing seems spotty (it's only supported by the<br>
IPython/frontend/consoleapp.py,<br>
IPython/frontend/terminal/console/app.py, and<br>
IPython/frontend/qt/console/qtconsoleapp.py frontends, as far as I can<br>
tell).<br>
<br>
Is this still a work in progress?  Is some sort of collaborative<br>
session sharing in the pipes?  It looks like the kernel only handles<br>
Python command execution (without notebook extensions like input cells<br>
and Markdown rendering), so the collaborative use would only be<br>
sharing a central, kernel-bound Python context.<br></blockquote><div><br></div><div>Real collaborative integration is absolutely in the works for the notebook.</div><div>This will require a significant change to how the notebook handles saving</div>

<div>and document state, but it is one of our highest priorities.</div><div><br></div><div>Note that notebook session sharing and kernel sharing are two related, but not identical things.</div><div>Sharing a notebook means sharing the entire document state (cells, etc.).</div>

<div>Sharing a kernel *only* means sharing execution state - this is what we already have today in all contexts (including the notebook with the caveat that notebooks cannot connect to kernels started outside the notebook server).</div>

<div>The kernel is never going to get document state.</div><div><br></div><div>We do not have any plans to have synchronous sessions</div><div>including input and output in the terminal or qtconsole,</div><div>though the only missing piece is actually the UI - 100% of the </div>

<div>technical considerations are already done,</div><div>as input and output are broadcast to peer frontends.</div><div>Currently, however, those messages are discarded by the peers,</div><div>but they could just as easily be displayed.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
My end-goal is to get some sort of recording and playback for<br>
notebooks at the cell-action level (e.g. Markdown cell rendering,<br>
Python cell execution, …), and it seemed like a logging “frontend”<br>
could be attached as a collaborator to an existing notebook<br>
frontend/kernel.  Then the log could be played back using a playback<br>
“frontend” and viewed in a collaborating notebook.<br></blockquote><div><br></div><div>This is our goal as well.  We are currently working on a Javascript 'playback'</div><div>mode for notebook-as-screencast type work (<a href="https://github.com/ipython/ipython/issues/2832">#2832</a>),</div>

<div>which is a different, and significantly simpler problem relative to live collaboration.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks,<br>
Trevor<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
This email may be signed or encrypted with GnuPG (<a href="http://www.gnupg.org" target="_blank">http://www.gnupg.org</a>).<br>
For more information, see <a href="http://en.wikipedia.org/wiki/Pretty_Good_Privacy" target="_blank">http://en.wikipedia.org/wiki/Pretty_Good_Privacy</a><br>
</font></span><br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div><br>