Windmill
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":
    try:
        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



extrovert

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)


nightlife

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)


knives

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.

extrovert

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.
[info]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)



nightlife

Bye Bye Boo-Boo

  • 7th Feb, 2009 at 3:12 PM

Fiona
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.


formal

Happy Birthday to me!

  • 28th Jan, 2009 at 10:30 AM

Everyone asks me how it feels to be older.
It’d be nice if the back pain went away as the years rolled by.
Pity…


Cake
Originally uploaded by sfllaw.

The cake was good, though!



formal

It’s not that bad

  • 17th Jan, 2009 at 9:43 PM

[info]girl_tm has returned from her globe-trotting adventure.
The first thing she said when she stepped outside?
“It’s not that bad.”


Buried cars
Originally uploaded by sfllaw.

extrovert

A Standout Akoha Christmas

  • 17th Jan, 2009 at 10:33 AM

This is what happens when you mix:


iPhone
Originally uploaded by sfllaw.

Surprise
Originally uploaded by sfllaw.

Yule log
Originally uploaded by sfllaw.

(39 more photos)



extrovert

GAMMA 3D

  • 30th Nov, 2008 at 10:17 PM

Every year, the Kokoromi Collective throws a wild party.
A wild party involving video games!

GAMMA 3D was a wild ride of stereoscopic fun.
There were tons of people in 3D glasses.

It was like going to an old 3D drive-through.
An interactive 3D drive-through.
Without cars.

And if you own a pair, you can play too!
Download the games!


Red and cyan
Originally uploaded by sfllaw.

Double vision
Originally uploaded by sfllaw.

3D spectacles
Originally uploaded by sfllaw.

Fireflies
Originally uploaded by sfllaw.

Excitement
Originally uploaded by sfllaw.

(107 more photos)


photography

Party pix

  • 27th Nov, 2008 at 5:44 AM

Last week, [info]girl_tm and I were in Toronto.

To everyone we saw, it was so nice to see you again!
To everyone we missed, alas, we will have to arrange something next time.

It was the first time I threw a party with Flora.
It was amazing to have her friends and our friends meeting each other.
Plus, I got to meet Flora’s new beau.

I’d like to add that Vecchio Frak was very, very nice and very, very accommodating.
And the cocktails were pretty good too!
We shall return.


Rob, Aleece, and Flora
Originally uploaded by sfllaw.

(37 more photos)


knives

Betsy

  • 24th Nov, 2008 at 2:03 AM

I just bought one-sixteenth of a cow. Cows are pretty big, so there’s plenty of beef.

I conspired with [info]diluvienne to cook some of her share.

We made huge pots of boeuf bourguignon and beef chili. Our plan is to have some of it for lunch tomorrow.

I have no photos of this wild culinary excess. Instead, here is a picture of something completely different.


Crème brulée
Originally uploaded by sfllaw.

nightlife

Ticket to ride

  • 13th Nov, 2008 at 4:08 PM


Toronto
Originally uploaded by sfllaw.

[info]girl_tm and I are on the train to Toronto.

We shall be there until Sunday and we’d love to see any of you who are in town!

I think we’ll have a little soirée on Saturday night. More details will follow.


photography

Run for the cure

  • 11th Nov, 2008 at 11:04 PM

It’s amazing how much exercise you get, when you’re lugging around camera equipment chasing after runners.


Pulled along
Originally uploaded by sfllaw.

Runners
Originally uploaded by sfllaw.

Fast
Originally uploaded by sfllaw.

nightlife

Memories of picnicking

  • 16th Oct, 2008 at 3:12 AM


Beer
Originally uploaded by sfllaw.

Allison
Originally uploaded by sfllaw.

Aleece and Simon
Originally uploaded by sfllaw.

formal

The secret world of fashion

  • 13th Oct, 2008 at 6:01 PM

or
The curious mind of Nicole Picard.


Secrets
Originally uploaded by sfllaw.

Lady in red
Uploaded by sfllaw.

Look at me
Uploaded by sfllaw.

Who me?
Uploaded by sfllaw.