I've started reading the code to see how I can plug a custom OT backend but it seems that the notebooks has dependency on google drive.
https://github.com/jupyter/colaboratory/blob/master/colaboratory/resources/colab/notebook.html#L69
Are there plans to make google drive optional and add an API to use a different backend?
Thanks--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/e8e51fd3-a4d9-4224-9dd5-0b54d3678fda%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,I've started reading the code to see how I can plug a custom OT backend but it seems that the notebooks has dependency on google drive.
https://github.com/jupyter/colaboratory/blob/master/colaboratory/resources/colab/notebook.html#L69Colaboratory is **not** IPython notebook.The IPython notebook is here http:/:github.com/ipython/ipythonAnd we are working on integrating google drive as an extension here :We are slowly mergingg colaboratory into main IPython itself,so in the end, the repo you looked at should not really exist beyond historical reason, orfor a fully integrated NaCl app in chrome.
Are there plans to make google drive optional and add an API to use a different backend?I suppose that by OT, you mean Operational Transform, so yes, there are plan.But it ned a significant refactor of javascript, and help would be welcomed.We were thinking of integrating Drive only in a first pass, but if you are interesting in adding somethingelse, have your feedback contribution at the same time would be really appreciated.May I ask which backend you had in mind ?
Colaboratory uses google closure while the iptyhon-notebook doesn't.
Isn't it a complete rewrite of the notebook?
What is the scope of Jupyter and what's the scope of colaboratory?
Yes, I meant Operational Transformation.
This is the cleanest OT client/server implementation I found.
It has CodeMirror support.
I didn't check the Python server but I expect it to work.
https://github.com/Operational-Transformation/ot.js
https://github.com/Operational-Transformation/ot.py
What I'm trying to use ot.js to sync changes to the CodeMirror cells through a server.
The server will also act as a proxy to the kernel. All users will be connected to a single kernel through that proxy.
When a user executes a cell, the result will be sent to all users.
For this should I start with the colaboratory repo or the ipython repo?
--Matthias
Thanks--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/e8e51fd3-a4d9-4224-9dd5-0b54d3678fda%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/f4c97f09-f4f2-4bdb-a2bb-7f32a0366cb5%40googlegroups.com.
As I see it, there are several parts:
- Create a proxy server that receive operations (OT) and the usual notebook protocol.
The proxy will send operations to the OT server and the notebook protocol to Jupyter.
It will also be responsible for saving the notebook and handling permissions.
- Listen to CodeMirror events and send OT operations to the proxy.
- Make the notebook UI modular in case it will be embedded in an interface that will take care of permissions (edit/execute), creating and saving notebooks.
Are there events in the notebook when a cell is created/deleted so we can hook OT?
How can I use the existing Websocket connection to send OT operations?
How can I send the messages to the proxy server and from the proxy server to jupyter/iPython?
Should I start with the ipython notebook code or wait for it to be moved to Jupyter?
https://github.com/ipython/ipython/tree/master/IPython/html/static/notebook
Thank you for the detailed explanation about Juptyer and colaboratory.
It might be helpful to add this to the Juptyer website.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/fd923fd0-0df0-414f-b9de-9e813804d44b%40googlegroups.com.
A similar collaborative iPtyhon notebook concept but probably not open sourced
http://sagemath.blogspot.co.il/2013/09/ipython-notebooks-in-cloud-with.html
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAOvn4qhqgDFeO-tQT_gHO89m7ET2HvKYD%3DqgxMyTJGi%3DX1Sg_g%40mail.gmail.com.