Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nslocum
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
nslocum
13y ago
You're correct. Further, there are some odd quirks because of the way Python caches small Integers for efficiency. > 2 + 2 is 4 True > 1000 + 1 is 1001 False
32.
▲
by
nslocum
13y ago
In the Wrapping Up section, there are some very interesting points that weren't covered in the article. - Why is "list += seq" not the same as "list = list + seq"? - Why is "is" different than "
33.
▲
by
nslocum
13y ago
"Trust, but verify" It would be foolish for a country to blindly trust bureaucrats from other nations, even allies. That's why it's common for friendly nations to do extensive spying on each other. Any government who did
34.
▲
by
nslocum
13y ago
The NSA isn't focused exclusively on terrorism. It has ~40k employees who work on a wide range of areas, drug cartels, human trafficking, money laundering, counter intelligence, espionage, and hundreds of others. It's mighty presu
35.
▲
by
nslocum
13y ago
As a big fan of the Economist, I'm surprised they didn't catch the typo in the name of the project they're reporting on. "Digitial Media Initiative (DMI)" Especially since a rudimentary spell-checker would have caug
36.
▲
by
nslocum
14y ago
One of those repos was mine. :( Fortunately it was a fresh Rails app without anything important. However, it does make me rethink the security of storing my code on github.