Latest Tweets:

Anyone know a better way of installing java on ubuntu lucid than…

sudo apt-get install python-software-properties
sudo add-apt-repository “deb http://archive.canonical.com/ lucid partner”
sudo apt-get update
sudo apt-get install sun-java6-jre

*1
As you may already know Google is now taking into account site speed amongst the many factors it uses to rank your site. Today I just noticed in the Labs section of the webmasters tools a link to “site performance”. This page will give you stats Google have on your site an indication of weather they believe it is fast or slow.
I have to say I am slightly ashamed that a site I have worked on has an average load time of 1.2 seconds but surprised that this is actually faster than 86% of websites!

As you may already know Google is now taking into account site speed amongst the many factors it uses to rank your site. Today I just noticed in the Labs section of the webmasters tools a link to “site performance”. This page will give you stats Google have on your site an indication of weather they believe it is fast or slow.

I have to say I am slightly ashamed that a site I have worked on has an average load time of 1.2 seconds but surprised that this is actually faster than 86% of websites!

Vimperator Quickstart Guide

1. Download

2. Learn some basic shortcuts

o = open url (tab to smart complete)

O = modify current url

t = open url in a new tab

d = close tab

u = undo (as in reopen a tab)

y = copy url to clip board

3. Learn more advance commands by browsing :help

Optimise JQuery with Delegate

Instead of binding an event to every element bind to a common parent and let the event bubble up…

http://api.jquery.com/delegate/

Rack::Auth::Basic keeps challenging you for a password?

I recently came across a problem where Safari and Chrome wouldn’t remember the Basic Auth password for the admin area of a site I had protected using the Rack middleware. The reason for this? I had blindly copied the example from the Sintra FAQ and was not providing a realm! It wasn’t initially obvious this is set this but a quick check of the definition of use in the source and…

use Rack::Auth::Basic, "your-realm" do |username, password|
  [username, password] == ['username', 'password']
end

I no longer have to keep typing in the password :)

Don’t Discount IE6 Just yet…

Recently @pingles and I have been looking into increasing the conversion rate of one of Forward’s many web sites. We started by looking at the data gathered from analytics over the last month or so and this threw up quite a few surprising figures.

From our paid traffic well over 70% of visitors viewed the site using IE and a massive 20% of this was from IE6. This mean that traffic from IE6 was almost comparable to all versions of Firefox, and was twice the total of what Safari and Chrome were able to generate.

Being Mac users, huge internet snobs, and given googles recent announcement we were pretty happy for anyone daring to visit using IE6 to have a less than optimal experience. This attitude lead to around a very ugly version of our site, and a 19% increase in the bounce rate of traffic from this hugely significant source.

It costs the same to send a IE6 user to the site as a l33t Chrome user and they contribute up 4 times the amount of traffic. So from now on I will be spending less time adding rounded corners, shadows and gradient backgrounds and transparency to everything with CSS3 and more time figuring out exactly how IE6 thinks is should code.

Screen commands I keep forgetting…

Create a screen with a name:

screen -S name_of_session

Detach screen and leave running

ctr+a ctrl+d

List

screen -ls

Reattach to screen

screen -r name_of_session