Peter tech-reviewed the second edition of my Java AI book and made the comment that Java was half as good as Common Lisp for AI and that was probably good enough (we had both written Common Lisp books). He then went to Google and I had lunch with him; I was surprised that he was using Python.
I like his poem in the article!
A little off topic, but I retired (that is a bit of a joke) and at the age of 69, this year I decided that for maximum programming enjoyment I would only use Lisp languages (linking in Python and TensorFlow on occasion). I am approaching 40 years using Common Lisp and using the language is so much fun. I bought a license for LispWorks and using it for developing a semantic web app.
If I may ask, what references would you recommend to someone interested in something like Lisp, but who has never touched a functional language before?
Cons cells are the traditional Lisp data structure making up the nodes of a linked list. It comes from the cons function which is short for "construct".
Ironically, Clojure doesn't use cons cells, although it does have a cons function.
cons n.v. 1. n. a compound data object having two components called the car and the cdr. 2. v. to create such an object. 3. v. Idiom. to create any object, or to allocate storage.
Peter Norvig is the most inspiring genius in my coding world.
I met(virtually) him via AI course in Udacity and since that time I enjoy all reading/watching from him.
His book AI programming(Lisp version) is a gem that I enjoy reading. I've finish a book a few times already - but every time I read I find something new that I missed previous time.
Arc is underrated as an information management tool. There's something to be said for having a web framework that works out of the box. Rails is probably the only other framework that makes it as easy to "just make some forms that pass data around and run some code on that data." But not quite -- I haven't seen arc's closure-storing technique used in any other web framework.
The main issue that arc solves is that it gives you a full pipeline for managing "objects with properties" via the web. It's so flexible. I wrote a thread on how we're using it in production to manage our TPUs: https://twitter.com/theshawwn/status/1247570883306119170
You haven't been around long enough, at least under the same name, to remember when there was an implicit time limit on the comment reply page, inflicted by those stored closures silently timing out. Having long comments so often eaten that way was actually the specific thing that annoyed me into first installing It's All Text.
It's an interesting approach, as attempts to force statefulness on a stateless-by-design protocol go, but I don't know that I like how it scales.
Some arc code I wrote back in the day, for generating textual descriptions from structured data using a web frontend, is still in production at a previous company of mine (as far as I know). It was indeed a useful tool.
It's a shame arc didn't have persistent data structures (besides alists :-) and a native hashmap type though.
I am ready to be corrected but I'm a fairly sure there have been a few other continuation-based web frameworks, Seaside in Smalltalk was the one that made the idea popular if I recall correctly. "Href considered harmful" comes from that.
problem with those frameworks that "just works" is that they get old pretty darn fast.
it handles all your sql and auth cookies? too bad now there's an easy way every script kiddie can now login as admin or guess cookies without the security header du jour.
It's all nice and all when it's being actively updated. But arc, rails, phoenix-ecto, node/react, drupal, spring, etc it all get old pretty soon when the core maintainers loose focus, and then instead of just keeping an eye on the latest best practices and implementing it yourself, you have to dive deep down into years of feature creep and bad coding practices to do the little thing you need to keep things going.
i think seaside (a smalltalk web framework) pioneered the continuation-based technique, though it could have been around earlier. http://www.seaside.st/
Skip here comments regarding AI online courses, questions related to AIMA and PAIP books. It's not quite a good opportunity to inquire about finer points of JScheme or even ask clarifications along last September interview with Lex Fridman. The art of maintaining approachability for beginners and reference level of usefulness for advanced is not easy, but it's demonstrated - and here is flipped on another human side. Peter, thank you for your works for all of us.
I feel like there were other things like this that people like Guy Steele wrote in the heyday of things like this. More serious people with better memories will be able to say.
The most important thing I ever learned from Professor Norvig was how to not get fat at Google. He said, "Never take a tray. If it won't fit on one plate, it's too much".
A wise man.
I mean I suppose some of the stuff I learned from his textbook was pretty useful too.
What advice would you give to those of us who struggle with our weight, regardless of the size of our plate, who came here to discuss lisp and not what the author of the blog post said to you one time about food portions?
His cover of NIИ's Hurt is so powerful. June Carter (his wife) died a few months after filming the video, and that just broke his heart. Johnny followed her less than six months later.
He was humping the pretty young girl singer, and murdered the mean old lady bible thumper in an airplane crash, then when Columbo finally (but barely) caught him, he was so remorseful he said he wanted to get caught all along.
I like mostly metal, industrial, heh even ska, ... bust mostly death metal, but then there is Johnny Cash, and I hate country - though not Johnny - there is something about it - also Willie Nelson (and few other, probably there is more, it's just that I don't like mainstream one...)
[+] [-] mark_l_watson|6 years ago|reply
I like his poem in the article!
A little off topic, but I retired (that is a bit of a joke) and at the age of 69, this year I decided that for maximum programming enjoyment I would only use Lisp languages (linking in Python and TensorFlow on occasion). I am approaching 40 years using Common Lisp and using the language is so much fun. I bought a license for LispWorks and using it for developing a semantic web app.
[+] [-] thanksforfish|6 years ago|reply
[+] [-] slifin|6 years ago|reply
https://nextjournal.com/kommen/gigasquids-libpython-clj-exam...
[+] [-] theboywho|6 years ago|reply
Also have you heard of Janet* ? what are your thoughts on such an approach ?
* https://janet-lang.org
[+] [-] PythagoRascal|6 years ago|reply
[+] [-] w3mmpp|6 years ago|reply
[+] [-] nathell|6 years ago|reply
https://www.gnu.org/fun/jokes/eternal-flame.html
[+] [-] stickydink|6 years ago|reply
https://openai.com/blog/jukebox/
https://news.ycombinator.com/item?id=23032243
[+] [-] gambiting|6 years ago|reply
[+] [-] simongray|6 years ago|reply
Ironically, Clojure doesn't use cons cells, although it does have a cons function.
[+] [-] zshrdlu|6 years ago|reply
cons n.v. 1. n. a compound data object having two components called the car and the cdr. 2. v. to create such an object. 3. v. Idiom. to create any object, or to allocate storage.
[+] [-] dowakin|6 years ago|reply
His book AI programming(Lisp version) is a gem that I enjoy reading. I've finish a book a few times already - but every time I read I find something new that I missed previous time.
[+] [-] jakear|6 years ago|reply
[+] [-] DonHopkins|6 years ago|reply
Speaking of consing every pair, here's a previous discussion about "The Origin of CAR and CDR in Lisp (2005) (iwriteiam.nl)":
https://news.ycombinator.com/item?id=16008239
http://www.iwriteiam.nl/HaCAR_CDR.html
[+] [-] sillysaurusx|6 years ago|reply
The main issue that arc solves is that it gives you a full pipeline for managing "objects with properties" via the web. It's so flexible. I wrote a thread on how we're using it in production to manage our TPUs: https://twitter.com/theshawwn/status/1247570883306119170
[+] [-] throwanem|6 years ago|reply
It's an interesting approach, as attempts to force statefulness on a stateless-by-design protocol go, but I don't know that I like how it scales.
[+] [-] drcode|6 years ago|reply
It's a shame arc didn't have persistent data structures (besides alists :-) and a native hashmap type though.
For those confused, we're talking about this: http://www.paulgraham.com/arc.html
[+] [-] riffraff|6 years ago|reply
[+] [-] q92z8oeif|6 years ago|reply
it handles all your sql and auth cookies? too bad now there's an easy way every script kiddie can now login as admin or guess cookies without the security header du jour.
It's all nice and all when it's being actively updated. But arc, rails, phoenix-ecto, node/react, drupal, spring, etc it all get old pretty soon when the core maintainers loose focus, and then instead of just keeping an eye on the latest best practices and implementing it yourself, you have to dive deep down into years of feature creep and bad coding practices to do the little thing you need to keep things going.
[+] [-] saurik|6 years ago|reply
Apache Cocoon?
https://cocoon.apache.org/2.2/core-modules/core/2.2/1373_1_1...
[+] [-] zem|6 years ago|reply
racket's built-in web server does it too.
[+] [-] toolslive|6 years ago|reply
Truth be told, the criticism is a bit unfair (you can solve the problems)
[+] [-] rlander|6 years ago|reply
[+] [-] talaketu|6 years ago|reply
[+] [-] adrianmonk|6 years ago|reply
[+] [-] daly|6 years ago|reply
[+] [-] evanb|6 years ago|reply
http://www.johnnycashhasbeeneverywhere.com/
[+] [-] avmich|6 years ago|reply
Skip here comments regarding AI online courses, questions related to AIMA and PAIP books. It's not quite a good opportunity to inquire about finer points of JScheme or even ask clarifications along last September interview with Lex Fridman. The art of maintaining approachability for beginners and reference level of usefulness for advanced is not easy, but it's demonstrated - and here is flipped on another human side. Peter, thank you for your works for all of us.
[+] [-] Optimal_Persona|6 years ago|reply
[+] [-] nikkaelle|6 years ago|reply
> Think in hex, think in hex
> Look around you, who needs dec?
> You can do anything in base sixteen or I'll go to my rest!
[+] [-] kqr2|6 years ago|reply
https://www.youtube.com/watch?v=IuGjtlsKo4s
[+] [-] strbean|6 years ago|reply
[+] [-] Keyframe|6 years ago|reply
[+] [-] DonHopkins|6 years ago|reply
https://www.senate.gov/artandhistory/history/minute/Have_you...
[+] [-] jedberg|6 years ago|reply
[+] [-] fouric|6 years ago|reply
[+] [-] wglb|6 years ago|reply
[+] [-] dang|6 years ago|reply
[+] [-] jecel|6 years ago|reply
[+] [-] hangonhn|6 years ago|reply
"Write in C": http://www.poppyfields.net/filks/00259.html
Someone apparently made a YouTube video too: https://www.youtube.com/watch?v=wJ81MZUlrDo
[+] [-] jedberg|6 years ago|reply
A wise man.
I mean I suppose some of the stuff I learned from his textbook was pretty useful too.
[+] [-] gumby|6 years ago|reply
[+] [-] unknown|6 years ago|reply
[deleted]
[+] [-] eyelidlessness|6 years ago|reply
[+] [-] chiph|6 years ago|reply
His cover of NIИ's Hurt is so powerful. June Carter (his wife) died a few months after filming the video, and that just broke his heart. Johnny followed her less than six months later.
https://www.youtube.com/watch?v=8AHCfZTRGiI
Trent Reznor admitted that the song was no longer his after watching it.
[+] [-] DonHopkins|6 years ago|reply
https://columbophile.com/2018/03/11/episode-review-columbo-s...
https://www.youtube.com/watch?v=vtLYJ4STuXY
He was humping the pretty young girl singer, and murdered the mean old lady bible thumper in an airplane crash, then when Columbo finally (but barely) caught him, he was so remorseful he said he wanted to get caught all along.
[+] [-] malkia|6 years ago|reply
[+] [-] TurboHaskal|6 years ago|reply
[+] [-] masonic|6 years ago|reply
[+] [-] dang|6 years ago|reply