Daily WTF
Whenever I’m writing C code I am amazed that we have to keep track of things like array lengths and string terminators. It’s no wonder poor coders create weird bugs, like this one I found in my work...
View ArticleExecuting commands from TextWrangler/BBEdit
I use TextWrangler occasionally for editing code. It has a well-developed applescript dictionary, so I decided to write a script to execute commands directly from TextWrangler. The following...
View ArticleSurprises with floating point operations
At work I am currently writing software that calculates some thermodynamic properties of proteins. I recently refactored some of the code and I wanted to make sure that I didn’t screw something up and...
View ArticleSecure Synergy
Synergy is a really cool little program that allows one to share a keyboard, mouse, and clipboard seamlessly between multiple computers. I have it set up at work so that I can use my desktop keyboard...
View ArticleMy location over the past year
Recently there has been much ado over the discovery that the iPhone keeps a log of everywhere you’ve been. I choose to push my paranoia aside and focus on the benefits of this: a cool app that lets...
View ArticleJava Interpreters
I’m a big fan of the iPython interpreter. I like having an interpreter running while I develop for prototyping and debugging. Since I currently develop in java primarily, I thought I’d take a look at...
View ArticleArduino IDE keywords
The other day I made my first library (a 7-segment display controller) for my new Arduino Uno, following two nice tutorials. They both mention that it’s a good idea to make a keywords.txt file for new...
View ArticleDNA font
A short DNA 'word' showing the four bases A, T, C, and G, the 'unknown' base X, and the 'pyrimidine' and 'purine' characters Y and R. I recently downloaded the Deja-Vu font family and discovered the...
View ArticleTV Oscilloscope Part 2
To further test out my TV oscilloscope, I hooked it up to the output from a small stereo. Changes in dynamics and instrumentation were very apparent in the songs I listened to. I find the blue start...
View ArticleUsing BioJava from R
I’m a fan of literate programming. When I’m writing a paper, I typically use LaTeX to draft the paper, Java to generate the data, and R to create figures and do basic analysis. With Sweave (or the more...
View Article