<?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>The.Failboat.me</title>
	<atom:link href="http://failboat.me/feed/" rel="self" type="application/rss+xml" />
	<link>http://failboat.me</link>
	<description>Everything about Nothing</description>
	<lastBuildDate>Mon, 30 Aug 2010 03:10:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>College</title>
		<link>http://failboat.me/2010/college-2/</link>
		<comments>http://failboat.me/2010/college-2/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 03:10:46 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://failboat.me/?p=4015</guid>
		<description><![CDATA[<p>Cornell is a blast and I&#8217;m too busy lately to blog. I&#8217;ll come back into the techy world as soon as I can find some time. Take care my fellow nerds <img src='http://failboat.me/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></description>
		<wfw:commentRss>http://failboat.me/2010/college-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do you sort your cloths?</title>
		<link>http://failboat.me/2010/how-do-you-sort-your-cloths/</link>
		<comments>http://failboat.me/2010/how-do-you-sort-your-cloths/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 02:40:51 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[algorithm]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[interview]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[shirts]]></category>
		<category><![CDATA[Sorting]]></category>
		<category><![CDATA[stooge sort]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://failboat.me/?p=3750</guid>
		<description><![CDATA[<p>According to the massively credible spammers on Facebook, the following is a common question asked by Google interviewers to interviewees.</p>
<blockquote><p>Imagine you have a closet full of shirts. It&#8217;s very difficult to find a shirt. What can you do to</p></blockquote><p>&#8230;</p>]]></description>
		<wfw:commentRss>http://failboat.me/2010/how-do-you-sort-your-cloths/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript Syntax Highlighted Editor in 1Kb</title>
		<link>http://failboat.me/2010/javascript-syntax-highlighted-editor-in-1kb/</link>
		<comments>http://failboat.me/2010/javascript-syntax-highlighted-editor-in-1kb/#comments</comments>
		<pubDate>Sat, 07 Aug 2010 18:00:45 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[1kb]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[syntax highlight]]></category>

		<guid isPermaLink="false">http://failboat.me/?p=3365</guid>
		<description><![CDATA[<p>I&#8217;ve just written an edit in place syntax highlighter for Javascript. The cool thing about it is that it&#8217;s under 1Kb (1023 bytes to be exact xD). Here&#8217;s the code:</p>
<pre class="brush: javascript">
// Revised Edit-In-Place syntax editor still sits</pre><p>&#8230;</p>]]></description>
		<wfw:commentRss>http://failboat.me/2010/javascript-syntax-highlighted-editor-in-1kb/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Woohoo</title>
		<link>http://failboat.me/2010/woohoo/</link>
		<comments>http://failboat.me/2010/woohoo/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 03:59:41 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[2.1]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[captivate]]></category>
		<category><![CDATA[samsung]]></category>

		<guid isPermaLink="false">http://failboat.me/?p=3151</guid>
		<description><![CDATA[<p>Got myself a new Samsung Captivate <img src='http://failboat.me/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>In other news:</p>
<blockquote><p>(2) Computer programs that enable wireless telephone handsets to execute software applications, where circumvention is accomplished for the sole purpose of enabling interoperability of such</p></blockquote><p>&#8230;</p>]]></description>
		<wfw:commentRss>http://failboat.me/2010/woohoo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rocket: A Lua Sqlite3 ORM manager</title>
		<link>http://failboat.me/2010/lua-sqlite3-orm-manager/</link>
		<comments>http://failboat.me/2010/lua-sqlite3-orm-manager/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 04:44:44 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Lua]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[mapper]]></category>
		<category><![CDATA[orm]]></category>
		<category><![CDATA[rocket]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sqlite]]></category>

		<guid isPermaLink="false">http://failboat.me/?p=3033</guid>
		<description><![CDATA[<p>Relational databases are designed so that they can both store and describe data. Most programming level APIs do wonderful jobs of maintaining the former aspect. I mean, what ORM doesn&#8217;t automatically map the insert method to the so very generic&#8230;</p>]]></description>
		<wfw:commentRss>http://failboat.me/2010/lua-sqlite3-orm-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>See.lua &#8211; Documentation</title>
		<link>http://failboat.me/2010/see-lua-documentation/</link>
		<comments>http://failboat.me/2010/see-lua-documentation/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 04:56:36 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Lua]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[introspection]]></category>
		<category><![CDATA[see]]></category>

		<guid isPermaLink="false">http://failboat.me/?p=2905</guid>
		<description><![CDATA[<p>See.lua &#8211; A Lua introspection library</p>
<pre class="brush: lua">
	&#62; see(string)

	.byte(?)            .char(?)            .dump(?)            .find(?)
	.format(?)          .gfind(?)           .gmatch(?)          .gsub(?)
	.join(self, table, ...)                 .len(?)
	.lower(?)           .match(?)           .rep(?)             .reverse(?)
	.sub(?)             .upper(?)
</pre>
<p>Lua is a wonderful little language that lets you do&#8230;</p>]]></description>
		<wfw:commentRss>http://failboat.me/2010/see-lua-documentation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to fix the keyboard issues with Ubuntu Login</title>
		<link>http://failboat.me/2010/how-to-fix-the-keyboard-issues-with-ubuntu-login/</link>
		<comments>http://failboat.me/2010/how-to-fix-the-keyboard-issues-with-ubuntu-login/#comments</comments>
		<pubDate>Sat, 24 Jul 2010 05:24:15 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[problems]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://failboat.me/?p=2772</guid>
		<description><![CDATA[<p>If you have installed Ubuntu 10.x on vmWare, you will find that the default keyboard configuration does not let you type anything into the login box. This is a big issue since Ubuntu requires that your root user has a&#8230;</p>]]></description>
		<wfw:commentRss>http://failboat.me/2010/how-to-fix-the-keyboard-issues-with-ubuntu-login/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>see.lua &#8211; Introspecting Lua objects</title>
		<link>http://failboat.me/2010/see-lua-introspecting-lua-objects/</link>
		<comments>http://failboat.me/2010/see-lua-introspecting-lua-objects/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 02:53:01 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Lua]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[introspect]]></category>
		<category><![CDATA[object]]></category>
		<category><![CDATA[parameters]]></category>
		<category><![CDATA[see]]></category>
		<category><![CDATA[table]]></category>

		<guid isPermaLink="false">http://failboat.me/?p=2629</guid>
		<description><![CDATA[<p>As via its python equivalent, see.lua takes in an object and prints out a list of its elements as well as metatable methods in readable text.</p>
<pre class="brush: lua">
&#62; require &#34;see&#34;

&#62; s = see(string)
.byte(?)            .char(?)            .dump(?)            .find(?)</pre><p>&#8230;</p>]]></description>
		<wfw:commentRss>http://failboat.me/2010/see-lua-introspecting-lua-objects/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Pydev: The Best Python IDE</title>
		<link>http://failboat.me/2010/pydev-the-best-python-ide/</link>
		<comments>http://failboat.me/2010/pydev-the-best-python-ide/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 03:09:15 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[pydev]]></category>

		<guid isPermaLink="false">http://failboat.me/?p=2157</guid>
		<description><![CDATA[<p>While I don&#8217;t usually advertise, I love eclipse for all of its feature rich implementations of language specific IDE&#8217;s. Among those is Pydev, a complete first class IDE for Python.<br />
Recently, Pydev just hit version 1.6.0 (Congratulations!) with the&#8230;</p>]]></description>
		<wfw:commentRss>http://failboat.me/2010/pydev-the-best-python-ide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python: Self references in List comprehension</title>
		<link>http://failboat.me/2010/python-self-references-in-list-comprehension/</link>
		<comments>http://failboat.me/2010/python-self-references-in-list-comprehension/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 03:09:23 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[haskell]]></category>
		<category><![CDATA[lambda]]></category>
		<category><![CDATA[list comprehension]]></category>
		<category><![CDATA[self reference]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[ugly]]></category>

		<guid isPermaLink="false">http://failboat.me/?p=1959</guid>
		<description><![CDATA[<p>One of the great abilities in Python that is copied over from Haskell is the ability to construct lists from other lists or iterators inline. This is of course limiting in certain cases where self references are necessary. For example,&#8230;</p>]]></description>
		<wfw:commentRss>http://failboat.me/2010/python-self-references-in-list-comprehension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>strcpy() implementation in C/C++</title>
		<link>http://failboat.me/2010/strcpy-implementation-in-cc/</link>
		<comments>http://failboat.me/2010/strcpy-implementation-in-cc/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 23:51:09 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[strcpy]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://failboat.me/?p=783</guid>
		<description><![CDATA[<p>One of our ubiquitous C functions can be rather easily recreated via C:</p>
<pre class="brush: c">
char* strcpy(char* other, char* self){
    while (*self) *other++=*self++;
    *other = &#039;\0&#039;;
}
</pre>
<p>Note that C strings are null terminating, hence we create a&#8230;</p>]]></description>
		<wfw:commentRss>http://failboat.me/2010/strcpy-implementation-in-cc/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Python Tip: Copying an object</title>
		<link>http://failboat.me/2010/python-tip-copying-an-object/</link>
		<comments>http://failboat.me/2010/python-tip-copying-an-object/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 02:30:46 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[attributes]]></category>
		<category><![CDATA[containers]]></category>
		<category><![CDATA[copies]]></category>
		<category><![CDATA[copy]]></category>
		<category><![CDATA[deep copy]]></category>
		<category><![CDATA[items]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[object]]></category>
		<category><![CDATA[reference]]></category>
		<category><![CDATA[shallow copy]]></category>

		<guid isPermaLink="false">http://failboat.me/?p=751</guid>
		<description><![CDATA[<p>One of the several &#8220;features&#8221; of python that often land beginners head over feet with their faces in the mud is the distinction between references and copies. Say we have the following list <strong>a</strong>:</p>
<pre class="brush: python">
a = [1,3,5,7,9,11]</pre><p>&#8230;</p>]]></description>
		<wfw:commentRss>http://failboat.me/2010/python-tip-copying-an-object/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Brain Teaser: Multiply by 6</title>
		<link>http://failboat.me/2010/brain-teaser-multiply-by-6/</link>
		<comments>http://failboat.me/2010/brain-teaser-multiply-by-6/#comments</comments>
		<pubDate>Sat, 17 Jul 2010 07:22:21 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[bit shift]]></category>
		<category><![CDATA[brain teaser]]></category>
		<category><![CDATA[multiply]]></category>

		<guid isPermaLink="false">http://failboat.me/?p=739</guid>
		<description><![CDATA[<p><em>How do I go about multiplying a real number n by 6 in python without using the * or the + operators?</em></p>
<p><strong>Solution</strong>:</p>
<pre class="brush: python">
x6 = lambda n: (n&#60;&#60;3) - n - n
</pre>
<p>Rationale:</p>
<p>n]]></description>
		<wfw:commentRss>http://failboat.me/2010/brain-teaser-multiply-by-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tips and Tricks for Lua Beginners: Writing an at.exit registry</title>
		<link>http://failboat.me/2010/tips-and-tricks-for-lua-beginners-writing-an-at-exit-registry/</link>
		<comments>http://failboat.me/2010/tips-and-tricks-for-lua-beginners-writing-an-at-exit-registry/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 18:24:36 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Lua]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[at.exit]]></category>
		<category><![CDATA[exit]]></category>
		<category><![CDATA[metamethod]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[tips and tricks]]></category>
		<category><![CDATA[__gc]]></category>

		<guid isPermaLink="false">http://failboat.me/?p=725</guid>
		<description><![CDATA[<p>It&#8217;s relatively simple to write a function that takes in a function and executes it once Lua terminates. </p>
<pre class="brush: lua">
at = {}
function at.exit(fn)
     getmetatable(newproxy(true)).__gc = fn
end
</pre>
<p><span id="more-725"></span><br />
The caveat for at.exit() is that on&#8230;</p>]]></description>
		<wfw:commentRss>http://failboat.me/2010/tips-and-tricks-for-lua-beginners-writing-an-at-exit-registry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lua &#8211; Get a table of function arguments</title>
		<link>http://failboat.me/2010/lua-get-a-table-of-function-arguments/</link>
		<comments>http://failboat.me/2010/lua-get-a-table-of-function-arguments/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 18:04:51 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Lua]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[arguments]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[get_args]]></category>
		<category><![CDATA[introspection]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[table]]></category>

		<guid isPermaLink="false">http://failboat.me/?p=722</guid>
		<description><![CDATA[<p>The lua standard libraries do not provide anything that helps you get the table of arguments for a given function. This can be accomplished by directly introspecting the bytecode of the function. The following snippet generates a function get_args that&#8230;</p>]]></description>
		<wfw:commentRss>http://failboat.me/2010/lua-get-a-table-of-function-arguments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
