johnk's blog

PHP list and array....

One day, I wish I can write this in PHP

while( $filename = $files->next() )
   [ $a, $b, $c, $d ] = getimageinfo($filename);
   $sizes[] = [ $filename, $a, $b ];

Dusting Off Coroutines

Coroutines are back! They never really left, but, it looks like different languages are adding native support for coroutines.

Comments about PHP's New Lambda and Closure Features

I've been reading up on it, and, not being up-to-date on PHP development news, didn't know about the discussion about the design on PHP's new lambda and closure features in 5.3.

Watt From Pedro Show

Mike Watt, punk pioneer, of the Minutemen, fIREHOSE, Madonnabees, Banyan, and a bunch of things I didn't catch, has a really good podcast show called The Watt From Pedro Show. From San Pedro.

A Few Historical Opponents to the Patent System

Computerists are aware of the Open Source, and Free Software engineering and political tendencies. They may also be aware of the resistance to patents on algorithms and software. However, I and others were unaware of the long legacy of historical skepticism toward patents.


How to Make Onigiri (Japanese Rice Balls)

This is the best riceball video I've ever seen. The recipe is at the end of the video.

They also have an awesome oden video. I don't really like oden, but theirs looks so amazing that I want to eat it all up.

Jeff Wall, Miley Cyrus

"It's such a fine line between stupid, and clever." - David St. Hubbins

Jeff Wall, Mimic, 1982

Miley Cyrus, Joke, 2009

Margaret Cho's comment on the second photo.

Aspergers Quiz

Aspergers Quiz is a test that measures how Asperger-ish you might be. I got 36, but it was probably influenced by reading an article about the Aspergers Syndrome.

Donburi, Americana, Mexicana, Asiana

What's up with all the fast-food donburi out there?

Unemployment Lifeline - resources for the unemployed

This is a website for unemployed people to support each other and find the public resources to get through your own downturn: Unemployment Lifeline

Guilds, Patents, and Cottage Industry

Here are three interrelated Wikipedia articles that gave me something to think about.


Embedded Markup Considered Harmful (even now) had an article from 2003 about RSS using CDATA-guarded HTML code in the nodes.

Xubuntu + Xfce + SSH + public/private keys + USB flash drive = PAIN

I was trying to change over my ssh systems to use public/private key pairs instead of passwords. My home system is Xubuntu, which is Ubuntu with Xfce.

Pee Commerce

I got into a discussion about fertilizing with human manure, and defended the practice, mainly because my grandmother did it.

Syndicate content