It took me more than a week finding its name.
Archive for December, 2009
Artificial Funk – Never Alone
Wednesday, December 30th, 2009Python: defaults arguments
Tuesday, December 29th, 2009Here is a funny snippet of code:
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> class foo:
... def __init__(self, x=[]):
... self.y = x
...
>>> a = foo()
>>> a.y.append("123456")
>>> a.y
['123456']
>>> b = foo()
>>> b.y
['123456']
>>> a.y.append("987654")
>>> a.y
['123456', '987654']
>>> b.y
['123456', '987654']
You better define foo as following:
>>> def foo(): >>> def __init__(self, x=None): >>> if x is None: x = [] >>> self.y = x
Sebastien Leger – Bambou (Original Mix)
Sunday, December 27th, 2009Eclipse: update sites.
Sunday, December 6th, 2009Default
http://download.eclipse.org/releases/galileo
Pydev (Python)
http://pydev.org/updates
JGit (Git)
http://www.jgit.org/updates/
Subclipse (Subversion)
http://subclipse.tigris.org/update_1.6.x
Vrapper (Vim)
http://vrapper.sourceforge.net/update-site/stable
AnyEdit (Editor features)
http://andrei.gmxhome.de/eclipse/