Tech Tips

Communicating with I2C devices with the LinkM

June 11, 2013

I was recently looking for a USB to I2C adapter and mostly I found rather expensive ($100-300) development kits which tend to be large-ish boards. Considering I2C communication can be done with a fairly basic microcontroller, I thought these were poor solutions. I eventually tripped across the LinkM, which is, on the surface, a USB […]

Read the full article →

Cloning a MacBook’s HDD with BootCamp

March 7, 2013

I bought a nice Samsung 500GB SSD¬†recently to replace the ol’ spinning disk that came with my 2010 15″ MacBook Pro (Snow Leopard). Pricing had finally come down to reasonable levels ($280) and this helps stave off my itch to upgrade (eyeing the 13″ Retina MBP). Prior to the upgrade, I was running a triple-boot […]

Read the full article →

MacBook Pro 6,2 (2010) issues with Ubuntu 12.04

August 21, 2012

Just installed Ubuntu 12.04 (Precise Pangolin, x64) on my MacBook Pro (2010) and had a few issues. Many things are dealt with on the community wiki page, but I still had some problems: I can’t unplug/plug in an external monitor and have it automatically recognized. I have to pull up the nVidia X Server Settings […]

Read the full article →

Bash return values

June 26, 2012

Debugging a Bash script today and ran into this problem – return/exit codes from functions may not exceed 255! My script backed up a subversion repository only when a new version of the repo existed, however, the function that checked the version had it’s output returned modulo 255, causing a problem. The solution was to […]

Read the full article →

16GB SD Card Formats to 8GB in Camera

February 17, 2012

I have a Canon EOS 20D and recently I started using SDHC cards for storage in combination with an SD-CF adapter. Works great and SDHC cards are 1) pretty cheap compared to CF cards and 2) work with all the other devices I have that support SDHC, including my MacBook Pro. I got a pair […]

Read the full article →

Upgrading to TortoiseSVN 1.7

February 15, 2012

A few notes: ¬†1.7 requires upgrading your working copy, so after you upgrade, all the icon overlays in Explorer showing you the state of the working copy disappear, making it seem like they are not revision tracked. You need to right click on the root of each checked out repository and select SVN Upgrade Working […]

Read the full article →

MATLAB MAT file 2GB limit

July 25, 2011

Got an “error closing file” today while saving a very large MAT file in MATLAB. I’ve been dumping my workspace into a MAT file at different stages of a very large computation for debugging purposes and today it broke. It seems that even though I’m running MATLAB 7.9.0 (R2009b), the default is to save MAT […]

Read the full article →

Public Key Authentication with SSH

May 12, 2011

I spent some time this week trying to get public key authentication to work with SSH so that when I used TortoiseSVN, I wouldn’t have to keep typing in my password. I generated a key, installed the public key on the repository server – but nothing. SSH connections still asked for a password. These are […]

Read the full article →