News for hackers. Stuff that matters.
Re:Colab Pro by iddan on Saturday February 08, 2020 @04:40PM (#22278584)
Colab is the best notebook I've ever used. It is a real game-changer and I can totally understand why people who use daily would pay for it.
Re:Colab Pro by mattip on Sunday February 09, 2020 @04:20AM (#22281213)
It is however one of the prime examples of commercial use of open source software with no engagement of the community. colab notebooks may not run on a “vanilla” Jupyter installation because of google-only extensions to the protocol, and there has not yet been any effort on colab’s part to engage with the jupyter community. You may want to make sure your notebooks and research is not too tied in to one provider.
Re:Colab Pro by shoyer on Sunday February 09, 2020 @04:58AM (#22281324)
Colab uses real Jupyter notebooks. You can download and run them in Jupyter just fine, I do it all the time. There are a few proprietary extensions like forms (saved as comments in Python code) or colab only magics, but they’re totally optional and don’t break file format compatibility.
Re:Colab Pro by bitxbit on Saturday February 08, 2020 @04:47PM (#22278637)
We should really thank Mathematica for the notebook format.
Re:Colab Pro by williamstein on Saturday February 08, 2020 @05:20PM (#22278897)
Mathematica's notebook definitely strongly inspired Colab's notebook. Colab is an implementation of the Jupyter notebook format and UI. Jupyter, which launched around 2011, itself was strongly inspired by (1) the IPython console from around 2003, and (2) the Sage Notebook which I launched around 2006.

I can tell you definitively that Sage Notebook is very Mathematica inspired. The IPython console looked a lot like Mathematica, mainly because Fernando Perez (who was a physicist) had used Mathematica a lot and wanted something similar but (much) better. In 2005 there was a project to make an IPython notebook interface as an OS X graphical application, which got demoed at Sage Day 1 (in Feb 2006). That motivated me to get interested in doing something similar, but using Javascript and HTML instead. I hired Alex Clemesha, who just finished his physics undergrad and was a heavy Mathematica user to work on Sage fulltime. He did a lot of work with me during 2006 to create a web-based notebook interface (and also to provide a mathematica-like graphics compatibility layer for Python, which is in Sage). The Sage notebook felt pretty similar in 2007 to what Jupyter notebook feels like, and it definitely inspired the UI. We developed Sage notebook heavily and then all sort of lost interest and moved on to other things (e.g., Jason Grout, who was involved a lot with the Sage notebook went to work at Bloomberg, where he did a massive amount of work on JupyterLab). Fortunately, Fernando Perez and others got incredible grant support and many fantastic engineers together built the Jupyter notebook. Jupyter notebook provided the same sort of cell/output UI as we had with the Sage notebook, but was much more general purpose (many kernels) and used more "modern" implementation techniques, by 2011 standards at least.

There's a lot of amazing things about the Mathematica notebook that we never even tried to implement. For example, Mathematica has a much more sophisticated nested structure. Also, by default Mathematica shares one kernel across multiple notebooks (or at least it did last time I tried it).

Just to finish the story, in 2013 I started CoCalc to make a fully realtime collaborative notebook interface. Around the same time, many other people started another project called JupyterLab that reimplemented a Jupyter notebook client using much more powerful modern approaches. In addition, there's a lot more going on regarding notebook clients these days, including Nteract, Kaggle kernels, and http://deepnote.com/. Some people like me who work on these surely played around a lot with Mathematica notebooks when they were kids :-).

Re:Colab Pro by bitxbit on Saturday February 08, 2020 @08:07PM (#22279745)
Thank you for that write up! I too started with Mathematica in my early days. I can still play the start up chime in my head. Then I got into econometric softwares which led me to Julia and Jupyter from closely following Prof Sargent.
Re:Colab Pro by anidh on Saturday February 08, 2020 @04:57PM (#22278701)
Did mathematica invent the notebook format? Just curious..
Re:Colab Pro by jamesbrock on Saturday February 08, 2020 @06:21PM (#22279319)
Yes, my understanding is that Theodore Gray invented the "computational notebook" for Mathematica in the 90s. Here is the best writeup of the history of the notebook that I've ever read. https://www.theatlantic.com/science/archive/2018/04/the-scie...
Re:Colab Pro by mistrial9 on Saturday February 08, 2020 @11:30PM (#22280408)
quick look at Wikipedia shows Mathematica: "Initial release June 23, 1988;"

Mathematica took at least a year or more to write.. so that goes back perhaps to 1986.. 90s is way off...

Re:Colab Pro by acidburnNSA on Saturday February 08, 2020 @05:00PM (#22278727)
Looks like a yes according to this page at least: https://en.wikipedia.org/wiki/Notebook_interface
Re:Colab Pro by kryptiskt on Saturday February 08, 2020 @08:33PM (#22279835)
MathCAD had a WYSIWYG notebook in the same time frame, late 80s, but I have no idea which of them was first with it. It's possible that it was neither.
Re:Colab Pro by mistrial9 on Saturday February 08, 2020 @06:10PM (#22279262)
Mathematica certainly pushed the Notebook format as a fundamental feature, with WYSIWIG math that no one else had ..."Invented" is pretty hard to say honestly, but the popularization and technical polish, absolutely yes
Re:Colab Pro by zelly on Sunday February 09, 2020 @04:28AM (#22281240)
It really makes more sense for actual math than Python deep learning. There isn't a lot of visualization and fancy symbols involved. The fascination with Jupyter notebooks is something I never got. You can't debug or make sense of the control flow like you can in a regular editor. Maybe it's a deep academia thing from all the researchers in this space.
Re:Colab Pro by closeparen on Saturday February 08, 2020 @07:38PM (#22279638)
It was in the middle of using Jupiter for something that Steve Jobs’s “bicycle for the mind” quote started to really make sense for me.
Re:Colab Pro by nestorD on Sunday February 09, 2020 @05:01AM (#22281332)
Their notebooks are indeed the best I ever used : so good that I use them for the interface and not the compute power.

I don't need more compute power or longer instances as I use collab with my own hardware (I have a good enough GPU and I don't risk being disconnected), what I need is the ability to run it fully locally with my python environement (+libs) and local data that never leaves my computer (making it effectively and alternative interface for python jupyter notebooks).