Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Q: Why did the germ cross the microscope? A: To get to the other slide.


comp / comp.unix.shell / Re: Python (was Re: I did not inhale)

SubjectAuthor
* Re: I did not inhaleStefan Ram
`* Re: I did not inhaleKalevi Kolttonen
 `* Re: Python (was Re: I did not inhale)Lawrence D'Oliveiro
  +* Re: Python (was Re: I did not inhale)Kaz Kylheku
  |`* Re: Python (was Re: I did not inhale)Kalevi Kolttonen
  | +* Re: Python (was Re: I did not inhale)John Ames
  | |`- Re: Python (was Re: I did not inhale)D
  | +* Re: Python (was Re: I did not inhale)Muttley
  | |+* Re: Python (was Re: I did not inhale)Dmitry A. Kazakov
  | ||+* Re: Python (was Re: I did not inhale)Lawrence D'Oliveiro
  | |||`* Re: Python (was Re: I did not inhale)Dmitry A. Kazakov
  | ||| +* Re: Python (was Re: I did not inhale)Muttley
  | ||| |`* Re: Python (was Re: I did not inhale)Dmitry A. Kazakov
  | ||| | `* Re: Python (was Re: I did not inhale)Muttley
  | ||| |  +* Re: Python (was Re: I did not inhale)Dmitry A. Kazakov
  | ||| |  |+* Re: Python (was Re: I did not inhale)Kaz Kylheku
  | ||| |  ||`- Re: Python (was Re: I did not inhale)Dmitry A. Kazakov
  | ||| |  |+- Re: Python (was Re: I did not inhale)Lawrence D'Oliveiro
  | ||| |  |+- Re: Python (was Re: I did not inhale)Muttley
  | ||| |  |`* Re: Python (was Re: I did not inhale)Sebastian
  | ||| |  | `* Re: Python (was Re: I did not inhale)Dmitry A. Kazakov
  | ||| |  |  +* Re: Python (was Re: I did not inhale)vallor
  | ||| |  |  |`- Re: Python (was Re: I did not inhale)Lawrence D'Oliveiro
  | ||| |  |  `- Re: Python (was Re: I did not inhale)Lawrence D'Oliveiro
  | ||| |  `- Re: Python (was Re: I did not inhale)Richard Kettlewell
  | ||| +* Re: Python (was Re: I did not inhale)Kenny McCormack
  | ||| |`- Re: Python (was Re: I did not inhale)Muttley
  | ||| +* Re: Python (was Re: I did not inhale)Kaz Kylheku
  | ||| |`* Re: Python (was Re: I did not inhale)Dmitry A. Kazakov
  | ||| | `* Re: Python (was Re: I did not inhale)Kaz Kylheku
  | ||| |  `* Re: Python (was Re: I did not inhale)Dmitry A. Kazakov
  | ||| |   `- Re: Python (was Re: I did not inhale)Kaz Kylheku
  | ||| `* Re: Python (was Re: I did not inhale)Lawrence D'Oliveiro
  | |||  `* Re: Python (was Re: I did not inhale)Dmitry A. Kazakov
  | |||   +* Re: Python (was Re: I did not inhale)David Brown
  | |||   |`* Re: Python (was Re: I did not inhale)Dmitry A. Kazakov
  | |||   | +* Re: Python (was Re: I did not inhale)Muttley
  | |||   | |`* Re: Python (was Re: I did not inhale)Dmitry A. Kazakov
  | |||   | | +- Re: Python (was Re: I did not inhale)Muttley
  | |||   | | `- Re: Python (was Re: I did not inhale)Bozo User
  | |||   | +* Re: Python (was Re: I did not inhale)David Brown
  | |||   | |`* Re: Python (was Re: I did not inhale)Dmitry A. Kazakov
  | |||   | | +* Re: Python (was Re: I did not inhale)Lawrence D'Oliveiro
  | |||   | | |`* Re: Python (was Re: I did not inhale)Dmitry A. Kazakov
  | |||   | | | `- Re: Python (was Re: I did not inhale)Lawrence D'Oliveiro
  | |||   | | `* Re: Python (was Re: I did not inhale)David Brown
  | |||   | |  `* Re: Python (was Re: I did not inhale)Dmitry A. Kazakov
  | |||   | |   +* Re: Python (was Re: I did not inhale)David Brown
  | |||   | |   |`- Re: Python (was Re: I did not inhale)Dmitry A. Kazakov
  | |||   | |   `* Re: Python (was Re: I did not inhale)Lawrence D'Oliveiro
  | |||   | |    `* Re: Python (was Re: I did not inhale)Dmitry A. Kazakov
  | |||   | |     `- Re: Python (was Re: I did not inhale)Lawrence D'Oliveiro
  | |||   | `* Re: Python (was Re: I did not inhale)Keith Thompson
  | |||   |  `* Re: Python (was Re: I did not inhale)John Ames
  | |||   |   +- Re: Python (was Re: I did not inhale)Muttley
  | |||   |   `- Re: Python (was Re: I did not inhale)Stefan Ram
  | |||   +* Re: Python (was Re: I did not inhale)Lawrence D'Oliveiro
  | |||   |`* Re: Python (was Re: I did not inhale)Dmitry A. Kazakov
  | |||   | +* Re: Python (was Re: I did not inhale)Keith Thompson
  | |||   | |`- Re: Python (was Re: I did not inhale)Dmitry A. Kazakov
  | |||   | `* Re: Python (was Re: I did not inhale)Lawrence D'Oliveiro
  | |||   |  `* Re: Python (was Re: I did not inhale)Dmitry A. Kazakov
  | |||   |   +- Re: Python (was Re: I did not inhale)Lawrence D'Oliveiro
  | |||   |   `- Re: Python (was Re: I did not inhale)D
  | |||   `* Re: Python (was Re: I did not inhale)vallor
  | |||    `- Re: Python (was Re: I did not inhale)Lawrence D'Oliveiro
  | ||`- Re: Python (was Re: I did not inhale)Muttley
  | |`* Re: Python (was Re: I did not inhale)David Brown
  | | `- Re: Python (was Re: I did not inhale)Muttley
  | `* Re: Python (was Re: I did not inhale)David Brown
  |  +* Re: Python (was Re: I did not inhale)Keith Thompson
  |  |`- Re: Python (was Re: I did not inhale)David Brown
  |  `* Re: Python (was Re: I did not inhale)Kalevi Kolttonen
  |   +* Re: Python (was Re: I did not inhale)Muttley
  |   |+- Re: Python (was Re: I did not inhale)Lew Pitcher
  |   |`- Re: Python (was Re: I did not inhale)Kalevi Kolttonen
  |   +* Re: Python (was Re: I did not inhale)David Brown
  |   |`* Re: Python (was Re: I did not inhale)Kalevi Kolttonen
  |   | +* Re: Python (was Re: I did not inhale)David Brown
  |   | |+* Re: Python (was Re: I did not inhale)Muttley
  |   | ||`* Re: Python (was Re: I did not inhale)David Brown
  |   | || `* Re: Python (was Re: I did not inhale)Muttley
  |   | ||  `* Re: Python (was Re: I did not inhale)David Brown
  |   | ||   `* Re: Python (was Re: I did not inhale)Muttley
  |   | ||    `* Re: Python (was Re: I did not inhale)David Brown
  |   | ||     `* Re: Python (was Re: I did not inhale)Muttley
  |   | ||      +* Re: Python (was Re: I did not inhale)D
  |   | ||      |+* Re: Python (was Re: I did not inhale)Muttley
  |   | ||      ||`* Re: Python (was Re: I did not inhale)D
  |   | ||      || `* Re: Python (was Re: I did not inhale)Lew Pitcher
  |   | ||      ||  `- Re: Python (was Re: I did not inhale)Muttley
  |   | ||      |`- Re: Python (was Re: I did not inhale)David Brown
  |   | ||      `* Re: Python (was Re: I did not inhale)David Brown
  |   | ||       +* Re: Python (was Re: I did not inhale)Muttley
  |   | ||       |`* Re: Python (was Re: I did not inhale)John Ames
  |   | ||       | +- Re: Python (was Re: I did not inhale)Muttley
  |   | ||       | `* Re: Python (was Re: I did not inhale)Lawrence D'Oliveiro
  |   | ||       |  +* Re: Python (was Re: I did not inhale)John Ames
  |   | ||       |  |+- Re: Python (was Re: I did not inhale)Lawrence D'Oliveiro
  |   | ||       |  |+- Re: Python (was Re: I did not inhale)Sebastian
  |   | ||       |  |`* Re: Python (was Re: I did not inhale)Richard Kettlewell
  |   | ||       |  +* Re: Python (was Re: I did not inhale)Bart
  |   | ||       |  `- Re: Python (was Re: I did not inhale)Kaz Kylheku
  |   | ||       `* Re: Python (was Re: I did not inhale)Lawrence D'Oliveiro
  |   | |`* Re: Python (was Re: I did not inhale)Lawrence D'Oliveiro
  |   | `* Re: Python (was Re: I did not inhale)Muttley
  |   `* Re: Python (was Re: I did not inhale)Lawrence D'Oliveiro
  `* Re: Python (was Re: I did not inhale)Kalevi Kolttonen

Pages:12345678910
Subject: Re: Python (was Re: I did not inhale)
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Wed, 21 Aug 2024 07:27 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Wed, 21 Aug 2024 07:27:57 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <va44tt$3piki$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uvbfii$3mom0$1@news.xmission.com> <20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org> <way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org> <choices-20240413123957@ram.dialup.fu-berlin.de> <v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me> <20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me> <v9t204$2dofg$1@dont-email.me> <va28pi$3dldm$1@dont-email.me> <va2ro9$3gd7v$1@dont-email.me> <va2vt0$3h3gj$1@dont-email.me>
Injection-Date: Wed, 21 Aug 2024 09:27:57 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="47a613f3f74a4b778efde26a501a57a1";
logging-data="3984018"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX186PrqgrQVUGNAhtnvIOCz3"
Cancel-Lock: sha1:tnIw0yjzb9g8uHlNc6qNy/1vO7Y=
View all headers

On Tue, 20 Aug 2024 20:56:00 -0000 (UTC)
kalevi@kolttonen.fi (Kalevi Kolttonen) boringly babbled:
>In comp.unix.programmer David Brown <david.brown@hesbynett.no> wrote:
>> No, you do not need your particular favourite out of the thousand and
>> one Linux programming books in order to program for Linux. You do not
>> need /any/ book in order to write useful and successful code for Linux.
>> Of course you need /some/ reference - and in the days before the
>> internet was so easily available and so full of information, I went
>> through a lot of programming books. Some were good, some less so, and
>> some have become famous. But none of them were /necessary/ in any way.
>
>Well, I am a quite bad programmer but I am interested enough in the
>Linux/UNIX workings so that reading the newest APUE and The Linux
>Programming Interface did not feel painful or unnecessary at all. On
>the contrary, it was a great pleasure to examine what kind of
>programming facilities my favourite OS offers.
>
>Having these two books, or just one of them, is a great way to educate
>oneself about Linux/UNIX. I see that The Linux Programming Interface
>is available online as a free PDF, but I am not sure whether it is
>a pirated version.
>
>There is no better way to learn Linux/UNIX workings than these two
>books. Period.

The advantage of books written by professionals is that the code and
explanations are usually much clearer and of better equality than the quickly
knocked up might-work-might-not crap you often find on stack overflow and
similar sites. Thats not to say good example code isn't out there but wading
through the rubbish can be a tedious business and IME its often quicker just
to reach for APUE or similar.

Subject: Re: Python (was Re: I did not inhale)
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Wed, 21 Aug 2024 07:36 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Wed, 21 Aug 2024 07:36:58 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <va45eq$3pkt9$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uvbfii$3mom0$1@news.xmission.com>
<20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org>
<way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org>
<choices-20240413123957@ram.dialup.fu-berlin.de>
<v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
<20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
<v9t204$2dofg$1@dont-email.me> <va28pi$3dldm$1@dont-email.me>
<va2ro9$3gd7v$1@dont-email.me> <va2vt0$3h3gj$1@dont-email.me>
<va44rh$3p1l6$1@dont-email.me>
Injection-Date: Wed, 21 Aug 2024 09:36:58 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="47a613f3f74a4b778efde26a501a57a1";
logging-data="3986345"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/XsLUt8PH5nkJk/UVzcdAA"
Cancel-Lock: sha1:Rmz6RElxBHwsBfK/jVmnUIl9j5o=
View all headers

On Wed, 21 Aug 2024 09:26:41 +0200
David Brown <david.brown@hesbynett.no> boringly babbled:
>So I don't question that it is interesting, informative, or a pleasure
>to read. I question that it is /necessary/. You simply cannot argue
>that people who want to program for Linux /must/ read that book. There
>is no justification for that claim. There is no justification for
>claiming that people wanting to program for Linux need to read any books
>on the topic at all, nor for claims that people need to "know POSIX" to
>be able to write code for Linux and/or in C.

Only knowing core C will severely limit what you can do on any OS. If
you're happy just coding up file processors or some self contained
mathematical algo and simply writing to stdout or a file then fine, but to do
anything more sophisticated you'll need to know the OS API whether its posix
+ X on *nix or Win32 on Windows.

>There are a thousand and one ways to learn about the workings of Linux -
>and that's counting "reading books" as one way, regardless of /which/

Linear learning is usually better than snippets from google. If you want
to learn a shakespear play you read the book, you don't google little bits
of it at a time.

Subject: Re: Python (was Re: I did not inhale)
From: Lawrence D'Oliv
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Wed, 21 Aug 2024 07:38 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Wed, 21 Aug 2024 07:38:07 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <va45gv$3pilh$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uvbfii$3mom0$1@news.xmission.com>
<20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org>
<way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org>
<choices-20240413123957@ram.dialup.fu-berlin.de>
<v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
<20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
<v9t204$2dofg$1@dont-email.me> <va28pi$3dldm$1@dont-email.me>
<va2ro9$3gd7v$1@dont-email.me> <va2vt0$3h3gj$1@dont-email.me>
<va44rh$3p1l6$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 21 Aug 2024 09:38:08 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="5e73c8df61277266671c03ab7b114a47";
logging-data="3984049"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/i5tjnjS3J/uO5DpcI3JQz"
User-Agent: Pan/0.159 (Vovchansk; )
Cancel-Lock: sha1:K2DiNWm4xK8MBjMbx26lUsZ4cVo=
View all headers

On Wed, 21 Aug 2024 09:26:41 +0200, David Brown wrote:

> And you don't need to know anything about Linux, UNIX or POSIX to
> program in C.

I think the point has been made on comp.lang.c more than once, that C
without POSIX can be a very dull language indeed ...

Subject: Re: Python (was Re: I did not inhale)
From: Dmitry A. Kazakov
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Wed, 21 Aug 2024 08:07 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mailbox@dmitry-kazakov.de (Dmitry A. Kazakov)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Wed, 21 Aug 2024 10:07:47 +0200
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <va478j$3ppit$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <20240408075547.000061e8@gmail.com>
<g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
<uvbe3m$2cun7$1@dont-email.me> <uvbfii$3mom0$1@news.xmission.com>
<20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org>
<way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org>
<choices-20240413123957@ram.dialup.fu-berlin.de>
<v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
<20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
<v9posc$1rpdj$1@dont-email.me> <v9pvoo$1sn55$1@dont-email.me>
<v9r60h$2289h$2@dont-email.me> <v9sa91$2afht$1@dont-email.me>
<v9tv8o$2iahp$1@dont-email.me> <v9uso3$2pdrg$2@dont-email.me>
<v9v0e0$2q822$1@dont-email.me> <v9v7d4$2r6q2$1@dont-email.me>
<va05a6$2vsf9$1@dont-email.me> <va1efc$39jph$1@dont-email.me>
<va1hgc$39v8u$1@dont-email.me> <va1k0l$3aeib$2@dont-email.me>
<va3e5p$3iue9$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 21 Aug 2024 10:07:47 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="a831a367be2af26dd99bcdcded8aaca8";
logging-data="3991133"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+uQmXdLIxBOuKZGTcEFRXRTSXJzOKofAk="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:CvfjBYMxigGRK1uRtFPd1AT4quQ=
In-Reply-To: <va3e5p$3iue9$1@dont-email.me>
Content-Language: en-US
View all headers

On 2024-08-21 02:59, Lawrence D'Oliveiro wrote:
> On Tue, 20 Aug 2024 10:27:01 +0200, Dmitry A. Kazakov wrote:
>
>> The question is sustainability in long term.
>
> In the long term, proprietary software is in retreat, while Free software
> is on the rise. So it’s quite clear which one is more “sustainable”.

I mean economic sustainability. Normally you cannot sustain a whole
branch of economy keeping it black.

--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

Subject: Re: Python (was Re: I did not inhale)
From: Kalevi Kolttonen
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Wed, 21 Aug 2024 08:45 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: kalevi@kolttonen.fi (Kalevi Kolttonen)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Wed, 21 Aug 2024 08:45:41 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <va49fl$3q4vp$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uvbfii$3mom0$1@news.xmission.com> <20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org> <way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org> <choices-20240413123957@ram.dialup.fu-berlin.de> <v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me> <20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me> <v9t204$2dofg$1@dont-email.me> <va28pi$3dldm$1@dont-email.me> <va3egd$3iue9$3@dont-email.me>
Injection-Date: Wed, 21 Aug 2024 10:45:41 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="e4e419a7db50ca4d306ce972a89d8d27";
logging-data="4002809"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18+ThvVIG7UGk97aJeGOzzgIP/PS59FfHk="
User-Agent: tin/2.6.3-20231224 ("Banff") (Linux/6.10.3-200.fc40.x86_64 (x86_64))
Cancel-Lock: sha1:RG2XJyES9o2Njj1Bv7rMK8oH4tw=
View all headers

In comp.unix.programmer Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
> On Tue, 20 Aug 2024 14:21:38 -0000 (UTC), Kalevi Kolttonen wrote:
>
>> Even though his PhD thesis was
>> something like 100-150 pages of strange-looking formulas, he said he had
>> problems with C on the Amiga. For some reason, he was unable to remember
>> what functions where provided as standard libraries, so he always ended
>> up writing his own functions instead of using libraries.
>
> Was he not able to keep some reference docs handy? For example, I rarely
> get very far in working on Python code without having this page
> <https://docs.python.org/3/library/> open in a browser.

Sorry, I don't know. I only know that he told me he was
unable to remember what the standard libraries on Amiga
offered. So he did much unnecessary duplication of code
writing the functions himself.

I have never owned Commodore Amiga and I have no
knowledge about its C compilers or the related
documentation.

br,
KK

Subject: Re: Python (was Re: I did not inhale)
From: David Brown
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Wed, 21 Aug 2024 09:10 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.brown@hesbynett.no (David Brown)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Wed, 21 Aug 2024 11:10:53 +0200
Organization: A noiseless patient Spider
Lines: 58
Message-ID: <va4aut$3q4g0$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uvbfii$3mom0$1@news.xmission.com>
<20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org>
<way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org>
<choices-20240413123957@ram.dialup.fu-berlin.de>
<v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
<20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
<v9t204$2dofg$1@dont-email.me> <va28pi$3dldm$1@dont-email.me>
<va2ro9$3gd7v$1@dont-email.me> <va2vt0$3h3gj$1@dont-email.me>
<va44rh$3p1l6$1@dont-email.me> <va45eq$3pkt9$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 21 Aug 2024 11:10:54 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="f1f84c8ef38500396b4e29280e06726d";
logging-data="4002304"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+LSB1uQKO18OG9p4iO+Vj/u8MNh2T82Wg="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:gj6A4d4ttv/EJTb5C/WyGnZNLU0=
In-Reply-To: <va45eq$3pkt9$1@dont-email.me>
Content-Language: en-GB
View all headers

On 21/08/2024 09:36, Muttley@dastardlyhq.com wrote:
> On Wed, 21 Aug 2024 09:26:41 +0200
> David Brown <david.brown@hesbynett.no> boringly babbled:
>> So I don't question that it is interesting, informative, or a pleasure
>> to read. I question that it is /necessary/. You simply cannot argue
>> that people who want to program for Linux /must/ read that book. There
>> is no justification for that claim. There is no justification for
>> claiming that people wanting to program for Linux need to read any books
>> on the topic at all, nor for claims that people need to "know POSIX" to
>> be able to write code for Linux and/or in C.
>
> Only knowing core C will severely limit what you can do on any OS. If
> you're happy just coding up file processors or some self contained
> mathematical algo and simply writing to stdout or a file then fine, but to do
> anything more sophisticated you'll need to know the OS API whether its posix
> + X on *nix or Win32 on Windows.

No, you do not.

Why is this so difficult for some people to understand? You need to
know about the parts relevant to the things you are doing. Modern OS's
are /huge/. It is meaningless to talk about "knowing the OS API",
because before you have learned 10% of it, major new versions will be
available and at least part of your knowledge may be outdated. By the
time you have learned /all/ of it, several versions have passed and
you've been fired from your job for pissing around for years learning
things that have no relevance to your task, and you've probably
forgotten at least half of it. And then you can start learning the
third-party libraries and APIs that are not part of the OS but useful
for the task.

If you are writing network software for Linux, how is it relevant to
learn about the sound API, or the more advanced filesystem API's ? If
you are writing a gui program with QT, why should you be interested in X
APIs or POSIX threading and file handling - you'll be using the QT
libraries and APIs for graphics, threading and file handling.

I have not suggested, or even hinted, that all you need is "core C" -
what you need is the knowledge that is relevant to the task at hand,
regardless of the OS, language, or whatever.

>
>> There are a thousand and one ways to learn about the workings of Linux -
>> and that's counting "reading books" as one way, regardless of /which/
>
> Linear learning is usually better than snippets from google. If you want
> to learn a shakespear play you read the book, you don't google little bits
> of it at a time.
>

When did I suggest that snippets from google was "the" way to learn?

I'd agree that reading a book or two is likely to be better than reading
nothing but "snippets from google". You now have another 999 strawmen
to go through.

Subject: Re: Python (was Re: I did not inhale)
From: David Brown
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Wed, 21 Aug 2024 09:11 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.brown@hesbynett.no (David Brown)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Wed, 21 Aug 2024 11:11:46 +0200
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <va4b0i$3q4g0$2@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uvbfii$3mom0$1@news.xmission.com>
<20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org>
<way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org>
<choices-20240413123957@ram.dialup.fu-berlin.de>
<v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
<20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
<v9t204$2dofg$1@dont-email.me> <va28pi$3dldm$1@dont-email.me>
<va2ro9$3gd7v$1@dont-email.me> <va2vt0$3h3gj$1@dont-email.me>
<va44rh$3p1l6$1@dont-email.me> <va45gv$3pilh$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 21 Aug 2024 11:11:47 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="f1f84c8ef38500396b4e29280e06726d";
logging-data="4002304"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX181A1yFY/DYGKITfxdGG5WC4XVnpkZdXzI="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:nxV8vbcFzH2qlXNxCbWNKuomuEI=
In-Reply-To: <va45gv$3pilh$1@dont-email.me>
Content-Language: en-GB
View all headers

On 21/08/2024 09:38, Lawrence D'Oliveiro wrote:
> On Wed, 21 Aug 2024 09:26:41 +0200, David Brown wrote:
>
>> And you don't need to know anything about Linux, UNIX or POSIX to
>> program in C.
>
> I think the point has been made on comp.lang.c more than once, that C
> without POSIX can be a very dull language indeed ...

It was wrong on comp.lang.c, and it is wrong here. Proof by repeated
assertion is not valid.

Subject: Re: Python (was Re: I did not inhale)
From: David Brown
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Wed, 21 Aug 2024 09:15 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.brown@hesbynett.no (David Brown)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Wed, 21 Aug 2024 11:15:51 +0200
Organization: A noiseless patient Spider
Lines: 48
Message-ID: <va4b87$3q4g0$3@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uvbfii$3mom0$1@news.xmission.com>
<20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org>
<way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org>
<choices-20240413123957@ram.dialup.fu-berlin.de>
<v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
<20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
<v9t204$2dofg$1@dont-email.me> <va28pi$3dldm$1@dont-email.me>
<va2ro9$3gd7v$1@dont-email.me> <va2vt0$3h3gj$1@dont-email.me>
<va44tt$3piki$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 21 Aug 2024 11:15:52 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="f1f84c8ef38500396b4e29280e06726d";
logging-data="4002304"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+JsufWJO5+DPaYHH6lnjedbEq3hsrcYr0="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:aY9f3yJm9QLqIq1nul0Vc/QwCQg=
In-Reply-To: <va44tt$3piki$1@dont-email.me>
Content-Language: en-GB
View all headers

On 21/08/2024 09:27, Muttley@dastardlyhq.com wrote:
> On Tue, 20 Aug 2024 20:56:00 -0000 (UTC)
> kalevi@kolttonen.fi (Kalevi Kolttonen) boringly babbled:
>> In comp.unix.programmer David Brown <david.brown@hesbynett.no> wrote:
>>> No, you do not need your particular favourite out of the thousand and
>>> one Linux programming books in order to program for Linux. You do not
>>> need /any/ book in order to write useful and successful code for Linux.
>>> Of course you need /some/ reference - and in the days before the
>>> internet was so easily available and so full of information, I went
>>> through a lot of programming books. Some were good, some less so, and
>>> some have become famous. But none of them were /necessary/ in any way.
>>
>> Well, I am a quite bad programmer but I am interested enough in the
>> Linux/UNIX workings so that reading the newest APUE and The Linux
>> Programming Interface did not feel painful or unnecessary at all. On
>> the contrary, it was a great pleasure to examine what kind of
>> programming facilities my favourite OS offers.
>>
>> Having these two books, or just one of them, is a great way to educate
>> oneself about Linux/UNIX. I see that The Linux Programming Interface
>> is available online as a free PDF, but I am not sure whether it is
>> a pirated version.
>>
>> There is no better way to learn Linux/UNIX workings than these two
>> books. Period.
>
> The advantage of books written by professionals is that the code and
> explanations are usually much clearer and of better equality than the quickly
> knocked up might-work-might-not crap you often find on stack overflow and
> similar sites. Thats not to say good example code isn't out there but wading
> through the rubbish can be a tedious business and IME its often quicker just
> to reach for APUE or similar.
>

"Usually" suggests you have statistics to back that up.

The reality is that there are endless numbers of crap books with poor
explanations, buggy examples, and outdated information - as well as
their being books that are high quality, accurate, and keep enough
generality to be relevant for many years. Equally, there are lots of
posts on stack overflow and other such sites with top-quality code just
as there are posts with complete nonsense, or (worse) subtly wrong code
and answers.

The medium, or the price of getting the information, is at most only in
vague correlation with the quality of the information.

Subject: Re: Python (was Re: I did not inhale)
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Wed, 21 Aug 2024 10:26 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Wed, 21 Aug 2024 10:26:03 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <va4fbr$3qvij$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uvbfii$3mom0$1@news.xmission.com>
<20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org>
<way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org>
<choices-20240413123957@ram.dialup.fu-berlin.de>
<v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
<20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
<v9t204$2dofg$1@dont-email.me> <va28pi$3dldm$1@dont-email.me>
<va2ro9$3gd7v$1@dont-email.me> <va2vt0$3h3gj$1@dont-email.me>
<va44rh$3p1l6$1@dont-email.me> <va45eq$3pkt9$1@dont-email.me>
<va4aut$3q4g0$1@dont-email.me>
Injection-Date: Wed, 21 Aug 2024 12:26:03 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="47a613f3f74a4b778efde26a501a57a1";
logging-data="4030035"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX193X4B90tcVIHdM4Af6Ktxe"
Cancel-Lock: sha1:2bEwPiJCa8b7qnuN/b6tJaWmV7o=
View all headers

On Wed, 21 Aug 2024 11:10:53 +0200
David Brown <david.brown@hesbynett.no> boringly babbled:
>If you are writing network software for Linux, how is it relevant to
>learn about the sound API, or the more advanced filesystem API's ? If

You don't, but the subsystems don't exist in isolation, there's a lot of
overlap. Eg network sockets use a lot of the same API functions as files
(eg: read, write, fcntl, ioctl) so understanding may well help to understand
the other.

>you are writing a gui program with QT, why should you be interested in X
>APIs or POSIX threading and file handling - you'll be using the QT
>libraries and APIs for graphics, threading and file handling.

Not necessarily.

>I have not suggested, or even hinted, that all you need is "core C" -
>what you need is the knowledge that is relevant to the task at hand,
>regardless of the OS, language, or whatever.

Its certainly the impression you gave.

Subject: Re: Python (was Re: I did not inhale)
From: David Brown
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Wed, 21 Aug 2024 15:27 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.brown@hesbynett.no (David Brown)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Wed, 21 Aug 2024 17:27:04 +0200
Organization: A noiseless patient Spider
Lines: 65
Message-ID: <va5108$3tmmd$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uvbfii$3mom0$1@news.xmission.com>
<20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org>
<way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org>
<choices-20240413123957@ram.dialup.fu-berlin.de>
<v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
<20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
<v9t204$2dofg$1@dont-email.me> <va28pi$3dldm$1@dont-email.me>
<va2ro9$3gd7v$1@dont-email.me> <va2vt0$3h3gj$1@dont-email.me>
<va44rh$3p1l6$1@dont-email.me> <va45eq$3pkt9$1@dont-email.me>
<va4aut$3q4g0$1@dont-email.me> <va4fbr$3qvij$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 21 Aug 2024 17:27:05 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="f1f84c8ef38500396b4e29280e06726d";
logging-data="4119245"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18GzLXPz2yER4JicvazfVja8/HQ1dJN/Dk="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:kf4xYuAuFw4DEEc21EM9Nv9daBI=
In-Reply-To: <va4fbr$3qvij$1@dont-email.me>
Content-Language: en-GB
View all headers

On 21/08/2024 12:26, Muttley@dastardlyhq.com wrote:
> On Wed, 21 Aug 2024 11:10:53 +0200
> David Brown <david.brown@hesbynett.no> boringly babbled:
>> If you are writing network software for Linux, how is it relevant to
>> learn about the sound API, or the more advanced filesystem API's ? If
>
> You don't, but the subsystems don't exist in isolation, there's a lot of
> overlap. Eg network sockets use a lot of the same API functions as files
> (eg: read, write, fcntl, ioctl) so understanding may well help to understand
> the other.

Sure.

Of course understanding /some/ of this is essential for a lot of tasks.
And understanding a bit more can be /useful/. My argument is against
this idea that you need to learn it all.

Let's take an example. In my line of work, I use UARTs a lot - I've
probably used UART's on 20-30 different microcontroller families, as
well as external UART chips, bit-banging in software, with polling, DMA,
interrupts, RTOS abstractions, SDK routines. I've used them a /lot/.

Trying to understand the Linux documentation for UARTs is a nightmare.
They are horrendous - the APIs, structs, flag sets, etc., are a vast
jumble of crap for handling terminals that haven't been seen outside a
museum for 50 years, long before Linux was conceived. Trying to get the
right selection of API calls, struct setups, etc., simple raw UART
access to send and receive characters can take many days of studying
documentation of questionable standard, trial and error, and guesswork.
A good "Programming Linux" book /might/ help - but it might be out of
date. Snippets from googling, however, /does/ get the job done - you
can find examples, try them out and see what works, and in a few hours I
had everything running.

Even better, of course, is to ditch C and use Python - "pyserial" does
it all, simply and cleanly. (And the same code works on Windows, if
that happens to be useful - though Windows picks pseudo-random names for
serial ports and has nothing like udev rules.) But for this particular
customer, it had to be in C (well, C++, but that's a minor detail).

Would that task have been easier if I'd studied the details of fcntl,
ioctl, and other calls that were needed for the task? No, not at all.
Would "knowing POSIX" have helped? Would reading some old book on Linux
programming have helped? No. (I /have/ read books on Linux programming.)

But a rough idea of some of the concepts of Linux development was
useful. Knowing /something/ about the OS is helpful.

>
>> you are writing a gui program with QT, why should you be interested in X
>> APIs or POSIX threading and file handling - you'll be using the QT
>> libraries and APIs for graphics, threading and file handling.
>
> Not necessarily.
>
>> I have not suggested, or even hinted, that all you need is "core C" -
>> what you need is the knowledge that is relevant to the task at hand,
>> regardless of the OS, language, or whatever.
>
> Its certainly the impression you gave.
>

I can't imagine how you got that from my posts.

Subject: Re: Python (was Re: I did not inhale)
From: John Ames
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Wed, 21 Aug 2024 15:37 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: commodorejohn@gmail.com (John Ames)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Wed, 21 Aug 2024 08:37:39 -0700
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <20240821083739.00001553@gmail.com>
References: <uu54la$3su5b$6@dont-email.me>
<uvbfii$3mom0$1@news.xmission.com>
<20240412094809.811@kylheku.com>
<87il0mm94y.fsf@tudado.org>
<way-20240413091747@ram.dialup.fu-berlin.de>
<87il0lldf8.fsf@tudado.org>
<choices-20240413123957@ram.dialup.fu-berlin.de>
<v9lm2k$12qhv$1@dont-email.me>
<v9m4gd$14scu$1@dont-email.me>
<20240815182717.189@kylheku.com>
<v9npls$1fjus$1@dont-email.me>
<v9t204$2dofg$1@dont-email.me>
<va28pi$3dldm$1@dont-email.me>
<va2ro9$3gd7v$1@dont-email.me>
<va2vt0$3h3gj$1@dont-email.me>
<va44tt$3piki$1@dont-email.me>
<va4b87$3q4g0$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 21 Aug 2024 17:37:45 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="d78c6d7bfd53290eac81a07a63949302";
logging-data="4081166"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19fMioQ3nvYfAD8KM5H2iIFJr+pWyg7WAY="
Cancel-Lock: sha1:xld0y/aVtxxIr13YlzahQLKWiv0=
X-Newsreader: Claws Mail 4.2.0 (GTK 3.24.38; x86_64-w64-mingw32)
View all headers

Yes, books can be wrong, and yes, community fora can have valuable
information - but there really is no substitute for a good manual, in
print or otherwise. StackOverflow is very useful for clearing up some
kinds of esoteric-yet-common questions, but if you just need to double-
check what the legal values for parameter X in function Y are, it's
much quicker (and usually less error-prone) to turn to a reference
guide than it is to go poking around looking for records of times in
history where someone else might've had the same question.

(Doubly so, now that Google is as friggin' useless as it's gotten the
last few years.)

Subject: Re: Python (was Re: I did not inhale)
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Wed, 21 Aug 2024 15:40 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Wed, 21 Aug 2024 15:40:05 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <va51ok$3tqr9$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uvbfii$3mom0$1@news.xmission.com>
<20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org>
<way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org>
<choices-20240413123957@ram.dialup.fu-berlin.de>
<v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
<20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
<v9t204$2dofg$1@dont-email.me> <va28pi$3dldm$1@dont-email.me>
<va2ro9$3gd7v$1@dont-email.me> <va2vt0$3h3gj$1@dont-email.me>
<va44rh$3p1l6$1@dont-email.me> <va45eq$3pkt9$1@dont-email.me>
<va4aut$3q4g0$1@dont-email.me> <va4fbr$3qvij$1@dont-email.me>
<va5108$3tmmd$1@dont-email.me>
Injection-Date: Wed, 21 Aug 2024 17:40:05 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="47a613f3f74a4b778efde26a501a57a1";
logging-data="4123497"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Mm3RBZkQa+GowcTX318Sd"
Cancel-Lock: sha1:XqNqq339PYTEHIHSXwDAgVC8w2Q=
View all headers

On Wed, 21 Aug 2024 17:27:04 +0200
David Brown <david.brown@hesbynett.no> boringly babbled:
>On 21/08/2024 12:26, Muttley@dastardlyhq.com wrote:
>Trying to understand the Linux documentation for UARTs is a nightmare.
>They are horrendous - the APIs, structs, flag sets, etc., are a vast
>jumble of crap for handling terminals that haven't been seen outside a
>museum for 50 years, long before Linux was conceived. Trying to get the

Unfortunately terminals are complex beasts with many permutations though
all that should be a higher level that what you were doing with a UART.

>Even better, of course, is to ditch C and use Python - "pyserial" does
>it all, simply and cleanly. (And the same code works on Windows, if

The problem with pyserial is you have to use Python. Horrible language
though like BASIC, useful for teaching kids to code.

Subject: Re: Python (was Re: I did not inhale)
From: David Brown
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Wed, 21 Aug 2024 19:15 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.brown@hesbynett.no (David Brown)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Wed, 21 Aug 2024 21:15:14 +0200
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <va5ec2$3vluh$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uvbfii$3mom0$1@news.xmission.com>
<20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org>
<way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org>
<choices-20240413123957@ram.dialup.fu-berlin.de>
<v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
<20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
<v9t204$2dofg$1@dont-email.me> <va28pi$3dldm$1@dont-email.me>
<va2ro9$3gd7v$1@dont-email.me> <va2vt0$3h3gj$1@dont-email.me>
<va44rh$3p1l6$1@dont-email.me> <va45eq$3pkt9$1@dont-email.me>
<va4aut$3q4g0$1@dont-email.me> <va4fbr$3qvij$1@dont-email.me>
<va5108$3tmmd$1@dont-email.me> <va51ok$3tqr9$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 21 Aug 2024 21:15:15 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="3f25078888b97f74e203c7914f422bed";
logging-data="4184017"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/VezBbTenrPqZWndLS3uU9eTMsM4NoQZg="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:WT03Is1Ym0dihXPYgGrdOIBUBFM=
In-Reply-To: <va51ok$3tqr9$1@dont-email.me>
Content-Language: en-GB
View all headers

On 21/08/2024 17:40, Muttley@dastardlyhq.com wrote:
> On Wed, 21 Aug 2024 17:27:04 +0200
> David Brown <david.brown@hesbynett.no> boringly babbled:
>> On 21/08/2024 12:26, Muttley@dastardlyhq.com wrote:
>> Trying to understand the Linux documentation for UARTs is a nightmare.
>> They are horrendous - the APIs, structs, flag sets, etc., are a vast
>> jumble of crap for handling terminals that haven't been seen outside a
>> museum for 50 years, long before Linux was conceived. Trying to get the
>
> Unfortunately terminals are complex beasts with many permutations though
> all that should be a higher level that what you were doing with a UART.
>

Agreed. It is bad design to mix terminal handling with UART handling.

>> Even better, of course, is to ditch C and use Python - "pyserial" does
>> it all, simply and cleanly. (And the same code works on Windows, if
>
> The problem with pyserial is you have to use Python. Horrible language
> though like BASIC, useful for teaching kids to code.
>

Let's just say, opinions differ. Python /can/ be used for beginner
programmers - but it is also an excellent language for many real tasks.
Of course it has its weaknesses and disadvantages as well as its
strengths, and aspects that will appeal to some programmers and not others.

Subject: Re: Python (was Re: I did not inhale)
From: David Brown
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Wed, 21 Aug 2024 19:18 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.brown@hesbynett.no (David Brown)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Wed, 21 Aug 2024 21:18:38 +0200
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <va5eie$3vluh$2@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uvbfii$3mom0$1@news.xmission.com>
<20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org>
<way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org>
<choices-20240413123957@ram.dialup.fu-berlin.de>
<v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
<20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
<v9t204$2dofg$1@dont-email.me> <va28pi$3dldm$1@dont-email.me>
<va2ro9$3gd7v$1@dont-email.me> <va2vt0$3h3gj$1@dont-email.me>
<va44tt$3piki$1@dont-email.me> <va4b87$3q4g0$3@dont-email.me>
<20240821083739.00001553@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 21 Aug 2024 21:18:38 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="3f25078888b97f74e203c7914f422bed";
logging-data="4184017"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19fNJh379q9vZY/tJyvcyT+z4xkeYVs8SM="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:g4bI3Ir9epEBBho5s2p6Qscbz5A=
In-Reply-To: <20240821083739.00001553@gmail.com>
Content-Language: en-GB
View all headers

On 21/08/2024 17:37, John Ames wrote:
> Yes, books can be wrong, and yes, community fora can have valuable
> information - but there really is no substitute for a good manual, in
> print or otherwise. StackOverflow is very useful for clearing up some
> kinds of esoteric-yet-common questions, but if you just need to double-
> check what the legal values for parameter X in function Y are, it's
> much quicker (and usually less error-prone) to turn to a reference
> guide than it is to go poking around looking for records of times in
> history where someone else might've had the same question.
>
> (Doubly so, now that Google is as friggin' useless as it's gotten the
> last few years.)
>

I do like a good manual, whether it be a physical book or an online
manual. So I am not objecting to reading them, learning from them, or
using them as references.

I am just objecting to the concept that reading particular books is
somehow "required" in order to write "useful C" or "program for Linux".
They are neither necessary nor sufficient, especially when picking one
or two particular books.

Subject: Re: Python (was Re: I did not inhale)
From: Lawrence D'Oliv
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Wed, 21 Aug 2024 23:42 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Wed, 21 Aug 2024 23:42:02 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <va5u09$1uhn$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me>
<20240408075547.000061e8@gmail.com>
<g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
<uvbe3m$2cun7$1@dont-email.me> <uvbfii$3mom0$1@news.xmission.com>
<20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org>
<way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org>
<choices-20240413123957@ram.dialup.fu-berlin.de>
<v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
<20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
<v9posc$1rpdj$1@dont-email.me> <v9pvoo$1sn55$1@dont-email.me>
<v9r60h$2289h$2@dont-email.me> <v9sa91$2afht$1@dont-email.me>
<v9tv8o$2iahp$1@dont-email.me> <v9uso3$2pdrg$2@dont-email.me>
<v9v0e0$2q822$1@dont-email.me> <v9v7d4$2r6q2$1@dont-email.me>
<va05a6$2vsf9$1@dont-email.me> <va1efc$39jph$1@dont-email.me>
<va1hgc$39v8u$1@dont-email.me> <va1k0l$3aeib$2@dont-email.me>
<va3e5p$3iue9$1@dont-email.me> <va478j$3ppit$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 22 Aug 2024 01:42:02 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="76c2003861fd2b5a6258c72dbdb3ad9a";
logging-data="64055"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Qn34B4v5g53amrJzpe/NM"
User-Agent: Pan/0.159 (Vovchansk; )
Cancel-Lock: sha1:qLafDffJBln9lu2JZZ+8errI/Yg=
View all headers

On Wed, 21 Aug 2024 10:07:47 +0200, Dmitry A. Kazakov wrote:

> On 2024-08-21 02:59, Lawrence D'Oliveiro wrote:
>>
>> On Tue, 20 Aug 2024 10:27:01 +0200, Dmitry A. Kazakov wrote:
>>
>>> The question is sustainability in long term.
>>
>> In the long term, proprietary software is in retreat, while Free
>> software is on the rise. So it’s quite clear which one is more
>> “sustainable”.
>
> I mean economic sustainability.

So did I.

Subject: Re: Python (was Re: I did not inhale)
From: Lawrence D'Oliv
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Wed, 21 Aug 2024 23:42 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Wed, 21 Aug 2024 23:42:54 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <va5u1t$1uhn$2@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uvbfii$3mom0$1@news.xmission.com>
<20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org>
<way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org>
<choices-20240413123957@ram.dialup.fu-berlin.de>
<v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
<20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
<v9t204$2dofg$1@dont-email.me> <va28pi$3dldm$1@dont-email.me>
<va3egd$3iue9$3@dont-email.me> <va49fl$3q4vp$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 22 Aug 2024 01:42:54 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="76c2003861fd2b5a6258c72dbdb3ad9a";
logging-data="64055"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/RDsbq1GKYO7uqcvYs+p8f"
User-Agent: Pan/0.159 (Vovchansk; )
Cancel-Lock: sha1:puElqO4y1p1mv2pevBuPkL7Bseo=
View all headers

On Wed, 21 Aug 2024 08:45:41 -0000 (UTC), Kalevi Kolttonen wrote:

> I have never owned Commodore Amiga and I have no knowledge about its C
> compilers or the related documentation.

The programming documentation was always readily available, as I recall.
Commodore’s number-one priority was to get developers to develop apps for
their platform.

Subject: Re: Python (was Re: I did not inhale)
From: Lawrence D'Oliv
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Wed, 21 Aug 2024 23:43 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Wed, 21 Aug 2024 23:43:22 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <va5u2q$1uhn$3@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uvbfii$3mom0$1@news.xmission.com>
<20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org>
<way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org>
<choices-20240413123957@ram.dialup.fu-berlin.de>
<v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
<20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
<v9t204$2dofg$1@dont-email.me> <va28pi$3dldm$1@dont-email.me>
<va2ro9$3gd7v$1@dont-email.me> <va2vt0$3h3gj$1@dont-email.me>
<va44rh$3p1l6$1@dont-email.me> <va45gv$3pilh$1@dont-email.me>
<va4b0i$3q4g0$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 22 Aug 2024 01:43:23 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="76c2003861fd2b5a6258c72dbdb3ad9a";
logging-data="64055"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX196K6NHQ3XA3fdx/9VJlZFM"
User-Agent: Pan/0.159 (Vovchansk; )
Cancel-Lock: sha1:JUBb9btUBSZY0NkFPClV/7z/200=
View all headers

On Wed, 21 Aug 2024 11:11:46 +0200, David Brown wrote:

> On 21/08/2024 09:38, Lawrence D'Oliveiro wrote:
>>
>> On Wed, 21 Aug 2024 09:26:41 +0200, David Brown wrote:
>>
>>> And you don't need to know anything about Linux, UNIX or POSIX to
>>> program in C.
>>
>> I think the point has been made on comp.lang.c more than once, that C
>> without POSIX can be a very dull language indeed ...
>
> It was wrong on comp.lang.c, and it is wrong here. Proof by repeated
> assertion is not valid.

It came up repeatedly because of repeated examples where it was true.

Subject: Re: Python (was Re: I did not inhale)
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Thu, 22 Aug 2024 07:42 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Thu, 22 Aug 2024 07:42:08 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <va6q4g$c1a7$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uvbfii$3mom0$1@news.xmission.com>
<20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org>
<way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org>
<choices-20240413123957@ram.dialup.fu-berlin.de>
<v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
<20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
<v9t204$2dofg$1@dont-email.me> <va28pi$3dldm$1@dont-email.me>
<va2ro9$3gd7v$1@dont-email.me> <va2vt0$3h3gj$1@dont-email.me>
<va44rh$3p1l6$1@dont-email.me> <va45eq$3pkt9$1@dont-email.me>
<va4aut$3q4g0$1@dont-email.me> <va4fbr$3qvij$1@dont-email.me>
<va5108$3tmmd$1@dont-email.me> <va51ok$3tqr9$1@dont-email.me>
<va5ec2$3vluh$1@dont-email.me>
Injection-Date: Thu, 22 Aug 2024 09:42:09 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="542601cbb14dae1cdedf2a9298683fa1";
logging-data="394567"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX193idblIf2K1ZinHNsaGj80"
Cancel-Lock: sha1:hACD1nJ3OPTCRT4oMwORzB5jHTU=
View all headers

On Wed, 21 Aug 2024 21:15:14 +0200
David Brown <david.brown@hesbynett.no> boringly babbled:
>On 21/08/2024 17:40, Muttley@dastardlyhq.com wrote:
>> The problem with pyserial is you have to use Python. Horrible language
>> though like BASIC, useful for teaching kids to code.
>>
>
>Let's just say, opinions differ. Python /can/ be used for beginner

Yes, its ultimately subjective. The reasons I don't like it are that I can't
stand dynamic typing in supposed "proper" languages and the syntatically
meaningful whitespace nonsense they took from Occam really grinds my gears.
In my current job I'm forced to use it but I'd never do it out of choice.

>programmers - but it is also an excellent language for many real tasks.
>Of course it has its weaknesses and disadvantages as well as its
>strengths, and aspects that will appeal to some programmers and not others.

IMO its fine for small scripts up to maybe a few hundred lines. Beyond that
no.

Subject: Re: Python (was Re: I did not inhale)
From: D
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: i2pn2 (i2pn.org)
Date: Thu, 22 Aug 2024 07:52 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: nospam@example.net (D)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Thu, 22 Aug 2024 09:52:24 +0200
Organization: i2pn2 (i2pn.org)
Message-ID: <d02d6ea1-e0d7-20b0-dbb1-e0af4b0960d2@example.net>
References: <uu54la$3su5b$6@dont-email.me> <uvbfii$3mom0$1@news.xmission.com> <20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org> <way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org> <choices-20240413123957@ram.dialup.fu-berlin.de>
<v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me> <20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me> <v9t204$2dofg$1@dont-email.me> <va28pi$3dldm$1@dont-email.me> <va2ro9$3gd7v$1@dont-email.me> <va2vt0$3h3gj$1@dont-email.me>
<va44rh$3p1l6$1@dont-email.me> <va45eq$3pkt9$1@dont-email.me> <va4aut$3q4g0$1@dont-email.me> <va4fbr$3qvij$1@dont-email.me> <va5108$3tmmd$1@dont-email.me> <va51ok$3tqr9$1@dont-email.me> <va5ec2$3vluh$1@dont-email.me> <va6q4g$c1a7$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
Injection-Info: i2pn2.org;
logging-data="3440992"; mail-complaints-to="usenet@i2pn2.org";
posting-account="w/4CleFT0XZ6XfSuRJzIySLIA6ECskkHxKUAYDZM66M";
X-Spam-Checker-Version: SpamAssassin 4.0.0
In-Reply-To: <va6q4g$c1a7$1@dont-email.me>
View all headers

On Thu, 22 Aug 2024, Muttley@dastardlyhq.com wrote:

> On Wed, 21 Aug 2024 21:15:14 +0200
> David Brown <david.brown@hesbynett.no> boringly babbled:
>> On 21/08/2024 17:40, Muttley@dastardlyhq.com wrote:
>>> The problem with pyserial is you have to use Python. Horrible language
>>> though like BASIC, useful for teaching kids to code.
>>>
>>
>> Let's just say, opinions differ. Python /can/ be used for beginner
>
> Yes, its ultimately subjective. The reasons I don't like it are that I can't
> stand dynamic typing in supposed "proper" languages and the syntatically
> meaningful whitespace nonsense they took from Occam really grinds my gears.
> In my current job I'm forced to use it but I'd never do it out of choice.
>
>> programmers - but it is also an excellent language for many real tasks.
>> Of course it has its weaknesses and disadvantages as well as its
>> strengths, and aspects that will appeal to some programmers and not others.
>
> IMO its fine for small scripts up to maybe a few hundred lines. Beyond that
> no.
>

I liked python in the beginning, but I find that over the years, it has
become worse. My biggest complaint is dependency management and that you
have to download so many things in order to get a modern project to work.

On the other hand, I'm not a programmer, so I'm probably doing it wrong or
not accordin to best practices by not using containers for all my python
stuff.

Subject: Re: Python (was Re: I did not inhale)
From: David Brown
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Thu, 22 Aug 2024 08:10 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.brown@hesbynett.no (David Brown)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Thu, 22 Aug 2024 10:10:18 +0200
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <va6rpa$c6bg$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uvbfii$3mom0$1@news.xmission.com>
<20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org>
<way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org>
<choices-20240413123957@ram.dialup.fu-berlin.de>
<v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
<20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
<v9t204$2dofg$1@dont-email.me> <va28pi$3dldm$1@dont-email.me>
<va2ro9$3gd7v$1@dont-email.me> <va2vt0$3h3gj$1@dont-email.me>
<va44rh$3p1l6$1@dont-email.me> <va45eq$3pkt9$1@dont-email.me>
<va4aut$3q4g0$1@dont-email.me> <va4fbr$3qvij$1@dont-email.me>
<va5108$3tmmd$1@dont-email.me> <va51ok$3tqr9$1@dont-email.me>
<va5ec2$3vluh$1@dont-email.me> <va6q4g$c1a7$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 22 Aug 2024 10:10:19 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="e19e10a6f493b0642935e2bdebcb364b";
logging-data="399728"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18WHwgI2w5oZW3Zlmk9VFttS0EGb1lBGq8="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:G2huRwke9WMrKRJCUQpzBIoo1ro=
Content-Language: en-GB
In-Reply-To: <va6q4g$c1a7$1@dont-email.me>
View all headers

On 22/08/2024 09:42, Muttley@dastardlyhq.com wrote:
> On Wed, 21 Aug 2024 21:15:14 +0200
> David Brown <david.brown@hesbynett.no> boringly babbled:
>> On 21/08/2024 17:40, Muttley@dastardlyhq.com wrote:
>>> The problem with pyserial is you have to use Python. Horrible language
>>> though like BASIC, useful for teaching kids to code.
>>>
>>
>> Let's just say, opinions differ. Python /can/ be used for beginner
>
> Yes, its ultimately subjective. The reasons I don't like it are that I can't
> stand dynamic typing in supposed "proper" languages and the syntatically
> meaningful whitespace nonsense they took from Occam really grinds my gears.
> In my current job I'm forced to use it but I'd never do it out of choice.
>

Dynamic typing has its advantages and disadvantages. You do lose a lot
of human checking and static checking when you have dynamic typing, but
you gain flexibility. Have you tried using type annotations in Python?
For some code it can give a reasonable compromise, letting you have at
least some control of types while also being flexible where you want.

I am a big fan of clear and consistent layout and indentation, which is
forced on you by Python (and Occam), but I too prefer explicit blocking.
It's harder to get things wrong with explicit blocking, and you are
never faced with space vs. tab conflicts causing semantic changes to the
code.

>> programmers - but it is also an excellent language for many real tasks.
>> Of course it has its weaknesses and disadvantages as well as its
>> strengths, and aspects that will appeal to some programmers and not others.
>
> IMO its fine for small scripts up to maybe a few hundred lines. Beyond that
> no.
>

Oh, it's fine for /far/ bigger programs than that. But it is excellent
for small scripts and utilities.

Like any language, you need discipline and to work in a way that suits
the language. If you approach Python coding as though it were C, or
vice versa, you'll make a mess.

Subject: Re: Python (was Re: I did not inhale)
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Thu, 22 Aug 2024 08:18 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Thu, 22 Aug 2024 08:18:20 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <va6s8b$ca7k$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uvbfii$3mom0$1@news.xmission.com> <20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org> <way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org> <choices-20240413123957@ram.dialup.fu-berlin.de>
<v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me> <20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me> <v9t204$2dofg$1@dont-email.me> <va28pi$3dldm$1@dont-email.me> <va2ro9$3gd7v$1@dont-email.me> <va2vt0$3h3gj$1@dont-email.me>
<va44rh$3p1l6$1@dont-email.me> <va45eq$3pkt9$1@dont-email.me> <va4aut$3q4g0$1@dont-email.me> <va4fbr$3qvij$1@dont-email.me> <va5108$3tmmd$1@dont-email.me> <va51ok$3tqr9$1@dont-email.me> <va5ec2$3vluh$1@dont-email.me> <va6q4g$c1a7$1@dont-email.me>
<d02d6ea1-e0d7-20b0-dbb1-e0af4b0960d2@example.net>
Injection-Date: Thu, 22 Aug 2024 10:18:20 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="542601cbb14dae1cdedf2a9298683fa1";
logging-data="403700"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18WHYf9Dp+kDxoccPcW/kr4"
Cancel-Lock: sha1:o8zyO3hZxtWGuCR7p+ehKPVu2bg=
View all headers

On Thu, 22 Aug 2024 09:52:24 +0200
D <nospam@example.net> boringly babbled:
>On Thu, 22 Aug 2024, Muttley@dastardlyhq.com wrote:
>>> programmers - but it is also an excellent language for many real tasks.
>>> Of course it has its weaknesses and disadvantages as well as its
>>> strengths, and aspects that will appeal to some programmers and not others.
>>
>> IMO its fine for small scripts up to maybe a few hundred lines. Beyond that
>> no.
>>
>
>I liked python in the beginning, but I find that over the years, it has
>become worse. My biggest complaint is dependency management and that you
>have to download so many things in order to get a modern project to work.

Yes, that appears to be a big issue these days. On a project I was working
on recently the version of Pandas (stupid name but thats python libs) had
some minor bug and to update Pandas we had to update just about everything
else as well.

>On the other hand, I'm not a programmer, so I'm probably doing it wrong or
>not accordin to best practices by not using containers for all my python
>stuff.

For a properly designed language a container shouldn't be required. Using
a container to prevent library hell is like seeing a mess on your floor but
instead of clearing the mess you sweep it into seperate piles depending on
the type of rubbish. With C/C++ you can set LD_LIBRARY_PATH to use particular
shared object files but doing something similar with Python AFAIK is a hell of
a task.

Subject: Re: Python (was Re: I did not inhale)
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Thu, 22 Aug 2024 08:21 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Thu, 22 Aug 2024 08:21:29 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <va6se9$cb8e$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uvbfii$3mom0$1@news.xmission.com>
<20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org>
<way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org>
<choices-20240413123957@ram.dialup.fu-berlin.de>
<v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
<20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
<v9t204$2dofg$1@dont-email.me> <va28pi$3dldm$1@dont-email.me>
<va2ro9$3gd7v$1@dont-email.me> <va2vt0$3h3gj$1@dont-email.me>
<va44rh$3p1l6$1@dont-email.me> <va45eq$3pkt9$1@dont-email.me>
<va4aut$3q4g0$1@dont-email.me> <va4fbr$3qvij$1@dont-email.me>
<va5108$3tmmd$1@dont-email.me> <va51ok$3tqr9$1@dont-email.me>
<va5ec2$3vluh$1@dont-email.me> <va6q4g$c1a7$1@dont-email.me>
<va6rpa$c6bg$1@dont-email.me>
Injection-Date: Thu, 22 Aug 2024 10:21:29 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="542601cbb14dae1cdedf2a9298683fa1";
logging-data="404750"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/53h5z45vL5oJTfJ55TuB4"
Cancel-Lock: sha1:hJzPdGQYhe/C2UXZSG0TTamKSRk=
View all headers

On Thu, 22 Aug 2024 10:10:18 +0200
David Brown <david.brown@hesbynett.no> boringly babbled:
>On 22/08/2024 09:42, Muttley@dastardlyhq.com wrote:
>> Yes, its ultimately subjective. The reasons I don't like it are that I can't
>> stand dynamic typing in supposed "proper" languages and the syntatically
>> meaningful whitespace nonsense they took from Occam really grinds my gears.
>> In my current job I'm forced to use it but I'd never do it out of choice.
>>
>
>Dynamic typing has its advantages and disadvantages. You do lose a lot
>of human checking and static checking when you have dynamic typing, but
>you gain flexibility. Have you tried using type annotations in Python?

No, i'll look into it, thanks.

>I am a big fan of clear and consistent layout and indentation, which is
>forced on you by Python (and Occam), but I too prefer explicit blocking.
> It's harder to get things wrong with explicit blocking, and you are

Indeed. You delete a bracket by mistake and it won't compile, end of. In
Python you can delete a spaces/tabs by mistake and if its at the end of the
block the thing could still run.

>never faced with space vs. tab conflicts causing semantic changes to the
>code.

Yes, this is a royal PITA. I use tabs as in vim I can instantly change the
indentation using "set ts=". With spaces its fixed short of dicking about
with macros.

>> IMO its fine for small scripts up to maybe a few hundred lines. Beyond that
>> no.
>>
>
>Oh, it's fine for /far/ bigger programs than that. But it is excellent

As you said, opinions may differ.

Subject: Re: Python (was Re: I did not inhale)
From: Lawrence D'Oliv
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Thu, 22 Aug 2024 09:02 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Thu, 22 Aug 2024 09:02:08 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <va6uqg$clga$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uvbfii$3mom0$1@news.xmission.com>
<20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org>
<way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org>
<choices-20240413123957@ram.dialup.fu-berlin.de>
<v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
<20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
<v9t204$2dofg$1@dont-email.me> <va28pi$3dldm$1@dont-email.me>
<va2ro9$3gd7v$1@dont-email.me> <va2vt0$3h3gj$1@dont-email.me>
<va44rh$3p1l6$1@dont-email.me> <va45eq$3pkt9$1@dont-email.me>
<va4aut$3q4g0$1@dont-email.me> <va4fbr$3qvij$1@dont-email.me>
<va5108$3tmmd$1@dont-email.me> <va51ok$3tqr9$1@dont-email.me>
<va5ec2$3vluh$1@dont-email.me> <va6q4g$c1a7$1@dont-email.me>
<va6rpa$c6bg$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 22 Aug 2024 11:02:09 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="121cecafcfd9e311c6d841fd8b3330b2";
logging-data="415242"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+tSJpIyrNpqL8X+SBo6+/D"
User-Agent: Pan/0.159 (Vovchansk; )
Cancel-Lock: sha1:cud0cbsjc738ki9NDfB3Bj61rgk=
View all headers

On Thu, 22 Aug 2024 10:10:18 +0200, David Brown wrote:

> I am a big fan of clear and consistent layout and indentation, which is
> forced on you by Python (and Occam), but I too prefer explicit blocking.
> It's harder to get things wrong with explicit blocking, and you are
> never faced with space vs. tab conflicts causing semantic changes to the
> code.

Python prohibits those space/tab inconsistencies.

Nevertheless, I don’t like the loss of redundancy in the way code
structure is expressed, which is why I like to put in “#end” comments.

Subject: Re: Python (was Re: I did not inhale)
From: David Brown
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Thu, 22 Aug 2024 09:09 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.brown@hesbynett.no (David Brown)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Thu, 22 Aug 2024 11:09:39 +0200
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <va6v8j$c6bg$2@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uvbfii$3mom0$1@news.xmission.com>
<20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org>
<way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org>
<choices-20240413123957@ram.dialup.fu-berlin.de>
<v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
<20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
<v9t204$2dofg$1@dont-email.me> <va28pi$3dldm$1@dont-email.me>
<va2ro9$3gd7v$1@dont-email.me> <va2vt0$3h3gj$1@dont-email.me>
<va44rh$3p1l6$1@dont-email.me> <va45eq$3pkt9$1@dont-email.me>
<va4aut$3q4g0$1@dont-email.me> <va4fbr$3qvij$1@dont-email.me>
<va5108$3tmmd$1@dont-email.me> <va51ok$3tqr9$1@dont-email.me>
<va5ec2$3vluh$1@dont-email.me> <va6q4g$c1a7$1@dont-email.me>
<d02d6ea1-e0d7-20b0-dbb1-e0af4b0960d2@example.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 22 Aug 2024 11:09:40 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="e19e10a6f493b0642935e2bdebcb364b";
logging-data="399728"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+C6Ivmjh+OraXLTfr8aAT7TfwKi3708As="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:R9mkblUJD4iTyEshiowc7UkYuyY=
Content-Language: en-GB
In-Reply-To: <d02d6ea1-e0d7-20b0-dbb1-e0af4b0960d2@example.net>
View all headers

On 22/08/2024 09:52, D wrote:
>
> I liked python in the beginning, but I find that over the years, it has
> become worse. My biggest complaint is dependency management and that you
> have to download so many things in order to get a modern project to work.
>

I agree that can be a poor point.

Dependency management for languages is a complex beast. It can often
make it easy to get hold of libraries, or update versions - but it can
be very hard to keep consistency and get old versions. Most dependency
management is strongly based on the idea that you have the latest
version of the language, and want the latest version of the libraries,
and that is not always true. This can be a real pain for long-running
projects.

This is not a Python-specific issue, IME. I think it applies to many or
most languages and systems with dependency and library management tools.
I certainly see it all the time for C and C++ using microcontroller
manufacturers' SDK's and libraries.

Subject: Re: Python (was Re: I did not inhale)
From: David Brown
Newsgroups: comp.unix.shell, comp.unix.programmer, comp.lang.misc
Organization: A noiseless patient Spider
Date: Thu, 22 Aug 2024 10:47 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.brown@hesbynett.no (David Brown)
Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc
Subject: Re: Python (was Re: I did not inhale)
Date: Thu, 22 Aug 2024 12:47:16 +0200
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <va74vk$dfb0$1@dont-email.me>
References: <uu54la$3su5b$6@dont-email.me> <uvbfii$3mom0$1@news.xmission.com>
<20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org>
<way-20240413091747@ram.dialup.fu-berlin.de> <87il0lldf8.fsf@tudado.org>
<choices-20240413123957@ram.dialup.fu-berlin.de>
<v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
<20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
<v9t204$2dofg$1@dont-email.me> <va28pi$3dldm$1@dont-email.me>
<va2ro9$3gd7v$1@dont-email.me> <va2vt0$3h3gj$1@dont-email.me>
<va44rh$3p1l6$1@dont-email.me> <va45eq$3pkt9$1@dont-email.me>
<va4aut$3q4g0$1@dont-email.me> <va4fbr$3qvij$1@dont-email.me>
<va5108$3tmmd$1@dont-email.me> <va51ok$3tqr9$1@dont-email.me>
<va5ec2$3vluh$1@dont-email.me> <va6q4g$c1a7$1@dont-email.me>
<va6rpa$c6bg$1@dont-email.me> <va6uqg$clga$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 22 Aug 2024 12:47:16 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="e19e10a6f493b0642935e2bdebcb364b";
logging-data="441696"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+8dK8pgJ8SZQz+ITTJBZ2xpuOZQ7ST2+0="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:560TjJDXlkCdG9ER/vMGLkoFi0M=
Content-Language: en-GB
In-Reply-To: <va6uqg$clga$1@dont-email.me>
View all headers

On 22/08/2024 11:02, Lawrence D'Oliveiro wrote:
> On Thu, 22 Aug 2024 10:10:18 +0200, David Brown wrote:
>
>> I am a big fan of clear and consistent layout and indentation, which is
>> forced on you by Python (and Occam), but I too prefer explicit blocking.
>> It's harder to get things wrong with explicit blocking, and you are
>> never faced with space vs. tab conflicts causing semantic changes to the
>> code.
>
> Python prohibits those space/tab inconsistencies.
>

No, it does not. Python treats tabs (at the start of lines, which is
the only relevant point here) as 8 spaces by default. You can change
that with command-line flags if you want. But it is quite happy with
mixtures of tabs and spaces as long as the result after tab-to-space
conversion is consistent with Python syntax.

So if you have an editor set to 8-space tabs, you can mix spaces and
tabs freely, and Python will treat your code exactly as it appears. If,
as many people do, you have an editor with 4-space tabs then mixing tabs
and spaces will risk strange effects. In some cases, Python can see it
as inconsistent indentation. In other cases, you might get indentation
that is valid Python syntax but not what the programmer saw in the editor:

if cond :
doThis() # 8 spaces
doThat() # One tab

An editor that sees the tab as 4 spaces will show a very different
picture from Python that treats it as 8 spaces.

> Nevertheless, I don’t like the loss of redundancy in the way code
> structure is expressed, which is why I like to put in “#end” comments.

I would not recommend that. But I think it makes sense to add a
"return" at the end of functions if they otherwise end in indentations,
to give a clear ending to the function definition. That is vastly
better than an "# end" comment because it is checked for Python syntax
and correct (or at least plausible) indentation. If you need an end
marker for other blocks, "pass" is your friend - again it is better than
a comment.

Pages:12345678910

rocksolid light 0.9.8
clearnet tor