Archive for the 'General' Category

Tagged Revision Log Messages in Mercurial

Friday, March 12th, 2010

I work at YouGov and we use the Mercurial for revision control.
We tag every release in a MAJOR.MINOR.BUGFIX format. 2.32.2 for example.
Recently I wanted to get a summary of the commit log messages for each of the tagged revisions. Here is the magic command that got me the output that I wanted:

# get [...]

Evolution of a Haskell Function

Thursday, March 11th, 2010

I’m going through Real World Haskell trying to get a handle on the Haskell programming language. Python is my current language of choice, but I like to learn new programming languages too.

So last night I was going over the chapter that introduces ‘let’, ‘where’, ‘case’ and guards and I wanted to try them out. I contrived a simple situation where I thought I could use them.

Link: PiCloud Overview

Thursday, March 11th, 2010

Here’s a great overview of using PiCloud that goes beyond “hello world” type stuff.
For those of you who don’t know, PiCloud is a cloud computing platform for Python that aims to simplify the task of running code in “the cloud.”
cw

Aubrey

Wednesday, January 6th, 2010

Our family is so excited and blessed to welcome Aubrey into the world.

She was born this morning at 7:11am EST. She weighed in at 8lbs. 1oz. and is 19″ long. Mom and baby are doing well. I’m doing great!
cw

On Tree Houses and Software

Thursday, November 12th, 2009

From the ShopTalk blog:
The Minimum Viable Tree House
A case-study in what not to do with your software project.

Beautiful Coroutines

Tuesday, October 20th, 2009

Some guy on some other blog wrote this. His name sounds familiar …
Beautiful Coroutines: Cooperative Concurrency in Python using Diesel
cw

Diesel

Wednesday, September 23rd, 2009

I’ve been working with some friends on getting a startup off the ground. We just released one of the core libraries that our software is built on.
Announcing Diesel!
cw

What I did this past weekend

Monday, September 21st, 2009

This past weekend, I enriched some soil. I know it sounds cool, but really, it was freakin’ awesome.
I started with light brown dusty dirt in a “flower bed”. It might have even been tainted with nuclear waste. Nothing grows in it. Ants prefer to make their nests in the [...]

Crushed

Saturday, June 27th, 2009

“Julio!”
There was no answer.
Though drenched with sweat, the summer heat was no match for the desperation of a father for his son. Racing through the field, the leaves on the cornstalks met Gustavo’s skin like slender green blades. He didn’t even notice the pain as he closed the gap between himself and [...]

Odd Old-Style vs. New-Style Class Behavior

Thursday, May 21st, 2009

So we have some older Python code at work that uses old-style classes. We usually try and bring those up to date when we encounter them.
The other day one of the developers did that and one of our tests started failing. A simple change from:

class Foo:
# stuff here

to:

class Foo(object):
[...]