Follow Me On Twitter Facebook LinkedIn Flickr
Vmware virtual machines constantly restarting while trying to build a LFS system has introduced me to a brand new level of tedium. 13 hrs ago
A software development and computer technology blog.

Archive for December, 2008

Twitter Weekly Updates for 2008-12-21
  • Trying to get an installation of Win98 working on an old machine. For some reason the pesky Radeon 64 is refusing to cooperate. #
  • Yay! ATI Radeon 64 drivers updated, fired up Quake III Arena and it’s all good! #
  • Javascript injection attacks: a brand new level of tedium #
  • Spending the last day working from home looking after Abigail. I say the last day, but I’ll probably be doing some work over the next 2 wks #

Powered by Twitter Tools.

Grabbed By The Attributes

The Javascript function ‘document.getElementById(“<ElementId>”)’ which returns a reference to the first object within a document with the specified id, is certainly in my experience a highly utilised method. But it’s a bit restricting, certainly in a lot of grid work I’ve done over the past few years.

Why should we restrict the locating of specific elements to just the id attribute? Why not any other attribute? If I have a grid of elements, for example text inputs, I might want to organise them into rows and columns.


<input type="text" id="cost" row="4" col="6"/>

Now if I want to reference this control from the entire page of controls by it’s position without knowing it’s id is ‘cost’, there’s no straightforward way of doing so. It feels like this should already be available to us. For example, perhaps the control directly below this (on row 5 col 6) has focus and we wish to be able to press the up cursor key and have the focus change to this control on row 4 col 6. This would be much like using cursor keys to move around a spreadsheet. If we could search for the controls by some other attribute like row and col this would be easy. Don’t get me wrong, this is completely possible using getElementById, you could simply encode the row and column into the id attribute, as I have done many times before.


<input type="text" id="r4c6"/>...
<input type="text" id="r5c6"/>...  control with current focus

read more »

Twitter Weekly Updates for 2008-12-14
  • Decking the halls #
  • Finally back to the 100% AJAX web application project. Take multiple page requests into my app? No I just load a page once and XHTTPRequest! #
  • On my way to Microsoft HQ armed with a copy of Linux Format. #
  • Managed to escape and survive the Microsoft brainwashing. #
  • Watching NewsRadio, what a blast from the past! Reminds me of Nightstand with Dick Dietrich, Kids In The Hall and networked Doom2… #

Powered by Twitter Tools.

Twitter Weekly Updates for 2008-12-07
  • Playing around with twitter tools for Wordpress. Its pretty good! #
  • Virii attacks via trackbacks! Damn you Kropotkin! Damn you and all your kind!!! #
  • Double Big Bang Theory followed by Heroes? TV’s never been so good! #
  • Checkmate in 6 moves! I’ve still got it. #

Powered by Twitter Tools.

Twitter Weekly Updates for 2008-12-01
  • Researching, but not in preparation for taking over the world this time. #
  • Making Naan bread from scratch, which turned out phenominally well. #
  • Listening to Anthrax and sorting out my iTunes… Bring the noise :) #
  • Having another bash at the free MMORPG that is Rappelz (rappelz.gpotato.com). #

Powered by Twitter Tools.