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
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:

Related Posts

You Might Also Be Interested In


3 Responses to “And I was coding… and stumbled upon AI”

  1. McRatt says:

    error in line two near ‘*****’.

    😉

  2. Robert says:

    Outch.

    Fixed

  3. Antony says:

    And the female version?

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/web site in attribution.