Live data from Hacker News

Paradigms of Artificial Intelligence Programming (1992)

github.com

11–20 of 83 posts

Re: Paradigms of Artificial Intelligence Programming (1992)

#11

Can anyone recommend a source for setting up an environment in Linux to run the code in this book? Do I need to learn eMacs to get close to a “modern lisp” programming environment?

Download and run Portacle: https://portacle.github.io/

It's a distribution of emacs together with a Lisp compiler, emacs add-ons like SLIME, etc.

Re: Paradigms of Artificial Intelligence Programming (1992)

#12
post #10

I guess this is more of a historical curiosity rather than something that is relevant today?

It's actually just a really good book about programming, with both "high-level" but also really practical advice (how to attack performance issues, how to debug). The examples are all really fun to build and extend. In fact I'm going through it again currently (I kickstarted a datalog compiler off of the prolog compiler chapter).

Re: Paradigms of Artificial Intelligence Programming (1992)

#14

Can anyone recommend a source for setting up an environment in Linux to run the code in this book? Do I need to learn eMacs to get close to a “modern lisp” programming environment?

Most popular Linux distributions include Common lisp packages. For example, "sbcl". if you have Debian/Ubuntu you should be able to install it like this: "sudo apt-get install sbcl"

Re: Paradigms of Artificial Intelligence Programming (1992)

#15

Can anyone recommend a source for setting up an environment in Linux to run the code in this book? Do I need to learn eMacs to get close to a “modern lisp” programming environment?

vim + slimv check out susam's guide

Hello! Thank you for mentioning my Vim + Slimv guide. I have, in fact, two guides to set up a Common Lisp programming environment from scratch:

For Vim: https://susam.net/blog/lisp-in-vim.html

For Emacs: https://github.com/susam/emacs4cl

Re: Paradigms of Artificial Intelligence Programming (1992)

#16

Can anyone recommend a source for setting up an environment in Linux to run the code in this book? Do I need to learn eMacs to get close to a “modern lisp” programming environment?

I would say Emacs with SBCL is a good start. I haven't started PAIP yet, I'm working through the Touretzky Lisp book, "Common Lisp: A Gentle Introduction to Symbolic Computation" as a warmup before starting PAIP. I've found that Inferior Lisp mode in Emacs is sufficient for working through those examples. It seems like a lot of working programmers are using SLIME with Emacs though.

Re: Paradigms of Artificial Intelligence Programming (1992)

#17
post #9

It's weird that it still feels like this is almost something I'm 'supposed' to know and at some point work my way through. (Maybe because it was on the brink of still being relevant when I got interested in programming in middle school.) Kind of a relief to realize that this for sure is no longer something you're expected to know whatsoever.

the engineering concepts elaborated in this book are very much relevant today and you might very well be expected to know them. what this book does (and this is relevant merrit) is that it so effectively drills them into you (provided you follow along of course)

Re: Paradigms of Artificial Intelligence Programming (1992)

#18
post #9

It's weird that it still feels like this is almost something I'm 'supposed' to know and at some point work my way through. (Maybe because it was on the brink of still being relevant when I got interested in programming in middle school.) Kind of a relief to realize that this for sure is no longer something you're expected to know whatsoever.

What changed ?

Re: Paradigms of Artificial Intelligence Programming (1992)

#19
post #9

It's weird that it still feels like this is almost something I'm 'supposed' to know and at some point work my way through. (Maybe because it was on the brink of still being relevant when I got interested in programming in middle school.) Kind of a relief to realize that this for sure is no longer something you're expected to know whatsoever.

What changed ?

When people talk about AI today they are usually talking about machine learning systems based in neural networks.

The kind of symbolic AI described in this book went through several cycles of hype and disappointment to the point where many think it is obsolete. People often do it connect recent breakthroughs in SAT and SMT solvers with this history and for that matter production rules engines are dramatically better than they were in the 1980s but they’ve never made a breakthrough into general purpose use.

Re: Paradigms of Artificial Intelligence Programming (1992)

#20

Can anyone recommend a source for setting up an environment in Linux to run the code in this book? Do I need to learn eMacs to get close to a “modern lisp” programming environment?

Emacs would be a fine choice, but is not mandatory, if you can live with less support for parens found in other editors. Emacs traditionally excels at working with lispy languages and REPLs. I started working through the book, but did not feel like using Common Lisp. Instead I used GNU Guile. I am not very far in the book yet, but so far I was able to translate between Common Lisp and Scheme easily. So for me the way…

Lucky you, one of the chapters implements scheme. Seriously though, use CL, you’re not going to have a good time with scheme with this book. It’s making use of some CL specific behaviours
Post reply on HN