Speed-up SSH connections

If you have shell scripts that need to execute several SSH command to a remote host, here is how to reduce the connection time…
More...

rsync/scp "Connection reset by peer" problems

After the ADSL line has been updated by our provider, we got a lot of "Connection reset by peer" problems when retrieving backups from a remote server using rsync and scp … but the quality of the line doesn't seem to be the problem… any idea ?
More...

Parent process name and process that launched me name ?

How to get parent process name and "process that launched me"' name ?
More...

How to find out when a file opened by another process was closed ?

If we need to wait another process has finished working with a file, how can we be notified when the process closed the file ?
More...

Does somebody have successfully compiled libsigsegv-2.1 under Panther ?

When trying to ./configure libsigsegv the configuration script hangs on "checking whether a fault handler according to MacOSX PowerPC works"... Any idea ?

More...

How to test the dependencies of a dylib file ?

To be sure I don't forget any dylib with a shipping product, I need to check if it requires any other dylibs on my system...
More...

How to create a PostgreSQL function calling Mac OS X frameworks ?

I need to call some Foundation code from a new external PostgreSQL function, how to set-up my make files and how to avoid the compilation errors when including Foundation headers ?
More...

Permission problems when using personal file sharing...

We have a small "problem" when using personal sharing in our small office:
some users use their
Public folder to share Word and Excel documents with co-workers (connecting to the "server" with a password, not as guest) , and this works perfectly. However, these documents don't have the write permission set by default, the "owner" has to manually give the write permission to other users. If he/she forgets to do so, other people will open the file, edit it and when saving, they will be alerted that they don't have write permissions. Then the only way to save their work is to save the document somewhere else where they have write access. Then they have to alert the owner to replace manually the old version by the latest one...
This is of course the potential source of headaches and lose of data...
Is there a way to tell a folder that everything coming in it, has to be made writable by others ?
More...

Problem with acos returning NaN, and I am sure parameter is in [-1;1]...

Sometimes a program returns false results, the problem has been tracked down to acos returning NaN, but the math behind the algorithm proves the parameter should be correctly bounded in [-1; 1]. What's up ?
More...

Compiling PostgreSQL 7.4 under Panther...

How to compile PosgreSQL under X with a maximum of options ?
More...