Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-26 Thread Rick Johnson
On Feb 26, 2:50 pm, Chris Angelico wrote: > Hmm, I wonder how you go about adopting that policy... oh! I know! By > fighting each bully on a case-by-case basis! Funny though, you just > said that won't work. It's a two-pronged solution Chris. Compound. -- http://mail.python.org/mailman/listinfo

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-26 Thread Chris Angelico
On Mon, Feb 27, 2012 at 7:35 AM, Rick Johnson wrote: >  1. you could fight each bully on a case by case bases. >  2. you could empower people to fight bullies as a united group. > > Adopt a public policy that bullying will NOT be > allowed and the perp WILL be punished, and bulling disappears > fo

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-26 Thread Rick Johnson
On Feb 26, 6:44 am, Albert van der Horst wrote: > I don't blame them for the attitude of "live to fight another day" > or even for plain survival. If the Jews hadn't allow themselves > to be subjected, there would be no Jews. And may i borrow your time machine now that you are finished researchin

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-26 Thread Albert van der Horst
In article <40af8461-1583-4496-9d81-d52d6905d...@b23g2000yqn.googlegroups.com>, Rick Johnson wrote: >Because the Jews allowed themselves to be subjected. Sad, but true. Actually Jew stands for (relative) coward. Let me explain. Jew comes from Juda, one of the 12 tribes. At some time Israel was s

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-26 Thread Albert van der Horst
In article , Rick Johnson wrote: >On Feb 18, 1:28=A0am, Ian Kelly wrote: >> On Fri, Feb 17, 2012 at 6:13 PM, Rick Johnson > > >> If I were to [sum my tax burden], it would >> probably come to around 30%, which still doesn't bother me, in part >> because I know that it comes back to benefit the s

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-18 Thread random joe
On Feb 18, 12:34 pm, Rick Johnson wrote: > Louie-the-loose-screw Said: "I'll give you $15 if you'll give me $15!" $15 dolla too beau coup! 5 dolla each! -- http://mail.python.org/mailman/listinfo/python-list

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-18 Thread Rick Johnson
On Feb 18, 10:15 am, Mark Lawrence wrote: > On 18/02/2012 15:02, Rick Johnson wrote: > > > But do you think you'll get a higher return for your investment? Is it > > possible to get a higher return on your investment in this type of > > system? NO! You better off just paying for your own damn heal

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-18 Thread Mark Lawrence
On 18/02/2012 15:02, Rick Johnson wrote: But do you think you'll get a higher return for your investment? Is it possible to get a higher return on your investment in this type of system? NO! You better off just paying for your own damn healthcare. I guess you'd better get wikipedia to correct

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-18 Thread Rick Johnson
On Feb 18, 1:28 am, Ian Kelly wrote: > On Fri, Feb 17, 2012 at 6:13 PM, Rick Johnson > If I were to [sum my tax burden], it would > probably come to around 30%, which still doesn't bother me, in part > because I know that it comes back to benefit the society I live in, > and by extension me, in

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-18 Thread Terry Reedy
On 2/18/2012 2:28 AM, Ian Kelly wrote: Here's a neat table: government spending as a percentage of GDP, by country. http://anepigone.blogspot.com/2008/03/government-spending-as-percentage-of.html The table is for "national government spending". That means spending by the national government.

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-17 Thread Ian Kelly
On Fri, Feb 17, 2012 at 6:13 PM, Rick Johnson wrote: > > On Mon, Feb 13, 2012 at 7:23 PM, Ian Kelly > wrote: >> On Mon, Feb 13, 2012 at 2:01 PM, Rick Johnson >> I make a middle-class income and do not feel that I am anywhere near >> being "enslaved" by my income taxes, which amount to less than 1

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-17 Thread Mark Lawrence
On 18/02/2012 02:13, Chris Angelico wrote: On Sat, Feb 18, 2012 at 12:13 PM, Rick Johnson wrote: Here is a list of taxes most everyone else will encounter: You forgot the Microsoft Tax and the Stupid Tax. ChrisA This is what I call a tax, some two miles from my home. http://www.bbc.co.uk

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-17 Thread Chris Angelico
On Sat, Feb 18, 2012 at 12:13 PM, Rick Johnson wrote: > Here is a list of taxes most everyone else will encounter: You forgot the Microsoft Tax and the Stupid Tax. ChrisA -- http://mail.python.org/mailman/listinfo/python-list

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-17 Thread Rick Johnson
On Feb 13, 7:37 pm, Chris Angelico wrote: > On Tue, Feb 14, 2012 at 11:39 AM, Rick Johnson > > wrote: > > # Py>=3.0 > > py> sum(earner.get_income(2012) for earner in earners2012) / > > len(earners2012) > > average_income > > > Once you exceed that amount you are robbing your fellow man. How can >

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-17 Thread Rick Johnson
On Mon, Feb 13, 2012 at 7:23 PM, Ian Kelly wrote: > On Mon, Feb 13, 2012 at 2:01 PM, Rick Johnson > I make a middle-class income and do not feel that I am anywhere near > being "enslaved" by my income taxes, which amount to less than 10% of > my gross income after deductions and credits. Ten per

RE: OT: Entitlements [was Re: Python usage numbers]

2012-02-17 Thread Prasad, Ramit
>> They also don't need to put up with people who aren't seriously ill - I >> don't know how long your private appointments are, but here in the UK a >> standard doctor's appointment is 5-10 minutes. If they decide you're >> actually ill they may extend that. >Five to ten minutes? Is the doctor an

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-16 Thread Ian Kelly
On Wed, Feb 15, 2012 at 8:04 AM, Rick Johnson wrote: > I have PROVEN that when people FIGHT back, they will NOT be subjects > to tyranny; race has NOTHING to do with it. I gave one example in > history where people would rather die than be subjected to tyranny, > there are many more. "GIVE ME FREE

Re: Kill files [was Re: OT: Entitlements [was Re: Python usage numbers]]

2012-02-15 Thread Ethan Furman
Steven D'Aprano wrote: On Wed, 15 Feb 2012 10:04:34 +, Duncan Booth wrote: Actually, I thought it was a bit weird that I saw ChrisA's comment but not the message he was commenting on until I went and looked for it. I read this group on a couple of machines and it looks like Rick's killfile

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-15 Thread Mark Lawrence
On 15/02/2012 16:27, Rick Johnson wrote: On Feb 15, 9:18 am, Mark Lawrence wrote: As you didn't answer my question from some days back I'll ask it agin. Please explain why previously healthy people get struck down with Common Fatigue Syndrome amongst other things. Why do you seek my counsel r

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-15 Thread Rick Johnson
On Feb 15, 9:18 am, Mark Lawrence wrote: > As you didn't answer my question from some days back I'll ask it agin. > Please explain why previously healthy people get struck down with Common > Fatigue Syndrome amongst other things. Why do you seek my counsel regarding medical ailments? Do you belie

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-15 Thread Mark Lawrence
On 15/02/2012 15:04, Rick Johnson wrote: On Feb 15, 2:56 am, John O'Hagan wrote: John, I have grown weary of educating you. Go back to your day job writing op-eds for the National Inquirer and News of the World; they love this vile sensationalist crap! Goodnight "John boy". The News of the

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-15 Thread Rick Johnson
On Feb 15, 2:56 am, John O'Hagan wrote: > You have just demonstrated that you are the worst kind of racist. Not only > have > you blamed the victim on a truly monstrous scale, you have assigned blame not > to > individuals, but to entire "races". Your tabloid sensationalism is the worst i've s

Kill files [was Re: OT: Entitlements [was Re: Python usage numbers]]

2012-02-15 Thread Steven D'Aprano
On Wed, 15 Feb 2012 10:04:34 +, Duncan Booth wrote: > Actually, I thought it was a bit weird that I saw ChrisA's comment but > not the message he was commenting on until I went and looked for it. I > read this group on a couple of machines and it looks like Rick's > killfile entry had expired

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-15 Thread Duncan Booth
Arnaud Delobelle wrote: > On 15 February 2012 09:47, Duncan Booth > wrote: >> Rick Johnson wrote: > [...] > > Perhaps it's a bit presumptuous of me but... > > It's tempting to react to his inflammatory posts, but after all Rick > is a troll and experience shows that trolls are best left alon

Re: Python usage numbers

2012-02-15 Thread Anssi Saari
Matej Cepl writes: > Slightly less flameish answer to the question “What should I do, > really?” is a tough one: all these suggested answers are bad because > they don’t deal with the fact, that your input data are obviously > broken. The rest is just pure GIGO … Well, sure, but it happens that

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-15 Thread Arnaud Delobelle
On 15 February 2012 09:47, Duncan Booth wrote: > Rick Johnson wrote: [...] Perhaps it's a bit presumptuous of me but... It's tempting to react to his inflammatory posts, but after all Rick is a troll and experience shows that trolls are best left alone. Also, please spare a thought for all of u

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-15 Thread Duncan Booth
Rick Johnson wrote: > On Feb 14, 5:31 am, Duncan Booth wrote: >> Rick Johnson wrote: >> > BS! With free healthcare, those who would have allowed their immune >> > system fight off the flu, now take off from work, visit a local >> > clinic, and get pumped full of antibiotics so they can create a

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-15 Thread John O'Hagan
On Tue, 14 Feb 2012 17:26:36 -0800 (PST) Rick Johnson wrote: > On Feb 14, 6:44 pm, Chris Angelico wrote: > > But WE are the fittest! Because we are INTELLIGENT! And the whales say: But WE are the fittest! Because we are BIG! And the rabbits say: But WE are the fittest! Because we are FERTILE!

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-14 Thread Rick Johnson
On Feb 14, 6:44 pm, Chris Angelico wrote: > If you truly believe that only the best should be allowed to survive > and that you are not of the best, then the logical thing to do is to > immediately destroy yourself. Oddly enough, though, I don't see many > eugenics proponents committing mass suic

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-14 Thread Chris Angelico
On Wed, Feb 15, 2012 at 11:48 AM, Rick Johnson wrote: > Duncan, your reading and comprehension skills are atrocious. Please re- > read the paragraph you quoted, then spend some time "comprehending" > it, then show me where i stated that "antibiotics cure viral > infections". psst: i NEVER said any

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-14 Thread Rick Johnson
On Feb 14, 5:31 am, Duncan Booth wrote: > Rick Johnson wrote: > > BS! With free healthcare, those who would have allowed their immune > > system fight off the flu, now take off from work, visit a local > > clinic, and get pumped full of antibiotics so they can create a new > > strain of antibioti

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-14 Thread Rick Johnson
On Feb 13, 10:41 am, Tim Wintle wrote: > Imagine you go to a doctor and say "I've got the flu, can you give me > antibiotics". > > In a Private healthcare system: > >  * The doctor gets paid for retaining a client. >  * He is incentivised to do what you request. > ... so he gives you the antibiot

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-14 Thread Chris Angelico
On Wed, Feb 15, 2012 at 11:21 AM, Rick Johnson wrote: > On Feb 14, 2:41 am, John O'Hagan wrote: >> This is a failure to acknowledge the is/ought problem, and is usually >> compounded (Rick is no exception) by the equally mistaken view that there >> exist >> "superior" individuals whose possessio

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-14 Thread Rick Johnson
On Feb 14, 2:41 am, John O'Hagan wrote: > > 1. Publicly-funded healthcare is both cheaper and more effective than > privatised systems. It's also the right thing to do (i.e. you don't have > to stand by while someone dies because their illness is "their fault"). So you have no problem paying the

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-14 Thread rusi
On Feb 13, 9:01 pm, Rick Johnson wrote: > > And just how much healthcare dollars are you entitled to exactly? Can > you put your entitlement into some form of monetary value? Rick hats off to you man -- you are damn good! Did you study at a top- troll-school? eg. http://www.youtube.com/watch?v=FM

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-14 Thread Devin Jeanpierre
On Tue, Feb 14, 2012 at 6:31 AM, Duncan Booth wrote: > Here's a clue: No flu viruses are treatable with antibiotics. Oh my god we're too late! Now they're ALL resistant! -- Devin -- http://mail.python.org/mailman/listinfo/python-list

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-14 Thread Duncan Booth
Rick Johnson wrote: > BS! With free healthcare, those who would have allowed their immune > system fight off the flu, now take off from work, visit a local > clinic, and get pumped full of antibiotics so they can create a new > strain of antibiotic resistant flu virus! Thanks free healthcare! An

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-14 Thread Tim Wintle
(Sorry for top-posting this bit, but I think it's required before the rest of my response) At the risk of wading into this from a UK citizen's perspective: You're imagining a public healthcare system as if it were private. Imagine you go to a doctor and say "I've got the flu, can you give me ant

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-14 Thread John O'Hagan
On Mon, 13 Feb 2012 13:01:05 -0800 (PST) Rick Johnson wrote: > On Feb 13, 12:38 pm, Ian Kelly wrote: > > I hate being suckered in by trolls, but this paragraph demands a response. Ditto... > > On Mon, Feb 13, 2012 at 9:01 AM, Rick Johnson > > > > wrote: > > > You are born with rights. Life, L

Re: Python usage numbers

2012-02-14 Thread jmfauth
On 13 fév, 04:09, Terry Reedy wrote: > > > * The new internal unicode scheme for 3.3 is pretty much a mixture of > the 3 storage formats (I am of course, skipping some details) by using > the widest one needed for each string. The advantage is avoiding > problems with each of the three. The disadv

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-13 Thread Chris Angelico
On Tue, Feb 14, 2012 at 11:39 AM, Rick Johnson wrote: > # Py>=3.0 > py> sum(earner.get_income(2012) for earner in earners2012) / > len(earners2012) > average_income > > Once you exceed that amount you are robbing your fellow man. How can > you justify making more than your fair share UNLESS someon

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-13 Thread Michael Torrie
On 02/13/2012 05:39 PM, Rick Johnson wrote: > Why? Do you need the services of a professional software developer? Do you have some to offer? -- http://mail.python.org/mailman/listinfo/python-list

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-13 Thread Ian Kelly
[Reply sent off-list, partly because this is way off-topic, but also because python-list rejected my response as spam] -- http://mail.python.org/mailman/listinfo/python-list

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-13 Thread Rick Johnson
On Feb 13, 3:46 pm, Michael Torrie wrote: > On 02/13/2012 09:01 AM, Rick Johnson wrote: > > > Look, i hate super rich, arrogant people just as much i hate selfish > > people. > > But wait, Rick.  You are a man of contradictions.  We all are, but you > seem to bluster on and on more about it than m

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-13 Thread Steven D'Aprano
On Mon, 13 Feb 2012 13:01:05 -0800, Rick Johnson wrote: > Healthy people do not need healthcare very often Healthy people don't need healthcase AT ALL. By definition, once you need healthcare, you are no longer healthy. Your faith in the magic of "immune system" is touching, but one wonders ho

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-13 Thread Michael Torrie
On 02/13/2012 09:01 AM, Rick Johnson wrote: > Look, i hate super rich, arrogant people just as much i hate selfish > people. But wait, Rick. You are a man of contradictions. We all are, but you seem to bluster on and on more about it than most. Firstly, to *hate* anyone, super-rich, arrogant,

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-13 Thread Mark Lawrence
On 13/02/2012 21:01, Rick Johnson wrote: Healthy people do not need healthcare very often, and in the rare cases when they do, they don't bog down the system because their bodies are strong. Why are their bodies strong? Because healthy people eat correctly, healthy people exercise, therefore, he

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-13 Thread Chris Angelico
Rick, you are either... On Tue, Feb 14, 2012 at 8:01 AM, Rick Johnson wrote: > I can however tell you that what DOES matter is the continued > improvement of the base gene pool. Yes, this improvement comes at a > cost; the cost of the individual. Those with quality genes will reap > the rewards,

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-13 Thread Rick Johnson
On Feb 13, 12:38 pm, Ian Kelly wrote: > I hate being suckered in by trolls, but this paragraph demands a response. > > On Mon, Feb 13, 2012 at 9:01 AM, Rick Johnson > > wrote: > > You are born with rights. Life, Liberty, and the pursuit of happiness. > > Healthcare care is NOT a right, healthcare

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-13 Thread Chris Angelico
On Tue, Feb 14, 2012 at 5:38 AM, Ian Kelly wrote: > "... Rights, that > **AMONG** these are Life, Liberty and the pursuit of Happiness." AMONG our rights are such elements as Life, Liberty, the Pursuit of Happiness, and an almost fanatical devotion to the Founding Fathers I'll come in again.

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-13 Thread Ian Kelly
I hate being suckered in by trolls, but this paragraph demands a response. On Mon, Feb 13, 2012 at 9:01 AM, Rick Johnson wrote: > You are born with rights. Life, Liberty, and the pursuit of happiness. > Healthcare care is NOT a right, healthcare is a privileged. If you deprive a person of access

Re: Python usage numbers

2012-02-13 Thread Andrew Berg
On 2/12/2012 10:19 PM, Ben Finney wrote: > If it helps, ASCII art *is* UTF-8 art. So it will be the same in UTF-8. As will non-ASCII text art:   /l、 ゙(゚、 。 7  l、゙ ~ヽ   じしf_, )ノ -- CPython 3.2.2 | Windows NT 6.1.7601.17640 -- http://mail.python.org/mailman/listinfo/python-list

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-13 Thread Rick Johnson
On Feb 13, 10:12 am, Steven D'Aprano wrote: > On Mon, 13 Feb 2012 08:01:59 -0800, Rick Johnson wrote: > > Evolution knows how to handle degenerates. > > And yet here you still are. Embrace the perfection of evolution, and both our needs shall be met! -- http://mail.python.org/mailman/listinfo/py

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-13 Thread Steven D'Aprano
On Mon, 13 Feb 2012 08:01:59 -0800, Rick Johnson wrote: > Evolution knows how to handle degenerates. And yet here you still are. -- Steven -- http://mail.python.org/mailman/listinfo/python-list

Re: OT: Entitlements [was Re: Python usage numbers]

2012-02-13 Thread Rick Johnson
On Feb 13, 2:05 am, Steven D'Aprano wrote: > On Sun, 12 Feb 2012 20:48:54 -0800, Rick Johnson wrote: > > Do you think that cost of healthcare is the problem? Do you think the > > cost of healthcare insurance is the problem? NO! The problem is people > > expect entitlements. > > Entitlements? I wor

OT: Entitlements [was Re: Python usage numbers]

2012-02-13 Thread Steven D'Aprano
On Sun, 12 Feb 2012 20:48:54 -0800, Rick Johnson wrote: > Do you think that cost of healthcare is the problem? Do you think the > cost of healthcare insurance is the problem? NO! The problem is people > expect entitlements. Entitlements? I work hard and pay my taxes. I *earned* that healthcare t

Re: Python usage numbers

2012-02-12 Thread Chris Angelico
On Mon, Feb 13, 2012 at 3:48 PM, Rick Johnson wrote: > The problem with bytes is not encodings or OS's. Can you guess what > the REAL problem is? ..take all the time you need. The REAL problem is trolls. But they're such fun, and so cute when they get ranting... ChrisA -- http://mail.python.or

Re: Python usage numbers

2012-02-12 Thread Rick Johnson
On Feb 12, 12:10 am, Steven D'Aprano wrote: > On Sat, 11 Feb 2012 18:36:52 -0800, Rick Johnson wrote: > >> "I have a file containing text. I can open it in an editor and see it's > >> nearly all ASCII text, except for a few weird and bizarre characters > >> like £ © ± or ö. In Python 2, I can rea

Re: Python usage numbers

2012-02-12 Thread Ben Finney
Roy Smith writes: > All that is just fine, but what the heck are we going to do about ascii > art, that's what I want to know. Python just won't be the same in > UTF-8. If it helps, ASCII art *is* UTF-8 art. So it will be the same in UTF-8. Or maybe you already knew that, and your sarcasm was

Re: Python usage numbers

2012-02-12 Thread Roy Smith
In article , Terry Reedy wrote: > On 2/12/2012 5:14 PM, Chris Angelico wrote: > > On Mon, Feb 13, 2012 at 9:07 AM, Terry Reedy wrote: > >> The situation before ascii is like where we ended up *before* unicode. > >> Unicode aims to replace all those byte encoding and character sets with > >> *on

Re: Python usage numbers

2012-02-12 Thread Terry Reedy
On 2/12/2012 5:14 PM, Chris Angelico wrote: On Mon, Feb 13, 2012 at 9:07 AM, Terry Reedy wrote: The situation before ascii is like where we ended up *before* unicode. Unicode aims to replace all those byte encoding and character sets with *one* byte encoding for *one* character set, which will

Re: Python usage numbers

2012-02-12 Thread Roy Smith
In article , Chris Angelico wrote: > The advantage, though, is that you can always know how many bytes to > read for X characters. In ASCII, you allocate 80 bytes of storage and > you can store 80 characters. In UTF-8, if you want an 80-character > buffer, you can probably get away with allocati

Re: Python usage numbers

2012-02-12 Thread Chris Angelico
On Mon, Feb 13, 2012 at 11:03 AM, Dave Angel wrote: > On 02/12/2012 06:29 PM, Steven D'Aprano wrote: >> I think you mean 4 times as many bytes as characters. Unless you have 32 >> bit bytes :) >> >> > Until you have 32 bit bytes, you'll continue to have encodings, even if only > a couple of them.

Re: Python usage numbers

2012-02-12 Thread Dave Angel
On 02/12/2012 06:29 PM, Steven D'Aprano wrote: On Sun, 12 Feb 2012 17:27:34 -0500, Roy Smith wrote: Hopefully, we will eventually reach the point where storage is so cheap that nobody minds how inefficient UTF-32 is and we all just start using that. Life will be a lot simpler then. No more t

Re: Python usage numbers

2012-02-12 Thread Christian Heimes
Am 12.02.2012 23:07, schrieb Terry Reedy: > But because of the limitation of ascii on a worldwide, as opposed to > American basis, we ended up with 100-200 codings for almost as many > character sets. This is because the idea of ascii was applied by each > nation or language group individually to t

Re: Python usage numbers

2012-02-12 Thread Roy Smith
In article <4f384b6e$0$29986$c3e8da3$54964...@news.astraweb.com>, Steven D'Aprano wrote: > > I could hope for one and only one, but I know I'm just going to be > > disapointed. The last project I worked on used UTF-8 in most places, > > but also used some C and Java libraries which were only av

French and IDLE on Windows (was Re: Python usage numbers)

2012-02-12 Thread Terry Reedy
On 2/12/2012 2:52 PM, jmfauth wrote: Python popularity? I have no popularity-meter. What I know: I can not type French text in IDLE on Windows. It is like I am pretty sure others have managed to. tk and hence idle handle the entire BMP subset of unicode just fine once they get them. Except fo

Re: Python usage numbers

2012-02-12 Thread Steven D'Aprano
On Sun, 12 Feb 2012 17:27:34 -0500, Roy Smith wrote: > In article , > Chris Angelico wrote: > >> On Mon, Feb 13, 2012 at 9:07 AM, Terry Reedy wrote: >> > The situation before ascii is like where we ended up *before* >> > unicode. Unicode aims to replace all those byte encoding and >> > charact

Re: Python usage numbers

2012-02-12 Thread Steven D'Aprano
On Sun, 12 Feb 2012 08:50:28 -0800, rusi wrote: >> You can't say that it cost you £10 to courier your résumé to the head >> office of Encyclopædia Britanica to apply for the position of Staff >> Coördinator. (Admittedly, the umlaut on the second "o" looks a bit >> stuffy and old-fashioned, but it

Re: Python usage numbers

2012-02-12 Thread Steven D'Aprano
On Sun, 12 Feb 2012 12:11:46 -0500, Roy Smith wrote: > In article , > Dennis Lee Bieber wrote: > >> On Sun, 12 Feb 2012 10:48:36 -0500, Roy Smith wrote: >> >> >As Steven D'Aprano pointed out, it was missing some commonly used US >> >symbols such as ¢ or ©. > > That's interesting. When I wro

Re: Python usage numbers

2012-02-12 Thread Dave Angel
On 02/12/2012 05:30 PM, Steven D'Aprano wrote: On Sun, 12 Feb 2012 05:11:30 -0600, Andrew Berg wrote: On 2/12/2012 3:12 AM, Steven D'Aprano wrote: Windows has two separate APIs, one for "wide" characters, the other for single bytes. Depending on which one you use, the directory will appear t

Re: Python usage numbers

2012-02-12 Thread Dave Angel
On 02/12/2012 05:27 PM, Roy Smith wrote: In article, Chris Angelico wrote: On Mon, Feb 13, 2012 at 9:07 AM, Terry Reedy wrote: The situation before ascii is like where we ended up *before* unicode. Unicode aims to replace all those byte encoding and character sets with *one* byte encoding

Re: Python usage numbers

2012-02-12 Thread Steven D'Aprano
On Sun, 12 Feb 2012 05:11:30 -0600, Andrew Berg wrote: > On 2/12/2012 3:12 AM, Steven D'Aprano wrote: >> NTFS by default uses the UTF-16 encoding, which means the actual bytes >> written to disk are \x1d\x040\x04\xe5\x042\x04 (possibly with a leading >> byte-order mark \xff\xfe). > > That's what I

Re: Python usage numbers

2012-02-12 Thread Roy Smith
In article , Chris Angelico wrote: > On Mon, Feb 13, 2012 at 9:07 AM, Terry Reedy wrote: > > The situation before ascii is like where we ended up *before* unicode. > > Unicode aims to replace all those byte encoding and character sets with > > *one* byte encoding for *one* character set, which

Re: Python usage numbers

2012-02-12 Thread Roy Smith
In article , Terry Reedy wrote: > Let me repeat. Unicode and utf-8 is a solution to the mess, not the > cause. Perhaps we should have a synonym for utf-8: escii, for Earthian > Standard Code for Information Interchange. I'm not arguing that Unicode is where we need to get to. Just trying to

Re: Python usage numbers

2012-02-12 Thread Chris Angelico
On Mon, Feb 13, 2012 at 9:07 AM, Terry Reedy wrote: > The situation before ascii is like where we ended up *before* unicode. > Unicode aims to replace all those byte encoding and character sets with > *one* byte encoding for *one* character set, which will be a great > simplification. It is the id

Re: Python usage numbers

2012-02-12 Thread Terry Reedy
On 2/12/2012 10:13 AM, Roy Smith wrote: Exactly.. ASCII was so successful at becoming a universal standard which lasted for decades, I think you are overstating the universality and length. I used a machine in the 1970s with 60-bit words that could be interpreted as 10 6-bit characters. IBM

Re: Python usage numbers

2012-02-12 Thread jmfauth
There is so much to say on the subject, I do not know where to start. Some points. Today, Sunday, 12 February 2012, 90%, if not more, of the Python applications supposed to work with text and I'm toying with are simply not working. Two reasons: 1) Most of the devs understand nothing or not enoug

Re: Python usage numbers

2012-02-12 Thread alister
On Sun, 12 Feb 2012 12:11:01 +, Mark Lawrence wrote: > On 12/02/2012 08:26, Matej Cepl wrote: >> On 12.2.2012 09:14, Matej Cepl wrote: Obvious answers: - Try decoding with UTF8 or Latin1. Even if you don't get the right characters, you'll get *something*. - Use op

Re: Python usage numbers

2012-02-12 Thread Peter Pearson
On 12 Feb 2012 09:12:57 GMT, Steven D'Aprano wrote: > > Suppose you're a fan of Russian punk bank Наӥв and you have a directory > of their music. Sigh. Banking ain't what it used to be. I'm sticking with classical Muzak. -- To email me, substitute nowhere->spamcop, invalid->net. -- http://ma

Re: Python usage numbers

2012-02-12 Thread Nick Dokos
rusi wrote: > On Feb 12, 10:51 am, Steven D'Aprano +comp.lang.pyt...@pearwood.info> wrote: > > On Sun, 12 Feb 2012 15:38:37 +1100, Chris Angelico wrote: > > > Everything that displays text to a human needs to translate bytes into > > > glyphs, and the usual way to do this conceptually is to go v

Re: Python usage numbers

2012-02-12 Thread Roy Smith
In article , rusi wrote: > On Feb 12, 10:51 am, Steven D'Aprano +comp.lang.pyt...@pearwood.info> wrote: > > On Sun, 12 Feb 2012 15:38:37 +1100, Chris Angelico wrote: > > > Everything that displays text to a human needs to translate bytes into > > > glyphs, and the usual way to do this conceptu

Re: Python usage numbers

2012-02-12 Thread Roy Smith
In article , Dennis Lee Bieber wrote: > On Sun, 12 Feb 2012 10:48:36 -0500, Roy Smith wrote: > > >As Steven D'Aprano pointed out, it was missing some commonly used US > >symbols such as ¢ or ©. That's interesting. When I wrote that, it showed on my screen as a cent symbol and a copyright

Re: Python usage numbers

2012-02-12 Thread rusi
On Feb 12, 10:51 am, Steven D'Aprano wrote: > On Sun, 12 Feb 2012 15:38:37 +1100, Chris Angelico wrote: > > Everything that displays text to a human needs to translate bytes into > > glyphs, and the usual way to do this conceptually is to go via > > characters. Pretending that it's all the same th

Re: Python usage numbers

2012-02-12 Thread Dan Sommers
On Sun, 12 Feb 2012 17:08:24 +1100, Chris Angelico wrote: > On Sun, Feb 12, 2012 at 4:51 PM, Steven D'Aprano > wrote: >> You can't say that it cost you £10 to courier your résumé to the head >> office of Encyclopædia Britanica to apply for the position of Staff >> Coördinator. > > True, but if i

Re: Python usage numbers

2012-02-12 Thread Roy Smith
In article <4f375347$0$29986$c3e8da3$54964...@news.astraweb.com>, Steven D'Aprano wrote: > ASCII truly is a blight on the world, and the sooner it fades into > obscurity, like EBCDIC, the better. That's a fair statement, but it's also fair to say that at the time it came out (49 years ago!) i

Re: Python usage numbers

2012-02-12 Thread Roy Smith
In article , Chris Angelico wrote: > On Sun, Feb 12, 2012 at 1:36 PM, Rick Johnson > wrote: > > On Feb 11, 8:23 pm, Steven D'Aprano > +comp.lang.pyt...@pearwood.info> wrote: > >> "I have a file containing text. I can open it in an editor and see it's > >> nearly all ASCII text, except for a fe

Re: Python usage numbers

2012-02-12 Thread Mark Lawrence
On 12/02/2012 08:26, Matej Cepl wrote: On 12.2.2012 09:14, Matej Cepl wrote: Obvious answers: - Try decoding with UTF8 or Latin1. Even if you don't get the right characters, you'll get *something*. - Use open(filename, encoding='ascii', errors='surrogateescape') (Or possibly errors='ignore'.)

Re: Python usage numbers

2012-02-12 Thread Andrew Berg
On 2/12/2012 3:12 AM, Steven D'Aprano wrote: > NTFS by default uses the UTF-16 encoding, which means the actual bytes > written to disk are \x1d\x040\x04\xe5\x042\x04 (possibly with a leading > byte-order mark \xff\xfe). That's what I meant. Those bytes will be interpreted consistently across all

Re: Python usage numbers

2012-02-12 Thread Steven D'Aprano
On Sun, 12 Feb 2012 01:05:35 -0600, Andrew Berg wrote: > On 2/12/2012 12:10 AM, Steven D'Aprano wrote: >> It's not just UTF8 either, but nearly all encodings. You can't even >> expect to avoid problems if you stick to nothing but Windows, because >> Windows' default encoding is localised: a file g

Re: Python usage numbers

2012-02-12 Thread Matej Cepl
On 12.2.2012 09:14, Matej Cepl wrote: Obvious answers: - Try decoding with UTF8 or Latin1. Even if you don't get the right characters, you'll get *something*. - Use open(filename, encoding='ascii', errors='surrogateescape') (Or possibly errors='ignore'.) These are not good answer, IMHO. The

Re: Python usage numbers

2012-02-12 Thread Matej Cepl
On 12.2.2012 03:23, Steven D'Aprano wrote: The use-case given is: "I have a file containing text. I can open it in an editor and see it's nearly all ASCII text, except for a few weird and bizarre characters like £ © ± or ö. In Python 2, I can read that file fine. In Python 3 I get an error. What

Re: Python usage numbers

2012-02-11 Thread Andrew Berg
On 2/12/2012 12:10 AM, Steven D'Aprano wrote: > It's not just UTF8 either, but nearly all encodings. You can't even > expect to avoid problems if you stick to nothing but Windows, because > Windows' default encoding is localised: a file generated in (say) Israel > or Japan or Germany will use a

Re: Python usage numbers

2012-02-11 Thread Steven D'Aprano
On Sat, 11 Feb 2012 18:36:52 -0800, Rick Johnson wrote: >> "I have a file containing text. I can open it in an editor and see it's >> nearly all ASCII text, except for a few weird and bizarre characters >> like £ © ± or ö. In Python 2, I can read that file fine. In Python 3 I >> get an error. What

Re: Python usage numbers

2012-02-11 Thread Chris Angelico
On Sun, Feb 12, 2012 at 4:51 PM, Steven D'Aprano wrote: > You can't say that it cost you £10 to courier your résumé to the head > office of Encyclopædia Britanica to apply for the position of Staff > Coördinator. True, but if it cost you $10 (or 10 GBP) to courier your curriculum vitae to the hea

Re: Python usage numbers

2012-02-11 Thread Steven D'Aprano
On Sun, 12 Feb 2012 15:38:37 +1100, Chris Angelico wrote: > Everything that displays text to a human needs to translate bytes into > glyphs, and the usual way to do this conceptually is to go via > characters. Pretending that it's all the same thing really means > pretending that one byte represen

Re: Python usage numbers

2012-02-11 Thread Chris Angelico
On Sun, Feb 12, 2012 at 1:36 PM, Rick Johnson wrote: > On Feb 11, 8:23 pm, Steven D'Aprano +comp.lang.pyt...@pearwood.info> wrote: >> "I have a file containing text. I can open it in an editor and see it's >> nearly all ASCII text, except for a few weird and bizarre characters like >> £ © ± or ö.

Re: Python usage numbers

2012-02-11 Thread Rick Johnson
On Feb 11, 8:23 pm, Steven D'Aprano wrote: > On Sun, 12 Feb 2012 12:28:30 +1100, Chris Angelico wrote: > > On Sun, Feb 12, 2012 at 12:21 PM, Eric Snow > > wrote: > >> However, in at > >> least one current thread (on python-ideas) and at a variety of times in > >> the past, _some_ people have foun

Re: Python usage numbers

2012-02-11 Thread Steven D'Aprano
On Sun, 12 Feb 2012 12:28:30 +1100, Chris Angelico wrote: > On Sun, Feb 12, 2012 at 12:21 PM, Eric Snow > wrote: >> However, in at >> least one current thread (on python-ideas) and at a variety of times in >> the past, _some_ people have found Unicode in Python 3 to make more >> work. > > If Uni

Re: Python usage numbers

2012-02-11 Thread Eric Snow
On Sat, Feb 11, 2012 at 6:28 PM, Chris Angelico wrote: > On Sun, Feb 12, 2012 at 12:21 PM, Eric Snow > wrote: >> However, in at >> least one current thread (on python-ideas) and at a variety of times >> in the past, _some_ people have found Unicode in Python 3 to make more >> work. > > If Unicod

  1   2   >