News for hackers. Stuff that matters.
Re:JupyterCon: I don't like Notebooks [slides] by daveguy on Tuesday August 28, 2018 @08:59AM (#17858441)
I don't even like it for initial experimentation and exploration. Much prefer the command line repl (the jupyter/ipython one). Faster feedback and easier navigation then you can just export the history when you're ready to capture and make permanent some workflow. It still requires going through and picking out the important bits, but reading the history like a story of commands is generally enough to pick out the important parts.

The only thing I would use notebooks for is demonstration / teaching.

Re:JupyterCon: I don't like Notebooks [slides] by cdancette on Tuesday August 28, 2018 @10:08AM (#17858857)
If you work with image processing, notebooks are very handy as they can display images directly. Also to display tables nicely with pandas, or for any data visualization actually.
Re:JupyterCon: I don't like Notebooks [slides] by bunderbunder on Tuesday August 28, 2018 @10:33AM (#17859041)
That's my problem. I agree that notebooks create a troublesome dev situation, but "%matplotlib inline" and stuff like the pivot table plugin keep me crawling back.
Re:JupyterCon: I don't like Notebooks [slides] by srean on Tuesday August 28, 2018 @12:28PM (#17860171)
Doesn't IPython repl running in a QTconsole terminal do that ?
Re:JupyterCon: I don't like Notebooks [slides] by cdancette on Thursday August 30, 2018 @07:22PM (#17881697)
Yeah but it's less nice, and if you're running on a distant server you have to deal with X forwarding
Re:JupyterCon: I don't like Notebooks [slides] by kovek on Tuesday August 28, 2018 @10:40AM (#17859102)
Will the REPL allow you to easily edit function definitions and then reinterpret them?
Re:JupyterCon: I don't like Notebooks [slides] by rspeer on Tuesday August 28, 2018 @11:08AM (#17859357)
I mean Jupyter doesn't really do that either, right? You can't edit most function definitions. Only ones that you've defined right there in the notebook, and only because you can run the cell that defines them again, overwriting the function.

But if you do use libraries instead of just a huge mess of notebooks, you're stuck if you want to change the code in a well-supported way. You can ask your notebook to monkey-patch the code (which is an even bigger mess), or you can use an unreliable magic extension, "%autoreload".

Re:JupyterCon: I don't like Notebooks [slides] by sstanie on Tuesday August 28, 2018 @04:52PM (#17862775)
Yep, in the ipython REPL if you do

  %load_ext autoreload
  autoreload 2
it'll reload functions from any module you edit each time you run a new command.