<?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>worrbase &#187; programming</title>
	<atom:link href="http://www.worrbase.com/tag/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.worrbase.com</link>
	<description>Highlighting the thrilling adventures of William Orr</description>
	<lastBuildDate>Tue, 06 Jul 2010 08:04:16 +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>My first COBOL program on z/OS</title>
		<link>http://www.worrbase.com/2010/04/25/my-first-cobol-program-on-zos/</link>
		<comments>http://www.worrbase.com/2010/04/25/my-first-cobol-program-on-zos/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 09:42:23 +0000</pubDate>
		<dc:creator>worr</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[cobol]]></category>
		<category><![CDATA[JCL]]></category>
		<category><![CDATA[mainframes]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[z/OS]]></category>

		<guid isPermaLink="false">http://www.worrbase.com/?p=34</guid>
		<description><![CDATA[Today, I got Hello World working in COBOL on an IBM Z9. This is actually surprisingly more difficult than it would seem. But I&#8217;m gonna document it here so I remember how to do it, and also in case some random z/OS n00b stumbles upon this entry.
Here is the Hello World file I wrote:

1
2
3
4
5
IDENTIFICATION DIVISION.
PROGRAM-ID. [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I got Hello World working in COBOL on an IBM Z9. This is actually surprisingly more difficult than it would seem. But I&#8217;m gonna document it here so I remember how to do it, and also in case some random z/OS n00b stumbles upon this entry.</p>
<p>Here is the Hello World file I wrote:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="cobol" style="font-family:monospace;"><span style="color: #008000; font-weight: bold;">IDENTIFICATION</span> <span style="color: #008000; font-weight: bold;">DIVISION</span><span style="color: #000066;">.</span>
<span style="color: #008000; font-weight: bold;">PROGRAM-ID</span><span style="color: #000066;">.</span> HELLO<span style="color: #000066;">.</span>
<span style="color: #008000; font-weight: bold;">PROCEDURE</span> <span style="color: #008000; font-weight: bold;">DIVISION</span><span style="color: #000066;">.</span>
    <span style="color: #000000; font-weight: bold;">DISPLAY</span> <span style="color: #ff0000;">'Hello, World'</span><span style="color: #000066;">.</span>
    <span style="color: #008000; font-weight: bold;">STOP</span> <span style="color: #008000; font-weight: bold;">RUN</span><span style="color: #000066;">.</span></pre></td></tr></table></div>

<p>Seems pretty easy, right? Well, yeah, no duh. It&#8217;s Hello World. I grabbed it from a Wikipedia article. It&#8217;s not exactly innovative genius. However, compiling it and linking it is a different story.</p>
<p>I tried at first using the ISPF foreground COBOL compiler. However, this was very non-obvious, and the documentation was lacking. All the documentation I found consisted mostly of how to do it through TSO, where it made mention that an ISPF interface did exist.</p>
<p>So then I went the JCL route.</p>
<p>IBM has some great documentation on how to do this. However, it is definitely not in the 900+ page Enterprise COBOL for z/OS Programming Guide. That was really just confusing. <a href="http://publib.boulder.ibm.com/infocenter/zos/basics/index.jsp?topic=/com.ibm.zos.zappldev/toc.htm" onclick="pageTracker._trackPageview('/outgoing/publib.boulder.ibm.com/infocenter/zos/basics/index.jsp?topic=/com.ibm.zos.zappldev/toc.htm&amp;referer=');">Here is the great documentation.</a> This is what got me off the ground.</p>
<p>My JCL ended up looking like this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="" style="font-family:monospace;">//CLGP JOB
//CLG EXEC IGYWCLG
//COBOL.SYSIN DD DSN=HLQ.EXPERIME.COBOL<span class="br0">&#40;</span>HELLO<span class="br0">&#41;</span>,DISP=SHR</pre></td></tr></table></div>

<p>It&#8217;s really pretty simple. The first line just declares the name of the job (CLGP), the next line executes the terribly named COBOL compile, link-editor, and run JCL procedure. IBM wrote it so you don&#8217;t have to. The last line just loads the dataset member that contains all of the COBOL code.</p>
<p>See? Mainframes and COBOL are THAT easy!</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share this post:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.worrbase.com%2F2010%2F04%2F25%2Fmy-first-cobol-program-on-zos%2F&amp;title=My%20first%20COBOL%20program%20on%20z%2FOS&amp;bodytext=Today%2C%20I%20got%20Hello%20World%20working%20in%20COBOL%20on%20an%20IBM%20Z9.%20This%20is%20actually%20surprisingly%20more%20difficult%20than%20it%20would%20seem.%20But%20I%27m%20gonna%20document%20it%20here%20so%20I%20remember%20how%20to%20do%20it%2C%20and%20also%20in%20case%20some%20random%20z%2FOS%20n00b%20stumbles%20upon%20this%20entry.%0D%0A%0D%0AHe" title="Digg" onclick="pageTracker._trackPageview('/outgoing/digg.com/submit?phase=2_amp_url=http_3A_2F_2Fwww.worrbase.com_2F2010_2F04_2F25_2Fmy-first-cobol-program-on-zos_2F_amp_title=My_20first_20COBOL_20program_20on_20z_2FOS_amp_bodytext=Today_2C_20I_20got_20Hello_20World_20working_20in_20COBOL_20on_20an_20IBM_20Z9._20This_20is_20actually_20surprisingly_20more_20difficult_20than_20it_20would_20seem._20But_20I_27m_20gonna_20document_20it_20here_20so_20I_20remember_20how_20to_20do_20it_2C_20and_20also_20in_20case_20some_20random_20z_2FOS_20n00b_20stumbles_20upon_20this_20entry._0D_0A_0D_0AHe&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.worrbase.com%2F2010%2F04%2F25%2Fmy-first-cobol-program-on-zos%2F&amp;title=My%20first%20COBOL%20program%20on%20z%2FOS&amp;notes=Today%2C%20I%20got%20Hello%20World%20working%20in%20COBOL%20on%20an%20IBM%20Z9.%20This%20is%20actually%20surprisingly%20more%20difficult%20than%20it%20would%20seem.%20But%20I%27m%20gonna%20document%20it%20here%20so%20I%20remember%20how%20to%20do%20it%2C%20and%20also%20in%20case%20some%20random%20z%2FOS%20n00b%20stumbles%20upon%20this%20entry.%0D%0A%0D%0AHe" title="del.icio.us" onclick="pageTracker._trackPageview('/outgoing/delicious.com/post?url=http_3A_2F_2Fwww.worrbase.com_2F2010_2F04_2F25_2Fmy-first-cobol-program-on-zos_2F_amp_title=My_20first_20COBOL_20program_20on_20z_2FOS_amp_notes=Today_2C_20I_20got_20Hello_20World_20working_20in_20COBOL_20on_20an_20IBM_20Z9._20This_20is_20actually_20surprisingly_20more_20difficult_20than_20it_20would_20seem._20But_20I_27m_20gonna_20document_20it_20here_20so_20I_20remember_20how_20to_20do_20it_2C_20and_20also_20in_20case_20some_20random_20z_2FOS_20n00b_20stumbles_20upon_20this_20entry._0D_0A_0D_0AHe&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.worrbase.com%2F2010%2F04%2F25%2Fmy-first-cobol-program-on-zos%2F&amp;t=My%20first%20COBOL%20program%20on%20z%2FOS" title="Facebook" onclick="pageTracker._trackPageview('/outgoing/www.facebook.com/share.php?u=http_3A_2F_2Fwww.worrbase.com_2F2010_2F04_2F25_2Fmy-first-cobol-program-on-zos_2F_amp_t=My_20first_20COBOL_20program_20on_20z_2FOS&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.worrbase.com%2F2010%2F04%2F25%2Fmy-first-cobol-program-on-zos%2F&amp;title=My%20first%20COBOL%20program%20on%20z%2FOS&amp;annotation=Today%2C%20I%20got%20Hello%20World%20working%20in%20COBOL%20on%20an%20IBM%20Z9.%20This%20is%20actually%20surprisingly%20more%20difficult%20than%20it%20would%20seem.%20But%20I%27m%20gonna%20document%20it%20here%20so%20I%20remember%20how%20to%20do%20it%2C%20and%20also%20in%20case%20some%20random%20z%2FOS%20n00b%20stumbles%20upon%20this%20entry.%0D%0A%0D%0AHe" title="Google Bookmarks" onclick="pageTracker._trackPageview('/outgoing/www.google.com/bookmarks/mark?op=edit_amp_bkmk=http_3A_2F_2Fwww.worrbase.com_2F2010_2F04_2F25_2Fmy-first-cobol-program-on-zos_2F_amp_title=My_20first_20COBOL_20program_20on_20z_2FOS_amp_annotation=Today_2C_20I_20got_20Hello_20World_20working_20in_20COBOL_20on_20an_20IBM_20Z9._20This_20is_20actually_20surprisingly_20more_20difficult_20than_20it_20would_20seem._20But_20I_27m_20gonna_20document_20it_20here_20so_20I_20remember_20how_20to_20do_20it_2C_20and_20also_20in_20case_20some_20random_20z_2FOS_20n00b_20stumbles_20upon_20this_20entry._0D_0A_0D_0AHe&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.friendfeed.com/share?title=My%20first%20COBOL%20program%20on%20z%2FOS&amp;link=http%3A%2F%2Fwww.worrbase.com%2F2010%2F04%2F25%2Fmy-first-cobol-program-on-zos%2F" title="FriendFeed" onclick="pageTracker._trackPageview('/outgoing/www.friendfeed.com/share?title=My_20first_20COBOL_20program_20on_20z_2FOS_amp_link=http_3A_2F_2Fwww.worrbase.com_2F2010_2F04_2F25_2Fmy-first-cobol-program-on-zos_2F&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://identi.ca/notice/new?status_textarea=http%3A%2F%2Fwww.worrbase.com%2F2010%2F04%2F25%2Fmy-first-cobol-program-on-zos%2F" title="Identi.ca" onclick="pageTracker._trackPageview('/outgoing/identi.ca/notice/new?status_textarea=http_3A_2F_2Fwww.worrbase.com_2F2010_2F04_2F25_2Fmy-first-cobol-program-on-zos_2F&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/identica.png" title="Identi.ca" alt="Identi.ca" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.worrbase.com%2F2010%2F04%2F25%2Fmy-first-cobol-program-on-zos%2F&amp;title=My%20first%20COBOL%20program%20on%20z%2FOS&amp;source=worrbase+Highlighting+the+thrilling+adventures+of+William+Orr&amp;summary=Today%2C%20I%20got%20Hello%20World%20working%20in%20COBOL%20on%20an%20IBM%20Z9.%20This%20is%20actually%20surprisingly%20more%20difficult%20than%20it%20would%20seem.%20But%20I%27m%20gonna%20document%20it%20here%20so%20I%20remember%20how%20to%20do%20it%2C%20and%20also%20in%20case%20some%20random%20z%2FOS%20n00b%20stumbles%20upon%20this%20entry.%0D%0A%0D%0AHe" title="LinkedIn" onclick="pageTracker._trackPageview('/outgoing/www.linkedin.com/shareArticle?mini=true_amp_url=http_3A_2F_2Fwww.worrbase.com_2F2010_2F04_2F25_2Fmy-first-cobol-program-on-zos_2F_amp_title=My_20first_20COBOL_20program_20on_20z_2FOS_amp_source=worrbase+Highlighting+the+thrilling+adventures+of+William+Orr_amp_summary=Today_2C_20I_20got_20Hello_20World_20working_20in_20COBOL_20on_20an_20IBM_20Z9._20This_20is_20actually_20surprisingly_20more_20difficult_20than_20it_20would_20seem._20But_20I_27m_20gonna_20document_20it_20here_20so_20I_20remember_20how_20to_20do_20it_2C_20and_20also_20in_20case_20some_20random_20z_2FOS_20n00b_20stumbles_20upon_20this_20entry._0D_0A_0D_0AHe&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.worrbase.com%2F2010%2F04%2F25%2Fmy-first-cobol-program-on-zos%2F&amp;title=My%20first%20COBOL%20program%20on%20z%2FOS" title="Live" onclick="pageTracker._trackPageview('/outgoing/favorites.live.com/quickadd.aspx?marklet=1_amp_url=http_3A_2F_2Fwww.worrbase.com_2F2010_2F04_2F25_2Fmy-first-cobol-program-on-zos_2F_amp_title=My_20first_20COBOL_20program_20on_20z_2FOS&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fwww.worrbase.com%2F2010%2F04%2F25%2Fmy-first-cobol-program-on-zos%2F&amp;title=My%20first%20COBOL%20program%20on%20z%2FOS" title="Reddit" onclick="pageTracker._trackPageview('/outgoing/reddit.com/submit?url=http_3A_2F_2Fwww.worrbase.com_2F2010_2F04_2F25_2Fmy-first-cobol-program-on-zos_2F_amp_title=My_20first_20COBOL_20program_20on_20z_2FOS&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=My%20first%20COBOL%20program%20on%20z%2FOS&amp;url=http%3A%2F%2Fwww.worrbase.com%2F2010%2F04%2F25%2Fmy-first-cobol-program-on-zos%2F" title="Slashdot" onclick="pageTracker._trackPageview('/outgoing/slashdot.org/bookmark.pl?title=My_20first_20COBOL_20program_20on_20z_2FOS_amp_url=http_3A_2F_2Fwww.worrbase.com_2F2010_2F04_2F25_2Fmy-first-cobol-program-on-zos_2F&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.worrbase.com%2F2010%2F04%2F25%2Fmy-first-cobol-program-on-zos%2F&amp;title=My%20first%20COBOL%20program%20on%20z%2FOS" title="StumbleUpon" onclick="pageTracker._trackPageview('/outgoing/www.stumbleupon.com/submit?url=http_3A_2F_2Fwww.worrbase.com_2F2010_2F04_2F25_2Fmy-first-cobol-program-on-zos_2F_amp_title=My_20first_20COBOL_20program_20on_20z_2FOS&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.worrbase.com%2F2010%2F04%2F25%2Fmy-first-cobol-program-on-zos%2F&amp;t=My%20first%20COBOL%20program%20on%20z%2FOS&amp;s=Today%2C%20I%20got%20Hello%20World%20working%20in%20COBOL%20on%20an%20IBM%20Z9.%20This%20is%20actually%20surprisingly%20more%20difficult%20than%20it%20would%20seem.%20But%20I%27m%20gonna%20document%20it%20here%20so%20I%20remember%20how%20to%20do%20it%2C%20and%20also%20in%20case%20some%20random%20z%2FOS%20n00b%20stumbles%20upon%20this%20entry.%0D%0A%0D%0AHe" title="Tumblr" onclick="pageTracker._trackPageview('/outgoing/www.tumblr.com/share?v=3_amp_u=http_3A_2F_2Fwww.worrbase.com_2F2010_2F04_2F25_2Fmy-first-cobol-program-on-zos_2F_amp_t=My_20first_20COBOL_20program_20on_20z_2FOS_amp_s=Today_2C_20I_20got_20Hello_20World_20working_20in_20COBOL_20on_20an_20IBM_20Z9._20This_20is_20actually_20surprisingly_20more_20difficult_20than_20it_20would_20seem._20But_20I_27m_20gonna_20document_20it_20here_20so_20I_20remember_20how_20to_20do_20it_2C_20and_20also_20in_20case_20some_20random_20z_2FOS_20n00b_20stumbles_20upon_20this_20entry._0D_0A_0D_0AHe&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://twitter.com/home?status=My%20first%20COBOL%20program%20on%20z%2FOS%20-%20http%3A%2F%2Fwww.worrbase.com%2F2010%2F04%2F25%2Fmy-first-cobol-program-on-zos%2F" title="Twitter" onclick="pageTracker._trackPageview('/outgoing/twitter.com/home?status=My_20first_20COBOL_20program_20on_20z_2FOS_20-_20http_3A_2F_2Fwww.worrbase.com_2F2010_2F04_2F25_2Fmy-first-cobol-program-on-zos_2F&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.worrbase.com/2010/04/25/my-first-cobol-program-on-zos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>COBOL</title>
		<link>http://www.worrbase.com/2010/03/13/cobol/</link>
		<comments>http://www.worrbase.com/2010/03/13/cobol/#comments</comments>
		<pubDate>Sat, 13 Mar 2010 08:24:01 +0000</pubDate>
		<dc:creator>worr</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Systems Administration]]></category>
		<category><![CDATA[cobol]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[mainframes]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[totally not 60 years old]]></category>

		<guid isPermaLink="false">http://www.worrbase.com/?p=19</guid>
		<description><![CDATA[So I haven&#8217;t really posted in the last month, mainly because I haven&#8217;t done anything interesting. I&#8217;ve been writing some Perl code using Catalyst and Mason. But that&#8217;s not terribly exciting.
I am however, taking a Mainframes course at RIT this quarter. It promises to be relatively exciting. In it, we get to learn the intricacies [...]]]></description>
			<content:encoded><![CDATA[<p>So I haven&#8217;t really posted in the last month, mainly because I haven&#8217;t done anything interesting. I&#8217;ve been writing some Perl code using Catalyst and Mason. But that&#8217;s not terribly exciting.</p>
<p>I am however, taking a Mainframes course at RIT this quarter. It promises to be relatively exciting. In it, we get to learn the intricacies of z/OS, and how to manage one of those beasts. That&#8217;ll be fun. Surprisingly, there&#8217;s a programming project towards the end of it (it&#8217;s surprising because it&#8217;s a Networking and Sysadmin course, we don&#8217;t program much). And since I&#8217;m learning how to administer and use mainframes, I thought to myself, &#8220;Hell, let&#8217;s do this project in COBOL.&#8221; So here I sit, trying to find a decent COBOL tutorial on the internet.</p>
<p>If anyone finds one, please send it to me. It&#8217;d be nice.</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share this post:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.worrbase.com%2F2010%2F03%2F13%2Fcobol%2F&amp;title=COBOL&amp;bodytext=So%20I%20haven%27t%20really%20posted%20in%20the%20last%20month%2C%20mainly%20because%20I%20haven%27t%20done%20anything%20interesting.%20I%27ve%20been%20writing%20some%20Perl%20code%20using%20Catalyst%20and%20Mason.%20But%20that%27s%20not%20terribly%20exciting.%0D%0A%0D%0AI%20am%20however%2C%20taking%20a%20Mainframes%20course%20at%20RIT%20this%20qua" title="Digg" onclick="pageTracker._trackPageview('/outgoing/digg.com/submit?phase=2_amp_url=http_3A_2F_2Fwww.worrbase.com_2F2010_2F03_2F13_2Fcobol_2F_amp_title=COBOL_amp_bodytext=So_20I_20haven_27t_20really_20posted_20in_20the_20last_20month_2C_20mainly_20because_20I_20haven_27t_20done_20anything_20interesting._20I_27ve_20been_20writing_20some_20Perl_20code_20using_20Catalyst_20and_20Mason._20But_20that_27s_20not_20terribly_20exciting._0D_0A_0D_0AI_20am_20however_2C_20taking_20a_20Mainframes_20course_20at_20RIT_20this_20qua&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.worrbase.com%2F2010%2F03%2F13%2Fcobol%2F&amp;title=COBOL&amp;notes=So%20I%20haven%27t%20really%20posted%20in%20the%20last%20month%2C%20mainly%20because%20I%20haven%27t%20done%20anything%20interesting.%20I%27ve%20been%20writing%20some%20Perl%20code%20using%20Catalyst%20and%20Mason.%20But%20that%27s%20not%20terribly%20exciting.%0D%0A%0D%0AI%20am%20however%2C%20taking%20a%20Mainframes%20course%20at%20RIT%20this%20qua" title="del.icio.us" onclick="pageTracker._trackPageview('/outgoing/delicious.com/post?url=http_3A_2F_2Fwww.worrbase.com_2F2010_2F03_2F13_2Fcobol_2F_amp_title=COBOL_amp_notes=So_20I_20haven_27t_20really_20posted_20in_20the_20last_20month_2C_20mainly_20because_20I_20haven_27t_20done_20anything_20interesting._20I_27ve_20been_20writing_20some_20Perl_20code_20using_20Catalyst_20and_20Mason._20But_20that_27s_20not_20terribly_20exciting._0D_0A_0D_0AI_20am_20however_2C_20taking_20a_20Mainframes_20course_20at_20RIT_20this_20qua&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.worrbase.com%2F2010%2F03%2F13%2Fcobol%2F&amp;t=COBOL" title="Facebook" onclick="pageTracker._trackPageview('/outgoing/www.facebook.com/share.php?u=http_3A_2F_2Fwww.worrbase.com_2F2010_2F03_2F13_2Fcobol_2F_amp_t=COBOL&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.worrbase.com%2F2010%2F03%2F13%2Fcobol%2F&amp;title=COBOL&amp;annotation=So%20I%20haven%27t%20really%20posted%20in%20the%20last%20month%2C%20mainly%20because%20I%20haven%27t%20done%20anything%20interesting.%20I%27ve%20been%20writing%20some%20Perl%20code%20using%20Catalyst%20and%20Mason.%20But%20that%27s%20not%20terribly%20exciting.%0D%0A%0D%0AI%20am%20however%2C%20taking%20a%20Mainframes%20course%20at%20RIT%20this%20qua" title="Google Bookmarks" onclick="pageTracker._trackPageview('/outgoing/www.google.com/bookmarks/mark?op=edit_amp_bkmk=http_3A_2F_2Fwww.worrbase.com_2F2010_2F03_2F13_2Fcobol_2F_amp_title=COBOL_amp_annotation=So_20I_20haven_27t_20really_20posted_20in_20the_20last_20month_2C_20mainly_20because_20I_20haven_27t_20done_20anything_20interesting._20I_27ve_20been_20writing_20some_20Perl_20code_20using_20Catalyst_20and_20Mason._20But_20that_27s_20not_20terribly_20exciting._0D_0A_0D_0AI_20am_20however_2C_20taking_20a_20Mainframes_20course_20at_20RIT_20this_20qua&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.friendfeed.com/share?title=COBOL&amp;link=http%3A%2F%2Fwww.worrbase.com%2F2010%2F03%2F13%2Fcobol%2F" title="FriendFeed" onclick="pageTracker._trackPageview('/outgoing/www.friendfeed.com/share?title=COBOL_amp_link=http_3A_2F_2Fwww.worrbase.com_2F2010_2F03_2F13_2Fcobol_2F&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://identi.ca/notice/new?status_textarea=http%3A%2F%2Fwww.worrbase.com%2F2010%2F03%2F13%2Fcobol%2F" title="Identi.ca" onclick="pageTracker._trackPageview('/outgoing/identi.ca/notice/new?status_textarea=http_3A_2F_2Fwww.worrbase.com_2F2010_2F03_2F13_2Fcobol_2F&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/identica.png" title="Identi.ca" alt="Identi.ca" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.worrbase.com%2F2010%2F03%2F13%2Fcobol%2F&amp;title=COBOL&amp;source=worrbase+Highlighting+the+thrilling+adventures+of+William+Orr&amp;summary=So%20I%20haven%27t%20really%20posted%20in%20the%20last%20month%2C%20mainly%20because%20I%20haven%27t%20done%20anything%20interesting.%20I%27ve%20been%20writing%20some%20Perl%20code%20using%20Catalyst%20and%20Mason.%20But%20that%27s%20not%20terribly%20exciting.%0D%0A%0D%0AI%20am%20however%2C%20taking%20a%20Mainframes%20course%20at%20RIT%20this%20qua" title="LinkedIn" onclick="pageTracker._trackPageview('/outgoing/www.linkedin.com/shareArticle?mini=true_amp_url=http_3A_2F_2Fwww.worrbase.com_2F2010_2F03_2F13_2Fcobol_2F_amp_title=COBOL_amp_source=worrbase+Highlighting+the+thrilling+adventures+of+William+Orr_amp_summary=So_20I_20haven_27t_20really_20posted_20in_20the_20last_20month_2C_20mainly_20because_20I_20haven_27t_20done_20anything_20interesting._20I_27ve_20been_20writing_20some_20Perl_20code_20using_20Catalyst_20and_20Mason._20But_20that_27s_20not_20terribly_20exciting._0D_0A_0D_0AI_20am_20however_2C_20taking_20a_20Mainframes_20course_20at_20RIT_20this_20qua&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.worrbase.com%2F2010%2F03%2F13%2Fcobol%2F&amp;title=COBOL" title="Live" onclick="pageTracker._trackPageview('/outgoing/favorites.live.com/quickadd.aspx?marklet=1_amp_url=http_3A_2F_2Fwww.worrbase.com_2F2010_2F03_2F13_2Fcobol_2F_amp_title=COBOL&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fwww.worrbase.com%2F2010%2F03%2F13%2Fcobol%2F&amp;title=COBOL" title="Reddit" onclick="pageTracker._trackPageview('/outgoing/reddit.com/submit?url=http_3A_2F_2Fwww.worrbase.com_2F2010_2F03_2F13_2Fcobol_2F_amp_title=COBOL&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=COBOL&amp;url=http%3A%2F%2Fwww.worrbase.com%2F2010%2F03%2F13%2Fcobol%2F" title="Slashdot" onclick="pageTracker._trackPageview('/outgoing/slashdot.org/bookmark.pl?title=COBOL_amp_url=http_3A_2F_2Fwww.worrbase.com_2F2010_2F03_2F13_2Fcobol_2F&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.worrbase.com%2F2010%2F03%2F13%2Fcobol%2F&amp;title=COBOL" title="StumbleUpon" onclick="pageTracker._trackPageview('/outgoing/www.stumbleupon.com/submit?url=http_3A_2F_2Fwww.worrbase.com_2F2010_2F03_2F13_2Fcobol_2F_amp_title=COBOL&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.worrbase.com%2F2010%2F03%2F13%2Fcobol%2F&amp;t=COBOL&amp;s=So%20I%20haven%27t%20really%20posted%20in%20the%20last%20month%2C%20mainly%20because%20I%20haven%27t%20done%20anything%20interesting.%20I%27ve%20been%20writing%20some%20Perl%20code%20using%20Catalyst%20and%20Mason.%20But%20that%27s%20not%20terribly%20exciting.%0D%0A%0D%0AI%20am%20however%2C%20taking%20a%20Mainframes%20course%20at%20RIT%20this%20qua" title="Tumblr" onclick="pageTracker._trackPageview('/outgoing/www.tumblr.com/share?v=3_amp_u=http_3A_2F_2Fwww.worrbase.com_2F2010_2F03_2F13_2Fcobol_2F_amp_t=COBOL_amp_s=So_20I_20haven_27t_20really_20posted_20in_20the_20last_20month_2C_20mainly_20because_20I_20haven_27t_20done_20anything_20interesting._20I_27ve_20been_20writing_20some_20Perl_20code_20using_20Catalyst_20and_20Mason._20But_20that_27s_20not_20terribly_20exciting._0D_0A_0D_0AI_20am_20however_2C_20taking_20a_20Mainframes_20course_20at_20RIT_20this_20qua&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://twitter.com/home?status=COBOL%20-%20http%3A%2F%2Fwww.worrbase.com%2F2010%2F03%2F13%2Fcobol%2F" title="Twitter" onclick="pageTracker._trackPageview('/outgoing/twitter.com/home?status=COBOL_20-_20http_3A_2F_2Fwww.worrbase.com_2F2010_2F03_2F13_2Fcobol_2F&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.worrbase.com/2010/03/13/cobol/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My major is too easy&#8230;</title>
		<link>http://www.worrbase.com/2010/01/18/my-major-is-too-easy/</link>
		<comments>http://www.worrbase.com/2010/01/18/my-major-is-too-easy/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 08:10:24 +0000</pubDate>
		<dc:creator>worr</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[boredom]]></category>
		<category><![CDATA[brainfuck]]></category>
		<category><![CDATA[code generation]]></category>
		<category><![CDATA[csh]]></category>
		<category><![CDATA[hello world]]></category>
		<category><![CDATA[interpreter]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[useless]]></category>

		<guid isPermaLink="false">http://www.worrbase.com/?p=16</guid>
		<description><![CDATA[This weekend, I had absolutely nothing to do. I didn&#8217;t have any homework, studying, projects or the like because my major is far too easy. So I got bored and wrote a complete Brainfuck interpreter in Perl.
The interpreter was the easiest; it took me a morning to get that working albeit without support for nested [...]]]></description>
			<content:encoded><![CDATA[<p>This weekend, I had absolutely nothing to do. I didn&#8217;t have any homework, studying, projects or the like because my major is far too easy. So I got bored and wrote a complete <a href="http://en.wikipedia.org/wiki/Brainfuck" onclick="pageTracker._trackPageview('/outgoing/en.wikipedia.org/wiki/Brainfuck?referer=');">Brainfuck</a> interpreter in Perl.</p>
<p>The interpreter was the easiest; it took me a morning to get that working albeit without support for nested parens. After that, I decided to write a text to Brainfuck converter, which (not surprisingly) turns text into executable Brainfuck code. Maybe if I get bored again, I could write a module to output the equivalent Perl or C code given some Brainfuck code.</p>
<p>This was my first real project using object oriented Perl. In all honesty, I like that Perl&#8217;s object system allows for many different types of objects (objects can be scalars, arrays, or hashes) and how flexible that is. Unfortunately, I didn&#8217;t get to exploit that flexibility in my code. It&#8217;s still cool though.</p>
<p>What I wrote is 2 Perl modules that make up the linked list that store data generated by Brainfuck code, a Perl module that interprets and runs the code, and a Perl module that translates text to executable Brainfuck code. I know I could have used a pre-built linked list, but I thought it was more fun to write my own.</p>
<p>The biggest challenge was definitely writing the translation code. I could&#8217;ve done it the easy way, and just output x amount of pluses for the character code of each letter, but I decided that was the lamest way to write Brainfuck. Instead, I looped through each character in the phrase, and added some nodes in my Brainfuck code that corresponded to the tens place of each character code. Then, when outputting a character, my Brainfuck code would change the data pointer to the node that was set to the tens place of the character code of the desired character, and increment or decrement it to the proper value.</p>
<p>A more ideal way to do it (to generate cleaner Brainfuck, at least) is to set each of those prep nodes to the nearest multiple of 20 for each character code, and then use whichever node is closest to the desired value. Maybe if I feel like doing more with this, then I&#8217;ll add that feature (probably not).</p>
<p>In addition to writing all this, I also made a <a href="http://github.com/worr" onclick="pageTracker._trackPageview('/outgoing/github.com/worr?referer=');">GitHub</a> account. My GitHub has all the above code, so you can clone the repo if you want to see what the code looks like (it&#8217;s actually really easy to read Perl).</p>
<p>This whole idea came from an idea on CSH. A guy here decided to publish a &#8220;Hello World of the Week&#8221; article in our newsletter, and to combat him I wrote a Brainfuck version of Hello World. This contest grew, and other people joined (albeit humorously) with such contributions as a boot loader that printed out Hello World, Hello World in White Space, and Hello World in Microsoft Word. My contribution (also in my git repo) generated valid Brainfuck code for the phrase Hello World, and then ran it through my interpreter (aka Hello World in 425ish lines).</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share this post:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.worrbase.com%2F2010%2F01%2F18%2Fmy-major-is-too-easy%2F&amp;title=My%20major%20is%20too%20easy...&amp;bodytext=This%20weekend%2C%20I%20had%20absolutely%20nothing%20to%20do.%20I%20didn%27t%20have%20any%20homework%2C%20studying%2C%20projects%20or%20the%20like%20because%20my%20major%20is%20far%20too%20easy.%20So%20I%20got%20bored%20and%20wrote%20a%20complete%20Brainfuck%20interpreter%20in%20Perl.%0D%0A%0D%0AThe%20interpreter%20was%20the%20easiest%3B%20it%20took%20" title="Digg" onclick="pageTracker._trackPageview('/outgoing/digg.com/submit?phase=2_amp_url=http_3A_2F_2Fwww.worrbase.com_2F2010_2F01_2F18_2Fmy-major-is-too-easy_2F_amp_title=My_20major_20is_20too_20easy..._amp_bodytext=This_20weekend_2C_20I_20had_20absolutely_20nothing_20to_20do._20I_20didn_27t_20have_20any_20homework_2C_20studying_2C_20projects_20or_20the_20like_20because_20my_20major_20is_20far_20too_20easy._20So_20I_20got_20bored_20and_20wrote_20a_20complete_20Brainfuck_20interpreter_20in_20Perl._0D_0A_0D_0AThe_20interpreter_20was_20the_20easiest_3B_20it_20took_20&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.worrbase.com%2F2010%2F01%2F18%2Fmy-major-is-too-easy%2F&amp;title=My%20major%20is%20too%20easy...&amp;notes=This%20weekend%2C%20I%20had%20absolutely%20nothing%20to%20do.%20I%20didn%27t%20have%20any%20homework%2C%20studying%2C%20projects%20or%20the%20like%20because%20my%20major%20is%20far%20too%20easy.%20So%20I%20got%20bored%20and%20wrote%20a%20complete%20Brainfuck%20interpreter%20in%20Perl.%0D%0A%0D%0AThe%20interpreter%20was%20the%20easiest%3B%20it%20took%20" title="del.icio.us" onclick="pageTracker._trackPageview('/outgoing/delicious.com/post?url=http_3A_2F_2Fwww.worrbase.com_2F2010_2F01_2F18_2Fmy-major-is-too-easy_2F_amp_title=My_20major_20is_20too_20easy..._amp_notes=This_20weekend_2C_20I_20had_20absolutely_20nothing_20to_20do._20I_20didn_27t_20have_20any_20homework_2C_20studying_2C_20projects_20or_20the_20like_20because_20my_20major_20is_20far_20too_20easy._20So_20I_20got_20bored_20and_20wrote_20a_20complete_20Brainfuck_20interpreter_20in_20Perl._0D_0A_0D_0AThe_20interpreter_20was_20the_20easiest_3B_20it_20took_20&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.worrbase.com%2F2010%2F01%2F18%2Fmy-major-is-too-easy%2F&amp;t=My%20major%20is%20too%20easy..." title="Facebook" onclick="pageTracker._trackPageview('/outgoing/www.facebook.com/share.php?u=http_3A_2F_2Fwww.worrbase.com_2F2010_2F01_2F18_2Fmy-major-is-too-easy_2F_amp_t=My_20major_20is_20too_20easy...&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.worrbase.com%2F2010%2F01%2F18%2Fmy-major-is-too-easy%2F&amp;title=My%20major%20is%20too%20easy...&amp;annotation=This%20weekend%2C%20I%20had%20absolutely%20nothing%20to%20do.%20I%20didn%27t%20have%20any%20homework%2C%20studying%2C%20projects%20or%20the%20like%20because%20my%20major%20is%20far%20too%20easy.%20So%20I%20got%20bored%20and%20wrote%20a%20complete%20Brainfuck%20interpreter%20in%20Perl.%0D%0A%0D%0AThe%20interpreter%20was%20the%20easiest%3B%20it%20took%20" title="Google Bookmarks" onclick="pageTracker._trackPageview('/outgoing/www.google.com/bookmarks/mark?op=edit_amp_bkmk=http_3A_2F_2Fwww.worrbase.com_2F2010_2F01_2F18_2Fmy-major-is-too-easy_2F_amp_title=My_20major_20is_20too_20easy..._amp_annotation=This_20weekend_2C_20I_20had_20absolutely_20nothing_20to_20do._20I_20didn_27t_20have_20any_20homework_2C_20studying_2C_20projects_20or_20the_20like_20because_20my_20major_20is_20far_20too_20easy._20So_20I_20got_20bored_20and_20wrote_20a_20complete_20Brainfuck_20interpreter_20in_20Perl._0D_0A_0D_0AThe_20interpreter_20was_20the_20easiest_3B_20it_20took_20&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.friendfeed.com/share?title=My%20major%20is%20too%20easy...&amp;link=http%3A%2F%2Fwww.worrbase.com%2F2010%2F01%2F18%2Fmy-major-is-too-easy%2F" title="FriendFeed" onclick="pageTracker._trackPageview('/outgoing/www.friendfeed.com/share?title=My_20major_20is_20too_20easy..._amp_link=http_3A_2F_2Fwww.worrbase.com_2F2010_2F01_2F18_2Fmy-major-is-too-easy_2F&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://identi.ca/notice/new?status_textarea=http%3A%2F%2Fwww.worrbase.com%2F2010%2F01%2F18%2Fmy-major-is-too-easy%2F" title="Identi.ca" onclick="pageTracker._trackPageview('/outgoing/identi.ca/notice/new?status_textarea=http_3A_2F_2Fwww.worrbase.com_2F2010_2F01_2F18_2Fmy-major-is-too-easy_2F&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/identica.png" title="Identi.ca" alt="Identi.ca" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.worrbase.com%2F2010%2F01%2F18%2Fmy-major-is-too-easy%2F&amp;title=My%20major%20is%20too%20easy...&amp;source=worrbase+Highlighting+the+thrilling+adventures+of+William+Orr&amp;summary=This%20weekend%2C%20I%20had%20absolutely%20nothing%20to%20do.%20I%20didn%27t%20have%20any%20homework%2C%20studying%2C%20projects%20or%20the%20like%20because%20my%20major%20is%20far%20too%20easy.%20So%20I%20got%20bored%20and%20wrote%20a%20complete%20Brainfuck%20interpreter%20in%20Perl.%0D%0A%0D%0AThe%20interpreter%20was%20the%20easiest%3B%20it%20took%20" title="LinkedIn" onclick="pageTracker._trackPageview('/outgoing/www.linkedin.com/shareArticle?mini=true_amp_url=http_3A_2F_2Fwww.worrbase.com_2F2010_2F01_2F18_2Fmy-major-is-too-easy_2F_amp_title=My_20major_20is_20too_20easy..._amp_source=worrbase+Highlighting+the+thrilling+adventures+of+William+Orr_amp_summary=This_20weekend_2C_20I_20had_20absolutely_20nothing_20to_20do._20I_20didn_27t_20have_20any_20homework_2C_20studying_2C_20projects_20or_20the_20like_20because_20my_20major_20is_20far_20too_20easy._20So_20I_20got_20bored_20and_20wrote_20a_20complete_20Brainfuck_20interpreter_20in_20Perl._0D_0A_0D_0AThe_20interpreter_20was_20the_20easiest_3B_20it_20took_20&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.worrbase.com%2F2010%2F01%2F18%2Fmy-major-is-too-easy%2F&amp;title=My%20major%20is%20too%20easy..." title="Live" onclick="pageTracker._trackPageview('/outgoing/favorites.live.com/quickadd.aspx?marklet=1_amp_url=http_3A_2F_2Fwww.worrbase.com_2F2010_2F01_2F18_2Fmy-major-is-too-easy_2F_amp_title=My_20major_20is_20too_20easy...&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fwww.worrbase.com%2F2010%2F01%2F18%2Fmy-major-is-too-easy%2F&amp;title=My%20major%20is%20too%20easy..." title="Reddit" onclick="pageTracker._trackPageview('/outgoing/reddit.com/submit?url=http_3A_2F_2Fwww.worrbase.com_2F2010_2F01_2F18_2Fmy-major-is-too-easy_2F_amp_title=My_20major_20is_20too_20easy...&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=My%20major%20is%20too%20easy...&amp;url=http%3A%2F%2Fwww.worrbase.com%2F2010%2F01%2F18%2Fmy-major-is-too-easy%2F" title="Slashdot" onclick="pageTracker._trackPageview('/outgoing/slashdot.org/bookmark.pl?title=My_20major_20is_20too_20easy..._amp_url=http_3A_2F_2Fwww.worrbase.com_2F2010_2F01_2F18_2Fmy-major-is-too-easy_2F&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.worrbase.com%2F2010%2F01%2F18%2Fmy-major-is-too-easy%2F&amp;title=My%20major%20is%20too%20easy..." title="StumbleUpon" onclick="pageTracker._trackPageview('/outgoing/www.stumbleupon.com/submit?url=http_3A_2F_2Fwww.worrbase.com_2F2010_2F01_2F18_2Fmy-major-is-too-easy_2F_amp_title=My_20major_20is_20too_20easy...&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.worrbase.com%2F2010%2F01%2F18%2Fmy-major-is-too-easy%2F&amp;t=My%20major%20is%20too%20easy...&amp;s=This%20weekend%2C%20I%20had%20absolutely%20nothing%20to%20do.%20I%20didn%27t%20have%20any%20homework%2C%20studying%2C%20projects%20or%20the%20like%20because%20my%20major%20is%20far%20too%20easy.%20So%20I%20got%20bored%20and%20wrote%20a%20complete%20Brainfuck%20interpreter%20in%20Perl.%0D%0A%0D%0AThe%20interpreter%20was%20the%20easiest%3B%20it%20took%20" title="Tumblr" onclick="pageTracker._trackPageview('/outgoing/www.tumblr.com/share?v=3_amp_u=http_3A_2F_2Fwww.worrbase.com_2F2010_2F01_2F18_2Fmy-major-is-too-easy_2F_amp_t=My_20major_20is_20too_20easy..._amp_s=This_20weekend_2C_20I_20had_20absolutely_20nothing_20to_20do._20I_20didn_27t_20have_20any_20homework_2C_20studying_2C_20projects_20or_20the_20like_20because_20my_20major_20is_20far_20too_20easy._20So_20I_20got_20bored_20and_20wrote_20a_20complete_20Brainfuck_20interpreter_20in_20Perl._0D_0A_0D_0AThe_20interpreter_20was_20the_20easiest_3B_20it_20took_20&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://twitter.com/home?status=My%20major%20is%20too%20easy...%20-%20http%3A%2F%2Fwww.worrbase.com%2F2010%2F01%2F18%2Fmy-major-is-too-easy%2F" title="Twitter" onclick="pageTracker._trackPageview('/outgoing/twitter.com/home?status=My_20major_20is_20too_20easy..._20-_20http_3A_2F_2Fwww.worrbase.com_2F2010_2F01_2F18_2Fmy-major-is-too-easy_2F&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.worrbase.com/2010/01/18/my-major-is-too-easy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Wave</title>
		<link>http://www.worrbase.com/2009/10/26/google-wave/</link>
		<comments>http://www.worrbase.com/2009/10/26/google-wave/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 06:52:00 +0000</pubDate>
		<dc:creator>worr</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[google wave]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.worrbase.com/?p=10</guid>
		<description><![CDATA[Yeah, that&#8217;s right. Just got an account. Well, by just, I mean I got one on Friday. Don&#8217;t even ask for invites, because they were gone by Saturday morning. Also, if you don&#8217;t know what Wave is, you should really go to this site and watch the video. I know it&#8217;s long, but it&#8217;s well [...]]]></description>
			<content:encoded><![CDATA[<p>Yeah, that&#8217;s right. Just got an account. Well, by just, I mean I got one on Friday. Don&#8217;t even ask for invites, because they were gone by Saturday morning. Also, if you don&#8217;t know what Wave is, you should really go to <a href="http://wave.google.com" onclick="pageTracker._trackPageview('/outgoing/wave.google.com?referer=');">this</a> site and watch the video. I know it&#8217;s long, but it&#8217;s well worth it.</p>
<p>So Google Wave is pretty awesome. It&#8217;s ridiculously buggy, but it works well enough if you aren&#8217;t using it in a production environment. I have yet to try out any of the multimedia stuff beyond embedding YouTube videos in Wave, but I imagine it works just as well as everything else does. I&#8217;ll probably talk more about that when I&#8217;ve played with it.</p>
<p>What I&#8217;ve really been playing with is the Wave API, in Python of course. The jist of what I&#8217;ve been reading is that the Java API isn&#8217;t as up to par as the Python API. Also, I hate Java, and I hate writing code in Java.</p>
<p>The Wave API is built off of <a href="http://appspot.com" onclick="pageTracker._trackPageview('/outgoing/appspot.com?referer=');">Google App Engine</a>, and has all the same limitations as App Engine. My roommate and I kinda half started working on an NNTP gateway to Wave. Unfortunately, the limitations App Engine sets makes this a little more difficult than we&#8217;d like (no sockets or anything of the sort).</p>
<p>The one thing I&#8217;ve come across in the API that I don&#8217;t like, is that you *must* include the entire Python Wave module in the app directory that you upload to App Engine. Not a huge issue, but definitely a bit of an annoyance. The only real problems I see are the possibility for people to modify the version of the Wave API they upload, and that the version of the Wave API they upload is outdated.</p>
<p>Another issue with using App Engine as the platform for all of the Wave code and such, is that you *must* use Python 2.5. App Engine doesn&#8217;t work with anything higher than that. So even though the Wave development site says you can use Python 2.5 or above, the above part is really a lie.</p>
<p>The good news: Google Wave won&#8217;t forever be reliant on App Engine. Sometime in the future, they will be allowing Apps from anywhere. This is will be awesome, and I can&#8217;t wait.</p>
<p>Oh, and I had other productive things I was gonna do this weekend, but they all got shot to hell when I got my Wave account.</p>
<p>Now you can wave me at ay1244@googlewave.com</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share this post:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.worrbase.com%2F2009%2F10%2F26%2Fgoogle-wave%2F&amp;title=Google%20Wave&amp;bodytext=Yeah%2C%20that%27s%20right.%20Just%20got%20an%20account.%20Well%2C%20by%20just%2C%20I%20mean%20I%20got%20one%20on%20Friday.%20Don%27t%20even%20ask%20for%20invites%2C%20because%20they%20were%20gone%20by%20Saturday%20morning.%20Also%2C%20if%20you%20don%27t%20know%20what%20Wave%20is%2C%20you%20should%20really%20go%20to%20this%20site%20and%20watch%20the%20video.%20I" title="Digg" onclick="pageTracker._trackPageview('/outgoing/digg.com/submit?phase=2_amp_url=http_3A_2F_2Fwww.worrbase.com_2F2009_2F10_2F26_2Fgoogle-wave_2F_amp_title=Google_20Wave_amp_bodytext=Yeah_2C_20that_27s_20right._20Just_20got_20an_20account._20Well_2C_20by_20just_2C_20I_20mean_20I_20got_20one_20on_20Friday._20Don_27t_20even_20ask_20for_20invites_2C_20because_20they_20were_20gone_20by_20Saturday_20morning._20Also_2C_20if_20you_20don_27t_20know_20what_20Wave_20is_2C_20you_20should_20really_20go_20to_20this_20site_20and_20watch_20the_20video._20I&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.worrbase.com%2F2009%2F10%2F26%2Fgoogle-wave%2F&amp;title=Google%20Wave&amp;notes=Yeah%2C%20that%27s%20right.%20Just%20got%20an%20account.%20Well%2C%20by%20just%2C%20I%20mean%20I%20got%20one%20on%20Friday.%20Don%27t%20even%20ask%20for%20invites%2C%20because%20they%20were%20gone%20by%20Saturday%20morning.%20Also%2C%20if%20you%20don%27t%20know%20what%20Wave%20is%2C%20you%20should%20really%20go%20to%20this%20site%20and%20watch%20the%20video.%20I" title="del.icio.us" onclick="pageTracker._trackPageview('/outgoing/delicious.com/post?url=http_3A_2F_2Fwww.worrbase.com_2F2009_2F10_2F26_2Fgoogle-wave_2F_amp_title=Google_20Wave_amp_notes=Yeah_2C_20that_27s_20right._20Just_20got_20an_20account._20Well_2C_20by_20just_2C_20I_20mean_20I_20got_20one_20on_20Friday._20Don_27t_20even_20ask_20for_20invites_2C_20because_20they_20were_20gone_20by_20Saturday_20morning._20Also_2C_20if_20you_20don_27t_20know_20what_20Wave_20is_2C_20you_20should_20really_20go_20to_20this_20site_20and_20watch_20the_20video._20I&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.worrbase.com%2F2009%2F10%2F26%2Fgoogle-wave%2F&amp;t=Google%20Wave" title="Facebook" onclick="pageTracker._trackPageview('/outgoing/www.facebook.com/share.php?u=http_3A_2F_2Fwww.worrbase.com_2F2009_2F10_2F26_2Fgoogle-wave_2F_amp_t=Google_20Wave&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.worrbase.com%2F2009%2F10%2F26%2Fgoogle-wave%2F&amp;title=Google%20Wave&amp;annotation=Yeah%2C%20that%27s%20right.%20Just%20got%20an%20account.%20Well%2C%20by%20just%2C%20I%20mean%20I%20got%20one%20on%20Friday.%20Don%27t%20even%20ask%20for%20invites%2C%20because%20they%20were%20gone%20by%20Saturday%20morning.%20Also%2C%20if%20you%20don%27t%20know%20what%20Wave%20is%2C%20you%20should%20really%20go%20to%20this%20site%20and%20watch%20the%20video.%20I" title="Google Bookmarks" onclick="pageTracker._trackPageview('/outgoing/www.google.com/bookmarks/mark?op=edit_amp_bkmk=http_3A_2F_2Fwww.worrbase.com_2F2009_2F10_2F26_2Fgoogle-wave_2F_amp_title=Google_20Wave_amp_annotation=Yeah_2C_20that_27s_20right._20Just_20got_20an_20account._20Well_2C_20by_20just_2C_20I_20mean_20I_20got_20one_20on_20Friday._20Don_27t_20even_20ask_20for_20invites_2C_20because_20they_20were_20gone_20by_20Saturday_20morning._20Also_2C_20if_20you_20don_27t_20know_20what_20Wave_20is_2C_20you_20should_20really_20go_20to_20this_20site_20and_20watch_20the_20video._20I&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.friendfeed.com/share?title=Google%20Wave&amp;link=http%3A%2F%2Fwww.worrbase.com%2F2009%2F10%2F26%2Fgoogle-wave%2F" title="FriendFeed" onclick="pageTracker._trackPageview('/outgoing/www.friendfeed.com/share?title=Google_20Wave_amp_link=http_3A_2F_2Fwww.worrbase.com_2F2009_2F10_2F26_2Fgoogle-wave_2F&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://identi.ca/notice/new?status_textarea=http%3A%2F%2Fwww.worrbase.com%2F2009%2F10%2F26%2Fgoogle-wave%2F" title="Identi.ca" onclick="pageTracker._trackPageview('/outgoing/identi.ca/notice/new?status_textarea=http_3A_2F_2Fwww.worrbase.com_2F2009_2F10_2F26_2Fgoogle-wave_2F&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/identica.png" title="Identi.ca" alt="Identi.ca" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.worrbase.com%2F2009%2F10%2F26%2Fgoogle-wave%2F&amp;title=Google%20Wave&amp;source=worrbase+Highlighting+the+thrilling+adventures+of+William+Orr&amp;summary=Yeah%2C%20that%27s%20right.%20Just%20got%20an%20account.%20Well%2C%20by%20just%2C%20I%20mean%20I%20got%20one%20on%20Friday.%20Don%27t%20even%20ask%20for%20invites%2C%20because%20they%20were%20gone%20by%20Saturday%20morning.%20Also%2C%20if%20you%20don%27t%20know%20what%20Wave%20is%2C%20you%20should%20really%20go%20to%20this%20site%20and%20watch%20the%20video.%20I" title="LinkedIn" onclick="pageTracker._trackPageview('/outgoing/www.linkedin.com/shareArticle?mini=true_amp_url=http_3A_2F_2Fwww.worrbase.com_2F2009_2F10_2F26_2Fgoogle-wave_2F_amp_title=Google_20Wave_amp_source=worrbase+Highlighting+the+thrilling+adventures+of+William+Orr_amp_summary=Yeah_2C_20that_27s_20right._20Just_20got_20an_20account._20Well_2C_20by_20just_2C_20I_20mean_20I_20got_20one_20on_20Friday._20Don_27t_20even_20ask_20for_20invites_2C_20because_20they_20were_20gone_20by_20Saturday_20morning._20Also_2C_20if_20you_20don_27t_20know_20what_20Wave_20is_2C_20you_20should_20really_20go_20to_20this_20site_20and_20watch_20the_20video._20I&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.worrbase.com%2F2009%2F10%2F26%2Fgoogle-wave%2F&amp;title=Google%20Wave" title="Live" onclick="pageTracker._trackPageview('/outgoing/favorites.live.com/quickadd.aspx?marklet=1_amp_url=http_3A_2F_2Fwww.worrbase.com_2F2009_2F10_2F26_2Fgoogle-wave_2F_amp_title=Google_20Wave&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fwww.worrbase.com%2F2009%2F10%2F26%2Fgoogle-wave%2F&amp;title=Google%20Wave" title="Reddit" onclick="pageTracker._trackPageview('/outgoing/reddit.com/submit?url=http_3A_2F_2Fwww.worrbase.com_2F2009_2F10_2F26_2Fgoogle-wave_2F_amp_title=Google_20Wave&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=Google%20Wave&amp;url=http%3A%2F%2Fwww.worrbase.com%2F2009%2F10%2F26%2Fgoogle-wave%2F" title="Slashdot" onclick="pageTracker._trackPageview('/outgoing/slashdot.org/bookmark.pl?title=Google_20Wave_amp_url=http_3A_2F_2Fwww.worrbase.com_2F2009_2F10_2F26_2Fgoogle-wave_2F&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.worrbase.com%2F2009%2F10%2F26%2Fgoogle-wave%2F&amp;title=Google%20Wave" title="StumbleUpon" onclick="pageTracker._trackPageview('/outgoing/www.stumbleupon.com/submit?url=http_3A_2F_2Fwww.worrbase.com_2F2009_2F10_2F26_2Fgoogle-wave_2F_amp_title=Google_20Wave&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.worrbase.com%2F2009%2F10%2F26%2Fgoogle-wave%2F&amp;t=Google%20Wave&amp;s=Yeah%2C%20that%27s%20right.%20Just%20got%20an%20account.%20Well%2C%20by%20just%2C%20I%20mean%20I%20got%20one%20on%20Friday.%20Don%27t%20even%20ask%20for%20invites%2C%20because%20they%20were%20gone%20by%20Saturday%20morning.%20Also%2C%20if%20you%20don%27t%20know%20what%20Wave%20is%2C%20you%20should%20really%20go%20to%20this%20site%20and%20watch%20the%20video.%20I" title="Tumblr" onclick="pageTracker._trackPageview('/outgoing/www.tumblr.com/share?v=3_amp_u=http_3A_2F_2Fwww.worrbase.com_2F2009_2F10_2F26_2Fgoogle-wave_2F_amp_t=Google_20Wave_amp_s=Yeah_2C_20that_27s_20right._20Just_20got_20an_20account._20Well_2C_20by_20just_2C_20I_20mean_20I_20got_20one_20on_20Friday._20Don_27t_20even_20ask_20for_20invites_2C_20because_20they_20were_20gone_20by_20Saturday_20morning._20Also_2C_20if_20you_20don_27t_20know_20what_20Wave_20is_2C_20you_20should_20really_20go_20to_20this_20site_20and_20watch_20the_20video._20I&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://twitter.com/home?status=Google%20Wave%20-%20http%3A%2F%2Fwww.worrbase.com%2F2009%2F10%2F26%2Fgoogle-wave%2F" title="Twitter" onclick="pageTracker._trackPageview('/outgoing/twitter.com/home?status=Google_20Wave_20-_20http_3A_2F_2Fwww.worrbase.com_2F2009_2F10_2F26_2Fgoogle-wave_2F&amp;referer=');"><img src="http://www.worrbase.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.worrbase.com/2009/10/26/google-wave/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
