Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #39609 > unrolled thread

Re: FYI: AI-programmer

Started byAndrew Robinson <andrew3@r3dsolutions.com>
First post2013-02-22 12:09 +0000
Last post2013-02-22 12:09 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: FYI: AI-programmer Andrew Robinson <andrew3@r3dsolutions.com> - 2013-02-22 12:09 +0000

#39609 — Re: FYI: AI-programmer

FromAndrew Robinson <andrew3@r3dsolutions.com>
Date2013-02-22 12:09 +0000
SubjectRe: FYI: AI-programmer
Message-ID<mailman.2298.1361563926.2939.python-list@python.org>
On 02/22/2013 07:21 PM, Ian Kelly wrote:
> On Fri, Feb 22, 2013 at 4:41 AM, Chris Angelico <rosuav@gmail.com> wrote:
>> That's not artificial intelligence, though. It's artificial program
>> generation based on a known target output. The "Fitness" calculation
>> is based on a specific target string. This is fine for devising a
>> program that will produce the entire works of Shakespeare, since there
>> is a target string for that (actually, several targets, plus you have
>> to work out whether you want the works of Shakespeare or the works of
>> some guy named Bacon... mmm bacon), but I suggest that a more
>> sophisticated and useful goal be implemented.
> Indeed, it seems to me that this is basically Richard Dawkins' weasel
> program, with the addition of a transformation step in the fitness
> function that amounts to running the string through a Brainfuck
> interpreter.  There is a rather large gap between this and getting
> computers to generate programs that do anything interesting.
>
> I am curious about how he deals with infinite loops in the generated
> programs.  Probably he just kills the threads after they pass some
> time threshold?
I'm under the impression that Python doesn't really allow you to kill a 
thread after a time period.
It's not portable to do so....

http://eli.thegreenplace.net/2011/08/22/how-not-to-set-a-timeout-on-a-computation-in-python/

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web