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.

Monday 23 June 2008

Star struck

John reminded me just now about the first time I saw a hummingbird in real life. Where I come from you only get them in nature programmes on the telly, not outside hovering near flowers. I don't think I ever realized where they do appear in the outside world, so when I saw one I was absolutely star struck: "Look, it's a hummingbird, off the telly!". I was in a suburb of Goleta trying to find the local supermarket on my first day there, and noticed a couple of really really big "bees" hovering above a tree, about three meters above the ground. Imagine my joy when I realized I was going to see them most mornings having their breakfast outside my kitchen window.

I had a similar experience years later (a couple of years ago now, blimey, I'm not getting any younger) when I visited the Grand Canyon and noticed a big vulture sitting below us. Someone uttering "condor" made me forget about the Grand Canyon ("just a big hole in the ground after all") and stare star struck at the condor. "Look, it's a condor, off the telly!". Apparently some California Condors I had seen going nearly extinct on the telly had been moved to the Grand Canyon to thrive.

Wednesday 30 April 2008

Een fijne dag zonder nederlandse collega's!

Een van de vreemde ervaringen van het wonen in het buitenland is dat de dagen die je in je oude land als nationale feestdagen had in je nieuwe land niet altijd feestdagen zijn.

Kerst en nieuwjaar is vrij universeel in het westen - al is tweede kerstdag bijvoorbeeld een werkdag in de VS - maar hier in Engeland is tweede pinksterdag bijvoorbeeld geen vrije dag.

Mijn "probleemdag" is voornamelijk koninginnedag. Hemelsvaartsdag en tweede pinksterdag zijn ook geen vrije dagen, maar die vallen nog wel eens in de buurt van de twee vrije dagen die ze hier in mei hebben en omdat ze ieder jaar op een andere datum vallen weet ik nooit wanneer ze werkelijk zijn, dus merk ik ze niet echt meer op. De twee bank holidays in mei vervangen deze twee dagen met veel plezier.

Koninginnedag daarentegen valt altijd op 30 april en dat zie ik dan ook de hele maand april al aankomen. In Nederland vierde ik koninginnedag meestal niet meer dan "hoera vrije dag" dus nu ik hier in Engeland zit voel ik dan ook niet echt dat ik de festiviteiten mis, maar die vrije dag was best leuk geweest.

Ik mis koninginnedag duidelijk genoeg om er een blogpost over te schrijven, maar na een paar jaar is de pijn toch wel een stuk minder. Wellicht helpt het dat ik geen nederlandse collega's meer heb, die me aan hun vrije dagen helpen herinneren!

Monday 28 January 2008

Fokke en Sukke filteren het nieuws

Mijn kijk op Nederlands nieuws is, sinds ik in Engeland woon, voornamelijk beperkt tot de cartoons van Fokke en Sukke. Er zijn genoeg andere sites via welke ik ook nieuws ontvang en ik zou makkelijk verder onderzoek kunnen doen, maar de cartoons fungeren als een prettig filter.

Soms heb ik geen enkel idee waar het over gaat, zoals in "Fokke en Sukke hebben niet ondertekend" en "Fokke en Sukke rehabiliteren Marinus van der Lubbe."

En soms herken ik dan wel de namen van de gedupeerden, zoals in "Fokke en Sukke zijn nog niet gevraagd," maar dan heb ik nog steeds geen idee waar het over gaat.

En wat belangrijker voor me is: ik heb ook niet altijd de behoefte om te weten welk nieuws er achter de cartoon schuil gaat. Ik vraag me af of Fokke en Sukke geschreven wordt in de hoop dat de grappen ook buiten de context werken. Het zou de verkoop van hun jaaroverzichten waarschijnlijk ten goede komen.