Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Worst Bug Ever. Parent comment
Here's the same thing re-written in Python:
d = [compute_diffraction_at_wavelength(x, WAVELENGTH) for x in LensLayers]
d = map(compute_diffraction_at_wavelength(WAVELENGTH), LensLayers)
There are no comments on this comment yet.
Here's the same thing re-written in Python:
Or oldschool Python (and still faster, I think):