News for hackers. Stuff that matters.
Re:What’s wrong with computational notebooks? by tgb on Monday January 27, 2020 @09:12PM (#22165790)
But, strangely, Jupyter doesn't also give you a REPL (like, say, R Studio does). I'm always making new cells in the middle to output the column names of my spreadsheet, and then I have to delete them. I used to just always have an ipython REPL running and test things out in there as I write. You can start a ipython instance on the same kernel but I found that messed up my plots when I did that IIRC.
Re:What’s wrong with computational notebooks? by ivirshup on Monday January 27, 2020 @09:59PM (#22166038)
You can get a REPL attached to a notebook in jupyter. When you open a console in jupyter-lab you have the option of attaching it to an already running kernel. Using the notebook interface you can connect a console using `jupyter console --existing`. By default this connects to the most recent session, but you can also specify a session by passing a token.
Re:What’s wrong with computational notebooks? by tgb on Thursday January 30, 2020 @07:11AM (#22190794)
Yeah, but problems with that are what my last sentence referred to. I didn't try debugging it for long, though.
Re:What’s wrong with computational notebooks? by SiempreViernes on Tuesday January 28, 2020 @06:31AM (#22168394)
Just get the extension: https://jupyter-contrib-nbextensions.readthedocs.io/en/lates...

there are quite a few very useful ones, my favourite being collapsible headings: https://jupyter-contrib-nbextensions.readthedocs.io/en/lates...

Re:What’s wrong with computational notebooks? by sillysaurusx on Monday January 27, 2020 @09:25PM (#22165867)
Yes! I've wanted this too.

Colab has a nice feature that's close to this: Insert -> Scratch code cell