Okay, so it seems as if I didn’t get raptured, but you know what did? My camera. This is the first in a series of blog posts about my nearly-dead camera. Included in this series will be images that I haven’t posted to flickr. Don’t get all excited; they’re worse than my other shots. That’s why they didn’t even make the flickr cut.
Enraptured
If you’re reading this, the rapture probably hasn’t happened ((As with all my posts, this has been scheduled in advance, so I may have “left the building”.)). But then again, what would you expect from a non-prophet organization?
Victoria Day weekend
Grass ain't green
You may have heard about a Robert and Brenda Vale’s book Time to Eat the Dog?: The Real Guide to Sustainable Living in which they claim that dogs have a greater (negative) environmental impact than SUVs and/or read a criticism of it (which itself contains flaws) ((I haven’t read the book.)). I’d long wondered about things such as dog pedicures, hotels, vaccinations, etc. and someone had already crunched some numbers to give a ballpark figure. After watching a neighbour turn on his sprinkler system while it was raining last week, I thought I’d finally do a calculation I’d similarly meant to do for a long time: look at the environmental impact of a well-manicured lawn. As it turns out, someone has again already done the calculation. However, one thing from that page really stood out: “Lawn mowing contributes 5% of the total United States GHG’s, according to the EPA“.
So the next time you think that green lawns are better than concrete jungles, just remember that each sliver of manicured grass is like a vampire fang extending out of the earth, draining precious resources.
Really, Mister Mayor?
Toronto Mayor Doug Ford has been quoted as saying that congestion in Toronto can be reduced through “driving efficiencies”. He suggests that some of these could be realized by drivers were faster to drive off when the signal turns green “or didn’t stop at a crosswalk when a pedestrian is still five feet from the road […]. You can’t blame everything on the car, you know.”
Can you feel the democracy?
It’s election day! I’ve voted. Have you?
Updated: Wow. Just wow. That was totally unexpected.
My high school, homeless
Last week, my high school, the University of Toronto Schools (UTS), sent out an e-mail concerning the University of Toronto’s rejection of its site redevelopment proposal, effectively thanking UTS for all the fish. Though not entirely surprising, what was surprising was finding an article in the Globe and Mail about it this morning, prompting this off-cycle blog post. Not being half as eloquent as my academic siblings, I will try to keep it brief.
Like Paper Mario, Paper Inflo
At the request of jp, I have created a version of Inflo that’s more napkin-like. It’s fully compatible with the regular version of Inflo (it has a few known quirks because a) this is a hack and b) we’ll see how popular it is). However, it’s not yet linked in to the regular Inflo, yet. To use it, for any Inflo URL, replace http://inflo.cs.toronto.edu:8888/ with http://inflo.cs.toronto.edu:8888/paper.html. For example, to view one of apsmith‘s graphs in paper form, visit http://inflo.cs.toronto.edu:8888/paper.html?nodeId=215330785548783400729978002751085462383&nodeVersion=1302663272.770201&action=loadView (note the extra “paper.html”); you’ll need to scroll to the top left after the page has loaded.
Inflo macros
Last week, I added support for client-side macros to Inflo. While I had previously reengineered the custom autocomplete widget (used for entering content) in anticipation of additions such as this, I hadn’t really thought about how the macros would actually work. In the end, I was surprised at how simple it was to add, although some of my previous changes were helpful (most notably the parser I had written the day before); it took just under one hundred lines of new/changed code. Also nice is how everything is falls back when a macro hasn’t been defined.
register_macro(
"stopping time", // Name of the macro
"stopping time ( <i>velocity</i> , <i>deceleration</i> )", // Autocomplete help
// The function itself; its parameters come in directly from Inflo and one needn't worry about nodes;
// they're automatically converted to their values.
function (v1, decel) {
/* Assumes velocity in m/s and deceleration is in m/s^2 */
return (v1 / decel).toString() + " s";
});
The macros behave exactly like a built-in Inflo function, except they’re all currently prefix notation, don’t support sub-expressions in their arguments, need to be user-loaded when viewing the graph (easy with Creammonkey and Greasemonkey), and, for simplicity, ignore units coming into the macro. Anyone that knows some Javascript can write an Inflo macro!
Populating Inflo with data
One can fairly simply write a module to dump data into Inflo. The first thing I populated the database with was with some population data and then surface area data. I’m currently thinking of adding GDP data. Any ideas as to what other easily mineable data I ought to include?


