<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Regexes For Life</title>
	<atom:link href="http://rxfl.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://rxfl.wordpress.com</link>
	<description></description>
	<lastBuildDate>Thu, 25 Jun 2009 00:26:35 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='rxfl.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/46d33a48bd36664afcc59fbf29a04699?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Regexes For Life</title>
		<link>http://rxfl.wordpress.com</link>
	</image>
			<item>
		<title>An impolite subversion (and Karaoke)</title>
		<link>http://rxfl.wordpress.com/2009/06/25/an-impolite-subversion/</link>
		<comments>http://rxfl.wordpress.com/2009/06/25/an-impolite-subversion/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 00:26:35 +0000</pubDate>
		<dc:creator>Karthik</dc:creator>
				<category><![CDATA[Experiments]]></category>
		<category><![CDATA[not-so-funny]]></category>

		<guid isPermaLink="false">http://rxfl.wordpress.com/?p=208</guid>
		<description><![CDATA[Because this book, Etsy, Bach, cicu control error, so that the conscience of humanity. Karaoke? If you invest. What is surprising and encouraging. Anti-brain model, not all of the cities and streets &#8211; including travel tool. (This is surprising, of course), the efforts of Member. 
What is this? And expectations? I am not a very [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rxfl.wordpress.com&blog=1810174&post=208&subd=rxfl&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Because this book, Etsy, Bach, cicu control error, so that the conscience of humanity. Karaoke? If you invest. What is surprising and encouraging. Anti-brain model, not all of the cities and streets &#8211; including travel tool. (This is surprising, of course), the efforts of Member. </p>
<p>What is this? And expectations? I am not a very good package, although Google&#8217;s technology, we hope that all leaders. First, I would like to, I hope vyhrajete Ⅰ. Yes, car.</p>
<p>Is happening?</p>
<p>&#8212;</p>
<p>In his book Gödel, Escher, Bach, Hofstadter hints at what he believes gives rise to humour in human brains. Humour, he says, is a subversion of expectations. When we are amused, we are also surprised. In a hypothetical model of the brain&#8217;s functioning, he attributes this to a trip down an unfamiliar neural pathway- like a tour across a version of your country that has all the city and highway names mixed up. (The latter bit sure doesn&#8217;t seem funny to me.)</p>
<p>This post is an attempt at this &#8220;subversion of expectations&#8221;. I&#8217;m no good at engineering such twists, though, so I sought help from the all-knowing Google overlords. I figured that the first person to have his expectations flipped over and kneaded by this exercise ought to be me.  </p>
<p>That&#8217;s enough hinting, I think. What do you think happened to this piece?    </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rxfl.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rxfl.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rxfl.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rxfl.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rxfl.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rxfl.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rxfl.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rxfl.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rxfl.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rxfl.wordpress.com/208/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rxfl.wordpress.com&blog=1810174&post=208&subd=rxfl&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rxfl.wordpress.com/2009/06/25/an-impolite-subversion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d0a28492fbeca3633b2e94db55926ae9?s=96&#38;d=http%3A%2F%2Fa.wordpress.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">karthik</media:title>
		</media:content>
	</item>
		<item>
		<title>A Short History of Penfight</title>
		<link>http://rxfl.wordpress.com/2009/06/16/a-short-history-of-penfight/</link>
		<comments>http://rxfl.wordpress.com/2009/06/16/a-short-history-of-penfight/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 20:31:01 +0000</pubDate>
		<dc:creator>Karthik</dc:creator>
				<category><![CDATA[Verbiage]]></category>
		<category><![CDATA[penfight]]></category>

		<guid isPermaLink="false">http://rxfl.wordpress.com/2009/06/16/a-history-of-penfight/</guid>
		<description><![CDATA[Young cousins are a hyperactive lot. In an effort to keep the runts engaged, I improvised a game played with marbles (the only props at hand at the time that could pass for toys). It was a two-minute affair, and the game was chancy, full of loopholes and not likely to amuse anyone for over [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rxfl.wordpress.com&blog=1810174&post=202&subd=rxfl&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Young cousins are a hyperactive lot. In an effort to keep the runts engaged, I improvised a game played with marbles (the only props at hand at the time that could pass for toys). It was a two-minute affair, and the game was chancy, full of loopholes and not likely to amuse anyone for over a few minutes. So I was surprised to see them playing it with religious fervour two years from that boring afternoon.</p>
<p>I mentioned to them in passing that this has happened before, with a classroom game now known as <strong>Penfight</strong>. The expression on their faces led me to believe that I&#8217;d said something profound. I confirmed to their flabbergasted countenances that yes, I did indeed invent this game- at school in Delhi sometime around the latter half of 1997, although I was not the one who named it so.</p>
<p>Apparently, it has grown into something of a phenomenon in Indian high schools- venues otherwise known for inducing ennui, encouraging overt passiveness and for their deadpan deliverance of useless infodumps. As a somnolent sixth grader, I possessed not the enthusiasm for flinging paper balls tied with rubber bands around the classroom, which was what most boys in the class got around to in the absence of a teacher. Watching a classmate trying to attack a half-hammered nail on his desk with his pen, I realized there was pastime to be had here. Soon we were trying in turns to knock each others pens off his desk by flicking them.</p>
<p>Penfight in its original form is a simple game. There are two or more pens on the surface of a table, one per player. Players take turns trying to knock all pens except their own off the table by flicking their pen with their forefingers, much like one propels the striker in Carroms.</p>
<p>As a competitive sport, Penfight was perfect. In retrospect, I realize that it had all the elements of a classic- it required skill, and a fair knowledge of the playing surface&#8217;s irregularities. It was easy to get better at, but hard to be really good, as luck was a terrific equalizer. Knocking pens off a table was addictive. There was room for strategy- many of us could gang up against a strong player and then fight it out amongst ourselves. (Facing a much stronger opponent by yourself, you could attempt a kamikaze charge and end the round in a draw.) It required no time to set up and not much energy to play. It was short, perfect for that three minute interval between classes. It scaled well; a single desk could accommodate up to five players (and pens), and you could join adjacent desks to make more room. Most importantly, it was fun!</p>
<p>I didn&#8217;t have a name for it- heck, I didn&#8217;t know for sure what we were doing. Soon everyone in the classroom was playing it. Tournaments were held, and whatever advantage I possessed owing to an early start was lost. In a few months, everyone was playing better than me, and by the end of the year, people were gambling on the pens themselves. By this point I had given up on the game and taken to reading comics in class instead. (I think this marked the birth of my introversion, a characteristic that&#8217;s remained with me since.)</p>
<p>1998 was a different time, and I was at a different place. More boredom struck at my new school in Bangalore, and I decided to try my hand (fingers) at Penfight again. (I still didn&#8217;t have a name for it.) I caught hold of a couple of classmates and got them to play with me- and boy, did it catch on! Once again, I lost whatever advantage I possessed in a few weeks. Apparently, everyone had a better intuitive understanding of angular momentum and centers of mass than I. This time around, people started bringing in heavy duty pens to aid their cause- metal dreadnoughts, relics from bygone ages with plenty of ballast; I was well and truly out of the game.</p>
<p>I lost track of what happened to this phenomenon after my tenth grade. By then, I&#8217;d heard the name Penfight being tossed around. I&#8217;d lost all interest in classroom pastimes, and I&#8217;d all but forgotten about it until my cousins (who attend a different school) informed me, twelve years from the first time ever (probably) a round of penfight was played, that their school has had notices put up stating &#8220;PENFIGHT DURING SCHOOL HOURS IS BANNED&#8221;. Ha! It&#8217;s part of the high school student&#8217;s, and better yet, the <em>school&#8217;s</em> vocabulary now.</p>
<p>It&#8217;s not a hard game to cook up- any sufficiently bored enterprising schoolkid could invent something of the sort, so it is quite likely that Penfight was invented at several places around the country at roughly the same time, and that this reminiscence is one of many histories of Penfight. I&#8217;m not proud of it- partly because I don&#8217;t find it particularly clever, and partly because I&#8217;ve always been rubbish at the game.</p>
<p>But yeah, for the record, I (co-)invented Penfight.</p>
<p>If you&#8217;ve been through the farcical ordeal that is high school in the past decade, perhaps you have engaged in Penfighting. If you have, <strong>what is your Penfight story?</strong></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rxfl.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rxfl.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rxfl.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rxfl.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rxfl.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rxfl.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rxfl.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rxfl.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rxfl.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rxfl.wordpress.com/202/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rxfl.wordpress.com&blog=1810174&post=202&subd=rxfl&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rxfl.wordpress.com/2009/06/16/a-short-history-of-penfight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d0a28492fbeca3633b2e94db55926ae9?s=96&#38;d=http%3A%2F%2Fa.wordpress.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">karthik</media:title>
		</media:content>
	</item>
		<item>
		<title>Eh?</title>
		<link>http://rxfl.wordpress.com/2009/05/23/eh/</link>
		<comments>http://rxfl.wordpress.com/2009/05/23/eh/#comments</comments>
		<pubDate>Sat, 23 May 2009 21:51:51 +0000</pubDate>
		<dc:creator>Karthik</dc:creator>
				<category><![CDATA[Rants]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[cosmic insult]]></category>
		<category><![CDATA[regexes]]></category>

		<guid isPermaLink="false">http://rxfl.wordpress.com/2009/05/23/eh/</guid>
		<description><![CDATA[me: I finally found my comfort zone in this hierarchy of levels of complexity in which you can use a computer.
Mine&#8217;s just below the &#8220;application level&#8221;, at the level of the tools used to create applications.
Sameer: kya? :-}
me: Basically, there are a whole lot of &#8220;levels&#8221; at which you can use a PC.
Some of them [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rxfl.wordpress.com&blog=1810174&post=197&subd=rxfl&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><b>me:</b> I finally found my comfort zone in this hierarchy of levels of complexity in which you can use a computer.<br />
Mine&#8217;s just below the &#8220;application level&#8221;, at the level of the tools used to create applications.</p>
<p><b>Sameer:</b> kya? :-}</p>
<p><b>me:</b> Basically, there are a whole lot of &#8220;levels&#8221; at which you can use a PC.<br />
Some of them complex enough to sound nightmarish to anyone- these are the &#8220;lowest&#8221; levels, sending system calls yourself, etc.</p>
<p><b>Sameer:</b> well isn&#8217;t it relative</p>
<p><b>me:</b> Most casual users use the highest level,<br />
(GUIs with nice text boxes, etc.)</p>
<p><b>Sameer:</b> for eg. I can send sys calls and interact with the kernel but on the other hand I can&#8217;t sometimes understand how basic applications work <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p><b>me:</b> Well, yes, knowledge of one level does not imply knowledge of all of them.<br />
Refer <a href="http://rightshift.info/?p=129">http://rightshift.info/?p=129</a><br />
(I mean, knowledge of all the higher levels)</p>
<p><b>Sameer:</b> hadd header!</p>
<p><b>me:</b> Yeah, my friend (and co-blogger at RightShift) is a GIMP freak.<br />
Anyway, my point is that different users prefer to work at different levels.<br />
Some want control and precision,<br />
some just want things to work.<br />
(These sets of people are not mutually exclusive, ob)</p>
<p><b>Sameer:</b> yup, point taken <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><b>me:</b> Anyway, getting to the remark I made-<br />
I&#8217;ve finally found my comfort zone.<br />
(It&#8217;s a zone I didn&#8217;t know existed when I was using only Windows)<br />
This zone is the level that provides basic tools for application development; several steps above system calls to kernel networking modules (in the case of Jabber), and two steps below this integrated messaging system in Gmail.</p>
<p><b>Sameer:</b> hadd hadd</p>
<p><b>me:</b> That is, the zone where I can create Jabber connections using Python/Perl modules and exert considerable control over how I send messages.<br />
Combined with Bash awesomeness (sed, grep, perl, tr and other text processing tools),</p>
<p><b>Sameer:</b> yes and the geekiest level will be that of physical layer</p>
<p><b>me:</b> I can engage in all kinds of crazy-awesomeness.</p>
<p><b>Sameer:</b> u just flip bits to get your work done</p>
<p><b>me:</b> Haha</p>
<p><b>Sameer:</b> <a href="http://xkcd.com/378/">http://xkcd.com/378/</a></p>
<p><b>me:</b> It would; but I don&#8217;t want that kind of control or headache.<br />
I haven&#8217;t clicked the link,<br />
and I can already guess that this is the XKCD comic with M-x butterfly. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><b>Sameer:</b> hehe, yes&#8230; <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><b>me:</b> M-x butterfly is a classic.<br />
I think someone wrote a mock version of it into Emacs 23.<br />
Anyway-<br />
god, I keep getting distracted.</p>
<p><b>Sameer:</b> hehe<br />
yes, the best comic strip ever</p>
<p><b>me:</b> I&#8217;m now comfortable in this zone,<br />
and liking the control/automation tradeoff.<br />
But then this Jabber thing comes along&#8230; and <i>refuses to work!</i> </p>
<p><b>Sameer:</b> hehe</p>
<p><b>me:</b> It&#8217;s like being kicked out of a plush leather sofa.<br />
Due to an overabundance of tinkering time,</p>
<p><b>Sameer:</b> shit, I can relate to that</p>
<p><b>me:</b> I&#8217;ve gotten to the point where I consider most web browsers (save elinks) over-designed,</p>
<p><b>Sameer:</b> (being kicked from sofa)</p>
<p><b>me:</b> and most chat clients needlessly bloated.<br />
Basically, I view &#8220;software&#8221; with a critical eye now that I can (in principle) build my own with a high level language.<br />
And then this Jabber thingy pains me for seven hours and I&#8217;m forced to use Firefox.<br />
<b>This is like the ultimate cosmic insult.</b><br />
And <i>that&#8217;s</i> what I wanted to say all along.</p>
<p><b>Sameer:</b> hadd <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p><b>me:</b> I should make this a blog post.</p>
<p><b>Sameer:</b> damn, think of how much fun we could have had, if only you had chosen Berkeley <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p><b>me:</b> Fun in our spare time- but would we have had any spare time to begin with?</p>
<p><b>Sameer:</b> yeah definitely <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p><b>me:</b> You know what, I&#8217;m just going to upload this conversation from where I started the levels-of-PC-use rant to the blog.<br />
And I will use&#8230; a <b>CLI based blog client</b> to publish the post!</p>
<p><b>Sameer:</b> hadd <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><b>me:</b> Can I leave in your name?</p>
<p><b>Sameer:</b> with my <i>hadd&#8217;s</i> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><b>Sameer:</b> sure, make me famous <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p><b>me:</b> You&#8217;re kidding me.<br />
My blog gets two visitors an year.</p>
<p><b>Sameer:</b> ah, then allow me to put it as status message <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><b>me:</b> OK, but think- how many people will have a clue of what&#8217;s going on?<br />
The problem with me blogging is that I choose awfully esoteric topics.<br />
And not on purpose!</p>
<p><b>Sameer:</b> ya&#8230;that is the problem with technical writing <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
you have only a given set of audiences</p>
<p><b>me:</b> We had the exact same problem in the Astronomy club.</p>
<p><b>Sameer:</b> and only 5-6 people on my gtalk list who will actually read them</p>
<p><b>me:</b> Hah! I have only 5-6 people on my gtalk list, period.</p>
<p><b>Sameer:</b> I knew it was coming</p>
<p><b>me:</b> Ooh, more fun.<br />
I pasted in the chat log with the timestamps.</p>
<p><b>Sameer:</b> so?</p>
<p><b>me:</b> This means I now get to use&#8230; <b>regular expressions!</b></p>
<p><b>Sameer:</b> hehehe<br />
u need help!<br />
hehe<br />
okay, now I need some sleep</p>
<p><b>me:</b> s/^[0-9:]+//</p>
<p><b>Sameer:</b> hmphh</p>
<p><b>me:</b> Goodnight!</p>
<p>*</p>
<p><i>A chat log, because this kind of special rubbish requires a better resting place than an obscure email account. (The collocutor, Sameer, is like an online punching bag for this kind of outburst.)</i></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rxfl.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rxfl.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rxfl.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rxfl.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rxfl.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rxfl.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rxfl.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rxfl.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rxfl.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rxfl.wordpress.com/197/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rxfl.wordpress.com&blog=1810174&post=197&subd=rxfl&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rxfl.wordpress.com/2009/05/23/eh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d0a28492fbeca3633b2e94db55926ae9?s=96&#38;d=http%3A%2F%2Fa.wordpress.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">karthik</media:title>
		</media:content>
	</item>
		<item>
		<title>Cryptonomicon</title>
		<link>http://rxfl.wordpress.com/2009/05/06/cryptonomicon/</link>
		<comments>http://rxfl.wordpress.com/2009/05/06/cryptonomicon/#comments</comments>
		<pubDate>Wed, 06 May 2009 15:54:32 +0000</pubDate>
		<dc:creator>Karthik</dc:creator>
				<category><![CDATA[Verbiage]]></category>
		<category><![CDATA[cryptonomicon]]></category>
		<category><![CDATA[neal stephenson]]></category>

		<guid isPermaLink="false">http://rxfl.wordpress.com/2009/05/06/cryptonomicon/</guid>
		<description><![CDATA[Cryptonomicon is bat-shit crazy.
It&#8217;s compressed hyperbole described in such deadpan overtones you have no choice but to run with it. And boy, does it run. It runs a skein across generations and across genres, romping through at least one country every fifteen degrees in latitude, spanning descriptions of hacker culture, the origins and evolution of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rxfl.wordpress.com&blog=1810174&post=196&subd=rxfl&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://www.cryptonomicon.com/">Cryptonomicon</a> is bat-shit crazy.</p>
<p>It&#8217;s compressed hyperbole described in such deadpan overtones you have no choice but to run with it. And boy, does it run. It runs a skein across generations and across genres, romping through at least one country every fifteen degrees in latitude, spanning descriptions of hacker culture, the origins and evolution of crypto, fantasy role-playing, the pacific in WW-II (culminating in General Douglas McArthur&#8217;s curb-stomping of the Nippons), Tolkienesque metaphors, Haiku, digs at venture-capitalism, mafia machinations, number theory, an irreverent deconstruction of Greek theology, treasure hunts for war gold, and the first ever digital computer with mercury columns in thirty-feet lead pipes serving as RAM.</p>
<p>There&#8217;s more of this, but Ares himself couldn&#8217;t drag me back to that tome in search of better examples.</p>
<p>If the outrageous awesomeness isn&#8217;t getting through to you, consider this: The lead characters are (i) A gung-ho marine in the hobby of reading Japanese poetry who runs halfway across the world engineering fake accidents for the Germans to discover, including <i>ramming a battleship</i> bow-first into <i>the Norweigan ice shelf</i> (ii) A UNIX system administrator who fools an entire battalion of high-tech eavesdroppers by reading text files by flashing the LEDs on his keyboard in Morse, and (iii) A clique of world war II mathematicians headed by <i>Alan Mathison Turing</i>. Yes, Alan Turing is a lead character in Cryptonomicon. </p>
<p>Cryptonomicon isn&#8217;t recommended reading. It&#8217;s the kind of reading required when you think the world is not crazy-awesome and need someone to bash in your ill-conceived preconceptions with a sledgehammer, which for me is admittedly most of the time.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rxfl.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rxfl.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rxfl.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rxfl.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rxfl.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rxfl.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rxfl.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rxfl.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rxfl.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rxfl.wordpress.com/196/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rxfl.wordpress.com&blog=1810174&post=196&subd=rxfl&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rxfl.wordpress.com/2009/05/06/cryptonomicon/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d0a28492fbeca3633b2e94db55926ae9?s=96&#38;d=http%3A%2F%2Fa.wordpress.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">karthik</media:title>
		</media:content>
	</item>
		<item>
		<title>On the incorrigible character of Saybolt Universal Seconds (and CLI calculators thereof)</title>
		<link>http://rxfl.wordpress.com/2009/04/26/on-the-incorrigible-character-of-saybolt-universal-seconds-and-cli-calculators-thereof/</link>
		<comments>http://rxfl.wordpress.com/2009/04/26/on-the-incorrigible-character-of-saybolt-universal-seconds-and-cli-calculators-thereof/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 18:49:22 +0000</pubDate>
		<dc:creator>Karthik</dc:creator>
				<category><![CDATA[Discoveries]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[FITGD]]></category>
		<category><![CDATA[google calculator]]></category>

		<guid isPermaLink="false">http://rxfl.wordpress.com/2009/04/26/on-the-incorrigible-character-of-saybolt-universal-seconds-and-cli-calculators-thereof/</guid>
		<description><![CDATA[A considerable chunk of my time as an undergraduate was spent designing hypothetical steam power cycles (entirely on paper, the defining characteristic of an Indian education) and mixing up data on hydrodynamic bearings and lubrication oil viscosities in conveniently provided combinations to yield still more data.
It was as dry then as it sounds now.
The cherry [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rxfl.wordpress.com&blog=1810174&post=190&subd=rxfl&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A considerable chunk of my time as an undergraduate was spent designing hypothetical steam power cycles (entirely on paper, the defining characteristic of an Indian education) and mixing up data on hydrodynamic bearings and lubrication oil viscosities in conveniently provided combinations to yield still more data.</p>
<p>It was as dry then as it sounds now.</p>
<p>The cherry on top of this gargantuan mound of frustration was this: An hour long calculation, meticulously carried out to the right significant figure, an end to a week&#8217;s worth of futile drudgery, a manuscript of unbendable proportions and a palimpsest of scrawls, margins, sub-margins, crosses and cross-references that would terminate in a number that would <i>fail a sanity check</i>. Or worse, it would <i>not</i>.</p>
<p>Somewhere in the mess of Kilojoules per kilogram per second per Kelvin and Saybolt Universal Seconds* would nest a skipped exponential, or would manifest a quirk of the almighty tabulators** who would choose, in their earnest and masterful attempts at obfuscation, a system of units that differs from SI by a sliver- enough to evade a perfunctory gaze while puncturing all attempts at veracity.</p>
<p>It Need Not Be So. Alerted <a href="http://blag.xkcd.com/2009/04/06/a-date-idea-analyzed/">via a mention</a> on XKCD, bolstered by the acumen of dozens of dimensionally aware readers***, I discovered that a tool to deal with headaches of the sort exists, has existed for years now, and is available nearly everywhere. </p>
<p>They call it the <a href="http://www.google.com/help/features.html">Google Calculator</a>.</p>
<p>Alas, access to the tool is buried behind web browsers and HTML forms, which some people will attest to be <a href="http://surfraw.alioth.debian.org/">pox-infested heathen land.</a> Of course, necessity is the mother of most scripting (the scant remainder being General Frippery of the Insufferably Needless Kind), and alternatives have surfaced aplenty. (<a href="http://www.codeistry.com/assets/files/gcalc">Here</a> <a href="http://razvan784.googlepages.com/googlecalcsh">are</a> <a href="http://pastebin.com/f2281f6b">five</a> <a href="http://johnbokma.com/perl/google-calculator.html">of</a> <a href="http://search.cpan.org/~typester/WWW-Google-Calculator-0.05/lib/WWW/Google/Calculator.pm">them</a>.)</p>
<p>What does it do? Let BASH do the talking:</p>
<p><font face="Courier"><b><br />
$ gcalc &#8220;1.2 gallons in ml&#8221;<br />
1.2 Imperial gallons = 5,455.31025 millilitres<br />
</b></font></p>
<p><font face="Courier"><b><br />
$ gcalc &#8220;1.4198 petabyte in MB&#8221;<br />
1.4198 petabyte = 1.52449864 x 10E9 megabytes<br />
</b></font></p>
<p><font face="Courier"><b><br />
$ gcalc &#8220;131 USD in INR&#8221;<br />
131 U.S. dollars = 6,497.69357 Indian rupees<br />
</b></font></p>
<p>But you knew that.</p>
<p><font face="Courier"><b><br />
$ gcalc &#8220;234.089 * sqrt(7) * ln(12)&#8221;<br />
234.08900 * sqrt(7) * ln(12) = 1 539.00526<br />
</b></font></p>
<p>Now we&#8217;re warming up.</p>
<p><font face="Courier"><b><br />
$ gcalc &#8220;0.21 tesla in gauss&#8221;<br />
0.21 tesla = 2100 gauss<br />
</b></font></p>
<p><font face="Courier"><b><br />
$ gcalc &#8220;28 MPa in psi&#8221;<br />
28 megapascals = 4,061.05666 pounds per square inch<br />
</b></font></p>
<p>Still, not a life saver.</p>
<p><font face="Courier"><b><br />
$ gcalc &#8220;radius of earth * pi * 2 in feet&#8221;<br />
radius of Earth * pi * 2 = 131,478,951 feet<br />
</b></font></p>
<p><font face="Courier"><b><br />
$ gcalc &#8220;radius of sun^3 * 4 * pi / 3 in km^3&#8243;<br />
((radius of the sun^3) * 4 * pi) / 3 = 1.40922394 x 10E18 km^3<br />
</b></font></p>
<p>We&#8217;re getting there!</p>
<p><font face="Courier"><b><br />
$ gcalc &#8220;12 km/h * 22 minutes in miles&#8221;<br />
(12 km/h) * 22 minutes = 2.73403325 miles<br />
</b></font></p>
<p><font face="Courier"><b><br />
$ gcalc &#8220;1 / (4 milliohms * 14 microfarads)&#8221;<br />
1 / ((4 milliohms) * 14 microfarads) = 17.8571429 megahertz<br />
</b></font></p>
<p>Wow.</p>
<p><font face="Courier"><b><br />
$ gcalc &#8220;3.54 kilojoules / (kg * kelvin) * 0.0021 kg / s * 24 kelvin&#8221;<br />
((3.54 kilojoules) / (kg * kelvin)) * (0.0021 (kg / s)) * (24 kelvin) = 178.41600 watts<br />
</b></font></p>
<p>We&#8217;ve arrived. Saybolt Universal Seconds didn&#8217;t make it. Serves &#8216;em right. We ought to <a href="http://www.google.co.in/search?hl=en&amp;safe=on&amp;hs=geo&amp;q=%22fart+in+your+general+direction%22&amp;btnG=Search">FITGD</a>, them Saybolt viscometers.</p>
<p><a href="http://www.mediafire.com/?sharekey=865c718fe6106db4391d7d881749d3a7e04e75f6e8ebb871">Here&#8217;s</a> how you get this running.</p>
<p>My calculation troubles have been deflated, the palimpsests discarded. (Life is good again.)</p>
<p>Google Calculator is amazing. But does it pass <i>the sanity check</i>?</p>
<p><font face="Courier"><b><br />
$ gcalc &#8220;the answer to life the universe and everything&#8221;<br />
the answer to life the universe and everything = 42<br />
</b></font></p>
<p>Aye, it does.</p>
<p>* An oxymoron of sorts, that.<br />
** These are the Powers That Be, the Catalogue Lords, the spawn of Napier himself- minus his <a href="http://math.about.com/library/weekly/blbionapier.htm">engineering ingenuity</a> at laying waste to bovines from two miles away.<br />
*** This footnote shall not discuss the pun it was referenced by.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rxfl.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rxfl.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rxfl.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rxfl.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rxfl.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rxfl.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rxfl.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rxfl.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rxfl.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rxfl.wordpress.com/190/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rxfl.wordpress.com&blog=1810174&post=190&subd=rxfl&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rxfl.wordpress.com/2009/04/26/on-the-incorrigible-character-of-saybolt-universal-seconds-and-cli-calculators-thereof/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d0a28492fbeca3633b2e94db55926ae9?s=96&#38;d=http%3A%2F%2Fa.wordpress.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">karthik</media:title>
		</media:content>
	</item>
		<item>
		<title>define:&#8217;d</title>
		<link>http://rxfl.wordpress.com/2009/04/23/defined-4/</link>
		<comments>http://rxfl.wordpress.com/2009/04/23/defined-4/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 17:28:26 +0000</pubDate>
		<dc:creator>Karthik</dc:creator>
				<category><![CDATA[Verbiage]]></category>
		<category><![CDATA[define:]]></category>

		<guid isPermaLink="false">http://rxfl.wordpress.com/2009/04/23/defined-4/</guid>
		<description><![CDATA[Several browser cache wipes later, this is all that remains define:&#8217;d.
Volume IV
Aboyne (&#8230;)
Anthology 
Eugenic (It troubles me to see smarter nephews around.)
Exegesis 
Gulag 
Knaves (surprisingly, phonetically similar to naive)
Obscura (not a word.)
Oleaginous (cognate)
Petulant (campsite, insect bite)
Simulacrum (similar, not)
Cassandra (Aren&#8217;t we all?)
Nihil (-ism.)
Scion 
Suzerain 
Tenebrous (murky. No wit this time.)
Interesting side note: I encountered three of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rxfl.wordpress.com&blog=1810174&post=186&subd=rxfl&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Several browser cache wipes later, this is all that remains define:&#8217;d.</p>
<p>Volume IV</p>
<p><b>Aboyne</b> (&#8230;)</p>
<p><b>Anthology</b> </p>
<p><b>Eugenic</b> (It troubles me to see smarter nephews around.)</p>
<p><b>Exegesis</b> </p>
<p><b>Gulag</b> </p>
<p><b>Knaves</b> (surprisingly, phonetically similar to naive)</p>
<p><b>Obscura</b> (not a word.)</p>
<p><b>Oleaginous</b> (cognate)</p>
<p><b>Petulant</b> (campsite, insect bite)</p>
<p><b>Simulacrum</b> (similar, not)</p>
<p><b>Cassandra</b> (Aren&#8217;t we all?)</p>
<p><b>Nihil</b> (-ism.)</p>
<p><b>Scion</b> </p>
<p><b>Suzerain</b> </p>
<p><b>Tenebrous</b> (murky. No wit this time.)</p>
<p>Interesting side note: I encountered three of the above words in <i>Anime fansubs</i>. It&#8217;s a paradox of sorts- Terrible-to-mediocre translations with surprisingly precise obscure wording. I suppose Japanese is embedded far too deep in the context of its culture to lend itself to meaningful literal or semantic translation.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rxfl.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rxfl.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rxfl.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rxfl.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rxfl.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rxfl.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rxfl.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rxfl.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rxfl.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rxfl.wordpress.com/186/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rxfl.wordpress.com&blog=1810174&post=186&subd=rxfl&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rxfl.wordpress.com/2009/04/23/defined-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d0a28492fbeca3633b2e94db55926ae9?s=96&#38;d=http%3A%2F%2Fa.wordpress.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">karthik</media:title>
		</media:content>
	</item>
		<item>
		<title>Tooling Around</title>
		<link>http://rxfl.wordpress.com/2009/01/20/tooling-around/</link>
		<comments>http://rxfl.wordpress.com/2009/01/20/tooling-around/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 11:16:01 +0000</pubDate>
		<dc:creator>Karthik</dc:creator>
				<category><![CDATA[Experiments]]></category>
		<category><![CDATA[Verbiage]]></category>
		<category><![CDATA[tooling]]></category>
		<category><![CDATA[vim]]></category>
		<category><![CDATA[vimblog]]></category>

		<guid isPermaLink="false">http://rxfl.wordpress.com/2009/01/21/tooling-around/</guid>
		<description><![CDATA[It is instructive to compare the amount of time spent learning the tools of a trade to the time spent practising the trade; You&#8217;re almost certainly doing something wrong, in the short term, if the former is disproportionately longer than the latter.
Case in point? I spend over two months looking for the perfect blogging client, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rxfl.wordpress.com&blog=1810174&post=163&subd=rxfl&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>It is instructive to compare the amount of time spent learning the tools of a trade to the time spent practising the trade; You&#8217;re almost certainly doing something wrong, <em>in the short term</em>, if the former is disproportionately longer than the latter.</p>
<p>Case in point? I spend over two months looking for the perfect blogging client, nitpicking things like keyboard shortcuts (and their absence, thereof), GTK dependency bloat and &#8216;Movable Type&#8217; support. I <em>don&#8217;t even have</em> a movable type blog. The search for the ultimate blogging client has been more-or-less consummated, but at the expense of an indelible fallow period.</p>
<p style="text-align:center;"><img class="size-full wp-image-167 aligncenter" title="gvim-vimblog" src="http://rxfl.files.wordpress.com/2009/01/gvim-vimblog.png?w=396&#038;h=263" alt="Initial Excitement Syndrome" width="396" height="263" /></p>
<p>My drive to learn the tools of general PC frippery far outweighs that to engage in the frippery itself- it&#8217;s the ultimate malaise. Two years on a Linux box have been witness to five desktop environments, six window managers, five (or more) terminal emulators, two text editors (yeah, Vi and Emacs), three content publishing systems (with little published content)- even three metadata taggers- and while we&#8217;re at it, several distros. It&#8217;s a wonder I got any work done.</p>
<p>A conservative estimate of the number of application keyboard shortcuts/commands I&#8217;ve memorized over the years (excluding Alt-Tabbing and other Windows keys) suggests a figure between six and eight hundred key combinations and commands. If that sounds unreal- <a href="http://linux.die.net/man/1/ratpoison">here&#8217;s</a> the Ratpoison (window manager) cheat sheet. That&#8217;s one of several.</p>
<p>The truly egregious excesses, though, have been the misadventures in the murky depth of scripting language hell. What began as a simple mass renaming requirement led to a whirlwind tour of Bash scripting, Sed, Perl, Scheme, Emacs-Lisp, Python, and for reasons baffling in retrospect, GNU-Octave and GNUplot. The Sisyphean task of writing the mass renaming script was carried out over a period of sixteen months, culminating in <em>four lines of code</em>, at the cost of losing the ability to code in one scripting language without involving the syntax of all of the above- a rosy state of affairs.</p>
<p>In the long term, versatility in fooling around might be a good thing- I haven&#8217;t been doing this long enough to become blindingly proficient at it- but clearly, taking sixteen months to rename three hundred files rips apart the threadbare argument.</p>
<p>No matter. A near perfect <a href="http://blog.tquadrado.com/?page_id=146" target="_blank">lightweight blogging client</a> is now at hand, and fittingly enough, the inaugural post is a reflection on the tendency to value the tools over the trade.</p>
<p>A resolution of sorts, then. <strong>Fewer tools, more work.</strong></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rxfl.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rxfl.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rxfl.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rxfl.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rxfl.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rxfl.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rxfl.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rxfl.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rxfl.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rxfl.wordpress.com/163/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rxfl.wordpress.com&blog=1810174&post=163&subd=rxfl&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rxfl.wordpress.com/2009/01/20/tooling-around/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d0a28492fbeca3633b2e94db55926ae9?s=96&#38;d=http%3A%2F%2Fa.wordpress.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">karthik</media:title>
		</media:content>

		<media:content url="http://rxfl.files.wordpress.com/2009/01/gvim-vimblog.png" medium="image">
			<media:title type="html">gvim-vimblog</media:title>
		</media:content>
	</item>
		<item>
		<title>define:&#8217;d</title>
		<link>http://rxfl.wordpress.com/2008/11/30/defined-3/</link>
		<comments>http://rxfl.wordpress.com/2008/11/30/defined-3/#comments</comments>
		<pubDate>Sun, 30 Nov 2008 20:08:08 +0000</pubDate>
		<dc:creator>Karthik</dc:creator>
				<category><![CDATA[Experiments]]></category>
		<category><![CDATA[Verbiage]]></category>
		<category><![CDATA[define:]]></category>

		<guid isPermaLink="false">http://rxfl.wordpress.com/?p=158</guid>
		<description><![CDATA[Volume III
Volume I, Volume II
&#8220;define:&#8221; searches for the past two months:
Ablative (Ab, from)
Apotheism (A-ha! I&#8217;ve been looking for this word)
Bellcross (of the Greek hero cult; despite the name,  sadly not a demigod)
Causative (Causative for? Causative of?)
Chortle (Is too close (phonetically) to choke for my liking)
Concubinage (You can figure this one out)
Dongle (D-R-M. Hehe)
Enamored (Yeah. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rxfl.wordpress.com&blog=1810174&post=158&subd=rxfl&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="text-decoration:underline;"><strong>Volume III</strong></span></p>
<p><a href="http://rxfl.wordpress.com/2008/08/29/defined/" target="_blank">Volume I</a>, <a href="http://rxfl.wordpress.com/2008/09/22/defined-2/" target="_blank">Volume II</a></p>
<p>&#8220;<strong>define:</strong>&#8221; searches for the past two months:</p>
<p><strong>Ablative </strong>(Ab, from)</p>
<p><strong>Apotheism</strong> (A-ha! I&#8217;ve been looking for this word)</p>
<p><strong>Bellcross</strong> (of the Greek hero cult; despite the name,  sadly not a demigod)</p>
<p><strong>Causative</strong> (Causative for? Causative of?)</p>
<p><strong>Chortle</strong> (Is too close (phonetically) to choke for my liking)</p>
<p><strong>Concubinage</strong> (You can figure this one out)</p>
<p><strong>Dongle</strong> (D-R-M. Hehe)</p>
<p><strong>Enamored</strong> (Yeah. Like Fallout 3 and me)</p>
<p><strong>Facetious</strong></p>
<p><strong>Fandango</strong> (Hence the GRIM!)</p>
<p><strong>Heathen</strong> (Pagan. I think)</p>
<p><strong>Indelible</strong> (Like your presence on the Internet.)</p>
<p><strong>Lentil</strong> (I&#8217;ve never seen these)</p>
<p><strong>Maw</strong> (Maw-th)</p>
<p><strong>Overture</strong></p>
<p><strong>Punitive</strong></p>
<p><strong>Regale</strong></p>
<p><strong>Regent</strong></p>
<p><strong>Rodomontade</strong> (Talk about obscurantism&#8230;)</p>
<p><strong>Semiotic</strong> (Symbol-wise)</p>
<p><strong>Slovenly</strong></p>
<p><strong>Verdant</strong> (Don&#8217;t say Vista)</p>
<p><strong>Virtuosity</strong> (I have <em>no</em> idea)</p>
<p><strong>Wino</strong> (It&#8217;s an actual word!)</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rxfl.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rxfl.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rxfl.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rxfl.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rxfl.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rxfl.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rxfl.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rxfl.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rxfl.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rxfl.wordpress.com/158/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rxfl.wordpress.com&blog=1810174&post=158&subd=rxfl&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rxfl.wordpress.com/2008/11/30/defined-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d0a28492fbeca3633b2e94db55926ae9?s=96&#38;d=http%3A%2F%2Fa.wordpress.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">karthik</media:title>
		</media:content>
	</item>
		<item>
		<title>A regular expression for primeness</title>
		<link>http://rxfl.wordpress.com/2008/11/15/regex-prime/</link>
		<comments>http://rxfl.wordpress.com/2008/11/15/regex-prime/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 11:41:04 +0000</pubDate>
		<dc:creator>Karthik</dc:creator>
				<category><![CDATA[Discoveries]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[regexes]]></category>

		<guid isPermaLink="false">http://rxfl.wordpress.com/?p=153</guid>
		<description><![CDATA[Lazy Saturday afternoons spent on the Internets lead to the niftiest discoveries.
A Regular Expression that tests a number for (un)primeness:
/^1?$&#124;^(11+?)\1+$/
The input string that the above regex is matched with is a sequence of N ones, where N is the number tested for primeness.
The confounding terseness of regular expressions isn&#8217;t surprising after an year of daily [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rxfl.wordpress.com&blog=1810174&post=153&subd=rxfl&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Lazy Saturday afternoons spent on the Internets lead to the niftiest discoveries.</p>
<p>A <a href="http://www.nuclearblender.com/leftovers/howto/regex/" target="_blank">Regular Expression</a> that tests a number for (un)primeness:</p>
<p style="color:#555555;background-color:#eeeeee;border:#dddddd 2px solid;padding:2px 6px 4px;">/^1?$|^(11+?)\1+$/</p>
<p>The input string that the above regex is matched with is a sequence of N ones, where N is the number tested for primeness.</p>
<p>The confounding terseness of regular expressions isn&#8217;t surprising after an year of daily use, but this one led to record amounts of head-scratching.</p>
<p>Let&#8217;s expand that out, shall we?</p>
<p style="color:#555555;background-color:#eeeeee;border:#dddddd 2px solid;padding:2px 6px 4px;">qr/<br />
^1?$       # 1 or nothing, not prime<br />
|             # OR<br />
^(11+?) # 2 or more 1&#8217;s, matched minimally<br />
\1+$       # Followed by one or more instances of captured pattern (pattern in parens above)<br />
/x</p>
<p>When matched against a sequence of N ones (111..), the special cases of  zero or one ones is handled by the first part of the regex; the latter part is the workhorse.</p>
<p>The string is tested against an integer number of repeats of the captured pattern. 111111 is matched with three occurrences of 11- once during the capture and twice during the backreference (\1)+, so 111111 is not prime.</p>
<p>But here&#8217;s the trick: Since (11+?) matches minimally, failure to match nine (111111111) as four occurrences of 11 causes the regex engine to backtrack and capture 111; Nine is then matched with three occurrences of 111! So the regular expression engine is trying to match the input with a multiple of a successively increasing sequence of ones, which, of course, is the usual way of testing a prime.</p>
<p>This piece of regex magic was picked off <a href="http://stackoverflow.com/questions/20448/what-is-the-most-brilliant-regex-youve-ever-used" target="_blank">StackOverflow</a>, where there&#8217;s a full explanation with examples.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rxfl.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rxfl.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rxfl.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rxfl.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rxfl.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rxfl.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rxfl.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rxfl.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rxfl.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rxfl.wordpress.com/153/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rxfl.wordpress.com&blog=1810174&post=153&subd=rxfl&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rxfl.wordpress.com/2008/11/15/regex-prime/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d0a28492fbeca3633b2e94db55926ae9?s=96&#38;d=http%3A%2F%2Fa.wordpress.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">karthik</media:title>
		</media:content>
	</item>
		<item>
		<title>We interrupt the ongoing inactivity&#8230;</title>
		<link>http://rxfl.wordpress.com/2008/10/15/we-interrupt-ongoing-inactivity/</link>
		<comments>http://rxfl.wordpress.com/2008/10/15/we-interrupt-ongoing-inactivity/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 22:59:11 +0000</pubDate>
		<dc:creator>Karthik</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[mass effect]]></category>

		<guid isPermaLink="false">http://rxfl.wordpress.com/?p=138</guid>
		<description><![CDATA[&#8230;to inform you of the masterpiece that is Mass Effect.

It&#8217;s better than Galactic Deus Ex.
It&#8217;s more than an evolved KOTOR.
It hits harder than Firefly.
It&#8217;s what you&#8217;ll dream about for days when you&#8217;ve played it.
It&#8217;s Epic. In a sense that few games are, or can be. It [minor spoiler alert] has an entity dismissively projecting:
We are [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rxfl.wordpress.com&blog=1810174&post=138&subd=rxfl&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>&#8230;to inform you of the masterpiece that is <a href="http://masseffect.bioware.com/" target="_blank">Mass Effect</a>.</p>
<p style="text-align:center;"><a href="http://rxfl.files.wordpress.com/2008/10/mass-effect-awe.jpg"><img class="size-large wp-image-144 aligncenter" title="mass-effect-awe " src="http://rxfl.files.wordpress.com/2008/10/me-environment04.jpg?w=700&#038;h=350" alt="What do you think they're looking at?" width="700" height="350" /></a></p>
<p>It&#8217;s better than Galactic <a href="http://en.wikipedia.org/wiki/Deus_Ex" target="_blank">Deus Ex</a>.</p>
<p>It&#8217;s more than an evolved <a href="http://en.wikipedia.org/wiki/Star_Wars:_Knights_of_the_Old_Republic" target="_blank">KOTOR</a>.</p>
<p>It hits harder than <a href="http://en.wikipedia.org/wiki/Firefly_(TV_series)" target="_blank">Firefly</a>.</p>
<p>It&#8217;s what you&#8217;ll dream about for days when you&#8217;ve played it.</p>
<p>It&#8217;s <strong>Epic</strong>. In a sense that few games are, or can be. It <span style="color:#ff6600;">[minor spoiler alert]</span> has an entity dismissively projecting:</p>
<blockquote><p>We are Infinite. We have no beginning. We have no End.</p>
<p><strong>We are Legion.</strong></p></blockquote>
<p>Also, it&#8217;s taken over my life in the past two weeks; causative for the chain of events that has culminated in weight gain (mass effect!), sleep loss, general neglect and a fallow blog, all to be remedied as befits their <a href="http://en.wikipedia.org/wiki/Cooldown" target="_blank">cooldown times</a>.</p>
<p>I owe RXFL an apology.</p>
<p><span id="more-138"></span></p>
<p>(Image from <a href="http://www.creativeuncut.com/gallery-05/" target="_blank">CreativeUncut</a>)</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rxfl.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rxfl.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rxfl.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rxfl.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rxfl.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rxfl.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rxfl.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rxfl.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rxfl.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rxfl.wordpress.com/138/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rxfl.wordpress.com&blog=1810174&post=138&subd=rxfl&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://rxfl.wordpress.com/2008/10/15/we-interrupt-ongoing-inactivity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d0a28492fbeca3633b2e94db55926ae9?s=96&#38;d=http%3A%2F%2Fa.wordpress.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">karthik</media:title>
		</media:content>

		<media:content url="http://rxfl.files.wordpress.com/2008/10/me-environment04.jpg?w=700" medium="image">
			<media:title type="html">mass-effect-awe </media:title>
		</media:content>
	</item>
	</channel>
</rss>