Archive for May, 2008

FireFox bug with onreadystatechange

Saturday, May 24th, 2008

Just ran into this bug in FireFox: https://bugzilla.mozilla.org/show_bug.cgi?id=412112. 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')
};
request.open("GET", "/index.html", false); /* the false here makes it synchronous *
request.send(null);

(more…)

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
(more…)