social.coop is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Fediverse instance for people interested in cooperative and collective projects. If you are interested in joining our community, please apply at https://join.social.coop/registration-form.html.

Administered by:

Server stats:

490
active users

#prolog

2 posts2 participants1 post today
Continued thread

I'm done with looking at the bullshit evals that give high scores to the toddler-level systems or woo the audience with cookie-cutting skills.

Who wants to join forces and make a new #Haskell / #Rust / #Prolog (?) benchmark so we can cyberbully the new models and "AI coders" as they come out?

I need some #lisp help.

I'm stuck on a recursion exercise - have been for 2 days!

We're given a at a structure a list of lists, where each such list is of the form (person mother father) .. and so a lot of these together create a family tree.

I want to write a function lineage x y which returns a list of ancestors from x to y ... eg x, mother of x, father of prev, y .... or NIL if y is not an ancestor of x.

I found this easy in #prolog (I wrote this prologbyexample.blogspot.com/2 ) but not #lisp.

prologbyexample.blogspot.com7 - Introducing Recursion Recursion is an important technique in many programming languages, especially declarative languages like prolog. It enables elegant and ...
Replied in thread

@DesRoin @jbz

I rediscovered #prolog 20 years after they tried to teach me.

As a result I wrote a short easy course for anyone struggling with the traditional guides - a course I wish I had back then.

There are links to videos too, one per topic.
prologbyexample.blogspot.com/p

prologbyexample.blogspot.comContentsBasics 1. Simple Facts 2. Querying With Variables 3. Satisfying Multiple Properties 4. Proving New Facts By Deduction 5. Generating Si...

High Performance PostgreSQL for Rails by Andrew Atkinson is part of a 16-ebook $18 bundle! Pragmatic Bookshelf and Humble Bundle have made it available along with Practical A/B Testing, Designing Data Governance from the Ground Up, SQL Antipatterns Vol. 1, and others. Pretty sweet deal!

humblebundle.com/books/data-en

Humble BundleHumble Tech Book Bundle: Data Engineering and Management by PragmaticLearn all about data engineering and management with our latest collection of tech courses. Pay what you want & support Save the Children.

A famous example of #AutomatedScientificDiscovery is "Adam the Robot Scientist".

This is a machine, introduced in 2004 by Ross King and others, that can do biochemistry experiments on its own and smartly pick the next experiment to do. More precisely, it is a room full of robots and automated chemistry, growing yeast cells that have been genetically modified. The goal is to find out which enzymes are important in which parts of the chemistry of yeast. This is a puzzle, since when you switch off a gene and the enzyme it coded for, then you only see indirectly what happens to the yeast (some important substances fail to get produced). It is like a cross-word puzzle, and therefore #AI can help. Here AI came in the form of the logic programming language #Prolog, that can encode all the observations and rules.

The biggest achievement of the robot scientist is that it can be very clever in selecting the next step, focusing on the most informative experiment. This is essential, since running an experiment is costly and time-consuming.

The plot I love most in the 2004 paper is the classification accuracy plotted vs the logarithm of the experimentation cost in British pounds. 💷 🤣

Adam's follow-up robot is called "Eve", doing drug screening.

en.wikipedia.org/wiki/Robot_Sc
royalsocietypublishing.org/doi
(image below from this article, CC-BY-4.0)

Read more blog posts in this series: florianmarquardtmastodon.eu.py

@MPI_ScienceOfLight

I can't think about AI without remembering being completely useless at #Prolog in the early 90s, and thinking how pointless it was. But then my arrogant younger self thought everything about my degree was pointless.