<?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>Ranok&#039;s Ramblings &#187; Projects</title>
	<atom:link href="http://www.r4n0k.com/category/projects/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.r4n0k.com</link>
	<description>A peek into my life, and the projects I never complete</description>
	<lastBuildDate>Sat, 04 Feb 2012 16:36:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>libAnomaly GCC4 Update</title>
		<link>http://www.r4n0k.com/2012/02/04/libanomaly-gcc4-update/</link>
		<comments>http://www.r4n0k.com/2012/02/04/libanomaly-gcc4-update/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 16:36:19 +0000</pubDate>
		<dc:creator>ranok</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[gcc]]></category>
		<category><![CDATA[libanomaly]]></category>
		<category><![CDATA[machine learning]]></category>
		<category><![CDATA[thesis]]></category>

		<guid isPermaLink="false">http://www.r4n0k.com/?p=288</guid>
		<description><![CDATA[During my thesis research, I came across a very useful library for machine learning and anomaly detection: libAnomaly. While it hasn&#8217;t been updated in years, the papers published (see site for list) are of interest to me. When I attempted to compile the library to play around with, the build failed due to GCC4 being [...]]]></description>
			<content:encoded><![CDATA[<p>During my thesis research, I came across a very useful library for machine learning and anomaly detection: <a title="libAnomaly" href="http://www.cs.ucsb.edu/~seclab/projects/libanomaly/index.html">libAnomaly</a>. While it hasn&#8217;t been updated in years, the papers published (see site for list) are of interest to me. When I attempted to compile the library to play around with, the build failed due to GCC4 being more strict than previous versions, I found a number of other posts from people trying to build the library with similar problems, so I thought I&#8217;d fix the errors (there are still plenty of warnings) and upload it so others wouldn&#8217;t have to duplicate the effort. You can download the source from <a href="http://code.jitunleashed.com/libanomaly-0.1-gcc4.tar.gz">here</a>.</p>
<p>&nbsp;</p>
<p>Peace and chow,</p>
<p>Jacob</p>
]]></content:encoded>
			<wfw:commentRss>http://www.r4n0k.com/2012/02/04/libanomaly-gcc4-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Long Time No Post</title>
		<link>http://www.r4n0k.com/2010/04/23/long-time-no-post/</link>
		<comments>http://www.r4n0k.com/2010/04/23/long-time-no-post/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 13:56:33 +0000</pubDate>
		<dc:creator>ranok</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[ais]]></category>
		<category><![CDATA[Clarkson]]></category>
		<category><![CDATA[iceland]]></category>
		<category><![CDATA[osp]]></category>
		<category><![CDATA[school]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[shellcode]]></category>

		<guid isPermaLink="false">http://www.r4n0k.com/?p=237</guid>
		<description><![CDATA[It&#8217;s been quite a while since I&#8217;ve posted here, and to my devout readers I apoligize. As many of you know, this has been my last semester of my undergraduate studies, so I have been very busy over the past few months. This post will hopefully act as a dump of what I&#8217;ve been up [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been quite a while since I&#8217;ve posted here, and to my devout readers I apoligize. As many of you know, this has been my last semester of my undergraduate studies, so I have been very busy over the past few months. This post will hopefully act as a dump of what I&#8217;ve been up to and what I will be doing until my next post.</p>
<p>Things I did:</p>
<ul>
<li>Developed a method for calling parts of functions to minimize/obfuscate programs</li>
<li>Worked with Ryan on <a href="http://github.com/ranok/open-server-platform">OSP</a> to get a web based cluster management system integrated into the cluster administration page</li>
<li>Played with return-to-libc attacks and got them working on the latest version of Ubuntu Linux</li>
</ul>
<p>Things on the horizon:</p>
<ul>
<li>Working full-time for AIS</li>
<li>Traveling to Iceland for 3 weeks</li>
<li>Working on a computer security textbook</li>
<li>Running a marathon in August</li>
</ul>
<p>It is very weird to me to think that today is the last day of classes for me as a traditional full-time student. I&#8217;ve been going to school since I was 5 and it is very weird to think that come August I will not be returning to the classroom as my primary past-time. I am excited to travel and get away from the normal swing of things for a while to reflect on the new changes in my life, and excited to begin working, especially due to the extra leisure time after work.</p>
<p>Peace and chow,</p>
<p>Ranok</p>
]]></content:encoded>
			<wfw:commentRss>http://www.r4n0k.com/2010/04/23/long-time-no-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Server Platform Version 0.3 Released!</title>
		<link>http://www.r4n0k.com/2009/04/21/osp-version-03-released/</link>
		<comments>http://www.r4n0k.com/2009/04/21/osp-version-03-released/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 23:14:27 +0000</pubDate>
		<dc:creator>ranok</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[erlang]]></category>
		<category><![CDATA[mnesia]]></category>
		<category><![CDATA[osp]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://www.r4n0k.com/?p=179</guid>
		<description><![CDATA[Today I finally got around to going through and testing the RC for version 0.3 of Open Server Platform. Everything seemed to work as planned, except for a few known issues that will be fixed in the next release, which should be coming down the pipe soon. Improvements: Added replication nodes to increase fail-safe reliability [...]]]></description>
			<content:encoded><![CDATA[<p>Today I finally got around to going through and testing the RC for <a href="http://groups.google.com/group/openserverplatform/browse_thread/thread/101e2a449b87e648">version 0.3</a> of <a href="http://openserverplatform.com/">Open Server Platform</a>. Everything seemed to work as planned, except for a few known issues that will be fixed in the next release, which should be coming down the pipe soon.</p>
<p>Improvements:</p>
<ul>
<li>Added replication nodes to increase fail-safe reliability</li>
<li>Added commands to the administration console to stop and live migrate applications</li>
<li>Can use configuration files to assist in the start up of OSP</li>
<li>Many bug fixes and documentation updates</li>
<li>The HTTPd servlet example now supports large files and the HEAD command</li>
</ul>
<p>So, please check it out and let me know what you think!</p>
<p>Peace and chow,</p>
<p>Ranok</p>
]]></content:encoded>
			<wfw:commentRss>http://www.r4n0k.com/2009/04/21/osp-version-03-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Back in the Groove</title>
		<link>http://www.r4n0k.com/2009/04/07/back-in-the-groove/</link>
		<comments>http://www.r4n0k.com/2009/04/07/back-in-the-groove/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 04:23:12 +0000</pubDate>
		<dc:creator>ranok</dc:creator>
				<category><![CDATA[For Fun]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[erlang]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[osp]]></category>

		<guid isPermaLink="false">http://www.r4n0k.com/?p=176</guid>
		<description><![CDATA[After taking off the afternoon due to a migraine, and napping for a few hours until it passed, I was looking over some old projects, and decided to get motivated to work on my various Erlang hackery projects. I checked out a fresh copy of Open Server Platform on my new computer, and decided to [...]]]></description>
			<content:encoded><![CDATA[<p>After taking off the afternoon due to a migraine, and napping for a few hours until it passed, I was looking over some old projects, and decided to get motivated to work on my various Erlang hackery projects. I checked out a fresh copy of <a href="http://openserverplatform.com/">Open Server Platform</a> on my <a href="http://www.flickr.com/photos/ranok/3309567067/">new</a> <a href="http://www.flickr.com/photos/ranok/3310396142/">computer</a>, and decided to hack on it some more. There are a number of loose ends I&#8217;d like to tie up before the 0.3 release, but, before I could get down to coding, SVN get my so frustrated that I could no longer deal with it and switched to git, creating a <a href="http://github.com/ranok/open-server-platform/tree/master">new repository on Github</a>. I will keep the <a href="http://code.google.com/p/openserverplatform/">Google Code repository</a> the &#8216;defacto&#8217; repository, where the safer code gets committed, but use Github for the more bleeding edge development due to it&#8217;s simplified branching and merging (among other things).</p>
<p>In the new git setup, I have two branches (aside from master, which follows the SVN repository): otp and no-otp. The no-otp version is currently the stable code that runs just fine, but doesn&#8217;t take advantage of Erlang&#8217;s OTP framework. The otp branch is the more cutting edge OTP aware version, which I hope to fully migrate to soon. With full support for OTP, I should be able to use an already existing distribution platform, and more battle tested redundancy.</p>
<p>This evening, I fixed a long standing bug in the example HTTPd where the server would crash when opening large files due to a shortcut I took with first implementing the server. Originally, the server would read the entire file into a string and then send that to the client, as you can probably see, there is a problem when the server tries to read in a 3.9 GB file (my test file). Now, my servlet takes a much more sane approach, read in the file 1 kilobyte at time, sending that to the client before reading more. This new approach works perfectly, though I had to add some messiness for handling CGI/PHP files and different MIME types. I also added support for the HTTP HEAD command.</p>
<p>Peace and chow,</p>
<p>Ranok</p>
]]></content:encoded>
			<wfw:commentRss>http://www.r4n0k.com/2009/04/07/back-in-the-groove/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Git and Wiki Wide Web</title>
		<link>http://www.r4n0k.com/2009/03/24/git-and-wiki-wide-web/</link>
		<comments>http://www.r4n0k.com/2009/03/24/git-and-wiki-wide-web/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 02:50:32 +0000</pubDate>
		<dc:creator>ranok</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[wiki wide web]]></category>

		<guid isPermaLink="false">http://www.r4n0k.com/?p=174</guid>
		<description><![CDATA[I admit it, I&#8217;ve finally jumped on the Git bandwagon. After toying with SVN and Darcs, I was convinced when I saw a screen-cast about branching and merging and how it makes the kind of random, skitzo programming that I do very easy and very maintainable. I started using it at work to keep track [...]]]></description>
			<content:encoded><![CDATA[<p>I admit it, I&#8217;ve finally jumped on the <a href="http://git-scm.com/">Git </a>bandwagon. After toying with SVN and Darcs, I was convinced when I saw a screen-cast about branching and merging and how it makes the kind of random, skitzo programming that I do very easy and very maintainable. I started using it at work to keep track of some files as a test and finally bit the bullet and signed up for a <a href="http://github.com/ranok">GitHub account</a>. Once I had gotten setup, I made a few repositories to upload some code I had made for my high school senior project, code that I haven&#8217;t looked at in years and probably never will again. Then I decided to share something a bit more exciting, <a href="http://wikiwideweb.net/">Wiki Wide Web</a>&#8216;s bleeding edge source code. After some quick review to ensure I cleared the code of any hard coded passwords, I committed the source.</p>
<p>One thing I like about putting your code on a site like GitHub is that it guilts you into cleaning it up. If you hope that people are going to see it, then you feel slightly pushed to make an effort to clean it up. That pressure lead me to add some installation instructions and a make file for the Firefox extension, and clean up some code.</p>
<p>Peace and chow,</p>
<p>Ranok</p>
]]></content:encoded>
			<wfw:commentRss>http://www.r4n0k.com/2009/03/24/git-and-wiki-wide-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Time Really Flies!</title>
		<link>http://www.r4n0k.com/2009/02/04/time-really-flies/</link>
		<comments>http://www.r4n0k.com/2009/02/04/time-really-flies/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 01:16:12 +0000</pubDate>
		<dc:creator>ranok</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[cosi]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.r4n0k.com/?p=157</guid>
		<description><![CDATA[I just made the discovery the other day that I&#8217;ve been on co-op for over a month, and time shows no sign of slowing down! For those of you who haven&#8217;t had the delight of hearing me expound on how much I love my co-op, I have really found a place where I fit in, [...]]]></description>
			<content:encoded><![CDATA[<p>I just made the discovery the other day that I&#8217;ve been on co-op for over a month, and time shows no sign of slowing down! For those of you who haven&#8217;t had the delight of hearing me expound on how much I love my co-op, I have really found a place where I fit in, am challenged everyday, and don&#8217;t have to do any tedious work, just cutting edge security research!</p>
<p>Anyways, now that I&#8217;ve gotten that over with, I was up at Clarkson the other week for the career fair, and I went up the night before for the COSI meeting. That evening a <a href="http://robotgrrl.com/blog/">new member</a> introduced a new project to add easy to use AI libraries to the <a href="http://www.processing.org/">Processing</a> language. I thought that is might be a good idea to take a look at AI stuff before I take the class when I return, so I&#8217;m excited to dive in and learn what I can! Also, after learning how little I really know about virtualization, and seeing how popular it is, I thought I&#8217;d like to jump on the bandwagon and learn about it. Last night I bought Running Xen and its sister book The Definitive Guide to Xen and I proposed (through <a href="http://www.zjs.name/blog/">Zach</a>) that to learn more about it, I&#8217;d like to form a rag tag groups of hackers and write our own, open-source virtualization application, whatever that entails. I hope to post soon as I start learning what I&#8217;m in for.</p>
<p>Peace and chow,</p>
<p>Ranok</p>
]]></content:encoded>
			<wfw:commentRss>http://www.r4n0k.com/2009/02/04/time-really-flies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Next Semester Projects</title>
		<link>http://www.r4n0k.com/2008/12/25/next-semester-projects/</link>
		<comments>http://www.r4n0k.com/2008/12/25/next-semester-projects/#comments</comments>
		<pubDate>Thu, 25 Dec 2008 13:33:03 +0000</pubDate>
		<dc:creator>ranok</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[DNSCurve]]></category>
		<category><![CDATA[DNSSEC]]></category>
		<category><![CDATA[erlang]]></category>
		<category><![CDATA[fang]]></category>
		<category><![CDATA[osp]]></category>

		<guid isPermaLink="false">http://www.r4n0k.com/?p=143</guid>
		<description><![CDATA[Seeing as I&#8217;m going to have no homework for the next semester (!!) I&#8217;m hoping to get some more projects underway in my down time. I&#8217;m going to use this post as a dump of my current interests and as a road-map for where I want to go in the next few months. I&#8217;m sure [...]]]></description>
			<content:encoded><![CDATA[<p>Seeing as I&#8217;m going to have no homework for the next semester (!!) I&#8217;m hoping to get some more projects underway in my down time. I&#8217;m going to use this post as a dump of my current interests and as a road-map for where I want to go in the next few months. I&#8217;m sure this will change as time goes on, but I need to start somewhere!</p>
<p>Projects in progress:</p>
<ul>
<li><a href="http://www.jacobtorrey.com/FANG/">FANG</a> &#8211; I&#8217;d like to polish the multi-processing system, add namespaces, and tie it into the Erlang stdlib. Also add macros (real macros!) to FANG.</li>
<li><a href="http://www.openserverplatform.com">OSP</a> &#8211; I&#8217;m going to be using OSP as a basis for LadieBug (mentioned below). This will hopefully give me perspective into what I should work on in OSP to make it more friendly for development.</li>
</ul>
<p>New projects:</p>
<ul>
<li>I&#8217;d like to take advantage of LaunchPad&#8217;s &#8216;Personal Package Archive&#8217; system to host a few of my own Ubuntu packages, namely a more up-to-date version of Erlang&#8217;s OTP system.</li>
<li>LadieBug &#8211; To take advantage of OSP&#8217;s distributed data store, I&#8217;d like to implement my own caching, recursive DNS server that would be both DNSSEC and DNSCurve compliant and would share the cache over the entire cluster, making it more scalable and reduce the number of needless queries.</li>
</ul>
<p>That&#8217;s about all I can think of at the moment, if anyone would like to help me on any of these, feel free to comment below and we can get in touch.</p>
<p>Peace and chow,</p>
<p>Ranok</p>
]]></content:encoded>
			<wfw:commentRss>http://www.r4n0k.com/2008/12/25/next-semester-projects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FANG Version 0.1 Released!</title>
		<link>http://www.r4n0k.com/2008/12/06/fang-version-01-released/</link>
		<comments>http://www.r4n0k.com/2008/12/06/fang-version-01-released/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 15:46:39 +0000</pubDate>
		<dc:creator>ranok</dc:creator>
				<category><![CDATA[For Fun]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[erlang]]></category>
		<category><![CDATA[fang]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.r4n0k.com/?p=129</guid>
		<description><![CDATA[I spent my birthday yesterday polishing up FANG for it&#8217;s initial release to the public, after adding some error handling so it would fail more gracefully and adding the ability to parse in files and save the current state of the system to a file for later retrieval. I also did away with the rather [...]]]></description>
			<content:encoded><![CDATA[<p>I spent my birthday yesterday polishing up FANG for it&#8217;s initial release to the public, after adding some error handling so it would fail more gracefully and adding the ability to parse in files and save the current state of the system to a file for later retrieval. I also did away with the rather hideous use of the process dictionary and moved to an auto balanced tree structure for storing the data.</p>
<p>Over break, I&#8217;m hoping to add enough other features to warrant a 0.2 release, which I&#8217;d like to have support for soft-processes (ala Erlang), multi-node support and transactional shared memory (using Mnesia). I would also like to add permissions and process jailing for the soft-processes to allow for running untrusted code in a sandbox of sorts.</p>
<p>I&#8217;ve started a very simple (and ugly) site to put my progress and releases. You can <a href="http://www.jacobtorrey.com/FANG/">check it out here</a> and please comment with suggestions or other features you&#8217;d think would be a valuable addition. Good luck on everyone&#8217;s finals and projects! Have a wonderful break!</p>
<p>Peace and chow,</p>
<p>Ranok</p>
]]></content:encoded>
			<wfw:commentRss>http://www.r4n0k.com/2008/12/06/fang-version-01-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lulz of the Day: Ark</title>
		<link>http://www.r4n0k.com/2008/11/16/lotd-ark/</link>
		<comments>http://www.r4n0k.com/2008/11/16/lotd-ark/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 01:19:59 +0000</pubDate>
		<dc:creator>ranok</dc:creator>
				<category><![CDATA[For Fun]]></category>
		<category><![CDATA[IRC]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[LOTD]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://www.r4n0k.com/?p=117</guid>
		<description><![CDATA[Well, it&#8217;s about time for there to be another Lulz of the Day! Today we&#8217;ll be lulzing about Ark, my IRC anti-floodbot script. As an IRCop on a network, I am constantly figthing floodbots who join, /msg everyone on the network some spam and then disconnect. I figured that there must be a way to [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it&#8217;s about time for there to be another Lulz of the Day! Today we&#8217;ll be lulzing about Ark, my IRC anti-floodbot script. As an IRCop on a network, I am constantly figthing floodbots who join, /msg everyone on the network some spam and then disconnect. I figured that there must be a way to stop them, and so I diligently started working on Ark. Ark is a perlscript that connects to an IRC server as an IRCop and joins the most popular channels (which you specify). It then waits quietly, bidding its time until it gets /msg&#8217;d. Once it receives a message, it springs into action, checking the received message against a list of regexs. If any of them match, it will /kill the bot and resume its slumber.</p>
<p>This very simple, yet oddly helpful script can be downloaded from <a href="http://code.jitunleashed.com/ark.tar">my code site</a></p>
<p>Peace and chow,</p>
<p>Ranok</p>
]]></content:encoded>
			<wfw:commentRss>http://www.r4n0k.com/2008/11/16/lotd-ark/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Lulz of the Day: Cesspool</title>
		<link>http://www.r4n0k.com/2008/11/14/lulz-of-the-day-cesspool/</link>
		<comments>http://www.r4n0k.com/2008/11/14/lulz-of-the-day-cesspool/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 17:09:47 +0000</pubDate>
		<dc:creator>ranok</dc:creator>
				<category><![CDATA[For Fun]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[LOTD]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://www.r4n0k.com/?p=113</guid>
		<description><![CDATA[While cleaning up my hard drive, I&#8217;ve come across many old projects that are pretty interesting, and I thought I&#8217;d start a mini-series of these little pearls (perls?) I come across as I find them. Without further ado, lets start with our first Lulz of the Day (LOTD)! Cesspool As many of you know, I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p>While cleaning up my hard drive, I&#8217;ve come across many old projects that are pretty interesting, and I thought I&#8217;d start a mini-series of these little pearls (perls?) I come across as I find them. Without further ado, lets start with our first Lulz of the Day (LOTD)!</p>
<p><strong>Cesspool</strong></p>
<p>As many of you know, I&#8217;m in the systems biology class this semester, and recently we spent a week or so looking at the genetic algorithm and its applications. I immediately began hacking on a genetic algorithm to &#8216;breed&#8217; a <a href="http://www.corewars.org/">Corewars</a> warrior. The code for this is pretty simple, and still needs much revision, but it&#8217;s bred some programs that are pretty good. I&#8217;m going to run it a few times and try to put together some statistics in the next few days, but for now, you can <a href="http://code.jitunleashed.com/cesspool.txt">download the source</a> and play around with it as you wish. Basically what it does is:</p>
<ol>
<li>Generates some initial warriors with random commands and arguments</li>
<li>Pits the warriors against themselves in battle using the corewars-cmd command</li>
<li>Ranks them by their scores</li>
<li>Cross breeds the best 20% of the population, and mutate the rest (with 5% chance of mutation)</li>
<li>Repeat from step 2 for the number of generations.</li>
</ol>
<p>Todo:</p>
<ul>
<li>Modify the cross-breeding algorithm so it doesn&#8217;t just append one program to the other, but mixes up the commands of both</li>
<li>Small bug fixes with the scraper for the corewars-cmd results</li>
<li>Run a number of times, and then pit the best generated warriors against some made by humans</li>
</ul>
<p>Peace and lulz,</p>
<p>Ranok</p>
]]></content:encoded>
			<wfw:commentRss>http://www.r4n0k.com/2008/11/14/lulz-of-the-day-cesspool/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

