370 karma · joined Jul 10, 2017 (9y ago) · 117 submissions
comment 12mo ago · link · parent
I don’t know if that exactly explains the short life of the Labubu fad, but I find the disappearance of shared culture quite evident these days.
comment 1y ago · link · parent
You say you’re trying to improve the original design, but it’s not clear to me how what you’ve done is an improvement.
comment 1y ago · link · parent
I have yet to find a single drawback of adopting mypy (or similars) that isn’t completely eclipsed by the benefits.
comment 2y ago · link · parent
Yes, that was my point.
> For the majority who use Python for single threaded code, no-GIL will make their code slower because a thread-safe interpreter is always going to be slower than one that can assume ST operation.
I'm almost sure the python developers said that they will compensate the slow down with other optimizations, so that you'd never have single-threaded performance degradation version-to-version.
> So no-GIL will only be faster for a minority of a minority who want parallelism but can’t use OS processes or subinterpreters.
One would hope to 1. open new use cases for python thus attracting developers that would have otherwise not given the language consideration and 2. other users could benefit from new optimizations that could be implemented further down the dependency stack.
Of course there's no guarantee that that will materialize, but the idea the adding support to an established, lightweight and well-supported concurrency primitive is so obviously a "stupid idea" shows to me that your (rudely expressed) opinion is entirely self-centered and nearsighted.
I might add that the move from python 2 to 3 was incredibly painful, but I assume most agree (with the benefit of hindsight) that it was entirely correct.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
(Un)countability is at the core of most of the counterintuitive results of measure theory, exactly because of the the third property of measure.
comment 2y ago · link · parent
V[A ∪ B ∪ C ∪ ...] = V[A] + V[B] + V[C] + ...
is only guaranteed if you have a countable number of sets[1]. If you split a sphere into an uncountable number of pieces in the right way (which requires the Axiom of Choice) you can break this rule without being inconsistent with measure theory.
[1]https://en.wikipedia.org/wiki/Measure_(mathematics)#Definiti...
comment 2y ago · link · parent
[1] Chapter 1 of https://en.wikipedia.org/wiki/The_Great_Cat_Massacre