Oops, we passed the Turing Test

I was bored last month. I decided that it would be fun to hack up an AI bot to sit on the #haskell IRC channel.

I wanted this bot to be a conversation bot, so I would need some sort of AI engine. I wanted it to be a learning bot, so it could learn from what people have said before. I searched around, and it seems there aren’t many good learning AI engines out there for Linux. I eventually settled on MegaHAL.

I then obtained the logs for the conversation in over the past year, and used it to train the bot.

The result was sometimes hilarous, and often riddled with typos and nonsensical (considering the source, many would say that would be expected).

I started a page of MegaMonad quotes with some of the funnier exchanges.

But here’s the best part: there was a person on the channel that didn’t realize that MegaMonad was a bot! Perhaps we just passed the Turing Test accidentally…

Haskell: My New Favorite Language

I discovered Haskell not long ago. I even wrote a bit about my initial impressions of it.

This is an amazing language. It’s been a long time since I’ve had this much fun programming. The Haskell community is also great; there are more geniuses there than anywhere I’ve seen before.

If you’re new to Haskell, try reading Haskell: The Craft of Functional Programming, 2nd Ed.. Or, if you want something online, try Yet Another Haskell Tutorial.