Tag Archives: stupidity

Android Emergency

On the way to work one fine morning, I stopped at a road accident scene, with some rather traumatic injuries – I thought someone had died, but instead of being dead, that someone spoke to me and asked me to … Continue reading

Posted in Stuff | Tagged , , , , , | Comments Off on Android Emergency

Arrays

A programmer working on a large project noticed that every single variable was stored in a separately named instance: int c1, c2, c3, c4, c5, c6; This meant that there was a lot of code of this sort: c1++; c2++; … Continue reading

Posted in Stuff | Tagged , , , , | Comments Off on Arrays

My new password

I’m changing all my passwords to asterisks: ******** Now, when I enter my password, I can see what I’m typing.

Posted in Stuff | Tagged , , | Comments Off on My new password

December is a bad month for Linux system administration

The system load for Linux is an indication of how busy the system is, and how long you are going to wait to get something done.  When the load is 0.0, that means that the system is ready to do … Continue reading

Posted in Stuff | Tagged , , , , , , | Comments Off on December is a bad month for Linux system administration

ERROR 1305 (42000): FUNCTION eval does not exist

MySQL cluster – a wonderful idea.  It’s really nice: you have a front end, and multiple redundant back ends, and all the data is loaded into memory, so things go very fast, even queries that inefficiently scan vast squabs of … Continue reading

Posted in Stuff | Tagged , , | Comments Off on ERROR 1305 (42000): FUNCTION eval does not exist

MD and LVM ate my file system … and gave it back

So we have this computer that has two 250Gb disks. In the interest of keeping the data, for evah I set them up as RAID1 using Linux MD RAID. This was cool. Much as a proper technical person does not … Continue reading

Posted in Stuff | Tagged , , , , , , | Comments Off on MD and LVM ate my file system … and gave it back

Not your regular bot driven UDP flood

After weeks of battling Joomla/JCE sites that insist on running evil code and spewing denial of service traffic, we had a machine today sending UDP floods. This, it turns out, is not a hacked machine sending spews of botnet traffic … Continue reading

Posted in Stuff | Tagged , , , , | Comments Off on Not your regular bot driven UDP flood

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

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

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