All entries for Wednesday 05 January 2005
January 05, 2005
Best new year's resolution ever
Writing about web page http://www.jaypinkerton.com/blog/archives/000988.html
Jay Pinkerton nails it as usual:-
I attribute my failure with past New Year's resolutions to setting the bar unrealistically high for myself, in that they required me to change slightly. Lose weight. Quit smoking. Go jogging. Stop drinking. Every one of these self improvements, I realized, shared a common achilles' heel: small amounts of restraint and effort on my part.
Read on to discover his solution to this irksome problem, and where the loose-fitting clothes and steak-filled pockets fit in.
Google suggest
Writing about web page http://www.google.com/webhp?complete=1
Google Suggest offers possible matches for your search term as you type it in. It's done with XMLHttpRequest, but the Javascript on the page has been highly compressed, so it's hard to make sense of. Luckily, Chris Justus rides to the rescue with a rewritten, commented version of the code.
There are some other implementations too: here's an auto-complete search for CPAN and Dunstan's blog offers "Live Search" which is much the same idea. Worth adding to the "Could be useful" file.