1st Ever Artificial Consciousness to be Written in D Language

Chris via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Fri Sep 4 04:30:53 PDT 2015


On Friday, 4 September 2015 at 10:43:32 UTC, Ola Fosheim Grøstad 
wrote:
> On Friday, 4 September 2015 at 10:11:18 UTC, Chris wrote:
>> Maybe he'll come up with something that is more intelligent 
>> than your average tabloid reader :)))
>
> You should file a business-patent! That would be goldmine.

Not really. A tabloid reader can be modeled like this:

immutable TabloidReader tr =
[
   hate:fear,
   fear:hate
];

immutable Opinion ifYouAskMe(gibberish statement) @safe
{
   in
   {
     assert(statement == bullsh*t);
   }
   out(result)
   {
     assert(result == AbsoluteBullsh*t);
   }
   body
   {
     return "I'm not racist, but " ~ statement;
   }
}

So you just need something that is a bit more sophisticated ;)


More information about the Digitalmars-d-announce mailing list