Archive

Archive for December, 2011

Using Django transactions to do bulk insert query

December 28, 2011 Leave a comment

I recently came across this simple solution of doing bulk queries in django  using transaction management trick –>

http://techguyinmidtown.com/2009/01/28/manage-your-django-transactions/

Advertisements

Language showdown: stackoverflow

December 26, 2011 2 comments
English: Python logo Deutsch: Python Logo

Image via Wikipedia

This was a very simple post of language showdown. The problem is very trivial, so this in no way indicates what language is better or worse. It’s just about looking how it’s done elsewhere.

Redundant to say, python is clean and elegant as always. Just go through the link below and check out. I am thankful for coming across python.

http://stackoverflow.com/questions/166899/language-showdown-convert-string-of-digits-to-array-of-integers/

Django efficient reverse lookup

December 23, 2011 Leave a comment

Nice post on how not to query the crap out of your database –>

http://blog.roseman.org.uk/2010/01/11/django-patterns-part-2-efficient-reverse-lookups/

Eventlet pycon 2010

December 15, 2011 Leave a comment

Nice introductory video –>
http://python.mirocommunity.org/video/1629/pycon-2010-eventlet-asynchrono

UnicodeEncodeError: ‘ascii’ codec can’t encode character

December 14, 2011 Leave a comment

python zeromq (pyzmq) install problem

December 13, 2011 1 comment

After some issues with pip and apt, I came across this –> http://johanharjono.com/archives/633 and it works fine now.

%d bloggers like this: