Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lisael
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
lisael
5y ago
GP told about "a government". You rephrased to "The people running our society". If we accept the fact that this people is, simply put, the rich and the giant corporations... they have a lot to gain from some kind of fas
2.
▲
by
lisael
8y ago
FWIW Pypy used to share this behaviour. It was clearly a bug, as it doesn't follow CPython convention. It's around since 2013 and was found in a unit test coverage improvement effort in Feb. 2018. Given that pypy is mostly used fo
3.
▲
by
lisael
8y ago
To elaborate on the 'nice little shortcut' you mentioned, here it is: If a==b and N≠0 , then x==y EDIT: Formatting
4.
▲
by
lisael
8y ago
(a + b)/c = a/c + b/c for c ≠ 0 . Otherwise it has no meaning. Therefore (2 + 1)/0 = 2/0 + 1/0 is not even false, it just means nothing. BTW, you didn't mention Infinity explicitly, but it would lead to t
5.
▲
by
lisael
8y ago
Meanwhile, in Python... In [1]: 255 + 1 is 256 Out[1]: True In [2]: 256 + 1 is 257 Out[2]: False Every language has its inconsistencies, when it comes to math, because they run on real-world computers. All these are "slow&
6.
▲
by
lisael
8y ago
Pony does have exceptions, and indexing an array does raise if the index is out of bound. It doen't have runtime errors because all exception must be handled somewhere in the call stack, the sooner, the better. Because of this rule, de
7.
▲
by
lisael
9y ago
And please, don't break / either. Github and docs.python.org for instance don't play nice for vim users.
8.
▲
by
lisael
12y ago
Anything that silently sends informations about your users to a third party is nasty by nature, including google analytics, gravatar, disqus, +1/like buttons and many more. Please, web designers, think twice before selling all your use