Re: Glyphs and graphemes [was Re: Cult-like behaviour]

2018-07-18 Thread Chris Angelico
On Thu, Jul 19, 2018 at 4:41 PM, Gregory Ewing wrote: > Stefan Ram wrote: >> >> »assistshop«, > > > Is that a word? > > (Google doesn't seem to think so -- it asks me whether > I meant "assist shop". Although it does offer to translate > it into Czech...) > Into or from?? I'm thoroughly confuse

Re: Glyphs and graphemes [was Re: Cult-like behaviour]

2018-07-18 Thread Gregory Ewing
Stefan Ram wrote: »assistshop«, Is that a word? (Google doesn't seem to think so -- it asks me whether I meant "assist shop". Although it does offer to translate it into Czech...) -- Greg -- https://mail.python.org/mailman/listinfo/python-list

Re: Glyphs and graphemes [was Re: Cult-like behaviour]

2018-07-18 Thread Gregory Ewing
Stefan Ram wrote: Gregory Ewing writes: That's debatable. I've never thought of it that way and I'm fairly certain I don't pronounce it that way. My tongue does not do the same thing when I say "ch" as it does when I say "tsh". archives ˈɑɚ kɑɪvz (n) bachelor ˈbæʧ lɚ (n) machine məˈ

Re: What is the pattern for this number set?

2018-07-18 Thread no
On Wed, 18 Jul 2018 18:43:18 -0400, no@none.invalid wrote: >On Wed, 18 Jul 2018 17:16:21 -0400, no@none.invalid wrote: > >>This is a chart I made using BASIC back in the 90s when I could still >>do math and programming. >>I would like to have a new print out of this chart but I no longer can >>fig

GNU Readline and asyncio

2018-07-18 Thread Chris Angelico
Has anyone put together a straight-forward example of using asyncio with readline? For example, suppose you have a command line program that accepts control commands via readline, while accepting socket connections to do its actual work. I can do that in a threaded way fairly easily (spin off a thr

Re: What is the pattern for this number set?

2018-07-18 Thread no
On Wed, 18 Jul 2018 17:16:21 -0400, no@none.invalid wrote: >This is a chart I made using BASIC back in the 90s when I could still >do math and programming. >I would like to have a new print out of this chart but I no longer can >figure out programming or math. >Anyone care to figure out the patter

Re: doubling the number of tests, but not taking twice as long

2018-07-18 Thread Larry Martell
On Wed, Jul 18, 2018 at 7:59 PM, MRAB wrote: > On 2018-07-18 22:40, Larry Martell wrote: >> >> On Tue, Jul 17, 2018 at 11:43 AM, Neil Cerutti wrote: >>> >>> On 2018-07-16, Larry Martell wrote: I had some code that did this: meas_regex = '_M\d+_' meas_re = re.compile(meas

Re: doubling the number of tests, but not taking twice as long

2018-07-18 Thread MRAB
On 2018-07-18 22:40, Larry Martell wrote: On Tue, Jul 17, 2018 at 11:43 AM, Neil Cerutti wrote: On 2018-07-16, Larry Martell wrote: I had some code that did this: meas_regex = '_M\d+_' meas_re = re.compile(meas_regex) if meas_re.search(filename): stuff1() else: stuff2() I then had

Re: What is the pattern for this number set?

2018-07-18 Thread Peter Pearson
On Wed, 18 Jul 2018 17:16:21 -0400, no@none.invalid wrote: [snip] > Anyone care to figure out the pattern and make a new copy of the > chart? > > https://imgur.com/a/thF6U43 I've only looked at infantry and carrier, but those two seem to be fairly well approximated by y = a + 1/(b*x + c), for a,

Re: What is the pattern for this number set?

2018-07-18 Thread no
On Wed, 18 Jul 2018 18:43:18 -0400, no@none.invalid wrote: >On Wed, 18 Jul 2018 17:16:21 -0400, no@none.invalid wrote: > >>This is a chart I made using BASIC back in the 90s when I could still >>do math and programming. >>I would like to have a new print out of this chart but I no longer can >>fig

Re: doubling the number of tests, but not taking twice as long

2018-07-18 Thread Cameron Simpson
On 18Jul2018 17:40, Larry Martell wrote: On Tue, Jul 17, 2018 at 11:43 AM, Neil Cerutti wrote: On 2018-07-16, Larry Martell wrote: I had some code that did this: meas_regex = '_M\d+_' meas_re = re.compile(meas_regex) if meas_re.search(filename): stuff1() else: stuff2() I then had

Re: What is the pattern for this number set?

2018-07-18 Thread Thomas Jollans
On 19/07/18 00:06, Ian Kelly wrote: > Rather than go to the effort of reverse-engineering the chart, I > wonder if it would be simpler to just run OCR over it and dump it into > a spreadsheet. Really the easiest and quickest way to make a new printout of this single page is to simply copy it by ha

Re: What is the pattern for this number set?

2018-07-18 Thread Ian Kelly
Rather than go to the effort of reverse-engineering the chart, I wonder if it would be simpler to just run OCR over it and dump it into a spreadsheet. On Wed, Jul 18, 2018 at 4:01 PM Thomas Jollans wrote: > > On 18/07/18 23:43, Chris Angelico wrote: > > On Thu, Jul 19, 2018 at 7:16 AM, wrote: >

Re: What is the pattern for this number set?

2018-07-18 Thread Thomas Jollans
On 18/07/18 23:43, Chris Angelico wrote: > On Thu, Jul 19, 2018 at 7:16 AM, wrote: >> This is a chart I made using BASIC back in the 90s when I could still >> do math and programming. >> I would like to have a new print out of this chart but I no longer can >> figure out programming or math. >> A

Re: What is the pattern for this number set?

2018-07-18 Thread Chris Angelico
On Thu, Jul 19, 2018 at 7:16 AM, wrote: > This is a chart I made using BASIC back in the 90s when I could still > do math and programming. > I would like to have a new print out of this chart but I no longer can > figure out programming or math. > Anyone care to figure out the pattern and make a

Re: doubling the number of tests, but not taking twice as long

2018-07-18 Thread Larry Martell
On Tue, Jul 17, 2018 at 11:43 AM, Neil Cerutti wrote: > On 2018-07-16, Larry Martell wrote: >> I had some code that did this: >> >> meas_regex = '_M\d+_' >> meas_re = re.compile(meas_regex) >> >> if meas_re.search(filename): >> stuff1() >> else: >> stuff2() >> >> I then had to change it t

What is the pattern for this number set?

2018-07-18 Thread no
This is a chart I made using BASIC back in the 90s when I could still do math and programming. I would like to have a new print out of this chart but I no longer can figure out programming or math. Anyone care to figure out the pattern and make a new copy of the chart? https://imgur.com/a/thF6U43

EuroPython 2018: Find a new job at the conference

2018-07-18 Thread M.-A. Lemburg
We’d like to draw your attention to our job board, with plenty of job ads from our sponsors: * EuroPython 2018 Job Board * https://ep2018.europython.eu/en/sponsor/job-board/ We will also send out job ad emails to attendees who have opt’ed in to receiving these ema

Re: PyCA cryptography 2.3 released

2018-07-18 Thread Hans-Peter Jansen
Hi Paul, you have a version mismatch in subject and text. Cheers, Pete On Mittwoch, 18. Juli 2018 05:19:27 Paul Kehrer wrote: > PyCA cryptography 2.2.2 has been released to PyPI. cryptography includes > both high level recipes and low level interfaces to common cryptographic > algorithms such as

Re: can't install/run pip (Latest version of Python)

2018-07-18 Thread Thomas Jollans
On 2018-07-18 02:47, S Lea wrote: > What do you use, Gene? > It seems most business program run on Windows. Many of us here use Linux. Some just rather like it and could use any OS, while for others, software they rely on for work might only work properly, or work better, on Linux. (This might be

EuroPython 2018: Introducing Smarkets

2018-07-18 Thread M.-A. Lemburg
We are very pleased to have Smarkets as Keystone Sponsor for EuroPython 2018. You can visit them at the most central booth in our exhibit area, the Lennox Suite in the EICC, and take the opportunity to chat with their staff or enjoy their escape room. Please find below a hosted blog post from Smar

Re: Glyphs and graphemes [was Re: Cult-like behaviour]

2018-07-18 Thread Gregory Ewing
MRAB wrote: "ch" usually represents 2 phonemes, basically the sounds of "t" followed by "sh"; That's debatable. I've never thought of it that way and I'm fairly certain I don't pronounce it that way. My tongue does not do the same thing when I say "ch" as it does when I say "tsh". -- Greg -- h

Re: Glyphs and graphemes [was Re: Cult-like behaviour]

2018-07-18 Thread Antoon Pardon
On 18-07-18 10:07, Marko Rauhamaa wrote: >> Sure there were some surprises or gotcha's, but the result was still >> better than doing it in python2 and they were easier to deal with than >> in python2. > BTW, in those needs, even Python2 has Unicode strings and unicodedata at > your disposal. Sure

Re: Glyphs and graphemes [was Re: Cult-like behaviour]

2018-07-18 Thread Marko Rauhamaa
Antoon Pardon : > On 17-07-18 14:22, Marko Rauhamaa wrote: >> If you assume that NFC normalizes every letter to a single codepoint >> (and carefully use NFC everywhere), you are right. But equally likely >> you may inadvertently be setting yourself up for a surprise. > > You are moving the goal po

Re: Glyphs and graphemes [was Re: Cult-like behaviour]

2018-07-18 Thread Antoon Pardon
On 17-07-18 14:22, Marko Rauhamaa wrote: > Antoon Pardon : > >> On 17-07-18 10:27, Marko Rauhamaa wrote: >>> Also, Python2's strings do as good a job at delivering codepoints as >>> Python3. >> No they don't. The programs that I work on, need to be able to treat >> at least german, french, dutch an