Friday, October 10, 2008

Google's GeoEye-1's First Picture

Google's GeoEye-1(wiki link) has taken it's first picture, and wow, the pic is so clear.

The pic taken is of Kutztown University, Pennsylvania.



Related Slashdot link. Well, first comment is informative, rest are all funny. Worth reading, for laughs.

Wednesday, October 08, 2008

urllib2 problems in python

Ever received this error while you were using urllib2. And you use proxies to connect to the internet?


urllib2.URLError: <urlopen error (111, 'Connection refused')>


Set the HTTP_PROXY environment variable and the problem is solved.


npower@The-Matrix~:$export HTTP_PROXY="http://144.16.192.245:8080"


In this case, 144.16.192.245 is the proxy I use, and on port 8080.