Computers

Here is what my mouse does in one day

Tagged:

How to remove a file in unix with a leading dash in it's name?

Tagged:

That was the question I asked myself recently when I had a file called --exclude in the root of my filesystem. These commands all failed:

rm --exclude
rm "--exclude"
rm \-\-exclude
rm ??exclude

So I found the solution - so simple it embarrassed me. Just add the full path:

rm /--exclude

or tell the command line parser to stop interpreting options:

rm -- --exclude

Easy!

Apple is very pricey in South Africa

Tagged:

The current state of SOAP

Tagged:

I hate computers

Tagged:

Why can people not write stable software? IntelliJ Idea 8.1.4 is supposed to be awesome. Look at what it does to my CPU once every 5 minutes, for 1 minute long - for no reason (I have not worked in it since yesterday):

Screen shot 2009-12-01 at 12.52.00 .png

The new magic mouse is awesome, BUT

Tagged:

after only 3 weeks of use this is what I am greeted by:

Screen shot 2009-11-25 at 15.33.25 .png

Parallel Tools 5 Fails on Windows 7 and Parallels 5

Tagged:

I tried to upgrade my existing Windows 7 RTM VM to the new Parallels 5 version by upgrading. Unfortunately Parallels Tools failed with an Error 2738, Could not access VBScript run time for custom action.

The solution was to remove the stale HKCU registry key for the VBScript.dll registration:

http://blogs.msdn.com/astebner/archive/2007/06/07/3151752.aspx

How retarded is this?

Tagged:

A new installation of Microsoft Server 2003 SP1. I try to install a Microsoft component - .NET 2.0. I am greeted with this:

IESecurity.png

Java on Snow Leopard

Tagged:

So if you are like me and eager to get the latest and greatest from Cupertino on your Mac Pro, you will be severely disappointed if you do any Java development that requires an older JVM than 1.6.

See, Apple symlinked all older folders to 1.6:

drwxr-xr-x 11 root wheel 374 28 Aug 21:09 .

drwxr-xr-x 12 root wheel 408 28 Aug 21:36 ..

lrwxr-xr-x 1 root wheel 5 28 Aug 21:09 1.3 -> 1.3.1

drwxr-xr-x 3 root wheel 102 20 Jul 16:35 1.3.1

lrwxr-xr-x 1 root wheel 10 28 Aug 21:09 1.5 -> CurrentJDK