<?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>somewhat-hypothesis.com &#187; Programming</title>
	<atom:link href="http://somewhat-hypothesis.com/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://somewhat-hypothesis.com</link>
	<description>more or less :: explanations for certain observations</description>
	<lastBuildDate>Thu, 05 Nov 2009 01:38:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Io Volcano &#8211; A Slick Little Webserver</title>
		<link>http://somewhat-hypothesis.com/2008/12/25/io-volcano/</link>
		<comments>http://somewhat-hypothesis.com/2008/12/25/io-volcano/#comments</comments>
		<pubDate>Thu, 25 Dec 2008 02:49:49 +0000</pubDate>
		<dc:creator>colson</dc:creator>
				<category><![CDATA[Io]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[iolanguage]]></category>
		<category><![CDATA[volcano]]></category>
		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://somewhat-hypothesis.com/?p=184</guid>
		<description><![CDATA[After being somewhat disenfranchised with the Windows build of Io I grabbed a copy of VirtualBox and built Ubuntu mini up with a barebones, just-enough-for-io-and-a-little-more set of libraries. I added KDE4, Konqueror and Konsole for a little bit of visual pleasure.
Thankfully I was able, after several hours, get Io running with *most* of the addons [...]]]></description>
			<content:encoded><![CDATA[<!-- sphereit start --><p>After being somewhat disenfranchised with the Windows build of Io I grabbed a copy of VirtualBox and built Ubuntu mini up with a barebones, just-enough-for-io-and-a-little-more set of libraries. I added KDE4, Konqueror and Konsole for a little bit of visual pleasure.</p>
<p>Thankfully I was able, after several hours, get Io running with *most* of the addons compiled and installed.  It took a little bit of hackery but I finally got the $%@#% thing built. And because most of my programming is done on the web I wanted to play with the new(ish) webserver tools that were built into Io.</p>
<p>Rich Collins did some great work with his HttpServer implementation. However some of the code I found on the Internet was a little outdated. Cliff Wells, another Io hacker, had <a href="http://pentropy.twisty-industries.com/serving-simple-dynamic-content-with-io">run some benchmarks</a> with apache&#8217;s benchmarking tool &#8216;ab&#8217;. This was done back in October.</p>
<p>However, as I&#8217;ve found out &#8211; a lot of things change quickly with relatively young languages.  If you grab Cliff&#8217;s code and get a couple of errors, I&#8217;ve done the hard work for you and fingered it out. A couple of the changes are as follows:</p>
<blockquote><p><code>server := HTTPServer do(</code></p></blockquote>
<p>&#8230; should be changed to</p>
<blockquote><p><code>server := HttpServer do (</code></p></blockquote>
<p>The same goes for two lines down where you see <code>HTTPResponse</code> should be changed to <code>HttpResponse</code> After you do this, you need to add a single method to get the server to start outputting data to your browser.</p>
<blockquote><p><code>renderResponse := method ( request, response,<br />
response body = (             createBody         ) </code></p>
<p><code>)</code></p></blockquote>
<p>This should get you current with the latest (as of the date of this post).</p>
<p>Have fun!</p>
<p>p.s. I really hate how the wordpress editor busts your $@#% up swapping between HTML and Visual.</p>
<!-- sphereit end --><span style="margin-bottom:40px; border-bottom:none;"><a class="iconsphere" title="Sphere: Related Content" onclick="return Sphere.Widget.search('http://somewhat-hypothesis.com/2008/12/25/io-volcano/')" href="http://www.sphere.com/search?q=sphereit:http://somewhat-hypothesis.com/2008/12/25/io-volcano/">Sphere: Related Content</a></span><br/><br/>]]></content:encoded>
			<wfw:commentRss>http://somewhat-hypothesis.com/2008/12/25/io-volcano/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Io Language: just in case you missed it&#8230;</title>
		<link>http://somewhat-hypothesis.com/2008/07/18/io-language-just-in-case-you-missed-it/</link>
		<comments>http://somewhat-hypothesis.com/2008/07/18/io-language-just-in-case-you-missed-it/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 00:48:16 +0000</pubDate>
		<dc:creator>colson</dc:creator>
				<category><![CDATA[Io]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Io language]]></category>

		<guid isPermaLink="false">http://somewhat-hypothesis.com/2008/07/18/io-language-just-in-case-you-missed-it/</guid>
		<description><![CDATA[I&#8217;ve been toying with Io off and on for the past couple of years. Something I always forget about is that if you are building on OS X, try the following command:
sudo make port
The port directive to make tells the builder to use port to try and find all relevant libraries/downloads and build them in [...]]]></description>
			<content:encoded><![CDATA[<!-- sphereit start --><p>I&#8217;ve been toying with Io off and on for the past couple of years. Something I always forget about is that if you are building on OS X, try the following command:</p>
<pre>sudo make port</pre>
<p>The port directive to make tells the builder to use port to try and find all relevant libraries/downloads and build them in the process. It will save you a shitload of time trying to find everything you need for a quick, clean build.</p>
<!-- sphereit end --><span style="margin-bottom:40px; border-bottom:none;"><a class="iconsphere" title="Sphere: Related Content" onclick="return Sphere.Widget.search('http://somewhat-hypothesis.com/2008/07/18/io-language-just-in-case-you-missed-it/')" href="http://www.sphere.com/search?q=sphereit:http://somewhat-hypothesis.com/2008/07/18/io-language-just-in-case-you-missed-it/">Sphere: Related Content</a></span><br/><br/>]]></content:encoded>
			<wfw:commentRss>http://somewhat-hypothesis.com/2008/07/18/io-language-just-in-case-you-missed-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quote of the day:</title>
		<link>http://somewhat-hypothesis.com/2008/01/31/quote-of-the-day/</link>
		<comments>http://somewhat-hypothesis.com/2008/01/31/quote-of-the-day/#comments</comments>
		<pubDate>Thu, 31 Jan 2008 21:55:54 +0000</pubDate>
		<dc:creator>colson</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://somewhat-hypothesis.com/2008/01/31/quote-of-the-day/</guid>
		<description><![CDATA[A Java IDE vendor promoting their wares with:
&#8220;JCreator is written entirely in C++, which makes it fast and efficient compared to the Java based editors/IDE&#8217;s.&#8221;
Oh the irony.
Sphere: Related Content]]></description>
			<content:encoded><![CDATA[<!-- sphereit start --><p>A Java IDE vendor promoting their wares with:</p>
<p>&#8220;<strong><a href="http://www.jcreator.com/" title="jcreator touts their superior tool for a less efficient language.">JCreator</a> is written entirely in C++</strong>, which makes it fast and efficient compared to the Java based editors/IDE&#8217;s.&#8221;</p>
<p>Oh the irony.</p>
<!-- sphereit end --><span style="margin-bottom:40px; border-bottom:none;"><a class="iconsphere" title="Sphere: Related Content" onclick="return Sphere.Widget.search('http://somewhat-hypothesis.com/2008/01/31/quote-of-the-day/')" href="http://www.sphere.com/search?q=sphereit:http://somewhat-hypothesis.com/2008/01/31/quote-of-the-day/">Sphere: Related Content</a></span><br/><br/>]]></content:encoded>
			<wfw:commentRss>http://somewhat-hypothesis.com/2008/01/31/quote-of-the-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
