<?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>Justin&#039;s Think Tank</title>
	<atom:link href="http://justinnhli.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://justinnhli.wordpress.com</link>
	<description>with a big idea canon and large treads to get traction</description>
	<lastBuildDate>Fri, 25 Mar 2011 14:54:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='justinnhli.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Justin&#039;s Think Tank</title>
		<link>http://justinnhli.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://justinnhli.wordpress.com/osd.xml" title="Justin&#039;s Think Tank" />
	<atom:link rel='hub' href='http://justinnhli.wordpress.com/?pushpress=hub'/>
		<item>
		<title>WordPress Test</title>
		<link>http://justinnhli.wordpress.com/2009/08/26/wordpress-test/</link>
		<comments>http://justinnhli.wordpress.com/2009/08/26/wordpress-test/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 15:01:16 +0000</pubDate>
		<dc:creator>justinnhli</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://justinnhli.wordpress.com/?p=3</guid>
		<description><![CDATA[This is a test to see how WordPress holds up as a CMS.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justinnhli.wordpress.com&amp;blog=9182664&amp;post=3&amp;subd=justinnhli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is a test to see how WordPress holds up as a CMS.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/justinnhli.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/justinnhli.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/justinnhli.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/justinnhli.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/justinnhli.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/justinnhli.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/justinnhli.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/justinnhli.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/justinnhli.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/justinnhli.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/justinnhli.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/justinnhli.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/justinnhli.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/justinnhli.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justinnhli.wordpress.com&amp;blog=9182664&amp;post=3&amp;subd=justinnhli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://justinnhli.wordpress.com/2009/08/26/wordpress-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/59bf62a08b851610d8f661f0b9aad044?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">justinnhli</media:title>
		</media:content>
	</item>
		<item>
		<title>Porn and Intimacy</title>
		<link>http://justinnhli.wordpress.com/2009/07/06/porn-and-intimacy/</link>
		<comments>http://justinnhli.wordpress.com/2009/07/06/porn-and-intimacy/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 05:00:00 +0000</pubDate>
		<dc:creator>justinnhli</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://justinnhli.wordpress.com/2009/07/06/porn-and-intimacy</guid>
		<description><![CDATA[It is rare that I talk about something so personal on my blog. My life is at a changing point, very saliently a point where the future is wide open and I get to decide where it should go. There are some other circumstances which I don&#8217;t feel like elaborating on, but let it be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justinnhli.wordpress.com&amp;blog=9182664&amp;post=327&amp;subd=justinnhli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It is rare that I talk about something so personal on my blog. My life is at a changing point, very saliently a point where the future is wide open and I get to decide where it should go. There are some other circumstances which I don&#8217;t feel like elaborating on, but let it be suffice to say that this has been on my mind somewhat recently.</p>
<p>I think it would surprising some people for them to know I consume a lot of porn. I actually remember the first time I saw anything indecent on the internet. I was probably only 10 at the time, and was trying to get on the search engine Infoseek. I had mistyped the URL, however, and typed in &#8220;ifoseek&#8221; instead, which turned out to be some porn site. Much later I would classify this as an instance of cybersquatting, but I didn&#8217;t know any of that at the time. I remember fighting the urge to go back, but eventually I succumbed, and the whole world of online pornography opened up for me. For a long time I was ashamed of it, but in the last few years that changed. It might partially be due to the fact that the Internet being filled with porn is just widely accepted, and as well as the fact that a lot of people watch porn. I think part of it also has to do with me taking a more rational trend in life, and I critically pondered the question of whether porn ever actually does anyone harm. I concluded that, aside from cases where the actors are forced to do it (most prominently, child pornography), there is no physical reason pornography is damaging. As for the whole moral degradation argument, if you were one of those people who were surprised that I watch porn, maybe you should rethink the argument that porn makes men objectify women.</p>
<p>But I don&#8217;t want to spend this post rebutting the negative affects of pornography. Instead, I want to give a more personal account of pornography, and what I have learned about myself from it. Regardless of it&#8217;s influence on morals, I do think pornography often depicts humans as (shall we say) animals. That is, the plot of a pornographic movie, if there is one at all, tends to portray people as thinking of nothing but sex. There is no consideration of time, money, possibility of getting caught (unless that&#8217;s what the director wanted). This past statement, of course, is something I couldn&#8217;t have said even 3 years ago. In the early days I didn&#8217;t really discriminate, and everything explicit on the web looked the same to me. As I grew up and learned and thought more, however, this trait of porn became clear to me. I must say that there are times when mindless sex is exactly what you&#8217;re looking for, but most of the time nowadays I&#8217;m looking for something else: a connection.</p>
<p>My real problem with porn is that the actors rarely show concern for each other. Although the act of sexual intercourse requires another person, it is safe to say that both characters are more often than not only concerned with their own desires. If the actress gave a blowjob, it&#8217;s not to please the buy, but because she &#8220;likes it&#8221;. If I may, it&#8217;s the difference between being a friend because it keeps you from feeling guilty, and being a friend because you truly care for their feelings. Sex in the real world, I would think, is more about the other person&#8217;s desire. Both people may be horny, but there is the desire to make the other person happy first. In porn, these acts of &#8220;giving&#8221; seem forced, and are there more to satisfy the /audience/ than the /partner/.</p>
<p>Instead, lately I&#8217;ve been more attracted to amateur pornography. I don&#8217;t mean what professional studios label as &#8220;amateurs, but actual home made videos. Often these are videos that couples have filmed of themselves, probably for their own entertainment later. Because the actors are real people (not fake characters) with feelings for each other, however, these videos depict much more intimate acts of love making. And that&#8217;s what I&#8217;m looking for: the sense that what is shown is not simply two animals copulating, but two humans with emotions and an intellect. What they are doing is an extension of their love, because even a piece of cloth between their bodies is too much to bare. It is, almost by definition, a private moment, and therefore I also feel somewhat guilty about it&#8217;s distribution and consumption. But again, it&#8217;s (mostly) a victimless thing.</p>
<p>Given that it&#8217;s rather easy to spot whether two people like each other, I&#8217;m surprised that not more professional porn is done depicting this connection. The most obvious clue, I think, are the actors hands. Are they clasped and fondling (gently), or are they there just to hold the other person in place? Is the brushing of the hair to see their face better, or to give the camera a better angle? The face, too, is a big area, just because we are so good at reading emotions. And then, of course, the big orgasm thing &#8211; is there any involuntary movement?</p>
<p> I think the fact that I think in this way says a lot more about me than the fact that I watch porn. One last thing&#8230; you may comment that I&#8217;m looking for intimacy in the wrong place. I know.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/justinnhli.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/justinnhli.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/justinnhli.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/justinnhli.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/justinnhli.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/justinnhli.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/justinnhli.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/justinnhli.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/justinnhli.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/justinnhli.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/justinnhli.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/justinnhli.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/justinnhli.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/justinnhli.wordpress.com/327/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justinnhli.wordpress.com&amp;blog=9182664&amp;post=327&amp;subd=justinnhli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://justinnhli.wordpress.com/2009/07/06/porn-and-intimacy/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/59bf62a08b851610d8f661f0b9aad044?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">justinnhli</media:title>
		</media:content>
	</item>
		<item>
		<title>Unique Identifiers</title>
		<link>http://justinnhli.wordpress.com/2009/06/29/unique-identifiers/</link>
		<comments>http://justinnhli.wordpress.com/2009/06/29/unique-identifiers/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 05:00:00 +0000</pubDate>
		<dc:creator>justinnhli</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://justinnhli.wordpress.com/2009/06/29/unique-identifiers</guid>
		<description><![CDATA[I was playing with Twitter search recently, and was curious who at Northwestern uses Twitter. My first instinct, of course, was to just search for &#8220;Northwestern University&#8221;, but it was quickly apparent that people who attend Northwestern don&#8217;t actually write &#8220;Northwestern&#8221;. Maybe this is due to the assumed common context of the tweeter and the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justinnhli.wordpress.com&amp;blog=9182664&amp;post=326&amp;subd=justinnhli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was playing with <a href="http://search.twitter.com/">Twitter search</a> recently, and was curious who at Northwestern uses Twitter.</p>
<p>My first instinct, of course, was to just search for &#8220;Northwestern University&#8221;, but it was quickly apparent that people who attend Northwestern don&#8217;t actually write &#8220;Northwestern&#8221;. Maybe this is due to the assumed common context of the tweeter and the audience (&#8220;<a href="http://en.wikipedia.org/wiki/Grounding_in_communication">grounding</a>&#8220;); the reader knows the tweeter is at Northwestern, and since conversations try to maximize bandwidth, what is common knowledge is left unsaid.</p>
<p>The question then becomes: what terms <i>would</i> people at Northwestern, and only people at Northwestern use? That is, what phrases are semantically associated with Northwestern?</p>
<p>There were only two that I could think of:
<ul>
<li>&#8220;Dillo Day&#8221;. It turns out that no other university in the world has a day in honor of armadillos (or whatever the reason NU actually has a Dillo Day). Of course, this only works when Dillo Day recently happened or is going to happen soon </li>
<li>Norbucks. This actually makes a lot of sense, since it&#8217;s a portmanteau of Norris (University center) and Starbucks. By itself, either word is common, but this combination makes it unique to Northwestern.</li>
</ul>
<p>Can you find any other phrases which are unique to Northwestern?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/justinnhli.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/justinnhli.wordpress.com/326/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/justinnhli.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/justinnhli.wordpress.com/326/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/justinnhli.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/justinnhli.wordpress.com/326/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/justinnhli.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/justinnhli.wordpress.com/326/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/justinnhli.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/justinnhli.wordpress.com/326/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/justinnhli.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/justinnhli.wordpress.com/326/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/justinnhli.wordpress.com/326/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/justinnhli.wordpress.com/326/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justinnhli.wordpress.com&amp;blog=9182664&amp;post=326&amp;subd=justinnhli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://justinnhli.wordpress.com/2009/06/29/unique-identifiers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/59bf62a08b851610d8f661f0b9aad044?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">justinnhli</media:title>
		</media:content>
	</item>
		<item>
		<title>Restless</title>
		<link>http://justinnhli.wordpress.com/2009/06/12/restless/</link>
		<comments>http://justinnhli.wordpress.com/2009/06/12/restless/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 17:57:00 +0000</pubDate>
		<dc:creator>justinnhli</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://justinnhli.wordpress.com/2009/06/12/restless</guid>
		<description><![CDATA[Although I only had one final this week, I had some grading to complete and a take-home to finish. In reality I didn&#8217;t have everything done until last night. And almost immediately, I felt tendrils of doubt creeping into my mind. What am I to do now? I am someone who needs things to do [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justinnhli.wordpress.com&amp;blog=9182664&amp;post=325&amp;subd=justinnhli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Although I only had one final this week, I had some grading to complete and a take-home to finish. In reality I didn&#8217;t have everything done until last night. And almost immediately, I felt tendrils of doubt creeping into my mind. What am I to do now?</p>
<p>I am someone who needs things to do to be satisfied. It can be school work, or being with friends, or sinking into a good book. The first I&#8217;m done with, by definition; the second I don&#8217;t have that many of; and the third I have a nagging feeling is not constructive enough. Paul Graham <a href="http://www.paulgraham.com/love.html">says of reading</a>, &#8220;Except for some books in math and the hard sciences, there&#8217;s no test of how well you&#8217;ve read a book, and that&#8217;s why merely reading books doesn&#8217;t quite feel like work. You have to do something with what you&#8217;ve read to feel productive.&#8221; That&#8217;s why I use <a href="http://www.bookdarts.com/">book darts</a>, to keep track of stories which I find inspiring and sentences of succinctly expressed great ideas. I write the quotes down afterwards, and they may eventually find themselves in blog posts &#8211; as the ones from Closing the American Mind <a href="http://justinnhli.blogspot.com/2009/05/thoughts-on-being-student.html">did</a>.</p>
<p>I&#8217;ve always thought that the greatest contribution of religion to personal life is that it gives people a purpose. I believe in creating that purpose myself instead of having it be prescribed, and so perhaps it&#8217;s strange that I don&#8217;t like free time. But I don&#8217;t think that&#8217;s a fair description of myself; it&#8217;s not that I don&#8217;t like free time, but the promise of more, better things to do in the future makes this period of relaxation boring. In two weeks I will be in LA, once again interacting with the smartest kids in the country and the world. In three months I will be in Ann Arbor, naively eager to contribute to the compendium of human knowledge. It is in comparison to these sights and sounds that this period of nothingness seems dull.</p>
<p>I was once asked whether I will miss Northwestern. As a rather <a href="http://justinnhli.blogspot.com/2009/02/rational-people.html">unemotional person</a>, I replied that I don&#8217;t think I will. &#8220;Missing&#8221; is not the right word to use. I am certainly sad to see friends depart, neither of us knowing when we&#8217;ll see each other next. I also know that I have fond memories of my time at Northwestern, and will sometimes reminiscence over them. But I believe I have a bright future, with the great opportunities for happiness (and disappointment as well, I suppose). The past has shaped who am I; now let me shape the future.</p>
<p>What I&#8217;m saying is that I would rather have graduation done with, then jump on to the next thing in my life, than to waste a week waiting for things to catch up to my enthusiasm.</p>
<p>I guess I&#8217;m an impatient person.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/justinnhli.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/justinnhli.wordpress.com/325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/justinnhli.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/justinnhli.wordpress.com/325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/justinnhli.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/justinnhli.wordpress.com/325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/justinnhli.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/justinnhli.wordpress.com/325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/justinnhli.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/justinnhli.wordpress.com/325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/justinnhli.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/justinnhli.wordpress.com/325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/justinnhli.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/justinnhli.wordpress.com/325/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justinnhli.wordpress.com&amp;blog=9182664&amp;post=325&amp;subd=justinnhli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://justinnhli.wordpress.com/2009/06/12/restless/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/59bf62a08b851610d8f661f0b9aad044?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">justinnhli</media:title>
		</media:content>
	</item>
		<item>
		<title>Pause</title>
		<link>http://justinnhli.wordpress.com/2009/06/03/pause/</link>
		<comments>http://justinnhli.wordpress.com/2009/06/03/pause/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 05:00:00 +0000</pubDate>
		<dc:creator>justinnhli</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://justinnhli.wordpress.com/2009/06/03/pause</guid>
		<description><![CDATA[Due to time constraints from class (heh) and social activities related to graduation, I will be taking a short break from blogging. I intend to return before the end of June. Keep it classy.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justinnhli.wordpress.com&amp;blog=9182664&amp;post=324&amp;subd=justinnhli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Due to time constraints from class (heh) and social activities related to graduation, I will be taking a short break from blogging. I intend to return before the end of June.</p>
<p>Keep it classy.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/justinnhli.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/justinnhli.wordpress.com/324/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/justinnhli.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/justinnhli.wordpress.com/324/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/justinnhli.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/justinnhli.wordpress.com/324/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/justinnhli.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/justinnhli.wordpress.com/324/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/justinnhli.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/justinnhli.wordpress.com/324/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/justinnhli.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/justinnhli.wordpress.com/324/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/justinnhli.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/justinnhli.wordpress.com/324/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justinnhli.wordpress.com&amp;blog=9182664&amp;post=324&amp;subd=justinnhli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://justinnhli.wordpress.com/2009/06/03/pause/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/59bf62a08b851610d8f661f0b9aad044?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">justinnhli</media:title>
		</media:content>
	</item>
		<item>
		<title>Inebriated, v2.</title>
		<link>http://justinnhli.wordpress.com/2009/06/01/inebriated-v2/</link>
		<comments>http://justinnhli.wordpress.com/2009/06/01/inebriated-v2/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 03:52:00 +0000</pubDate>
		<dc:creator>justinnhli</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://justinnhli.wordpress.com/2009/06/01/inebriated-v2</guid>
		<description><![CDATA[As Faye so aptly put it, I am once again inebriated. But I&#8217;m close to graduating, so it&#8217;s my excuse to loosen up a bit. I will post the answer to last week&#8217;s question, as well as a new question, tomorrow at midnight.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justinnhli.wordpress.com&amp;blog=9182664&amp;post=323&amp;subd=justinnhli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As Faye <a href="http://justinnhli.blogspot.com/2009/05/drunk.html?showComment=1243445377586#c1698864145273924351">so aptly put it</a>, I am once again inebriated. But I&#8217;m close to graduating, so it&#8217;s my excuse to loosen up a bit. I will post the answer to last week&#8217;s question, as well as a new question, tomorrow at midnight.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/justinnhli.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/justinnhli.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/justinnhli.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/justinnhli.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/justinnhli.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/justinnhli.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/justinnhli.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/justinnhli.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/justinnhli.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/justinnhli.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/justinnhli.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/justinnhli.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/justinnhli.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/justinnhli.wordpress.com/323/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justinnhli.wordpress.com&amp;blog=9182664&amp;post=323&amp;subd=justinnhli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://justinnhli.wordpress.com/2009/06/01/inebriated-v2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/59bf62a08b851610d8f661f0b9aad044?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">justinnhli</media:title>
		</media:content>
	</item>
		<item>
		<title>Thoughts on Being a Student</title>
		<link>http://justinnhli.wordpress.com/2009/05/29/thoughts-on-being-a-student/</link>
		<comments>http://justinnhli.wordpress.com/2009/05/29/thoughts-on-being-a-student/#comments</comments>
		<pubDate>Fri, 29 May 2009 05:00:00 +0000</pubDate>
		<dc:creator>justinnhli</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://justinnhli.wordpress.com/2009/05/29/thoughts-on-being-a-student</guid>
		<description><![CDATA[I recently read the first few chapters of The Closing of the American Mind, by Allen Bloom. I didn&#8217;t finish it &#8211; while the content was interesting, I find Bloom taking too long to get to a point &#8211; but be that as it may, I would like to first offer a summary of what [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justinnhli.wordpress.com&amp;blog=9182664&amp;post=322&amp;subd=justinnhli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently read the first few chapters of The Closing of the American Mind, by Allen Bloom. I didn&#8217;t finish it &#8211; while the content was interesting, I find Bloom taking too long to get to a point &#8211; but be that as it may, I would like to first offer a summary of what I think Bloom&#8217;s point is, before offering some thoughts.</p>
<p>Bloom&#8217;s basic thesis is that the modern drive for openness and tolerance takes away the individuality of cultures and of people. By asking students to be open to different ideas, everything becomes relative to students, and therefore unimportant. They are equally passionate &#8211; or rather, equally dispassionate &#8211; about everything. They do not argue for a way of life, and do not see things above money, happiness, and life. In Bloom&#8217;s words, &#8220;they do not drink the spirit of life, but prefer the water of the crowd.&#8221;</p>
<p>Bloom&#8217;s explanation of this is the lost of the classics: people are not reading great books anymore, and therefore do not experience, through the characters in the book, what it means to sacrifice their lives for a cause, or to struggle through truly difficult circumstances. They do not have anymore what Bloom calls &#8220;wisdom&#8221;. The Bible is one of Bloom&#8217;s classics, and he writes,<br />
<blockquote>&#8220;With [the Bible's] gradual and inevitable disappearance, the very idea of such a total book and the possibility and necessity of world-explanation is disappearing. And fathers and mothers have lost the idea that the highest aspiration they might have for their children is for them to be wise &#8211; as priests, prophets, or philosophers are wise. Specialized competence and success are all that they can imagine. Contrary to what is commonly thought, without the book even the idea of the order of the whole is lost.&#8221;</p></blockquote>
<p>Personally, I&#8217;m not convinced that students are truly lost without the classics. I do, however, agree with Bloom&#8217;s general belief that today&#8217;s students are lacking <i>something</i>. I&#8217;m not sure there&#8217;s a word for it, but it encompasses the desire to keep learning, the desire to be convinced of something and to work to proof or defend that conviction. Bloom uses this anecdote to illustrate what students are missing, and how modern education are failing to help students regain that drive:<br />
<blockquote>I once had a debate about education with a professor of psychology. He said that it was his function to get rid of prejudices in his students. [...] I began to wonder what he replaced those prejudices with. He did not seem to have much of an idea of what the opposite of a prejudice might be. [...] Did this professor know what those prejudices meant for the students and what effect being deprived of them would have? Did he believe that there are truths that could guide their lives as did their prejudices? Had he considered how to give students the love of the truth necessary to seek unprejudiced beliefs, or would he render them passive, disconsolate, indifferent, and subject to authorities like himself, or the best of contemporary thought? </p></blockquote>
<p>After reading this story I was reminded of <a href="http://catb.org/jargon/html/koans.html#id3141241">an AI koan</a> in the <a href="http://catb.org/jargon/">Jargon File</a>:<br />
<blockquote><a href="http://draft.blogger.com/post-edit.g?blogID=4344360081238823955&amp;postID=242320068537223600" id="id3141241">In the days when [Gerald Jay] Sussman was a novice, [Marvin] Minsky once came to him as he sathacking at the PDP-6.</a><br /><a href="http://draft.blogger.com/post-edit.g?blogID=4344360081238823955&amp;postID=242320068537223600" id="id3141241">“What are you doing?”, asked Minsky.</a><br /><a href="http://draft.blogger.com/post-edit.g?blogID=4344360081238823955&amp;postID=242320068537223600" id="id3141241">“I am training a randomly wired neural net to playTic-Tac-Toe” Sussman replied.</a><br /><a href="http://draft.blogger.com/post-edit.g?blogID=4344360081238823955&amp;postID=242320068537223600" id="id3141241">“Why is the net wired randomly?”, asked Minsky.</a><br /><a href="http://draft.blogger.com/post-edit.g?blogID=4344360081238823955&amp;postID=242320068537223600" id="id3141241">“I do not want it to have any preconceptions of how toplay”, Sussman said.</a><br /><a href="http://draft.blogger.com/post-edit.g?blogID=4344360081238823955&amp;postID=242320068537223600" id="id3141241">Minsky then shut his eyes.</a><br /><a href="http://draft.blogger.com/post-edit.g?blogID=4344360081238823955&amp;postID=242320068537223600" id="id3141241">“Why do you close your eyes?”, Sussman asked histeacher.</a><br /><a href="http://draft.blogger.com/post-edit.g?blogID=4344360081238823955&amp;postID=242320068537223600" id="id3141241">“So that the room will be empty.”</a><br /><a href="http://draft.blogger.com/post-edit.g?blogID=4344360081238823955&amp;postID=242320068537223600" id="id3141241">At that moment, Sussman was enlightened.</a></p></blockquote>
<p>The moral of this story is that randomized preconceptions are not the lack of preconceptions. You just don&#8217;t know what they are. The psychology professor is doing much the same thing. Simply by getting rid of what prejudices the students have which the professor can detect, doesn&#8217;t mean that the students don&#8217;t have any prejudices left. Worse, now no one knows what those prejudices are, and cannot act to instill a more useful set of beliefs. In computer science terms, the goal of initializing a neural network is not to get rid of any &#8220;preconceptions&#8221;, but to give it the best &#8220;preconceptions&#8221; for the the neural net to start learning with. </p>
<p>Students, following only the common and mundane goals of money, fame, &#8220;success&#8221;, are missing out from the greater enjoyment of life. Too few, and very often far too late, realize that they <a href="http://justinnhli.blogspot.com/2008/02/how-to-do-what-you-love.html">don&#8217;t like what they&#8217;re doing</a>. &#8220;The most common student view lacks an awareness of the depths as well as the heights, and hence lacks gravity.&#8221; There needs to be some energy, some driving force, whether from the reading of the classics or from some other source to propel students above hoi polloi. Bloom at one point called this &#8220;indignation&#8221;. &#8220;Indignation is the soul&#8217;s defense against the wound of doubt about itsown; it reorders the cosmos to support the justice of its cause. Itjustifies putting Socrates to death. Recognizing indignation for whatit is constitute knowledge of the soul, and is thus an experience morephilosophic than the study of mathematics.&#8221;</p>
<p>But what can schools and universities do? &#8220;Education in our times must try to find whatever there is in students that might yearn for completion, and to reconstruct the learning that would enable them autonomously to see that completion.&#8221;</p>
<p>My favorite quote in the book simultaneously points out the problem and the solution: </p>
<blockquote><p>The only way to counteract this tendency [that the here and now is all there is] is to intervene most vigorously in the education of those few who come to the university with a strong urge for the <i>un je ne sais quoi</i>, who fear that they may fail to discover it, and that the cultivation of their minds is required for the success of their quest. We are long past the age when a whole tradition could be stored up in all students, to be fruitfully used later by some. Only those who are willing to take risks and are ready to believe the implausible are now fit for a bookish adventure. The desire must come from within.</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/justinnhli.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/justinnhli.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/justinnhli.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/justinnhli.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/justinnhli.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/justinnhli.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/justinnhli.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/justinnhli.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/justinnhli.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/justinnhli.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/justinnhli.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/justinnhli.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/justinnhli.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/justinnhli.wordpress.com/322/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justinnhli.wordpress.com&amp;blog=9182664&amp;post=322&amp;subd=justinnhli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://justinnhli.wordpress.com/2009/05/29/thoughts-on-being-a-student/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/59bf62a08b851610d8f661f0b9aad044?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">justinnhli</media:title>
		</media:content>
	</item>
		<item>
		<title>Drunk</title>
		<link>http://justinnhli.wordpress.com/2009/05/27/drunk/</link>
		<comments>http://justinnhli.wordpress.com/2009/05/27/drunk/#comments</comments>
		<pubDate>Wed, 27 May 2009 05:00:00 +0000</pubDate>
		<dc:creator>justinnhli</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://justinnhli.wordpress.com/2009/05/27/drunk</guid>
		<description><![CDATA[I have too much wine in me to properly write a post, so I&#8217;ll postpone that to some other time. Thanks for understanding.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justinnhli.wordpress.com&amp;blog=9182664&amp;post=320&amp;subd=justinnhli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have too much wine in me to properly write a post, so I&#8217;ll postpone that to some other time. Thanks for understanding.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/justinnhli.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/justinnhli.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/justinnhli.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/justinnhli.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/justinnhli.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/justinnhli.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/justinnhli.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/justinnhli.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/justinnhli.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/justinnhli.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/justinnhli.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/justinnhli.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/justinnhli.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/justinnhli.wordpress.com/320/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justinnhli.wordpress.com&amp;blog=9182664&amp;post=320&amp;subd=justinnhli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://justinnhli.wordpress.com/2009/05/27/drunk/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/59bf62a08b851610d8f661f0b9aad044?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">justinnhli</media:title>
		</media:content>
	</item>
		<item>
		<title>Eliza the Psychologist</title>
		<link>http://justinnhli.wordpress.com/2009/05/25/eliza-the-psychologist/</link>
		<comments>http://justinnhli.wordpress.com/2009/05/25/eliza-the-psychologist/#comments</comments>
		<pubDate>Mon, 25 May 2009 05:00:00 +0000</pubDate>
		<dc:creator>justinnhli</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://justinnhli.wordpress.com/2009/05/25/eliza-the-psychologist</guid>
		<description><![CDATA[Last week&#8217;s question: Why do children like playing on swings and slides? You know, even after spending some time looking on Google, I couldn&#8217;t find a satisfactory answer to this question. If I may, however, I would like to propose the following partial solutions: Swings and slides both offer the kid motion, and it&#8217;s faster [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justinnhli.wordpress.com&amp;blog=9182664&amp;post=319&amp;subd=justinnhli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Last week&#8217;s question: Why do children like playing on swings and slides?</p>
<p>You know, even after spending some time looking on Google, I couldn&#8217;t find a satisfactory answer to this question. If I may, however, I would like to propose the following partial solutions:
<ul>
<li>Swings and slides both offer the kid motion, and it&#8217;s faster motion than they at that age can acheive themselves. So it offers a novel sensation for the children.</li>
<li>Along similar veins, at least the slide offers a new tactile experience as well. I can&#8217;t think of that much else where you can feel solid material sliding underneath your fingers.</li>
<li>Slides and swings are usually located in playgrounds, where lots of children gather. The opportunity to play with other children form the last part of the appeal.</li>
</ul>
<p>Some adults (like me!) still go and play on slides and swings, and personally I think it&#8217;s for much the same reason. Of course, as herion_e <a href="http://justinnhli.blogspot.com/2009/05/swinger-party.html#c4447424143984291679">pointed out</a>, there&#8217;s also the nostalgia for us, too. </p>
<p>Building on the last point above, this week&#8217;s question is: why do humans have social needs?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/justinnhli.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/justinnhli.wordpress.com/319/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/justinnhli.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/justinnhli.wordpress.com/319/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/justinnhli.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/justinnhli.wordpress.com/319/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/justinnhli.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/justinnhli.wordpress.com/319/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/justinnhli.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/justinnhli.wordpress.com/319/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/justinnhli.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/justinnhli.wordpress.com/319/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/justinnhli.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/justinnhli.wordpress.com/319/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justinnhli.wordpress.com&amp;blog=9182664&amp;post=319&amp;subd=justinnhli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://justinnhli.wordpress.com/2009/05/25/eliza-the-psychologist/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/59bf62a08b851610d8f661f0b9aad044?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">justinnhli</media:title>
		</media:content>
	</item>
		<item>
		<title>Python Bashing</title>
		<link>http://justinnhli.wordpress.com/2009/05/22/python-bashing/</link>
		<comments>http://justinnhli.wordpress.com/2009/05/22/python-bashing/#comments</comments>
		<pubDate>Fri, 22 May 2009 05:00:00 +0000</pubDate>
		<dc:creator>justinnhli</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://justinnhli.wordpress.com/2009/05/22/python-bashing</guid>
		<description><![CDATA[As a computer science major, it is not surprising that I write a lot of small programs every day. From simple things like modifying some text input in some way (a chain of sed&#8217;s), to writing my alarm clock, a twitter backup, and an ISBN converter. My journal search tool was written by myself, and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justinnhli.wordpress.com&amp;blog=9182664&amp;post=318&amp;subd=justinnhli&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As a computer science major, it is not surprising that I write a lot of small programs every day. From simple things like modifying some text input in some way (a chain of sed&#8217;s), to writing my alarm clock, a twitter backup, and an ISBN converter. My journal search tool was written by myself, and that goes back quite a ways.</p>
<p>All of the programs mentioned above, however, are Bash scripts.</p>
<p>I&#8217;m actually a little sheepish about this. After all, Bash is not a real programming language, but just a way to automate a few administrative operations. There is no type system, no support libraries, no object oriented utilities.</p>
<p>I&#8217;ve thought about doing more things in python, but somehow there&#8217;s a barrier to entry to it. I reasoned that since what I do is mostly with text, it&#8217;s easier to read from files in Bash than in python (a single cat as opposed to open().read()). But really that shouldn&#8217;t be a problem. The output might be an issue too, if I wanted things in nice columns and what not. But then instead of column or paste I would just be using printf or equivalent.</p>
<p>I was digging around Paul Graham&#8217;s older essays, and I came across his one titled &#8220;<a href="http://www.paulgraham.com/popular.html">Being Popular</a>&#8220;. It&#8217;s about what he things makes programming languages popular. Most of the attributes in the essay don&#8217;t describe the Bash script very well, except for the section on Throwaway Programs. And that, I think, is exactly why I use Bash scripts so often.</p>
<p>Because I&#8217;m using Linux, a lot of my operations are done on the command line. I don&#8217;t just mean the crazy programmer things like compiling or system administration, but I mean every day things like moving files, writing essays, even reading a book. My volume control, in fact, is also a command line program (alsamixer; although now I have a keyboard shortcut for that and I rarely actually open alsamixer). Given that I&#8217;m in a terminal so often, Bash is practically always open for me.</p>
<p>It is precisely this always available attribute which makes me use Bash. As Graham mentioned, I don&#8217;t want to write something, then wait for it to compile, then run it to see if it works. Bash works as an interactive prompt, and I can type the whole program in &#8220;one line&#8221; and just run that. More that that, I can test things a lot quicker in Bash than I can in C or Java. Just open a new terminal (Ctrl-N) and I have a clean slate to test if a certain line of my program does what it wants. Python, of course, is also interactive, but it is unfortunately not as easily accessible from the desktop. I have to type a full 7 keys (P-Y-T-H-O-N-(enter)) to get to the interactive shell, and this slows down the entire process.</p>
<p>So until someone manages to use python as their main shell, I&#8217;m sticking with Bash.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/justinnhli.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/justinnhli.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/justinnhli.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/justinnhli.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/justinnhli.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/justinnhli.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/justinnhli.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/justinnhli.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/justinnhli.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/justinnhli.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/justinnhli.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/justinnhli.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/justinnhli.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/justinnhli.wordpress.com/318/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=justinnhli.wordpress.com&amp;blog=9182664&amp;post=318&amp;subd=justinnhli&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://justinnhli.wordpress.com/2009/05/22/python-bashing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/59bf62a08b851610d8f661f0b9aad044?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">justinnhli</media:title>
		</media:content>
	</item>
	</channel>
</rss>
