Jan
25
2010
0

Google Chrome now supports extensions

The beta version of Google Chrome has supported extensions for many months, but Google today released a stable Windows version of Chrome 4.0 which supports extensions together with a handful of other features and improvements. Both The Official Google Blog and the Google Chrome blog have full details.

To get the update, click the About Google Chrome menu option (viathe spanner icon) and click Check for Updates.

I’ll keep this post short and sweet as I’m now off to the extensions gallery to pick up some new enhancements for my favourite browser!

Share this post:
  • Reddit
  • Digg
  • Twitter
  • email
Written by Chris Barnes in: Downloads | Tags: , , ,
Jan
14
2010
0

Google’s clever image preloading technique

I noticed today that the Google logo shown at the top of all search results is actually a composite image, sliced up through clever use of CSS positioning:

Google nav logo

At first, I thought of this as nothing more than a neat trick, but then I began to think about why Google might have decided to use this technique to their advantage.

Whenever a client browser requests a page, it will also make a request for each of the images (and other media) embedded into the page. Once an image has been displayed once, it is usually cached client-side to conserve bandwidth and improve performance for subsequent loads. For example, the RSS logo at the top of my blog will be downloaded from my server on your first visit, but as you move through the site, future references to the file will be fulfilled from your browser’s cache.

Google isn’t particularly image-heavy, but a typical results page could contain five or more ’sprites’ or graphical elements. By squeezing them into a single file, user’s Web browsers need only make two requests (one for the page itself and one for the composite image) instead of six or more.

This might sound trivial, but considering that Google serve billions of result pages to millions of different visitors every day, the cumulative saving in bandwidth and server resources is likely to add up to quite a figure.

If you operate a moderately high-traffic site, it might be worth considering using similar tactics. The only other site that I’ve noticed that has used CSS image slicing in this way is the now-defunct Cdiscount UK site, for its pricing images.

Share this post:
  • Reddit
  • Digg
  • Twitter
  • email
Written by Chris Barnes in: Web | Tags: , , ,
Jan
14
2010
0

Hollyoaks music playlists

I’m not a big fan of the soaps, but I’ve been known to catch the odd episode of Hollyoaks, and I often enjoy the music used on the show.

Channel 4 kindly provide weekly playlists on the official Hollyoaks website, which is handy if you want to hear more of a track featured on the programme.

They could potentially make this more useful (and profitable) by linking to iTunes or Amazon for song previews and purchases, as well as storing more than a few weeks of historical information, but as it is, it’s still a very useful resource.

Share this post:
  • Reddit
  • Digg
  • Twitter
  • email
Written by Chris Barnes in: Music | Tags: , ,
Jan
06
2010
0

How to fix “Google Update installation failed with error 0×8004071c”

I just tried to install Google Chrome on my Windows 7 machine and was faced with this obscure error message.

I found the answer on the Chrome support site – it’s caused by the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\
CurrentVersion\Setup\State\ImageState

Mine was set to IMAGE_STATE_UNDEPLOYABLE. Removing this value enabled the Google Chrome installer to proceed as normal.

Share this post:
  • Reddit
  • Digg
  • Twitter
  • email
Written by Chris Barnes in: Hints & Tips | Tags: , , ,
Jan
06
2010
0

Silverlight 4 beta works on Google Chrome

I’m currently testing out Google Chrome to see if it can replace Firefox as my main day-to-day browser, and have so far been quite impressed. However I hit a stumbling block when I tried to watch some tutorial videos on Microsoft’s site and was prompted to install Silverlight 3, which is unfortunately not supported on Chrome.

The easy thing to do at this point would have been to drop into Firefox or IE and install Silverlight from there, but where’s the fun in that?

Luckily the Silverlight 4 Beta seems to work fine in Chrome – all you need is the Windows Runtime component.

Share this post:
  • Reddit
  • Digg
  • Twitter
  • email
Written by Chris Barnes in: Hints & Tips | Tags: ,
Jan
05
2010
0

Microwaveable batteries?

Please remove prior to putting in microwave?!

Via Reddit.

Share this post:
  • Reddit
  • Digg
  • Twitter
  • email
Written by Chris Barnes in: Uncategorized |
Dec
14
2009
0

Geographical numbers for the AA

Buried in my AA (Automobile Association, that is…) renewal documentation, I spotted that they’ve provided land line telephone numbers as an alternative to the usual non-geographical 0800/0870 numbers, which cost extra from most mobile phones:

  • For breakdowns, the number is 0121 275 3746.
  • For membership enquiries, the number is 0161 332 1789.

Sites such as Say No To 0870 regularly publish user-submitted geographic numbers for many companies, but kudos to the AA for providing official numbers without having to jump through such hoops. Less kudos to them for taking 2 hours to tow my broken-down car, instead of the promised 45 minutes, but that’s another story.

Share this post:
  • Reddit
  • Digg
  • Twitter
  • email
Written by Chris Barnes in: Hints & Tips | Tags: , , ,
Dec
12
2009
0

Google explains Chrome OS

The upcoming Google Chrome OS is basically a stripped-down operating system that runs nothing but a Web browser. The video above explains the rationale behind this, and what makes Chrome OS so great.

Chrome OS won’t be ready for prime time until some time next year, but if you want to give it a go, there’s a pre-release version here which you can download and run in a virtual machine.

Share this post:
  • Reddit
  • Digg
  • Twitter
  • email
Written by Chris Barnes in: Videos | Tags: , , ,
Dec
11
2009
0

Quick and easy way to add multimedia keyboard support to iTunes

By default, iTunes on Windows only supports multimedia keys when in focus. MmKeys.dll is a tiny (44K) addon which just needs to be dropped into your iTunes plugins folder to add support for most multimedia keyboards even when iTunes is running in the background.

I’ve been using it for the past couple of weeks and have found it really handy!

Share this post:
  • Reddit
  • Digg
  • Twitter
  • email
Written by Chris Barnes in: Hints & Tips | Tags: , ,
Dec
10
2009
0

How to do a bulk “unstar all” in Google Reader

Google Reader allows you to star articles to read later, which is handy. However, I’ve been happily starring away items since I’ve started using Reader, and have built up quite a backlog. On the advice of a friend who was horrified by this, I decided to unstar all items before a certain date. Surprisingly, Google Reader doesn’t currently give you a way to do this, besides unstarring each item individually, which isn’t much fun when you have over 500, even using the ’s’ (star/unstar) and ‘j’ (jump to next item) keyboard shortcuts.

To automate this process, I whipped up this quick and dirty AutoHotkey script:

^!r::
Loop 600 {
Send s
Sleep 10
Send j
Sleep 10
}

As you may have worked out, this simply simulates a press of the ’s’ key, waits ten milliseconds, simulates the ‘j’ key, waits again, then repeats the process 600 times.

The first line of the file means “do the below when the user presses Ctrl+Alt+R”.

So all I had to do was save the script, double-click the .AHK file to activate it, then click on “Starred items” with Reader, click to open the first one and press Ctrl+Alt+R to instruct the script to start rifling through your items, unstarring them one by one. Because I had slightly less than 600 starred items, I found that the script “sticks” on the last item, starring and unstarring it repeatedly until I killed the script by right-clicking the “H” icon in the taskbar and clicking Exit.

Feel free to use my script to clear down your own starred items. If you find that the script seems to miss the odd item, you may need to increase the 10 ms delay.

Share this post:
  • Reddit
  • Digg
  • Twitter
  • email
Written by Chris Barnes in: Hints & Tips | Tags: , , , ,

Proudly powered by WordPress and W2-S Internet Services. Design based on Aeros Theme by TheBuckmaker.com.