Log in

No account? Create an account

Take one part vintage clothing store, add some cool DJs and throw in a dance party.

What do you get?

The S.W.A.P. Team
North America’s biggest clothing swap charity.

And we’re throwing a party tonight!

Our Montréal launch party is raise awareness and funds for
the best clothing swap this side of the ocean.

And you’re invited!

Make sure to R.S.V.P. to
or on Facebook.

The S.W.A.P. Team
Launch Party and Fundraiser
Tuesday, 22 June 2009
18:00 – 23:00 EDT
28, rue Notre-Dame Est. Suite #400

( Français | Twitter | Facebook )

Originally uploaded by sfllaw.

I’ve been tilting at windmills, recently.

Windmill, actually.

It’s a Python program that lets your computer drive a web browser, without any human interference. We use it at Akoha to run tests that make sure that our website works with Firefox.

We use it to help us test our site with Internet Explorer. So I dutifully set up a Windows machine and tried to get it to run our test suite. I quickly realized that our software was going to need something more Unix-like.

Cygwin is the answer to that problem. It provides a full POSIX environment inside Windows. I built all our software and tried to fire up Windmill.

ImportError: No module named _winreg

Uh oh! Windmill needs to access the Windows Registry. According to the winreg documentation, it’s only available for Windows. Apparently, Cygwin doesn’t count as Windows. So I spent the weekend writing a library that fills in the gap.

cygwinreg allows you to read, write, and explore the Windows Registry from inside Cygwin. Whenever you want to use winreg, use cygwinreg instead.

import sys
if sys.platform == "win32":
        import winreg
    except ImportError:
        import _winreg as winreg
elif sys.platform == "cygwin":
    import cygwinreg as winreg

After I did that, I plugged it in, stepped back and ran my tests. They worked!

Download cygwinreg
or install it with
easy_install cygwinreg


Montréal Python 5

  • 12th Mar, 2009 at 12:26 AM

If you’re interested in Python but have never shown up to a Montréal Python session yet, you really should.

At Montréal Python 5, we saw some really cool presentations.
One of which was Alexandre Vassalotti’s talk on Porting to Python 3.0.

Alexandre Vassalotti
Originally uploaded by sfllaw.

(7 more photos)


Return from India

  • 7th Mar, 2009 at 1:51 PM

Serving drinks
Originally uploaded by sfllaw.

Jen and Clint
Originally uploaded by sfllaw.

Watching the slideshow
Originally uploaded by sfllaw.

(31 more photos)


Om nom nom nom

  • 2nd Mar, 2009 at 5:23 PM

We found this cake hiding in the Akoha freezer.
We think it was about three months old before it was pulled out.
The warning sign had no apparent effect on the cake’s desirability.

Really old cake
Originally uploaded by sfllaw.


Now we’re cooking with gas

  • 1st Mar, 2009 at 8:54 PM

Steak flambé
Originally uploaded by sfllaw.

I highly recommend dining at Le Champlain.
girl_tm and I were fortunate enough to get reservations for Valentine’s Day!

But perhaps that is because I’m a sucker for tableside service?
The filet mignon was very, very good.
So was everything else!

(12 more photos)


On the train

  • 23rd Feb, 2009 at 11:06 AM

Originally uploaded by sfllaw.


Attempted murder

  • 11th Feb, 2009 at 8:19 PM

girl_tm: You know, I’m thinking of getting rid of Linda….
sfllaw: Is that because she tried to kill you?
girl_tm: … … … Yeah….


Bye Bye Boo-Boo

  • 7th Feb, 2009 at 3:12 PM

Originally uploaded by sfllaw.

Fiona died yesterday at 17:30 yesterday.
We were there petting her the whole time; she was surrounded by the people who loved her.

She was the best dog.