An Automated Yes Man

There’s an interesting Unix command called the yes command.

Using a Standing Desk

What I've learned from using a standing desk.

Test scores are worthless

Does your company still care about school grades?

Custom key bindings in Linux

There are various ways to create custom key bindings/mappings in Linux. This tutorial uses xbindkeys on Ubuntu.

Method of Operation

Our modus operandi.

Flying out of the US instead of Southern Canada

If you live near the Canada–United States border then you should know about flying out of the US, especially for international flights. They tend to be much more affordable, but even though you save money, it can be hassle.

Competitive Coding

The ACM International Collegiate Programming Contest (ICPC) is one of the oldest, largest, and most prestigious coding contests in the world. Teams of three are given a single computer, 8-11 problems, and 5 hours to solve as many problems as quickly as they can.

Revealing documentation in Python

Situation: You’re doing automated data-collection using Selenium’s Python Client Driver but can’t find any documentation online on the Select class. What now?

Software Niagara's First Hackathon

Software Niagara held its first hackathon on the weekend of November 10-11, 2012. We dubbed it the #secrethackathon.

How to Word Wrap in Gmail

That’s right, you can have Gmail line/word/text-wrap your outgoing emails and it’s easy to set up! Best of all, you can do it straight from the Gmail web interface.

25 Horses Problem

This post was migrated from my old blog and has been slightly modified for improved readability.

Boolean Hacks in C

You’re used to Booleans as logical or truth values but you miss them in C. You’d like your code to be more verbose and readable instead of 1’s and 0’s all over the place. Here are some simple workarounds I’ve found over the years. Most of these take advantage of chars being an integral data type in C (i.e. they are stored as integers).

The CRAP License

The Community Research and Academic Programming License (CRAPL), is an academic-strength open source license by the well-known professor Matt Might. Its purpose is to encourage academics to share their “proof of concept” code, regardless of how ugly it is.