Writing a WordPress plugin

I’m in the process of writing a WordPress plugin. It’s actually quite doable, but the documentation is lousy. Most of the time you can guess stuff by grepping through the source and Googling around, but just now I spent hours on something stupid.

I just wanted to include the Prototype and Scriptaculous librariries, which are distributed with WordPress. And since I wanted to do this cleanly (instead of writing to the header hard core) it took me a while to figure out.

Eventually this post led me on the right track. Thanks!

G4 fan noise part II

So I went ahead and purchased a new case fan (12×12 cm). Didn’t do magic like I had hoped, but it’s still an improvement. For this one I suspect an ultra-low noise fan would give better results though. Maybe I’ll get me one of those anyway. This case-modding stuff is fun! A whole new computer for a couple bucks!

Myspace is crap

It has been said many times, but it bears repeating. Myspace is crap.

Not just crap, but übercrap. Completely totally shit-laden buttmunching crap crap CRAP CRAP CRAP!!!

I mean, what’s with all the ‘maintenance’?? Hello, it’s 2007?! Why the fuck are you bothering me with your maintenance? Why do you need to take the site down during maintenance at all?

Just check out a new revision, change symlinks and get the show on the road! With a graceful restart no one ever needs to know.

And it’s not that rolling a new version of a web app is difficult or anything. It is done, all over the web, every day. It’s fucking standard procedure even for small shops. God damn you just need to take your site seriously.

It’s infuriating that all my contacts are on myspace. I would just rather never visit that ColdFusion nightmare ever again.

rant off.

Musick (sic) industry

I really like this comment on slashdot:

If you look at the history of American railroads in the nineteenth century, it was similar. They controlled distribution of goods and in many cases could charge what they wanted. Farmers, manufacturers, retailers, and consumers suffered, but had no alternative. At least till technological development changed things (trucks and highways). Then suppliers and consumers had a way of bypassing the rails, and did so. Eventually the rail companies adapted (mixed mode transport) and even prospered.

Clicky