Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_ZeD_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
82 ms
·
961.
▲
by
_ZeD_
14y ago
Just as note: I don't really would call "len(o)" a "legacy call", as in "something it's here just for backward compatibility, but it's ugly and please don't use it". It's more "the good way to do it" :D len() is a perfect example of the duc
962.
▲
by
_ZeD_
14y ago
I am a pythonista by hobby... and I've seen many times in these too many ruby / python comparison, that only in ruby "Everything is an object, without exception." but... I cannot find a "thing" that isn't an object, in python neither... car
963.
▲
by
_ZeD_
14y ago
funnily, the article itself is an "offending site": http://tinypic.com/view.php?pic=1g14rd&s=6
964.
▲
by
_ZeD_
14y ago
I don't get it: what is the other interpretation, beyond "two people and some onlookers"? Clearly George cannot be "a policeman and several onlookers". And the added comma, as said in the article, transform "a policeman" in an aside.
965.
▲
by
_ZeD_
14y ago
well, in this particular case, operator.itemgetter is your friend :D import operator def get_users_by_posts(): return sorted(users, key=operator.itemgetter(1)) then, if you really want to, you can use functools.parti
966.
▲
by
_ZeD_
14y ago
NIH
967.
▲
by
_ZeD_
14y ago
Have you tryed LyX? from http://www.lyx.org/Features : Document management Change tracking Support for external version control systems (RCS, CVS, SVN) Comparison of different versions of the document
968.
▲
by
_ZeD_
14y ago
uhmm, AFAIK pep8 suggest UpperCamelCase for classes, under_score for packages, methods and functions[0] btw: it's not a decorator :) but a camelCase->under_score renamer it's pretty easy to write import re def unCamel(obj
969.
▲
by
_ZeD_
14y ago
and pyQuery too - http://pypi.python.org/pypi/pyquery (btw it's a really good way to handle xml)
970.
▲
by
_ZeD_
14y ago
kate[0] can cope too with modified or deleted open files (see http://kate-editor.org/wp-content/uploads/2012/10/step4.png for an example) [0] http://kate-editor.org/about-kate/
971.
▲
by
_ZeD_
14y ago
Please, tell me you're jocking: on your platform you cannot afford a pipe but you can launch node.js? by the way: "-print0 | xars -0" is really idiomatic, you know? Lucky you didn't have a single filename with spaces to handle...
972.
▲
by
_ZeD_
14y ago
Are you joking? Try with http://it.wikipedia.org/wiki/Verbi_irregolari_italiani
973.
▲
by
_ZeD_
14y ago
have you even tried lyx? http://www.lyx.org/
974.
▲
by
_ZeD_
14y ago
but... but... it's not a .gif? All I see is a .png!
975.
▲
by
_ZeD_
14y ago
The head and the body are reverse spinning!
976.
▲
by
_ZeD_
14y ago
false $ ls -Ql totale 4 -rw-r--r-- 1 zed users 33 set 6 07:30 " spaces " $ $ find -name '*spaces*' | while read text; do cat "$text"; done cat: ./ spaces: File o directory non esistente $
977.
▲
by
_ZeD_
14y ago
But apart from the sanitation, the medicine, education, viniculture, public order, irrigation, roads, the fresh-water system, and public health, what have the Romans ever done for us?