Author Archives: stuff writer

Socialist social justice is no justice at all

Recently the SABC spent many a monopoly buck on advertising their coverage of the “Mandela” speech of the “Librarian of Alexandria”. This is smells of political influence peddling, since that is what the SABC does these days, and the library … Continue reading

Posted in Stuff | Tagged , , , | Comments Off on Socialist social justice is no justice at all

Unicast flooding meets promiscuous routing

To make a disaster, you need a perfect storm of mistakes. A single mistake is insufficient, but a stack of sub-obtimal configuration choices stacked together will give you rampant failure and poor network quality. For today’s mistake we have massive … Continue reading

Posted in Stuff | Tagged , , , , | Comments Off on Unicast flooding meets promiscuous routing

When Daddy comes driving home again

I needed to sing something (the internet was down, thanks Telkom, for your speedy attention to this problem). I thought I’d sing “When Johnny comes marching home again”, but couldn’t remember the words. So this is what it came to:When … Continue reading

Posted in Songs, Stuff | Tagged , , , | Comments Off on When Daddy comes driving home again

Silly songs with Audacity

And now it’s time for silly songs with Audacity: that part of the show where Audacity comes out and plays, a silly song. So it turns out that if you have a high tolerance for background noise and a poor … Continue reading

Posted in Songs, Stuff | Tagged , , , | Comments Off on Silly songs with Audacity

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

If you use ssh for a while, you are sure to get this message sooner or later: WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!. This means more or less what it says – the machine formerly known as somemachine suddenly smells … Continue reading

Posted in Stuff | Tagged , , | Comments Off on WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

A slip betwixt $HTTP_RAW_POST_DATA and $_POST

The curious case of the missing post: An interesting bug came across my desk today. We have some hacky PHP code that receives data from cpanel, which is written in Perl. The bug came out after an update to cpanel. … Continue reading

Posted in Stuff | Tagged , , | Comments Off on A slip betwixt $HTTP_RAW_POST_DATA and $_POST

PHP deobfuscation

One of the things that you see with depressing regularity when hosting crummy PHP scripts for others is this: eval&28;base64_decode&28;’aWYgKCFlbXB0eSgkX1JFUVVFU1RbInRoZW What’s that? Well it says to decode that gobbledegook into a binary stream (the base64_decode part), and then interpret whatever … Continue reading

Posted in Stuff | Tagged , , , , , | Comments Off on PHP deobfuscation

Oops, Google went evil – again

On 22 April 2011, Good Friday, we remember that Jesus was crucified and buried. On this very day, Google.com displayed a feature for the day: a picture of some kind of garden in place of their regular logo. Perhaps the … Continue reading

Posted in Stuff | Tagged , , , | Comments Off on Oops, Google went evil – again

Please note, the idiom

So, “please note”. It’s about taking note, but is it really a plea? One thing it is not, is it is not the polite form of “Note”. It is a strangely forced form of politeness. “Please note that the train … Continue reading

Posted in Stuff | Tagged , , | Comments Off on Please note, the idiom

Floating to 0.999 on the MySQL cloud

This code: REPLACE INTO loadtable (`hostname`,`load`) VALUES (‘server1′,2.093); didn’t work. It worked in my testing from my local machine, but I ended up with this when I ran it from a real machine: load host 0.309 desktop1 0.201 desktop2 0.172 … Continue reading

Posted in Stuff | Tagged , , | Comments Off on Floating to 0.999 on the MySQL cloud