Live data from Hacker News

Jupyter Notebook 7

blog.jupyter.org

71–80 of 118 posts

Re: Jupyter Notebook 7

#71
post #12

I have never understood the appeal of this. You can generate good looking presentations, but that is all. Is any real science done with this or is it the Powerpoint for PyCon talks?

I didn‘t „get“ Jupyter the first time it used it. A year later it clicked. A Notebook keeps state while you write it. This is different from IDEs, where programs lose state while you are writing code. Now I use it all the time - next to an open IDE, as a playground to quickly test ideas and algorithms.

This is critically important when one step of your analysis takes 10+ minutes to run. You want to be able to explore the output and not worry about rerunning all the calculations like a file/IDE based tool would.

Reactive notebooks are nice but I’ve accidentally reran slow SQL queries because I updated an upstream cell and that’s painful (using Pluto, ObservableHQ, and HexComputing).

In practice I never see or create notebooks that don’t run when you push the run-all button, it’s a well understood and easily avoidable issue. It’s probably a local optimum but I’m happy with them.

Re: Jupyter Notebook 7

#72
post #63
post #59

Earlier quoted context omitted.

100% agreed. I can't stand Medium. Much <3 to the Jupyter team. Github pages + Jekyll is performant!

Oh I really like Jupyter too. I don't want them to have a bunch of extra overhead or to roll their own blogging engine or anything - though I have experimented with Jupyter notebooks for writing simple technical blogs and it's actually pretty nice.

I have a github-hosted blog (roderick.dev) to which I woefully dedicate too little time. But adding it is as simple as writing markdown and putting a new entry in _posts.

Re: Jupyter Notebook 7

#73
post #47

Man Open Source software should not post announcements like this using a blogging platform that nags you to pay to view posts. Like it's possible to dismiss the prompt and view the post (for now at least) but something about that definitely feels off.

Getting paid feels off?

Re: Jupyter Notebook 7

#74
post #4

> Both Jupyter Notebook and JupyterLab are widely used across data science, machine learning, computational research, and education. Are they though? Does anyone actually use JupyterLab by choice? From what I've seen people love Jupyter Notebook but find JupyterLab misses the mark (and this is certainly my experience).

I primarily use Jupyter Lab. I have some frustrations but I generally like being able to manage multiple kernels from one notebook, having multiple views into one notebook, having context-sensitive help, and having some of the other features that were only in Lab. That being said, I'm glad they've switched course and continue to work on Notebook once it became clear some people preferred it to Lab. With some of the a…

How does mixing and matching kernels in one notebook work? Can you directly exchange data between cells of different kernel types somehow? Do you go through the filesystem or some kind of in-memory serialization?

(I'm sorry for the questions that could be answered from documentation, but I can't find the docs on this feature! I have been wanting to specify data cells in a notebook, like the markdown cells, and then reference their contents from a code cell)

Re: Jupyter Notebook 7

#75
I am curious how do you use Jupyter?

For me, it used to be Jupyter Notebook. For reasons I cannot pinpoint, I never got convinced to JupyterLab. Sometimes I use Google Colab, primarily for sharing and using GPU for deep learning. Now, when I run it locally, I do it in Visual Studio Code (https://code.visualstudio.com/docs/datascience/jupyter-noteb...), since I don't need to jump back and forth between it and the rest of the code.

Re: Jupyter Notebook 7

#76
post #75

I am curious how do you use Jupyter? For me, it used to be Jupyter Notebook. For reasons I cannot pinpoint, I never got convinced to JupyterLab. Sometimes I use Google Colab, primarily for sharing and using GPU for deep learning. Now, when I run it locally, I do it in Visual Studio Code ( https://code.visualstudio.com/docs/datascience/jupyter-noteb... ), since I don't need to jump back and forth between it and the re…

I repeatedly ran into bugs and unpleasant behaviours in the VSC version, so I stick with browser notebooks. I did not find the lab version to be an improvement either.

Re: Jupyter Notebook 7

#77
post #75

I am curious how do you use Jupyter? For me, it used to be Jupyter Notebook. For reasons I cannot pinpoint, I never got convinced to JupyterLab. Sometimes I use Google Colab, primarily for sharing and using GPU for deep learning. Now, when I run it locally, I do it in Visual Studio Code ( https://code.visualstudio.com/docs/datascience/jupyter-noteb... ), since I don't need to jump back and forth between it and the re…

Same here - VS Code or Google Colab if I need an Nvidia GPU. I wish I could get Google Colab's GPU in VS Code, like Paperspace lets you do: https://docs.paperspace.com/gradient/notebooks/notebooks-rem....

Re: Jupyter Notebook 7

#78
post #47

Man Open Source software should not post announcements like this using a blogging platform that nags you to pay to view posts. Like it's possible to dismiss the prompt and view the post (for now at least) but something about that definitely feels off.

I don't share the popular anti-Medium sentiment. For many occasional bloggers, it makes sense; otherwise, they would post in the walled gardens of Facebook and LinkedIn, as thread-monsters on Twitter, or - not at all.

Still, for a large open-source project, there is no overhead in using a static site generator. And plenty of benefits.

The good news is that moving your stuff from Medium to such is easy. Up to you if you pick Jekyll, Gridsome, Gatsby, or something else. See (full disclaimer: my blog post) https://p.migdal.pl/blog/2022/12/new-blog-from-medium-to-gri....

Re: Jupyter Notebook 7

#79
post #55

Timely! I just deployed it on our company server. There's a hidden gem that's not enabled by default and really helps when pair programming in Jupyter: https://jupyterlab.readthedocs.io/en/stable/user/rtc.html Here's a Dockerfile that enables it: FROM jupyter/scipy-notebook:2023-07-25 RUN pip install jupyter-collaboration ENV DOCKER_STACKS_JUPYTER_CMD="lab --collaborative" Usage: docker build . -t jupyter-collaborati…

Jupyterhub can deploy multiple servers, but so far I’ve only deployed it in Kubernetes.
Post reply on HN