I’ve been racking my brains to find something to present at PyCon 2010. I have been trying to find something good to present since PyCon 2003, when I last presented at PyCon. (I talked about Ape, the Adaptable Persistence Engine for Zope.) I really liked the experience of presenting and it led to [...]
Continue reading about PyCon 2010: I Want to Present Something
I have been working on a project based on repoze.bfg. BFG is a system for building web software and it has deep Zope roots.
(Incidentally, the BFG 9000 weapon in Doom and Quake is quite fun. For stress relief, it’s better to play against the computer rather than people on the Internet because the computer [...]
At the Zope sprint held during PyCon 2009, we had a multi-day discussion about the Zope publisher. Some people were expecting a fight between Jim and me about the best way forward. So what happened? Read on!
Continue reading about Zope Publisher Decisions at PyCon 2009
I have been planning to compare mod_wsgi with paste.httpserver, which Zope 3 uses by default. I guessed the improvement would be small since parsing HTTP isn’t exactly computationally intensive. Today I finally had a good chance to perform the test on a new linode virtual host.
The difference blew me away. I couldn’t believe it at [...]
I like to believe that I am a competent software developer in both Python and Java. As a competent developer, I find that certain things are generally much easier than other things.
For instance, I just spent a frustrating week working out how to install a Shibboleth identity provider, yet I never got it working quite [...]
Problem: running “python bootstrap.py” or “bin/buildout” often produces scripts that mix up the Python package search path due to some packages being installed system-wide. Version conflicts result.
Workaround: use “python -S bootstrap.py” and “python -S bin/buildout”. Magically, no more version conflicts.
I wish I had thought of that before. Duh!
Update: Another tip for new zc.buildout users I’ve [...]
Martijn Faasen suggested this solution in a comment on my previous post and I think it’s the best. I created a new service:
http://packages.willowrise.org
I simply posted a patched ZODB3 source distribution on a virtual-hosted server. The first tarball, “ZODB3-3.8.1-polling-serial.tar.gz”, includes both the invalidation polling patch and the framework I created for plugging in data serialization formats [...]
I’ve been thinking more about patching Python eggs. All I really need is for buildout.cfg to use a patched egg. It doesn’t matter when the patching happens (although monkey patching is unacceptable; the changes I’m making are too complex for that.) So the buildout process should download an egg that has already been patched. That [...]
The term “egg” as used in the Python community seems so whimsical. It deserves lots of puns. A couple of weeks ago, I made a little utility for myself that takes all the eggs from an egg farm produced by zc.buildout and makes a single directory tree full of Python packages and modules. I called [...]
Seeing this in a text editor makes me nervous:
That’s invalid code, but I didn’t write it: the IDE is displaying my file completely incorrectly. There are lines missing. There is some kind of repaint bug and it has something to do with scrolling. No matter how featureful an IDE might be, I [...]