News for hackers. Stuff that matters.
Re:Norvig's Python programs to practice or demonstrate skills by throwaway7645 on Monday November 27, 2017 @09:00AM (#15787340)
Norvig is a beast. For those that don't know, he is high up in Google Research (AI director I believe) and also wrote the #1 AI textbook. He has the #1 AI course on coursera or edx too (can't remember which one). He's a big lisp advocate (look at his review of SICP on amazon), but also has the programs for his books in Java, and Python.
Re:Norvig's Python programs to practice or demonstrate skills by strong_silent_t on Monday November 27, 2017 @11:40AM (#15788623)
Regarding lisp, he made a post about language choice here: https://news.ycombinator.com/item?id=1803815

I think Lisp still has an edge for larger projects and for applications where the speed of the compiled code is important. But Python has the edge (with a large number of students) when the main goal is communication, not programming per se. In terms of programming-in-the-large, at Google and elsewhere, I think that language choice is not as important as all the other choices: if you have the right overall architecture, the right team of programmers, the right development process that allows for rapid development with continuous improvement, then many languages will work for you; if you don't have those things you're in trouble regardless of your language choice.

Re:Norvig's Python programs to practice or demonstrate skills by flavio81 on Tuesday November 28, 2017 @09:40AM (#15797618)
I agree for the first part. Common Lisp and Python are my favorite programming languages. I think the second is great for teaching programming and general use (where performance isn't a concern), while Common Lisp, in my view, is a "must-know" for any advanced programmer. Lisp is secret alien technology.

Although to be honest, there's Clojure, which isn't as easy to learn as Python nor as flexible/powerful as CL, but sits in confortable middle ground.

Re:Norvig's Python programs to practice or demonstrate skills by throwaway7645 on Monday November 27, 2017 @11:44AM (#15788662)
I think that's an excellent view of the tradeoffs between the two.
Re:Norvig's Python programs to practice or demonstrate skills by agumonkey on Monday November 27, 2017 @12:35PM (#15789168)
I'd like to ask him about a more ml-y python. Same syntax, same tinyness, but less mutable OO at its core.
Re:Norvig's Python programs to practice or demonstrate skills by stormking on Monday November 27, 2017 @03:53PM (#15791236)
Try http://coconut-lang.org

Not pure, not perfect, but still great!

Re:Norvig's Python programs to practice or demonstrate skills by Singletoned on Tuesday November 28, 2017 @03:29AM (#15795387)
It's like someone has looked at Python and thought "Python is too easy to read. Let's add LOTS more syntax to it".
Re:Norvig's Python programs to practice or demonstrate skills by AlexCoventry on Tuesday November 28, 2017 @01:22AM (#15794896)
Wow, this plus a persistent data structures library could be almost as much fun as clojure!
Re:Norvig's Python programs to practice or demonstrate skills by agumonkey on Monday November 27, 2017 @05:23PM (#15792155)
very nice, thanks
Re:Norvig's Python programs to practice or demonstrate skills by nabla9 on Monday November 27, 2017 @10:09AM (#15787848)
Everybody knows about AIMA (Artificial Intelligence, Modern Apporach) but Norvigs PAIP (Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp) is also a gem.

It's elegant learn programming, history of AI, and simple old school Common Lisp in the same package.

AI methods include GPS, Eliza style chatbots, symbolic math, constraint satisfaction, logic programming, natural language programming.

Re:Norvig's Python programs to practice or demonstrate skills by flavio81 on Wednesday November 29, 2017 @10:08AM (#15807311)
>Norvigs PAIP (Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp) is also a gem.

It's a wonderful book and it even includes some advanced advice on how to speedup Common Lisp code, which I have not found elsewhere!

Re:Norvig's Python programs to practice or demonstrate skills by dgritsko on Monday November 27, 2017 @09:22AM (#15787505)
I was curious, so I looked up the SICP review you mentioned: https://www.amazon.com/review/R403HR4VL71K8
Re:Norvig's Python programs to practice or demonstrate skills by cybertronic on Monday November 27, 2017 @10:08AM (#15787836)
Also liked this one (referring to sicp too):https://www.amazon.com/gp/review/R2C7L5KHUVHOR2?ref_=glimp_1...
Re:Norvig's Python programs to practice or demonstrate skills by stablemap on Monday November 27, 2017 @09:52AM (#15787737)
His website contains a lot of gems:

http://norvig.com/

I think the course to which you refer is on Udacity, with Thrun; I found it easier to read the book.

Re:Norvig's Python programs to practice or demonstrate skills by throwaway7645 on Monday November 27, 2017 @10:21AM (#15787963)
Thanks for correcting my mistake! It's def better than most I signed up for!
Re:Norvig's Python programs to practice or demonstrate skills by vram22 on Monday November 27, 2017 @12:22PM (#15789025)
Last I read (a while ago), he was Director of Research at Google (not just AI). This was after being Director of Search (Quality), IIRC.