[IPython-dev] Notebook filename badness

Thomas Kluyver takowl@gmail....
Tue Jun 26 19:36:05 CDT 2012


On 27 June 2012 01:17, Brian Granger <ellisonbg@gmail.com> wrote:
> * Because notebook ids are not persisted between sessions of the
> notebook server, you can't refer to them by URL and reload notebook
> pages between server restarts.

This may well be stupid, but is there a good reason we can't, with a
filesystem-based store, use URLs like
"http://localhost:8888/my_notebook.ipynb"? Even if that simply
redirects to a UUID-based URL, it would mean there's a predictable way
to get to them.

> Note, I am not proposing that we do away with the existing notebook manager. We should continue to support it, but we should *not* try to fix its the fundamental problems it has.

The notebook has proven very valuable as a local application, and I
think we should make it work well for that case as well as the webapp
case, even if that means some extra complexity in the code. Maybe I
haven't properly grasped the complexities involved, but the idea that
we should accept fairly serious problems with local use, and focus on
it as a web application, leaves a bad taste in my mouth.

Also, I don't think these problems are entirely unique to the file
system. Notebooks stored in a database still need human readable
names, and I'd still expect some way to handle conflicts in those.
Meaningful URLs would also be nice, regardless of the storage used.

Best wishes,
Thomas


More information about the IPython-dev mailing list