Category Archives: Work

AWS EC2 Reserved Instance Auditing

If you’re running instances atop AWS, you’re probably at least bleeding money. If you don’t know what reserved instances are and/or aren’t using them, you are hemorrhaging money. One of the worst parts of AWS billing, is that they don’t … Continue reading

Posted in Architecture, Coding, Work | Tagged , | Leave a comment

Building Mapserver 6.4 and Mapcache 1.2 on Amazon Linux

  More for me than anything else, but building and installing Mapserver and its cache from source can be a pain. echo “/usr/local/lib” > /etc/ld.so.conf.d/xmaps.conf yum install libpng-devel libjpeg-turbo-devel gdal-devel libxml2-devel geos-devel cairo-devel gd gd-devel giflib-devel mysql-devel freetype-devel fribidi-devel proj-devel … Continue reading

Posted in Architecture, Linuxy, Work | Tagged , | Leave a comment

Ruby 2 From Source on CentOS 6.4

Ruby‘s autoconf doesn’t alert you to the fact that your system doesn’t have everything it could use. It’ll blindly clear you even though, for example, nothing crypto-related will work. On a fresh CentOS 6.4 install (with EPEL) the following will … Continue reading

Posted in Coding, Linuxy, Work | Tagged , , | 2 Comments

Out Of The Clouds

Dear Everyone: You’re understandably upset that some of the world’s governments have been and will continue to spy on you. This is your fault. You kept shipping your data to “the cloud”. You kept outsourcing your local services to “cloud … Continue reading

Posted in Life, Opinions, Rants/Tirades, Work | 2 Comments

MySQL com_select Nugget

The com_select counter isn’t a raw count of how many SELECT operations the server has performed, but rather the number of SELECT operations that did not get returned from the query cache. To see the real number of SELECTs (assuming … Continue reading

Posted in Linuxy, Work | Leave a comment

NConf 1.3.0 Pass-through HTTPD Auth

If you’d like to use NConf, but want your HTTPD, e.g. Apache, to do the auth for it, apply the below patch to set the NConf user to the currently authenticated user. — include/head.php.orig    2012-04-03 19:34:13.774594705 +0000 +++ include/head.php    2012-04-03 … Continue reading

Posted in Coding, Linuxy, Work | Leave a comment

find -delete

If I hear one more person recommend using a pipe to xargs or -exec rm -f {}  to the question “how can I make ‘find’ delete the files it finds?” I’m going to scream. It’s really simple: find /wherever -mtime … Continue reading

Posted in Coding, Rants/Tirades, Work | Tagged , | Leave a comment

SSL CAs Are An Unnecessary Evil

I’ve talked about this to numerous groups, going back to 1999, but seems I’ve never done so publicly. Certificate Authorities are completely unnecessary. “OH MY GOD HOW DO WE MAINTAIN THE WEB OF TRUST?!” you scream. Easy, the same way … Continue reading

Posted in Architecture, Opinions, Work | Leave a comment

Redundant Array of Independent Datacenters

I used a phrase last night/this morning that I use to refer to distributed datacenter architecture, and afterwards decided to google it. It seems that while Cisco mentioned it a lot in 2010, I beat them by a few years … Continue reading

Posted in Architecture, General, Work | Leave a comment

Dear MongoDB

Dear MongoDB, I would like to use the positional operators you have for updates, ala ‘user.$.name’, in the field selectors for queries, ala find({“user.name”: “Matt”},{“user.$.address”}) such that I can see only the fields of that sub-document/sub-object in my return data … Continue reading

Posted in Architecture, Coding, Linuxy, Work | Tagged , | Leave a comment