Archive for February, 2007

Convert Unix Timestamp to Javascript Date Object

Monday, February 19th, 2007

Passing a timestamp to javascript? Use this to convert it to a Javascript date object: var timeStamp = 10000; var theDate = new Date(timeStamp * 1000); var dateString = theDate.toGMTString();

Welcome to the Indexation

Tuesday, February 13th, 2007

I don’t want to point any fingers, but the official Google response to the Belgian courts reaffirmation of their early ruling has an interesting term, “indexation.” This may be an indexical term that has different meaning in this context. I may have just misindexstood though. In other words, tech companies should have tech people proof [...]

USA Today SERPs

Monday, February 5th, 2007

It amazes me to see search pages that so marginalize the actual results. In this example, USA Today’s “web search” (actually powered by Yahoo) takes the cake by allocating a mere 659×101 tall area for the results, assuming a window size of 1024×768. That’s 66,559 out of the 786,432 pixels on the page or just [...]

Guess a Number Between 1 and 100 in 7 or Fewer Tries

Friday, February 2nd, 2007

A number is randomly chosen between 1 and 100. The “guesser” is told at each guess whether their guess is correct, too high, or too low. Four methods tested with the sequence used to successfully guess the number “1.” Random Starts with a random number and draws a random guess from the range implied by the results [...]