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 –>


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.

Django efficient reverse lookup

December 23, 2011 Leave a comment

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

Eventlet pycon 2010

December 15, 2011 Leave a comment

Nice introductory video –>

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 –> and it works fine now.

easy_install vs pip

November 12, 2011 Leave a comment

After reading the following posts it was pretty clear why pip should be preferred over easy_install –>

After reading this i tried looking at —

Yes, it’s right, you have an uninstall option and things are cleaner.

I had pip installed. When I started using the pip search it said it doesn’t recognize search. I got —

pip: error: No command by the name pip search

I realized, I was using pip version 0.32 and the world had advanced too much since this was installed! pip search wasn’t available back then. This older version was due to the pip I had installed using apt-get and it would take ages for them to realize there is a new version of a particular package there(no offence, i love apt). So i removed the python-pip package and then did a

sudo easy_install pip

(probably for the last time) It reminds me my earlier days when the first thing I would do after installing windows was to open IE and download firefox!

Anyhow, so now I have pip 1.0.2 installed and it is great to search python packages, install (obviously) and uninstall (not so obvious Mr. Easy_installer) and be happy from now on!

%d bloggers like this: