Fork me on GitHub

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

The hate is back

Politics this time.

The hate is back in Dutch politics. Geert ‘Blondie’ Wilders is stirring up the masses with something incomprehensible. The saddest thing is; it’s working. Let me explain.

Read more

Desyn Masiello

You sir are brilliant! Brilliant!

The live mix performed on John Digweed’s show Kiss 100 FM in 2005 is one of the best musical journeys of this century. Really, it is that good. Grab it if you can.

RMagick is teh evil

Believe the hype. RMagick is an evil, memory leaking package. Do not use it. I always wondered why my Mongrels were sluggish; and why they often seemed to hang.

Of course I always knew I shouldn’t have used RMagick. But it’s just too darn handy. And it could not be that bad, right? Right?

Well, it can. It really can. RMagick eats memory like crazy and does not let go. Just shifting that stuff out is like night and day. Happy Mongrels, happy proxies, a happy front end, a happy admin and most importantly happy users.

If your Ruby/Rails app is acting slow: get rid of RMagick. Really.

I am important!

Time to kick off this post with a priceless quote by Dale Carnegie. “About ninety-nine times out of a hundred, people don’t criticize themselves for anything, no matter how wrong it may be”.

It’s true you know (and I am certainly one of those ninety-nine, although I strive not to be). Case in point: disgruntled event organisers who are personally offended every time I won’t do exactly what they tell me to do.

Read more

Package unmanager

There’s a reason I’m reluctant use a package manager.

They can be great when they work, but when they fail you’re dead in the water. And I mean really dead. Case in point: the rubygems package manager. Great when it works! But when I was confronted with a misbehaving Ruby app, here’s what happened.

Read more

Poor man's spam prevention

How many pounds of illness can an ounce of prevention cure?

I bet it’s lots. Welcome to 2007. The year where spam has completely taken over the internet. Most admins will tell you that 90% of all email is now spam (not on my server though, thanks to spamhaus). On the web, spam is on the rise as well.

Read more

More utf-8 woes

The second installment of the utf-8 saga I started last week.

Of course, per all the advice that’s out there, I needed to
run some nasty-ass updates directly in MySQL. Buh. Even in my utf-8 Terminal.app I could not display some weirdness properly. So it came down to hex() and unhex()’ing in MySQL. Joy!

Even if it’s only for myself, here is the code that was used:

update articles set body = replace(body, unhex('C3A23F3F'), "'") where body regexp unhex('C3A2');

and let’s not forget this beauty:

update articles set body = replace(body, unhex('C3A23FC29D'), "'") where body regexp unhex('C3A2');

both of which returned various combinations of ??? รข?? and Japanese characters to a simple apostrophe.

And no, the character_set_server still isn’t utf-8. Most data is fine now though.

Read more

Use layouts in ActionMailer

Oh. my. god.

This plugin is the mostest brilliantests I have discovered this entire week. Maybe even month! It allows you to render outgoing emails in a layout!

Read more

Turn up the basssss

Recently I discovered all releases of Turn Up The Bass ever
made! How cool is that?

I remember hiring these CDs from the local video store since I couldn’t afford them. And now they’re available online, plus they fit on a DVD easily. Sweeeet.