Ruby Supercomputing: Using The GPU For Massive Performance Speedup

computer 17 February 2015 | 0 Comments

Confreaks just released a Ruby/JRuby GPU presentation of mine from Mountain West Ruby Conference 2011 in Salt Lake City, Utah. Slightly stale, but all still very relevant to HPC today!

Tagged in , , , , ,

Pairwise Sequence Alignment In JavaScript

computer 22 February 2014 | 0 Comments

I just implemented a sample pairwise sequence aligner in JavaScript for a course. You can demo it at, and grab the source code under an Apache 2 license at

Tagged in , , ,

“My Videotag” Linkbucks WordPress Hack

computer 16 August 2013 | 4 Comments

FYI to all the WordPress fans.. If you recently noticed that your links are getting hijacked by URLs pointing to “”, try deleting your my-videotag plugin. I found this nastiness somehow embedded in the source code: $ find . -name ‘*.php’ |xargs grep -e linkbuck ./wp-content/plugins/my-videotag/my-videotag.php: return ‘<a href=”’ . $matches[2] . ‘//’ . $matches[3] […]

Tagged in ,

Prolog for Ruby (ruby-prolog) Updated, Hits v1.0.1

computer 30 July 2013 | 0 Comments

After a long period of inactivity I’ve updated the F/OSS ruby-prolog gem! It’s been updated for ruby 2.0.0, bundler, and minitest, and released as v1.0.1! ruby-prolog allows you to solve complex logic problems on the fly using a dynamic, Prolog-like DSL. Basic use is encompassed by stating basic facts using your data, defining rules, and […]

Tagged in , , , , , , ,

Don’t Upgrade vCenter Server Appliance From 5.0 to 5.1

computer 12 July 2013 | 4 Comments

Thinking of upgrading your vCenter Server Appliance from a 5.0 image to the 5.1 image using the official VMware upgrade process covered in the documentation? Don’t do it. It fails somehow. Every time.   Unexpected error during the upgrade process. To attempt to upgrade again, restore the old vCenter Server Appliance and external database from backup/snapshot, […]

Tagged in , , , , ,

Vudu Disc-To-Digital Review

computer,personal 5 June 2013 | 1 Comment

For those of you that just received this promo email… I decided to give it a try with stack of old DVDs. The promo pricing is totally reasonable, but I doubt it’ll last. (50% off when you “convert” 10+ discs, then $2 off your total.) Your existing DVD/BD titles are $2 to convert, or $5 […]

Tagged in , , , , , , , , ,

Capistrano Hanging During .tgz Upload

computer 30 May 2013 | 0 Comments

I just spent an annoying amount of time troubleshooting a new cap-based deploy.rb for a Rails app to a new CentOS 6.4 server. The deploy.rb worked perfectly on other systems, but something about the configuration was causing `cap deploy’ to hang during the following: servers: [“”] ** sftp upload /var/folders/0j/vmvt2by53m901wtmfv8xfjw40000gn/T/20130530225953.tar.gz -> /tmp/20130530225953.tar.gz Long story short, […]

Tagged in , , , , , ,

Keeping Multiple Development Machines Synchronized with Homeboy

computer 14 May 2013 | 0 Comments

Most of us developer types have at least two machines we use routinely, and managing that can be a chore. Specifically, I usually want to do the following every time I sit down at a machine to hack on something: Keep config files like .bash_profile and .gitconfig  synchronized. (This requires scripting since Dropbox ignores hidden […]

Tagged in , , , , , , , , , , ,

Ubuntu 12.10 to 13.04 Server Upgrade Error

computer 26 April 2013 | 10 Comments

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 […]

Tagged in , , ,

Proxy Authentication Against Devise-Based Ruby Applications

computer 30 October 2012 | 0 Comments

(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 […]

Tagged in , , , , , , , ,