Wednesday, February 14, 2007

Obie's software opinions

Ruby author Obie Fernandez has some interesting opinions about software development. I like this one:
“When it comes to delivering a successful project, developer motivation and productivity trump other factors.”

Dialog Boxes: Stopping the Proceedings with Idiocy

Jeff Atwood points out that dialog boxes, especially modal ones, are often unnecessary and in the words of interaction designer Alan Cooper are simply “stopping the proceedings with idiocy”. Jeff gives the following quote from Alan's About Face 2.0:
“There is a particular form of excise that is so prevalent it deserves special attention. In Chapter 9, we introduced the concept of flow, where the user enters a highly productive mental state by working in harmony with his tools. Flow is a natural state, and people will enter it without much prodding. It takes some effort to break into flow after someone has achieved it. Interruptions like a ringing telephone will do it, as will an error message box. Most interruptions are avoidable; a few aren't. But interrupting a user's flow for no good reason is stopping the proceedings with idiocy and is one of the most disruptive forms of excise.

Poorly designed software will make assertions that no self-respecting individual would ever make. It states unequivocally, for example, that a file doesn't exist merely because it is too stupid to look for it in the right place, and then implicitly blames you for losing it. A program will cheerfully execute an impossible query that hangs up your system until you decide to reboot. Users view such software behavior as idiocy, and with just cause.”
I know that programmers frequently implement error handling strategies without much consideration for the users' experience. After all, they want to find out all about the errors before the user gets the application, so the end-user experience is bug-free. Whilst laudable in its intent, this ignores the fact that often the 'bug' is simply the failure of the application to meet the user's expectations.

If we look at web applications we can see that designers have moved away from popup error messages to ones embedded within the page the user is acting upon. Validation warnings that are unobtrusive, but yet noticeable, are perhaps the best example of this. Sometimes a modal dialog box is necessary, but application developers need to be aware that the end-user is often only annoyed by, rather than informed, by the messages our applications give them. It's something I will be thinking about the next time I start coding.

Sunday, February 11, 2007

Global Warming is like the Dotcom Boom

It occurred to me this weekend that global warming is much like the dotcom boom of the late 90's. Just when everyone thinks they understand what is happening and is ready to jump aboard - reality steps in and pulls the rug out from under the whole thing.

In fact, it is following the trend for people to only buy into something after it's past it's use-by date, like the housing boom in Australia, the stock market boom in the mid-80s and a plethora of other examples of social behaviour at work. The difference is that this time, the Emperor will really be revealed to be wearing no clothes, much like he was in the dotcom boom.

In Australia we now have both political parties talking global warming, the State governments waving their green credentials and the Greens suggest bold and economically disastrous solutions such as stopping coal mining in Australia. However if you look closely the politicians are playing doubting Thomas, mouthing nice platitudes but basically playing a waiting game in the hope that the hot air around global warming will cool down in time to avoid them committing to disastrous Greens policies.

You wouldn't even need to be into conspiracy theories to see SMH's Miranda Devine's point here:
“By creating a bogeyman scarier than Islamic terrorism, but one which, we are told by eminent personages such as Al Gore, it is possible to defeat, given the political will, using the infallible weapon of science, we are back in control of our destiny.

We don't care how much it costs because we're rich. And it has the added bonus of being global, creating a common abstract enemy to unite all of us here on earth. Nice idea if it works.”
Going back to the scientific facts, there are some interesting reports that increase the doubt factor in the IPCC's recommendations.

New evidence has emerged that global warming has less to do with human causes than the IPCC would have us believe. The Telegraph reports that Danish research into solar effects on global warming has revealed that as well as the simple increase in heat due to extra radiation during active periods, there is an additional effect of reducing cosmic radiation due to magnetic activity that reduces cloud formation (most excellent image courtesy of the Telegraph).
“Henrik Svensmark, a weather scientist at the Danish National Space Centre who led the team behind the research, believes that the planet is experiencing a natural period of low cloud cover due to fewer cosmic rays entering the atmosphere.

This, he says, is responsible for much of the global warming we are experiencing.

He claims carbon dioxide emissions due to human activity are having a smaller impact on climate change than scientists think. If he is correct, it could mean that mankind has more time to reduce our effect on the climate.”
Svensmark has also released a book, co-authored with science writer Nigel Calder, called The Chilling Stars. Calder makes the case for cosmic radiation influencing cloud formation in a recent Times article.

It also appears that reports of the demise of Greenland's glaciers were premature, with a new report indicating they are now back to growing again.
“Using satellite-derived surface elevation and velocity data, we find major short-term variations in recent ice discharge and mass-loss at two of Greenland's largest outlet glaciers. Their combined rate of mass-loss doubled in less than a year in 2004 and then decreased in 2006 to near the previous rates, likely due to fast re-equilibration of calving front geometry following retreat. Total mass-loss is a fraction of concurrent gravity-derived estimates, pointing to an alternative source of loss and the need for high-resolution observations of outlet dynamics and glacier geometry for sea-level rise predictions.”
We can blame some of the IPCC's problems on the fact that it has a fairly early cut-off date for relevant articles, which means it is more a record of the science a year or two ago than now. But the glorying of our modern druids in the supposed confirmation of Mother Earth's intolerance of human technological progress is sickening, and will probably be looked back on like the dotcom boom - as a good idea gone bad.

[UPDATE: The SMH has also caught onto the good news about clouds.]

Monday, February 05, 2007

News.com.au Standards Dropping

It seems that in recent months News.com.au has allowed its online journalists to get away with a (relatively) large number of grammatical errors. Often they are at the end of a large piece rushed out in response to breaking news, but sometimes I just wish they'd read it one more time before going live. Check out today's typo on the Superbowl results (scroe for score):


However their greatest crime is when they out out a story headline on RSS without any body text. To be fair to the journalists this may be a problem with their CMS pushing out RSS feed changes at set intervals, without regard to whether an item is completed yet or not. The end result though is that the reader sees an attention grabbing headline, clicks to read the story and is presented with nothing more than a headline and a blank page.

It seems obvious to me that mainstream media such as News Corporation need to learn to play online, but they also need to maintain their existing high standards. I wonder if some of the slackness is because Rupert's so focussed on the TV and print editions that he can't keep an eye on the web editions of his newspapers? (of course that begs the question of why you would rely on one senior exec for such oversight ...)

UPDATE: The images below show the version of a story that the RSS page takes you to and the same story in full. It looks like one explanation for the difference might be that they are trying to publicise stories that they show in their entertainment area's Flash-driven story viewer. It's a pain however for RSS users who then will need to search their website for the full story.

Thursday, February 01, 2007

Sydney disaster data simply rehashed 2004 research

The NSW State government has been caught red-handed recycling their climate data. Apparently yesterday's 'exclusive' for the Daily Telegraph was simply the re-hash of a bunch of numbers from a 2004 report.
“Dr Preston said details specifically relating to Sydney had been extracted from the 2004 study and republished this week in what he described as "a brochure". Similar brochures, also based on the 2004 study, were being prepared for all NSW's water catchment areas. "There is no new research in this," he said.

Mr Iemma later acknowledged the data had been released in September 2004 by his predecessor, Bob Carr, and that the latest report was a "new cut" of Dr Preston's work.

"Well, this new cut looks at Sydney," he said. "This further analysis is confirmation that we don't need to be looking for the impact, it's here. Hence my call for a national summit and a national action plan."

The Opposition environment spokesman, Michael Richardson, called the report a "stunt" and said the Government should introduce stricter renewable energy targets.”
So this was just a publicity stunt that the Daily Telegraph fell for, and now their rival paper the Sydney Morning Herald has uncovered?

They put the boot into Premier Morris Iemma in a related story.

Wednesday, January 31, 2007

Climate change update

The classy science policy guys at the Prometheus blog ask what does "policy neutral" mean to the IPCC? They've got an interesting point of view on the slant that the IPCC's latest report will take, especially as the IPCC claims to be policy neutral:
“The past reaction to my comments on political advocacy by IPCC leadership has been mixed. Some who share the IPCC's advocated agenda see no problem in the IPCC leadership engaging in such advocacy. Who wouldn’t want such a group perceived as authoritative and legitimate on their side? (Similarly, I am sure neo-cons would welcome a CIA Director advocating action on Iran!) By contrast some opposed to the advocated agenda have seized upon the obvious inconsistency in the IPCC’s views on "neutrality" to try to impinge the credibility of the organization. From my perspective, while both of these perspectives are to be expected (and I am sure will make their views known in response), there is a third view that matters most -- and that is the question of the appropriate role of organized expertise in decision making, whether it is the CIA or IPCC. This last view is quite independent of (or it should be) what one thinks about the issues of climate policy.”

Margaret Wente at the Globe and Mail has written a great article that condenses much of the current climate change debate into a manageable summary; Climate change a 'questionable truth' is fantastically quotable due to the number of respected scientists she talks to, and the depth of their responses about climate change issues. Here are a few of the more interesting ones (emphasis mine):
“The very great uncertainty of long-term climate impacts is a point that often gets lost in the debate. The scenarios range from mild to severe, but it's the extreme ones that get the ink.”
and
“The climate debate focuses almost entirely on mitigation (how we can slow down global warming). But climate scientists and policy experts say that in the short term — our lifetimes — our most important insurance policy is adaptation. Nothing we do to cut emissions will reduce the risk from hurricanes or rising seas in the short term. But there are other ways to reduce the risk. We can build storm-surge defences, stop building in coastal areas and make sure we protect our fresh-water supplies from salination. We also can develop crops that will do well in hotter climates.

“Adaptation” is not a word that figures much in climate-change debates. Activists (and much of the general public) think it sounds lazy and defeatist. But the experts talk about adaptation all the time.

“Climate-change policy requires that both of these issues — adaptation and carbon reduction — be addressed simultaneously,” Yale's Prof. Mendelsohn says.”

Environmental campaigner Tim Flannery (and 2007 Australian of the Year) laments that scientists need more freedom to research Australian-specific climate change factors and to spend less time helping make industries such as coal 'clean'. The reality is that both are required, but he does bring up some interesting research:
“Over the past 50 years, forest clearing and industrialisation in Asia have produced a haze of tiny particles called aerosols that hang perpetually over the south Asian landmass. This haze cools the region, and in doing so alters the temperature and air pressure gradients across the Indian Ocean.

It is most likely these changes that have increased the tendency of monsoonal winds, and the rain they bring, to flow across Australia. So important is their impact that without these aerosols, some models show that global warming would cause northern Australia to become even drier and sunnier than it was in 1950.

Studies such as these underline the need for government policy to be underpinned by fundamental science. Unfortunately, this is not what we have seen in Australia over the past decade. Instead, scientists have been told to become more relevant to industry, and increasingly organisations such as the CSIRO have been reorganised to work with partners such as the coal industry. This has left us in a dangerous position, flying partially blind into a rapidly changing future.

Australians need to be sure we are making the right decisions on climate change. Aerosols last only weeks or days in the atmosphere, and if Asia cleans up its industry and air (there are signs that this is already happening), northern Australia's rainfall may decline precipitously.”
Great. So now we don't want our neighbours to stop polluting their air ... clearly whether the world addresses climate change (or not) adaptation will be required.

Neville Nichols from Monash University, an IPCC contributor, is brought in on Australia's current dry spell (emphasis added):
“Nicholls says while the consensus of most climate scientists is that it is possible that man-made climate change may be at least contributing to the present dry period, it is certainly not its root cause. He sees a real danger in the public being swept up in the belief that the drought has been caused by climate change.

"I think there is this feeling in the community linking this drought to climate change, and the great worry with that is that when it does rain they will think all that stuff about climate change is rubbish," he says. "We are experiencing this really intense one-year drought which probably has almost nothing to do with climate change, it just seems like it's a natural thing, and there is the possibility that the longer-term drought that we've had might just be natural variability, but the problem is (that) as far as anything in science is certain, we're definitely getting warmer temperatures because of the enhanced greenhouse effect."

Nicholls's dollar-each-way observations are typical of those closest to the debate and most qualified to comment.

They have left a vacuum in the public debate that has been filled by commentators less constrained by the science.

...

High-profile environmental commentators such as Tim Flannery have done plenty to fuel this populist thinking. His engaging blend of genuine science with hand-picked factoids and a dose of fear has long since blamed the drought on climate change, warning of rising food prices and referring to the erroneous claim at the water summit last year by South Australian Premier Mike Rann that this is a one-in-1000-year drought.”

The Australia Institute have presented a report about possible nuclear reactor sites, which they point out is “one of the most politically contentious aspects of the nuclear debate.” Unsurprisingly, given their left-wing position, they chose to focus on this aspect in their report, emphasising people's fears:
“Report author Andrew Macintosh said the fact that nuclear energy attracted moderate levels of support at a general level but fierce opposition from local communities when concrete proposals were put forward suggested the presence of the not-in-my-backyard (NIMBY) phenomenon.

...

Greens senator Kerry Nettle said the report unsurprisingly showed that populations close to the suggested sites did not want nuclear power plants.

"Instead of talking about 25 possible nuclear power plants, the prime minister should be looking for another 25 sites for major wind power stations and another 25 solar power stations," she said.”
Unfortunately we are unlikely to get anyone to want wind stations or solar power sites next door to them either ... so why does this study invalidate the pursuit of nuclear energy as a viable alternate energy source? I wonder how long it takes before some enterprising local council works out that the impact on jobs, industry and local living conditions of a nuclear power plant far outweighs the potential and theoretical downsides? All I know is that if I move up to the Central Coast I would far rather have the local coal power plant shutdown and a smaller footprint (physical and environmental) nuclear plant take its place.

The NSW State Government has asked the CSIRO to reflect on the potential impacts to Sydney of global warming, and it appears that devastation is expected unless we adapt:
“The CSIRO report warned that the city must work out how to adapt quickly, with the impacts of human-caused global warming now apparently inevitable.”
It's a shame that Narrabeen is one of the suburbs they say will be most damaged - but in reality much of it is built on sandbar anyway, and in 'normal' years you can expect big storms to wash over much of it.

In summary, climate change alarmists are getting shriller, Australian State and Federal governments are still using 'independent' reports to fight their political battles, and real policy approaches to adapt to and minimise the effects of climate change are still nowhere in sight. The next Federal and NSW State elections will be very interesting - if things continue as they are we can expect more gradual policy changes, if either government changes then we might see a much faster move in either direction.

Monday, December 25, 2006

Merry Christmas!

I wish you all a Merry Christmas for 2006. May your families be kept safe, and your bellies be protected from too much good food. May the weather be perfect, and the company pleasant.

Also, Happy Birthday to Jesus, the Christ, our saviour and king.
“Do not be afraid. I bring you good news of great joy that will be for all the people. Today in the town of David a Savior has been born to you; he is Christ the Lord. This will be a sign to you: You will find a baby wrapped in cloths and lying in a manger.”