IamCraig.com Rotating Header Image

Attention Susan Ormiston!

Maybe nobody at the CBC knows any better, or maybe they’re too afraid to correct you. However, I do and I’m not.

The Queen does not PRO-sess canned fish at a packing plant. She does, however, pro-SESS down The Mall in a pro-SESS-shun.

Look it up. You’re welcome.

There was another odd pronunciation (in addition to at least two instances of the above for which I was within earshot of the TV), but I forget what it was. Additionally, I heard someone else remark on your rather odd pronunciation of “Edinburgh” (and by “odd” I mean odd to someone who lives there, not odd to a North American who might assume it’s pronounced as a German might do so), but I didn’t hear that one myself.

Again, you’re welcome.

Block outbound email to a specific domain with qmail

With Sendmail, I can block all email from (a sending domain to the server in question) and to a (foreign) domain using the /etc/mail/access file. However, apparently, it’s not so simple with qmail. Further complicating my need to prevent all users on one of my systems (which uses qmail) from sending email to certain domains is the fact that the system also uses Plesk, so I didn’t really want to start messing around with patching qmail and risk breaking something to do with Plesk.

After a fair bit of research I settled on a workaround using /var/qmail/control/smtproutes to artificially direct email sent to those domains from my qmail system to another mail server under my control, where the emails are rejected during the SMTP dialogue (because they’re not configured on that mail server, of course), thereby being bounced immediately to the sender.

If /var/qmail/control/smtproutes doesn’t exist on your server (it shouldn’t by default) you can create it with the following contents, or add the following contents to an existing file:

bad-domain.com:mx.your-other-domain.com

The file should be owned by the same user and group as most of the other configuration files in the “control” directory.

In this example you want to stop users from sending email to bad-domain.com email addresses, and you control an external mail server at mx.your-other-domain.com. When a user tries to send email to a bad-domain.com address, the sending mail server will not look up the MX record for bad-domain.com, instead routing the email to mx.your-other-domain.com. Because mx.your-other-domain.com is not configured to accept or relay email for bad-domain.com, it will reject it.

Caution: DO NOT route email to a mail server that is not yours. This will likely be considered spam by that mail server’s administrator, and the IP address of your mail server will then likely be blocked and perhaps added to more widely-distributed blacklists. If you don’t control another mail server you could route the forbidden email to a non-existent domain, such as no-such.domain or dev.null or bogus.invalid. To make the bounce message a little more helpful to the receiver (i.e., the original sender), perhaps make up a bogus domain like “Sending-to-that-domain-is.prohibited” which, on some systems, will return a bounce message that might include text like this:

Sorry, I couldn’t find any host named Sending-to-that-domain-is.prohibited.

Do not use a non-existent domain on a real top-level domain (e.g., v539bq59vb45.com, or some other string of randomly-typed characters followed by a real TLD), because there is no guarantee that domain won’t be registered and used in the future. Avoid using even your own real domain that you’re not using (unless you set up some unique but descriptive sub-domain such as “this-is-a-bogus-mx-vb49w4.example.com”), as you may use it in the future and forget that you’re directing email to it. That could result in mail loops if you end up hosting the domain on the same mail server, or being blacklisted if you host it with a third party or allow it to expire and it’s registered and used by someone else.

Anyway, having another mail server to use, I’m sticking with using that to cause the messages to bounce back.

Some assistance in coming up with this idea came from this thread at boardreader.com.

Have a comment or a better idea? Let me know in the comments.

Oh, the irony

So there I was, surfing the Web looking for information related to ambulances in British Columbia, when I came across the BC Ambulance Service’s page on treatment guidelines. Being the curious type, I downloaded a PDF copy of said treatment guidelines to have a quick look.

But instead of a document about treatment guidelines, this is all that the 2.2 MB file displayed to me in my current PDF reader of choice:

For the best experience, open this PDF portfolio in Acrobat 9 or Adobe Reader 9, or later.

For the best experience, open this PDF portfolio in Acrobat 9 or Adobe Reader 9, or later.

Now, given the size of the file and the fact that the size matches what is stated on the BCAS website, the content of the PDF is obviously there on my computer, but the BCAS (presumably) have (in their infinite wisdom) deemed that I can only “best experience” (excuse me while I throw up) their document in Acrobat Reader! This is indeed ironic, given that “PDF” stands for “portable document format” and, according to page 33 of Adobe’s own specification, “PDF is a file format for representing documents in a manner independent of the application software, hardware, and operating system used to create them and of the output device on which they are to be displayed or printed.” (It also reads, on page 25, “The goal of these products [Adobe Acrobat] is to enable users to exchange and view electronic documents easily and reliably, independently of the environment in which they were created.”)

So, apparently, the portable document format isn’t actually very portable.

I refuse to install Adobe Acrobat Reader on my primary machine. It is the poster child for “bloatware“; when all you want to do is have a quick look at a PDF document, or all you want to do is open a one-page document (like the invoices I prepare in my business), you have to load this behemoth of a program, wait and wait and wait some more while your hard disk grinds on forever, only to use one per cent of the program’s features (when it finally opens) and take less time to look at the document than it took to open it. And let’s not forget about the constant updates to the ninety-nine per cent of the application you don’t use, and Adobe’s habit of getting their sticky fingers into the very heart of your operating system. No thanks.

If Adobe produced a “light” version of Acrobat Reader (which is itself a light version of Acrobat, a program used to create PDFs) I’d consider using it. Until then I should at least acknowledge Adobe for making the portable document format an open standard, allowing me the choice to use other software to view PDFs.

And you, BC Ambulance Service? How about making your portable-document-format document portable? I don’t want to “experience” your document singing and dancing; I just want to read it. At least let me have a second class “experience” in my chosen PDF reader. Thank-you.


Update, 3 May 2012: Wouldn’t you know it. The day after I wrote this, Foxit Reader prompted me to install a security update. After the update I thought I’d see what happens when I open the same file. Lo and behold! Turns out that it appears that a “PDF portfolio” is (as the name might suggest) a portfolio or collection of PDF documents in one container (file), and one needs to view the “attachments” to see and open the individual PDF documents. The original display (see above) certainly didn’t suggest that, and the inclusion of the Adobe logo made me believe that here I had a document created in Adobe Acrobat that refused to be displayed in non-Adobe PDF readers.

Turns out I was wrong. Not sure if I should blame Foxit Reader for not being more helpful, or if I should blame Adobe because a document created using their software (the document’s properties show that it was created by Adobe Acrobat) led me to the conclusions I made. I lean towards the former — if only because of the different behaviour of Foxit Reader after the update and the fact that the update appears to address this very issue — but I do presume that the wording displayed previously (the so-called “best experience”) comes from Adobe and their software, and so could be worded to be more helpful and less biased. Clearly though, Foxit Reader is now identifying the nature of the file and displaying its own message, something it should have done before.

Below are screen captures showing what I see now on opening the file, on viewing the attachment list, and on opening the attachments.

And now, the sports …

This gave me a chuckle, from Vancouver fans start to panic as Canucks hit skid down the stretch:

In City of Glass, Douglas Coupland’s ode/guide to his hometown of Vancouver, the title refers to the monotone architecture of the condo towers on the downtown peninsula, not the hockey team’s notoriously fragile fans.

I retort that we wouldn’t be so damn fragile if we hadn’t been dropped from a dizzy height and taped or glued back together so many times!

And I’m glad to see someone else asking the question I ask each time Roberto Luongo lets in three goals in the first five minutes of the game: Why isn’t Cory Schneider playing?

I am a supporter of terrorists and other nasty people

I’m a little behind the eight ball, as this is now “old news”, but this week I donated money to Greenpeace Canada for the first time in my life. Why? Well, I’ll explain it this way: When you donate to Greenpeace online they have a field on the donation form that asks why you’re motivated to donate to them. This is what I filled in: “Stephen Harper says you’re terrorists” (archived) (not to mention funded by foreign money [archived]).

Way to go Stevie. Nothing like using hyperbole to convince people to support those not on your side of what should be a reasoned debate. Maybe you should take a lesson from … uh, yourself (archived).

In other vilify-your-opponent news, there’s your friendly neighbourhood defender against the bogeyman, Vic Toews, Canadian Minister of Public Safety. Didn’t he learn anything from George Bush’s “Either you are with us, or you are with the terrorists” gaffe? (Read or watch George; read or watch Vic.) Really, any thinking person on either side of any argument rejects this kind of useless rhetoric, and some courageous people (like Margaret Wente [archived]) have the guts to come right out and say it.

Mr. Toews also took to the pages of the Asian Pacific Post in a full-page editorial that may have been preaching to a choir that probably thinks Canada is too soft on crime anyway, given the regimes in place where many of the readers of that publication originate. (Incidentally, the online version appears to be a slightly reduced version of the printed one.) He also makes the disingenuous comparison of private data (what he calls “basic subscription data”) to “the modern equivalent of phonebook [sic] information”. Mr. Toews, I can’t help but wonder if your personal home phone number is listed in your local telephone directory. Is it? Oh, it’s unlisted? You mean, you want it to be private?! What a radical concept!

A much more reasoned response to Toews’ rhetoric comes in the form of an editorial by John Ibbitson (‘With us or with the child pornographers’ doesn’t cut it, Mr. Toews [archived]). He writes:

Privacy commissioners in Ottawa and the provinces will not like being called such vile names. … There are powerful arguments on both sides. None of us want to handicap police in their efforts to track those who would defraud us, harm children or plot acts of terror. But we must also be wary of granting the state new powers that could restrict the sovereignty of citizens. … should the state be allowed to have new powers to know who we are on the web — in effect, to register our online identities — without a judicial warrant or even our knowledge or consent?

But Yoni Goldstein also makes half a point in his editorial (or is it a satire piece?) Stop Pretending to Care About Privacy (archived). He contends that the general public is hypocritical and has already given up any notion of privacy in”tweeting” and “facebooking” the minutiae of their lives, and using Gmail. (Actually, I’ll give him two-thirds of a point, as he also validly points out the hypocrisy of people who wail about their privacy being violated, all while keeping rags like the National Enquirer and websites like TMZ in business so that they can see the nipples and dead bodies of celebrities.) However, he conveniently doesn’t mention things like monitoring private communications like email, instant messaging, voice and video.

Sometimes it takes a cartoon to really get the point across, and so I present these two. The first refers to Bill C-51 (the Investigative Powers for the 21st Century (IP21C) Act, also here), a predecessor to the current Bill C-30 (previously known by its short title Lawful Access Act, tendentiously renamed to Investigating and Preventing Criminal Electronic Communications Act to make sure that opponents of the bill are aware that they are supporters of child pornographers), and plays on the well-worn (but completely bogus) argument that if you’re not doing anything wrong, you have nothing to worry about. The second is clever and speaks for itself.

The innocent have nothing to fear.

The innocent have nothing to fear.

Toews must be an online predator.

Toews must be an online predator.


Update, 15 March 2012: This post was getting long enough, so I had to cut it off somewhere. However, if your impression of “Anonymous” is that they are a bunch of rogue geeks/nerds that are kinda mostly harmless, but they could get out of hand and bring down civilisation as we know it at any moment, you need to read How I learned to stop worrying and love Anonymous (archived).

And probably the most succinct summary I’ve read about why Bill C-30 is bad comes from Ivor Tossell, who writes (in Toews’s ‘child pornographers’ gaffe aside, Bill C-30 has real dangers [archived]):

Contrary to what you might have heard, the new bill, C-30, doesn’t invite police to monitor your every online move without a warrant. It does, however, require Internet companies — loosely defined — to cough up your name, Internet protocol address and a few other identifiers if the police ask for them, even without a warrant. This means that the police could conceivably collect a pseudonym you’ve been using to comment on websites, present it to the relevant company, and say, “Who is this person?”

By trading pseudonyms for IP addresses, then IP addresses for real names and addresses, and repeating the process, police could get a pretty clear picture of what you’ve been up to online.

So yeah, without a warrant the cops can “only” get “the modern equivalent of phonebook information”, but to extend that analogy, they can then follow you from your home to see where you work and with whom you socialise, they can peek in your windows to see your taste in the art hanging on your walls (and which one your safe is hiding behind), they can rifle through your garbage and the mail in your mail box, and on the list goes, and all without a warrant just because they managed to obtain your “phonebook information”. In the online world — again, all without a warrant — they can now see that you gripe about (or are blowing the whistle on) your employer, they can see that you have a personal advert on that dating site that caters to cheating spouses, they can see that you regularly bid on and buy old Barbie dolls on eBay (you big tough biker guy you), and so on. This is all personal information that is ripe for abuse in the wrong hands, and that includes the hands of the police.

Now maybe you and I “have nothing to fear” (see cartoon above) or even be just a little bit embarrassed about, but these things violate your privacy, plain and simple, and we should all fear that.

Sticker shock on Canadian cell data rates

I had to do a double take after I put myself back into my chair and fastened my seatbelt when I saw the price of data transfer on the Virgin Mobile Canada website: $51 200 per gigabyte! Holy shit Batman! Are you kidding me? (See the “Canada Rates” tab at “Long Distance and Roaming“.) On a low-end high-speed Internet connection for a residential customer, that would translate into a bill of $6.4 million per month if you used your full bandwidth allotment! How is that justifiable when other packages on their site are advertised at a “mere” $15 per gigabyte, less than three ten-thousandths of the price? How is it justifiable, period?!

Virgin Mobile Canada data rate of $51 200 per GB!

Virgin Mobile Canada data rate of $51 200 per GB!

Virgin Mobile Canada data rate of $15 per GB.

Virgin Mobile Canada data rate of $15 per GB.

It just highlights what is common knowledge among any Canadians even vaguely aware of cell phone rates outside of Canada. We have among the highest rates (on voice and data) anywhere in the world — the absolute highest according to some surveys. Even Somalia, a Third World country in the thrall of pirates and warlords that has been without a functioning government for over two decades, has better and more competitive cell service than Canada. Why we put up with this, and why our government continues to allow the cell phone companies to gang together and collectively bend us over and screw us, is beyond my comprehension.

So having braved looking at a cell phone company’s website again, I’m going to retreat back into my Luddite cave as I head down the home stretch of my fifth year without the financial millstone of a cell phone hanging around my neck.

Some more links for your consideration:


Update, 14 March 2012: A glimmer of hope on the horizon: Ottawa opens telecom to foreigners, although the announcement is a bit of a mixed bag. Not that I think that “foreigners” are Canadians’ salvation, but our own countrymen (and -women) are quite happy to screw us. However, with Canada being the most expensive place on the planet to own and operate a cell phone, there is only one way for prices to go … assuming the tendency will be to head towards the middle of the pack, and not into the stratosphere! It’s competition and a smashing of the oligopoly that’s needed, and if that means that it takes Europeans, Asians or even Africans owning cell phone companies 100%, then so be it.

Happy birthday Elizabeth!

Dear Elizabeth,

Happy birthday. It looks like I posted this a day late, but this website uses the UTC time zone, so it was still your birthday in the Pacific time zone. 🙂

Do you realise that you are now the same age as I turned the day I arrived in Canada?

Love, Uncle Craig

RCMP hypocrisy: The video lies, the video tells the truth

The gall! The unmitigated gall!

As anyone who paid the slightest bit of attention to the Royal Canadian Mounted Police killing of Robert Dziekanski knows, the RCMP did their level best to (first of all) hide the video evidence, and then completely discredit it. Despite the fact that any private citizen (i.e., non-cop) caught on video breaking the law would get a one-way “do not stop, do not collect $200, do not pass go” ticket to jail, no expense or red herring was spared by the RCMP in trying to sell to the public the snake oil that the video didn’t tell the real story, and that Mr. Dziekanski really was a great and credible threat to four burly cops as he brandished his weapon of mass destruction: the infamous stapler. The video, they claimed, was less than useless. (This in addition to all of the lies about Dziekanski and the incident itself [not to mention the post-mortem collusion] that they spewed to the media and the Braidwood Inquiry.)

Yet this week, after the editor of the Osoyoos Times related an incident during which he felt he was humiliated (Google cache, local cache) in a guilty-until-proven-innocent road side stop by RCMP Corporal Ryan McLeod, the Officer in Charge BC RCMP Communications (Superintendent Ray Bernoties), gleefully offered video evidence (local cache, now that the RCMP have apparently deleted this press release) which he essentially claims makes a slam dunk case that refutes the claims of editor Keith Lacey. He even smugly adds, “This is the type of transparency British Columbians expect from the RCMP.”

The hypocrisy! The sheer, bald-faced, fucking hypocrisy of the murdering RCMP!

You might almost think the guy was trying to make a sarcastic joke, or the press release was written by Monty Python, if it wasn’t so serious. Yes, Supt. Bernoties, we do expect transparency from the RCMP; one day I hope we’ll see some.

The hypocrisy continues: “This police officer, who you so freely defame using your position …”. Excuse me while I splutter my morning coffee all over my computer screen! The record shows that the RCMP themselves used their position and access to the media to “freely defame” Robert Dziekanski before the video evidence and the testimony of bystanders came to light, and is a textbook example of why we can’t take as gospel what police officers say in support of a charge. (Being a grammar nazi I can’t help but point out that this cop — the top cop for “communications” in BC — doesn’t even seem to know when to use the word “whom” instead of “who”, and later also uses the word “slander” when he should refer to “libel” — a double blow for someone who is supposed to be proficient in both communications and the law. Actually, the whole “letter” reads as if it was written by an eight-year-old getting a D in English class.)

The hypocrisy concludes thusly: “If there was one positive to your negative article, it was a reminder to me of the many baseless and malicious allegations our members must constantly face while carrying out their duties. Fortunately, in this case, the video removes any doubt that the police officer’s actions were professional and respectful.”

Wow. Poor baby. “[B]aseless and malicious allegations” my foot. Before the outrage set in, I was just left dumbfounded.

Keith, you are wrong about one thing in your editorial. You state, “This is a free country, not a police state.” Sorry, but clearly you haven’t noticed that this is no longer true, especially the moment you drive a car onto a public road.

 


 

Updated, 14 August 2015: Linked to local cache of RCMP press release, seeing as it has either been deleted from their website or moved.

Happy belated birthday Melissa!

Dear Melissa,

Happy birthday. Sorry I’m a couple of days late! 🙂

Love, Uncle Craig

Bell Canada thievery

An open letter to Bell Canada:

Your charge for a one-minute phone call from Ottawa to Vancouver of $11.27 is nothing short of thievery. It’s no wonder that people despise the “big” phone companies like Bell. This level of daylight robbery is what colours one’s opinions of other services offered by your company, such as cellular telephone services. If you will use one of your services to rob customers blind, you’ll probably do it with other services too, and so I will ensure that I avoid doing any type of business with Bell in the future based on this one extremely distasteful experience.