Categories
Etc

Spam Rage?

A friend at work just sent me an article on CNN about the first prosecuted case of Spam Rage, where a guy became so upset over a non-stop barrage of e-mails claiming to help him increase the size of his member that he flipped out and started threatening people.

However, my favorite quote from the article has to be this one: “Mackay said such firms gave a bad name to the penis enhancement business.”

Categories
Etc

Misleading maps and cognitive mapping

Over at style.com, they have a great piece on redrawing the map of California to accurately correlate the number of voters in each county to the size of the county and then use some nifty shading techniques to better communicate how the voting went during the recent recall election. Fascinating stuff!

Categories
Etc

Ouch

As my officemate Mike put it, “This is why I don’t try to lift 157 kilos out of a snatch.”

Categories
Etc

Read this later…

Hillel sent me this to read. Read it later.

Categories
Etc

XPathExpression.SetContext

After more digging, I found out that it is supported that you have to use the XPathExpression object to do it. You have to compile your XPath expression first using the XPathNavigator, and then you call SetContext on the XPathExpression, passing in your XmlNamespaceManager. Also, something that bit both Mike and I: the prefixes you put in the namespace manager have nothing to do with the prefixes that were originally in the serialized xml. You can make them whatever you want. That way, if you use namespaces without using prefixes, you can still assign a prefix inside the XmlNamespaceManager so that your XPath queries will work. This is devious, devious work.