News for hackers. Stuff that matters.
Re:Paradigms of Artificial Intelligence Programming (1992) by MAXPOOL on Sunday August 14, 2022 @10:27AM (#32459511)
One of the top 5 programming books.

Old AI is today's bleeding edge computer engineering. There is an enourmous amount of free lunches for computer engineers and software startups in the old school artificial intelligence.

* modern SAT solver performance is impressive. They can solve huge problems.

* Writing a complex systems configurator with Prolog or Datalog can be like magic.

* Expert systems. There has never been so much use for them than today. Whenever you see expensive systems utilizing complex mess of "business logic" and expensive consultants, you should know there is a better way.

(I use SAT-solvers to partially initialize neural network parameters).

Re:Paradigms of Artificial Intelligence Programming (1992) by jaggirs on Sunday August 14, 2022 @01:28PM (#32461099)
SAT for initializing nn parameters? Can you elaborate on this a bit, it seems interesting.
Re:Paradigms of Artificial Intelligence Programming (1992) by albertzeyer on Sunday August 14, 2022 @06:06PM (#32463437)
I can only guess:

In certain cases, you know what the neural network should do, for certain inputs, and you have a quite clear idea how each component of the network would solve this, and this should be doable, and with a bit of work you could also construct the parameters by hand, such that it works at least for non-noisy constructed toy input data.

Actually, I think for more complex tasks, having such intuition would anyway be a good idea.

Now, you could use a SAT solver such that it does the work mostly for you. You formulate some constructed inputs/outputs, maybe some other constraints, and let it solve for the parameters. This would be a good parameter starting point for real world data. And if the SAT solver fails to find any solution, maybe your neural network is actually not powerful enough.

Re:Paradigms of Artificial Intelligence Programming (1992) by snek_case on Sunday August 14, 2022 @03:17PM (#32462055)
Also curious to hear more about this...
Re:Paradigms of Artificial Intelligence Programming (1992) by lukashrb on Sunday August 14, 2022 @12:00PM (#32460303)
Are there any examples for 2 and 3 openly accessible? While I grasped the basic idea I lack the imagination how it would look in a real world system.
Re:Paradigms of Artificial Intelligence Programming (1992) by davidhs on Sunday August 14, 2022 @11:04AM (#32459851)
What are the other 4 top programming books?
Re:Paradigms of Artificial Intelligence Programming (1992) by larve on Sunday August 14, 2022 @11:53AM (#32460248)
Since I also put PAIP in my top 5 books, here are my 4 other ones:

- The Pragmatic Programmer -

This changed my life when I started programming 20 years ago. Most of the practices are now common, but it was almost radical back then.

- Designing Data Intensive Applications

This is so well written, so elegantly fundamental. It's an absolute pleasure, even if I don't really refer to it in practice.

- Structure and Interpretation of Computer Programs

In many ways, the MIT version of PAIP. Its elegance complements the pragmatism of PAIP well.

- The unicorn project

My number 5 book varies often, because I haven't found many books that reach the writing quality of the other 4. This is a business novel, but it really solidified a lot of concepts for me: lean, queues, theory of constraints, what devops is about, working as a programmer in a business.

Re:Paradigms of Artificial Intelligence Programming (1992) by EddySchauHai on Sunday August 14, 2022 @01:09PM (#32460920)
DDIA, SICP, and PAIP have been on my reading lists for years. Maybe I’ll finally get round to them after this glowing review :)
Re:Paradigms of Artificial Intelligence Programming (1992) by nextos on Sunday August 14, 2022 @05:17PM (#32463003)
* Structure and Interpretation of Computer Programs: https://web.mit.edu/6.001/6.037/sicp.pdf

* Concepts, Techniques and Models of Computer Programming: https://www.info.ucl.ac.be/~pvr/book.html

* The Art of Prolog: https://www.dropbox.com/s/2umr9ouz0jdelio/1407.pdf?dl=1

* Probabilistic Models of Cognition: https://probmods.org

Something that merges logic, types and proofs, perhaps yet to be written. Some good preliminary material:

* Program = Proof: https://www.lix.polytechnique.fr/Labo/Samuel.Mimram/teaching...

* Concrete Semantics: http://concrete-semantics.org

* The Hitchhiker’s Guide to Logical Verification: https://raw.githubusercontent.com/blanchette/logical_verific...

* Programming Language Foundations in Agda: https://plfa.github.io

* Logic and Computation Intertwined: https://cs.uwaterloo.ca/~plragde/flaneries/LACI/

* Software Foundations: https://softwarefoundations.cis.upenn.edu/

Re:Paradigms of Artificial Intelligence Programming (1992) by whartung on Sunday August 14, 2022 @10:12PM (#32465133)
I'm going to look at the Art of Prolog book.

Prolog is one of those things that has alluded me all this time. Mostly I don't think I've had an application for it, and, bluntly, at least for me, I need to have a "real" application to solve to best learn something. Seeing the "animal" program repeated over and over and over again was never any help.

In hindsight, maybe it would have been appropriate in an email messaging application I did long ago. It's message routing workflow was not inscrutable, but certainly difficult (and it didn't help that the route could split, sending the message to more than one place with their own workflows -- that was fun).

I've done a bunch with rule engines (and the message routing was done with an ad hoc one), but less so with inferencing.

Maybe this book will give me some insight to explore further. It's always one of those things that sort of nags the back of my brain that I don't quite grok it.

Re:Paradigms of Artificial Intelligence Programming (1992) by nextos on Sunday August 14, 2022 @10:40PM (#32465292)
The Art of Prolog and PAIP are full of small Prolog usecases.

The Craft of Prolog is also very much worth looking into.

A related approach is ASP, which combines SAT with logic programming. These are the two canonical books:

* Answer Set Programming: https://www.cs.utexas.edu/users/vl/teaching/378/ASP.pdf

* Answer Set Solving in Practice: https://potassco.org/book

Re:Paradigms of Artificial Intelligence Programming (1992) by dread88 on Sunday August 14, 2022 @10:51AM (#32459729)
Do you mean "Dyalog" rather than "Dynalog"?
Re:Paradigms of Artificial Intelligence Programming (1992) by MAXPOOL on Sunday August 14, 2022 @11:03AM (#32459841)
I meant Datalog.
Re:Paradigms of Artificial Intelligence Programming (1992) by trenchgun on Sunday August 14, 2022 @11:01AM (#32459827)
Most likely he means "Datalog". "Dyalog" is an APL.
Re:Paradigms of Artificial Intelligence Programming (1992) by vasili111 on Sunday August 14, 2022 @12:39PM (#32460637)
Does this book teaches how to write SAT-solvers?
Re:Paradigms of Artificial Intelligence Programming (1992) by zerr on Sunday August 14, 2022 @03:12PM (#32462012)
I've got an impression that it is a breadth introduction book to various interesting topics in symbolic computation. It doesn't go deep.
Re:Paradigms of Artificial Intelligence Programming (1992) by lispm on Sunday August 14, 2022 @03:23PM (#32462119)
It just implements a computer algebra system, a Prolog, a Scheme and a bunch of other stuff. On its way it teaches advanced Lisp programming.
Re:Paradigms of Artificial Intelligence Programming (1992) by zerr on Sunday August 14, 2022 @03:43PM (#32462265)
Yes, basic/toy versions.
Re:Paradigms of Artificial Intelligence Programming (1992) by lispm on Sunday August 14, 2022 @04:26PM (#32462626)
For a book I find the description of the development process and the level of implementation to be quite good.

A great opportunity for the reader to expand them.

I've seen for example the Scheme implementation from PAIP expanded and integrated into a CMS.