Gevent 0.13.0 and mercurial: __init__() got an unexpected keyword argument ‘ciphers’

I came across some confusing errors when combining patch_socket, patch_ssl of Gevent 0.13.0 (the one in Ubuntu 11.10) and Mercurial today. If you get this error: __init__() got an unexpected keyword argument 'ciphers' update your Gevent version to at least 0.13.1. That should resolve your issue. Good luck!

Will be reviewing “Grok 1.0 Web Development”

This is just a quick note to announce that I will be reviewing “Grok 1.0 Web Development” from Packt Publishing. They kindly provided me with an elektronic copy of the book. I’m looking forward to getting to know a new Python web framework (Grok) and the framework it’s based on (Zope 3). To be continued…

Using the mercurial mq extension

Being a big git fan, I was disappointed when I was forced to use mercurial at work. In my opinion, mercurial is not as flexible and powerful as git. But lately I’ve started to use the mq extension of mercurial, which gives me back some of the more powerful features of git I had missed the most. One thing I liked about git was being able to update my commits to include the name of a reviewer in the commit message, or to include the fixes that resulted from the review in the commit.
Read more

Game prototyping with pygame

I’m subscribed to a few gaming-related blogfeeds and Lost Garden is one of my favorites. Today Lost Garden’s Danc posted a new game prototyping challenge: “Play With Your Peas”. The challenge is to build a game based on Danc’s game idea, using his (free!) graphics. The game idea and the graphics were both very attractive, so I decided to dive in. I used Istanbul to record a screencast of the result after 10-odd hours of hacking with pygame.
Read more