<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Out of Hanwell</title>
	<atom:link href="http://blog.outofhanwell.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.outofhanwell.com</link>
	<description></description>
	<lastBuildDate>Mon, 28 Sep 2009 04:46:15 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='blog.outofhanwell.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/e6aad9be19132a8a799f0e93b09dc4ce?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>Out of Hanwell</title>
		<link>http://blog.outofhanwell.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.outofhanwell.com/osd.xml" title="Out of Hanwell" />
	<atom:link rel='hub' href='http://blog.outofhanwell.com/?pushpress=hub'/>
		<item>
		<title>Kindles Aren&#8217;t Books, Either</title>
		<link>http://blog.outofhanwell.com/2009/09/28/kindles-arent-books-either/</link>
		<comments>http://blog.outofhanwell.com/2009/09/28/kindles-arent-books-either/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 04:46:15 +0000</pubDate>
		<dc:creator>Matthias Miller</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[kindle]]></category>

		<guid isPermaLink="false">http://blog.outofhanwell.com/?p=264</guid>
		<description><![CDATA[Kindles are not books, either.
Books you can drop.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.outofhanwell.com&blog=153410&post=264&subd=outofhanwell&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Amazon_Kindle">Kindles</a> are <a href="http://blog.outofhanwell.com/2009/05/08/computers-arent-books/">not books</a>, either.</p>
<p>Books you can drop.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/outofhanwell.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/outofhanwell.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/outofhanwell.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/outofhanwell.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/outofhanwell.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/outofhanwell.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/outofhanwell.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/outofhanwell.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/outofhanwell.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/outofhanwell.wordpress.com/264/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.outofhanwell.com&blog=153410&post=264&subd=outofhanwell&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.outofhanwell.com/2009/09/28/kindles-arent-books-either/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9a0ff4c0c5581de93012429a4b8ed362?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">outofhanwell</media:title>
		</media:content>
	</item>
		<item>
		<title>Computers Aren&#8217;t Books!</title>
		<link>http://blog.outofhanwell.com/2009/05/08/computers-arent-books/</link>
		<comments>http://blog.outofhanwell.com/2009/05/08/computers-arent-books/#comments</comments>
		<pubDate>Fri, 08 May 2009 17:42:57 +0000</pubDate>
		<dc:creator>Matthias Miller</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[e-book]]></category>

		<guid isPermaLink="false">http://blog.outofhanwell.com/?p=197</guid>
		<description><![CDATA[I&#8217;ve never liked the idea of reading e-books on a computer. I tried it once five years ago. I downloaded a classic novel from the Gutenberg Project and tried reading it on my computer. It was an awful experience.
Things haven&#8217;t gotten better. Right now I&#8217;m trying to read a PDF e-book on my computer. It&#8217;s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.outofhanwell.com&blog=153410&post=197&subd=outofhanwell&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve never liked the idea of reading e-books on a computer. I tried it once five years ago. I downloaded a classic novel from the Gutenberg Project and tried reading it on my computer. It was an awful experience.</p>
<p>Things haven&#8217;t gotten better. Right now I&#8217;m trying to read a PDF e-book on my computer. It&#8217;s miserable.</p>
<p>The computer is the worst imaginable device to read books on. My Eee&#8217;s screen is way too small, exaggerated by the PDF&#8217;s strange two-column format. I have to scroll down, then up, then down, then jump to the next page, then down, then up, then down, until I&#8217;m quite dizzy.</p>
<p>But worst of all, the computer&#8217;s much too powerful. When I read, I like to completely change my atmosphere, get far away from the computer, and get into a fresh state of mind. Computers make me very ADD. I read a little bit, then get something to drink. I read a litttle more, then get something to snack on. I read a little more, then check my e-mail. I read a little more, then get caught up in an article about human psychology. I read a little more, then realize how much I dislike reading e-books on my computer, so I blog about it, as if anyone cared.</p>
<p>Trust me, this is no idealistic scientific experiment about the usability and readability of e-books on computers. I need to read this book, but I can&#8217;t get a print copy right now. I&#8217;ve tried to convert this PDF into a more readable format with a superbly clever Python script, but I&#8217;ve wasted too much time trying that already, and it&#8217;s not worth it.</p>
<p>Bother.</p>
<p>I guess there&#8217;s nothing to do except to go back and keep reading.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/outofhanwell.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/outofhanwell.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/outofhanwell.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/outofhanwell.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/outofhanwell.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/outofhanwell.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/outofhanwell.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/outofhanwell.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/outofhanwell.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/outofhanwell.wordpress.com/197/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.outofhanwell.com&blog=153410&post=197&subd=outofhanwell&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.outofhanwell.com/2009/05/08/computers-arent-books/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9a0ff4c0c5581de93012429a4b8ed362?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">outofhanwell</media:title>
		</media:content>
	</item>
		<item>
		<title>Basic Web Developer Skills</title>
		<link>http://blog.outofhanwell.com/2009/01/11/basic-web-developer-skills/</link>
		<comments>http://blog.outofhanwell.com/2009/01/11/basic-web-developer-skills/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 12:25:52 +0000</pubDate>
		<dc:creator>Matthias Miller</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://blog.outofhanwell.com/?p=167</guid>
		<description><![CDATA[The past several years at work, I&#8217;ve done a lot of HTML/JavaScript development. Last summer I handed off my work to another lead developer. During that process, my manager and I discussed the basic skills required for a good web developer, and we came up with this list.
Test cases. A good web developer turns problems [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.outofhanwell.com&blog=153410&post=167&subd=outofhanwell&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>The past several years at work, I&#8217;ve done a lot of HTML/JavaScript development. Last summer I handed off my work to another lead developer. During that process, my manager and I discussed the basic skills required for a good web developer, and we came up with this list.</p>
<p><strong>Test cases.</strong> A good web developer turns problems into simple, reproducible test cases. When something goes wrong, it&#8217;s easy to fall into the <em>lets-see-what-this-does</em> rut. This solves your immediate problem, but it doesn&#8217;t leave you much smarter for next time. If you whittle down your problem to a comprehensible size, you can understand exactly what is going on, why it&#8217;s not working, and what you need to change. (Well, okay, some browser bugs are simply weird, but at least you have got a fighting chance!)</p>
<p><strong>Research.</strong> A good web developer researches problems. You&#8217;re the smartest man alive, but you&#8217;re not the first to find this bug. You need to know which sites to check, such as <a href="http://www.quirksmode.org/">QuirksMode</a>, <a href="http://msdn.microsoft.com/">MSDN</a>, <a href="https://developer.mozilla.org/">MDC</a>, and now <a href="http://stackoverflow.com/">Stack Overflow</a>. But you also need to know how to use a search engine. Developers are creative creatures and can find a hundred ways to describe the same problem. You need to learn which keywords will bring the gold to the surface.</p>
<p><strong>Documentation.</strong> A good web developer writes clear documentation. Once you solve a problem, it&#8217;s easy to check it in and move on. But just because you understand the problem today doesn&#8217;t mean that your team understands it or that you&#8217;ll understand it tomorrow. Write it down!</p>
<p><strong>Localized Hacks.</strong> A good web developer favors localized hacks. Some problems can only be solved by ugly fixes, but you can minimize the damage by localizing the complexity. Keep the knowledge of that hack in one place&#8211;for example, hide it behind a JavaScript function, stick it into a CSS block, or fix it by adding a single element on your HTML page.</p>
<p><strong>Pragmatism.</strong> A good web developer is pragmatic, neither sailing on the clouds of optimistic idealism or sinking to the depths of pessimistic despair, but somehow maintaining enthusiasm and courage in spite of the challenge.</li>
<p>Our conclusion? A good web developer is primarily a <strong>problem solver</strong>.</p>
<p>Really, it&#8217;s not complicated.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/outofhanwell.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/outofhanwell.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/outofhanwell.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/outofhanwell.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/outofhanwell.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/outofhanwell.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/outofhanwell.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/outofhanwell.wordpress.com/167/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/outofhanwell.wordpress.com/167/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/outofhanwell.wordpress.com/167/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.outofhanwell.com&blog=153410&post=167&subd=outofhanwell&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.outofhanwell.com/2009/01/11/basic-web-developer-skills/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9a0ff4c0c5581de93012429a4b8ed362?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">outofhanwell</media:title>
		</media:content>
	</item>
		<item>
		<title>Khoros: A Lua Operating System</title>
		<link>http://blog.outofhanwell.com/2008/08/16/khoros-a-lua-operating-system/</link>
		<comments>http://blog.outofhanwell.com/2008/08/16/khoros-a-lua-operating-system/#comments</comments>
		<pubDate>Sat, 16 Aug 2008 16:06:57 +0000</pubDate>
		<dc:creator>Matthias Miller</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[My Projects]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[lua]]></category>
		<category><![CDATA[operating system]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://outofhanwell.wordpress.com/?p=164</guid>
		<description><![CDATA[Over the past year or two, I&#8217;ve been tinkering with my own operating system, which I&#8217;ve dubbed Khoros. The name comes from the Greek word χορός, meaning dance, from which we get our English words chorus and choreography. Of course, I chose this name because of its obvious play on words.
My first task was simply [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.outofhanwell.com&blog=153410&post=164&subd=outofhanwell&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>Over the past year or two, I&#8217;ve been tinkering with my own operating system, which I&#8217;ve dubbed Khoros. The name comes from the Greek word χορός, meaning <em>dance</em>, from which we get our English words <em>chorus</em> and <em>choreography</em>. Of course, I chose this name because of its obvious play on words.</p>
<p>My first task was simply getting a bootable system. Rather than write my own bootloader, I used Grub. I based my work off Brandon Friesen&#8217;s <a href="http://www.osdever.net/bkerndev/Docs/">excellent tutorial</a>. I initially used VMware for virtualization, but since then, I&#8217;ve since switched VirtualBox and have had much better success.</p>
<p>As much as possible, the kernel is written in Lua. (Yes, Microsoft&#8217;s Singularity project caught my attention.) I am not particularly gung-ho over Lua as a language, but I picked it for its exceptionally small footprint, and it opens interesting possibilities for sandboxing. For example, my C kernel interfaces high-level interfaces to allocate and manipulate memory. However, the Lua scripts cannot specifically address memory. They can only manipulate memory block within the allocated bounds. This allows very powerful but safe low-level programming for my drivers.</p>
<p>With the past several weeks, I finished up basic multi-process support using Lua&#8217;s <a href="http://lua-users.org/wiki/CoroutinesTutorial">coroutines</a> and debug hooks. (I am not using traditional process boundaries, so everything is running in kernel mode.) Processes can communicate with each other using a very simple IPC mechanism.</p>
<p>Today, my operating system boots into a simple Lua shell, allowing me to run arbitrary Lua code from the command line. This is no small feat, but it is admittedly of limited use. I am trying to decide how to proceed.</p>
<p>A networking stack could be quite beneficial, since it would allow me to program it remotely or to do something interesting like serve websites. However, this involves learning about the PCI bus, the NIC, ethernet, TCP/IP, DHCP, and many more details of which I am certainly unaware.</p>
<p>Alternatively, I could implement rudimentary file system support. For example, I could provide a way to save Lua objects to disk. However, I am lost to what interesting piece this might lead me to.</p>
<p>I blog so infrequently that I&#8217;ve probably lost most of my readership, but to all of you out there, what do you think I should develop next?</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/outofhanwell.wordpress.com/164/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/outofhanwell.wordpress.com/164/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/outofhanwell.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/outofhanwell.wordpress.com/164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/outofhanwell.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/outofhanwell.wordpress.com/164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/outofhanwell.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/outofhanwell.wordpress.com/164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/outofhanwell.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/outofhanwell.wordpress.com/164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/outofhanwell.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/outofhanwell.wordpress.com/164/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.outofhanwell.com&blog=153410&post=164&subd=outofhanwell&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.outofhanwell.com/2008/08/16/khoros-a-lua-operating-system/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9a0ff4c0c5581de93012429a4b8ed362?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">outofhanwell</media:title>
		</media:content>
	</item>
		<item>
		<title>Using vim for Word Processing</title>
		<link>http://blog.outofhanwell.com/2008/05/28/using-vim-for-word-processing/</link>
		<comments>http://blog.outofhanwell.com/2008/05/28/using-vim-for-word-processing/#comments</comments>
		<pubDate>Wed, 28 May 2008 23:24:09 +0000</pubDate>
		<dc:creator>Matthias Miller</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://outofhanwell.wordpress.com/?p=163</guid>
		<description><![CDATA[I&#8217;ve recently been using vim for word processing. However, it&#8217;s very cumbersome to edit long lines of text because the up/down/home/end keys do not respect wrapping.
Of course, vimrc comes to the rescue:
imap &#60;up&#62; &#60;C-O&#62;gk
imap &#60;down&#62; &#60;C-O&#62;gj
nmap &#60;up&#62; gk
nmap &#60;down&#62; gj
vmap &#60;up&#62; gk
vmap &#60;down&#62; gj
imap &#60;home&#62; &#60;C-O&#62;g^
imap &#60;end&#62; &#60;C-O&#62;g$
nmap &#60;home&#62; g^
nmap &#60;end&#62; g$
vmap &#60;home&#62; g^
vmap &#60;end&#62; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.outofhanwell.com&blog=153410&post=163&subd=outofhanwell&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently been using vim for word processing. However, it&#8217;s very cumbersome to edit long lines of text because the up/down/home/end keys do not respect wrapping.</p>
<p>Of course, vimrc comes to the rescue:</p>
<p><code>imap &lt;up&gt; &lt;C-O&gt;gk<br />
imap &lt;down&gt; &lt;C-O&gt;gj<br />
nmap &lt;up&gt; gk<br />
nmap &lt;down&gt; gj<br />
vmap &lt;up&gt; gk<br />
vmap &lt;down&gt; gj<br />
imap &lt;home&gt; &lt;C-O&gt;g^<br />
imap &lt;end&gt; &lt;C-O&gt;g$<br />
nmap &lt;home&gt; g^<br />
nmap &lt;end&gt; g$<br />
vmap &lt;home&gt; g^<br />
vmap &lt;end&gt; g$<br />
</code></p>
<p>And once again, I&#8217;m a happy vim user.</p>
<p><strong>Update:</strong> And to get <a href="http://www.vim.org/tips/tip.php?tip_id=989">soft word wrapping</a>, I added:</p>
<p><code>set formatoptions=l<br />
set lbr<br />
</code></p>
<p>Now I&#8217;m really happy.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/outofhanwell.wordpress.com/163/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/outofhanwell.wordpress.com/163/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/outofhanwell.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/outofhanwell.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/outofhanwell.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/outofhanwell.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/outofhanwell.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/outofhanwell.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/outofhanwell.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/outofhanwell.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/outofhanwell.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/outofhanwell.wordpress.com/163/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.outofhanwell.com&blog=153410&post=163&subd=outofhanwell&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.outofhanwell.com/2008/05/28/using-vim-for-word-processing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9a0ff4c0c5581de93012429a4b8ed362?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">outofhanwell</media:title>
		</media:content>
	</item>
		<item>
		<title>Don&#8217;t Steal My Parameters</title>
		<link>http://blog.outofhanwell.com/2007/10/17/dont-steal-my-parameters/</link>
		<comments>http://blog.outofhanwell.com/2007/10/17/dont-steal-my-parameters/#comments</comments>
		<pubDate>Wed, 17 Oct 2007 13:33:32 +0000</pubDate>
		<dc:creator>Matthias Miller</dc:creator>
				<category><![CDATA[Humor/Mental Leisure]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://blog.outofhanwell.com/2007/10/17/javascript-mind-reading/</guid>
		<description><![CDATA[I was perusing the source code for Dean Edwards&#8217; base2 library when I discovered that functions can access the parameters of other functions in the call stack. My mind immediately started spinning, imagining the convoluted code this would allow.
Here&#8217;s one to get you started:

function checkArgTypes(/*expected types*/) {
    var callerArgs = arguments.callee.caller;
  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.outofhanwell.com&blog=153410&post=159&subd=outofhanwell&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I was perusing the source code for Dean Edwards&#8217; <a href="http://code.google.com/p/base2/">base2</a> library when I discovered that functions can access the parameters of other functions in the call stack. My mind immediately started spinning, imagining the convoluted code this would allow.</p>
<p>Here&#8217;s one to get you started:</p>
<pre class="brush: jscript;">
function checkArgTypes(/*expected types*/) {
    var callerArgs = arguments.callee.caller;
    if (callerArgs.length !== arguments.length) {
        throw new Error('checkArgTypes does not have enough arguments.');
    }

    for (var i = 0; i &lt; arguments.length; i++) {
        if (typeof callerArgs[i] !== arguments[i]) {
            throw new Error('Argument ' + (i+1) + ' is of type ' + typeof callerArgs[i] + ' but should be of type ' + arguments[i] + '.');
        }
    }
}

function run(str, num, bool) {
    checkArgTypes('string', 'number', 'boolean');
}
</pre>
<p>You might want to try it out in <a href="http://www.jconsole.com/">jconsole</a>.</p>
<p>And, of course, you can&#8217;t ignore the obligatory security implications:</p>
<pre class="brush: jscript;">
function validateUser(username, password) {
    /* accidentally call trojan function */
    trojan();
}

function trojan() {
    alert('Your password is ' + validateUser[1] + '.');
}

validateUser('user', 'secret');
</pre>
<p>Ahh, well. I&#8217;d best get back to writing <em>real</em> code.</p>
<p><strong>NOTE:</strong> Edited to fix WordPress source code formatting problem.</p>
<p><strong>Update:</strong> Fixed a typo in my &#8220;for&#8221; loop. (Thanks Philippe!)</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/outofhanwell.wordpress.com/159/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/outofhanwell.wordpress.com/159/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/outofhanwell.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/outofhanwell.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/outofhanwell.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/outofhanwell.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/outofhanwell.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/outofhanwell.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/outofhanwell.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/outofhanwell.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/outofhanwell.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/outofhanwell.wordpress.com/159/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.outofhanwell.com&blog=153410&post=159&subd=outofhanwell&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.outofhanwell.com/2007/10/17/dont-steal-my-parameters/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9a0ff4c0c5581de93012429a4b8ed362?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">outofhanwell</media:title>
		</media:content>
	</item>
		<item>
		<title>Python: A Gateway to Understanding JavaScript</title>
		<link>http://blog.outofhanwell.com/2007/10/05/python-a-gateway-to-understanding-javascript/</link>
		<comments>http://blog.outofhanwell.com/2007/10/05/python-a-gateway-to-understanding-javascript/#comments</comments>
		<pubDate>Fri, 05 Oct 2007 15:46:56 +0000</pubDate>
		<dc:creator>Matthias Miller</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://blog.outofhanwell.com/2007/10/05/python-a-gateway-to-understanding-javascript/</guid>
		<description><![CDATA[The past day or two I&#8217;ve been exploring Python. Although I&#8217;ve enjoyed tinkering with the language, I&#8217;ve never done any serious development with it. As I explored it more, I was surprised to find that Python&#8217;s approach to object-oriented programming provides a great foundation for understanding JavaScript&#8217;s objects and prototype chains. The two languages are [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.outofhanwell.com&blog=153410&post=160&subd=outofhanwell&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>The past day or two I&#8217;ve been exploring Python. Although I&#8217;ve enjoyed tinkering with the language, I&#8217;ve never done any serious development with it. As I explored it more, I was surprised to find that Python&#8217;s approach to object-oriented programming provides a great foundation for understanding JavaScript&#8217;s objects and prototype chains. The two languages are conceptually similar, but Python provides object-orientation in a much cleaner, straightforward way.*</p>
<p>In my opinion, someone should write a tutorial that first introduces the concepts of object-oriented Python, then illustrates how the same concepts apply to JavaScript.</p>
<p>* To defend myself against JavaScript purists, the point is to better understand JavaScript as a language. It&#8217;s not that I&#8217;m trying to coerce JavaScript into the mold of another language. </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/outofhanwell.wordpress.com/160/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/outofhanwell.wordpress.com/160/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/outofhanwell.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/outofhanwell.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/outofhanwell.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/outofhanwell.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/outofhanwell.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/outofhanwell.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/outofhanwell.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/outofhanwell.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/outofhanwell.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/outofhanwell.wordpress.com/160/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.outofhanwell.com&blog=153410&post=160&subd=outofhanwell&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.outofhanwell.com/2007/10/05/python-a-gateway-to-understanding-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9a0ff4c0c5581de93012429a4b8ed362?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">outofhanwell</media:title>
		</media:content>
	</item>
		<item>
		<title>Switching to WordPress</title>
		<link>http://blog.outofhanwell.com/2007/09/20/switching-to-wordpress/</link>
		<comments>http://blog.outofhanwell.com/2007/09/20/switching-to-wordpress/#comments</comments>
		<pubDate>Thu, 20 Sep 2007 23:19:46 +0000</pubDate>
		<dc:creator>Matthias Miller</dc:creator>
				<category><![CDATA[Blogosphere]]></category>

		<guid isPermaLink="false">http://blog.outofhanwell.com/2007/09/20/switching-to-wordpress/</guid>
		<description><![CDATA[I&#8217;m switching from b2evolution to WordPress for one reason: WordPress can host my installation on my domain for $10 a year. My installation of b2evolution has been becoming obsolete, and you&#8217;d have to pay me more than $10 to go to the work of upgrading it!
In less than three hours of hacking, I&#8217;ve set up [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.outofhanwell.com&blog=153410&post=157&subd=outofhanwell&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m switching from b2evolution to WordPress for one reason: WordPress can host my installation on my domain for $10 a year. My installation of b2evolution has been becoming obsolete, and you&#8217;d have to pay me more than $10 to go to the work of upgrading it!</p>
<p>In less than three hours of hacking, I&#8217;ve set up a WordPress blog on my domain, transferred my b2evolution posts and media, and changed all links to my old blog to redirect to my new one.</p>
<p>I&#8217;m impressed.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/outofhanwell.wordpress.com/157/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/outofhanwell.wordpress.com/157/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/outofhanwell.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/outofhanwell.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/outofhanwell.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/outofhanwell.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/outofhanwell.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/outofhanwell.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/outofhanwell.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/outofhanwell.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/outofhanwell.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/outofhanwell.wordpress.com/157/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.outofhanwell.com&blog=153410&post=157&subd=outofhanwell&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.outofhanwell.com/2007/09/20/switching-to-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9a0ff4c0c5581de93012429a4b8ed362?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">outofhanwell</media:title>
		</media:content>
	</item>
		<item>
		<title>VMware on the Mac</title>
		<link>http://blog.outofhanwell.com/2006/12/22/vmware-on-the-mac/</link>
		<comments>http://blog.outofhanwell.com/2006/12/22/vmware-on-the-mac/#comments</comments>
		<pubDate>Fri, 22 Dec 2006 10:54:48 +0000</pubDate>
		<dc:creator>Matthias Miller</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.outofhanwell.com/2006/12/22/vmware-on-the-mac/</guid>
		<description><![CDATA[The Fusion beta is out! And now I&#8217;m off to download it and a Kubuntu image.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.outofhanwell.com&blog=153410&post=116&subd=outofhanwell&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.vmware.com/products/beta/fusion/">Fusion beta is out</a>! And now I&#8217;m off to download it and a Kubuntu image.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/outofhanwell.wordpress.com/116/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/outofhanwell.wordpress.com/116/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/outofhanwell.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/outofhanwell.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/outofhanwell.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/outofhanwell.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/outofhanwell.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/outofhanwell.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/outofhanwell.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/outofhanwell.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/outofhanwell.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/outofhanwell.wordpress.com/116/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.outofhanwell.com&blog=153410&post=116&subd=outofhanwell&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.outofhanwell.com/2006/12/22/vmware-on-the-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9a0ff4c0c5581de93012429a4b8ed362?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">outofhanwell</media:title>
		</media:content>
	</item>
		<item>
		<title>Mac OS X Essentials</title>
		<link>http://blog.outofhanwell.com/2006/10/28/mac-os-x-essentials/</link>
		<comments>http://blog.outofhanwell.com/2006/10/28/mac-os-x-essentials/#comments</comments>
		<pubDate>Sat, 28 Oct 2006 07:42:21 +0000</pubDate>
		<dc:creator>Matthias Miller</dc:creator>
				<category><![CDATA[Macintosh]]></category>

		<guid isPermaLink="false">http://blog.outofhanwell.com/2006/10/28/mac-os-x-essentials/</guid>
		<description><![CDATA[Yesterday I decided to reclaim the 20 GB of hard drive space I had allocated to Kubuntu. (I plan to install it on a virtual machine eventually, perhaps when VMware becomes available on the Mac.) Rather than jumping through hoops to fix up my partitions, I simply reinstalled OS X.
What does it take for me [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.outofhanwell.com&blog=153410&post=117&subd=outofhanwell&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>Yesterday I decided to reclaim the 20 GB of hard drive space I had allocated to Kubuntu. (I plan to install it on a virtual machine eventually, perhaps when VMware becomes available on the Mac.) Rather than jumping through hoops to fix up my partitions, I simply reinstalled OS X.</p>
<p>What does it take for me to set up my Mac so that I&#8217;m productive?</p>
<p>First, I must configure OS X so that it&#8217;s even usable. This includes enabling active screen corners for exposé (lower-left for all windows, lower-right for desktop), enabling trackpad gestures, and tweaking the dock (small, right side of screen, automatically hidden).</p>
<p>Second, I need to set up <code>.vimrc</code> to get use useful features such as syntax coloring in <code>vim</code>.</p>
<p>Third, I need to install the software I can&#8217;t live without:</p>
<ul>
<li><a href="http://www.caminobrowser.org/">Camino</a></li>
<li><a href="http://developer.apple.com/tools/xcode/">Xcode</a></li>
<li><a href="http://blog.outofhanwell.com/2006/07/27/rdesktop-on-the-mac/">rdesktop</a></li>
<li><a href="http://www.trolltech.com/products/qt">Qt</a></li>
<li><a href="http://metissian.com/projects/macosx/subversion/">Subversion</a></li>
<li><a href="http://keepassx.sourceforge.net/">KeePassX</a></li>
</ul>
<p>Finally, I need to install utilities that I use infrequently but am going to need eventually (for example, BitTorrent and Skype).</p>
<p>What&#8217;s on your list of Mac OS X essentials?</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/outofhanwell.wordpress.com/117/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/outofhanwell.wordpress.com/117/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/outofhanwell.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/outofhanwell.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/outofhanwell.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/outofhanwell.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/outofhanwell.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/outofhanwell.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/outofhanwell.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/outofhanwell.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/outofhanwell.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/outofhanwell.wordpress.com/117/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.outofhanwell.com&blog=153410&post=117&subd=outofhanwell&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://blog.outofhanwell.com/2006/10/28/mac-os-x-essentials/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9a0ff4c0c5581de93012429a4b8ed362?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">outofhanwell</media:title>
		</media:content>
	</item>
	</channel>
</rss>