News for hackers. Stuff that matters.
Re:Jupyter Notebook 5.0 by robbles on Tuesday April 04, 2017 @01:53PM (#14035431)
What does "a lot more versatility" mean? Just wondering what the advantages are.

Or do you just mean that R Notebooks are specifically better than the R support in Jupyter?

Re:Jupyter Notebook 5.0 by minimaxir on Tuesday April 04, 2017 @01:58PM (#14035482)
In addition to what I've already said, R Notebooks have native support for widgets, autogenerated TOC, and themes (although all of those can be added to Jupyter I believe). There's also the meta-support from being embedded in an IDE. (package management/variable explorer/etc)

Here's an example of one of my notebooks with all 3 things: http://minimaxir.com/notebooks/breach-network/

It's definitely a better fit for R.

Re:Jupyter Notebook 5.0 by halflings on Tuesday April 04, 2017 @02:49PM (#14035988)
Thanks for the example! That definitely includes a bunch of things I think Jupyter should have, but "purists" might consider out of scope (theming, ToC, something as simple as being able to hide cells interactively).

Currently, Jupyter works well for development, but the result is often hard to read because code gets in the way. (unless you use nbconvert, but that sometimes defeats the purpose)

Re:Jupyter Notebook 5.0 by ciupicri on Tuesday April 04, 2017 @02:10PM (#14035622)
Jupyter notebooks have widgets too, created with combination of Python and JavaScript.
Re:Jupyter Notebook 5.0 by jonathanpoulter on Tuesday April 04, 2017 @03:38PM (#14036423)
Some widgets are pretty advanced, I saw a presentation by a developer from Bloomberg, in NYC, about their bqplot widget library.

https://github.com/bloomberg/bqplot

They even have gamepad/controller support, which allows dynamic interactions with widgets.

Edit: Live demo of the project from PyData London 2016: https://youtu.be/eVET9IYgbao?t=27m45s

Re:Jupyter Notebook 5.0 by skierscott on Wednesday April 05, 2017 @08:36AM (#14041613)
And this depends on ipywidgets (or at least similar - Syvian Corlayhas developed both).

These widgets support embedding in other contexts like static HTML pages or Sphinx docs [1]. An example can be seen on the docs [2]

[1]:http://ipywidgets.readthedocs.io/en/latest/embedding.html

[2]:http://ipywidgets.readthedocs.io/en/latest/examples/Widget%2...

Re:Jupyter Notebook 5.0 by cgriswald on Tuesday April 04, 2017 @03:01PM (#14036072)
I believe you can also embed one inside an IDE. I am pretty sure you can do this with PyCharm.
Re:Jupyter Notebook 5.0 by peatmoss on Tuesday April 04, 2017 @03:28PM (#14036335)
Well, for me the big one is that R Notebooks work cleanly with revision control systems like git.

That said, both Jupyter and R Markdown Notebooks are but a pale shadow of the support offered by Org-mode (seriously!).

Re:Jupyter Notebook 5.0 by jacquesm on Tuesday April 04, 2017 @04:48PM (#14037046)
> That said, both Jupyter and R Markdown Notebooks are but a pale shadow of the support offered by Org-mode (seriously!).

Yes, but the large number of excellent notebooks available for Jupyter (and R as well) all over the web as well as support for CUDA and all kinds of extremely powerful libraries such as tensorflow) give those a serious edge over Org-mode, even though Org-mode is super powerful by itself.

Re:Jupyter Notebook 5.0 by dragandj on Tuesday April 04, 2017 @05:26PM (#14037363)
I run my Clojure + OpenCL + CUDA code from Org-mode without problems.
Re:Jupyter Notebook 5.0 by jacquesm on Tuesday April 04, 2017 @06:56PM (#14038040)
On a remote machine or on your local machine?
Re:Jupyter Notebook 5.0 by taeric on Tuesday April 04, 2017 @07:42PM (#14038331)
Either. :)

If you setup a source block, you can use TRAMP to actually execute the command in a source block on a remote machine. So:

    #+BEGIN_SRC sh :dir /[email protected]:~/remotedir 
      ls
    #+END_SRC
The above will run ls on "remotemachine.com" and put the results in an output block below it.

Edit: Meant to add that you can do the same with docker. Just use "/docker:dockerId:" as the dir, and it will execute in a docker instance locally. Using multihop addresses, this can get extreme.

Re:Jupyter Notebook 5.0 by jacquesm on Tuesday April 04, 2017 @07:44PM (#14038343)
Oh, that's very cool. Almost QNX like!

Org mode is one of the few real literate programming tools that I'm aware of, the other one is 'Leo'.

Re:Jupyter Notebook 5.0 by gpderetta on Wednesday April 05, 2017 @06:57AM (#14041158)
that's it. I'm learning org-mode.
Re:Jupyter Notebook 5.0 by jacquesm on Wednesday April 05, 2017 @07:54AM (#14041377)
Please do a write-up.
Re:Jupyter Notebook 5.0 by taeric on Wednesday April 05, 2017 @12:06PM (#14043111)
If there are examples you'd like to see written up, I'd be interested in helping out.

I used to try complicated examples, which led to pages such as http://taeric.github.io/Sudoku.html. I'm now much more into writeups such as http://www.howardism.org/Technical/Emacs/literate-devops.htm.... (Note, I did not write the second one.)

Re:Jupyter Notebook 5.0 by taeric on Tuesday April 04, 2017 @04:45PM (#14037028)
I always feel guilty pointing out that org-mode can do this really well. :) Thanks for taking that hit!

Know of any good resources that show this for folks that don't know what we are talking about?

Re:Jupyter Notebook 5.0 by txru on Tuesday April 04, 2017 @05:36PM (#14037441)
Are there any public examples of really good Jupyter-like org-mode projects with their source?

I'm really intrigued by it, but Jupyter is much more clearly documented (org docs are downright sprawling), so I've always gone that path.

Re:Jupyter Notebook 5.0 by carreau on Tuesday April 04, 2017 @07:18PM (#14038192)
I would look at atom's Hydrogen https://atom.io/packages/hydrogen
Re:Jupyter Notebook 5.0 by txru on Tuesday April 04, 2017 @07:27PM (#14038245)
Looks like a good demo of Jupyter, but I was looking for demos like this for org-mode.