Re:Norvig's Python programs to practice or demonstrate skills
by carreau on Monday November 27, 2017 @09:40AM
(#15787637)
You can run these notebooks for free in the cloud (on MyBinder.org provided by the Jupyter team). Just head there: https://mybinder.org/v2/gh/norvig/pytudes/master You may need to `pip install numpy`. Watch out images are ephemeral.
[ Parent
| on HN ]
Re:Norvig's Python programs to practice or demonstrate skills
by keont on Tuesday November 28, 2017 @10:14AM
(#15797933)
What the fuck is this magic, and how did I not know about this? I've been looking so long for something like this... Does it exist for scala? Java? This is amazing!!!
Re:Norvig's Python programs to practice or demonstrate skills
by physicsyogi on Tuesday November 28, 2017 @04:51PM
(#15802164)
There's a nice Jupyter kernel for Clojure: https://github.com/didiercrunch/lein-jupyter.
Re:Norvig's Python programs to practice or demonstrate skills
by carreau on Tuesday November 28, 2017 @11:26AM
(#15798648)
If there is a Java/Scala kernel for Jupyter, then Yes. Even if not, we managed to get RStudio to work on that so there is hope for <your preferred environment>. I would reach out to github.com/jupyterhub/binderhub (you can say I redirected you there, same username on GH) the R support was prototyped a few weeks ago at a free workshop we ran. We'll be really happy to get Java/Scala people to contribute and invite them if we can do another workshop.
Re:Norvig's Python programs to practice or demonstrate skills
by cup-of-tea on Monday November 27, 2017 @09:50AM
(#15787716)
They are also run directly on github, but you can't edit them. Still useful if you just want to read, though.
Re:Norvig's Python programs to practice or demonstrate skills
by carreau on Monday November 27, 2017 @10:02AM
(#15787795)
Technically No, they are just rendered on GitHub (using nbconvert internally, so more like nbviewer.org). What you see on GH is the result of last run by Peter (which may be forged, or out of date). But thanks for pointing it out.
Re:Norvig's Python programs to practice or demonstrate skills
by cup-of-tea on Monday November 27, 2017 @10:23AM
(#15787971)
Oh, I thought that they were run because they had the output, which I didn't think would be commited to the repository. Good to know.
Re:Norvig's Python programs to practice or demonstrate skills
by smortaz on Monday November 27, 2017 @05:08PM
(#15792015)
You can also run them on Azure Notebooks which is basically a free hosted jupyter notebook service for anyone to use:
https://notebooks.azure.com/smortaz/libraries/norvig-pytudes
basically 1) click the link 2) click clone 3) sign in (any gmail, msft id), then go to the notebooks directly and run them. You can also click Terminal for shell prompt.
The sign-in is required since you can edit the notebooks, store/modify data etc.