And I was coding… and stumbled upon AI
Well, I decided I would take a stab at AI (Artificial Intelligence). I always found it mind blowing that people are actually trying to do that with technology. Just amazing. So I thought I’d try and simplify AI down to 1 function. Since I believe that essentially life can be made into 1 function.
PHP
-
< ?php
-
function analyzeReproduction($person) {
-
if ((sizeof($person[‘penis’]) < 5) || $person[‘job’] == "programmer"){
-
unlink("/usr/local/bin/sex");
-
exec("/usr/local/bin/masturbate");
-
$resultVar = 0;
-
} else {
-
exec("set SEXLIVE=true");
-
exec("set GREATSEX=true");
-
exec("set HOTGIRLS=true");
-
exec("/usr/bin/woohoo");
-
exec("/usr/bin/ahh");
-
$resultVar = 1;
-
}
-
return $resultVar;
-
}
-
?>
Anyone want to guess how it returned when I ran it?
Tags: artificial-intelligence






July 17th, 2004 at 1:45 am
error in line two near ‘*****’.

July 17th, 2004 at 10:09 am
Outch.
Fixed
July 19th, 2004 at 1:39 am
And the female version?