Monthly Archives: February 2012

Open source libraries in chrome 17

Credits David M. Gay’s floating point routines homepage dynamic annotations homepage Netscape Portable Runtime (NSPR) homepage Network Security Services (NSS) homepage purify headers homepage google-glog’s symbolization library homepage valgrind homepage xdg-mime homepage xdg-user-dirs homepage BSDiff homepage XZ Utils homepage google-jstemplate … Continue reading

Posted in tech watch | Leave a comment

fetchmail configuration file

fetchmail is a mail-retrieval and forwarding utility; it fetches mail from remote mailservers and forwards it to your local (client) machine’s delivery system. You can then handle the retrieved mail using normal mail user agents such as mutt(1), elm(1) or … Continue reading

Posted in linux | Leave a comment

Pyramid FAQ: from the beginning to production deployment

I started to write pyramid applications 3 weeks ago, as a python and pyramid novice.  Now the application goes to production.  In the development process, many errors and problems happened to the application, although the pyramid documentation is very good, … Continue reading

Posted in python, troubleshooting | Tagged | 4 Comments

A quick start for python pyramid

Installation of pyramid 1.Install python 2.7/3.x 2.Install setuptools For windows, please add C:\Python27\Scripts to PATH variable. For ubuntu: apt-get install python-setuptools 3.Install virtualenv $easy_install virtualenv On windows, download virtualenv-1.7.tar.gz, decompress, and run : python setup.py install create a virtual working … Continue reading

Posted in python | Tagged , | Leave a comment

The concurrent.futures module in python 3.2

A brief introduction on concurrent module in python 3.2 (from python docs) Code for creating and managing concurrency is being collected in a new top-level namespace, concurrent. Its first member is a futures package which provides a uniform high-level interface … Continue reading

Posted in python | Leave a comment

How to convert string with timezone info to date in python

In python, time.strftime() and time.strptime() can be used to format a date to string, and convert string to date. But it is thought buggy in the pyhon strptime() at 2.x version. For example, if you invoke strptime(), It does not … Continue reading

Posted in python, troubleshooting | Tagged | Leave a comment