9 ms·
Google Releases Colaboratory
- minimaxir 9y agoThe VM used for Colaboratory appears to have 13GB RAM and 2 vCPU when checking using psutil (so a n1-highmem-2 instance). Not bad for a free product. However, the VM uses Python 2.7. (Per the FAQ, Python 3 support has no ETA)
- bduerst 9y agoWhat's wrong with Python 2.7? (real question, not flamebait)
- minimaxir 9y agoSee similar thread made yesterday: https://news.ycombinator.com/item?id=15647727 https://news.ycombinator.com/item?id=15647727
- deleted 9y ago[deleted]
- deleted 9y ago[deleted]
- bduerst 9y agoThat didn't say anything about what's wrong with 2.7
- neves 9y agoPython 2.7 is frozen. It just get security updates. The community is investing in Python 3. All the main numerical libraries are already compatible with Python 3 and, unless you need a very specific library, there is no reason to start developing new projects in Python 2 nowadays.
- nerdponx 9y agoUnicode text handling.
- yarrel 9y agoThis is wrong with Python 3 as well in real world use.
- nerdponx 9y agoHow so?
- danso 9y agoMaybe the parent commenter is referring to issues brought up by Armin Ronacher (among others): http://lucumr.pocoo.org/2014/5/12/everything-about-unicode/ http://lucumr.pocoo.org/2014/5/12/everything-about-unicode/ Don't know what has changed since 2014. My perception is that Armin feels he's been pigeonholed as being more anti-Py3 than he actually is, at least with the state of Python in 2016: http://lucumr.pocoo.org/2016/11/5/be-careful-about-what-you-dislike/ http://lucumr.pocoo.org/2016/11/5/be-careful-about-what-you-... > In fact, I myself campaigned for some changes to Python 3 that made it possible to achieve better ports (like the reintroduction of the u prefix on Unicode string literals) and the bulk of my libraries work on Python 3 for many years now. It's a fact that in 2016 the problems that people have with Python 3 are different than they used to have before.
- 0xbear 9y agoThat’s because Google uses Python 2.7 internally. They have a ton of code for it, and any migration is harder than they might seem.
- duggelz 9y agoAs per public statements, Google has ~100 million lines of Python code. Also, Google has used Python very heavily from the start, meaning that some of that code was written in Python 1.x or early 2.x days, before the language had packages, before standard modules like 'logging' or 'unittest', even before booleans(!). It's just a lot of code to migrate. It takes time. Disclaimer: Work at Google, wrote some of that code.
- AlphaSite 9y agoSure, but why not support it in an external facing product? No one externally depends on that old google code.
- dmoy 9y agoStarted as an internal tool, at least according to medium & other blog posts.
- nevir 9y agoThey can release a version that supports 2.7 much sooner
- gwenzek 9y agoJupyter switch really easily from Python2.7 to Python 3 to C# because the front end and backend are separated. Not sure why they are having issue here.
- halflings 9y agoIt is in the works [0], and like people said since Google uses Python 2.7 that's the verison that was supported by default. [0] https://stackoverflow.com/questions/46941308/python-3-support-in-googles-colab https://stackoverflow.com/questions/46941308/python-3-suppor...
- rrggrr 9y agoI know its free. This is begging, not ranting. For those of us who code/automate for our business and who are not data/ml scientists, can we PLEASE have real world examples and an abstraction layer or two so we can start using these tools as part of our workflows? I have two classifiers running for my business with about 70% accuracy. Good enough for my purposes. So grateful to the bloggers kind enough to provide real world examples and sample code that helped me understand and apply this stuff to my business. Anything that makes ML less of a walled garden is most appreciated.
- allenz 9y agoColaboratory is just a collaborative version of Jupyter/iPython, which is just a notebook-based editing environment. It's not specific to ML. Presumably, you can run just about any Python code in Colaboratory, such as these examples: https://github.com/jupyter/jupyter/wiki/A-gallery-of-interesting-Jupyter-Notebooks https://github.com/jupyter/jupyter/wiki/A-gallery-of-interes..., http://nb.bianp.net/sort/views/ http://nb.bianp.net/sort/views/
- monkmartinez 9y agoI agree. Have you read any "ML for dummies" types books that you could recommend? I use python, for better or worse, almost exclusively...
- mplewis 9y agoThis is huge! This is now the easiest way to show someone how powerful Jupyter Notebook is for data analysis.
- deleted 9y ago[deleted]
- afandian 9y agoWikimedia PAWS is similar, from what I gather. https://wikitech.wikimedia.org/wiki/PAWS https://wikitech.wikimedia.org/wiki/PAWS I don't think it's a production service, but I've talked to a couple of people involved and it sounds like it's getting a good response when it's been introduced in educational environments.
- gimmeminusnow2 9y agoGoogle, why we do not talk about censure ? yes, no hacker news either. Hippocratic!!
- jordibunster 9y agoWhile you're on the waiting list: https://notebooks.azure.com/ https://notebooks.azure.com/ Supports more than Python 2.7: https://notebooks.azure.com/help/jupyter-notebooks/available-kernels https://notebooks.azure.com/help/jupyter-notebooks/available... (disclaimer: work for Microsoft (though not Azure)).
- eVeechu7 9y agoI really like the Azure notebooks, and its hard to see what extra Google are bringing here.
- deleted 9y ago[deleted]
- deleted 9y ago[deleted]
- hidenotslide 9y agoAnother competitor is CoCalc (https://cocalc.com/ https://cocalc.com/) created by the SageMath developers.
- ehsankia 9y agoDoes this support real-time editing with someone else (similar to Google Docs?). I've been using JupyterLab [0] + Google Drive [1] plugin for this. It uses Drive's API for doing real-time collaboration and let's you code in real time with someone else. It's the only solution I've found for this that doesn't require you to pay an arm to use. [0] https://github.com/jupyterlab/jupyterlab https://github.com/jupyterlab/jupyterlab [1] https://github.com/jupyterlab/jupyterlab-google-drive https://github.com/jupyterlab/jupyterlab-google-drive
- halbritt 9y agoWas disappointed to see 2.7.12 only. Just tried azure, looks legit. 2.6, 3.5, 3.6, and R
- 9y ago
- deleted 9y ago[deleted]
- SILLYMO88 9y agoThey still haven't said anything about the issues with Python 2.7?
- dfee 9y agoThe first thing I saw was: [ ] print 'Hello, Colaboratory!' Ah, so this is apparently a Python 2 Jupyter notebook system. The lack of parentheses tells us so much about the service and the product's vision.
- adamnemecek 9y agolol google and their releases with waitlists.
- Xorlev 9y agoWe use Colaboratory internally and it’s wonderful. It especially makes teaching and learning ML quite a bit easier. :) I’m excited to see others getting access to this tool.
- paulgb 9y agoThe implications of this for education are huge! I've often wanted a way to write and share tutorials in Python. If anyone else has access already, here's a tutorial I wrote on generating L-system fractals: https://colab.research.google.com/notebook#fileId=1pftvKmXYNtAd6FTdfFNkZRuOoyAp3ZL_ https://colab.research.google.com/notebook#fileId=1pftvKmXYN... (This is the first time I've used colab outside of Google so let me know if it doesn't work!)
- Plough_Jogger 9y agoYou have head of Jupyter Notebook / Jupyter hub, right?
- cromulen 9y agoThose don't have Google docs style collaborative editting.
- carreau 9y agoWell actually... https://github.com/jupyterlab/jupyterlab-google-drive https://github.com/jupyterlab/jupyterlab-google-drive
- halflings 9y agoThis is not new. Check: https://github.com/jupyter/colaboratory https://github.com/jupyter/colaboratory Colab is the "mature" verison of Jupyter Colaboratory, which was previously only used internally at Google.
- carreau 9y agoAnd the Soon-to-be-released jupyterlab already have google-rt-collaboration plugin https://github.com/jupyterlab/jupyterlab-google-drive https://github.com/jupyterlab/jupyterlab-google-drive
- paulgb 9y agoYes, another good one (that allows execution) is mybinder: https://mybinder.org https://mybinder.org But it's great to have more options!
- rcarmo 9y agoI quite like the theme. Even though Anaconda 5 has finally upgraded Jupyter's look for me and I need Python 3, the visuals and look are... cute. I hope they get open sourced.
- interdrift 9y agoMicrosoft release Azure Notebooks. It works and it's available now. (I'm not MS assoc).
- kharms 9y agoDoesn't work in Safari. Very disappointed.
- itomato 9y agoRequires third-party cookies in Chrome. Also disappointed.
- alex- 9y agoLooks like it defaults to providing a python2 2.7.12 environment. I don't see anyway of selecting python3, any one found the option? Or are they only supporting Python2?
- alex- 9y agoLooks like it is in the works https://stackoverflow.com/questions/46941308/python-3-support-in-googles-colab https://stackoverflow.com/questions/46941308/python-3-suppor...
- acosmism 9y agonice. same as gryd (https://gryd.us https://gryd.us) which is free for students and has a tight autograding integration + sharing etc. would like to see if colab will be maintained and expanded going forward or if this is it.
- iandanforth 9y agoAnyone know if we can beg/pay our way into a GPU backed instance?
- danso 9y agoAs u/halflings pointed out, the current version of Colaboratory offered was spun off some time ago (3+ years ago?) from this jupyter-associated repo: https://github.com/jupyter/colaboratory https://github.com/jupyter/colaboratory In another begging-not-ranting, I was surprised that Colaboratory currently only supports 2.7x. It looks like it began around 2014. IIRC most of Google's projects were 2.x upon public release (Tensorflow, the API client) but have since ported over. Jupyter notebooks and iPython, too. Anything particular about Colaboratory that makes a 3.x-port a time-intensive feature, or just something that was not needed during internal development? (Asking as a casual Jupyter user with no knowledge about what code/features is specifically 2.x bound)
- Lramseyer 9y agoThis is pretty cool! I know it's new and all, so maybe I'm getting ahead of myself when saying that it would be nice if it supported other languages aside from Python. I know that iPython supports Ruby, Perl and Javascript, and there's a plugin for Julia, but it doesn't appear to be supported right now. I am still on the waiting list to play around with this however. Also, integration with Google docs for the purposes of data processing and data handling would be incredible! But that's just me dreaming.
- me22 9y agoIBM kinda has similar service called "Data Science Experience" and it's more than just a Jupyter environment. https://datascience.ibm.com/ https://datascience.ibm.com/
- aeoost 9y agoVery old version of Tensorflow there (1.0). Even Azure Notebooks is more up to date (1.1).
- wodenokoto 9y agoA chrome-only jupyther notebook environment. Seriously? Did they put extra effort into making a browser agnostic html-app chrome only? Just use Azures jupyter notebook environment if you need a no-setup in the cloud notebooks.