Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hynek
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
hynek
14y ago
Thanks, I’ve added it to the article.
92.
▲
by
hynek
14y ago
Absolutely. But since we still have to support SSLv3 from 1996, I wouldn’t hold my breath. :(
93.
▲
by
hynek
14y ago
RC4 has no known practicably exploitable weaknesses and is well supported, insofar the “ancient” is actually working in its favor. That said, if you know as much as you do, you don’t need that article and can fine tune yourself. It’s for pe
94.
▲
by
hynek
14y ago
You could put it that way. The point here is that the threshold of interest needed to apply is much higher for women than for men. These barriers are real but you, as a man, can’t really judge that because you hadn’t to cope with them. You
95.
▲
by
hynek
14y ago
The success of outreach programs prove your “Women just weren't interested enough to put CS in their application forms for college.” wrong. Unless women changed significantly since the mid-nineties which I doubt.
96.
▲
by
hynek
14y ago
I have added them (and the ones you and Alex added) to the article. Feel free to send me more.
97.
▲
by
hynek
14y ago
You get ePub, PDF, mobi and iPad-optimized PDF. I usually read the latter, it just looks gourgeous.
98.
▲
by
hynek
14y ago
Yeah sometimes I wish there were a warning whenever someone defines a function with [] as def arg.
99.
▲
by
hynek
14y ago
I think it’s just attrition by explaining the GIL problem over and over again. Nick is one of the major core developers and probably just fed up by the topic. So this bit of snark is all the pay he’ll ever get for his work on CPython.
100.
▲
by
hynek
14y ago
The counter is not (even while some people try to turn it that was): THREADS SUCK, WE WON'T ADD THEM BECAUSE WE DON'T LIKE THEM. it is: given the circumstances (which Nick outlines verbosely) a removal of the GIL is not pragmatic. And this
101.
▲
by
hynek
14y ago
I wish you’d read the article before making your accusations.
102.
▲
by
hynek
14y ago
Not sure if you’re trying to troll me by taking it out of the obvious performance context but anyway: The performance penalty due to the usage of a un-JIT-ed scripting language?
103.
▲
by
hynek
14y ago
For one, they didn’t start out with the baggage of nearly 20 years but started building a JITed VM which was polyglot by design.
104.
▲
by
hynek
14y ago
As it has been pointed out for several times: the adoption of Python 3 is doing just fine. It has never been expected that everybody will be using Python 3 today. But look at all those current efforts at Canonical, Django, Twisted…it’s not
105.
▲
by
hynek
14y ago
That’s essentially what __future__ imports are for – things that go further would be simply too much work and Python 3 was about shedding weight, not shipping essentially two interpreters. (while they are very similar from outside, the inna
106.
▲
by
hynek
14y ago
If you’re using python, the performance gap between processes with message passing and threads with locking is the last of your problems, believe me. The big difference is that processes are much more robust and testable. The cases where th
107.
▲
by
hynek
14y ago
I find Nick arguing pretty much to the point and the quote above was ripped from it’s context which is a huge section balancing the arguments against each other. tldr He argues there are better ways for scaling out than threads and removing
108.
▲
by
hynek
14y ago
The article doesn’t say multi-CPU scaling isn’t necessary. It says that threads are usually the wrong answer anyway. There are great process based ways to scale out – look no further than Erlang to see it’s true.
109.
▲
by
hynek
14y ago
There is no such thing as "Python 2" or "Python 3" modules. There are just modules that will go belly up because they are incompatible with one or another. I presume you mean that you can’t access your old Python 2 modules from a new Python
110.
▲
by
hynek
14y ago
Yeah, it seems to be the default RTFD style…try: http://www.instapaper.com/text?u=http%3A%2F%2Fncoghlan_devs-...
111.
▲
Python 3 Q&A by a prolific core developer
(ncoghlan_devs-python-notes.readthedocs.org)
145 points
by
hynek
14y ago
|
94 comments
112.
▲
by
hynek
14y ago
The general opinion is that you shouldn’t use threads unless really necessary. Processes or eventlets are usually preferable. Python is not the only high-level language with this "problem" btw. FWIW, my personal opinion is that the future o
113.
▲
by
hynek
14y ago
Ironically, Py3s purpose _is_ to fix Python’s warts. You just seem to be lucky enough to not have encountered them yet. :) Python 3 was about _losing_ baggage so we can start adding features again. The fact that Python 3.3 has a lot of more
114.
▲
by
hynek
14y ago
You seem to presume that if there weren’t Python 3, we’d be busy removing the GIL. That is not the case, removing the GIL has no priority for reasons already too often discussed.
115.
▲
by
hynek
14y ago
And what exactly has that to do with Python 3.3? You spoke about overwriting CentOS’ /usr/bin/python with Python 3 but don’t have enough “engineering talent” to do proper deployments? You speak about economical factors, but doing broken dep
116.
▲
by
hynek
14y ago
I’m not sure what’s half-baked about a 3 years old ticket for a Python version that has never been declared as usable. (3.2 was the first production-ready Python 3)
117.
▲
by
hynek
14y ago
Uhm I don’t get this: yum uses /usr/bin/python, why should it care about /anywhere/python3? Also we have many CentOS 5 servers but won’t let dictate our Python based software development by their Python 2.4. So we just rolled our own RPMs a
118.
▲
by
hynek
14y ago
I respect your opinion and maybe you’re in a unique position that makes Python 3 really awful to you, but in general your comment seems more like a knee-jerk "lolpython3" reaction that was appropriate while 3.0 & 3.1. But now, that situ
119.
▲
by
hynek
14y ago
You can’t hide the complexity of doing that right but OTOH the ipaddress objects have useful str() methods: >>> str(ipaddress.ip_address('127.0.0.1')) '127.0.0.1' >>> str(ipaddress.ip_address('::1')) '::1'
120.
▲
by
hynek
14y ago
Ehm, how do you check whether an IP address is inside of a specific network with strings? Or how two networks overlap? How many addresses a network has? Hint: there’s more than /24 networks and IPv6 makes it even more complicated.
More ›