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 (5414) GROUP BY ID

STR8BLOGGIN » 2006 » June

Archive for June, 2006

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 »