Archive for May, 2008

FireFox bug with onreadystatechange

Saturday, May 24th, 2008

Just ran into this bug in FireFox: Basically, if you do a synchronous call on an XMLHttpRequest object, the onreadystatechange function is not called. So the following code doesn’t work.

var request = new XMLHttpRequest();
request.onreadystatechange = function () {
if (request.readyState == 4)
  if (request.status == 200) alert('request successful')
};"GET", "/index.html", false); /* the false here makes it synchronous *


Recording The Daily Show on Tivo

Tuesday, May 13th, 2008

I just upgraded my Tivo to a Tivo HD (very cool) and lost the old tip on how to avoid recording 5 copies of The Daily Show every day. Apparently Comedy Central doesn’t provide enough metadata for the Tivo to figure out when an episode is new and when it is a rerun. This little trick was in a Tivo Newsletter:

WishList(r) Search Suggestion: De-dupe Your Now Playing List