Archives
- June 2013 (1)
- May 2013 (2)
- April 2013 (2)
- March 2013 (1)
- February 2013 (2)
- January 2013 (3)
- December 2012 (2)
- November 2012 (3)
- October 2012 (2)
- September 2012 (2)
- August 2012 (1)
- July 2012 (2)
- May 2012 (4)
- April 2012 (2)
- January 2012 (1)
- December 2011 (1)
- November 2011 (2)
- August 2011 (1)
- June 2011 (1)
- May 2011 (2)
- February 2011 (1)
- January 2011 (1)
- November 2009 (2)
- October 2009 (2)
Twitter Updates
- @rachbelaid There is a limited amount of rooms in "Hotel gocept." 1 month ago
- flyingcircus: Storage server outage - few VMs affected bit.ly/YWEVIw 2 months ago
Author Archives: Wolfgang Schnerring
developer & admin BBQ IV
Our fourth BBQ (invitation post) had the most participants so far, almost 20 people were here to talk shop, exchange ideas and brave the unfortunately slightly rainy weather (the grilled goods were delicious regardless). We’re especially glad that the ratio … Continue reading
Posted in Uncategorized
Leave a comment
Upcoming talks at PyCon DE 2012
Most of gocept is headed towards the German PyCon next week! We’re excited and look forward to meeting people, exchanging ideas and learning new things. We have prepared several talks to share some of the experiences we gained over the … Continue reading
Posted in en
Leave a comment
Autumn Developer BBQ
Our second meet/talk/barbecue event was last week, and we think it was even better than the first one. In the unconference part, these were the topics we talked about: Demo of batou, the deployment tool Django Sentry: centralized error-logging DRBD … Continue reading
Posted in en
2 Comments
Our first developer BBQ
We invited developers and sysadmins to join us for talking shop and barbecuing last Friday. Even though several people had signed up and said they wanted to come, at first none of the guests seemed to arrive. But after an hour … Continue reading
Profiling class-based views
Just a quick note for profiling e.g. Zope views: class MyView(object): def __call__(self): result = {} cProfile.runctx(‘result["x"] = super(Body, self).__call__()’, globals(), locals(), ‘/tmp/viewprofile’) return result['x'] Even though “exec ‘result = super(…) in globals(), locals()’ works, … Continue reading
Posted in en
Leave a comment
Sprint fruits: gocept.exttest and gocept.package
The whole company spent three days in Kloster Drübeck sprinting on internal tools and topics. We overhauled our workflow for generating invoices and identified steps that we could automate. We polished and released gocept.exttest, which integrates for example JavaScript unittest … Continue reading
Getting sys.path out of buildout
A wrinkly part of buildout‘s design is that the PYTHONPATH is not easily available outside of scripts generated by buildout itself. I’ve been using the following workaround in some of my development tools for a while and found it quite … Continue reading
Posted in en
Leave a comment
Assertion helper for zope.testbrowser and unittest
zope.testbrowser is a valuable tool for integration tests. Historically, the Zope community used to write quite a lot of doctests, but we at gocept have found them to be rather clumsy and too often yielding neither good tests nor good … Continue reading
Posted in en
Leave a comment
Shutting down an HTTPServer
For integration tests it can be helpful to have a fake HTTP server whose behaviour the tests can control. All necessary building blocks are even included in Python standard library. However, the BaseHTTPServer is surprisingly hard to shut down properly, … Continue reading
Posted in en
Leave a comment
How-To: Undo a transaction with the ZODB
Suppose you’ve written a script to “fix something real quick” and unleashed it upon your live database. Five minutes later, you discover your script had a bug, and now you’ve wrecked quite a bit of production data. Ouch. You might … Continue reading