Re: OT: Addition of a .= operator

2023-06-09 Thread Simon Ward via Python-list
On Wed, May 24, 2023 at 05:18:52PM +1200, dn via Python-list wrote: Note that the line numbers correctly show the true cause of the problem, despite both of them being ValueErrors. So if you have to debug this sort of thing, make sure the key parts are on separate lines (even if they're all one e

Re: OT: Addition of a .= operator

2023-05-24 Thread Peter J. Holzer
On 2023-05-24 12:10:09 +1200, dn via Python-list wrote: > Perhaps more psychology rather than coding? Both. As they say, coding means writing for other people first, for the computer second. So that means anticipating what will be least confusing for that other person[1] who's going to read that c

RE: OT: Addition of a .= operator

2023-05-24 Thread avi.e.gross
-list On Behalf Of dn via Python-list Sent: Wednesday, May 24, 2023 1:19 AM To: python-list@python.org Subject: Re: OT: Addition of a .= operator On 24/05/2023 12.27, Chris Angelico wrote: > On Wed, 24 May 2023 at 10:12, dn via Python-list wrote: >> However, (continuing @Peter'

Re: OT: Addition of a .= operator

2023-05-23 Thread dn via Python-list
On 24/05/2023 12.27, Chris Angelico wrote: On Wed, 24 May 2023 at 10:12, dn via Python-list wrote: However, (continuing @Peter's theme) such confuses things when something goes wrong - was the error in the input() or in the float()? - particularly for 'beginners' - and yes, we can expand the ab

Re: OT: Addition of a .= operator

2023-05-23 Thread Chris Angelico
On Wed, 24 May 2023 at 10:12, dn via Python-list wrote: > However, (continuing @Peter's theme) such confuses things when something > goes wrong - was the error in the input() or in the float()? > - particularly for 'beginners' > - and yes, we can expand the above discussion to talk about > error-h

Re: OT: AttributeError

2021-09-29 Thread Greg Ewing
On 30/09/21 7:28 am, dn wrote: Oh yes! The D2 kit - I kept those books for years... https://www.electronixandmore.com/adam/temp/6800trainer/mek6800d2.html My 6800 system was nowhere near as fancy as that! It was the result of replacing the CPU in my homebrew Miniscamp. -- Greg -- https://mai

Re: OT: AttributeError

2021-09-29 Thread Rob Cliffe via Python-list
Ah, Z80s (deep sigh).  Those were the days!  You could disassemble the entire CP/M operating system (including the BIOS), and still have many Kb to play with!  Real programmers don't need gigabytes! On 29/09/2021 03:03, 2qdxy4rzwzuui...@potatochowder.com wrote: On 2021-09-29 at 09:21:34 +1000,

Re: OT: AttributeError

2021-09-29 Thread dn via Python-list
On 29/09/2021 19.16, Greg Ewing wrote: > On 29/09/21 3:03 pm, 2qdxy4rzwzuui...@potatochowder.com wrote: >> Who thinks in little >> endian?  (I was raised on 6502s and 680XX CPUs; 8080s and Z80s always >> did things backwards.) > > The first CPU I wrote code for was a National SC/MP, which doesn't

Re: OT: AttributeError

2021-09-29 Thread MRAB
On 2021-09-29 03:03, 2qdxy4rzwzuui...@potatochowder.com wrote: On 2021-09-29 at 09:21:34 +1000, Chris Angelico wrote: On Wed, Sep 29, 2021 at 9:10 AM <2qdxy4rzwzuui...@potatochowder.com> wrote: > > On 2021-09-29 at 11:38:22 +1300, > dn via Python-list wrote: > > > For those of us who remember

Re: OT: AttributeError

2021-09-29 Thread Greg Ewing
On 29/09/21 3:03 pm, 2qdxy4rzwzuui...@potatochowder.com wrote: Who thinks in little endian? (I was raised on 6502s and 680XX CPUs; 8080s and Z80s always did things backwards.) The first CPU I wrote code for was a National SC/MP, which doesn't have an endianness, since it never deals with more

Re: OT: AttributeError

2021-09-28 Thread Chris Angelico
On Wed, Sep 29, 2021 at 12:06 PM <2qdxy4rzwzuui...@potatochowder.com> wrote: > > ... Or, even better, to be able to read off a hex dump and see E8 03 > > and instantly read it as "1,000 little-endian". > > 59535 big endian. Warningm flamebait ahead: Who thinks in little > endian? (I was raised o

Re: OT: AttributeError

2021-09-28 Thread 2QdxY4RzWzUUiLuE
On 2021-09-29 at 09:21:34 +1000, Chris Angelico wrote: > ... read off a hex dump and see E8 > 03 and instantly read it as "1,000 little-endian". ITYM 000,1 little-endian. ;-) (Or possibly 000.1, depending on your locale.) -- https://mail.python.org/mailman/listinfo/python-list

Re: OT: AttributeError

2021-09-28 Thread 2QdxY4RzWzUUiLuE
On 2021-09-29 at 09:21:34 +1000, Chris Angelico wrote: > On Wed, Sep 29, 2021 at 9:10 AM <2qdxy4rzwzuui...@potatochowder.com> wrote: > > > > On 2021-09-29 at 11:38:22 +1300, > > dn via Python-list wrote: > > > > > For those of us who remember/can compute in binary, octal, hex, or > > > decimal a

Re: OT: AttributeError

2021-09-28 Thread Chris Angelico
On Wed, Sep 29, 2021 at 11:59 AM dn via Python-list wrote: > If I hold up two fingers, am I insulting you, or asking for three of > something? > A Roman soldier walked into a bar holding up two fingers. "Five beers, please" ChrisA -- https://mail.python.org/mailman/listinfo/python-list

Re: OT: AttributeError

2021-09-28 Thread dn via Python-list
On 29/09/2021 12.21, Chris Angelico wrote: > On Wed, Sep 29, 2021 at 9:10 AM <2qdxy4rzwzuui...@potatochowder.com> wrote: >> >> On 2021-09-29 at 11:38:22 +1300, >> dn via Python-list wrote: >> >>> For those of us who remember/can compute in binary, octal, hex, or >>> decimal as-needed: >>> Why do p

Re: OT: AttributeError

2021-09-28 Thread Chris Angelico
On Wed, Sep 29, 2021 at 10:06 AM Greg Ewing wrote: > > On 29/09/21 12:21 pm, Chris Angelico wrote: > > to the extent that you automatically read 65 and 0x41 as the same > > number. > > Am I too geeky for reading both of them as 'A'? > Not even slightly, and I did deliberately choose a printable A

Re: OT: AttributeError

2021-09-28 Thread Greg Ewing
On 29/09/21 12:21 pm, Chris Angelico wrote: to the extent that you automatically read 65 and 0x41 as the same number. Am I too geeky for reading both of them as 'A'? -- Greg -- https://mail.python.org/mailman/listinfo/python-list

Re: OT: AttributeError

2021-09-28 Thread Chris Angelico
On Wed, Sep 29, 2021 at 9:10 AM <2qdxy4rzwzuui...@potatochowder.com> wrote: > > On 2021-09-29 at 11:38:22 +1300, > dn via Python-list wrote: > > > For those of us who remember/can compute in binary, octal, hex, or > > decimal as-needed: > > Why do programmers confuse All Hallows'/Halloween for Chr

Re: OT: AttributeError

2021-09-28 Thread 2QdxY4RzWzUUiLuE
On 2021-09-29 at 11:38:22 +1300, dn via Python-list wrote: > For those of us who remember/can compute in binary, octal, hex, or > decimal as-needed: > Why do programmers confuse All Hallows'/Halloween for Christmas Day? That one is also very old. (Yes, I know the answer. No, I will not spoil i

Re: OT: Autism in discussion groups

2021-05-10 Thread Mirko via Python-list
Am 09.05.2021 um 02:34 schrieb Michael Torrie: > On 5/8/21 3:28 PM, Mirko via Python-list wrote: >> >> I apologize for this OT post, especially because it's in reply to an >> at least partly troll post, but I just can't resist. Sorry. >> >> P.S.: *NOT* among the core symptoms of (the high-function

Re: OT: Autism in discussion groups (was: Re: Proposal: Disconnect comp.lang.python from python-list)

2021-05-09 Thread Michael Torrie
On 5/9/21 11:26 AM, Abdur-Rahmaan Janhangeer wrote: > Out of curiosity, how do people without a Code of Conduct > manage and prevent abuse in between people? I was about > to organise something last year but did not find a better solution > than a code of conduct to ensure smoothness. Well the idea

Re: OT: Autism in discussion groups (was: Re: Proposal: Disconnect comp.lang.python from python-list)

2021-05-09 Thread Abdur-Rahmaan Janhangeer
Greetings, Out of curiosity, how do people without a Code of Conduct manage and prevent abuse in between people? I was about to organise something last year but did not find a better solution than a code of conduct to ensure smoothness. Well the idea was a before-hand signed code of conduct. It be

Re: OT: Autism in discussion groups (was: Re: Proposal: Disconnect comp.lang.python from python-list)

2021-05-09 Thread Jason C. McDonald
> I disagree. Many people are opposed to CoCs for a variety of reasons > including the fact that many CoCs are political in nature. Others > oppose them for legal liability reasons. On his radio show Ask Noah (a > radio show about Linux), Noah has interviewed several people who oppose > CoCs for

Re: OT: Autism in discussion groups (was: Re: Proposal: Disconnect comp.lang.python from python-list)

2021-05-09 Thread Abdur-Rahmaan Janhangeer
On Sun, May 9, 2021 at 1:58 PM dn via Python-list wrote: > That said, there is nothing to be gained by upsetting people... > I misquoted the relevant section from Chris' answer, i wanted to quote: *I'm not saying that the previous situation was GOOD, but I'm far fromsure that the current si

Re: OT: Autism in discussion groups (was: Re: Proposal: Disconnect comp.lang.python from python-list)

2021-05-09 Thread dn via Python-list
On 09/05/2021 20.31, Abdur-Rahmaan Janhangeer wrote: > On Sun, May 9, 2021 at 5:29 AM Chris Angelico wrote: > >> >> Probably the same reason it has never worked. The only thing that's >> changed is the social acceptability of vilifying those you don't like. >> Once upon a time, there were those i

Re: OT: Autism in discussion groups (was: Re: Proposal: Disconnect comp.lang.python from python-list)

2021-05-09 Thread Abdur-Rahmaan Janhangeer
I meant to quote this part actually: I'm not saying that the previous situation was GOOD, but I'm far from sure that the current situation is any better - look at the arguments regarding branch naming, which completely sidelined all technical considerations in favour of one single political motiva

Re: OT: Autism in discussion groups (was: Re: Proposal: Disconnect comp.lang.python from python-list)

2021-05-09 Thread Abdur-Rahmaan Janhangeer
On Sun, May 9, 2021 at 5:29 AM Chris Angelico wrote: > > Probably the same reason it has never worked. The only thing that's > changed is the social acceptability of vilifying those you don't like. > Once upon a time, there were those in the community who had all the > power, and those on the fri

Re: OT: Autism in discussion groups (was: Re: Proposal: Disconnect comp.lang.python from python-list)

2021-05-08 Thread Chris Angelico
On Sun, May 9, 2021 at 11:10 AM Michael Torrie wrote: > > On 5/8/21 6:23 PM, Jason C. McDonald wrote: > > Usually, I find when people dump on CoCs, they're just angry at > > accountability. I haven't known anyone yet who was a productive > > member of Python and opposed to the CoC, at least in pri

Re: OT: Autism in discussion groups (was: Re: Proposal: Disconnect comp.lang.python from python-list)

2021-05-08 Thread Michael Torrie
On 5/8/21 6:23 PM, Jason C. McDonald wrote: > Usually, I find when people dump on CoCs, they're just angry at > accountability. I haven't known anyone yet who was a productive > member of Python and opposed to the CoC, at least in principle > and aim. I disagree. Many people are opposed to CoCs f

Re: OT: Autism in discussion groups (was: Re: Proposal: Disconnect comp.lang.python from python-list)

2021-05-08 Thread Michael Torrie
On 5/8/21 3:28 PM, Mirko via Python-list wrote: > > I apologize for this OT post, especially because it's in reply to an > at least partly troll post, but I just can't resist. Sorry. > > P.S.: *NOT* among the core symptoms of (the high-functioning levels) > of ASS is the inability to learn. Mind

Re: OT: Autism in discussion groups (was: Re: Proposal: Disconnect comp.lang.python from python-list)

2021-05-08 Thread Jason C. McDonald
Very well said! It's quite easy to use one's disadvantages as an excuse for anti-social behavior. The Code of Conduct certainly isn't perfect, but it has proven to be one of the most effective tools in keeping a community healthy. Usually, I find when people dump on CoCs, they're just angry at acc

Re: [OT] Annoying message duplication, was Re: Unsubscribe/can't login

2021-05-06 Thread Jim Byrnes
On 5/5/21 1:07 PM, Jan van den Broek wrote: On 2021-05-05, Jim Byrnes wrote: On 5/5/21 9:39 AM, Peter Otten wrote: On 05/05/2021 16:10, Ethan Furman wrote: I see your messages twice (occasionally with other posters as well). I have no idea how to fix it.?? :( OK, I'll try another option fr

Re: [OT] Annoying message duplication, was Re: Unsubscribe/can't login

2021-05-05 Thread Peter Otten
On 05/05/2021 20:08, Jan van den Broek wrote: On 2021-05-05, Peter Otten <__pete...@web.de> wrote: On 05/05/2021 16:10, Ethan Furman wrote: I see your messages twice (occasionally with other posters as well).?? I have no idea how to fix it.?? :( OK, I'll try another option from Thunderbird's

Re: [OT] Annoying message duplication, was Re: Unsubscribe/can't login

2021-05-05 Thread Jan van den Broek
On 2021-05-05, Peter Otten <__pete...@web.de> wrote: > On 05/05/2021 16:10, Ethan Furman wrote: > >> I see your messages twice (occasionally with other posters as well).?? I >> have no idea how to fix it.?? :( > > OK, I'll try another option from Thunderbird's context menu: Followup to > Newsgrou

Re: [OT] Annoying message duplication, was Re: Unsubscribe/can't login

2021-05-05 Thread Jan van den Broek
On 2021-05-05, Jim Byrnes wrote: > On 5/5/21 9:39 AM, Peter Otten wrote: >> On 05/05/2021 16:10, Ethan Furman wrote: >> >>> I see your messages twice (occasionally with other posters as well). >>> I have no idea how to fix it.?? :( >> >> OK, I'll try another option from Thunderbird's context m

Re: [OT] Annoying message duplication, was Re: Unsubscribe/can't login

2021-05-05 Thread Jim Byrnes
On 5/5/21 9:39 AM, Peter Otten wrote: On 05/05/2021 16:10, Ethan Furman wrote: I see your messages twice (occasionally with other posters as well). I have no idea how to fix it.  :( OK, I'll try another option from Thunderbird's context menu: Followup to Newsgroup. Does that appear once o

Re: [OT] Annoying message duplication, was Re: Unsubscribe/can't login

2021-05-05 Thread Ethan Furman
On 5/5/21 7:39 AM, Peter Otten wrote: > On 05/05/2021 16:10, Ethan Furman wrote: >> I see your messages twice (occasionally with other posters as well). I have no idea how to fix it. :( > > OK, I'll try another option from Thunderbird's context menu: Followup to Newsgroup. > > Does that appea

Re: OT: ALGOL 60 at 60

2020-05-31 Thread Dennis Carachiola
Ah, but I have used it. Admittedly it was during a programming languages survey course at RPI in 1971-3. -- https://mail.python.org/mailman/listinfo/python-list

Re: OT: ALGOL 60 at 60

2020-05-16 Thread Bill Campbell
On Sun, May 17, 2020, DL Neil via Python-list wrote: >ALGOL 60 at 60: The greatest computer language you've never used and >grandaddy of the programming family tree >Back to the time when tape was king >By Richard Speed 15 May 2020 at 09:47 >https://www.theregister.co.uk/2020/05/15/algol_60_at_60/

Re: OT-Comic: Tabs vs Spaces

2020-05-02 Thread Chris Angelico
On Sun, May 3, 2020 at 7:55 AM DL Neil via Python-list wrote: > > On 3/05/20 9:07 AM, Chris Angelico wrote: > > On Sun, May 3, 2020 at 6:33 AM DL Neil via Python-list > > wrote: > >> > >> Is this the way to write Python Enhancement Proposals (PEPs)? > >> eg https://www.python.org/dev/peps/pep-000

Re: OT-Comic: Tabs vs Spaces

2020-05-02 Thread DL Neil via Python-list
On 3/05/20 9:07 AM, Chris Angelico wrote: On Sun, May 3, 2020 at 6:33 AM DL Neil via Python-list wrote: Is this the way to write Python Enhancement Proposals (PEPs)? eg https://www.python.org/dev/peps/pep-0008/#indentation TabError: inconsistent use of tabs and spaces in indentation https://w

Re: OT-Comic: Tabs vs Spaces

2020-05-02 Thread Chris Angelico
On Sun, May 3, 2020 at 6:33 AM DL Neil via Python-list wrote: > > Is this the way to write Python Enhancement Proposals (PEPs)? > eg https://www.python.org/dev/peps/pep-0008/#indentation > > TabError: inconsistent use of tabs and spaces in indentation > https://www.geeksaresexy.net/2020/05/01/the-

Re: OT: Using a fake Gmail address is probably not a good idea

2019-09-16 Thread Max Zettlmeißl via Python-list
On Mon, Sep 16, 2019 at 1:56 PM Skip Montanaro wrote: > Mails for someone here who goes by the handle "ast" with a fake > address of n...@gmail.com keep landing in my Gmail spam folder. I > suspect the same is true for all people subscribed to python-list who > use Gmail. Gmail (correctly, I think

Re: [OT(?)] Ubuntu 18 vim now defaults to 4-space tabs

2019-09-10 Thread Tobiah
Since it does not appear to have "filetype=python" in there, maybe I should have specified "Run vim with a .py filename". Yes, that was a bit that took me a while to figure out! So I used your trick and did: :verbose set shiftwidth? and it revealed: cd /usr/share/vim/vim80/ftplugin A

Re: [OT(?)] Ubuntu 18 vim now defaults to 4-space tabs

2019-09-10 Thread Eli the Bearded
In comp.lang.python, Tobiah wrote: >> Your subject missed a critical word: vim. > It's there! I added it. > > Run vim. Then ':set' to see what's set different than default. Then, > > if it is tabstop you want to know about, ':verbose set tabstop?' will > > tell you where that setting was last a

Re: [OT(?)] Ubuntu 18 vim now defaults to 4-space tabs

2019-09-10 Thread Tobiah
Your subject missed a critical word: vim. It's there! Run vim. Then ':set' to see what's set different than default. Then, if it is tabstop you want to know about, ':verbose set tabstop?' will tell you where that setting was last altered. Nothing that seems to point to space indent: backg

Re: [OT(?)] Ubuntu 18 now defaults to 4-space tabs

2019-09-09 Thread Wildman via Python-list
On Mon, 09 Sep 2019 10:23:57 -0700, Tobiah wrote: > We upgraded a server to 18.04 and now when I start typing > a python file (seems to be triggered by the .py extension) > the tabs default to 4 spaces. We have decades of code that > use tab characters, and it has not been our intention to > chan

Re: [OT(?)] Ubuntu 18 now defaults to 4-space tabs

2019-09-09 Thread Wildman via Python-list
On Mon, 09 Sep 2019 10:23:57 -0700, Tobiah wrote: > We upgraded a server to 18.04 and now when I start typing > a python file (seems to be triggered by the .py extension) > the tabs default to 4 spaces. We have decades of code that > use tab characters, and it has not been our intention to > chan

Re: [OT(?)] Ubuntu 18 vim now defaults to 4-space tabs

2019-09-09 Thread Eli the Bearded
In comp.lang.python, Tobiah wrote: > We upgraded a server to 18.04 and now when I start typing Your subject missed a critical word: vim. There are a lot of editors in Ubuntu, and probably they don't all do that. > This is more of a vim question perhaps, but I'm already > subscribed here and I f

Re: OT: Is there a name for this transformation?

2019-07-17 Thread kamaraju kusumanchi
On Wed, Jul 10, 2019 at 3:08 PM Peter J. Holzer wrote: > > On 2019-07-10 08:57:29 -0400, kamaraju kusumanchi wrote: > > Given a csv file with the following contents > > > > 20180701, A > > 20180702, A, B > > 20180703, A, B, C > > 20180704, B, C > > 20180705, C > > > > I would like to transform the

Re: OT: Is there a name for this transformation?

2019-07-10 Thread Peter J. Holzer
On 2019-07-10 08:57:29 -0400, kamaraju kusumanchi wrote: > Given a csv file with the following contents > > 20180701, A > 20180702, A, B > 20180703, A, B, C > 20180704, B, C > 20180705, C > > I would like to transform the underlying data into a dataframe such as > > date, A, B, C

Re: OT - need help with PHP

2019-02-02 Thread Bob Gailer
Thank you. I will get back to you on that shortly. Bob -- https://mail.python.org/mailman/listinfo/python-list

Re: OT - need help with PHP

2019-02-01 Thread Chris Angelico
On Sat, Feb 2, 2019 at 7:08 AM bob gailer wrote: > HOW TO CALL A FUNCTION USING VOIP.MS REST/JSON API > The following samples show how to get all Servers Information from our > database and how to select a specific Server for your display purposes. > > Please Note: > - When using our REST/JSON API

Re: OT - need help with PHP

2019-02-01 Thread bob gailer
Thank you for your various responses.  All helpful and encouraging. RE mailing list: I followed the instructions at http://php.net/manual/en/faq.mailinglist.php. I have had no response. Shouldn't I get something either welcoming me to the list or requesting a confirmation? Here are the inst

Re: OT - need help with PHP

2019-02-01 Thread mm0fmf
On 01/02/2019 15:36, Chris Angelico wrote: On Sat, Feb 2, 2019 at 2:31 AM Bob Gailer wrote: Trying to setup PHP on Windows 10 using the curl extension to run standalone. Why? I am trying to use an API where the only coding examples are written in PHP. My goal is to use python, and the place w

Re: OT - need help with PHP

2019-02-01 Thread Larry Martell
On Fri, Feb 1, 2019 at 10:30 AM Bob Gailer wrote: > I can't even figure out how to sign up for a PHP email list. http://php.net/manual/en/faq.mailinglist.php -- https://mail.python.org/mailman/listinfo/python-list

Re: OT - need help with PHP

2019-02-01 Thread Chris Angelico
On Sat, Feb 2, 2019 at 2:31 AM Bob Gailer wrote: > > Trying to setup PHP on Windows 10 using the curl extension to run > standalone. Why? I am trying to use an API where the only coding examples > are written in PHP. My goal is to use python, and the place where I'm stuck > is: the examples use C

Re: [OT] master/slave debate in Python

2018-10-01 Thread Ethan Furman
This thread is closed. -- ~Ethan~ Python List Moderator -- https://mail.python.org/mailman/listinfo/python-list

Re: [OT] master/slave debate in Python

2018-10-01 Thread Ian Kelly
On Wed, Sep 26, 2018 at 3:18 PM Chris Angelico wrote: > > On Thu, Sep 27, 2018 at 7:05 AM Ian Kelly wrote: > > > > You're objecting to people trying to do *something* positive on the > > grounds that they're not doing *more* while you yourself are doing > > *nothing*. That's pretty hypocritical.

Re: [OT] master/slave debate in Python

2018-09-26 Thread Larry Martell
On Wed, Sep 26, 2018 at 4:41 AM, Brian Oney via Python-list wrote: > "I have a vewwy great fwiend in Wome called 'Biggus Dickus'" > ... > "Can I go now, sir?" He has a wife, you know. You know what she's called? She's called... 'Incontinentia'. 'Incontinentia Buttocks'. -- https://mail.python.or

Re: [OT] master/slave debate in Python

2018-09-26 Thread Chris Angelico
On Thu, Sep 27, 2018 at 7:05 AM Ian Kelly wrote: > > On Tue, Sep 25, 2018 at 10:48 PM Chris Angelico wrote: > > > > On Wed, Sep 26, 2018 at 2:36 PM Ian Kelly wrote: > > > So, Chris, what have *you personally* done about real slavery where it > > > still happens? > > > > > > If, as I'm guessing,

Re: [OT] master/slave debate in Python

2018-09-26 Thread Ian Kelly
On Tue, Sep 25, 2018 at 10:48 PM Chris Angelico wrote: > > On Wed, Sep 26, 2018 at 2:36 PM Ian Kelly wrote: > > So, Chris, what have *you personally* done about real slavery where it > > still happens? > > > > If, as I'm guessing, the answer is "nothing" then it seems to me that > > you don't hav

Re: [OT] master/slave debate in Python

2018-09-26 Thread Brian Oney via Python-list
> PS: I'm not a great fan of it, but I think we all know that off-topic is > in a way what this list excels at. +1 An open source community thrives on being open. It also welcomes those who like to pick a fight for various, usually personal reasons. Has any heard of that Python language? I hear

Re: [OT] master/slave debate in Python

2018-09-26 Thread Dan Purgert
David Raymond wrote: > [...] > HAL.open(ship.pod_bay.doors) I'm sorry Dave, I'm afraid I can't do that. -- |_|O|_| Registered Linux user #585947 |_|_|O| Github: https://github.com/dpurgert |O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5 4AEE 8E11 DDF3 1279 A281 -- https://mail.python.org/mailman/listinf

RE: [OT] master/slave debate in Python

2018-09-26 Thread David Raymond
...Think about how you treat your computers - you have the power to discard them if they do not work correctly, or even if you just want to get a newer one. You have the power to kick them across the room and nobody will arrest you. Maybe you don't do those things (I would hope you don't kick co

Re: [OT] master/slave debate in Python

2018-09-26 Thread Chris Angelico
On Thu, Sep 27, 2018 at 1:28 AM Ian Kelly wrote: > > On Wed, Sep 26, 2018 at 7:49 AM Chris Angelico wrote: > > > > On Wed, Sep 26, 2018 at 11:33 PM Ian Kelly wrote: > > > > > > Care to give an example? The distinctive part of the definition of > > > "slave" is that it refers to someone who is ow

RE: [OT] master/slave debate in Python

2018-09-26 Thread Schachner, Joseph
second one does it) but I think any one of them feels more "comfortable" now-a-days than Master and Slave. --- Joe S. -Original Message- From: Paul Moore Sent: Wednesday, September 26, 2018 11:41 AM To: Ian Kelly Cc: Python Subject: Re: [OT] master/slave debate in Python

Re: [OT] master/slave debate in Python

2018-09-26 Thread Marko Rauhamaa
Ian Kelly : > The terminology should be changed because it's offensive, full stop. > It may be normalized to many who are accustomed to it, but that > doesn't make it any less offensive. > > Imagine if the terminology were instead "dominant / submissive". > Without meaning to assume too much, migh

Re: [OT] master/slave debate in Python

2018-09-26 Thread Paul Moore
On Wed, 26 Sep 2018 at 16:30, Ian Kelly wrote: > Also: a human slave is not "a person being treated like a computer" > and I find it highly disrespectful that you would move to trivialize > slavery like that. I have no idea what it must feel like to be a slave (other than the trite and obvious i

Re: [OT] master/slave debate in Python

2018-09-26 Thread Ian Kelly
On Wed, Sep 26, 2018 at 7:49 AM Chris Angelico wrote: > > On Wed, Sep 26, 2018 at 11:33 PM Ian Kelly wrote: > > > > Care to give an example? The distinctive part of the definition of > > "slave" is that it refers to someone who is owned and/or held captive, > > and forced to work against their wi

Re: [OT] master/slave debate in Python

2018-09-26 Thread Chris Angelico
On Wed, Sep 26, 2018 at 11:33 PM Ian Kelly wrote: > > On Wed, Sep 26, 2018 at 2:01 AM David Palao wrote: > > > > Hello, > > My opinion is that the terms "master/slave" describe well some situations. > > They could be seen by some people as offensive (although unfortunately > > sometimes true, eve

Re: [OT] master/slave debate in Python

2018-09-26 Thread Ian Kelly
On Wed, Sep 26, 2018 at 2:01 AM David Palao wrote: > > Hello, > My opinion is that the terms "master/slave" describe well some situations. > They could be seen by some people as offensive (although unfortunately > sometimes true, even today) when applied to persons. But it is not > offensive when

Re: [OT] master/slave debate in Python

2018-09-26 Thread Léo El Amri via Python-list
On 26/09/2018 06:34, Ian Kelly wrote: > Chris Angelico wrote: >> What I know about them is that they (and I am assuming there are >> multiple people, because there are reports of multiple reports, if >> that makes sense) are agitating for changes to documentation without >> any real backing. > >

Re: [OT] master/slave debate in Python

2018-09-26 Thread D'Arcy Cain
On 9/26/18 3:58 AM, David Palao wrote: > Hello, > My opinion is that the terms "master/slave" describe well some situations. > They could be seen by some people as offensive (although unfortunately > sometimes true, even today) when applied to persons. But it is not > offensive when applied to proc

Re: [OT] master/slave debate in Python

2018-09-26 Thread David Palao
Hello, My opinion is that the terms "master/slave" describe well some situations. They could be seen by some people as offensive (although unfortunately sometimes true, even today) when applied to persons. But it is not offensive when applied to processes in a computer. They are not living entities

Re: [OT] master/slave debate in Python

2018-09-26 Thread Robin Becker
On 25/09/2018 23:46, Thomas Jollans wrote: .. I have to say I find these unspecified attacks on "SJWs" rather disturbing. Assuming for a moment that "SJW" is a viable insult (that's the way you appear to be using it, though I wouldn't use it myself, in that way or probably at all) - W

Re: [OT] master/slave debate in Python

2018-09-25 Thread Chris Angelico
On Wed, Sep 26, 2018 at 2:36 PM Ian Kelly wrote: > So, Chris, what have *you personally* done about real slavery where it > still happens? > > If, as I'm guessing, the answer is "nothing" then it seems to me that > you don't have much of a leg to stand on to level this accusation. Am I demanding

Re: [OT] master/slave debate in Python

2018-09-25 Thread Ian Kelly
Chris Angelico wrote: > > I was neither rude, nor personally attacking anyone. Actually, the "SJW brigade" remark was quite rude, and a clear attack on anybody who supports this change. > Yes, it's an insult. It's the people who believe that they can cure > social problems by making demands, usu

Re: [OT] master/slave debate in Python

2018-09-25 Thread Ian Kelly
On Mon, Sep 24, 2018 at 6:55 AM Robin Becker wrote: > > On 23/09/2018 15:45, Albert-Jan Roskam wrote: > > *sigh*. I'm with Hettinger on this. > > > > https://www.theregister.co.uk/2018/09/11/python_purges_master_and_slave_in_political_pogrom/ > > > I am as well. Don't fix what is not broken. The s

Re: [OT] master/slave debate in Python

2018-09-25 Thread Chris Angelico
On Wed, Sep 26, 2018 at 8:47 AM Thomas Jollans wrote: > > On 25/09/18 20:57, Chris Angelico wrote: > > > > Is it off-topic because it's nothing to do with Python, or is it > > actually off-topic because it makes you afraid that people won't be > > bullied by the SJW brigade? > > > I have to say I

Re: [OT] master/slave debate in Python

2018-09-25 Thread Thomas Jollans
On 25/09/18 20:57, Chris Angelico wrote: Is it off-topic because it's nothing to do with Python, or is it actually off-topic because it makes you afraid that people won't be bullied by the SJW brigade? I have to say I find these unspecified attacks on "SJWs" rather disturbing. Assuming for a

Re: [OT] master/slave debate in Python

2018-09-25 Thread Chris Angelico
On Wed, Sep 26, 2018 at 5:56 AM Jon Ribbens wrote: > > On 2018-09-25, Chris Angelico wrote: > > On Wed, Sep 26, 2018 at 1:56 AM Jon Ribbens > > wrote: > >> Those things might be on topic on python-dev - although I am sure > >> no-one would thank you for continuing this discussion there - but >

Re: [OT] master/slave debate in Python

2018-09-25 Thread Jon Ribbens
On 2018-09-25, Chris Angelico wrote: > On Wed, Sep 26, 2018 at 1:56 AM Jon Ribbens wrote: >> Those things might be on topic on python-dev - although I am sure >> no-one would thank you for continuing this discussion there - but >> this is comp.lang.python/python-list and here this is off-topic. >

Re: [OT] master/slave debate in Python

2018-09-25 Thread Chris Angelico
On Wed, Sep 26, 2018 at 1:56 AM Jon Ribbens wrote: > > On 2018-09-25, Chris Angelico wrote: > > On Tue, Sep 25, 2018 at 11:01 PM Calvin Spealman > > wrote: > >> This entire conversation is inappropriate for this mailing list. Please > >> leave this free for people who need to ask and give help

Re: [OT] master/slave debate in Python

2018-09-25 Thread Jon Ribbens
On 2018-09-25, Chris Angelico wrote: > On Tue, Sep 25, 2018 at 11:01 PM Calvin Spealman wrote: >> This entire conversation is inappropriate for this mailing list. Please >> leave this free for people who need to ask and give help with Python, >> regardless of which side of this argument you are o

Re: [OT] master/slave debate in Python

2018-09-25 Thread Chris Angelico
On Tue, Sep 25, 2018 at 11:01 PM Calvin Spealman wrote: > > This entire conversation is inappropriate for this mailing list. Please > leave this free for people who need to ask and give help with Python, > regardless of which side of this argument you are on. Considering that the conversation is

Re: [OT] master/slave debate in Python

2018-09-25 Thread Calvin Spealman
This entire conversation is inappropriate for this mailing list. Please leave this free for people who need to ask and give help with Python, regardless of which side of this argument you are on. On Tue, Sep 25, 2018 at 4:44 AM Robin Becker wrote: > On 24/09/2018 21:40, Kirill Balunov wrote: > .

Re: [OT] master/slave debate in Python

2018-09-25 Thread Robin Becker
On 24/09/2018 21:40, Kirill Balunov wrote: ... It seems to me that the word "black" has immunity in the next two Python releases ;) So do not worry so much! apparently whitelist/blacklist is an issue so presumably white should also get immunity :) But honestly, it's not pleasant to see how

Re: [OT] master/slave debate in Python

2018-09-25 Thread Robin Becker
On 24/09/2018 17:30, Dan Purgert wrote: Robin Becker wrote: [...] just thought control of the wrong sort.. Is there "thought control of the right sort"? yes python is good python is good -- Robin Becker -- https://mail.python.org/mailman/listinfo/python-list

Re: [OT] master/slave debate in Python

2018-09-24 Thread Gene Heskett
On Monday 24 September 2018 16:40:22 Kirill Balunov wrote: > пн, 24 сент. 2018 г. в 22:46, Chris Angelico : > > The trouble is that making changes like this with a view to > > eliminating the words "master" and "slave" from all docs and > > comments (rather than making them to improve clarity and

Re: [OT] master/slave debate in Python

2018-09-24 Thread Kirill Balunov
пн, 24 сент. 2018 г. в 22:46, Chris Angelico : > > The trouble is that making changes like this with a view to > eliminating the words "master" and "slave" from all docs and comments > (rather than making them to improve clarity and accuracy) opens up the > leverage that SJWs need. "Hey, you chang

Re: [OT] master/slave debate in Python

2018-09-24 Thread Chris Angelico
On Tue, Sep 25, 2018 at 5:02 AM Thomas Jollans wrote: > > On 24/09/2018 14:52, Robin Becker wrote: > > On 23/09/2018 15:45, Albert-Jan Roskam wrote: > >> *sigh*. I'm with Hettinger on this. > >> > >> https://www.theregister.co.uk/2018/09/11/python_purges_master_and_slave_in_political_pogrom/ > >>

Re: [OT] master/slave debate in Python

2018-09-24 Thread Thomas Jollans
On 24/09/2018 14:52, Robin Becker wrote: On 23/09/2018 15:45, Albert-Jan Roskam wrote: *sigh*. I'm with Hettinger on this. https://www.theregister.co.uk/2018/09/11/python_purges_master_and_slave_in_political_pogrom/ I am as well. Don't fix what is not broken. The semantics (in programming)

Re: [OT] master/slave debate in Python

2018-09-24 Thread Léo El Amri via Python-list
On 24/09/2018 18:30, Dan Purgert wrote: > Robin Becker wrote: >> [...] just thought control of the wrong sort.. > > Is there "thought control of the right sort"? We may have to ask to Huxley -- https://mail.python.org/mailman/listinfo/python-list

Re: [OT] master/slave debate in Python

2018-09-24 Thread Dan Purgert
Robin Becker wrote: > [...] just thought control of the wrong sort.. Is there "thought control of the right sort"? -- |_|O|_| Registered Linux user #585947 |_|_|O| Github: https://github.com/dpurgert |O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5 4AEE 8E11 DDF3 1279 A281 -- https://mail.python.org/mai

Re: [OT] master/slave debate in Python

2018-09-24 Thread Léo El Amri via Python-list
On 24/09/2018 14:52, Robin Becker wrote: > On 23/09/2018 15:45, Albert-Jan Roskam wrote: >> *sigh*. I'm with Hettinger on this. >> >> https://www.theregister.co.uk/2018/09/11/python_purges_master_and_slave_in_political_pogrom/ >> >> > I am as well. Don't fix what is not broken. The semantics (in >

Re: [OT] master/slave debate in Python

2018-09-24 Thread Robin Becker
On 23/09/2018 15:45, Albert-Jan Roskam wrote: *sigh*. I'm with Hettinger on this. https://www.theregister.co.uk/2018/09/11/python_purges_master_and_slave_in_political_pogrom/ I am as well. Don't fix what is not broken. The semantics (in programming) might not be an exact match, but people have

Re: [OT] Bit twiddling homework

2018-07-21 Thread Peter J. Holzer
On 2018-07-20 19:13:44 +1000, Chris Angelico wrote: > On Fri, Jul 20, 2018 at 7:00 PM, Brian Oney via Python-list > wrote: > > That's right I had forgotten about that. Thank you for the quick > > answer.Some fun:$ ipythonPython 2.7.13 (default, Nov 24 2017, 17:33:09) > > ...In [1]: j = 16; i = 1

Re: [OT] Bit twiddling homework

2018-07-20 Thread jladasky
On Friday, July 20, 2018 at 2:00:26 AM UTC-7, Brian Oney wrote: > Are 16|1 and 16+1 internally the same operation (for integers)? For 16 and 1, the output of the two operations happen to be the same, but generally a bitwise OR is not the same are addition. There are no carry bits in the bitwis

Re: [OT] Bit twiddling homework

2018-07-20 Thread Grant Edwards
On 2018-07-20, Chris Angelico wrote: > On Sat, Jul 21, 2018 at 1:14 AM, Grant Edwards > wrote: >> On 2018-07-20, Dennis Lee Bieber wrote: >> >>> While I suspect Python isn't micro-optimizing, take into account >>> that most processors do have an "increment"/"decrement" operation -- >>> since th

  1   2   3   4   5   6   7   8   9   10   >