Re: FYI: AI-programmer

2013-02-25 Thread Robin Becker
On 22/02/2013 19:21, Ian Kelly wrote: . 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 betwe

Re: FYI: AI-programmer

2013-02-22 Thread Oscar Benjamin
On 22 February 2013 13:04, Andrew Robinson wrote: > > How would you get an interpreter thread to check for a shutdown request > every N cycles? > I've read about how to set a timeout based on time, but not on any kind of > cycle (eg: instruction cycle?) count. > > Do you have a python example? wh

Re: FYI: AI-programmer

2013-02-22 Thread Ian Kelly
On Fri, Feb 22, 2013 at 6:04 AM, Andrew Robinson wrote: > It's still surprising that even C# would allow a killing of threads. > > Resources can be allocated by a thread and tied up was one of the comments > made on the site I linked; so those resources could be permanently tied up > until process

Re: FYI: AI-programmer

2013-02-22 Thread Andrew Robinson
On 02/22/2013 08:23 PM, Ian Kelly wrote: On Fri, Feb 22, 2013 at 5:09 AM, Andrew Robinson wrote: On 02/22/2013 07:21 PM, Ian Kelly wrote: 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

Re: FYI: AI-programmer

2013-02-22 Thread Ian Kelly
On Fri, Feb 22, 2013 at 5:09 AM, Andrew Robinson wrote: > On 02/22/2013 07:21 PM, Ian Kelly wrote: >> 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 Pyth

Re: FYI: AI-programmer

2013-02-22 Thread Andrew Robinson
On 02/22/2013 07:21 PM, Ian Kelly wrote: On Fri, Feb 22, 2013 at 4:41 AM, Chris Angelico 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 devisin

Re: FYI: AI-programmer

2013-02-22 Thread Ian Kelly
On Fri, Feb 22, 2013 at 4:41 AM, Chris Angelico 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 en

Re: FYI: AI-programmer

2013-02-22 Thread Neil Cerutti
On 2013-02-22, Gisle Vanem wrote: > Disregarding the probability math in the above, the question > IMHO boils down to whether "art can be produced by accident" > (quote from above). I seems to recall elephant painting selling > for lots of dollars some years ago. And long dull poems written > by c

Re: FYI: AI-programmer

2013-02-22 Thread Gisle Vanem
"Chris Angelico" 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 the

Re: FYI: AI-programmer

2013-02-22 Thread Chris Angelico
On Fri, Feb 22, 2013 at 9:11 PM, Gisle Vanem wrote: > Here is something interesting that you pythonistas might be > interested in: > http://www.primaryobjects.com/CMS/Article149.aspx > > """This article describes an experiment to produce an AI program, capable of > developing its own programs, usi

Re: FYI: AI-programmer

2013-02-22 Thread Duncan Booth
Gisle Vanem wrote: > Here is something interesting that you pythonistas might be > interested in: > http://www.primaryobjects.com/CMS/Article149.aspx > > """This article describes an experiment to produce an AI program, > capable of > developing its own programs, using a genetic algorithm

FYI: AI-programmer

2013-02-22 Thread Gisle Vanem
Here is something interesting that you pythonistas might be interested in: http://www.primaryobjects.com/CMS/Article149.aspx """This article describes an experiment to produce an AI program, capable of developing its own programs, using a genetic algorithm implementation with self-modifyi