Hacking a Canon digicam

For a number of years now, I have been recommending the Canon Powershot series of point and shoot digital cameras to everyone thinking of buying a relatively inexpensive but surprisingly capable digicam. Thanks to a firmware hack called CHDK, it seems they can be made even better. You can activate features normally available only on much higher end cameras, such as live histograms and taking pictures in RAW format.

Unfortunately, the A510 that I use to take all the photos on this blog is too old for the software. When it finally kicks the bucket for good, I may well buy a camera that can me modded in this way.

I learned about this via flying penguin.

Moral obligations to view advertising?

Ashley Thorvaldson and Brian Mulrooney

Normal users of the internet are frequently confronted with banner ads: often obnoxious graphics trying to hock all manner of products and services. More sophisticated users will now find themselves a bit surprised, when using a public computer, because they long ago stopped seeing these displays on their own machines. This trick is achieved through the use of the Firefox browser, the AdBlock plugin, and Filterset G. With these three pieces of code running, the vast majority of graphically based ads on the internet simply vanish.

Now, an editorial on CNet suggests that using such technology may be immoral. In effect, web sites are providing you with content in exchange for your pupils grazing ever-so-briefly across the advertisements that pay their bills.

While I don’t feel convinced one way or the other about the moral issues involved in this particular case, it is an interesting kind of moral problem. The nature of what is ‘theft’ in a digitized world remains an intensely disputed one. This is the fundamental product of going for a world where products cost a significant amount per unit (with additional costs for design) to one where things may cost a lot to design, but can often be copied for free. That goes for everything from pop CDs to New York Times editorials, and dealing with it is one of the more interesting legal and business issues of the present time.

Poor cats…

Conversation overheard today, walking along Rideau Street:

A: Oh, these academics.

B: I know.

A: They are so impossible to deal with.

B: Oh, I know.

A: You know what they say. It’s like hurting cats.

B: It sure is.

It reminded me a bit of The Sopranos, with all the running gags relating to mis-remembered quotations.

Peering into metal with muons

When cosmic rays collide with molecules in the upper atmosphere, they produce particles called muons. About 10,000 of these strike every square metre of the earth’s surface each minute. These particles are able to penetrate several tens of metres through most materials, but are scattered to an unusual extent by atoms that include large numbers of protons in their nuclei. Since this includes uranium and plutonium, muons could have valuable security applications.

Muon tomography is a form of imaging that can be used to pick out fissile materials, even when they are embedded in dense masses. For instance, a tunnel sized scanner could examine entire semi trucks or shipping containers in a short time. Such tunnels would be lined with gas-filled tubes, each containing a thin wire capable of detecting muons on the basis of a characteristic ionization trail. It is estimated that scans would take 20-60 seconds, and less time for vehicles and objects of a known configuration.

Muons have also been used in more peaceful applications: such as looking for undiscovered chambers in the Pyramids of Giza and examining the interior of Mount Asama Yama, in Japan.

Desalination

Grim building

Water scarcity is a frequently discussed probable impact of climate change. As glaciers and snowcaps diminish, less fresh water will accumulate in the mountains during the winter; that increases both flooding (during wet seasons) and drought. Higher temperatures also increase water usage for everything from irrigation to cooling industrial processes. Given the extent to which the world’s aquifers are already depleted (see: Ogallala Aquifer), relatively few additional natural sources exist.

The big alternative to natural sources is the desalination of seawater. This is done in one of two ways: using multistage flash distillation or reverse osmosis. About 1,700 flash distillation plants exist in the Middle East already, processing 5.5 billion gallons of seawater per day (72% of the global total). These plants use superheated steam, a by-product of fossil fuel combustion, to pressurize and heat a series of vessels. As salt water flows into each successively lower pressure vessel, it flash boils. Condensers higher in the vessel cause the fresh water to precipitate out from the hot pressurized air solution. This is a simple process, but an energy intensive one.

Reverse osmosis, by contrast, uses a combination of high pressure pumps and specialized membranes to desalinate water. Essentially, the pressure drives fresh water through the membranes more quickly than the accompanying salts. As such, it is progressively less saline with each membrane crossing. In this process, there are both relatively high energy requirements (for high pressure pumping) and the costs associated with building and maintaining the membranes. Because it can be done at different scales, portable reverse osmosis facilities are the preferred option for combat operations or disaster relief.

Unfortunately, both processes are highly energy intensive. Particularly when that energy is being generated in greenhouse gas intensive ways, this is hardly a sustainable solution. Part of the solution is probably to sharply reduce or eliminate water subsidies – especially for industry and agriculture. More transparent pricing should help ensure that the whole business of desalination is only undertaken in situations where the need for water justifies all the expenses incurred.

Hydrogen and AAs

Steel bridge struts

At a party this weekend, I had a conversation with someone who believed that the energy needs of the future would be solved by hydrogen. Not hydrogen as the input for nuclear fusion, but hydrogen as a feedstock for fuel cells and combustion engines. It’s not entirely surprising that some people believe this. For years, car companies have been spouting off about hydrogen powered vehicles that will produce only water vapour as emissions. The Chevron game mentioned earlier lets you install ‘hydrogen’ electricity generating capacity. The oversight, of course, is that hydrogen is just an energy carrier. You might as well say that the energy source of the future will be AA batteries.

AA batteries are obviously useful things. They provide 1.5 volts of power that you can carry around with you and use to drive all manner of gadgetry, but they are hardly an energy system unto themselves. The chemicals inside them that create their electrical potential had to be extracted, processed, and combined into a usable form. Inevitably, this process required more energy than is in the batteries at the end. The loss of potential energy is a good trade-off, because we get usable and portable power, but there is no sense in which we can say that AA batteries are an energy system.

A similar trade-off may well eventually be made with hydrogen. We may break down hydrocarbons, sequester the CO2 produced in that process, and use the hydrogen generated as fuel for cars. Alternatively, we might use gobs of electricity to electrolyse water into hydrogen and oxygen. Then, we just need to find a way to store a decent amount of hydrogen safely in a tank small, durable, and affordable enough to put in vehicles; build fleets of vehicles with affordable fuel cells or hydrogen powered internal combustion engines; and develop an infrastructure to distribute hydrogen to all those vehicles.

When you think about it, hydrogen seems less like a solution in itself, and more like the possible end-point of solving a number of prior problems. As far as ground vehicles go, it seems a safer bet to concentrate on improvements to rechargeable battery technology.

Public broadcasters and the web

The existence of the internet changes the economic logic of public broadcasting. Where, at one point, the BBC was a collection of channels, each showing one bit of their vast archive at a time, now much of it is online. That creates a huge database of materials, paid for by taxpayers, and ideally free to be accessed without copyright concerns. Being able to view documentaries like Dangerous Knowledge upon demand is a notable benefit, and one not adequately captured by private sector content generators who are not concerned about societal benefits not captured in their profits.

If all the world’s national broadcasters and other public generators of knowledge would open up their libraries comprehensively, it could make the internet an even more valuable thing than it already is. Unfortunately, that process seems likely to be piecemeal and marked by set-backs. Witness the BBC iPlayer dispute.

Don’t steal my focus

Mural on Somerset Street, Ottawa

Using a computer before multitasking is a concept so alien as to be almost unimaginable. Imagine, working with an Excel spreadsheet and Word document, having to close down one program entirely before you could use another. At the same time, the profusion of programs on the contemporary desktop brings problems of its own. The one that bothers me most is probably ‘focus stealing.’ (‘Focus theft’ would be correct, but I have never seen the term used.)

Say you are in the middle of typing an email. Suddenly, some irksome and entirely unrelated window appears, telling you that updates are available for X piece of software, or acknowledging that file Y has downloaded. Focus is stolen, and dealing with both tasks in a jumble takes a lot more time than dealing with them sequentially would have been.

At the root of this is a failure of design. The first failure is on the part of the application designers. Non-urgent messages should not pop up in the middle of other tasks. The same rule should be applied by people who create operating systems. They also have the opportunity to build annoyance prevention mechanisms right into the operating environment. Ideally, there should be three possible levels of notification:

  1. Urgent system messages: if my battery is going to die in sixty seconds, I need to know it.
  2. Notification of messages from a real human being who is actually online and who you are talking to. Most instant message programs are pretty aggressive about making this fact known, but Skype hides all non-call events like dirty secrets.
  3. General announcements like ‘you have email’ or ‘this software can be updated.’ Ideally, it should be possible to group all of these and get them as a digest every hour or so.

A few such features would probably garner a lot more appreciation – over the long term – than creating shiny new user interfaces.