• Ubuntu 12.10 to 13.04 Server Upgrade Error

    Are you Googl’ing around trying to figure out why you’re getting this error when trying to `do-release-upgrade’ your Ubuntu 12.10 system, even though you’re pretty much up to date? root@mia:~# do-release-upgrade Checking for a new Ubuntu release Traceback (most recent call last): File “/usr/bin/do-release-upgrade”, line 145, in <module> fetcher.run_options += [“–mode=%s” % options.mode, AttributeError: type…

  • Proxy Authentication Against Devise-Based Ruby Applications

    (Quick GitHub link!) My team at TGen has a Rails application using a typical devise + cancan installation for authentication and authorization, respectively, and a related Apache HTTPD proxy server we needed to authenticate against active accounts in the webapp before passing traffic to their destination, which is a single host. We tried mod_authn_dbd for a…

  • How To Custom Brand The OpenStack “Horizon” Dashboard

    I’m deploying OpenStack “Essex” on Ubuntu Server 12.04, and have the openstack-dashboard package installed to provide the web-based “Horizon” GUI component newly added for the Essex release. Canonical also provides an openstack-dashboard-ubuntu-theme package that brands the Python-based Django GUI. Despite that the last major Canonical-maintained packages based on the OpenStack “Diablo” release in Ubuntu 11.10…

  • OpenStack Nova Essex MySQL Database Schema Diagram and SQL

    I’m in the process of setting up an OpenStack Essex installation on a small cluster of Ubuntu 12.04 servers using the Canonical-supplied and supported packages. I innocently and unfortunately ended up with a state corruption issue causing nova-compute to crash on startup, and found it necessary to dive into the schema as a troubleshooting aid.…

  • OpenStack Diablo on Ubuntu 11.10 w/MySQL

    If you’re installing the OpenStack cloud computing platform “Diablo” release on Ubuntu 11.10 server using the official guide and are using MySQL, don’t forget to: sudo apt-get install python-mysqldb The “glance” package (and probably others) are configured to use SQLite by default and do not automatically install this dependency by default. Unfortunately, the November 2011 version of the…

  • Quick FASTQ File Parsing Via Memory Mapping In C/C++

    I recently had a need to speedily parse through 8GiB+ .fastq text files to calculate a simple statistic of genomic data. My initial “pfastqcount” implementation in Ruby worked fine, but with many files to process took longer than I had hoped in addition to consuming an alarming amount of CPU. I ended up reimplementing the pfastqcount…

  • Hacking Your Own Genome

    Many thanks to everyone that participated in my Hacking Your Own Genome session at today’s Desert Code Camp 2011.2 event in Chandler, Arizona! I’m very passionate about the topic area, and hope the session was both entertaining and useful. Here are the presentation materials, source code for the “youandme” application, and a few other links…

  • Amazon Finally Adds Lending Library

    Late is better than never! (From the press release. Customer details here.) With an Amazon Prime membership, Kindle owners can now choose from thousands of books to borrow for free – including over 100 current and former New York Times Bestsellers – as frequently as a book a month, with no due dates Books can…

  • 10 Universal Weight Loss Tips For Men

    I’ve spent the majority of my adult life in the “obese” clinical strata, and have only in recent years taken to caring about maintaining a reasonable weight. I am an American male, 5’10”, with Koren-Caucation ancestry and have ranged between 149 and 172 pounds in the past year. My bodies individual natural comfort zone seems…

  • Preston And AT&T Give Each Other The Finger

    I made the jump the last day before Verizon stopped offering unlimited data plans. The delay for switching to Verizon was not lack of motivation–AT&T service has always paled to Verizon in Arizona and is nearly nonexistent at my summer home–but in desperate procrastination of dealing with the migration process. My longest conversation (highly abbreviated)…

Got any book recommendations?