Boston has been hit by punishing, record snowfall this winter and some days the resulting white out has shut down public transportation, workplaces, schools and and universities. Emerson College, in downtown Boston, has been forced to cancel five and a half days of classes due to snow. As one snowstorm began to run into the next, Ryan Catalani, editor-in-chief of The Berkeley Beacon, Emerson’s weekly student newspaper, wrestled with how to best cover the snow days for his paper.
“We were sitting around thinking ‘Wouldn’t it be cool if there was a calculator to see how many classes you’ve missed?'” Catalani said, and how much that cost a student in dollar terms. “So I built it.”
Catalani’s snow calculator allows students to enter the number of classroom hours they’ve missed due to snow and the calculator would show the value of their canceled classes. The snow calculator makes it easy to share their total snow day costs on Twitter and Facebook.
How was it built? The code was simple, Catalani explains. “We found the cost of each credit and divided it by classroom hours.” Each credit at Emerson is worth $1,145 and each credit is equal to 15 classroom hours. Divide those two and each missed classroom hour is worth $76.33. Below is an excerpt of his code.
var credit_cost = 1145.0; var credit_hours = 15.0; var credit_cost_per_hour = credit_cost / credit_hours;
The Berkeley Beacon’s snow calculator was popular on campus and eventually highlighted by Boston Magazine. Catalani says these kind of projects can make a student newspaper stand out. Emerson’s Berkeley Beacon is no stranger to college media awards, though. The paper recently won two awards at the National College Journalism Convention.