WordPress database error: [Can't open file: 'wp_str8_comments.MYI'. (errno: 145)]
SELECT ID, COUNT( comment_ID ) AS ccount FROM wp_str8_posts LEFT JOIN wp_str8_comments ON ( comment_post_ID = ID AND comment_approved = '1') WHERE post_status = 'publish' AND ID IN (5413,5412,5411,5410) GROUP BY ID

STR8BLOGGIN » 2006 » May

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.

WordPress database error: [Can't open file: 'wp_str8_comments.MYI'. (errno: 145)]
SELECT COUNT(comment_ID) FROM wp_str8_comments WHERE comment_post_ID = 5413 AND comment_approved = '1';

WordPress database error: [Can't open file: 'wp_str8_comments.MYI'. (errno: 145)]
SELECT COUNT(*) FROM wp_str8_comments WHERE comment_post_ID = '5413' AND comment_approved = '1'

No Comments »

This is great

Sunday, May 21st, 2006

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

WordPress database error: [Can't open file: 'wp_str8_comments.MYI'. (errno: 145)]
SELECT COUNT(comment_ID) FROM wp_str8_comments WHERE comment_post_ID = 5412 AND comment_approved = '1';

WordPress database error: [Can't open file: 'wp_str8_comments.MYI'. (errno: 145)]
SELECT COUNT(*) FROM wp_str8_comments WHERE comment_post_ID = '5412' AND comment_approved = '1'

No Comments »

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

WordPress database error: [Can't open file: 'wp_str8_comments.MYI'. (errno: 145)]
SELECT COUNT(comment_ID) FROM wp_str8_comments WHERE comment_post_ID = 5411 AND comment_approved = '1';

WordPress database error: [Can't open file: 'wp_str8_comments.MYI'. (errno: 145)]
SELECT COUNT(*) FROM wp_str8_comments WHERE comment_post_ID = '5411' AND comment_approved = '1'

No Comments »

Beverage companies agree to not sell soda in schools

Thursday, May 4th, 2006

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

WordPress database error: [Can't open file: 'wp_str8_comments.MYI'. (errno: 145)]
SELECT COUNT(comment_ID) FROM wp_str8_comments WHERE comment_post_ID = 5410 AND comment_approved = '1';

WordPress database error: [Can't open file: 'wp_str8_comments.MYI'. (errno: 145)]
SELECT COUNT(*) FROM wp_str8_comments WHERE comment_post_ID = '5410' AND comment_approved = '1'

No Comments »