Re: ESR "Waning of Python" post

2018-10-16 Thread jfine2358
On Tuesday, October 16, 2018 at 8:00:26 AM UTC+1, Marko Rauhamaa wrote: >https://making.pusher.com/golangs-real-time-gc-in-theory-and-practice/> I'm all in favour of collecting useful URLs. Here's some more suggestions: https://stackoverflow.com/questions/4491260/explanation-of-azuls-pauseles

Re: socket: Too many open files

2018-10-13 Thread jfine2358
Hi Shakti You wrote: > out = commands.getstatusoutput('traceroute ' + ip) The page https://docs.python.org/3/library/subprocess.html#legacy-shell-invocation-functions describes subprocess.getstatusoutput as one of the "legacy functions from the 2.x commands module. These operations implicitly

Re: ESR "Waning of Python" post

2018-10-13 Thread jfine2358
On Friday, October 12, 2018 at 8:41:12 PM UTC+1, Paul Rubin wrote: > 1) If you keep the existing refcount mechanism, you have to put locks > around all the refcounts, which kills performance since refcounts are > updated all the time. I think BUFFERED multi-core reference count garbage collection

Re: From Mathematica to Jypyter

2018-10-11 Thread jfine2358
It is fun to find fault in the work of a new Nobel laureate. In this case, a typo. However, I'm disappointed that no-one has picked up the other error. Someone posted to this thread "the #me-too movement". It should be "#MeToo". Yes, I know it's CamelCase. I think that's actually Pythonic. It's

Re: From Mathematica to Jypyter

2018-10-10 Thread jfine2358
Rhodri James wrote: > Robin Becker wrote: > > I'm a great fan of erroneous spelling and this blog needs a spelling > > check as this quote shows [Paul Romer's blog] > > "Mathematica exemplifies the horde of new Vandals whose pursuit of > > private gain threatens a far greater pubic loss–the colla

Paul Romer, 2018 Economics Nobel Laureate, uses Python and Jupyter

2018-10-10 Thread jfine2358
bel/ # Python interface to Nobel Prize API! https://jfine2358.github.io/slides/2018-nature-jupyter-altair-vega-binder.html And some Python code: >>> import nobel >>> api = nobel.Api() >>> api.prizes.filter(year=2018, category='economics')[0].laureates[1].surna

Re: I'm wrong or Will we fix the ducks limp?

2016-06-06 Thread jfine2358
On Friday, June 3, 2016 at 3:20:42 PM UTC+1, Sayth Renshaw wrote: > pyqFiles = [] > for filename in sorted(file_list): > pyqFiles = pyqFiles.append(pq(filename=my_dir + filename)) This won't end well. The return value from [].append(...) is None. >>> [].append(0) is None True Th