<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mindstab.net &#187; AI</title>
	<atom:link href="http://www.mindstab.net/wordpress/archives/tag/ai/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mindstab.net/wordpress</link>
	<description>Various projects and musings</description>
	<lastBuildDate>Wed, 28 Jul 2010 18:00:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>On the go</title>
		<link>http://www.mindstab.net/wordpress/archives/693</link>
		<comments>http://www.mindstab.net/wordpress/archives/693#comments</comments>
		<pubDate>Fri, 08 Jan 2010 05:04:41 +0000</pubDate>
		<dc:creator>Dan Ballard</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[C/C++]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Lisp]]></category>
		<category><![CDATA[Reading]]></category>
		<category><![CDATA[School]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.mindstab.net/wordpress/?p=693</guid>
		<description><![CDATA[So, what have I got on the go?

School: Last semester, just two classes, but they are looking like they'll be delicious and meaty

CS 411: Compiler design: We build a java compiler
CS 415: We build an operating system, fun times with C!
...actually, I'm also taking spanish!


"Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp" by [...]]]></description>
			<content:encoded><![CDATA[<p>So, what have I got on the go?</p>
<ul>
<li>School: Last semester, just two classes, but they are looking like they'll be delicious and meaty
<ul>
<li>CS 411: Compiler design: We build a java compiler</li>
<li>CS 415: We build an operating system, fun times with C!</li>
<li>...actually, I'm also taking spanish!</li>
</ul>
</li>
<li>"Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp" by Peter Norvig.  I got this for christmas and have started to work through it.  I'm really excited about getting further into it.  In the middle of it I'll be implementing prolog in Lisp and the in the latter half I'll be working on a natural language processor! Not to mention tons of other stuff, this book is huge and dense.</li>
<li><a href="http://battlecode.mit.edu/2010/">BattleCode 2010</a> has just started so my team and I are just about to start digging into that.  Lots of AI coding to be done there.</li>
<li>Peter Michaux's <a href="http://peter.michaux.ca/articles/scheme-from-scratch-introduction">Scheme from Scratch</a>.  I stumbled upon this from <a href="http://news.ycombinator.com/news">Hacker News</a>.  This fellow wants to write his own scheme to scratch a mental itch, and he's blogging each step and posting the code as well.  I think it looks like a great amount of fun and that I too have that mental itch, so I'm following along, using his blog as a guide and looking at his code as well when I get stuck, but doing my best to do it myself.</li>
<li>The great mindstab.net migration to the cloud!  Yes, setting up an entirely new server and migrating years of site history and email etc can take a lot of work.</li>
</ul>
<p>So yeah, I have an insane amount of work on my plate, but I couldn't be more excited!  All of it is thrilling and amazing!</p>
<p>Also, if I haven't mentioned it before, the dynamic duo of Jono Bacon and Stuart Langridge of Lug Radio fame are back with a new podcast <a href="http://shotofjaq.org/">Shot of Jaq</a>!  It's fun.  Really, those two Brits have been the source of the only podcast's I've ever listened to.  They are a great source of both Linux and British in my weekly diet.</p>
<p>But now I'm stoked to just find out that Ximian/Linux rockstar coder Nat Friedman and Tomboy creator and a rock star in his own right Alex Graveley have started a brand new podcast <a href="http://hackermedley.org/">Hacker Medley</a> that is the first new podcast that I'm actually quite excited to try out.</p>
<p>Finally, I'm reading "Pattern Recognition" by William Gibson in my spare time (read: on the bus) and finding it pleasant.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mindstab.net/wordpress/archives/693/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Winning BattleCode (excluding MIT)</title>
		<link>http://www.mindstab.net/wordpress/archives/483</link>
		<comments>http://www.mindstab.net/wordpress/archives/483#comments</comments>
		<pubDate>Thu, 16 Apr 2009 03:07:53 +0000</pubDate>
		<dc:creator>Dan Ballard</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.mindstab.net/wordpress/?p=483</guid>
		<description><![CDATA[I've been quiet on the blogging front lately.  Don't know exactly why, could be school has kept me busy, or who knows. 
Anyways, I thought I'd pop in and mention something I should have back in January when it started, which is that two friends and I entered MIT's BattleCode competition.  It's an [...]]]></description>
			<content:encoded><![CDATA[<p>I've been quiet on the blogging front lately.  Don't know exactly why, could be school has kept me busy, or who knows. </p>
<p>Anyways, I thought I'd pop in and mention something I should have back in January when it started, which is that two friends and I entered <a href="http://battlecode.mit.edu">MIT's BattleCode</a> competition.  It's an AI competition that a class at MIT was running, but was also open to public participation.  Basically you are writing AI to run inside robots on a battle field.  You and your opponent start with a few robots and they have to coordinate and do things like build more units, mine, and attack then enemy.  The AI executes inside each robot so there is not overall "player" of the game, just lots of instances of your code, hopefully working together.  It was a fun neat challenge.</p>
<p>It also reminded me of how much I'm not a fan of Java, and don't think I didn't make a list that I might publish if I get unlazy at some future point.  Anyways, we worked on it for a while and then the open tournament was run.  And we got the results back this week,</p>
<p>Now since the MIT teams had class time and a whole class of people to work with and bounce ideas off of, sadly they still dominated.  </p>
<p>But there was a second ranking, this time of Non MIT teams only, and now for the real surprise: we won!</p>
<p><a href="http://battlecode.mit.edu/2009/info/glory">battlecode.mit.edu/2009/info/glory</a></p>
<p>Our team was called "Bad Meme" and we were representing UBC and you can see it all their on the results page.  Of all the other non MIT teams, we were the best.  It's really kind of surprising and awesome.  Especially when you consider that anyone anywhere could enter and it appears that there were teams from places like Stanford and Harvard, and that we beat them.  So that's kind of a buzz.</p>
<p>And so that a big chunk of what I've been doing in the past month: programming battle AI.  That and school.  But now with the competition over and school coming to a draw it's time to look for some new projects.  I have a few ideas already, hopefully I'll get around to mentioning them before they are over this time, but time will tell.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mindstab.net/wordpress/archives/483/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mindstab Go AI competition status report</title>
		<link>http://www.mindstab.net/wordpress/archives/298</link>
		<comments>http://www.mindstab.net/wordpress/archives/298#comments</comments>
		<pubDate>Sun, 22 Jun 2008 19:02:17 +0000</pubDate>
		<dc:creator>Dan Ballard</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[C/C++]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Go]]></category>
		<category><![CDATA[Lisp]]></category>

		<guid isPermaLink="false">http://www.mindstab.net/wordpress/?p=298</guid>
		<description><![CDATA[Well the Mindstab Go AI competition is really starting to heat up.  You can watch the battles unfold over on the match page.
So far the only entered contenders are myself with "fink" and Rob with "RGB".  He took an early lead for a while and was working towards beating our house bot, "Amigo" [...]]]></description>
			<content:encoded><![CDATA[<p>Well the <a href="http://ai.mindstab.net/wiki/index.php/Main_Page">Mindstab Go AI competition</a> is really starting to heat up.  You can watch the battles unfold over on the <a href="http://ai.mindstab.net/go/">match page</a>.</p>
<p>So far the only entered contenders are myself with "fink" and Rob with "RGB".  He took an early lead for a while and was working towards beating our house bot, "Amigo" (found on the net, an old Go bot from the early 90s, was originally an Amiga gobot that was someone's PhD dissertation.  It isn't super good, but it is fast), and making progress on that.  I finally got some free time and have been working a ton in the last week and on friday got my bot up to a point where it could beat his, and thus took the lead.  Now with some actual competition the two of use are both hacking away at a good pace and he's retaken the lead for now but neither of use can quite best Amigo yet. </p>
<p>I'm also pretty happy with myself as my entry is coded entirely in Lisp, and this is my first actual Lisp project.  So things are sailing smoothly enough, and I'm also learning tons about Lisp. Also, I'm crediting the high level power of Lisp with letting me do more interesting things easily, which I'm going to attribute to the fact that my bot runs at usually 1/3 to 1/2 the time Rob's does, even when beating it, and his is written in C.  So when it comes to thinking about optimizing, it seems algorithms are a lot more important than the speed of the language implementing it, and a language that lets you more easily use more complex algorithms is possibly better. We'll see though once everything is all said and done .</p>
<p>We're hoping a few of the other people who have expressed interest will soon get enough code together to join the competition, and we're always looking for more interested people.  The more the merrier!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mindstab.net/wordpress/archives/298/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mindstab Go AI competition really starting now</title>
		<link>http://www.mindstab.net/wordpress/archives/290</link>
		<comments>http://www.mindstab.net/wordpress/archives/290#comments</comments>
		<pubDate>Sat, 10 May 2008 10:10:44 +0000</pubDate>
		<dc:creator>Dan Ballard</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Go]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Lisp]]></category>

		<guid isPermaLink="false">http://www.mindstab.net/wordpress/archives/290</guid>
		<description><![CDATA[Ok, so I know we announced it at around Christmas, but *now* the Mindstab AI Go Competition is starting to get under way.  Both Rob and I now have entries that can compete, though mine is mostly just an over engineered random bot, until I get even more framework in place.
Still, everything has really [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so I know we announced it at around Christmas, but *now* the <a href="http://ai.mindstab.net">Mindstab AI Go Competition</a> is starting to get under way.  Both Rob and I now have entries that can compete, though mine is mostly just an over engineered random bot, until I get even more framework in place.<br />
Still, everything has really started happening this week as now that school is over, I've had some time to devote to this, so my bot finally got off the ground.  And then we got together to day and hacked on the server some more cleaning it up, and making an <a href="http://ai.mindstab.net/wiki/index.php/Goserver_Go_Server_and_Client_Software">0.2 release of out Go client/server software</a>.<br />
Finally, and most fun, we whipped together a <a href="http://ai.mindstab.net/go/">Matchs page</a> where you can see all the results of games so far. See, real proof that things are happening!<br />
So with this out of the way I can really start to focus on the bot.  To that end I've defiantly come up against some quicks in Lisp and SBCL.  But then today we were also working in C, Python and PHP and we certainly came up against some quirks in the first two (oddly PHP really does manage to get out of your way and let you do your thing).  Still, I think I have things mostly worked out and I can focus on the bot.  Which is fun because I'm finding for the most part I'm really enjoying coding in Lisp and Slime+Emacs is pretty rocking.  As for the bot, I'm excited. I've got some fun plans for it and I haven't done nearly enough fun coding since school's been on.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mindstab.net/wordpress/archives/290/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mindstab Go AI competition kicks off</title>
		<link>http://www.mindstab.net/wordpress/archives/255</link>
		<comments>http://www.mindstab.net/wordpress/archives/255#comments</comments>
		<pubDate>Tue, 08 Jan 2008 06:35:31 +0000</pubDate>
		<dc:creator>Dan Ballard</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Go]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.mindstab.net/wordpress/archives/255</guid>
		<description><![CDATA[So this has been in the works for a bit, and now that I have the basic server software up and running I can let the cat out of the bag! We (some friends and I) are having ourselves an AI competition writing Go bots (Go the ancient Japanese board game). All the details of [...]]]></description>
			<content:encoded><![CDATA[<p>So this has been in the works for a bit, and now that I have the basic server software up and running I can let the cat out of the bag! We (some friends and I) are having ourselves an AI competition writing Go bots (Go the ancient Japanese board game). All the details of the competition are on the wiki at <a href="http://ai.mindstab.net">ai.mindstab.net</a> and the client (and server) software can be gotten from <a href="http://ai.mindstab.net/wiki/index.php/Goserver">ai.mindstab.net/wiki/index.php/Goserver</a>.</p>
<p>Anyone who is interested is more than welcome to join our merry little band of novice AI hackers.  Just sign up on the wiki and make your presence known.</p>
<p>As for writing the Goserver software, that was an interesting little adventure.  We built it around GnuGo's twogtp.py initially.  This was my first time really working in Python, and I've got to say it was a pleasure.  The language does a really credible job of getting out of your way and just letting you do stuff.  There are a few odd little things about the language but once you get up to speed coding in it they hardly seem a problem.  I still think I like Ruby overall for elegance, but until Ruby 2.0 lands with it's proper VM, execution speed isn't even comparable.  Not that for this server that was an issue, more that we had a bunch of already written python code in gtptwo.py, which is is why Python was chosen. Still defiantly pleased, it's a fine language.  So yeah, fun times.</p>
<p>As for a little more history for the 0 people who are interested, we're using <a href="http://www.lysator.liu.se/~gunnar/gtp/gtp2-spec-draft2/gtp2-spec.html">GTP (Go Text Protocol)</a> for the communication between engines and server. It's a protocol penned by the folks at GNU for GNU Go but being adopted else where.  So there's plenty of software that can speak GTP as a client and several engine vs engine pieces of code using GTP out on the web GPLed for public use.  However, running an actually Go server means you need to facilitate lots and lots of matches and also keep track of scores.  Code for all that for the different internet Go servers is all closed source, which is why we had to write our own before we could start the competition.  That done, we're all ready to Go!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mindstab.net/wordpress/archives/255/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
