More programmer nerdism

hackdiary: “Using an RDF representation of Wordnet, the lexical database of English, we attach keywords to photographs to indicate what they objects they depict. With simple inference logic, we create improved search engines over this data. For example, using the hypernym information in Wordnet to extrapolate from keywords, a search for buildings can find hotels, churches, houses and other related photographs. We can automatically build a Yahoo-like hierarchical web site of photographs organised by the meaning of their keywords.” Okay, this is really cool.

Bedtime reading

Tonight I cozied up with the first two chapters of Dive Into Python and also got PyTechnorati working. This is a lead-up to installing TechnoBot, which is written in Python.

[Warning: serious programmer nerdism ahead] I noticed that Mark plays the XML document object instance equivalence game in his unmarshal() function. Very cool. Neither of the C# technorati api implementations I’ve seen do this, though they could using an XmlSerializer. Instead, they return a string for you to parse. More flexible, but more work. Ho hum. In a neat twist, Python’s typing rules allow this all to happen more or less dynamically, whereas in C# you have to define the classes that will hold return data ahead of time.

Object Orientation

Craig Andera: “I ask the question: is there something about OO that is inherently more maintaintable than a well-designed procedural system? I’m not sure there is. “

Wow, Craig really captured the sum total of my thoughts on OO after working with it for a little over a year. OO modelling is a fun game, but it seems just as pitfall-prone as other ways of programming.