Firefox 3 excitement….disappointment

I just read on slashdot – “ZDNet picks up on yesterday’s Firefox 3 beta 1 review by comparing the memory usage of Firefox 2 against the latest beta. The results from one of the tests is quite interesting, after loading 12 pages and waiting 5 minutes, 2 used 103,180KB and 3 used 62,312KB. IE used 89,756KB.””

Oh how excited I was – the memory issues with FF 2 were why i went back to v1. Could I finally move on!?

The answer……….NO!!

The simple task of removing a link from my bookmarks toolbar sent FF3 into a spin…memory usage 720,000k and counting!! LOL!

What a joke.

Downgrade to Firefox 1.5 – Firefox 2 is a lemon!

Ah, what a brilliant day. For months now I’ve been swearing about how bad Firefox 2 is – memory leaks, slow loading, crashing – it’s been the bane of my coding life. Anyway, finally today I took the time to scour the net for good old Firefox 1.5 – you can’t get it from the official firefox site. Anyway here it is:

I can’t believe how much faster it is! My productivity has gone through the roof!

Debian and New Zealand Daylight Savings SOLUTION

Ok, I read the headlines – “Debian refuses to push out new NZ daylight savings info” or something like that. Everyone getting angry and annoyed. Sure enough, my Debian boxes (running etch) were an hour behind. The only info I could find was manually compiling new timezone info (which didn’t really work).

ANYWAY – finally I found the quick and easy solution that I wish the alarmists had just said clearly in the first place:

Put this line in your /etc/apt/sources.list file:

deb etch/volatile main contrib non-free

or for sarge:

deb sarge/volatile main contrib non-free

then run the usual apt-get update ; apt-get upgrade and you’re done!

Yay! Hopefully that might save someone a little time, hohoho no pun intended.

More about Debian volatile here:

Web contact forms, spam, and autoresponders

I just realised I almost made a silly mistake :)

To cut down on the amount of spam you get, it’s fairly common knowledge that putting your email address (even not machine readable) on your website is an open invitation for spammers to abuse your account. A common solution is to set up a web-based form which visitors fill out, and then gets forwarded to you (with a little bit of spam filtering along the way).

Recently I’ve been getting a lot of contacts that just say things like “hey man, i like your site!”. This is clever way of trying to get your email address by 2 ways:

1. You reply to the email and say “thanks mate, i like my website too” (bad move, you just sent your email address direct to the spammer.)

2. You have a VACATION responder turned on which automatically sends the spammer your email address!

So, there are a couple of solutions:

1. dont set the From: header in the email from the website to be from the email address the user submits in the form (your autoreply will go straight to that address (the spammer’s)).

2. Dont ever go on holiday, so you dont need an autoresponder! :)

Benchmarking BLOB vs Filesystem for image storage

Well, I know that filesystem is going to be faster for this one, but I want to know by how much. So, I’ve set myself the talks of measuring it, when I get any spare time, of course :)

phpMyScaffold can store blobs for web site images, and I wonder how far I can take the ‘scaffolding’ nature of PMA-based sites into a low-traffic production environment.

Stay tuned for the results, or if you have any comments, suggestions for the test!

UPDATE: Filesystem is about 10x faster than BLOB! I dont have time right now to write up the method and results… hopefully soon :)