I have submitted a proposal for a talk on micro-optimization for PyOhio, and you should check out the CFP yourself (ok, probably not you, mom…). I had to write a little bio and I put a link to this blog in it, so I figured I’d make sure I still had the login information [...]
Entries Tagged as 'Python'
PyOhio beckons
May 9th, 2010 · No Comments
Tags: Python · Software · Software Development
Building pycurl on MacOS 10.6
February 14th, 2010 · 2 Comments
If you try to build the lastest pycurl (7.19.0) on MacOS 10.6 you may get the following errors:
i686-apple-darwin10-gcc-4.2.1: /usr/lib/libcurl.a: No such file or directory
powerpc-apple-darwin10-gcc-4.2.1: /usr/lib/libcurl.a: No such file or directory
i686-apple-darwin10-gcc-4.2.1: /usr/lib/libcurl.a: No such file or directory
The problem is that setup.py is calling curl-config (as it should) and requesting the static libs as well as the [...]
Tags: Python · Software Development
Python building update…
January 10th, 2010 · No Comments
It turns out this issue had already been reported, at:
http://bugs.python.org/issue4366
The initial (unaccepted) patch in there did the same thing I did in my source tree to make it work, but it was clearly the wrong thing (it had the “wrong thing” smell from the start, really). After a bunch of digging, the reality is [...]
Tags: Python · Software · Software Development
Building Python 2.x on FreeBSD 5.3
January 5th, 2010 · No Comments
Ok, really that should be 2.6.4 and 2.7.1a1, but I’d imagine this problem might exist for more than just those versions. I haven’t tried to build 3.x.
I don’t quite know the exact steps that produce this problem (maybe any/all configure option?), but if you do:
./configure –enable-shared
as is my wont to do, Python happily builds [...]
Tags: Python · Rants · Software Development
And the letter of the day is…
November 2nd, 2009 · No Comments
Children, when writing Python code, remember, bare except clauses are bad. BAD.
Python, DTrace, OSX, Oh my!
September 6th, 2009 · No Comments
I’ve been poking around using dtrace on OS X (Snow Leopard) recently and have some interest in using it with Python. Apple provides probes in Python (although they have yet to make it upstream, for reasons that I can’t fathom, given that they’ve been available for years) but I’m having some issues with them.
There [...]
Tags: Python · Software · Software Development
PyOhio from afar…
July 26th, 2009 · No Comments
Sadly I have the flu, so I haven’t been able to go to PyOhio. Word on the mailing list is that things are going well, and I’m disappointed that I’m not there sprinting, speaking, and generally hanging out with other fun python developers, but infecting other people is regarded as bad form.. :-/
I’ve spent [...]
Why collections.deque is my new favorite data structure
July 15th, 2009 · No Comments
In the process of unrolling some recursive algorithms to be iterative, I’ve started using collections.deque, and I’ve decided it’s my new favorite general-purpose python data structure. This wasn’t a hard decision – lists are the general utility collection type and they suck, so really anything ordered and mutable was probably going to be better [...]
Tags: Python · Rants · Software
PyOhio Hotel Info
July 11th, 2009 · No Comments
Catherine has arranged for a room block at the Blackwell Inn (which is right across from the conference location) for $109 a night, so grab rooms while they’re hot…
We still haven’t nailed down a specific location for the sprints yet, but they’ll either be at the hotel or at Knowlton (the main conference location). [...]
Tags: Python
PyOhio Sprints
June 26th, 2009 · No Comments
I’ve accepted the rather loosely-defined job of PyOhio Sprints Coordinator, and I’ll be sending out an email soon outlining at least a skeleton of a plan and looking for volunteers to herd cats the day-of for individual sprints, as well as for sprint ideas. Because the event is likely to be relatively small, I’d [...]
Tags: Python