App Engine provides a pull queue API for accessing, leasing, and processing tasks outside of App Engine. I am a fan of Python and so I often use a task queue system called Celery. This system or framework provides a full task queue worker that can use a number of messaging exchanges for getting the tasks. This is achieved using a library called kombu which provides backends for a number [...]
PyCon APAC 2013 is over! Thanks to everyone who helped make the conference a great success. Staff, speakers, attendees alike all contributed to making PyCon APAC 2013 the best PyCon in Japan ever.
Note This post is cross-posted from my post on medium. I learned a lot from learning a second language. I started learning Japanese on my own and moved to Japan several years ago. I now work at a Japanese company where I spend most of my day speaking and writing Japanese. Most people think about learning a second language as a kind of rote learning. You memorize the vocabulary and grammar [...]
Testing out the new photo sphere widget. The widget below is a photo sphere of our trip to Great Falls Park. You can find out more about how to embed the widget here: https://developers.google.com/panorama/web Another working example is here: http://goo.gl/BbEpS
The App Engine 1.7.7 pre-release SDKs were released about a week ago and I finally got around to taking a look at the source code. The only real addition in the release notes and what caught my eye was the socket API being released as an experimental feature for billed apps. Being an experimental feature, that means that the feature is included in the SDK and you can try it out at least locally.
Twitter now allows you to download an archive of your tweets. I've gone ahead and put up my Twitter Archive on this site so it can be perused online easily. You can check out my latest archive at http://www.ianlewis.org/media/twitter_archive/latest/ I'll periodically update this archive so that is somewhat up to date. I'll need to do it manually so I might be able to update it about once a m[...]
I recently came across one feature of Django that seemed pretty useful for one off projects and customizations and was startled because it's one of Django's least mentioned features.
Python supports a simple type of multiple inheritance which allows the creation of Mixins. Mixins are a sort of class that is used to "mix in" extra properties and methods into a class. This allows you to create classes in a compositional style. Mixins are a really great concept but I often find that people use them incorrectly which can lead to some bugs. I often see Mixins used like the fo[...]
There is a small but growing Python community in Japan. Many people, even some of those Python enthusiasts who living in Japan, are unaware of this and don't know who any of these people are. There are a lot of reasons for this but the number one reason is probably the large language barrier between Japanese speakers and non-Japanese speakers. Currently it can be kind of hard to know who's in[...]