Earlier quoted context omitted.
ob-ipython enables IDE-like editing features within the code cells. It's embedded in a polyglot, git-friendly, literate programming environment called Org-mode. I use it every day and love it. Other goodies: - easily manage multiple kernels (in different languages / machines) in one file - tree-based organization manages complexity better than linear notebooks - no browser in sight (unless you need interactive widget…
Interesting. I use emacs for hacking Python but I've never heard of this tool. Do you actually use this for software development or is it more of a data-science-type exploration tool?
The Future of Notebooks: Lessons from JupyterCon
101–110 of 158 posts
Re: The Future of Notebooks: Lessons from JupyterCon
#102I don't get the people here saying don't use Jupyter notebooks, or they are bad software engineering. So much Python development is trying snippets of code in a REPL as you introspect live objects, then once they're right pasting them into the IDE. All my Jupyter notebooks are like that, where my code starts as cells of a line or two, as I check each output. Then I coalesce them into a function (which avoid the probl…
Re: The Future of Notebooks: Lessons from JupyterCon
#103Re: The Future of Notebooks: Lessons from JupyterCon
#104I understand why they became popular, but as a software engineer considering how they work, I am just full of disappointment. we're going to spend the next ten years re-inventing every single software engineering best practice for jupyter's weirdo environment.
Re: The Future of Notebooks: Lessons from JupyterCon
#105I don't get the people here saying don't use Jupyter notebooks, or they are bad software engineering. So much Python development is trying snippets of code in a REPL as you introspect live objects, then once they're right pasting them into the IDE. All my Jupyter notebooks are like that, where my code starts as cells of a line or two, as I check each output. Then I coalesce them into a function (which avoid the probl…
> Over time, I expect editors like VSCode to edit Jupyter notebooks natively. Please, please, please. Given the rising importance of interactive programming, I really think it deserves more than a extension to give us a seamless experience.
Re: The Future of Notebooks: Lessons from JupyterCon
#106Earlier quoted context omitted.
Jupyter is also really useful for figuring out how you want to do something before you copy it to your IDE. Every time I work with a new API or library I try it out in jupyter first.
What are the benefits of this vs just an integrated repl?
Re: The Future of Notebooks: Lessons from JupyterCon
#107You should never use notebooks - period. My TL;DR: • Confusing for beginners • Encourage bad practices • Poor editor
Re: The Future of Notebooks: Lessons from JupyterCon
#108I don't get the people here saying don't use Jupyter notebooks, or they are bad software engineering. So much Python development is trying snippets of code in a REPL as you introspect live objects, then once they're right pasting them into the IDE. All my Jupyter notebooks are like that, where my code starts as cells of a line or two, as I check each output. Then I coalesce them into a function (which avoid the probl…
Jupyter code is draft code. Draft code rarely makes into clean code, because it requires extra tedious effort. Most of us are too overworked to have the time or energy to perform it. Alternatively one can write exploratory code as unit tests and run them inside an IDE. When the exploration is done, three quarters of the tedious cleanup effort is already done. There are already unit tests. There are already APIs exerc…
> Alternatively one can write exploratory code as unit tests and run them inside an IDE. When the exploration is done, three quarters of the tedious cleanup effort is already done. There are already unit tests. There are already APIs exercised by the unit tests. The code is in much better shape.
Re: The Future of Notebooks: Lessons from JupyterCon
#109Earlier quoted context omitted.
Jupyter notebooks are for data science, mostly because visualization is required. Something you do once, report it and it is done. Itsn't make sense to use Jupyter for other stuff. It doesn't make much sense to use them for training big models of deep learning because there are better tools for that.
What tools can you recommend for machine learning?
Re: The Future of Notebooks: Lessons from JupyterCon
#110I don't get the people here saying don't use Jupyter notebooks, or they are bad software engineering. So much Python development is trying snippets of code in a REPL as you introspect live objects, then once they're right pasting them into the IDE. All my Jupyter notebooks are like that, where my code starts as cells of a line or two, as I check each output. Then I coalesce them into a function (which avoid the probl…
Then: `pytest -s play.py`
I just don’t understand what the appeal of Jupyter is, but iPython is great.