Git and Other Time Machines
2012-09-27
I have revised my opinion. Git is complicated partially because it has a bad UI, and partially because parallel universes with time travel. Mercurial, having parallel universes but lacking time travel, is significantly easier to master.
A case may now be made that Git had a bad interface because it allows time travel. Time machines are notorious for terrible UI. Indeed, it is required by law in the state of California.
Read more →
Python Unit Testing Quickstart
2012-08-20
Suppose you want to write some unit tests in Python. What do? Fortunately, you already have a module called unittest (or unittest2 in Python 2.4-2.6) in the standard library. We’ll use that.
Directory structure First, create a directory named tests. Place an empty file named init.py inside. This distinguishes the directory as a package.
Next, create your first test file and place it in the tests directory. I called mine test_database.
Read more →
Vorkosigan Omnibus reading order.
2012-05-10
You may have stumbled upon the magnificent Vorkosigan saga, some of the finest scifi available. Perhaps via the Cryoburn CD, containing almost the entire series for free in ebook form. But there’s several thousand pages in assorted omnibus forms. What order do you read them in? Bujold made a handy list, but you’d have to look in each omnibus to organize them properly. And what if you don’t feel like reading all of them?
Read more →
On Purchasing Shampoo
2012-02-14
Last week, as I stood underneath one of the three water spigots installed in my apartment, I noticed that the bottle containing the chemical product I dump in my hair was rather light. This indicated that it was almost empty, so I set off to the nearest purveyor of fine retail goods.
Upon entering the hair care isle in WalMart, I realized – with horror – that I had no idea what shampoo I used.
Read more →
LinkedIn Usability Issue
2011-07-14
LinkedIn has been employing questionable tactics to expand their membership and stickiness. It’s taken me several visits to their website on different occasions to (mostly) get removed from their many different email lists.
But the issue I ran into today is inexcusable.
This is what I saw when I hit the front page of LinkedIn. Note that there’s a big email/password box right in the middle of the page. It has my email in it.
Read more →
JamesGecko