Monday, 11 May 2009

The Big Agile Practices Survey

Last week Jurgen Appelo asked if anyone could help him create an online interactive table for the results from his Big Agile Practices Survey. Having just gone freelance I figured I could use the publicity and since I had a bit of time to spare, I volunteered.

The result: my sortable color coded table is on a separate page since it's a bit large and wouldn't work well on this blog.



Note the "ad" at the top, that's me available for some freelance work.

The table is an ordinary HTML table, manipulated using jQuery, the jQuery plugin tablesorter, and some JavaScript and CSS.

The page has been tested in IE7, Firefox 3, Google Chrome, Safari 4 beta for Windows, but if you find anything doesn't work, let me know, and I might fix it.

Thursday, 6 November 2008

Is disabled disabled?

In HTML boolean attributes can be set on elements without a value. For instance, an option of a select could be selected using <option value='1' selected>, a checkbox could be checked using <input type='checkbox' checked>.

In XHTML attributes are not allowed without a value, as that is not valid XML. Attributes are required to be 'unminimized.' E.g. selected becomes selected="selected", checked becomes checked="checked" and disabled becomes disabled="disabled".

Ah. Disabled is disabled? So surely that means the element is enabled? I know it makes perfect sense to keep the standard standard, but surely if you come to XHTML without the historical information and find out that disabled="disabled" means that the element is actually disabled, this just looks plain odd, weird and wrong?

Tuesday, 28 October 2008

Stupid design



Recently at my workplace the water coolers and the water boilers have been replaced by a machine which does both. It's very simple. It has a green light to indicate it is on. If you press the big button you'll get icy cold water. And if you press the small button on the left, the green light turns red to indicate there is enough hot water and that by (quickly!) pressing the big button before the light turns back to green you'll get hot water.

Great. Apart from the short time you're given to acquire the hot water when it is available, can you see something else that is flawed in this design?

A light that changes between red and green. Most colour blind people can't distinguish between the two. Great. Now how do they know whether there is hot water, other than by sticking their finger in the either freezing cold or scolding hot stream of water?

But it is even worse!

Because there are not two colours! There are three! Apparently the light turns yellow as well. I'm colour blind, but have no problem with red and green. Green and yellow on the other hand...

The above is how I thought the machine worked, but for people without my kind of colour blindness, it apparently works like this:

The light is yellow to say "there is no hot water", green to say "there is hot water" (or was that the other way around? I can't remember, and I can't check, because I can't tell the two apart!) and red to say "thanks for pressing the small button on the left and as a thank you I might just give you hot water if you press the big button. But only if you're quick enough."

Stupid design.