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

2016-05-29 Thread Paul Rubin
Grant Edwards writes: > The 40MHz one is a Samsung ARM7TDMI. There's a newer model with a > 133MHz Cortex-M3. Another thing occurs to me-- do you have to support older browsers? Newer TLS stacks support elliptic curve public key, which should be a lot faster on those cpus than RSA/DHE is. --

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

2016-05-29 Thread Paul Rubin
Grant Edwards writes: >> then use TLS session resumption for additional connections. > Thanks, I'll look into that -- I've seen the term before, but that's > about it. > Is it something the server tells the client to do? > And more to the point, will all popular browsers do it? Sorry for the slow

Re: [spam] Re: look what I've found [ignore]

2016-05-29 Thread Terry Reedy
On 5/29/2016 4:10 PM, Gene Heskett wrote: On Sun, May 29, 2016, at 14:14, Terry Reedy wrote: Spam missed by the normally excellent spam filter. Ignore it. Blasted directly to this, and several other python related lists. The source address is NOT in the email headers, and I'm sure that is n

Re: Recommendation for Object-Oriented systems to study

2016-05-29 Thread Gregory Ewing
Alan Evangelista wrote: if the interest is learning OOP concepts (and not OOP in Python), IMHO Java is better. The problem with this is that if you're not careful you'll end up learning a lot of cruft that is irrelevant to Python. There's no clear distinction in Java between things that are es

Re: Coding systems are political (was Exended ASCII and code pages)

2016-05-29 Thread Christian Gollwitzer
Am 29.05.16 um 20:46 schrieb Terry Reedy: On 5/29/2016 2:12 AM, Rustom Mody wrote: I also note that in English text, a (phoneme) char conveys about 6 bits of information, 6 bits for a letter of English? That is way too much. Claude Shannon estimated something between 1 and 2 bits. You can try

Re: [spam] Re: look what I've found [ignore]

2016-05-29 Thread Gene Heskett
On Sunday 29 May 2016 14:23:27 Random832 wrote: > On Sun, May 29, 2016, at 14:14, Terry Reedy wrote: > > Spam missed by the normally excellent spam filter. Ignore it. > > I didn't actually see the original message. Maybe it was sent directly > to you (and perhaps other users, but not me) with a f

Re: [spam] Re: look what I've found [ignore]

2016-05-29 Thread John Ladasky
On Sunday, May 29, 2016 at 11:55:04 AM UTC-7, Peter Pearson wrote: > > No, it reached me, too, through NNTP. I also saw it, through the Google Groups gateway. -- https://mail.python.org/mailman/listinfo/python-list

Re: Recommendation for Object-Oriented systems to study

2016-05-29 Thread Marko Rauhamaa
Alan Evangelista : > if the interest is learning OOP concepts (and not OOP in Python), IMHO > Java is better. > > - Java forces everything to be implemented in OO model (classes) In practice, so does Python. Even if you chose to write code outside classes, the standard library operates on objects

Re: Recommendation for Object-Oriented systems to study

2016-05-29 Thread Alan Evangelista
On 05/29/2016 02:49 PM, Michele Simionato wrote: On Sunday, May 29, 2016 at 4:42:17 PM UTC+2, Ankush Thakur wrote: Hello, I'm a self-taught programmer who has managed to claw his way out of Python basics and even covered the intermediate parts. But I feel I have a ton of theory in my head and

Re: for / while else doesn't make sense

2016-05-29 Thread Marko Rauhamaa
Random832 : > On Thu, May 26, 2016, at 05:05, Marko Rauhamaa wrote: >>3124 16 8 0 >>+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ >>| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | >>+-+-+-+-+

Re: [spam] Re: look what I've found [ignore]

2016-05-29 Thread Peter Pearson
On Sun, 29 May 2016 14:23:27 -0400, Random832 wrote: > On Sun, May 29, 2016, at 14:14, Terry Reedy wrote: >> Spam missed by the normally excellent spam filter. Ignore it. > > I didn't actually see the original message. Maybe it was sent directly > to you (and perhaps other users, but not me) with

Re: Coding systems are political (was Exended ASCII and code pages)

2016-05-29 Thread Terry Reedy
On 5/29/2016 2:12 AM, Rustom Mody wrote: In short that a € costs more than a $ is a combination of the factors - a natural cause -- there are a million chars to encode (lets assume that the million of Unicode is somehow God-given AS A SET) - an artificial political one -- out of the million-fact

Re: for / while else doesn't make sense

2016-05-29 Thread Random832
On Thu, May 26, 2016, at 05:05, Marko Rauhamaa wrote: >3124 16 8 0 >+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ >| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | >+-+-+-+-+-+-+-+-+-+-+-+-+-+-

Re: Recommendation for Object-Oriented systems to study

2016-05-29 Thread Terry Reedy
On 5/29/2016 1:49 PM, Michele Simionato wrote: On Sunday, May 29, 2016 at 4:42:17 PM UTC+2, Ankush Thakur wrote: Hello, I'm a self-taught programmer who has managed to claw his way out of Python basics and even covered the intermediate parts. But I feel I have a ton of theory in my head and w

Re: [spam] Re: look what I've found [ignore]

2016-05-29 Thread Random832
On Sun, May 29, 2016, at 14:14, Terry Reedy wrote: > Spam missed by the normally excellent spam filter. Ignore it. I didn't actually see the original message. Maybe it was sent directly to you (and perhaps other users, but not me) with a forged header implying it came from the list? -- https://m

[spam] Re: look what I've found [ignore]

2016-05-29 Thread Terry Reedy
Spam missed by the normally excellent spam filter. Ignore it. On 5/29/2016 6:39 AM, Python-list wrote: Look what I've just found on the web, that really cool, yeah, more info here [likely toxic url snipped] My Best, Python-list -- Terry Jan Reedy -- https://mail.python.org/mailman/listinf

Re: Recommendation for Object-Oriented systems to study

2016-05-29 Thread Michele Simionato
On Sunday, May 29, 2016 at 4:42:17 PM UTC+2, Ankush Thakur wrote: > Hello, > > I'm a self-taught programmer who has managed to claw his way out of Python > basics and even covered the intermediate parts. But I feel I have a ton of > theory in my head and would like to see some smallish applicati

Re: re.search - Pattern matching review

2016-05-29 Thread Matt Wheeler
On 28 May 2016 at 19:12, Ganesh Pal wrote: > Dear Python friends, > > I am on Python 2.7 and Linux . I am trying to extract the address > "1,5,147456:8192" from the below stdout using re.search > > (Pdb) stdout > 'linux-host-machine-1: Block Address for 1,5,27320320:8192 (block > 1,5,147456:8192)

RE: Recommendation for Object-Oriented systems to study

2016-05-29 Thread Joseph Lee
Hi, Replies inline. -Original Message- From: Python-list [mailto:python-list-bounces+joseph.lee22590=gmail@python.org] On Behalf Of Ankush Thakur Sent: Sunday, May 29, 2016 7:42 AM To: python-list@python.org Subject: Recommendation for Object-Oriented systems to study Hello, I'm a se

Recommendation for Object-Oriented systems to study

2016-05-29 Thread Ankush Thakur
Hello, I'm a self-taught programmer who has managed to claw his way out of Python basics and even covered the intermediate parts. But I feel I have a ton of theory in my head and would like to see some smallish applications in action. More specifically, I'm looking for Object Oriented designs t

look what I've found

2016-05-29 Thread Python-list
Hey, Look what I've just found on the web, that really cool, yeah, more info here My Best, Python-list -- https://mail.python.org/mailman/listinfo/python-list

Re: Coding systems are political (was Exended ASCII and code pages)

2016-05-29 Thread Marko Rauhamaa
Gregory Ewing : > Steven D'Aprano wrote: >> And I thought that the Turing model was based on binary: > > It's not based on any particular encoding. When you define a > Turing machine, you can pick any set of symbols you want for > your alphabet. The model doesn't specify how they're > represented.

Re: Coding systems are political (was Exended ASCII and code pages)

2016-05-29 Thread Gregory Ewing
Steven D'Aprano wrote: And I thought that the Turing model was based on binary: It's not based on any particular encoding. When you define a Turing machine, you can pick any set of symbols you want for your alphabet. The model doesn't specify how they're represented. -- Greg -- https://mail.py

Re: re.search - Pattern matching review ( Apologies re sending)

2016-05-29 Thread Ganesh Pal
The matched.groups() will group the pattern based with "," (Pdb) matched.groups() *('1', '0', '1375772672', '8192')* but I wanted to retain the output as *'1,0,1375772672:8192' ,* (Pdb) matched.groups() ('1', '0', '1375772672', '8192') (Pdb) matched.group() 'Block Address for 1,0,1376034816:81