Re: Performance with and without the garbage collector

2016-05-17 Thread dieter
Steven D'Aprano writes: > ... > Is anyone able to demonstrate a replicable performance impact due to garbage > collection? I have had some experience with the performance impacts of garbage collection -- not completely replicable but rather frequently visible. Huge Zope instance (with around 2 G

Re: Wanted Python programmer to join team

2016-05-17 Thread Steven D'Aprano
On Tuesday 17 May 2016 16:18, Marko Rauhamaa wrote: > Steven D'Aprano : >> Personally, I think that advertising a job position without saying who >> you are, what you do, and offering at least an indicative salary >> range, are *astonishingly* rude > > I don't believe they care. > >> (to say not

testfixtures 4.10.0 Released!

2016-05-17 Thread Chris Withers
Hi All, I'm pleased to announce the release of testfixtures 4.10.0 featuring the following: - Fixed examples in documentation broken in 4.5.1. - Add RangeComparison for comparing against values that fall in a range. - Add MockPopen.set_default(). Thanks to Asaf Peleg for the RangeComparis

Re: Wanted Python programmer to join team

2016-05-17 Thread Steven D'Aprano
On Tuesday 17 May 2016 17:39, Steven D'Aprano wrote: > - they're more likely Er, apparently they're not more likely to do anything specific, just more likely. -- Steve -- https://mail.python.org/mailman/listinfo/python-list

Quote of the day

2016-05-17 Thread Steven D'Aprano
Overhead in the office today: "I don't have time to learn an existing library - much faster to make my own mistakes!" -- Steve -- https://mail.python.org/mailman/listinfo/python-list

Re: Quote of the day

2016-05-17 Thread Radek Holý
2016-05-17 9:50 GMT+02:00 Steven D'Aprano < steve+comp.lang.pyt...@pearwood.info>: > Overhead in the office today: > > > "I don't have time to learn an existing library - much faster to make my > own > mistakes!" > > > > -- > Steve > > -- > https://mail.python.org/mailman/listinfo/python-list > *

Re: Wanted Python programmer to join team

2016-05-17 Thread Marko Rauhamaa
Steven D'Aprano : > On Tuesday 17 May 2016 16:18, Marko Rauhamaa wrote: > >> Steven D'Aprano : >>> Personally, I think that advertising a job position without saying who >>> you are, what you do, and offering at least an indicative salary >>> range, are *astonishingly* rude >> I don't believe they

Re: Quote of the day

2016-05-17 Thread Marko Rauhamaa
Radek Holý : > 2016-05-17 9:50 GMT+02:00 Steven D'Aprano < > steve+comp.lang.pyt...@pearwood.info>: > >> Overhead in the office today: >> >> "I don't have time to learn an existing library - much faster to make >> my own mistakes!" > > *THUMBS UP* At least they are aware of that "own mistakes" par

Re: Quote of the day

2016-05-17 Thread Sivan Greenberg
But isn't that counter wise to batteries included? :) On Tue, May 17, 2016 at 11:30 AM, Marko Rauhamaa wrote: > Radek Holý : > > > 2016-05-17 9:50 GMT+02:00 Steven D'Aprano < > > steve+comp.lang.pyt...@pearwood.info>: > > > >> Overhead in the office today: > >> > >> "I don't have time to learn a

Re: OT: limit number of connections from browser to my server?

2016-05-17 Thread jmp
On 05/16/2016 09:31 PM, Grant Edwards wrote: On 2016-05-16, jmp wrote: Have you considered upgrading the device with a recent CPU ? Or is it completely out of the picture ? Not an option. We have to continue to support devices that are in the field. The newer models that are coming out now

Re: Quote of the day

2016-05-17 Thread Paul Rudin
Marko Rauhamaa writes: > Radek Holý : > >> 2016-05-17 9:50 GMT+02:00 Steven D'Aprano < >> steve+comp.lang.pyt...@pearwood.info>: >> >>> Overhead in the office today: >>> >>> "I don't have time to learn an existing library - much faster to make >>> my own mistakes!" >> >> *THUMBS UP* At least they

Re: Quote of the day

2016-05-17 Thread Cem Karan
On May 17, 2016, at 4:30 AM, Marko Rauhamaa wrote: > Radek Holý : > >> 2016-05-17 9:50 GMT+02:00 Steven D'Aprano < >> steve+comp.lang.pyt...@pearwood.info>: >> >>> Overhead in the office today: >>> >>> "I don't have time to learn an existing library - much faster to make >>> my own mistakes!"

Re: Wanted Python programmer to join team

2016-05-17 Thread Larry Martell
On Tue, May 17, 2016 at 1:29 AM, Chris Angelico wrote: > On Tue, May 17, 2016 at 3:20 PM, Steven D'Aprano > wrote: >>> And a lot of job postings do come from that sort of really small >>> business, trying to expand a bit. Plus, some of them want some >>> anonymity (why, I don't know, but there ar

Re: Quote of the day

2016-05-17 Thread Chris Angelico
On Tue, May 17, 2016 at 7:54 PM, Paul Rudin wrote: >> Also: >> >>With a third party solution I don't need to fix the bugs. >> >>But with an in-house solution I at least *can* fix the bugs. >> >> The feeling of powerlessness can be crushing when you depend on a >> third-party component that

Re: Autotool - compile module for both Python 2 _and_ 3

2016-05-17 Thread Dirk Bächle
Hi Ervin, On 16.05.2016 11:05, Ervin Hegedüs wrote: Hi All, there is a library, which written in C. I'ld like to use it from Python - from Python 2 _and_ 3. I can make the autotools* files for Python 2 and Python 3, but only exclusively. I can't make it for both in same time. [...] Is there

Re: Autotool - compile module for both Python 2 _and_ 3

2016-05-17 Thread Ervin Hegedüs
Hi Dirk, On Tue, May 17, 2016 at 09:13:02AM +0200, Dirk Bächle wrote: > Hi Ervin, > > On 16.05.2016 11:05, Ervin Hegedüs wrote: > >Hi All, > > > > > >there is a library, which written in C. I'ld like to use it from > >Python - from Python 2 _and_ 3. > > > >I can make the autotools* files for Pyth

Re: OT: limit number of connections from browser to my server?

2016-05-17 Thread Rodrigo Bistolfi
Long shot here: Create a JS framework for loading resources in a better way: 1. Load HTTP and your JS core. 2. Load the rest of the resources via JS (maybe using promises for chaining the requests one after the other) -- https://mail.python.org/mailman/listinfo/python-list

EuroPython 2016 Keynote: Nicholas Tollervey

2016-05-17 Thread M.-A. Lemburg
We are pleased to introduce our first keynote speaker for EuroPython 2016: *** Nicholas Tollervey *** About Nicholas Tollervey Nicholas is a classically trained musician, philosophy graduate, teacher, author (for O'Reilly) and freelance programmer.

Re: Quote of the day

2016-05-17 Thread Marko Rauhamaa
Paul Rudin : > Marko Rauhamaa writes: >> The feeling of powerlessness can be crushing when you depend on a >> third-party component that is broken with no fix in sight. > > Presumably it depends on whether you have the source for the third > party component... Just having such an experience. The

Re: OT: limit number of connections from browser to my server?

2016-05-17 Thread Grant Edwards
On 2016-05-17, Gregory Ewing wrote: > Is there some way you can get more stuff into a single > html page? For example, use inline css and image data > instead of delivering them as separate files. Yes. That's one option that's still on the table, and that's probably what the smart money is bett

Re: OT: limit number of connections from browser to my server?

2016-05-17 Thread Grant Edwards
On 2016-05-17, Marko Rauhamaa wrote: > Gregory Ewing : > >> Is there some way you can get more stuff into a single >> html page? For example, use inline css and image data >> instead of delivering them as separate files. > > Better yet, is there some way you could send less stuff? No. Somebody e

Re: OT: limit number of connections from browser to my server?

2016-05-17 Thread Grant Edwards
On 2016-05-17, Rodrigo Bistolfi wrote: > Long shot here: Create a JS framework for loading resources in a better way: > > 1. Load HTTP and your JS core. > > 2. Load the rest of the resources via JS (maybe using promises for >chaining the requests one after the other) I thought about that. It

Re: OT: limit number of connections from browser to my server?

2016-05-17 Thread Grant Edwards
On 2016-05-17, jmp wrote: > I don't have time to read the whole thread but if I got it right, > the main CPU consuming part is the crypto. Yep. > Why not drop the https part an support only http ? Product spec explicitly states HTTPS only. I'm told that is not open for discussion. The custom

Re: Quote of the day

2016-05-17 Thread Paul Rudin
Marko Rauhamaa writes: > Paul Rudin : > >> Marko Rauhamaa writes: >>> The feeling of powerlessness can be crushing when you depend on a >>> third-party component that is broken with no fix in sight. >> >> Presumably it depends on whether you have the source for the third >> party component... >

Re: Design: Idiom for classes and methods that are customizable by the user?

2016-05-17 Thread Dirk Bächle
Hi Michael, and thanks a lot for chiming in on this topic. On 13.05.2016 22:33, Michael Selik wrote: [...] I share Greg's trepidation when I hear a phrase like that, but the general idea of a registry of classes or functions and then picking the right one based on string input is fine. S

Re: How to create development Python environment on Linux.

2016-05-17 Thread Zachary Ware
On Mon, May 16, 2016 at 4:28 PM, wrote: > Thanks Zach, that's a big help. The only reason I want to get a Python 2.7 > environment working first is because I'll be working on third party code and > that's the platform it uses. For any new projects I would use Python 3. Fair enough :) > After

Re: OT: limit number of connections from browser to my server?

2016-05-17 Thread Rob Gaddi
Steven D'Aprano wrote: > On Tue, 17 May 2016 02:52 am, Chris Angelico wrote: > >> On Tue, May 17, 2016 at 2:34 AM, Rob Gaddi >> wrote: The solution might actually be to move all your static files elsewhere. Slap 'em up onto github.io or something, and then the browser is free to ma

Re: Design: Idiom for classes and methods that are customizable by the user?

2016-05-17 Thread Michael Selik
On Tue, May 17, 2016 at 11:18 AM Dirk Bächle wrote: > > > It's not so great to require > > that the user must explicitly ``add`` their derived class after defining > > it. Perhaps that add function could be a decorator? > > Our current API doesn't use decorators at all, since it's also aimed at >

Re: OT: limit number of connections from browser to my server?

2016-05-17 Thread Grant Edwards
On 2016-05-17, Rob Gaddi wrote: > >> How can you not serve a web page over your LAN in 15s? >> >> I mean, you could *almost* do it by hand, copying the files onto a >> USB stick and walking them across the room in 15 seconds. Maybe 30. > > Simple, because embedded web servers running on toy microp

Re: Quote of the day

2016-05-17 Thread Michael Torrie
On 05/17/2016 08:27 AM, Paul Rudin wrote: > Marko Rauhamaa writes: >> That's a long time to be without a product to sell. > > But you do have the option of building a kernel incorporating your fix > and using that. Sure as an individual end user that may be the best option. But not necessarily f

Re: Quote of the day

2016-05-17 Thread Marko Rauhamaa
Michael Torrie : > On 05/17/2016 08:27 AM, Paul Rudin wrote: >> Marko Rauhamaa writes: >>> That's a long time to be without a product to sell. >> >> But you do have the option of building a kernel incorporating your fix >> and using that. > > Sure as an individual end user that may be the best o

Python 3.6.0a1 is now available

2016-05-17 Thread Ned Deily
On behalf of the Python development community and the Python 3.6 release team, I'm happy to announce the availability of Python 3.6.0a1. 3.6.0a1 is the first of four planned alpha releases of Python 3.6, the next major release of Python. During the alpha phase, Python 3.6 remains under heavy devel

Backwards-incompatible changes

2016-05-17 Thread Steven D'Aprano
Every change breaks somebody's workflow. http://xkcd.com/1172/ -- Steve -- https://mail.python.org/mailman/listinfo/python-list