Posts

Broken busybox can cause DHCP timeouts on Android

Apparently, when your Android device’s busybox installation gets broken for whatever reason, this doesn’t cause your phone to come to a screeching, grinding halt. The breakage is much more subtle.

Applying fair dealing exceptions to TPMs

James Gannon points out that “Critics of the TPM provisions in Bill C-11 often claim to have a “balanced” solution for TPM protection: to create an exception that allows hacking for legal purposes.” That’s certainly correct, however, he proceeds to misconstrue what that suggestion actually means.

On the government's internet surveillance plans

Minister Vic Towes responded to Privacy Commissioner Jen Stoddart’s open letter Friday:

On Bill C-11, Another Act To Amend The Copyright Act

Between April 2006 and March 2011, Canada was governed by a minority Conservative government, meaning the government needed the co-operation of the opposition parties to pass legislation. Despite a lot of talk about minority governments necessarily yielding instability, having a minority government forestalled the worst of the Conservatives’ plans. In the last federal election in March, the Conservative Party won a majority of the seats in Parliament – meaning they have enough votes to pass any legislation they want, barring opposition within their own party. Given Prime Minister Stephen Harper’s iron-fisted control over his caucus, that’s unlikely.

Mocking LWP::UserAgent

Important update: Don’t follow this advice, follow that advice!

chromatic mentioned how to use dependency injection in You’re Already Using Dependency Injection. Although I had read that when he posted it, I hadnt actually ever done it. That is, until today.

My 4 months at DRDC

Earlier this year, I posted a short entry about having accepted a job offer from Defence Research & Development Canada (DRDC). Over the past four months, I’ve had a great supervisor, a relaxed workplace, and challenging work. As you might imagine, working at a defence research lab is quite different from anything I’d done previously. I knew that was going to be the case, but I was still surprised at how little of my prior knowledge applied to The Real World Of Real Work. But first, what awesome, classified, doomsday devices did I get to work on? Well…

Trimming whitespace in gedit with Perl

With gedit plugins, you can turn this simple text editor into a lightweight IDE. It’s fast, has good syntax highlighting, and can have code completion, shell integration, and many similar feature you might expect from an IDE. One feature it lacked was trimming whitespace from files. I searched for plugins to do this, and found several, but none of them quite met my expectations, because none were configurable. I typically want my files to end with one and only one newline. Of course, the solution is Perl.

Revising perlopentut

At YAPC::NA 2011, I whined about the lack of codification of tribal knowledge in Perl. One area that’s ripe for fixing is the documentation on open. There’s a section in perlfunc for open, and a tutorial: perlopentut. That tutorial is where I’ve started my campaign to have the tutorials and FAQs give good advice.

Thoughts on future conferences

YAPC::NA 2011 was great (read about it: 1, 2, 3), and I enjoyed almost every minute. I have only a few gripes, collected here in no particular order:

  • You can never have enough power in the conference halls. Never.
  • Yes, a four-day conference would be great. Give it a try!
  • Make the area immediately outside the conference halls a comfortable place to sit and/or mingle. Having an area for hacking at the other end of the building isn’t good enough, it needs to be right there. And close the doors so the talking doesn’t distract attendees listening to talks (or the speakers).
  • The auction is a problem. It should absolutely not interrupt prime socializing/networking time. Make it a silent auction for the run-of-the-mill items, limit the live part to a half-hour of the big-ticket items, and don’t be so desperate for large donations – it’s unseemly, exclusionary, and probably raises less money than many smaller donations.

I heard about these from other attendees as well.

YAPC::NA day three

Miyagawa strikes again

On day three (read about days one and two), I spent most of my time socializing and networking rather than attending talks.