Live data from Hacker News

JupyterLab 4.0

blog.jupyter.org

11–20 of 199 posts

Re: JupyterLab 4.0

#11
Can somebody give me a quick rundown on the difference between JupyterLab and JupyterNotebook? Whose the target audience for each one?

Re: JupyterLab 4.0

#12
post #2

Anyone know about compatibility with existing notebooks? Presumably stellar, right? For now, I need jupytext (which is a great extension), so then I stay with v3.6 until jupytext is resolved. For this announcement - or in the changelog - it would be great to know why it is a major version bump - what is the major compatibility change?

See https://github.com/jupyter/nbformat

Re: JupyterLab 4.0

#13
I keep experimenting with Jupyter in the context of telemetry/fault analysis and then hitting a wall with it where:

- I get an analysis that I like, but there isn't a good way to share it with others, so I end up just taking screenshots.

- There isn't a good way to take the same analysis and plug new data into it, other than to copy-paste the entire notebook.

- The process to "promote" fragments of a notebook into being reusable functions seemed very high-friction: basically you're rewriting it as a normal Python package and then adding that to Jupyter's environment.

- There aren't good boundaries between Jupyter's own Python environment, and that of your notebooks— if you have a dependency which conflicts with one of Jupyter's dependencies, then good luck.

Some or all of these may be wrong or out of date— Jupyter definitely passes the "oooh nifty" smell test, and I'd love to figure out how to make it usable for these longer-term workflows rather than just banging out one-off toys.

Re: JupyterLab 4.0

#14
post #7

I see no mention of an improved debugger. IMHO, the atrocious debugger in JupyterLab is one of the primary reasons why it is difficult to write good code in this environment. Even a simple improvement like remembering the sizes of various subpanels in the debugger sidebar will make me feel like I am not pulling teeth when I use it. And don't get me started on inspecting the value of variables. If you are looking for…

Do you know how it compares to using Visual Studio Code's debugger with notebooks? I'm wanting to find a notebook debugger recommendation for my students.

Have you tried pyCharm? I believe even community (free) edition should have support You are looking for

Re: JupyterLab 4.0

#15

I keep experimenting with Jupyter in the context of telemetry/fault analysis and then hitting a wall with it where: - I get an analysis that I like, but there isn't a good way to share it with others, so I end up just taking screenshots. - There isn't a good way to take the same analysis and plug new data into it, other than to copy-paste the entire notebook. - The process to "promote" fragments of a notebook into be…

At least for the last point I use conda with the nb_conda/nb_conda_kernels packages, which makes you able to switch kernels to different environments.

Re: JupyterLab 4.0

#16

I keep experimenting with Jupyter in the context of telemetry/fault analysis and then hitting a wall with it where: - I get an analysis that I like, but there isn't a good way to share it with others, so I end up just taking screenshots. - There isn't a good way to take the same analysis and plug new data into it, other than to copy-paste the entire notebook. - The process to "promote" fragments of a notebook into be…

> There aren't good boundaries between Jupyter's own Python environment, and that of your notebooks— if you have a dependency which conflicts with one of Jupyter's dependencies, then good luck.

It's cumbersome, and I'm not totally sure it's the correct way, but I remember getting around this by creating a virtualenv for my projects and then using that virtualenv's python as Jupyter's "kernel".

Re: JupyterLab 4.0

#17
post #14
post #7

Earlier quoted context omitted.

Do you know how it compares to using Visual Studio Code's debugger with notebooks? I'm wanting to find a notebook debugger recommendation for my students.

Have you tried pyCharm? I believe even community (free) edition should have support You are looking for

No I haven't, but it looks like the community edition can't do notebooks: https://www.jetbrains.com/help/pycharm/jupyter-notebook-supp...

Re: JupyterLab 4.0

#18
post #11

Can somebody give me a quick rundown on the difference between JupyterLab and JupyterNotebook? Whose the target audience for each one?

The Jupyter Notebook interface/server just opens singular notebooks (i.e. one notebook per browser tab).

Jupyter Lab is an IDE where you can open notebooks, files, terminals, etc all in one interface. Additionally, you can easily adjust the layout of open files (want notebooks side by side? Click one notebook's tab and drag it to one side of the screen. Want a terminal on the bottom of the screen? Open a terminal and drag its tab to the bottom of the screen. Want 3+ notebooks side by side? Click and drag. Etc).

I basically only use the Jupyter Lab interface when I'm working with notebooks (sorry about using the term notebooks so much, it's a synonym for a .ipynb file as well as the name of a server mode Jupyter offers).

Re: JupyterLab 4.0

#19

I keep experimenting with Jupyter in the context of telemetry/fault analysis and then hitting a wall with it where: - I get an analysis that I like, but there isn't a good way to share it with others, so I end up just taking screenshots. - There isn't a good way to take the same analysis and plug new data into it, other than to copy-paste the entire notebook. - The process to "promote" fragments of a notebook into be…

What do you use to collect telemetry data?
Post reply on HN