Hacker Newsnew | past | comments | ask | show | jobs | submit | obfuscate's commentslogin

And it's a shame that postulating genetic group selection is so attractive, since ISTM that this is a very plausible case of group selection of memes about male and female tasks.


There's a huge difference between molecule-scale quantum chemical phenomena (as in photosynthesis) and quantum computation. Finding the former in the brain would be very cool, but it wouldn't be terribly surprising or revolutionize cognitive science the way the latter would.


It is thought that photosynthesis uses quantum computation to determine how to move energy internally within a cell. http://www.rsc.org/chemistryworld/Issues/2007/May/Photosynth...


The inconsistency is because, in the generator-expression case, the calls to f() are being interleaved with the iterations of the generator (so the closed-over variable has the 'correct' value when f() is called). If you change this by running the generator to completion first, the behavior is the same as the list case:

  In [1]: lambdas_listgen = list(((lambda: i) for i in range(10)))
  In [2]: [f() for f in lambdas_listgen]
  Out[2]: [9, 9, 9, 9, 9, 9, 9, 9, 9, 9]


It's still really complicated semantics.


it's only complicated if you expect something which isn't there. it's a gotchya, true.


It's simple semantics with confusing behavior.


I've done this using select.


Er, RDS is (a) SQL (b) backed by EBS.


Understood, however AWS manages the association to block level storage, as well as the performance tuning. You can still operate with ephemeral compute decoupled from storage.


`lsof' is a nice front-end to this particular usage of /proc, and also works on other Unixes (/proc is, I think, a Linux innovation, and absent at least on OS X).


Oh, I never realized that's what the offset column is for. Leave it to me to reinvent (poorly) lsof by digging in some obscure corner of the kernel.


It requires neither.


> That the US's implementation of this law is heavily lopsided in favor of the patent trolls doesn't change the fact that patents incentivize innovation. (Whether they're effective or not is another debate.)

Moving the goalposts.


You can't sever a word from its connotations just by pointing out exceptions.


Mountain View, CA: Quixey (dev/QA/UX, full-time or intern)

http://www.quixey.com/about, http://www.quixey.com/jobs

Quixey is a small startup (private beta, immediately pre-launch) building a search engine for apps across all platforms (mobile, web, desktop, and otherwise). We're looking primarily for engineers to work on everything from front-end JS to infrastructure, as well as a QA lead and UX designer. Experience with our tools (Python 3, jQuery, MongoDB, EC2) is good, but not as important as intelligence and eagerness to learn.

Email: jobs@quixey.com


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: