May 132013
 

Well, the Haskell honeymoon is over for me. I spent some time working on a few Project Euler problems this weekend, and my initial assumptions formed from toy problems were dashed. While I was able to solve 3 problems fairly quickly, I faced a number of non trivial bugs, and memory issues. On the other side of my naïve passion, I’m finding a functional thought process, and it’s exciting.

Continue reading »

 Posted by at 9:28 pm
Feb 242013
 

The ASU Linux User’s group is building a Beagleboard cluster. This requires each compute node to have an identical system image, with the exception of the hostname and ipaddress. The easiest way, I found to do this, is to configure one compute node, then duplicate the SD cards across the other nodes. Here is how I did that.

Continue reading »

 Posted by at 9:38 am
Feb 172013
 

I was reading a blog about coding interviews, and one comment made near the bottom struck me, “…”Um… grep?” then they’re probably OK…”  As I read that comment, I realized I’d never answer that way, and I agreed with the author that was a problem. That began my dabble in grep, awk and sed, and these tools will change your workflow and even how you think about profiling code.  Grep has even become a verb in my daily life, “Is this greppable?” is my mantra.  Flash forward a few months and once again I had a task for these powerful text processing tools, convert a mysql database to sqlite. Sounds easy, but with file sizes of >700MB, you have to be efficient.

Continue reading »

 Posted by at 12:53 pm