Object-Oriented Programming Requires Good Epistemology

Posted by Scott Hughes Wed, 19 Apr 2006 02:29:00 GMT

When I first started reading about the Objectivist theory of concept-formation, I got really interested in the possible crossover between people who actively practice good mental integration and the folks who enjoy designing a polished object-oriented (OO) API. Building a new concept by finding the commonalities between a couple of referrents and omitting the specific measurements is exactly the kind of exercise an object-oriented programmer is very familiar with. The measurement-omission step of concept-formation is identical to the process used by an OO programmer to identify the necessary “instance variables” of a given class. A good OO programmer is going to practice the same principles of unit-economy that makes real-world concepts useful, so that we can integrate an unlimited amount of data using a finite amount of symbols.

Any actual OO compiler is going to limit your expressiveness to only very simple forms of composition and inheritance, which is unfortunate in that you’ll hit roadblocks often when trying to model real-world relationships… But also very fortunate in that it saves me a lot of typing. So I wouldn’t say that an OO programmer could breeze through an epistemology book, though he would have a good head start.

It does seem to me that it would be easy to get an Objectivist doing OO design. If they were missing a background in math and algorithms, it might be tough to get them writing real code but they could still likely handle a high-level OO Architect position. This idea has held up pretty well given the high number of computer scientists you meet at Objectivist gatherings. Most of my close friends who are Objectivists (including my wife) are also programmers. I suppose that ratio is weighted since I will tend toward making friends who are smart and work in a similar field.

As a corollary, I found out (thanks to Harry Binswanger’s wonderful mailing list) that Grady Booch, chief scientist at Rational Software and co-creator of the Unified Modeling Language (UML), actually cites Ayn Rand’s Introduction to Objectivist Epistemology in his book Object-Oriented Analysis and Design. I don’t know to what extent Rand was an influence (I’d assume it’s possible that both Rand and Booch were equally influenced by Aristotle, et al, on the theories of categories/classification), but it’s interesting to see another computer scientist (a well-known one even) credit the Objectivist theory of epistemology.

Posted in  | Tags , , ,  | no comments

Chaiyya Chaiyya

Posted by Scott Hughes Fri, 14 Apr 2006 16:56:00 GMT

A few weeks ago, I made a post to my delicious page referring to the Chaiyya Chaiyya song and dance routine from the Bollywood film Dil Se. Since then, I see at least 20 hits a day from google looking for information on Chaiyya Chaiyya. Since the post to delicious quickly scrolled off my sidebar (which only shows the most recent items), I’d thought I’d post it here for all to see.

I discovered the song (like many recent fans) through the recent film The Inside Man. It was the opening song, with a closing version that included some rap from Panjabi MC (whom I also enjoy). The song is immediately infectious. I was searching for more information about it and I discovered the full video on Google Video. It’s an amazing routine performed completely on top of a moving train. I’m not sure what safety measures they had in place, but those dancers sure look brave to me.

According to my friend Chowdary, Chaiyya means shadow. The fella in the red jacket is living in the shadow of love, as he’s obsessed with a beautiful woman. I got some of the song translated, but it kind of takes away from the magic without the lyrical poetry. He assures me that the lyrics are consistent with the video: a very uplifting example of romantic art.

Spoiler alert: Apparently, the girl the guy is in love with is a terrorist bomber. What a bummer…

Read more...

Posted in  | Tags , , , ,  | 2 comments

Immigration

Posted by Scott Hughes Thu, 13 Apr 2006 04:16:00 GMT

Since I was away on vacation, I missed some of the details about these local protests (rallies?) against this latest immigration bill. I suppose the big issue is the provision to make it a felony act to be in the country without the proper paperwork. And I have to agree with the protesters: It is ridiculous to consider hard-working “Americans-in-spirit” as felons… And I’m more scared than anybody else when it comes to the idea of putting up a Berlin Wall between the US and Mexico. I’ve always been a supporter of open immigration, but thanks to Harry Binswanger, there’s now a good paper in defense of open immigration covering all of the important points. For example, on the claim that open immigration would cause overcrowding:

Take an extreme example. Suppose a tidal wave of immigrants came here. Suppose that half of the people on the planet moved here. That would mean an unthinkable eleven-fold increase in our population–from 300 million to 3.3 billion people. That would make America almost as “densely” populated as today’s England (360 people/sq. km. vs. 384 people/sq. km.). In fact, it would make us less densely populated than the state of New Jersey (453 per sq. km.). And these calculations exclude Alaska, Hawaii, and counts only land area.

And contrary to widespread beliefs, high population density is a value not a disvalue. High population density intensifies the division of labor, which makes possible a wider variety of jobs and specialized consumer products. For instance, in Manhattan, there is a “doll hospital”–a store specializing in the repair of children’s dolls. Such a store and the many specialized, niche businesses require a high population density to have a market. Try finding a doll hospital in Poughkeepsie. In Manhattan, one can find a job as a Pilates Method teacher or as a “Secret Shopper” (2 jobs actually listed on Craig’s List). Not in Paducah.

I know that I, for one, would love to be able to afford to move into an even denser part of downtown Dallas than where I currently live… But more importantly, I welcome hard-working, freedom-loving individuals of any nationality (regardless of their paperwork status) to live in my neighborhood.

Posted in  | Tags , ,  | 2 comments

Winter Park 2006

Posted by Scott Hughes Wed, 12 Apr 2006 18:23:00 GMT

From April 5th thru April 10th, Erik and I joined the North Texas Skiers on their trip to Winter Park, CO. The trip is a pretty good deal, costing only $339 for 4 nights lodging (dinner and breakfast buffet included) and transportation (on a sleeper bus). Just like for our Snowbird trip earlier this year, I wrote a short novel describing all of the major events I want to remember. If you have a lot of spare time and don’t mind my below-average narration skills, you can read my full ski log for Winter Park. Honestly, you can just skip that and get all the important stuff from my pictures.

The best part about skiing with the North Texas Skiers was all the great advice we got. Some of the skiers on the trip had about 30 years of ski experience on us, so they had a lot of advice to pass on.

  • James coached us with the same tips he’d gotten from a recent mogul lesson. Improved my edging remarkably.
  • Joe told us about “pivot turns” and how to use them to keep out of the crud. He also convinced me that I need to get an edge sharpener, even for my rental skis.
  • Patti convinced me to try skiboards (the short skis, used without poles) on my next trip. She claims that it’s much easier for her to do harder runs with them.
  • Richard sold me on the importance of having a custom boot insole made for better ski stability. If you don’t have an even foot pressure on the bottom of your boot, you are creating pivot points for the ski to wiggle underneath you.

Despite a pretty rough bus ride (in both directions), it was a fun trip. We ended up with 8 inches of fresh powder on our second day, so you can’t complain about the skiing. I’ll likely just try the shorter bus runs next year (Taos is only 9 hours) and see how that works out for us.

Posted in ,  | Tags , , , ,  | no comments

Trackback Spam

Posted by Scott Hughes Tue, 04 Apr 2006 23:21:00 GMT

Ever since my last post, where I made mention of trackback spam, I have been targetted by “trackback spammers”. I was getting about 10-20 trackbacks a day since posting it. I just went through and disabled trackbacks on all my posts (UPDATE contents SET contents.allow_pings=’0’ WHERE type=’Article’).

It looks like, though I can’t be certain, they were using Ruby to post the trackbacks. I say that only because I saw some early ones that had descriptions like “Testing from Ruby”. I guess a rubyist might have wanted to make a point to me about how you can’t identify the source of trackback spam, so maybe my earlier complaint was misdirected. It’s probably lucky for me that Ruby doesn’t scale well, or else I could have had hundreds of thousands of trackback spam posts from that fella!

Trackbacks in general are probably just adding noise to the web. If good indexers like Google and Technorati can tell me when one blog links to another blog, why do I need to advertise who’s linking on the particular post page? I guess I’ll just leave it disabled until I can think of some use for it. Perhaps replace the trackback link with a direct link to the Technorati cosmos for a particular page (not that my cosmos on Technorati is any less barren than actual space).

Posted in  | Tags ,  | no comments