As a personal project I’ve recently been looking into creating a small Twitter client in Objective-C/Cocoa. This is largely because I quite like Objective-C as a language and haven’t had the chance to write anything significant in it, but also partly because Twitter have made the news recently with their API nuttiness and I wanted […]
Category: Uncategorized
About the Lack of Updates
If you look over my contributions to my own open source projects over the last six months you will have noticed that I became less active. Why is that? There is no big conspiracy ongoing and I also don’t plan on keeping it this way, but there are two reasons for this. The first one […]
Git Yer Hooks In
Git, like all good source control systems, allows you to customise the behaviour of the SCM when certain actions occur. For lots of people in lots of projects it’s not vital to use these hooks, but from time-to-time you find yourself repeating the same commands time-and-again. In these scenarios, it is worth looking into setting […]
pythonpackages.com: pyformance 0.2
pythonpackages.com helps Python programmers package and release their software with just a few clicks. pyformance 0.2 pythonpackages.com recently processed it’s first official release via the new GitHub Service. As such, we are celebrating the release of pyformance 0.2! According to the author Omer Gertel: It’s a straight forward port of Coda Hale’s fantastic metrics package […]
Codec Confusion in Python
Alright, I admit Alex Gaynor is a pretty clever guy but I was very close to strangling him today for this tweet: @alex_gaynor: WTF does str.encode or unicode.decode even do on Python2? And that’s because on the way to Python 3 these functions were removed because they cause confusion with people, but this broke a […]
Opalescent Olympics
Author’s Note: I’m taking a break from writing about tech to write about sports. Any readers who aren’t interested should wait until next week, when I sort-of-promise to write about the Python Requests library. Australian Opals enjoying their Bronze Medal victory. Image courtesy of London2012.com. The 2012 Summer Olympics are coming to a close. As […]
Pythonpackages.com: New GitHub Service – Push to Release
pythonpackages.com helps Python programmers package and release their software with just a few clicks. PythonPackages GitHub Service There is a new GitHub Service available for pythonpackages.com that allows you to release Python packages from GitHub to the Python Package Index, simply by pushing a commit message that begins with “Release” e.g.: $ git commit -a -m […]
pythonpackages.com: Using PyPI’s OAuth1 support to register and upload packages
TL;DR PyPI has OAuth1 support; pythonpackages.com uses it to send your GitHub repos to PyPI. Thanks in very large part to Richard Jones, the Python Package Index now has support for registering and uploading packages via OAuth1. And using his sample code I was able to take advantage of it on pythonpackages.com. The result is […]
Building Windows Installers in the Cloud
With pythonpackages.com I want to solve real problems for people today. So here’s a proof of concept for building Windows installers quickly and easily “in the cloud” (i.e. without a Windows machine local). This article is mostly about the back end, as the front end is already documented. TL;DR: We’re moving from proof-of-concept phase to […]
Mail Loop From Hell
Found in #django on freenode, Jul 12, 2012. All names are edited. 11:16 < abrt> since it’s quiet in here I’ll tell you a story. 11:16 < abrt> back in 1992, I had just graduated university and was interning at a government facility in newport news 11:16 < abrt> along with some friends from college. […]
Pillow Moved to python-imaging Organization
On 7/30/2010 Pillow, the friendly PIL fork, was released. Since then, there have been a number of releases: $ vanity Pillow Pillow-1.0.tar.gz 2010-07-31 800 Pillow-1.1.tar.gz 2010-08-01 652 Pillow-1.2.tar.gz 2010-08-02 1,987 Pillow-1.3.zip 2010-11-28 589 Pillow-1.4.zip 2010-11-28 587 Pillow-1.5.zip 2010-11-28 876 Pillow-1.6.zip 2010-12-01 6,706 Pillow-1.7.0.zip 2011-05-28 678 Pillow-1.7.1.zip […]
The Absolutely Simplest Consistent Hashing Example
Lately I’ve been studying Redis a lot. When using key/value databases like Redis, as well as caches like Memcached, if you want to scale keys across multiple nodes, you need a consistent hashing algorithm. Consistent hashing is what we use when we want to distribute a set of keys along a span of key/value servers […]
pythonpackages.com beta launch
After 9 months of development, pythonpackages.com has grand-ceremoniously flipped the switch from alpha to beta. Here is an overview of the beta release features. Killer GitHub integration The workflow you may now enjoy is: Login with your GitHub account Select a repository that contains a Python package One-click release More sweet workflow: Click a button […]
Server Side Templates and API Centric Development
We’re here to talk about the rise of the API-focused application, and how it interacts with templates for rendering HTML for web browsers. The simple point I hope to make is: you don’t necessarily need to use all client side templates in order to write an effective API-centric web application. I’ll do this by illustrating […]
Goodbye WordPress, hi rstblog!
Since having switched from the PHP world to the Python world about 2 years ago, I thought about relaunching my Blog using Python instead of PHP. At first, I thought about creating an application with Django and PostgreSQL, but never really had the time and motivation to finally implement it. But today I stumbled over […]