Knock::on_wood

unclear thoughts on software development

Articles written in June 2007

Friday, June 15, 2007

Free Diff/Merge Tool

Back at Datastream we used Vault as a replacement for for Visual SourceSafe. It was a great tool. (Not living (completely) in Microsoft land anymore, I now use Subversion for all source control.) Bundled with Vault was a diff tool. It's apparently grown up into an nice little app.

SourceGear just released it's diff and merging tool, aptly named DiffMerge for free. It's available for windows, Mac, and Linux. In fact, depending on the API, I may try to integrate it with TextMate's Subversion bundle to finally get a good visual diff engine on the Mac.

DiffMerge

Download it now.

Saturday, June 02, 2007

Crontab problems with nano

I was trying to set up a cron job on my new (relatively) SliceHost VPS. On Ubuntu, each time I would run crontab -e, edit and save the file, I would get this:

"/tmp/crontab.nQMgF1/crontab"\:2: bad minute
errors in crontab file, can't install. 
Do you want to retry the same edit?

It didn't seem to matter that the syntax was correct. Ha. After googling around for a while, I found out that the problem was with nano, the default text editor on Ubuntu. It wraps long lines by default and crontab has a problem with this.To fix the problem you need to turn off long line wrapping which is on by default. Go to /etc/nanorc and uncomment the following line

set nowrap

Now, nano will correctly save your crontab. (I also uncommented

set rebinddelete

to find a problem with backspace/delete on the mac.)

Powered by Mephisto. Theme modified and ported by Ryan Wood, based on the WordPress theme minima.