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 (5416,5414,5413,5411,5408,5399,5393,5392,5372,5370) GROUP BY ID

STR8BLOGGIN » Things that beep and buzz

Archive for the 'Things that beep and buzz' Category

Microsoft: Developers are pawns

Tuesday, January 9th, 2007

The truth comes out - Microsoft has never cared about the developers beyond using them as leverage in the battle for the platform. If anyone is surprised by this, they’ve been asleep for the past ten years.

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 = 5416 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 = '5416' AND comment_approved = '1'

No Comments »

K notes

Tuesday, June 6th, 2006

K is a terse array-oriented programming language.

Download old, free interpreter here

Here’s an intro

My notes, so far. Note that “monadic” means the operator takes one argument (! 10); dyadic means it takes two (2 ! 10).

~ monadically is NOT.
_ is the monadic trunc operator. _ 10 = 10, _ 10.9 = 10
! is the dyadic mod operator. 100 ! 2 = 0, 101 ! 2 = 1
| (pipe) is the monadic array reverse operator. | 1 2 3 = 3 2 1
? monadically is the array uniq operator. ? 1 2 3
1 2 3
? 1 2 3 1
1 2 3

@ is the dyadic array index operator. names: `tom `bob `frank
names @ 0
`tom
names @ …

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 = 5414 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 = '5414' AND comment_approved = '1'

No Comments »

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 »

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 »

10 megapixel tiny digital camera

Thursday, April 27th, 2006

Holy crap - that’s a tiny camera for 10mp!

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 = 5408 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 = '5408' AND comment_approved = '1'

No Comments »

Conditional comments to fix Internet Explorer’s stupid CSS

Sunday, April 9th, 2006

For those of us who are still stuck on this Titanic of a biz called web development, I’d like to provide a ray of hope - at least for those struggling with CSS.

Everyone likes the idea of CSS. It keeps the HTML clean and presents layout opportunities that regular HTML+Tables just cannot provide. For an example, see the incomprehensibly complex and beautiful Tennessee Vacations site. The problem of course (and there’s always a problem) is that Internet Explorer, in all it’s forms (including IE7, also known as the Web-People-Thought-Our-Problems-Would-Be-Over-But-They-Ain’t release) interprets and renders your beautiful, simple markup+CSS in the most ass-backwards fucking retarded way possible. But only the actual important stuff, and only in retarded ways: float sizes are calculated …

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 = 5399 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 = '5399' AND comment_approved = '1'

No Comments »

Will your next car run on lube?

Tuesday, April 4th, 2006

Ok, no one uses vegetable oil as lube - I hope - but check out this bizarre Jetta that runs on vegetable oil.

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 = 5393 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 = '5393' AND comment_approved = '1'

No Comments »

The Jacket

Tuesday, April 4th, 2006

This is a movie with Adrien Brody. It is a good movie. Everyone should see this movie.

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 = 5392 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 = '5392' AND comment_approved = '1'

No Comments »

vm-pop3d patches

Thursday, January 26th, 2006

I have created a patch to make vm-pop3d’s virtual mail delivery settings more configurable. Basically the paths to the virtual mailboxes and virtual mailbox password files were hardcoded in the .h file, which isn’t the most ideal solution from the configurability standpoint. I have created some patches that make these paths definable on the command line. Here they are: vm-pop3d virtual delivery path patches.

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 = 5372 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 = '5372' AND comment_approved = '1'

No Comments »

Must have

Wednesday, January 25th, 2006

The Blackberry 8700c is completely and unquestionably better than the 7280. Web browsing with EDGE is great and feels faster than dialup. The screen is the best I’ve seen. The keyboard, though smaller, offers better key response so I think I actually type faster. So far no complaints aside from an occasional backlighting problem which may be my fault. Well, that and the $550 pricetag..

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 = 5370 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 = '5370' AND comment_approved = '1'

No Comments »