Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
oblvious-earth
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
oblvious-earth
4y ago
Yes, he then retired, came out of retirement to work at Microsoft with a remit to work on whatever he wants, and decided the project he wanted to work on was make CPython faster.
32.
▲
by
oblvious-earth
4y ago
Yes this would be a challenge for extension modules to implement support for this. Here is a discussion between the core dev and the numpy team: https://mail.python.org/archives/list/numpy-discussion@pytho... It&#
33.
▲
by
oblvious-earth
4y ago
You didn't ask my main question which was: What do you mean by "safely" here? > 99% of the users do not know what is actually trusted or not. Before it was only 0.01% of users know what they're doing and now it's
34.
▲
by
oblvious-earth
4y ago
> How easily average users can install app safely without Google account on Android? Underlining the word safely. What do you mean by "safely" here? What is unsafe about going to a trusted APK source and downloading it and runn
35.
▲
by
oblvious-earth
4y ago
Annotations evaluate arbitrary code, type hints do not. Although often confused, fairly enough as they were introduced in the same PEP, an annotation is a part of the Python syntax and type hints are a specific set of notations and ways you
36.
▲
by
oblvious-earth
4y ago
Perelman and all the surrounding controversy is the most extreme examples in modern times and I feel the mathematical community has got much more accepting of group contributions in the last 2 decades. But yes, if the proof is only missing
37.
▲
by
oblvious-earth
4y ago
This is actually the 19th version of the paper the author has published in just over 2 years: https://arxiv.org/abs/2006.12546 Being such a short paper if people in this field thought it was close to actually disprovin
38.
▲
by
oblvious-earth
4y ago
Don't write code where every module tries to make a root logger or set the logger config then. Each module should use `logger = logging.getLogger(__name__)` and the logger config can set in one place, conventionally in the `__main__` s
39.
▲
by
oblvious-earth
4y ago
Not sure what OP meant but basically internal frame struct has been significantly simplified to contain only essential information required at runtime. If a user is wanting to get or manipulate debugging information then the old frame struc
40.
▲
by
oblvious-earth
4y ago
Living in multiple European countries in the beginning of Smartphones (2007 - 2012) I can tell you that your experience is not universal. In many countries carriers did offer unlimited sms plans, but they would cost a significant amount mor
41.
▲
by
oblvious-earth
5y ago
> 2. This was literally a selling point of this. FYI "Google Fi" has never allowed more than 6 months abroad and it's never been a selling point for being outside the US for that length of time. I don't think "Pr
42.
▲
by
oblvious-earth
5y ago
I think what is missing from all of those languages you suggest is them providing an intersection of those niches. Yes I am quite sure for any specific niche there is a language that is better suited than Python (though I would argue with a
43.
▲
by
oblvious-earth
5y ago
Aaron Carroll did a Youtube Series back in 2014 on the topic, even if you don't want to watch the videos there's a lot of good links in the description of each one: https://www.youtube.com/watch?v=yN-MkRcOJjY&l
44.
▲
by
oblvious-earth
5y ago
Very few modules in the standard library actually get deprecated, that's why this PEP got put together. It also took 3 years of discussion to achieve consensus and the initial list was whittled down quite a bit and the reasoning became
45.
▲
by
oblvious-earth
5y ago
No one has stepped up to maintain them in the standard library so who do they hand them over to maintain outside the standard library? This code is all open source, literally anyone could step up and do it themselves if they had the motivat
46.
▲
by
oblvious-earth
5y ago
I am happy that people like Brett Cannon are in the Python Core Dev team getting things moving along. For reference here is the first discussions: https://discuss.python.org/t/pep-594-removing-dead-batteries... and ht
47.
▲
by
oblvious-earth
5y ago
This blog post does not do a good job of communicating the status of these PEPs, for example the first one "PEP 671" is in Draft status and it has not been accepted by the Steering Council. In fact I would be surprised if it did g
48.
▲
by
oblvious-earth
5y ago
If you have actual data you can take the derivative of the curve and see you're on the S curve with a lot of confidence by the time you hit the middle and long before the plateau: https://miro.medium.com/max/700&#x
49.
▲
by
oblvious-earth
5y ago
While I completely agree with all your other reasoning. It should be pointed out that PEP 8 is not intended to be a styling guide for user code, it's intended to be a styling guide for the standard library: https://www.pytho
50.
▲
by
oblvious-earth
5y ago
Python 2.7 was released on 2010-07-03, the next Python major release after that was Python 3.2 on 2011-02-20, therefore there have been *nine* major releases since Python 2.7: 3.2 to 3.10. Also since Python 2.7 was made EoL there have been
51.
▲
by
oblvious-earth
5y ago
I'd super appreciate if you have sources (mail archive links or whatever), I'd love to read through Python history stuff like this and the PEP you were referring to? (read through the release notes and couldn't find anything,
52.
▲
by
oblvious-earth
5y ago
Do you have the link? I would be fascinated to read. The way you describe it sounds like it's part of the "drive-by complicated patch" category though. I think we've seen recent languages that Strings are basically one o
53.
▲
by
oblvious-earth
5y ago
> In the last roughly 10 years, Google, Instagram, Dropbox, Facebook, and reddit all invested a lot of time into trying to make Python fast and was pushed away with harsh no's. There are dozens of forks and branches with basic optim
54.
▲
by
oblvious-earth
5y ago
The winds are probably changing with the CPython maintainers. I expect in the next few versions the efforts of PyJion and Faster Cpython will add a JIT API to plug in your own JIT in to CPython.
55.
▲
by
oblvious-earth
5y ago
No, there's a general aversion to "use flag" features among the Python core dev due to not wanting to support multiple versions of Python behavior and how they may interact over the long term. "from __future__" is m
56.
▲
by
oblvious-earth
5y ago
Also all but 1 of the issues they found relates to test code, it seems people are a little less careful compared to functional code. Also in terms of mistakes codereviewdoctor twice linked to the same issue in their blog https://
57.
▲
by
oblvious-earth
5y ago
It was a meme when Zen was written, the spaces around the em dash are handled 3 different ways. Twice in the line you abbreviated, removing the joke.
58.
▲
by
oblvious-earth
5y ago
";" is mentioned in the appendix as an implementation side note: https://www.w3.org/TR/1999/REC-html401-19991224/appendix/not...
59.
▲
by
oblvious-earth
5y ago
The time between changing the state of the switch and the affect it has on the bulb can not be any faster than the speed of light. In Derek's example the switch and the bulb are 1 meter away from each other and therefore the time is 1&
60.
▲
by
oblvious-earth
5y ago
I used to support a client facing app at a bank and the appsec pentesters were a joke: * Username and Password fields must not autocomplete * Username and Password fields must not allow text to be pasted in to the field * Password must be a
More ›