Globe and Mail + Nanos = Infographic fail

A month ago, The Globe and Mail ran an article entitled Most Canadians want Elizabeth May at leaders’ debate, poll shows. It presented the results of a poll showing most Canadians supported Elizabeth May’s inclusion in the leaders’ debate. The article was unremarkable. The chart that accompanied it, however, was remarkably bad: First, the graph …

Your hiring process is broken

Job ads are usually terrible. Both boring and bland, they’re typically written by some HR functionary who is totally disconnected from the actual work being done. Requirements are ridiculous, and often impossible to meet (hint: in 1997, no one had 10 years of Java experience!). The emails I get from recruiters are generally poorly written, …

What to do when you get a new credit card

As soon as you get that shiny new credit card, do the following: Activate the card. Call the 800 number on the sticker and answer the IVR prompts or convince the human that you’re real. Sign the card. If you haven’t already, call customer service and opt out of everything: phone, mail and email solicitations; …

HOWTO count words in JavaScript

Here is a handy JavaScript function for counting words: String.prototype.countWords = function(value) { // remove html tags var cleanedText = this.replace(/< .[^]*?>/g, ' ') // remove numbers and punctuation .replace(/[–—.(),;:!?%#$‘’“”'"_+=\/\-]*/g, '') // remove/coalesce space chars .replace(/(&nbsp;|&#160;|[ ])+/gi, ' '); // don't split "" into words, as you'll get 1 ([""]) if (cleanedText === "") { …

HOWTO set up IMAP email for Yahoo

A few weeks ago, I was helping my cousins set up their new iMac. Once everything was up and running, she inquired about adding their Yahoo account to Mail. The conventional wisdom says you can’t do this. Yahoo charges for POP access. IMAP? Unavailable. But then she hands me her new iPod touch…with her Yahoo …