Game of Life

I knocked up a quick "game of life" on html canvas in 20 mins - enjoy!

The problem with Chrome Extensions

One big aim for Extensions in any browser is to provide something which modifies the page the user is viewing. For example, one might want to highlight certain links, add spellcheck, block flash, block ads, or implement parental controls.

The "content scripts" part of Googles extension system is designed specifically for this, but there is one large flaw - A content script can't modify page content on the fly as it's loaded.

Google Me

Lots of us have "unique" names on google - ie. every result for your name in quotes refers to a website about you, rather than someone else with your name.

When this is the case, often it's nice to be able to sort the results by which results are good and useful, and which results are simply lists of people or random forum posts you made a decade ago.

The Chrome OS - hardware identified

Browsing around the Chromium open source project I found a little snippet of info Google probably didn't want to make public.

Turns out Googles new Chrome OS will be targeted at the Cortex A8 CPU, which varies from 600Mhz to 1Ghz.

The HP nx6125 / nx6115 and Windows 7

I'll just document the "bugs" with windows 7 64 bit edition running on the HP nx6125 - hopefully it'll save anyone else the bother of installing it only to find it doesn't work acceptably.

Here goes:

  • After a hybrid sleep/suspend, the screen brightness is fixed at minimum brightness, and won't adjust using control panel, the hotkeys, or the power adaptor. A reboot or power off then on again solves this. It is also solved by entering hibernate

The browser memory feast

I've been looking for a really good browser - problem is I can't find one.

They all suffer from a common problem - when you open up too many tabs and windows, they get slow, the system gets slow, and switching tabs and loading pages takes forever.

How can we fix this? My initial thought is hat there is no reason for non-active tabs to be kept in memory. I mean we could just unload the tab and all it's contents, just remembering the URL it was showing. When the user wants to go back to that tab we simply re-load the page.

There are two problems with this though:

Missing your Wireless Drivers?

Well I might have just the thing...

The attached firmware is ready to use with Ubuntu Hardy 8.04, Intrepid 8.10, and Jaunty 9.04 (i386 and amd64), and probably many other operating systems. It is particularly useful when no internet access is available to use apt-get or the Restricted Drivers Manager.

These files are for the b43 and b43legacy drivers, (aka bcm43xx). You will need these files if you get:

ERROR: Firmware file "b43/ucode5.fw" not found or load failed.

Installation Instructions

HTML Canvas - adding a dimension...

The web is such a great platform, but there are still things it can't do, and one of them is support for decent graphics without flash. HTML 5, the next version of the html the web is written in, goes some way to address this. With HTML5 you can do pretty much anything you like with 2D graphics by using the new <CANVAS> tag.

The problem is I hate limits, and therefore uncontent with my new 2D canvas, I want more! So I've been fiddling with software 3D rendering inside javascript.

The Story of When Dinosaurs Were Roaming

Here's a poem I've liked for many years, and when I found out
that not one of the billions of web pages on the internet include
even a reference to the poem I decided to publish it here for safe keeping.
(note I can't be sure of the copyright status of the poem, but feel free to
contact me if you are the rightful owner)

The Evolution of a 1st Year University Project

The assignment: Make a computer program to simulate the movement of a pendulum.

Now, while to the laziest of you, that might just be typing y=sin(x) into Matlab, I decided to take it a few steps further.

As with any problem, I wanted to generalise the solution as much as possible, so I could re-use it for other things. In this case, I realized simulating a pendulum is just a simple subset of simulating any object. Therefore, I made a general physics simulator.

Syndicate content