- The traditional media are amazingly poor conduits of information. Despite around-the-clock coverage from all the of the local channels, I really had no idea what was going on in my community. A single Google map application was vastly more informative.
- TV and radio coverage are less about information than about commiseration.
- If i hear the words "perfect storm" again, i'll wretch.
- Whether liberal or conservative, people should keep their political views with respect to the fires under wraps until people that matter are out of harm's way.
- I got messages regarding the fires from Germany, Switzerland, and Brazil.
- It's getting harder to get by without the Internet.
Thursday, October 25, 2007
Last Word on the Fires
Tuesday, October 23, 2007
Latest on the Fires
The air is still filled with smoke, but the winds have diminished and the skies are partially clear now. Schools are closed for the whole week, and both my office and Emily's are officially closed (my office borders one of the worst-hit areas of fire damage). Fortunately, our electrical power has been restored, so we're able to live more or less normally except that we can't really spend much time outside. It sounds as if the weather will be more conducive to fighting the fires tomorrow, but it's likely that there will be areas burning and people evacuated into the weekend.
California Hates You Too, Glenn Beck
Sunday, October 21, 2007
San Diego County on Fire

There are currently two fairly large wild fires burning in San Diego's east county. The one responsible for this smoke is east of Ramona along the Highway 78. High Santa Ana winds are making the fires essentially unstoppable, and the fire departments are taking the approach of trying to evacuate the communities most likely in its path. Not sure if it'll get this far west like the big fires back in 2003, but the winds are supposed to continue for the next couple of days.
Saturday, October 13, 2007
Reid vs. Google
At the time, i thought it was a little sad but i didn't really imagine myself working as an engineer into my 60s. What i didn't anticipate was that the "old guy" in the IT organization would someday be the 40-something. It's hard to say exactly what the truth is behind this lawsuit, brought against Google by computer scientist Brian Reid, but the implication is clear: experience is not as valuable as the willingness to put the company before your personal interests.
Places like Google, and Microsoft in an earlier era, are unique in the sense that the rewards that can accrue to people with a good idea and no external distractions are very significant. But it does make you wonder if there's room at the elite levels of software development for people with lives. On one hand, i believe that any corporate environment should be a meritocracy. On the other hand, i feel that experience, even if it's only in a non-technology-specific sense should be valued. As the resident old guy in an Internet organization for the last few years, I've experienced the intense frustration of the young and ambitious needlessly repeating the mistakes that we made twenty years ago. It's not simply that experience in software development is undervalued, it's that many software organizations, especially in the Internet space, are culturally conditioned to believe that there situation is novel and not subject to the rules of earlier eras.
You would not believe the insanity i've seen propagated as a result of this. I've seen younger programmers go through the pain of rediscovering what many of us have known about optimization and performance for years. I've seen virtually unbounded arrogance with respect to estimates of how long projects will take, and the inevitable assignment of blame to the naysayers when the death march reaches its logical conclusion. I've seen the rediscovery of ancient technologies given fancy new names. What i have not seen is productivity.
Google's a really cool place with a lot of interesting technology, and i hope this is an isolated case that doesn't really reflect their values. If it does, then they'll eventually end up like Microsoft-- painted into a corner by their inability to learn from their own mistakes.
Friday, October 05, 2007
Back To Work
Monday, October 01, 2007
Gebrselassie Sets Marathon Record
Wednesday, September 19, 2007
Bayesian Statistics
As i've moved from one domain to another during my computer software career, there are certain ideas that seem to follow along. The calculation of eigenvalues and eigenvectors pops up in many different places, as does singular value decomposition. Markov chains have shown up in everything from statistical mechanics to language analysis. I've used K-means clustering in drug discovery and for music personalization.
P(A/B) = P(B/A) * P(A)/P(B)
P(S=4/M) = P(M/S=4) * P(S=4)/P(M)
P(A,B) = P(B/A) * P(A)
P(S,M) = P(1,M) + P(2,M) + P(3,M) + P(4,M)
or
Surprise in Recommendations
I've since decided that a bigger problem with music recommendations is that even great recommendations can't be appreciated unless you listen to the music (again, if you already know the recommended music, then it's not a compelling recommendation unless it's in the context of something like a personalized radio stream). However, i still think about this problem occasionally. It still seems to me that the interesting recommendations are those that you don't expect, but which still match your taste (if you eliminate the latter restriction, it's easy to make unexpected recommendations).
The main reason why unexpected recommendations are rare is (i think) because most recommendation systems are based on some measure of similarity between either items or users (this is the idea behind so-called collaborative filtering systems and content-based systems obviously seek to find item similarity). Often the set of recommended items will be chosen by comparison with similar items or by comparison with the tastes of similar users. So suppose that you like The Shins and the system discovers that other people who like the Shins often also like the The Decemberists. The latter is a good recommendation by most standards (including my personal subjective standards). But it is not a surprising recommendation.
Surprising in this context does not mean obscure like say Neutral Milk Hotel, or outrageous like say Iron Maiden. For me a surprising recommendation would be something that maybe takes a detour into a different, but adjacent genre. For example, i've been listening to a lot of Richard Thompson recently, and i'd be surprised but pleased if there were a connection from The Shins to Thompson via the intersection of indie rock with alt. country and alt. country with folk. It's unlikely that many systems would make that connection because the two artists don't have a significant shared fan base (though i'm sure it's larger than just me).
A mathematical model of surprise was developed a while back, but it treats surprise more in the sense of jumping-out-of-the-bushes rather than one-of-these-things-is-not-like-the-other. The idea of surprise that i have in mind is more like Ted Dunning's use of the word in his paper Accurate Methods for the Statistics of Surprise and Coincidence, in which surprise is more of a rare but significant co-occurence.
The reason why even the latter approach doesn't often produce the sorts of surprises that i want is that the information isn't in the data. For example, the connection that i claim between The Shins and Richard Thompson above is subjective. In the general population of music listeners there simply isn't enough data to establish a connection between the two artists. It seems like what is needed is something that can infer or enhance these unusual connections from a single person's listening habits. Or, perhaps, this connection could be found with content-based recommendation systems or some future refinement thereof.
I suppose that if you imagined a giant network that connects every musical artist with closest neighbors and so on until every pair of artists (A,B) are connected by some path, then you could over time weight the connections based on an individual user so that certain paths become "shorter". It might even be possible to structure this as a Bayesian network, where information about a user's artist preferences is used as evidence to connect previously unrelated artists for that individual. But, honestly, i'm not sure how you'd scale this across millions of users.