Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dangerlibrary
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
69 ms
·
691.
▲
by
dangerlibrary
14y ago
Sorry, I wasn't trying to troll you. You asked about multi-line lambdas in python and I gave you a valid Python syntax for multi-line anonymous functions. Here is PEP 202, which simply says list comprehensions are more concise than for loop
692.
▲
by
dangerlibrary
14y ago
For most use cases where you want map/filter/etc, you can chain list comprehensions using generators.
693.
▲
by
dangerlibrary
14y ago
See my comment above - Food Safety News isn't a real news outlet, it's a rag published by the personal injury firm Marler Clark.
694.
▲
by
dangerlibrary
14y ago
Food Safety News is a rag published by a personal injury law firm (Marler Clark). When foodborne illness outbreaks occur and people get sick, the firm profits. I wouldn't read that article as serious journalism.
695.
▲
by
dangerlibrary
14y ago
Pricing it at $50 makes perfect sense if they intend to charge a monthly fee for access to the "Dell Cloud OS" service. It's a worthless little stick without a subscription.
696.
▲
by
dangerlibrary
14y ago
It would just bump Venus's orbit a bit - probably not even enough to notice. A single asteroid doesn't have the potential energy to destabilize a planetary orbit. see: the pockmarked surface of the moon, which still has a stable orbit.
697.
▲
by
dangerlibrary
14y ago
> PHP5.4, PHP5.5, PHP5.2 and PHP5.3 (in that order...) I thought Python limping from 2.7 to 3.3 was silly and confusing. I'm glad I haven't been working in a PHP shop recently.
698.
▲
by
dangerlibrary
14y ago
Gmail doesn't cause cancer.
699.
▲
by
dangerlibrary
14y ago
If Google's products answer my question / solve my problem, their search engine would be worse if those products were excluded from the results. If the government starts regulating the CSS, I'm even more worried.
700.
▲
by
dangerlibrary
14y ago
The FTC never had a prayer on the "manipulating search results" charge. Google's search product is a great big "filter-and-sort." Regulating the "sort" was ridiculous. To my mind, the strange part of the settlement is the FTC's claim that w
701.
▲
by
dangerlibrary
14y ago
It's HTML5, so you can inspect the code with Firebug or Chrome developer tools.