Better HN
topnewbestaskshowjobs
Log inSign up

sunqiang

20 karma · joined Sep 14, 2010 (16y ago) · 20 submissions

Submissions

comment 14y ago · link · parent

for RHEL 5, it's Python 2.4, for RHEL 6 it's Python 2.6.

comment 14y ago · link · parent

from http://wiki.python.org/moin/PythonVsHaskell

List Comprehension Syntax:

Python's list comprehension syntax is taken (with trivial keyword/symbol modifications) directly from Haskell. The idea was just too good to pass up.

comment 14y ago · link · parent

don't know for sure, it might be C++, Java, and now they have Go.

comment 14y ago · link · parent

so, it's not as easy as python 2.x to 2.(x+1) and python 3.x to 3.(x+1). will every version update of Ruby will suffer as mush as Ruby 1.8 to 1.9?

comment 14y ago · link · parent

what type of paper, Google's coding policy? there is a mail-list post, https://groups.google.com/forum/?fromgroups#!topic/unladen-s...

comment 14y ago · link · parent

Python 2 to Python 3 is a big jump once in a lifetime. what about ruby 1.9 to ruby 2.0?

comment 14y ago · link · parent

The PyPy team is amazing, for example Quora is now running on PyPy. and it's easy for a Python programmer run PyPy as an alternative(and hopefully fast) implementation.

comment 15y ago · link · parent

Python 2.5 has any (and all) Python 2.3 has itertools so Google App Engine(2.5) should have both of them.

comment 15y ago · link · parent

There is a PyCon video about Dropbox: PyCon 2011: How Dropbox Did It and How Python Helped http://pycon.blip.tv/file/4878722/

comment 15y ago · link · parent

Sorry for my broken English, thanks for the elaboration.

comment 15y ago · link · parent

yeah, http://www.python.org/dev/peps/pep-0374/

comment 15y ago · link · parent

It's Chinese, which is a three-dimensional map of GuangZhou city, the labels are the names of places. and as rywang mentioned above, there is a 3d map http://sh.o.cn/ for ShangHai too

comment 15y ago · link · parent

I am a native speaker(not born recently though). it still hard to speak or listen 'other' dialect, but more and more Mainland Chinese Speak mandarin instead of dialect, so it's more and more easy to communication.

comment 16y ago · link · parent

Perhaps try this instead? http://nlp.stanford.edu/fsnlp/

comment 16y ago · link · parent

for web (framework). Google App Engine still depends on Python 2, Django has some hesitates for the Python 3 port[1], the thread has some discuss about Python 3.2, peps 333(3) too. and have a Python 3 version itself is not the same thing it can be put into production as it's tried-and-true Python 2 version.

[1] http://www.gossamer-threads.com/lists/python/dev/862066#8620...

comment 16y ago · link · parent

I think the real point is how many third party libs and packages support Python 3 yet. http://dev.pocoo.org/~gbrandl/py3.html

comment 16y ago · link · parent

and Generator Expressions[1], a lazy version of list comprehensions [1]: http://www.python.org/dev/peps/pep-0289/

comment 16y ago · link · parent

http://stackoverflow.com/questions/tagged/python http://stackoverflow.com/questions/tagged/ruby

look at the "question tagged" and "Related Tags". maybe ruby is still focus "too much" on rails, on the other side, python has better overall ecosystem.

comment 16y ago · link · parent

and IPython, it's a import part of NumPy/SciPy/MatplotLib family, offers a great many convenience features, such as tab-completion of python functions and a good help system. not to mention the new ZeroMQ messaging design(http://ipython.scipy.org/doc/nightly/html/development/messag...).

comment 16y ago · link · parent

Maybe it can play the similar role in the MapReduce field like Sqlite in the Database world?