JupyterLab Desktop App now available
blog.jupyter.org
blog.jupyter.org
That said, a desktop JupyterLab is still very valuable as it increases accessibility dramatically, but it's no longer the only player in the space.
Some more demos: https://code.visualstudio.com/learn/educators/notebooks
Once the extensions are installed, just open an .ipynb file in VS Code.
I know VS Code has been making progress recently but a good jupyter competitor with some halfway decent software development features would be a game changer.
And since rMarkdown just uses pandoc under the hood, it's a bit unfair to say it has better export options than ipynb which is also supported by pandoc.
I've switched to that instead of notebooks, and loving the text-based life... gittable, diffable, peer-reviewable code, etc.
Imagine you want to read a lot of data from csv file and plot a graph of it. But then you realize that the alpha value used for graph should be 0.3 rather than 0.1. In real env, you would need to read the huge amount of data again. In notebooks, you avoid that!
The problem come when you want to make that process reusable for other CSVs, on other machines, in other environments, to repeat it in the future, to test components of it, to make and track changes over time, to share with a coworker, etc.
Similarly, comments about ‘how do I distribute a Smalltalk program if it’s just the image of the entire VM’ rhyme just a bit to my ear with ‘how do I share my notebook with my coworker if it’s really the agglomerated state of my interpreter and language environment’
No big deal other that talking rumors without reading manuals.
What I love about VS Code Notebooks - it's almost zero context switching to jump from the the code you are working on to a REPL and back.
What I don't love about VS Code Notebooks (and why I still spend a lot of time in JupyterLab) - the context gets confused as to what cell you are in frequently - so your Ctrl-Enter keys don't work, and you have to manually run each cell one at a time.
~Removed comment about graphs not being inline~ - I stand corrected. Just checked an the latest version does let you show your graphs inline. And they look awesome.
Hmm? The latest demos seem to imply that a plt.show() does embed the plot images into the Notebook.
The major limit on cell outputs is more limited interactivity.
Pyviz (panel, holoviews, etc) interactivity doesn't look like it works yet. Ipywidgets might be enough, though!
JupyterLab has had debugging for a while. It seems to be broken in both VSCode and Jupyter, though (or, rather, it hasn't broken on the breakpoints, where it ought to have broken). Ah well, probably needs more futzing around with the kernel.
The extension that enables Jupyter Notebooks is here: https://github.com/Microsoft/vscode-jupyter
That said the convert jupyter NB to Python in VS saves a lot of time.
I'm surprised to see it recommended on HN, it still felt "alpha" to me.
I still run jupterlab for my "main" environment, but I've been using VSCode to explore notebooks I download from the web. Very convenient.
I ended up including a full copy of Python using https://github.com/indygreg/python-build-standalone - it looks like they've bundled a Conda environment using https://github.com/conda/constructor
I wrote up detailed notes on how I solved the Python bundling problem in https://simonwillison.net/2021/Sep/8/datasette-desktop/#how-... and in https://til.simonwillison.net/electron/python-inside-electro...
Wish I had some of these tutorials. Thanks for posting.
Now imagine that it comes with Postgres.app as well (with a little glue to turn it on via a button in the Jupyter UI, and automatic off when the server shuts down...), and the xeus-sql kernel.
If this gets halfway decent reviews, this is how I'm going to tell people to learn to program. No more needing to learn how the terminal works, explaining what a binary is, what an interpreter is, etc. All of that can come later.
PowerShell, C#, F#, Python, in notebooks: https://devblogs.microsoft.com/dotnet/net-interactive-is-her...
I was able to run a VSCode session ("Code Space") hosted by GutHub, the front end on an unmodified Amazon Kindle Fire HD that I got for $100.
Another case of Microsoft playing the role of iceberg to Jupyter.org's Titanic? Somehow, I think not. They all seem to be having fun. But I'm an optimist. I think notebooks are a big step forward.
1) How is JupyterLab App different from the JupyterLab? Is it just the same thing packaged in the electron app?
2) It comes with it’s own conda environment. But can it ran in my conda environment? Which is pretty much a requirement for any serious project.
I am unsure of what problem this is trying to solve as common use is to use Jupyter Lab remotely and then tunnel in to run excitements on a large cloud instance.
A single download with relevant packages, bundled python env, and a nice front end interface (jupyterlab) sounds like a great idea to me.
What I really want to be able to do is point people to the Windows Store python / Apple default python.
Then alt-tab on Windows or something like rofi finds your browser windows by name.
I find notebooks tend to get messy very fast, a lot of scrolling and forgetting where certain cells are and what context is at the point, did you do any tests before, has a variable changed.
What I wanted was a production panel and a explore panel. To separate the exploring from the production code.
Maybe panels, maybe colour coded maybe hiding cells except a title. Anyway to stop the mindless scrolling.
Cells should be searchable via the first comment similar to sublime @funtion_name will take you to that function.
I spend half my time scrolling around getting lost.
I often cut cells and move them around to a new context which is time consuming and I have lost cells more than once by forgetting to paste them and copying something else mid way scrolling up the page. Would be nice to have a have a panel for saved cells where I can call by !call:cell_name or similar.
Notebooks are very helpful, has anyone found any ways to solve these problems?
Using this, I never have to copy and paste "production code" into "exploration code/notebook", because I simply select the part that I want to test in the production code, and then type in some key mapping to run it.
Another similar tool, but maybe more data science focused, is Simon Willison's Datasette [1].
seems like the desktop app doesn't support extensions yet (need my vim and snippets), so I'll stick to the original for now.
They all have their own versions of packages used for displaying video/images/HTML, and how they handle the inclusion of external JavaScript, e.g. where Jupyter Notebook (classic) uses Require JS
I hope the Desktop App doesn't introduce another variation!
With the large increase of people getting into data science these kinds of apps that help them to start using popular libraries and make coding easier is crucial.
What problem is this trying to solve?
Maybe novice programmers who don't know about pip?
First, install Python 3.
Oh wait... you probably need Homebrew to do that. So install Homebrew.
... but Homebrew needs Xcode, so install that first.
OK, assuming you've now got a working python3, you should probably use a virtual environment to avoid messing up your system. So learn what those are.
Or maybe you should use pipx for that? So go and learn what pipx is, how to install it and how to use it.
Done all of that? Great, now you can install JupyterLab and start using it!