Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ali_m
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
ali_m
6y ago
Variadic generics should make this possible in future: https://www.python.org/dev/peps/pep-0646/
32.
▲
by
ali_m
6y ago
That might actually suit NVIDIA's interests just fine - they could sell uncrippled GPGPU-capable cards at a premium whilst claiming that they're helping to protect the supply of cards for gamers. However I think it would be diffic
33.
▲
by
ali_m
6y ago
This is from "A Connecticut Yankee in King Arthur's Court" by Mark Twain - here he's talking about the Reign of Terror during the French Revolution
34.
▲
by
ali_m
6y ago
https://xkcd.com/1425/
35.
▲
by
ali_m
6y ago
It's a bit bizarre that they didn't even link to their own paper from the github repo
36.
▲
by
ali_m
6y ago
I wonder how that compares to the stress of knowing that you live on land that's prone to earthquakes and tsunamis that kill tens of thousands of people?
37.
▲
by
ali_m
7y ago
clang has UBSan, which adds runtime checks for detecting various kinds of undefined behaviour: https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html
38.
▲
by
ali_m
7y ago
https://en.m.wikipedia.org/wiki/AI_effect
39.
▲
by
ali_m
7y ago
I actually much prefer Black's version in this case. I find nested comprehensions quite a lot easier to read if they are broken onto multiple lines.
40.
▲
by
ali_m
8y ago
What would be the advantage over just having your __del__ method do the cleanup directly (rather than using a context manager)? You still suffer from most of the disadvantages of using __del__ - you have very few guarantees about when it wi