Sort of like a combination of GFX.js: https://github.com/clementfarabet/gfx.js/ and PyWidgets, except widgets are no longer constrained to a single cell and the interface is not limited to cells.
This would make it really easy to prototype IDEs and other programming tools in the browser or on native clients - in general it's pretty hard to write an IDE or graphical tool because one needs to integrate system calls to whatever graphics frontend they are writing. However, Jupyter's kernel architecture gives that away for free.
Starting with Ipython Notebook, but a little unwieldy sometimes. I really hope they keep improving. It seems like all the cool features were introduced early on and then over time there has been almost no progress in the areas I've been using it for.
Some of my criticisms that I hope somone has a good workaround for for now:
Issues I have with it that are not bugs:
- Have to keep a separate firefox profile so that the notebooks don't get lost among other tabs. Maybe a separate built-in Firefox profile or chromium browser would help or maybe its own built in browser that would make it more of an IDE.
- Stores data frames and such in memory. Not clear which variables are taking up all the space. I guess restart the kernel... This is not as much of a problem with Ipython because those sessions tend to be more ephemeral. So tracking of variables by memory usage would be wonderful.
- Freedom to edit any cell results in a bit of a mess quickly with out of order execution of things. Probably some kind of organizational strategy they could encourage through the UI would be great. Otherwise, reading others' notebooks is impossible unless they polished it for some time.
- Scrolling is really bad if a command created a lot of output.
- Searching through worksheet is not intuitive. Always have to look up ipython manual.
Issue that I think is a bug and is the major reason I'm not using it more often:
- Cannot reload modules easily. %load_ext autoreload %autoreload 2 doesn't work. %autoreload 1 doesn't work.
Tested on OSX and Linux.
Sometimes after messing with it for a while it starts working for a bit but then segfaults. I should look into this more.
Same problem with ipython, but this is more of an issue with the notebook because it has more of a permanent state than terminal sessions. You end up having to restart the kernel and lose everything in memory, which is the main reason to use the notebook in the first place.
It would be really cool if there was a feature that let you know when you modified a function but are using the result of it that was obtained before modifying it. Or if you modified a module but are using the old version.
Is it possible to run it in a tab-less chrome/ff instance through arguments? If not, this should be possible.
The critical missing features in my opinion are 'undo' and proper integration with Git (or another VCS).
Semi-technical boss comes to me and says "Hey look! I wrote this cool SQL query to figure out what time of day our service is being used most. Can you turn it into a heatmap?"
And of course you know if you do something like this once, you will be asked to do it again, until pretty soon you will be expected to do it automatically every week or something.
So: Jupyter notebook to the rescue. Query the DB, wave hands a few times, produce a heatmap (total lines of python: about 10). Then give boss the notebook and tell him if he wants to update or modify, have at it, here's where your query is.
I never have to deal with it again, it's self-documenting and transparently future-friendly (anybody with an ounce of sense can edit it) and it looks all mathematica and stuff. Case closed.
Once I'm done, I can document it inline with markdown and latex.
Also (a bit) for playing around with new libraries / databases etc. (Much better than both Python scripts (need to be rerun from scratch) and Python shell.)
I've been out of the loop for some time it seems -- what is this 'Jupyter'? It looks like it's basically ipython... how is it different from ipython? Is it ipython2.0 in spirit or something?
Including Bash, huh? I remember I used to think that if only a few things were different in ipython I would actually use it as my main terminal window. With Jupyter running bash, are people using it as their main terminal now?