10.10.06

Code Reads and RSS

Posted in books, programming at 11:26 pm by danvk

I stubmled across “Code Reads”, an interesting new series on famous essays/books in programming. The first was on the most famous of all programming books, The Mythical Man-Month. I heard the book’s title many times before I understood it. The key was finding out that it was about software management. Then it clicked that “man-month” was a unit that implied a doubling of men meant a halving of development time. That the unit is “mythical” is an interesting statement about the dynamics of software development. So there you go.

I wanted to subscribe to the feed, but I couldn’t get the Code Reads without getting all of Scott Rosenyard’s ramblings about the Iraq War and Mark Foley. There was no clear way to subscribe to the just the “Code Reads” category. Google Reader had no options to filter out the articles I wanted. Neither did Feed Burner. I came up with two solutions:

  • Google Blog Search I searched for “Code Reads” on Scott’s site and subscribed to an RSS feed of the search results. This worked great, except that the feed only contained short snippets for each article, whereas the site’s RSS contained nearly-full reviews. Workable, but not ideal.
  • Ask dsandler, resident RSS guru. Through ways I don’t fully understand, he found http://www.wordyard.com/category/code-reads/feed/, which works perfectly.

I guess Scott disabled some category-specific feeds from his blog, but didn’t do a completely thorough job. Here’s hoping it stays that way!

10.08.06

New home for Boggle!

Posted in programming at 12:41 am by danvk

I’ve moved my Boggle program over to danvk.org. To find all the words on a Boggle board, try danvk.org/boggle.php. As a rather extreme example, the best board I’ve ever found is catdlinemaropets, which clunks in at an impressive 2724 points. It’s a cool interface: try hovering over a word in the word list.

How did I find this board and how can I find all the words on a board in 0.366 seconds? I’ll try to blog on algorithms for solving Boggle boards soon.

And mell is SO a word, Nick…

Has Rice removed my web page?

Posted in Uncategorized at 12:05 am by danvk

I visited http://www.owlnet.rice.edu/~danvk and was greeted with a 404 File Not Found page. Has my Rice home page been taken down? I don’t know whether this is temporary or permanent, but as a precaution, I’m going to begin moving my old site’s content over to danvk.org.

10.04.06

Review of Google Reader

Posted in reviews at 11:53 pm by danvk

As promised, my review of the new Google Reader. There are a number of others out there… I’ve read Matt Cutts and Scoble so I’ll try not to hit on their points.

Before the new Reader came out, I’d been using NetNewsWire for about a month and a half. NNW uses the very-standard three pane interface, which I’ve configured to be fully horizontal. Vertical screen space is precious on a widescreen laptop, so this just feels right.

nnw.png

My main pet peeve: when I’ve clicked on a folder, I want NNW to show me all the items in that folder! The list should be completely chronological, and it should include both read and unread items. The read items give me a sense of where I’ve been in this list before. I shouldn’t have to reestablish which articles I’ve passed on every time I update my feeds. I searched as hard as I could, even posted a question on the NNW forums, but apparently NNW just can’t do this.

reader.png

In short, the new Reader wins! Read and unread items all appear together in a nice chronological list.

The old reader combined every item in every feed into one list, the “river of news” that other bloggers seem so fond of talking about. I couldn’t stand this. It’s just not the way I read my feeds. There are a few feeds that don’t get much traffic, about a post a day, but I read them religiously. And then there are others, with dozens of posts a day, that I occasionally peruse when I’m bored. The two should be separate. In the river of news, my low-volume feeds would drown. The new reader is unquestionably an improvement over the old.

I really like the list view, which combines two of the traditional panes. It feels less cramped than the three-pane view. In all fairness, NNW can do this too:

nnw-2.png

Unfortunately, this view in NNW wastes tons of vertical space. Even with all the stories collapsed, it can only show six at a time. Google Reader fits thirty. This is a big win for Reader.

In list view, Reader looks spectacularly similar to Gmail. There’s been plenty of speculation about a Gmail/Reader merger, and I could certainly imagine this happening. One of the main reasons I love Gmail is the keyboard shortcuts: j/k (up/down), u (previous view), and g i (go to inbox). Reader has some similar keystrokes. j/k still go up and down in a list, but they automatically expand every story they select. Remember, I don’t necessarily read everything in all my feeds! This behavior makes the keys worthless. The n/p keys do what I want, but as a vi user, they just don’t feel natural.

In some ways, however, Reader has better keyboard support than Gmail. Example: hit ‘g t’

reactor-label.png

It supports auto-complete, so I can hit “l <enter>” to go to my low-volume folder. This is a really cool way to navigate, and I wish Gmail had it! I think they got the visuals from the Gmail Macros Greasemonkey script. (I may be completely off here) I’d use that script, but it kills “g i” going to my inbox.

I said my “low-volume” folder, but is it a folder or a tag? This is one of the stranger things in Reader. It seems that if you put a whole feed into a container, then that container is a folder. But if you put an individual item in it, it’s a tag. There’s no difference between the two. A tag is a folder is a tag in Reader. The split terminology doesn’t serve any purposes. Just pick folders or tags. I’d go with “tags,” since each feed/item can have multiple tags. That doesn’t make sense in a folder world.

A few other nits:

There’s tons of unread stories in these two feeds. Why only the five new stories from one of the feeds? Shades of NetNewsWire. I’ve got a bug filed on this. Also:

Why aren’t the stories on the home page clickable!?

Reader 2 is an enormous improvement over the old Reader, and it’s already begun to replace NetNewsWire in my regular surfing. I’m excited about subscribing to other people’s shared items feeds, so be sure to import your OPML file into Google Reader and give it a try!

Update: Here’s a link to my shared items.

10.03.06

The Panda’s Thumb

Posted in books, reviews, science at 12:12 am by danvk

pandasthumb.jpgI just finished Stephen Jay Gould’s The Panda’s Thumb, so I figured I’d write a bit about it. I’ve been a fan of SJG since reading Wonderful Life, with its theory of punctuated equilibrium and Ever Since Darwin, which introduced me to the cool concept of Neoteny. But then again, Richard Dawkins once wrote in a review, “If only Stephen Gould could think as clearly as he writes! This is a beautifully written and deeply muddled book.”

The Panda’s Thumb is a collection of essays which generally follow the same format. SJG finds some interesting tidbit of history, like Mickey Mouse or the Piltdown Man. He tells a great story with heroes, usually Charles Darwin and Thomas Huxley, and villains. Then he wraps it up with an attempt to connect to the contemporary world. I think this last step is just silly.

Gould is in his best form when he talks about the History of Science, a subject that he clearly relishes. Rather than summarizing our common perceptions of the past, Gould delves into the primary documents In The Panda’s Thumb. The results are incredibly interesting. In “Flaws in a Victorian Veil,” Wew learn why a racial theorist hold’s the views he does, in his own words. (a visceral reaction to black people when he first encountered them as an adult) In “Crazy Old Randolph Kirkpatrick,” we hear the familiar story about a scientist with a bold idea who sticks to his guns… but who’s completely wrong.

Then there’s “Dr. Down’s Syndrome,” which I found far and away the most interesting. Everyone has heard of Down’s syndrome, and it’s not too much of a stretch to guess that it was named this because it was first described by a Dr. Down. But according to Gould, almost nobody has ever gone back to read Dr. Down’s original 1866 work, and there’s good reason for this. The work “embodies an interesting tale in the history of scientific racism.” Obviously, Dr. Down didn’t name the disorder after himself. He called it “Mongolian idiocy.” I had never heard it called this before, but apparently the term was still in use 25 years ago.

The idea was that there was a hierarchy to the human races. Whites were obviously on top, followed by the “great Mongolian family.” These were also the days of recapitulation, which held that each organism, while developing, would go through the forms of its evolutionary forebears. So it seemed completely reasonable that a white European might get stuck at the Mongolian stage of his or her development and never quite make it to the top of the ladder. From this perspective, the name makes perfect sense!

The primary insight I get out a story like this is what a strange an interesting thing it is to interact directly with history, to see the prejudices and beliefs of a bygone era unfiltered. More so than any of the science, that’s the message I take out of The Panda’s Thumb.

Next on the reading list: Alexandre Koyre’s From the Closed World to the Infinite Universe. I’m going to try and get a review of the new Google Reader up as well.

« Previous Page« Previous entries Next entries »Next Page »