Archive for May, 2006

Amazing Javascript continuations library

Tuesday, May 30th, 2006

Ever wished you could do this in Javascript?

alert(”Hello!”);
sleep(30);
alert(”Done!”);

Now you can. Narrative Javascript takes your Javascript and transforms it into a gigantic switch{} statement, saving and restoring the program state as it goes so that it appears to be one function call to your program. Pretty smart.

This is great

Sunday, May 21st, 2006

I’m watching a Fox News special debunking global warming.

Two Three Javascript hacks

Wednesday, May 10th, 2006

How to detect font resizing (there’s on onFontResize event in JS)
How to detect the currently focused element via JS, without adding a ton of onFocus/onBlur handlers to everything
JS-based min-width/max-width for IE

Beverage companies agree to not sell soda in schools

Thursday, May 4th, 2006

Is this the turning point in the war against child obesity?