Log in



Archive for September, 2005

Pimp my Mac

September 22nd, 2005 by Peter

After discovering some new cool tools for my iBook in the last days, I would like to give you the list of Mac OS X software which made it to my dock:

iTerm (http://iterm.sourceforge.net/)
SubEthaEdit (http://www.codingmonkeys.de/subethaedit/)
SSH Agent for Mac (http://www.phil.uu.nl/~xges/ssh/)
TexShop (http://www.uoregon.edu/~koch/texshop/texshop.html)
Adium (http://www.adiumx.com/)

I am still waiting for my Keynote 2 package, maybe this will become the next entry ;-) … Office 2004 for Mac looks very nice, but is too slow on a 12” iBook in order to work efficiently …

How to create the perfect configure script

September 22nd, 2005 by Peter

I am currently working on the Condor DRMAA implementation, and started to create support for the project. This is the second time I am doing this, and it is still hard. In one part, I had the problem of specifying the creation of a dynamic shared library in the configure.in file. All developers in our group (above the age of 35) advised me NOT to use libtool, even though it seems to be the natural solution for autoconf.

Since Martin v. Löwis, one of the Python core developers, is working in the room beside me, I have a great source of Unix knowledge. He showed me that the Python configure.in does all the checks regarding the dynamic library linker flags by itself. This is really a suprise, but since I trust the experience of hardcore Python geeks, DRMAA is now doing it the same way. In general this file from the Python sources is a fantastic source of examples for configure parameters.

Offline Files and Folders with Unix

September 3rd, 2005 by Peter

If you are a more experienced Windows user, you might now the benefits of the ‘offline files and folders’ functionality. If you enable offline availability for a network share, then Windows is continuously holding a local copy of the content. You can take out the network cord and continue to work without any problem.

The Unix solution is two rsync (over ssh) calls in the right order, which allows you to sync your files with a directory on the remote file server machine. Let’s assume that you have directory “d” in your laptop home directory, and want to keep it synchronized it with directory “d” on a remote machine, regardless of where you changed something:

#!/bin/sh
rsync –progress -u -az -e ssh user@remotehost:/a/b/c/d ./
rsync –progress -u -az -e ssh ./d/ user@remotehost:/a/b/c/d

Naturally, deletions of files on both sides are not considered.
(BTW, because of this deletion sync problem, Windows simply does not allow deletions in offline mode.)
If you want to cleanup the directory, do it on the remote host stated above and execute the first rsync statement with an additional “–delete” option on the laptop. This deletes all files on the laptop that are not existent on the remote host.

Test this first with some unimportant data. You have been warned ;-)

Ganglia rocks

September 3rd, 2005 by Peter

Yesterday I had a problem with the ASG testbed, an infrastructure for the [url=http://asg-platform.org/]EU project[/url] I am working in. One of the major developer machines had continous high load, reasoned by some buggy Java program of one of the participants. After killing these nasty things, I looked for a better monitoring solution than ‘top’. [url=http://ganglia.sourceforge.net/]Ganglia[/url] is a proven open-source solution from the grid community. It renders nice web pages, works out-of-the-box with multicast data transfers and allows a quick view on many machines and their status. Nice work …

  • You are currently browsing the troeger.eu blog archives for September, 2005.