Hacker News new | ask | show | jobs
by gaius 3113 days ago
I don't understand the Jupyter hype. Sure it's clever that it runs in a browser but it's less capable than the MathCAD I remember using in the 90s.
3 comments

Indeed. I used Maple for the same thing.

I think the hype is due to the fact that the literate programming thing is a good idea but many people haven't seen it before and there aren't many tools for doing it. I just wish I could use a proper editor with Jupyter. Editing in the browser is horrible.

I believe emacs org can be used for this kind of notebook developement, however it looked like a configuration nightmare so I still haven't dived into it.
It's actually pretty easy to set up for general use. I do know and use emacs lisp, but I've not really used any at all for org-mode.

It does support "sessions" which allow persistence across the code throughout the document (you could even have multiple sessions), but the wat it's done for Python is quite hacky. It uses an interactive Python shell so you have to write code as if you're using the shell (double returns etc.) There is a better way using ob-ipython, but after spending a long time getting it to work at all I found it not good enough. Using Jupyter kernels is the way to go, I think, but it would be a lot of work to get it working well with org-mode.

You should give it a go, it's not hard to configure, and it allows you to trivially use several languages in the same file, which is really practical in many cases. It also exports nicely to HTML and PDF (via LaTeX)
If I remember correctly, PyCharm does support Python notebooks. I've used it and it's not terrible.
Apparently PyCharm supports using emacs as an external editor. Interesting. Thanks for the hint.
The key attraction of Jupyter (from what I can tell) is one which is underappreciated in tech.

It provides an accessible, better workflow for common use cases than what most people were using before.

Sure, there are things out there that do a better job. Or are more powerful. But something which requires highly-custom config & training to be hyper productive on by definition means most people aren't using it that way. Same argument for Python as a popular language.

It's free and it Just Works. That's about it.
It's free and it Just Works.

It's painfully clunky for those of us who remember something far slicker 20+ years ago!