Archive for April, 2008

Understanding an Explanation

Wednesday, April 30th, 2008

In a previous post, I described the joy I derive from crystallizing the model of a system. This joy is described lightheartedly in Neal Stephenson’s novel, Cryptonomicon:

For each stop…there was a separate row of pipes, arranged in a line from long to short. Long pipes made low notes, short high. The tops of the pipes defined a graph: not a straight line but an upward-tending curve. The organist/math teacher sat down with a few loose pipes, a pencil, and paper and helped Lawrence figure out why. When Lawrence understood, it was as if the math teacher had suddenly played the good part of Bach’s Fantasia and Fugue in G Minor on a pipe organ the size of the Spiral Nebula in Andromeda…In particular, the final steps of the organist’s explanation were like a falcon’s dive through layer after layer of pretense and illusion, thrilling or sickening or confusing depending on what you were. The heavens were riven open. Lawrence glimpsed choirs of angels ranking off into geometrical infinity.

In Defense of Mark Twain’s Adventures of Huckleberry Finn

Monday, April 28th, 2008

A friend of mine reacted with some surprise when I told him of my love for the novel, Adventures of Huckleberry Finn, by Mark Twain. Apparently, some people simply can’t get past the fact that it uses the N word numerous times. Or, they are afraid that others will start using the word after reading the book. In my opinion, only a very simple mind would draw the wrong conclusion, from reading this novel, that the N word is perfectly acceptable to use in casual modern conversation. One beautiful aspect of the novel is that its language and style renders it inaccessible to such simple minds. Unfortunately, the novel has frequently been banned for its use of offensive language.

The use of the N word is perfectly justified by the author’s desire to express accurately the colloquial language of a certain time and place. Never does the narrator himself use offensive language—only realistic characters do. This raises another beautiful aspect of the novel: it captures the bittersweet entirety of provincial Mississippi River life, conveying its pastoral charm without glossing over the horrible injustices of slavery and racism.

It has been said that in every good novel, the protagonist undergoes a change or transformation. What makes Adventures of Huckleberry Finn truly great is the profound transformation its protagonist undergoes. Huck uses reasoning and his personal moral compass to shatter his own indoctrination in the institutional racism of the 19th-century South. The critical passages are copied below.

And at last, when it hit me all of a sudden that here was the plain hand of Providence slapping me in the face and letting me know my wickedness was being watched all the time from up there in heaven, whilst I was stealing a poor old woman’s ni**er that hadn’t ever done me no harm, and now was showing me there’s One that’s always on the lookout, and ain’t a-going to allow no such miserable doings to go only just so fur and no further, I most dropped in my tracks I was so scared. Well, I tried the best I could to kinder soften it up somehow for myself by saying I was brung up wicked, and so I warn’t so much to blame; but something inside of me kept saying, “There was the Sunday-school, you could a gone to it; and if you’d a done it they’d a learnt you there that people that acts as I’d been acting about that ni**er goes to everlasting fire.”

It made me shiver. And I about made up my mind to pray, and see if I couldn’t try to quit being the kind of a boy I was and be better. So I kneeled down. But the words wouldn’t come. Why wouldn’t they? It warn’t no use to try and hide it from Him. Nor from me, neither. I knowed very well why they wouldn’t come. It was because my heart warn’t right; it was because I warn’t square; it was because I was playing double. I was letting on to give up sin, but away inside of me I was holding on to the biggest one of all. I was trying to make my mouth say I would do the right thing and the clean thing, and go and write to that ni**er’s owner and tell where he was; but deep down in me I knowed it was a lie, and He knowed it. You can’t pray a lie — I found that out.

So I was full of trouble, full as I could be; and didn’t know what to do. At last I had an idea; and I says, I’ll go and write the letter — and then see if I can pray. Why, it was astonishing, the way I felt as light as a feather right straight off, and my troubles all gone. So I got a piece of paper and a pencil, all glad and excited, and set down and wrote:

Miss Watson, your runaway ni**er Jim is down here two mile below Pikesville, and Mr. Phelps has got him and he will give him up for the reward if you send.

HUCK FINN.

I felt good and all washed clean of sin for the first time I had ever felt so in my life, and I knowed I could pray now. But I didn’t do it straight off, but laid the paper down and set there thinking — thinking how good it was all this happened so, and how near I come to being lost and going to hell. And went on thinking. And got to thinking over our trip down the river; and I see Jim before me all the time: in the day and in the night-time, sometimes moonlight, sometimes storms, and we a-floating along, talking and singing and laughing. But somehow I couldn’t seem to strike no places to harden me against him, but only the other kind. I’d see him standing my watch on top of his’n, ’stead of calling me, so I could go on sleeping; and see him how glad he was when I come back out of the fog; and when I come to him again in the swamp, up there where the feud was; and such-like times; and would always call me honey, and pet me and do everything he could think of for me, and how good he always was; and at last I struck the time I saved him by telling the men we had small-pox aboard, and he was so grateful, and said I was the best friend old Jim ever had in the world, and the only one he’s got now; and then I happened to look around and see that paper.

It was a close place. I took it up, and held it in my hand. I was a-trembling, because I’d got to decide, forever, betwixt two things, and I knowed it. I studied a minute, sort of holding my breath, and then says to myself:

“All right, then, I’ll go to hell” — and tore it up.

It was awful thoughts and awful words, but they was said. And I let them stay said; and never thought no more about reforming. I shoved the whole thing out of my head, and said I would take up wickedness again, which was in my line, being brung up to it, and the other warn’t. And for a starter I would go to work and steal Jim out of slavery again; and if I could think up anything worse, I would do that, too; because as long as I was in, and in for good, I might as well go the whole hog.

These words give me goosebumps and bring tears to my eyes. Huck is initially shown as a product of his environment, possessing both pastoral charm and racism in his personality. At this critical juncture, he makes the right choice in his heart, evacuating his prejudice with relief like a difficult bowel movement. No doubt there is much injustice left to remedy in Huck’s world, but it must start with the change of heart and mind spelled out here. In this passage, Twain shows that nurture, religion, ignorance, and poverty are poor excuses for prejudice, while honest soul-searching is sufficient to cure it.

I like to think that Twain’s portrayal of historical Mississippi River life has the power to lure modern-day white supremacists to a similar transformation. They may long for the good old days of slavery, or react with glee at language considered offensive today. This passage gives me hope that their hearts and minds might be changed for the better.

Tags

Wednesday, April 23rd, 2008

A key aspect of Web 2.0 is tagging, the ability of people to assign keywords to web resources, be they del.icio.us favorites, Flickr photographs, blog entries, or YouTube videos. Tagging facilitates personal indexing, for retrieval of items based on a word with a familiar relationship. Tagging also facilitates group or social indexing, letting me retrieve items based on what others believe a word is related to.

One limitation of tags is that they are single words only. If I want to tag something “semantic web” then I must either assign two separate tags or assign a compound tag like “semantic-web,” “SemanticWeb,” or “semantic_web”. When using the tag, I must remember the specific compound tag. Otherwise, I am likely to retrieve the union of items tagged “semantic” with items tagged “web”.

del.icio.us provides recommended tags based on how others have tagged a URL. This is helpful both as a voting mechanism (I agree that the tag applies) as well as providing me insight into how large numbers of others perceive the URL.

By using both mechanisms, I have ended up with a large number of tags in del.icio.us. It then becomes tempting to “consolidate” some of my tags which seem to differ only superficially (e.g. in capitalization or “www” vs. “web”). It also becomes tempting to eliminate some tags that I chose because they were recommended, but which still are not meaningful or helpful to me.

It also becomes tempting to organize tags into hierarchies, like “domestic,” and “international,” as sub-tags under “travel”.

These are issues of knowledge representation. Experts in artificial intelligence have grappled with them for thirty years or more. It seems an unfortunate failure of that field that a solution is not well-known. However, it is interesting to see them play out and be addressed on a massive and public scale.

What Motivates People?

Tuesday, April 22nd, 2008

The promise of accumulating certain things, and the threat of losing those things seems to spur people to action:

  • Money
  • Status
  • Respect
  • Fame
  • Power (more specifically, entitlement over the fate of resources and people)
  • Relationships
  • A feeling of accomplishment, of having made a difference
  • Moral superiority, being proven good
  • Being proven right, being able to say “I told you so.”
  • Unique, special contribution

Bhagawad-Geetaa 2.40

Monday, April 21st, 2008

नेहाभिक्रमनाशोस्ति प्रत्यवायो न विद्यते |
स्वल्पमप्यस्यधर्मस्य त्रायते महतो भयात ||४०||

Translation

Here there is no destruction of effort; harmful effects do not occur
Even a little of this dharma delivers [one] from great fear

Interpretation

Your efforts in this practice cannot be reversed. It produces no harmful effects.
Even a little of this practice saves you from great fear.

Commentary

This verse promises the following:

  • there is such a thing as a small incremental effort in pursuit of this yoga,
  • there are immediate benefits,
  • the benefits are permanent, and
  • there are no unexpected harmful side effects.

This should be contrasted with any practice in which

  • a large and difficult effort is required for benefits to be realized,
  • mistakes are costly, and
  • earned benefits can later be taken away.

Indeed, the practice of warfare itself has these defects, so the promises are distinctly appealing to Arjuna in his context. In his commentary on this verse, Swami Chinmayananda refers to Krishna tongue-in-cheek as a “publicity agent for his own philosophy” and referring to the problems in the prospect’s current context is certainly good salesmanship.

I am reminded of this verse whenever I come across “good” habits. The best habits are those that create monotonically increasing and permanent benefits. Certain practices lack dynamic equilibrium, meaning that perfect execution is beneficial but small variations in their execution may lead to failure and/or harm. The best habits possess dynamic equilibrium: small variations in their practice produce little or no variation in their benefits, and these variations lead us toward superior practice.

Company Success

Thursday, April 17th, 2008

John Schiech, President of DeWalt was asked what made his company so successful. His answer:

It’s engineers and marketing product managers spending hours and hours on job sites talking to the guys who are trying to make their living with these tools.

pennsylvania home heating oil prices test