Category Archives: misc

How does MySQL hide the command line password in ps?

If you do decide to write an application which takes a password (or any other sensitive information) on the command line, you can prevent other users on the system from easily seeing it like this Continue reading

Posted in misc, MySQL | Leave a comment

Font rendering – no more jealousy

f you like me is an avid Fedora user, I’m sure you’ve thrown glances at colleague’s or friend’s Ubuntu machines and thought that there was something that was slightly different about the way it looked (aside from the obvious Gnome vs Unity differences). Shinier somehow… So had I, but I mainly dismissed it as a case of “the grass is always greener…”. Continue reading

Posted in misc, Sundry sysadmin | Leave a comment

Example using Cassandra with Thrift in C++

The only somewhat useful example of using Cassandra with C++ one can find online is this, but due to the API changes, this is now outdated (it’s still worth a read).
So in the hope that nobody else will have to spend the better part of a day piecing things together to achieve even the most basic thing, here’s an example which works with Cassandra 0.7 and Thrift 0.6. Continue reading

Posted in misc | 1 Comment

Development, just as important as dual NICs

So after you’ve demanded dual power feeds to your rack, bonded NICs and a gazillion physical paths to your dual controller SAN, it would make sense to apply the same attitude towards your developers. After all, they are carbon based humans and are far more likely to break than your silicon NIC. Continue reading

Posted in misc | 3 Comments

GlusterFS tcp_nodelay patch update

As mentioned in my previous post, I wrote a patch for GlusterFS to increase its performance when operating on many smaller files. Someone told me the other day that this functionality has been pushed to the git repository. Continue reading

Posted in misc | Tagged , , | 3 Comments