Category Archives: Open Source

All things FOSS

Building Python 2.6.8 on Ubuntu 12.04

Update 2012-06-01: Looks like pythonz is an easier way to install Python 2.6.8 (and all other Pythons) on Ubuntu 12.04. Ubuntu 12.04 builds OpenSSL without SSLv2. Python 2.6.8 expects OpenSSL to be built with SSLv2. This is a bug that … Continue reading

Posted in GNU/Linux, Open Source, Python | 5 Comments

Failing with MongoDB

Update: Sorry this isn’t my best piece of writing and there seems to be some confusion. The dataset in question was first in a 1.8 master/slave pair and then migrated to sharded replica sets and 2.0.0. For a bit of … Continue reading

Posted in Open Source, Technology | Tagged | 48 Comments

MemoryMapFile Convenience Class for Python

My obsession with mmap hasn’t died, but while Python’s mmap module is a wonderful low level library it’s a bit hard for a newcomer to use properly. I’ve started toying with a convenience wrapper class for mmap.mmap (at least the … Continue reading

Posted in Open Source, Python, Technology | Tagged | Leave a comment

Sharing Python data between processes using mmap

I’ve been toying with an idea of exposing statistics for a Python application via shared memory to keep the performance impact on the application as low as possible. The goal being an application could passively expose a number of metrics … Continue reading

Posted in GNU/Linux, Open Source, Python, Technology | Tagged , , , | 6 Comments

signalfd

This article covers signalfd, a system call only available on Linux. If anyone knows of an equivalent for OSX or BSDs,* please let me know. It’d be great to create a compatibility layer. Writing asynchronous IO code is fun; handling … Continue reading

Posted in GNU/Linux, Open Source, Python, Technology | 3 Comments

schmongodb slides from Update Portland

A few months ago someone in #pdxwebdev on Freenode asked an innocent MongoDB question. In response I ranted seemingly endlessly about our experience with MongoDB at Urban Airship. After a few moments somebody (perhaps sarcastically? who can know on IRC) … Continue reading

Posted in Open Source, Technology | Tagged , , | 7 Comments