davidpritchard.org

Canadian Government Scraps Long-Form Census

· modelling & sci/tech, Transportation, Urban Planning

An appalling decision from the Canadian federal government today, reported by the Globe & Mail here: “Tories scrap mandatory long-form census” The census is a vital data source for all sorts of transportation and land use planning.  A voluntary census is nearly useless, since the sample will suffer from voluntary response bias.  This will do nothing to reduce the number of analysts and bureaucrats - provincial governments will be forced to step in and collect the same data themselves, but this will inevitably result in the loss of province-to-province comparisons. As for privacy, the alleged basis for this decision: Statistics Canada jumps through all sorts of hoops to ensure the privacy of respondents.  It would be difficult if not impossible to connect any of the published census data back to an individual.  Yes, the questions are detailed and probing; but the anonymization process used by Stats Can is tougher  than anywhere else in the world that I’ve seen.

Bryant and Road Rage

· Transportation · 1 comment

The judicial verdict is in on the sensational case of Michael Bryant. It sounds like a tragic case of a driver whose car’s stop/stall/roll action accidentally provoked an unstable bicycle courier, with tragic and ultimately fatal consequences. The driver appears to have behaved completely reasonably under the circumstances. The cyclist had a long history of aggressive confrontations and appears to have behaved in a threatening manner. I take no issue with the facts of the case or the judgment. However, the incident has taken on large proportions in the media and the cycling community, and I find the official legal summary wanting in this regard.  The crisp, neutral judicial language gives the document the air of Truth and Justice, when in fact it only represents The Law. The document answers the legal problem at hand, a judgment on dangerous driving, and therefore focuses entirely on what constitutes “reasonable driver behaviour” under the circumstances.  Lost in the context is what constitutes a reasonable cyclist’s reaction - and while the cyclist was not reasonable, an emotional reaction to having your rear wheel bumped is legitimate, and a subsequent furious reaction to being sent flying over the hood of the car is also fair.  Because the document is necessarily focused on the Law, all such points on the public debate of cyclist/driver perspectives and emotions are out of the picture.  Also lost in the discussion is any mention of the differences between car/car collisions from car/bike collisions - what may be a fender-bender in one context is an unnerving experience in the other, even if the vehicle doesn’t touch the cyclist’s skin, or if the vehicle is only going 13 km/h when it sends the cyclist flying over the hood. The cycling community’s discontented reaction to the case stems from a desire for the driver world to “please understand our feelings!”  Unfortunately, this particular cyclist’s aggressiveness makes it an unlikely to elicit any soul-searching.  Note however the pattern: whether the cyclist is in the wrong (this case) or in the right (2008 story with a cyclist’s amputated leg), the cyclist will always be the one who gets injured or killed. The morals: cyclists must hold their tempers, no matter the incident. And, there’s a profound lack of mutual understanding and respect still out there on the streets.

A passive Canadian’s portfolio

· Finance · 32 comments

After years of procrastinating, I’ve finally got my finances in order and done my homework on investment. I thought I’d write up a bit of my strategy for anyone interested or wiser than me.

I was relatively uninvested during the Fall 2008 credit crisis, and saw an ideal opportunity to get in and make some money. It was a dangerous time to learn the ropes and I only put money in slowly, with no expectation of “timing” the market’s true low point. As a result, I made nothing off the huge March 2009 dip - but no matter.

I’ve taken a fairly conventional asset allocation strategy - I’m young, and can afford a lot of risk, so my target is to have a high amount in stocks:

Continue reading

Winter cycling, Dutch style

· Transportation · 2 comments

Growing up in Toronto, I was a six-month cyclist and six-month pedestrian/transit rider. Since moving back a few years ago, I’ve been shifting to closer to ten months of cycling. I realized that I feel much better when I get that daily exercise and sunshine, and it’s considerably faster for getting around, chaining trips and running errands.
In the process, I’ve been trying to find the right bike for the job, and have just bought a pricy Dutch bike for the coming winter. My summer bike is out of the question; it’s a nice bike, and far too vulnerable to the winter salt, grit and filth.
Bicycle #1. I bought this road bike at the nadir of my student bank balance for $100. It’s as old as I am and a little too small. It handled reasonably well on the winter streets, the narrow tires were good at punching through the snow to find pavement, and the vintage handlebar-end shifters were easy to use with big mitts. The caliper brakes are the deal-breaker though: quite weak in wet conditions, and so tight around the wheel that I can’t have both fenders and knobbly tires. I rode it over the two winters of 2006-2008, when I lived in an apartment building. In that building, I could use the underground parking garage for cleaning and regular maintenance, and the bike thawed overnight in slightly-above-zero conditions. Rusting was a major problem: a new chain and rear cluster every spring, often cables as well, and a lot of surface oxidization wherever the paint had chipped off.

Continue reading

Subcultures & cycling

· Transportation · 1 comment

The Copenhagenize blog has some interesting thoughts on cycling and subcultures: do the various cycling subcultures (racers, couriers, mountain bikers) in North America get in the way of making cycling appealing to normal citizens? The subcultures define themselves by gear or attitude - and I think this is quite offputting for normal people. It’s like a world where choosing to drive made everyone think you were a Formula One fan or a fix-your-own-car-guy. That said, the various European cycle chic blogs are perhaps guilty of pushing another subculture: beautiful people.

Switched to Mac

· Computers

I’ve just bought a Mac Mini and retired my five-year-old desktop PC, an Athlon XP based system running the Ubuntu Linux distribution. With steady upgrades (especially a 2GB RAM boost), it was still quite usable, but the CPU was showing its age and the graphics were miserable. I’d tried fitting a new AGP card in, but the system rebooted randomly and I’m just not patient enough to suss out the source of the difficulty any more.

Most of my computer science friends made the leap to Mac four or five years ago, while I stuck it out with Linux for quite some time.

I ultimately made the jump for three main reasons:

  • Unix without the hassle of Linux. The terminal and macports/fink give me the full power of the Unix command line and most of the Linux toolset–but I get a polished GUI on top. To be fair, Ubuntu Linux had a pretty clean, simple GUI on top… but I really got sick of things breaking from release to release, and spending hours trying to figure out what was wrong. (Examples: PulseAudio in the 8.1/9.0 releases, Amarok2 in the 9.0 release, nVidia drivers in 8.1, etc., etc.) To be fair, Mac has its share of problems too–it looks like a lot of software has broken with the Snow Leopard release, especially in the macports/fink world. But the basics will almost always work, I think.
  • Low power consumption and quiet. I’m really impressed by Apple’s commitment here: 15W / 30W power consumption on the Mac Mini (idle / active), versus 64W / 100W for a typical minitower PC. I did a bit of research on this, and PCs have certainly improved over the last 5 years—the new Energy Star-rated “80 plus” power supplies are certainly decent. But the killer these days appears to be graphics: a dedicated PCI graphics card really sucks juice, while the Mac Mini uses a graphics chip optimized for notebook systems. The Mac Mini’s chip isn’t the hottest on the market, but is still capable of playing many current graphics-hungry games like Quake 4. And because the chip is designed for notebooks, it’s very power efficient.
  • Futureproof…? I’d like to be able to continue using this system for at least five years. This is always a challenging game to play—parts come and go, new operating system versions come out, new media are invented. That said, USB and Firewire allow a lot of the customization to happen outside the box now, and the main things that are inflexible are processor, RAM, graphics and software. I’m most concerned about the software—I wouldn’t be surprised if Apple orphans the Mac Mini down the road, given the hands-off treatment of the first Mac Mini model. That said, as long as I can load Linux on it once Apple drops support, it’ll continue to be useable. We’ll see what happens.

At first blush, it looked like the Mac Mini was within $100-$200 in price of a comparable spec PC. I spent a while trying to ensure that I was making an objective decision without being seduced by Apple’s slick, glossy emotional appeal. In the end, the PC makers dropped prices dramatically for the back-to-school season, and there was no price contest; I paid a full $250 more for the Mac Mini with slightly poorer specs. I’ve justified this to myself on the basis of wanting a truly good operating system, and getting a truly energy-efficient computer.

Google Map updates

· Transportation · 5 comments

Several years ago, I put together some Google Maps for the Vancouver and Toronto transit systems. In light of the expected opening of the Canada Line in Vancouver on August 17th, I took a shot at updating the maps. In the interim, though, Google has made some big advances in its handling of transit. They have a full database of rapid transit stops in Toronto (GO and TTC subway), and a layer that shows the TTC subway lines as well. York Region has provided Google with full local bus data, including schedules, and Google Maps does a fairly nice job of showing that information. That said, the visuals for the transit system aren’t the most attractive, the lines showing the GO rail network are hard to see, and other major transit facilities don’t jump out at the viewer (like the York VIVA BRT Light system or the Spadina streetcar). And in Vancouver, Google still has zero data. So, my maps still serve a purpose. The changes in this edition are:

Greater Toronto Hamilton Area

  • Added York VIVA Blue and Purple lines
  • Changed Toronto colour scheme to colour code by operator (TTC, GO, VIVA) rather than by line. Changed line thickness to represent “all-day” vs. “peak only” service
  • Added links to TTC and GO station websites
  • The debate over “what to include on the map” is growing in my mind. Should St. Clair and Spadina be in, since they have partial segregation from traffic? Should the north half of VIVA Blue really be in, when it has 15 minute frequencies in the peak hour and operates in mixed traffic?

Metro Vancouver

  • Removed 98 B-Line and moved Canada Line to the “present day” map. Updated Canada Line alignment, added numbers of connecting buses.
  • Changed colours to match latest TransLink map, and changed line thickness to represent “all-day” vs. “peak only” service

Codebase

  • Moved to more modern Google APIs now that they exist (e.g., GMarkerManager)
  • Removed labels from map - the Toronto map in particular was far to cluttered, and the speed penalty for showing the labels was too high. They’re still there, but only if you move the mouse over a station icon.

Visualizing Carbon Stores

· Climate Change

I’ve been busy reading more on transportation and climate change over the last few months. Before I post any more “big” articles, I wanted to take a moment to praise one pair of figures from David MacKay’s great book, Sustainable Energy Without the Hot Air. It’s available free online, but I thoroughly recommend buying the elegantly typeset, figure-filled hard copy. MacKay’s great strength lies in communicating numbers: using these simple, visual representations, a single consistent set of units throughout the book, and back-of-the-envelope calculations that are designed to illustrate the cases at hand, he’s assembled a solid book. MacKay doesn’t cover the politics or economics, and he doesn’t frame the book in terms of climate change, although that’s clearly the key underlying motivation. Here’s the background: an example of a simple visual story, showing why burning fossil fuel reserves represents a massive change to the climate system. I’m going to paraphrase MacKay to cut to the chase, but if you prefer, please read MacKay’s original text, pages 241-243. Throughout the book, MacKay uses a type of figure where the area of a box represents its size. The bigger the box, the bigger the number, and it’s really easy to visually compare different boxes. [caption id="" align=“aligncenter” width=“330” caption=“Figure 1: Estimated amounts of carbon, in gigatons, in accessible places on the earth.”][/caption] “Until recently, all these pools of carbon [shown in the above figure] were roughly in balance: all flows of carbon out of a pool (say, soils, vegetation, or atmosphere) were balanced by equal flows into that pool. The flows into and out of the fossil fuel pool were both negligible. Then humans started burning fossil fuels. This added two extra unbalanced flows, as shown [in Figure 2].” [caption id="" align=“alignright” width=“151” caption=“Figure 2: The arrows show two extra carbon flows produced by burning fossil fuels. This cartoon omits the less-well quantified flows between atmosphere, soil, vegetation, and so forth.”][/caption] The flows shown in Figure 2 (right) are from fossil fuels to the atmosphere, and from the atmosphere to the surface waters. As shown, roughly one quarter of the fossil carbon winds up in the oceans on a short timescale of 5-10 years; recent research indicates that this may be reducing as the surface waters saturate, however. Some carbon is moving into vegetation and soil, perhaps 1.5 GtC/y, but this is less well measured. What is observed today is that roughly half of the fossil carbon stays in the atmosphere. Now, throw one more number into the mix: if fossil fuels remain our dominant energy source, then carbon pollution under “business as usual” is expected to emit 500Gt of carbon over the next 50 years, with roughly 100Gt expected to be stored in the surface waters of the ocean (at 2Gt/year). By looking at the figure, it is clear that the amount of carbon in the fossil fuel supply dwarfs the carbon in the atmosphere. The figure shows quite clearly that if we’re talking about burning a large fraction of the remaining fossil fuels, we’re talking about major disruptions in the carbon balance. Something has to take up the carbon—either the atmosphere, surface waters, soils or vegetation, and all data to date suggests that the atmosphere is where the majority of the carbon winds up. Given the size of the fossil fuel slice, it’s easy to see how a doubling or tripling of atmospheric CO2 could happen within 50-100 years. And yes, there’s a lot of carbon stored in the deep ocean—but as MacKay makes plainly clear in his discussion, the timescale for ocean mixing is thousands of years. “On a time-scale of 50 years, the boundary [between the surface waters and the rest of the ocean] is virtually a solid wall.” Plus, the figure shows two risk areas: vegetation and soils from vicious cycles. If the high temperatures (caused by high atmospheric carbon) kill off vegetation or melt the tundra and release methane, large stores of carbon from the vegetation and soils categories could wind up in the atomsphere easily—and from the size of those boxes, it’s clear that could be a catastrophe. (As it happens, the IPCC A1FI scenario expects emissions of 1800-2500 GtC by 2100-–I’d guess that means that much of the easily accessible fuels are burned, plus a substantial net release of carbon from vegetation and soils.) At any rate, I like these figures because they clearly show this concept. By using a simple visual representation of quantity, and separating the steady state out from human-driven changes, MacKay cuts to the heart of the matter. Now, for comparison, here’s an IPCC figure (from their technical reports) showing carbon stores and fluxes (source is AR4 figure 7.3): Confused yet? Black is preindustrial, red is human-caused. The IPCC figure can certainly be understood if you spend the effort, but it doesn’t leap off the page. Admittedly, it’s from a technical chapter that’s trying to communicate carbon fluxes rather than carbon stores; the comparison isn’t entirely fair. The IPCC has produced simpler figures (for other topics) in their policy-oriented chapters, but they could still borrow a few pages from MacKay’s book.

Hillside 2009

· Music

The Hillside music festival appears to have a very low profile in the blogosphere… curious, because it’s one of the best I’ve attended. I suspect it’s just a way of keeping a good festival for the locals, and fending off the Toronto hordes. A very low-key festival, a great lineup and a nice location on an island in Guelph Lake. The only trick is getting tickets - they sell out of weekend passes in a matter of hours, and tickets sell out in under a week. And that’s in April, two months before they’ve even announced the lineup.

Anyways, my highlights from the festival this year:

  • woodhands. Great electro, playing to a thrilled and bouncing crowd. Watching the geeks crowdsurf was well worth the time
  • patrick watson. An intriguingly loose and brave rock crew, fresh from a Polaris prize win. Very interesting sound, and great percussion.
  • the clues. This Montreal group played a super-tight, slick rock/pop set, but were clearly off-kilter from the weather. A massive thunderclap/lightning strike forced the stage crew to power everything down minutes before their set, and the reboot clearly harmed the band’s polished sound setup and cut a deep hole in their playlist. Too bad - they were excellent.
  • great lakes swimmers. I’ve heard the buzz, but never seen these introverted folkies. Nice, sweet, and a little reminiscent of Sufjan Stevens.
  • the tallboys. You won’t find a disc in the name of these jazz profs and studio musicians, but they played a great set.

Emissions and the Tar Sands

· Climate Change · 6 comments

Photo by Rodrigo Sala

_
_

I’ve been a little baffled by the tar sands’ villainization in the climate literature for some time. While a few photographs can clearly show that the tar sands have dire impacts on the local environment (as a recent National Geographic special showed), I haven’t really understood why the tar sands have been singled out for so much venom in the climate literature. About two years ago, I first saw the stats: if you measure all emissions from extraction to the tailpipe (a “well-to-wheel” basis), the tar sands are between 15–40% worse than conventional oil. Why, then, is tar sands oil so much worse than—say—a vehicle with 15–40% poorer fuel efficiency? Here in Canada, the tar sands represent a lot of potential wealth and jobs; why should our oil get singled out relative to Saudi crude?
My reading recently took me past a figure that illuminated the problem for me in many ways. The figure below is adapted slightly from Farrell and Brandt, “Risks of the Oil Transition,” Environmental Research Letters 1(1), 2006, although I’m sure it can be found in many places in the literature.

The horizontal axis here represents the number of barrels of oil possible with each source, the vertical axis represents the greenhouse gas emissions per barrel, and the area of each bar is therefore the total emissions if all possible fuel of that type is extracted and used.
The black bar to the left of the axis represents the emissions from all oil burned to date. Everything to the right of the axis represents the potential emissions from conventional and unconventional oil, in order of price per barrel. The oil used to date is dwarfed but what remains in the ground and could be emitted in the future.
Coming back to the tar sands, a few points can be drawn from the figure:

Continue reading