Ottawa Biking Problems

Ottawa Biking Problems is a website that lets people report dangerous or inconvenient cycling facilities in Ottawa. The site includes a summary of some of the worst problems in town.

All told, this seems like quite a good idea. It allows information to be aggregated in a useful way, which could help the city to fix the most serious problems first.

Some cycling safety issues have been discussed on this site before.

The peak-end rule

Some psychological insights have a great deal of practical importance. It seems to me that the ‘peak-end rule’ is among these. Essentially, the idea is that when remembering an experience like a medical procedure or a vacation, our recollection is strongly coloured by the most intense portion of the experience and by the ending. Sam Harris mentions this on p.77 of the hardcover version of The Moral Landscape: How Science Can Determine Human Values. It is also mentioned in Paul Bloom’s free series of psychology lectures.

The insight has practical value when it comes to unpleasant experiences. Harris describes how prolonguing the least painful portion of a colonoscopy (at the end) reduces how much pain patients later recall having experienced. It seems to me that the insight could also be exploited when planning pleasant activities. If you are setting up a concert, art show, or vacation, it seems like a good idea to include something that will serve as a positive and engaging emotional peak and to put some effort into ending things well.

Setting up a strong emotional peak could also benefit those hoping to cultivate romance. As mentioned before, people misattribute excitement unrelated to a person who they are getting to know. While it might be the scary movie or the rollercoaster that is causing your heart to pound, some part of your brain may wrongly attribute the feeling to the person who you are sitting beside.

Science and morality

I encourage readers to pick up a copy of Sam Harris’ The Moral Landscape: How Science Can Determine Human Values. A friend and I are already reading it, with the intention of discussing it, and my preliminary experience suggests that it will provide good fodder for discussion.

Harris argues that what is good and what is bad ultimately depends on the experiences of conscious beings. Since science can illuminate what those experiences are like and what triggers them, science can speak on moral questions.

Harris also questions the moral authority accorded to religions. Just as religions teach deeply misleading things about the physical nature of the universe (such as that it is 6,000 years old, was created in six days, and contains unchanging species), they arguably teach deeply misleading things about morality, since their prescriptions fail to encourage the well being of conscious beings.

Rather than leap into discussion of these ideas now, I encourage readers to buy or borrow the book. It will be more interesting to discuss on the basis of all of its contents, rather than on the basis of my brief comments on some of the early pages combined with the pre-existing beliefs of myself and readers.

A pan-European electricity grid

Last month, The Economist made a convincing case that a pan-European electricity grid could help Europe move to a future more compatible with a stable climate:

This offshore grid is the germ of a big dream: a Europe-wide system of electricity highways. If it makes sense in the North Sea, it makes even more for wind and solar power from Spain and, one day, solar energy from the Sahara desert. And as well as Norwegian reservoirs, why not store power in existing Alpine valleys? This would reduce the need for more power stations to balance the spikes and troughs of renewables. Moreover if producers could trade energy over the grid in a single market, the benefits could be bigger still. European officials reckon energy savings of some 20-25% would be possible.

Such ideas have nostalgic appeal because the European Union was born from a move to pool energy sources in 1951 in the European Coal and Steel Community. These days the EU can be the community of wind and sun, not to mention gas and nuclear power. The trouble is that such dreams are not cheap. The European Commission this week said that €1 trillion ($1.4 trillion) of investment would be needed in the next decade. Most should come from the industry, but a chunk must also come from already tight public budgets.

They are wrong, however, to claim that rising natural gas consumption is not a major problem. Burning gas may be a better way to get a kilowatt-hour of electricity than burning coal, but both are unacceptable in a world where carbon dioxide concentrations are already dangerously high.

Europe’s improved grid should be connecting energy demand centres to diverse and disparate sources of renewable wind, solar, geothermal, and tidal energy – not perpetuating dependence on fossil fuels.

Mythbusters

For the unfamiliar, Mythbusters is a television show in which a group of geeks test the validity of ‘myths’ about how the world works. Examples include whether poppy seeds can make a person fail a drug test, whether cell phones interfere with aircraft instruments, whether falling bullets can be lethal, etc.

While many of these questions can probably be answered with a reference text and as calculator, what distinguishes the show is how they set out to physically test the myths in question. Rather than just calculating how much helium it would take to lift one of them, they build a gigantic rig of 50 huge helium-filled tubes in a gigantic hanger.

In the past, I have been a bit bothered when they have done something physically that could have been very easily disproven with a bit of math. A little moment in an episode I saw yesterday changed my thinking a bit though. It was the demeanour of Adam Savage – one of the show’s two main hosts – when they were trying to make him buoyant in air by filling a small inflatable boat with helium. In the little clip, it is obvious that both he and Jamie Hyneman know perfectly well that the boat won’t have sufficient buoyancy. They do the physical test not because it is necessary, but because it illustrates their methodology.

As an XKCD comic points out, the lack of scientific rigour in some Mythbusters experiments is only a very minor basis for criticizing the show. It’s obvious that they put more thought into their trials than they have time to discuss on the show. For instance, testing the myth that Benjamin Franklin flew a kite in a thunderstorm with a key on the string, they mention in passing the use of an ‘authentic’ key. Furthermore, it seems clear that their major message is about the importance of empirical testing and verification, which is ultimately the best mechanism we have for making sure what we believe about the world is remotely accurate.

The show is a lot of fun, and I think it transmits some really important ideas about science. Their fondness for explosives certainly makes for enjoyable television. Furthermore, Kari Byron’s participation certainly doesn’t hurt the show’s entertainment value; she has to be one of the most attractive women in the entertainment industry, particularly when welding.

What’s up with dot comments?

Anyone who visits this site frequently will have noticed that there are often recent comments posted under the name ‘.’

The purpose of these is to provide supplemental or follow-up information on a topic already discussed. For instance, if someone comes across an interesting article relating to bank regulation or geoengineering or photographic lenses, they can append it to an existing discussion on that topic. Anybody can post these.

Having a list of related articles below posts serves several purposes: it helps people keep on top of new information on topics of interest, it makes this site a more useful reference for research purposes, and it contributes a diversity of opinion to discussions.

If there is a post or discussion on a topic of interest to you, you can sign up to receive updates by email. Just post a comment and check the ‘Notify me of followup comments via e-mail’ box. You can disable these notifications at any time, if you get sick of them.

Energy flow from a gas pump

Here’s a statistic that does a good job of demonstrating just how energy-rich fossil fuels are:

An ordinary gas station gasoline pump transfers about 16 megawatts (MW) of chemical energy while operating. That’s about ten times the power output of the Grouse Mountain wind turbine. For any particular span of time, a nuclear reactor puts out about as much energy as 63 gas pumps.

Also, as mentioned before, a barrel of oil contains energy equivalent to the energy output of an adult human working 12.5 years worth of 40 hour weeks.

Moving from GoDaddy to DreamHost

For the last few years, sindark.com has been hosted with GoDaddy – a firm I chose because they were inexpensive and seemed to have a decent reputation. Since then, I have had a number of problems with them. As a result, I decided not to extend my hosting contract with them, and to shift this site over to DreamHost, another hosting provider.

Non-technical people thinking of moving sites, be warned. It is not a painless process. In my case, it involved an awful lot of messing around in command prompts and hair pulling.

The trickiest thing is moving the MySQL databases that actually store WordPress posts and comments. For databases that are small, you can use a web interface to upload them to DreamHost. For larger databases, you need to export the old MySQL file, download it, upload it to your root folder on DreamHost via FTP, login to their server using ssh, create an empty database using their web interface, and then execute a command like this:

mysql -h mysql.examplesite.com -u exampleusername -pexamplepassword newdatabasename < olddatabasefile.sql

While I am sure that is all no big deal for some savvier tech types out there, the whole process was frustrating and a bit scary for me.

Please let me know if you are encountering any problems with the new setup. I know that – for some mysterious reason – photos of the day won’t load in Opera Mobile.