I dig the hole – and then I bitch!

For close to an year now, whenever I have tried to upload a file to any site using Safari – say attaching a file to a mail via webmail – I get this error:


“POSIX error: Invalid argument” (NSPOSIXErrorDomain:22) Please choose Report Bug to Apple from the Safari menu, note the error number, and describe what you did before you saw this message."

I have invariably moaned “Darn Safari” and switched to Firefox or Camino to upload the file and come back to Safari to continue browsing, without bothering to do anything about the problem except maybe hoping it would be “fixed” in the next release. Never so much as “Googling” the problem, which is so unlike me. Until today, which is ironical considering I switched to Firefox 3.0 beta sometime back, which is awesome btw.

I thought I would file a bug-report over at Apple but just before I did that, I thought I would look up the problem. And lo behold, right up there amongst the results I saw this:

That often happens when you have disabled the Safari cache… make sure that ~/Library/Caches/Safari has Read/Write permissions for you.

Sounded like something I could have messed around with because of my “caching is no longer necessary (( Network speeds are high enough not to warrant Internet caching by individual users. ))” belief:


~/Library/Caches lfc$ ls -l Safari
lrwxr-xr-x 1 lfc lfc 9 Aug 3 2007 Safari -> /dev/null

For the uninitiated, that’s the surest way of ensuring that nothing ever gets written to/ read from “Safari”. Look up /dev/null for details.

Removing that link and restarting Safari solved the “problem” – Safari recreates the folder on Startup and everyone lives happily thereafter.

I had a dream

Two dreams actually. First, the Liverpool Board went behind my back and installed Juande Ramos as my replacement after I won the League + FA Cup double in Football Manager. Second, Oil touched 145 USD a barrel.

Have to say that both dreams worry me a great deal. By the time you read this, the second one might actually have come true. I am not going to start up FM for a while to ensure that the first one doesn’t come true – atleast for a while – because it sounds exactly the kind of thing the men assholes presently in charge of the great institution would do.

Dreams? More like nightmares!

It’s official

Before you say, I know you can buy it in the grey market for a minor premium over the dollar price, but it’s good to know that the iPhone is finally coming to India officially.

So the “coming to Asia in second half of 2008” bit was right after all. At that time I thought by Asia, Apple perhaps means Singapore, but looks like India will be the first Asian country to get the iPhone! Unless some operators have deals ready to be announced for other countries, which can’t be ruled out.