> concurrency-related bugs that have been masked by the GIL
Yeah... could phrase this as "All programs written with the assumption of a GIL are now broken" instead. Wish they had done this as part of the breaking changes for python 3, I guess they'll have to wait for Python 4 for this?
I think I read that there won’t be another big jump like there was for Python 2-3. If I understood correctly, there could be a Python 4, but it won’t indicate huge breaking changes, it’ll just be another release
You mean programs where you put an object into pickle and some other threads modify it while pickle is processing it? Doesn't surprise me - the equivalent written in plain Python would be very thread unsafe as well.
What’s the most performance critical alternative? Pickle is tied to the VM, so it’s not a generally good persistence option in a prod setup, but it can mighty convenient.
JSON, protocol buffers, thrift, etc. Saving python-native objects such as functions, class instances etc is usually not the right thing to do in production code.
It would appropriate to quote one old saying, possibly originated in armed forces of a certain country:
"do not rush to execute an order, it will likely be canceled"
I've lived in a couple of countries where bribes are a way of life. I'm happy it's not the case in CA.
Still, does anyone here know of a country, where artificially limiting resources do not encourage to bribes? Better yet, if somebody names a country, where bureaucrats are by law forbidden to limit the resources artificially, I'll strongly consider immigrating.
Very interesting indeed: "In fact, more small-particle pollution comes from the action of car brakes and tyres than from the exhaust fumes of current internal-combustion engines – a testament to the effectiveness of catalytic converters and to modern fuel-injection systems."
Then electric vehicles are not nearly as clean as the public thinks they are: every two Teslas or electric cars on the road produce more small-particle pollution from the action of their brakes and tyres than the total small-particle pollution of one internal combustion vehicle (engine, brakes, and tyres).
"I study sleep. While some of walker's claims may be hyperbolic, I think they are within reason and justified by the important message he is trying to convey. Too many people have begun to forego sleep in their health choices, and he has helped raise awareness of sleep's role in our health.
Many of these criticisms are quite unfair or misunderstanding the science."