Re:The Jupyter+Git problem is now solved
by SpriglyElixir12 on Wednesday July 19, 2023 @11:25AM
(#36787983)
What is the difference between the two? Googling it shows some comparisons between jupyter lab vs notebook but I can't find anything on plain jupyter.
Re:The Jupyter+Git problem is now solved
by sdfghswe on Wednesday July 19, 2023 @11:34AM
(#36788112)
Jupyter is the protocol to communicate between a frontend and a backend.
Jupyter notebooks is an interactive notebook that implements that protocol.
Do you know what also implements the protocol? VS Code. And doesn't have any of the stupid problems that the Jupyter notebooks do.
Re:The Jupyter+Git problem is now solved
by Noumenon72 on Wednesday July 19, 2023 @02:37PM
(#36791181)
Are you saying that VS Code also lets you do all of the "Run just this cell" that notebooks do?
Yes.
In VS Code if you do as below:
#%%
print("my python print")
#%%
Then you can run it as a cell. Crucially however, note that those delimiters are ALSO valid python code. So you just version as with everything else.
There isn’t a problem any more with notebooks and git because nbdev now provides a merge driver. So it’s fine to use notebooks with git now.
Thanks, but this is a bit pedantic. For most people Jupyter is the notebook. You could just as well call the other one the "Jupyter protocol".
It's not pedantic, it's a huge difference.
If I said "the problem is now solved, just use VS Code", most people would say "but that's not jupyter, i need the interactivity aspect", not realizing that VS Code is just as interactive (thank to jupyter).
The problem is Jupyter notebooks+Git.
The solution is use Jupyter, but not Jupyter notebooks.