Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Never look up when dragons fly overhead.


comp / comp.os.linux.misc / Re: Joy of this, Joy of that

SubjectAuthor
* Joy of this, Joy of thatroot
+* Re: Joy of this, Joy of thatLawrence D'Oliveiro
|`* Re: Joy of this, Joy of thatroot
| +- Re: Joy of this, Joy of thatLawrence D'Oliveiro
| `- Re: Joy of this, Joy of thatrbowman
`* Re: Joy of this, Joy of that186282@ud0s4.net
 +* Re: Joy of this, Joy of thatRich
 |+- Re: Joy of this, Joy of thatThe Natural Philosopher
 |`* Re: Joy of this, Joy of that186282@ud0s4.net
 | +* Re: Joy of this, Joy of thatLawrence D'Oliveiro
 | |`- Re: Joy of this, Joy of thatBozo User
 | +* Re: Joy of this, Joy of thatThe Natural Philosopher
 | |`* Re: Joy of this, Joy of thatDon_from_AZ
 | | `* Re: Joy of this, Joy of thatLawrence D'Oliveiro
 | |  `* Re: Joy of this, Joy of that186282@ud0s4.net
 | |   +* Re: Joy of this, Joy of thatLawrence D'Oliveiro
 | |   |`* Re: Joy of this, Joy of that186282@ud0s4.net
 | |   | +* Re: Joy of this, Joy of thatLawrence D'Oliveiro
 | |   | |`- Re: Joy of this, Joy of that186282@ud0s4.net
 | |   | `- Re: Joy of this, Joy of thatrbowman
 | |   `* Re: Joy of this, Joy of thatThe Natural Philosopher
 | |    +- Re: Joy of this, Joy of thatrbowman
 | |    +* Re: Joy of this, Joy of thatLouis Krupp
 | |    |`- Re: Joy of this, Joy of thatRich
 | |    +- Re: Joy of this, Joy of thatLawrence D'Oliveiro
 | |    `* Re: Joy of this, Joy of that186282@ud0s4.net
 | |     +- Re: Joy of this, Joy of thatrbowman
 | |     `* Re: Joy of this, Joy of thatRich
 | |      +* Re: Joy of this, Joy of thatThe Natural Philosopher
 | |      |+* Re: Joy of this, Joy of thatRich
 | |      ||`* Re: Joy of this, Joy of thatD
 | |      || `* Re: Joy of this, Joy of thatrbowman
 | |      ||  `* Re: Joy of this, Joy of thatD
 | |      ||   `* Re: Joy of this, Joy of thatThe Natural Philosopher
 | |      ||    +* Re: Joy of this, Joy of thatD
 | |      ||    |`* Re: Joy of this, Joy of thatrbowman
 | |      ||    | +- Re: Joy of this, Joy of thatD
 | |      ||    | `* Re: Joy of this, Joy of thatPancho
 | |      ||    |  `* Re: Joy of this, Joy of thatRich
 | |      ||    |   +* Re: Joy of this, Joy of thatChris Ahlstrom
 | |      ||    |   |`- Re: Joy of this, Joy of thatPancho
 | |      ||    |   `* Re: Joy of this, Joy of thatrbowman
 | |      ||    |    +* Re: Joy of this, Joy of thatD
 | |      ||    |    |+- Re: Joy of this, Joy of thatRich
 | |      ||    |    |`* Re: Joy of this, Joy of thatrbowman
 | |      ||    |    | `- Re: Joy of this, Joy of thatD
 | |      ||    |    `* Re: Joy of this, Joy of thatThe Natural Philosopher
 | |      ||    |     `* Re: Joy of this, Joy of thatrbowman
 | |      ||    |      `- Re: Joy of this, Joy of thatThe Natural Philosopher
 | |      ||    `* Re: Joy of this, Joy of thatLawrence D'Oliveiro
 | |      ||     `* Re: Joy of this, Joy of that186282@ud0s4.net
 | |      ||      `* Re: Joy of this, Joy of thatLawrence D'Oliveiro
 | |      ||       `* Re: Joy of this, Joy of that186282@ud0s4.net
 | |      ||        +* Re: Joy of this, Joy of thatrbowman
 | |      ||        |`* Re: Joy of this, Joy of that186282@ud0s4.net
 | |      ||        | +* Re: Joy of this, Joy of thatrbowman
 | |      ||        | |`* Re: Joy of this, Joy of that186282@ud0s4.net
 | |      ||        | | `- Re: Joy of this, Joy of thatrbowman
 | |      ||        | `* Re: Joy of this, Joy of thatLawrence D'Oliveiro
 | |      ||        |  `* Re: Joy of this, Joy of that186282@ud0s4.net
 | |      ||        |   +* Re: Joy of this, Joy of thatrbowman
 | |      ||        |   |`* Re: Joy of this, Joy of that186282@ud0s4.net
 | |      ||        |   | +- Re: Joy of this, Joy of thatLawrence D'Oliveiro
 | |      ||        |   | `* Re: Joy of this, Joy of thatrbowman
 | |      ||        |   |  +* Re: Joy of this, Joy of thatThe Natural Philosopher
 | |      ||        |   |  |`- Re: Joy of this, Joy of thatLawrence D'Oliveiro
 | |      ||        |   |  `* Re: Joy of this, Joy of that186282@ud0s4.net
 | |      ||        |   |   +* Re: Joy of this, Joy of thatThe Natural Philosopher
 | |      ||        |   |   |+* Re: Joy of this, Joy of thatRich
 | |      ||        |   |   ||`- Re: Joy of this, Joy of that186282@ud0s4.net
 | |      ||        |   |   |+- Re: Joy of this, Joy of thatD
 | |      ||        |   |   |`- Re: Joy of this, Joy of that186282@ud0s4.net
 | |      ||        |   |   +* Re: Joy of this, Joy of thatLawrence D'Oliveiro
 | |      ||        |   |   |`- Re: Joy of this, Joy of that186282@ud0s4.net
 | |      ||        |   |   `* Re: Joy of this, Joy of thatrbowman
 | |      ||        |   |    `* Re: Joy of this, Joy of that186282@ud0s4.net
 | |      ||        |   |     +* Re: Joy of this, Joy of thatThe Natural Philosopher
 | |      ||        |   |     |`- Re: Joy of this, Joy of thatrbowman
 | |      ||        |   |     `* Re: Joy of this, Joy of thatrbowman
 | |      ||        |   |      `* Re: Joy of this, Joy of that186282@ud0s4.net
 | |      ||        |   |       +* Re: Joy of this, Joy of thatD
 | |      ||        |   |       |`* Re: Joy of this, Joy of that186282@ud0s4.net
 | |      ||        |   |       | +* Re: Joy of this, Joy of thatrbowman
 | |      ||        |   |       | |+* Re: Joy of this, Joy of thatD
 | |      ||        |   |       | ||+* Re: Joy of this, Joy of thatCharlie Gibbs
 | |      ||        |   |       | |||+* Re: Joy of this, Joy of that186282@ud0s4.net
 | |      ||        |   |       | ||||`* Re: Joy of this, Joy of thatD
 | |      ||        |   |       | |||| +* Re: Joy of this, Joy of thatRich
 | |      ||        |   |       | |||| |`* Re: Joy of this, Joy of thatD
 | |      ||        |   |       | |||| | `* Re: Joy of this, Joy of thatRich
 | |      ||        |   |       | |||| |  +* Re: Joy of this, Joy of thatCharlie Gibbs
 | |      ||        |   |       | |||| |  |`- Re: Joy of this, Joy of thatD
 | |      ||        |   |       | |||| |  `* Re: Joy of this, Joy of thatD
 | |      ||        |   |       | |||| |   +* Re: Joy of this, Joy of thatRich
 | |      ||        |   |       | |||| |   |+* Re: Joy of this, Joy of thatrbowman
 | |      ||        |   |       | |||| |   ||`* Re: Joy of this, Joy of thatRich
 | |      ||        |   |       | |||| |   || +* Re: Joy of this, Joy of thatThe Natural Philosopher
 | |      ||        |   |       | |||| |   || |`* Re: Joy of this, Joy of thatCharlie Gibbs
 | |      ||        |   |       | |||| |   || | `- Re: Joy of this, Joy of thatThe Natural Philosopher
 | |      ||        |   |       | |||| |   || +- Re: Joy of this, Joy of thatCharlie Gibbs
 | |      ||        |   |       | |||| |   || `- Re: Joy of this, Joy of thatrbowman
 | |      ||        |   |       | |||| |   |`- Re: Joy of this, Joy of thatD
 | |      ||        |   |       | |||| |   `* Re: Joy of this, Joy of thatRobert Riches
 | |      ||        |   |       | |||| `- Re: Joy of this, Joy of that186282@ud0s4.net
 | |      ||        |   |       | |||`* Re: Joy of this, Joy of thatD
 | |      ||        |   |       | ||`* Re: Joy of this, Joy of that186282@ud0s4.net
 | |      ||        |   |       | |`* Re: Joy of this, Joy of that186282@ud0s4.net
 | |      ||        |   |       | `* Re: Joy of this, Joy of thatD
 | |      ||        |   |       `* Re: Joy of this, Joy of thatLawrence D'Oliveiro
 | |      ||        |   `* Re: Joy of this, Joy of thatLawrence D'Oliveiro
 | |      ||        `* Re: Joy of this, Joy of thatLawrence D'Oliveiro
 | |      |`* Re: Joy of this, Joy of thatvallor
 | |      `* Re: Joy of this, Joy of thatD
 | `- Re: Joy of this, Joy of thatRich
 +* Re: Joy of this, Joy of thatJohn Ames
 `- Re: Joy of this, Joy of thatrbowman

Pages:12345678910111213141516171819202122232425262728293031323334
Subject: Re: Joy of this, Joy of that
From: rbowman
Newsgroups: comp.os.linux.misc
Date: Sun, 24 Nov 2024 05:14 UTC
References: 1 2 3 4 5 6 7 8 9 10
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bowman@montana.com (rbowman)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: 24 Nov 2024 05:14:31 GMT
Lines: 11
Message-ID: <lqfr1nF2ek8U2@mid.individual.net>
References: <vhigot$1uakf$1@dont-email.me>
<6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com>
<vhl090$5ghq$1@dont-email.me>
<w4adnUM659THQqP6nZ2dnZfqnPednZ2d@earthlink.com>
<vhndam$ljks$1@dont-email.me> <871pz4osys.fsf@comcast.net.invalid>
<vhp646$12c7u$1@dont-email.me>
<pgidnQQYp91K_dz6nZ2dnZfqnPqdnZ2d@earthlink.com>
<vhrpc7$1jata$2@dont-email.me>
<sMacnXsCArW5Hd_6nZ2dnZfqnPqdnZ2d@earthlink.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net mElslx1EHgKVPKalzeVgQgdjNSZZRxRnowePdKZBxMWn/1NFHo
Cancel-Lock: sha1:9DdjxcHy+kqkGePOCGeojbC46Lo= sha256:2JhLlvk0zu4oq5ke0IIEGlTqbL97MGM+b8oYN+KTV8A=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
View all headers

On Sat, 23 Nov 2024 20:23:47 -0500, 186282@ud0s4.net wrote:

> "Feature creep" ... you keep having to figure out how to jam new
> stuff into the middle of the old stuff until you just have a total
> MESS. That's when you're supposed to totally re-do, or abandon, but
> Perl was already too well 'established' so they were stuck with
> what/how ' came before.

You call it Raku and go post-apocalyptic. With Wall's religious background
he uses apocalypse in its original meaning but I think most of the world
takes it it the walking dead context.

Subject: Re: Joy of this, Joy of that
From: 186282@ud0s4.net
Newsgroups: comp.os.linux.misc
Organization: wokiesux
Date: Sun, 24 Nov 2024 05:16 UTC
References: 1 2 3 4 5 6 7 8 9 10 11
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!border-1.nntp.ord.giganews.com!border-3.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-3.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Sun, 24 Nov 2024 05:16:26 +0000
Subject: Re: Joy of this, Joy of that
Newsgroups: comp.os.linux.misc
References: <vhigot$1uakf$1@dont-email.me>
<6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com>
<vhl090$5ghq$1@dont-email.me>
<w4adnUM659THQqP6nZ2dnZfqnPednZ2d@earthlink.com>
<vhndam$ljks$1@dont-email.me> <871pz4osys.fsf@comcast.net.invalid>
<vhp646$12c7u$1@dont-email.me>
<pgidnQQYp91K_dz6nZ2dnZfqnPqdnZ2d@earthlink.com>
<vhrpc7$1jata$2@dont-email.me>
<sMacnXsCArW5Hd_6nZ2dnZfqnPqdnZ2d@earthlink.com>
<vhu1mb$1uqb7$2@dont-email.me>
From: 186283@ud0s4.net (186282@ud0s4.net)
Organization: wokiesux
Date: Sun, 24 Nov 2024 00:16:25 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <vhu1mb$1uqb7$2@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <wcmcnZ6OtPE3K9_6nZ2dnZfqnPednZ2d@earthlink.com>
Lines: 34
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-WeqQNMFUmAd/n32nJrPE1nYmFwGhKOPVscrNDiUrza/rFPNg6wy6R09zf8RJ1OFyat07cYz3C893CMJ!X4Uj7QNd2nplJPAa3ZgpEMOycyRP17Ur+bVIYgqzO/1PJcSb/1jICfWrlls1Wyf797m3OzUvia4E!TDfrR5Kr70kKAXDCIjEx
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
View all headers

On 11/23/24 9:06 PM, Lawrence D'Oliveiro wrote:
> On Sat, 23 Nov 2024 20:23:47 -0500, 186282@ud0s4.net wrote:
>
>> "Feature creep" ... you keep having to figure out how to jam new
>> stuff into the middle of the old stuff until you just have a total
>> MESS. That's when you're supposed to totally re-do, or abandon, but
>> Perl was already too well 'established' so they were stuck with
>> what/how ' came before.
>
> Which is where the Perl 6 project came in. But it took so long to come to
> fruition, and was such a radical change, that it was decided to stop
> calling it “Perl” altogether, and make it an entirely new language --
> “Raku”, I think is the name now.
>

Yea, "Raku"

https://en.wikipedia.org/wiki/Raku_(programming_language)

https://dev.to/lizmat/migrating-perl-to-raku-1c47

It is distant enough to kinda need a new name.

But I'm still not gonna bother.

It still seems to be a lang without any real POINT.
Whatever it is, better and clearer in Python.

There are a lot of langs like that - 95% like some
older lang, but with more pointlessly weird syntax.

There was one neat phrase I saw though - "In Perl 6, we
decided it would be better to fix the language than
fix the user" :-)

Subject: Re: Joy of this, Joy of that
From: rbowman
Newsgroups: comp.os.linux.misc
Date: Sun, 24 Nov 2024 05:26 UTC
References: 1 2 3 4 5 6 7 8 9 10
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bowman@montana.com (rbowman)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: 24 Nov 2024 05:26:06 GMT
Lines: 12
Message-ID: <lqfrneF2ek8U3@mid.individual.net>
References: <vhigot$1uakf$1@dont-email.me>
<6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com>
<vhl090$5ghq$1@dont-email.me>
<w4adnUM659THQqP6nZ2dnZfqnPednZ2d@earthlink.com>
<vhndam$ljks$1@dont-email.me> <871pz4osys.fsf@comcast.net.invalid>
<vhp646$12c7u$1@dont-email.me>
<pgidnQQYp91K_dz6nZ2dnZfqnPqdnZ2d@earthlink.com>
<vhsdhp$1m6qu$2@dont-email.me>
<X4KcnQQzFNko49_6nZ2dnZfqnPWdnZ2d@earthlink.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net a9VX/zBDIEVzb7WR8P0Odw15r+CLUHcvwDu/UZ+vSTkaFmxISP
Cancel-Lock: sha1:Lp4P4L5euO49b4keuIgez7/SLhk= sha256:dGaTfFKh/vzpLwATZHKeQt7pLTQC8dEqwROCtpKHS2M=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
View all headers

On Sat, 23 Nov 2024 20:17:16 -0500, 186282@ud0s4.net wrote:

> But yea ... there soon comes a point where you ought to implement in
> a better, more proper, language. Whatever it is, at least use Python
> if for no other reason than that it's generally comprehensible. They
> kept expanding Bash with more obscure squiggles and bars and "two
> spaces, not one" almost to the point where you may as well be using
> BrainFuck or similar.

I'm not sure how I feel about the _ and *_ introduced in Python 3. I
suppose it's handy. Then there is the whole dunder etiquette and the
'please don't screw with this but I can't stop you' idea.

Subject: Re: Joy of this, Joy of that
From: The Natural Philosop
Newsgroups: comp.os.linux.misc
Organization: A little, after lunch
Date: Sun, 24 Nov 2024 10:25 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: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: Sun, 24 Nov 2024 10:25:02 +0000
Organization: A little, after lunch
Lines: 56
Message-ID: <vhuutu$26l4e$1@dont-email.me>
References: <vhigot$1uakf$1@dont-email.me>
<6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com>
<20241120081039.00006d2a@gmail.com> <vhlium$93kn$1@dont-email.me>
<vhmprp$iaf1$1@dont-email.me>
<LASdnSkA69I3yKL6nZ2dnZfqnPWdnZ2d@earthlink.com>
<vhoeap$r8gq$2@dont-email.me> <vhpmq3$14s79$2@dont-email.me>
<vhq1f7$16bou$1@dont-email.me> <vhqm4g$1aarf$1@dont-email.me>
<vhr2r7$1cdln$1@dont-email.me> <vhr8hh$1ddh7$2@dont-email.me>
<vhr9u1$1dh3s$1@dont-email.me> <vhrbsr$1dqca$2@dont-email.me>
<vhs3ji$1kb5c$1@dont-email.me> <vhtht6$1s5d5$5@dont-email.me>
<vhtplb$1tioh$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 24 Nov 2024 11:25:02 +0100 (CET)
Injection-Info: dont-email.me; posting-host="15723be401c4c9ba374de850264661b5";
logging-data="2315406"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+pt4NedOjmOvSADiWEZXskoRr4VfB7Qbs="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:QC3PKyYgSkgnzhCH5YD4CsnfMBk=
Content-Language: en-GB
In-Reply-To: <vhtplb$1tioh$1@dont-email.me>
View all headers

On 23/11/2024 23:48, Pancho wrote:
> On 11/23/24 21:36, Lawrence D'Oliveiro wrote:
>> On Sat, 23 Nov 2024 08:26:26 +0000, Pancho wrote:
>>
>>> On 11/23/24 01:41, Lawrence D'Oliveiro wrote:
>>>>
>>>> “Metaclasses” were just a bit of a hack to implement what Python would
>>>> call “classmethods”.
>>>
>>> I think the Smalltalk idea of treating classes as objects, is the
>>> opposite of a hack.
>>
>> That is an elegant idea, but I don’t think it’s what Smalltalk did -- not
>> with metaclasses, anyway. If you look at the draft (abandoned) ANSI
>> Smalltalk spec <https://github.com/johnwcowan/smalltalk-standard>, it
>> says
>> “because classes are not specified as the implementers of behavior,
>> metaclasses are not needed to provide the behavior of class objects”.
>>
>
> The full quote...
>
> "Class objects have no special significance other than having names and
> having behaviors and state distinct from that of
> their associated instance objects. Unlike classic Smalltalk definitions
> [Goldberg83], they are not defined as being the
> containers or implementers of their instances' behavior. The techniques
> used to implement the behavior of objects is left to
> the implementers. Finally, because classes are not specified as the
> implementers of behavior, metaclasses are not needed
> to provide the behavior of class objects. "
>
>

I have already completely lost the plot. And the will to live.

> I learnt Smalltalk nearly 40 years ago, needless to say I learnt from
> the Goldberg Smalltalk-80 bluebook, not the current spec.
>
> To be honest, I don't have an idea what classes not being the
> implementers of instance behaviour means. Where is instance behaviour
> implemented?
>
Mate I havent a clue what *any* of it means. It's classic compSci
Gobbledygook.

>
> I'm actually quite unconvinced by Python.

--
The urge to save humanity is almost always a false front for the urge to
rule.
– H. L. Mencken, American journalist, 1880-1956

Subject: Re: Joy of this, Joy of that
From: Richard Kettlewell
Newsgroups: comp.os.linux.misc
Organization: terraraq NNTP server
Date: Sun, 24 Nov 2024 12:46 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!feeder2.eternal-september.org!news.mixmin.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!news.gegeweb.eu!gegeweb.org!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: invalid@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: Sun, 24 Nov 2024 12:46:46 +0000
Organization: terraraq NNTP server
Message-ID: <wwvmshodcjt.fsf@LkoBDZeT.terraraq.uk>
References: <vhigot$1uakf$1@dont-email.me>
<6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com>
<20241120081039.00006d2a@gmail.com> <vhlium$93kn$1@dont-email.me>
<vhmprp$iaf1$1@dont-email.me> <lq9h4kF2tegU1@mid.individual.net>
<vhpmo6$14s79$1@dont-email.me> <wwva5drk0m1.fsf@LkoBDZeT.terraraq.uk>
<vhptgf$1614q$1@dont-email.me> <Iq40P.70904$EQue.62359@fx13.iad>
<slrnvk1qft.5gg9.candycanearter07@candydeb.host.invalid>
<mcf0P.211278$pZ%.68099@fx16.iad> <vhs153$1k6ft$3@dont-email.me>
<wwvjzcu1chd.fsf@LkoBDZeT.terraraq.uk> <vhtide$1s5d5$8@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
logging-data="138555"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:+N+BhIZwqLOpAzqBbuQA3vXc3Z8=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
View all headers

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
> On Sat, 23 Nov 2024 10:16:46 +0000, Richard Kettlewell wrote:
>> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>>>
>>> One thing that helps is that free(3) is idempotent:
>>
>> It is not. Freeing the same non-null pointer twice is a bug (and a
>> common source of vulnerabilities).
>
> That’s not what I meant by “idempotent”,

It’s what everyone else means by it.

> and that particular case is easy to catch anyway, and glibc does so by
> default. See <https://manpages.debian.org/3/mallopt.3.en.html>.

Glibc’s double free detection is heuristic, not 100% reliable.

--
https://www.greenend.org.uk/rjk/

Subject: Re: Joy of this, Joy of that
From: Rich
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Sun, 24 Nov 2024 14:33 UTC
References: 1 2 3 4 5 6 7 8 9 10
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: rich@example.invalid (Rich)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: Sun, 24 Nov 2024 14:33:39 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <vhvdg3$2900d$2@dont-email.me>
References: <vhigot$1uakf$1@dont-email.me> <6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com> <vhl090$5ghq$1@dont-email.me> <w4adnUM659THQqP6nZ2dnZfqnPednZ2d@earthlink.com> <vhndam$ljks$1@dont-email.me> <871pz4osys.fsf@comcast.net.invalid> <vhp646$12c7u$1@dont-email.me> <pgidnQQYp91K_dz6nZ2dnZfqnPqdnZ2d@earthlink.com> <vhsdhp$1m6qu$2@dont-email.me> <%ar0P.44258$giU1.34557@fx09.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 24 Nov 2024 15:33:40 +0100 (CET)
Injection-Info: dont-email.me; posting-host="f9f41132f628b1fe2d858245900693aa";
logging-data="2392077"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Nx7S4aSAiGc/ouW4ei5IZ"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Cancel-Lock: sha1:a1sPtJKbR02n1SSqfvLJoss4yOQ=
View all headers

Louis Krupp <lkrupp@invalid.pssw.com.invalid> wrote:
> On 11/23/2024 4:16 AM, The Natural Philosopher wrote:
>> On 23/11/2024 04:57, 186282@ud0s4.net wrote:
>>>    Well ... glad to see my opinion of Perl is    not unique  :-)
>>>
>>>    Way back I bought the usual "Learn Perl" book with    the camel
>>> on the front. About two chapters in I    said "WHY ???".
>>>
>> I just saw the type of people who created enormous scripts in it,
>> and thought 'total wankers' They typically read instruction manuals
>> as a hobby...
>>
>> If a script gets that big it should be in a different language
>> altogether.
>>
> There was a time when Python was still at version 1.something, Ruby
> hadn't been introduced, so the choices were limited to shells (like
> sh and its relatives), compiled languages like C, and Perl. Perl did
> the job, and it was enough like C to seem familiar, so here we are.

This is the part that seems to get forgotten most often today, given
the fog of history.

There was a day, in the not so distant past, where one's choices for
'language' for "custom ad. hoc. tool" on a Unix machine were:

1) C
2) /bin/sh
3) Perl

And, if "custom ad. hoc. tool" needed to do any manipulation of
string data beyond the most trivial of output printf'ing then the code
overhead in C for handing those strings vs. one line of Perl, meant
Perl got called in to do the jobs that were "too much for /bin/sh" and
"not performance critical enough (yet)" to write out all the needed C
code.

Subject: Re: Joy of this, Joy of that
From: Rich
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Sun, 24 Nov 2024 14:37 UTC
References: 1 2 3 4 5 6 7 8 9 10
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: rich@example.invalid (Rich)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: Sun, 24 Nov 2024 14:37:12 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <vhvdmo$2900d$3@dont-email.me>
References: <vhigot$1uakf$1@dont-email.me> <6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com> <vhl090$5ghq$1@dont-email.me> <w4adnUM659THQqP6nZ2dnZfqnPednZ2d@earthlink.com> <vhndam$ljks$1@dont-email.me> <871pz4osys.fsf@comcast.net.invalid> <vhp646$12c7u$1@dont-email.me> <pgidnQQYp91K_dz6nZ2dnZfqnPqdnZ2d@earthlink.com> <vhsdhp$1m6qu$2@dont-email.me> <X4KcnQQzFNko49_6nZ2dnZfqnPWdnZ2d@earthlink.com>
Injection-Date: Sun, 24 Nov 2024 15:37:12 +0100 (CET)
Injection-Info: dont-email.me; posting-host="f9f41132f628b1fe2d858245900693aa";
logging-data="2392077"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18WfA4bNidR0mHfZLNOuVIJ"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Cancel-Lock: sha1:88XjdognZUt0/wh0mJR2rlOqO0A=
View all headers

186282@ud0s4.net <186283@ud0s4.net> wrote:
> Whatever it is, at least use Python if for no other
> reason than that it's generally comprehensible.

Oh good lord no. The amount for which you hate Perl is the amount that
I despise Python.

Subject: Re: Joy of this, Joy of that
From: The Natural Philosop
Newsgroups: comp.os.linux.misc
Organization: A little, after lunch
Date: Sun, 24 Nov 2024 14:39 UTC
References: 1 2 3 4 5 6 7 8 9 10 11
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: Sun, 24 Nov 2024 14:39:26 +0000
Organization: A little, after lunch
Lines: 15
Message-ID: <vhvdqu$28p7r$7@dont-email.me>
References: <vhigot$1uakf$1@dont-email.me>
<6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com>
<vhl090$5ghq$1@dont-email.me>
<w4adnUM659THQqP6nZ2dnZfqnPednZ2d@earthlink.com>
<vhndam$ljks$1@dont-email.me> <871pz4osys.fsf@comcast.net.invalid>
<vhp646$12c7u$1@dont-email.me>
<pgidnQQYp91K_dz6nZ2dnZfqnPqdnZ2d@earthlink.com>
<vhsdhp$1m6qu$2@dont-email.me>
<X4KcnQQzFNko49_6nZ2dnZfqnPWdnZ2d@earthlink.com>
<vhvdmo$2900d$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 24 Nov 2024 15:39:26 +0100 (CET)
Injection-Info: dont-email.me; posting-host="15723be401c4c9ba374de850264661b5";
logging-data="2385147"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/hncFt+ia7tlSCWJe9vMhburAw3qtUpE8="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Ygoe/45gpXvQYd3S7j3r5cgQpTY=
Content-Language: en-GB
In-Reply-To: <vhvdmo$2900d$3@dont-email.me>
View all headers

On 24/11/2024 14:37, Rich wrote:
> 186282@ud0s4.net <186283@ud0s4.net> wrote:
>> Whatever it is, at least use Python if for no other
>> reason than that it's generally comprehensible.
>
> Oh good lord no. The amount for which you hate Perl is the amount that
> I despise Python.
>
I can't say a good word for either, having never written a line in
either, I am disnclined to learn.

--
WOKE is an acronym... Without Originality, Knowledge or Education.

Subject: Re: Joy of this, Joy of that
From: Rich
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Sun, 24 Nov 2024 17:00 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: rich@example.invalid (Rich)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: Sun, 24 Nov 2024 17:00:20 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <vhvm34$2aerk$2@dont-email.me>
References: <vhigot$1uakf$1@dont-email.me> <6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com> <vhl090$5ghq$1@dont-email.me> <w4adnUM659THQqP6nZ2dnZfqnPednZ2d@earthlink.com> <vhndam$ljks$1@dont-email.me> <871pz4osys.fsf@comcast.net.invalid> <vhp646$12c7u$1@dont-email.me> <pgidnQQYp91K_dz6nZ2dnZfqnPqdnZ2d@earthlink.com> <vhsdhp$1m6qu$2@dont-email.me> <X4KcnQQzFNko49_6nZ2dnZfqnPWdnZ2d@earthlink.com> <vhvdmo$2900d$3@dont-email.me> <vhvdqu$28p7r$7@dont-email.me>
Injection-Date: Sun, 24 Nov 2024 18:00:20 +0100 (CET)
Injection-Info: dont-email.me; posting-host="f9f41132f628b1fe2d858245900693aa";
logging-data="2440052"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX184Jq+l2UheJav9g2WK0Eaa"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Cancel-Lock: sha1:0PtgIcziOxelrJj04EH8+cFJM1Y=
View all headers

The Natural Philosopher <tnp@invalid.invalid> wrote:
> On 24/11/2024 14:37, Rich wrote:
>> 186282@ud0s4.net <186283@ud0s4.net> wrote:
>>> Whatever it is, at least use Python if for no other
>>> reason than that it's generally comprehensible.
>>
>> Oh good lord no. The amount for which you hate Perl is the amount that
>> I despise Python.
>>
> I can't say a good word for either, having never written a line in
> either, I am disnclined to learn.

I've written quick scripts (and not so quick scripts for Perl) in both.

I prefer neither, but given a choice between only Perl or Python would
prefer Perl (unless Python had a required library interface available
that Perl did not).

Subject: Re: Joy of this, Joy of that
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Sun, 24 Nov 2024 20:20 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.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: Sun, 24 Nov 2024 20:20:34 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <vi01qi$2cic3$1@dont-email.me>
References: <vhigot$1uakf$1@dont-email.me>
<6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com>
<20241120081039.00006d2a@gmail.com> <vhlium$93kn$1@dont-email.me>
<vhmprp$iaf1$1@dont-email.me> <lq9h4kF2tegU1@mid.individual.net>
<vhpmo6$14s79$1@dont-email.me> <wwva5drk0m1.fsf@LkoBDZeT.terraraq.uk>
<vhptgf$1614q$1@dont-email.me> <Iq40P.70904$EQue.62359@fx13.iad>
<slrnvk1qft.5gg9.candycanearter07@candydeb.host.invalid>
<mcf0P.211278$pZ%.68099@fx16.iad> <vhs153$1k6ft$3@dont-email.me>
<wwvjzcu1chd.fsf@LkoBDZeT.terraraq.uk> <vhtide$1s5d5$8@dont-email.me>
<wwvmshodcjt.fsf@LkoBDZeT.terraraq.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 24 Nov 2024 21:20:34 +0100 (CET)
Injection-Info: dont-email.me; posting-host="27ab7e63bed7df08cdacd32e400e7f6c";
logging-data="2509187"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX184DBqxju88NvgtepIeHCPu"
User-Agent: Pan/0.161 (Chasiv Yar; )
Cancel-Lock: sha1:S5j+oT6hiMBSGoP1XktpsbEI0y0=
View all headers

On Sun, 24 Nov 2024 12:46:46 +0000, Richard Kettlewell wrote:

> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>
>> and that particular case is easy to catch anyway, and glibc does so by
>> default. See <https://manpages.debian.org/3/mallopt.3.en.html>.
>
> Glibc’s double free detection is heuristic, not 100% reliable.

If that were true, the examples on the man page wouldn’t work.

Subject: Re: Joy of this, Joy of that
From: D
Newsgroups: comp.os.linux.misc
Organization: i2pn2 (i2pn.org)
Date: Sun, 24 Nov 2024 21:06 UTC
References: 1 2 3 4 5 6 7 8 9 10 11
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: nospam@example.net (D)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: Sun, 24 Nov 2024 22:06:22 +0100
Organization: i2pn2 (i2pn.org)
Message-ID: <e87749c2-5d25-594c-418f-e9f224b3ea16@example.net>
References: <vhigot$1uakf$1@dont-email.me> <6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com> <vhl090$5ghq$1@dont-email.me> <w4adnUM659THQqP6nZ2dnZfqnPednZ2d@earthlink.com> <vhndam$ljks$1@dont-email.me> <871pz4osys.fsf@comcast.net.invalid> <vhp646$12c7u$1@dont-email.me>
<pgidnQQYp91K_dz6nZ2dnZfqnPqdnZ2d@earthlink.com> <vhsdhp$1m6qu$2@dont-email.me> <X4KcnQQzFNko49_6nZ2dnZfqnPWdnZ2d@earthlink.com> <vhvdmo$2900d$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
Injection-Info: i2pn2.org;
logging-data="3972231"; mail-complaints-to="usenet@i2pn2.org";
posting-account="w/4CleFT0XZ6XfSuRJzIySLIA6ECskkHxKUAYDZM66M";
In-Reply-To: <vhvdmo$2900d$3@dont-email.me>
X-Spam-Checker-Version: SpamAssassin 4.0.0
View all headers

On Sun, 24 Nov 2024, Rich wrote:

> 186282@ud0s4.net <186283@ud0s4.net> wrote:
>> Whatever it is, at least use Python if for no other
>> reason than that it's generally comprehensible.
>
> Oh good lord no. The amount for which you hate Perl is the amount that
> I despise Python.
>

I see no other way to resolve this but for you two to fight to the death.

Subject: Re: Joy of this, Joy of that
From: D
Newsgroups: comp.os.linux.misc
Organization: i2pn2 (i2pn.org)
Date: Sun, 24 Nov 2024 21:07 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: nospam@example.net (D)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: Sun, 24 Nov 2024 22:07:40 +0100
Organization: i2pn2 (i2pn.org)
Message-ID: <1b166410-ecc1-f9e5-7218-cde9618f4686@example.net>
References: <vhigot$1uakf$1@dont-email.me> <6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com> <vhl090$5ghq$1@dont-email.me> <w4adnUM659THQqP6nZ2dnZfqnPednZ2d@earthlink.com> <vhndam$ljks$1@dont-email.me> <871pz4osys.fsf@comcast.net.invalid> <vhp646$12c7u$1@dont-email.me>
<pgidnQQYp91K_dz6nZ2dnZfqnPqdnZ2d@earthlink.com> <vhsdhp$1m6qu$2@dont-email.me> <X4KcnQQzFNko49_6nZ2dnZfqnPWdnZ2d@earthlink.com> <vhvdmo$2900d$3@dont-email.me> <vhvdqu$28p7r$7@dont-email.me> <vhvm34$2aerk$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
Injection-Info: i2pn2.org;
logging-data="3972354"; mail-complaints-to="usenet@i2pn2.org";
posting-account="w/4CleFT0XZ6XfSuRJzIySLIA6ECskkHxKUAYDZM66M";
X-Spam-Checker-Version: SpamAssassin 4.0.0
In-Reply-To: <vhvm34$2aerk$2@dont-email.me>
View all headers

On Sun, 24 Nov 2024, Rich wrote:

> The Natural Philosopher <tnp@invalid.invalid> wrote:
>> On 24/11/2024 14:37, Rich wrote:
>>> 186282@ud0s4.net <186283@ud0s4.net> wrote:
>>>> Whatever it is, at least use Python if for no other
>>>> reason than that it's generally comprehensible.
>>>
>>> Oh good lord no. The amount for which you hate Perl is the amount that
>>> I despise Python.
>>>
>> I can't say a good word for either, having never written a line in
>> either, I am disnclined to learn.
>
> I've written quick scripts (and not so quick scripts for Perl) in both.
>
> I prefer neither, but given a choice between only Perl or Python would
> prefer Perl (unless Python had a required library interface available
> that Perl did not).
>
>

I dabbled a bit in perl out of curiosity and I find the following two
points to be in its favour:

1. Backwards compatibility. Much better than python.
2. The built in documentation.

Subject: Re: Joy of this, Joy of that
From: Pancho
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Sun, 24 Nov 2024 21:19 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: Pancho.Jones@proton.me (Pancho)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: Sun, 24 Nov 2024 21:19:51 +0000
Organization: A noiseless patient Spider
Lines: 115
Message-ID: <vi059n$2cuig$1@dont-email.me>
References: <vhigot$1uakf$1@dont-email.me>
<6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com>
<20241120081039.00006d2a@gmail.com> <vhlium$93kn$1@dont-email.me>
<vhmprp$iaf1$1@dont-email.me>
<LASdnSkA69I3yKL6nZ2dnZfqnPWdnZ2d@earthlink.com>
<vhoeap$r8gq$2@dont-email.me> <vhpmq3$14s79$2@dont-email.me>
<vhq1f7$16bou$1@dont-email.me> <vhqm4g$1aarf$1@dont-email.me>
<vhr2r7$1cdln$1@dont-email.me> <vhr8hh$1ddh7$2@dont-email.me>
<vhr9u1$1dh3s$1@dont-email.me> <vhrbsr$1dqca$2@dont-email.me>
<vhs3ji$1kb5c$1@dont-email.me> <vhtht6$1s5d5$5@dont-email.me>
<vhtplb$1tioh$1@dont-email.me> <vhts55$1tu8n$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 24 Nov 2024 22:19:52 +0100 (CET)
Injection-Info: dont-email.me; posting-host="8cce37f5dee4f992fb90ec878c5ed748";
logging-data="2521680"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX194b28skRmY5LTIB+4O1kqzDq4TBgPeuYQ="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:4zd0s2yFGRoZjbyzyZErsKKPhS8=
Content-Language: en-GB
In-Reply-To: <vhts55$1tu8n$1@dont-email.me>
View all headers

On 11/24/24 00:31, Lawrence D'Oliveiro wrote:
> On Sat, 23 Nov 2024 23:48:59 +0000, Pancho wrote:
>
>> To be honest, I don't have an idea what classes not being the
>> implementers of instance behaviour means. Where is instance behaviour
>> implemented?
>
> From further up: “A behavior is the set of methods used by an object to
> respond to messages”. Since a class itself has no such “behavior”, it
> doesn’t need to be an instance of anything, unlike Python.
>

What?, Classes do have methods, e.g. they should handle a "new" message
to create a new instance object of that class.

In my previous post I didn't understand the meaning of implementation.
Informally I think of implementation as my code, my definition of a
function, as opposed to declaration. For instance I might say a class
implements an interface. However I think the article you cited was using
the word implementation to mean compiler. i.e. implementation of the
Smalltalk language.

From my perspective this is irrelevant, because my understanding of
Smalltalk was conceptual. The Smalltalk-80 Bluebook spoke of classes as
normal objects which had methods, responded to messages. The class which
created instance objects of type class was a metaclass.

The fact that a compiler/interpreter might handle (implementation
detail) all class behaviour, as it does in C++, doesn't matter. It is
helpful to think of classes as objects in their own right.

The problem is that the OO model for C++ is more complex. It is easy to
not be able to see the wood for the tress. That is why I was lucky to
have the Smalltalk conceptual model before being introduced to C++,

>>>> I would say C++ static methods and static variables are a hack.
>>>
>>> They are there to provide access to the innards of a private/protected
>>> class,
>>
>> No, C++ static means class method or class variable.
>
> There are no “class methods” or “class variables” as such in C++: in C
> terms, they have “static linkage”. The “class” part is just a visibility
> restriction.
>

static has many usages in C++. You seem to be confusing the C definition
of a static variable with internal linkage, with the idea of a C++ class
static member variable or method.

>>>> Just as value types are a hack in C#. Things that are sensible for
>>>> performance reasons, but that add complexity.
>>>
>>> Presumably, like Java, these mechanisms are there to avoid the need for
>>> the services of the full language compiler at runtime.
>>>
>> No they are there for performance, because you don't want to have to do
>> a malloc and instance initialisation for every number you use.
>
> Ah, like the distinction between “primitive types” and “reference types”
> in Java.
>

Possibly. Reference types are like pointers. Value types can live only
on the stack.

> Python manages to avoid this arbitrary separation: “int”, “float”, “str”,
> “dict” etc are builtin types, and they are classes almost exactly like
> classes you define yourself; and in particular you can subclass them.
>

In practice I didn't care. Generics solved the main problem of using
value types in container classes, without having to box them.

>>> Python also does multiple inheritance. And it does it quite nicely,
>>> benefiting from lessons learned in earlier attempts at “linearization”
>>> (coming up with a consistent and minimally-surprising method resolution
>>> order across all the base classes).
>>
>> Yeah, we discussed this in the past. I'm totally unconvinced of the
>> desirability of complex multiple inheritance linearization.
>
> It is useful, for example, for creating enumerations of fixed instances of
> some particular base class. You inherit from both your particular base
> class as well as the generic “enum.Enum” base class, to get suitable
> properties of both.
>

Like an interface, IEnumerable (Chsarp), Iterable(Java)? or are you back
to some special use for Enums.

>> I'm actually quite unconvinced by Python.
>
> Python manages to provide a small, powerful language core that includes
> features that, for example, Java and C♯ had to leave out: lexical binding,
> functions and classes as first-class objects, operator overloads,
> arbitrary-precision integers, list comprehensions, dictionary and set
> expressions, descriptors, metaclasses ... this then allows for library
> modules to build on this core to provide powerful facilities in the form
> of “domain-specific (sub)languages” (DSLs) that are specialized to
> particular problem areas.
>

Python is very pretty, the problem is that I tried to write some
programs using it and the libraries were buggy. With CSharp and Java the
standardish libraries seem more reliable.

> For example, you don’t need “generics” or “templates”, à la Java/C++ etc,
> because you can define a “class factory” function that constructs new
> classes at runtime.

Yeah, I find not having explicit types very difficult to handle. Maybe
that is prejudice, maybe not.

Subject: Re: Joy of this, Joy of that
From: Pancho
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Sun, 24 Nov 2024 21:23 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: Pancho.Jones@proton.me (Pancho)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: Sun, 24 Nov 2024 21:23:17 +0000
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <vi05g5$2cuig$2@dont-email.me>
References: <vhigot$1uakf$1@dont-email.me>
<6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com>
<20241120081039.00006d2a@gmail.com> <vhlium$93kn$1@dont-email.me>
<vhmprp$iaf1$1@dont-email.me>
<LASdnSkA69I3yKL6nZ2dnZfqnPWdnZ2d@earthlink.com>
<vhoeap$r8gq$2@dont-email.me> <vhpmq3$14s79$2@dont-email.me>
<vhq1f7$16bou$1@dont-email.me> <vhqm4g$1aarf$1@dont-email.me>
<vhr2r7$1cdln$1@dont-email.me> <vhr8hh$1ddh7$2@dont-email.me>
<vhr9u1$1dh3s$1@dont-email.me> <vhrbsr$1dqca$2@dont-email.me>
<vhs3ji$1kb5c$1@dont-email.me> <vhtht6$1s5d5$5@dont-email.me>
<vhtplb$1tioh$1@dont-email.me> <vhuutu$26l4e$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 24 Nov 2024 22:23:18 +0100 (CET)
Injection-Info: dont-email.me; posting-host="8cce37f5dee4f992fb90ec878c5ed748";
logging-data="2521680"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/a7n3JP1lWmKey63lLv9KEXZuHL4e0n8I="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Wn7kvCnof8Z8koBCQvL5zmv9BHo=
Content-Language: en-GB
In-Reply-To: <vhuutu$26l4e$1@dont-email.me>
View all headers

On 11/24/24 10:25, The Natural Philosopher wrote:

>
> I have already completely lost the plot. And the will to live.
>

I'm just making the point that it easier to understand OO if you start
with a simple model. Just as it is easy to understand aspects of C if
you know an assembler.

It is easier to understand software concepts with baby steps, as opposed
to getting thrown in at the deep end.

Subject: Re: Joy of this, Joy of that
From: Pancho
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Sun, 24 Nov 2024 21:29 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: Pancho.Jones@proton.me (Pancho)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: Sun, 24 Nov 2024 21:29:05 +0000
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <vi05r1$2d9k0$1@dont-email.me>
References: <vhigot$1uakf$1@dont-email.me>
<6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com>
<20241120081039.00006d2a@gmail.com> <vhlium$93kn$1@dont-email.me>
<vhmprp$iaf1$1@dont-email.me>
<LASdnSkA69I3yKL6nZ2dnZfqnPWdnZ2d@earthlink.com>
<vhoeap$r8gq$2@dont-email.me> <vhpmq3$14s79$2@dont-email.me>
<vhq1f7$16bou$1@dont-email.me> <vhqm4g$1aarf$1@dont-email.me>
<vhr2r7$1cdln$1@dont-email.me> <vhr8hh$1ddh7$2@dont-email.me>
<vhr9u1$1dh3s$1@dont-email.me> <vhrbsr$1dqca$2@dont-email.me>
<vhs3ji$1kb5c$1@dont-email.me> <vhtht6$1s5d5$5@dont-email.me>
<vhtplb$1tioh$1@dont-email.me> <lqfq99F2ek8U1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 24 Nov 2024 22:29:05 +0100 (CET)
Injection-Info: dont-email.me; posting-host="8cce37f5dee4f992fb90ec878c5ed748";
logging-data="2532992"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18m69mCl1LlRbk5dejQjBIRWS7uPE23Iks="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:x4CQntQkuUhbPDj3oqpzKCvBHAY=
Content-Language: en-GB
In-Reply-To: <lqfq99F2ek8U1@mid.individual.net>
View all headers

On 11/24/24 05:01, rbowman wrote:

> Using Python means you get uniformity across many disciplines and it's
> good enough for most things. It could have been Perl if it hadn't gotten
> stuck in the tar pits, or Ruby, or Go but from whatever twist of fate
> occurred it was Python.

My niece worked on Python at Twitter. She wasn't complimentary about it
either. She then moved onto Go. But that was doing big web-server stuff.
Large scale Docker setups, maybe Kubernetes.

Subject: Re: Joy of this, Joy of that
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Sun, 24 Nov 2024 22:36 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: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: Sun, 24 Nov 2024 22:36:32 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 109
Message-ID: <vi09pf$2dnuv$1@dont-email.me>
References: <vhigot$1uakf$1@dont-email.me>
<6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com>
<20241120081039.00006d2a@gmail.com> <vhlium$93kn$1@dont-email.me>
<vhmprp$iaf1$1@dont-email.me>
<LASdnSkA69I3yKL6nZ2dnZfqnPWdnZ2d@earthlink.com>
<vhoeap$r8gq$2@dont-email.me> <vhpmq3$14s79$2@dont-email.me>
<vhq1f7$16bou$1@dont-email.me> <vhqm4g$1aarf$1@dont-email.me>
<vhr2r7$1cdln$1@dont-email.me> <vhr8hh$1ddh7$2@dont-email.me>
<vhr9u1$1dh3s$1@dont-email.me> <vhrbsr$1dqca$2@dont-email.me>
<vhs3ji$1kb5c$1@dont-email.me> <vhtht6$1s5d5$5@dont-email.me>
<vhtplb$1tioh$1@dont-email.me> <vhts55$1tu8n$1@dont-email.me>
<vi059n$2cuig$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 24 Nov 2024 23:36:32 +0100 (CET)
Injection-Info: dont-email.me; posting-host="27ab7e63bed7df08cdacd32e400e7f6c";
logging-data="2547679"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/L05AEAc8/HwPTDsgWfL+6"
User-Agent: Pan/0.161 (Chasiv Yar; )
Cancel-Lock: sha1:ER1NNlHsOFoiLUDIR/idXhzrDcA=
View all headers

On Sun, 24 Nov 2024 21:19:51 +0000, Pancho wrote:

> On 11/24/24 00:31, Lawrence D'Oliveiro wrote:
>>
>> On Sat, 23 Nov 2024 23:48:59 +0000, Pancho wrote:
>>
>>> To be honest, I don't have an idea what classes not being the
>>> implementers of instance behaviour means. Where is instance behaviour
>>> implemented?
>>
>> From further up: “A behavior is the set of methods used by an object
>> to respond to messages”. Since a class itself has no such “behavior”,
>> it doesn’t need to be an instance of anything, unlike Python.
>>
> What?, Classes do have methods, e.g. they should handle a "new" message
> to create a new instance object of that class.

Looking again at that draft spec, “new” is handled as a special case.
If you look at the syntax for a class definition, the initializer
(section 3.4.3) is not defined as a method that handles a message
named “new”, it is just an unnamed block.

This is quite different from Python, where “__new__” is a classmethod,
and you can customize class-instantiation behaviour by defining a
custom method by that name.

This on top of the extra possibilities afforded by metaclasses.
Metaclasses are classes (and hence objects) in their own right, and
have their own method/member definitions.

> The fact that a compiler/interpreter might handle (implementation
> detail) all class behaviour, as it does in C++, doesn't matter. It is
> helpful to think of classes as objects in their own right.

Not really. Consider C++, where templates are handled in a separate
language that only exists at compile time, separate from the regular
language code that executes at run time.

In Python, there is no separate language for generics, since classes
(and functions) are objects, and all object construction happens at
run time.

(Code is generated at compile time, of course; but an object consists
of data as well as a pointer to shared code, and the data is
constructed at run time.)

>>> Yeah, we discussed this in the past. I'm totally unconvinced of the
>>> desirability of complex multiple inheritance linearization.
>>
>> It is useful, for example, for creating enumerations of fixed instances
>> of some particular base class. You inherit from both your particular
>> base class as well as the generic “enum.Enum” base class, to get
>> suitable properties of both.
>>
> Like an interface, IEnumerable (Chsarp), Iterable(Java)? or are you back
> to some special use for Enums.

Here’s one example, a decoder for MagicaVoxel files I was playing with
a while back. An enumeration for the available material properties:

class MATT_PROPS(enum.IntEnum) :
PLASTIC = 0
ROUGHNESS = 1
SPECULAR = 2
IOR = 3
ATTEN = 4
POWER = 5
GLOW = 6
ISTOTALPOWER = 7

@property
def has_value(self) :
return \
self != type(self).ISTOTALPOWER
#end has_value

#end MATT_PROPS

used in decoding and extraction of same:

...if chunk.id == b"MATT" :
chunk.assert_no_children()
if len(chunk.content) < 16 :
raise Failure("MATT chunk initial too short")
#end if
matt_id, matt_type, matt_weight, prop_mask = struct.unpack("<IIfI", chunk.content[:16])
props_present = set(celf.MATT_PROPS(i) for i in range(32) if 1 << i & prop_mask != 0)
value_props = list(i for i in sorted(props_present) if i.has_value)
if len(chunk.content) < 16 + len(value_props) * 4 :
raise Failure("MATT chunk rest too short")
#end if
propvalues = struct.unpack("<" + "f" * len(value_props), chunk.content[16:])
props = dict(zip(value_props, propvalues))
for i in props_present :
if not i.has_value :
props[i] = None
#end if
#end for
self.materials.append \
(
celf.Material
(
id = matt_id,
type = celf.MATT_TYPE(matt_type),
weight = matt_weight,
props = props
)
)
#end if

Subject: Re: Joy of this, Joy of that
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Sun, 24 Nov 2024 22:37 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: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: Sun, 24 Nov 2024 22:37:25 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <vi09r5$2dnuv$2@dont-email.me>
References: <vhigot$1uakf$1@dont-email.me>
<6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com>
<20241120081039.00006d2a@gmail.com> <vhlium$93kn$1@dont-email.me>
<vhmprp$iaf1$1@dont-email.me>
<LASdnSkA69I3yKL6nZ2dnZfqnPWdnZ2d@earthlink.com>
<vhoeap$r8gq$2@dont-email.me> <vhpmq3$14s79$2@dont-email.me>
<vhq1f7$16bou$1@dont-email.me> <vhqm4g$1aarf$1@dont-email.me>
<vhr2r7$1cdln$1@dont-email.me> <vhr8hh$1ddh7$2@dont-email.me>
<vhr9u1$1dh3s$1@dont-email.me> <vhrbsr$1dqca$2@dont-email.me>
<vhs3ji$1kb5c$1@dont-email.me> <vhtht6$1s5d5$5@dont-email.me>
<vhtplb$1tioh$1@dont-email.me> <lqfq99F2ek8U1@mid.individual.net>
<vi05r1$2d9k0$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 24 Nov 2024 23:37:25 +0100 (CET)
Injection-Info: dont-email.me; posting-host="27ab7e63bed7df08cdacd32e400e7f6c";
logging-data="2547679"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Z3hHVcU/U1KohXGsi4kLX"
User-Agent: Pan/0.161 (Chasiv Yar; )
Cancel-Lock: sha1:g2b0a42UDB6yiZJoyLDyGKMEj0U=
View all headers

On Sun, 24 Nov 2024 21:29:05 +0000, Pancho wrote:

> My niece worked on Python at Twitter. She wasn't complimentary about it
> either.

What was her previous experience? Not (splutter) PHP, by any chance?

Subject: Re: Joy of this, Joy of that
From: 186282@ud0s4.net
Newsgroups: comp.os.linux.misc
Organization: wokiesux
Date: Mon, 25 Nov 2024 00:35 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!feeder2.eternal-september.org!border-4.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 25 Nov 2024 00:35:58 +0000
Subject: Re: Joy of this, Joy of that
Newsgroups: comp.os.linux.misc
References: <vhigot$1uakf$1@dont-email.me>
<6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com>
<20241120081039.00006d2a@gmail.com> <vhlium$93kn$1@dont-email.me>
<vhmprp$iaf1$1@dont-email.me>
<LASdnSkA69I3yKL6nZ2dnZfqnPWdnZ2d@earthlink.com>
<vhoeap$r8gq$2@dont-email.me> <vhpmq3$14s79$2@dont-email.me>
<vhq1f7$16bou$1@dont-email.me> <vhqm4g$1aarf$1@dont-email.me>
<vhr2r7$1cdln$1@dont-email.me> <vhr8hh$1ddh7$2@dont-email.me>
<vhr9u1$1dh3s$1@dont-email.me> <vhrbsr$1dqca$2@dont-email.me>
<vhs3ji$1kb5c$1@dont-email.me> <vhtht6$1s5d5$5@dont-email.me>
<vhtplb$1tioh$1@dont-email.me> <lqfq99F2ek8U1@mid.individual.net>
From: 186283@ud0s4.net (186282@ud0s4.net)
Organization: wokiesux
Date: Sun, 24 Nov 2024 19:35:57 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <lqfq99F2ek8U1@mid.individual.net>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <qaWcnZSF3q3zW976nZ2dnZfqn_WdnZ2d@earthlink.com>
Lines: 62
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-o7gpo27OiMbG83Ffbey9rRoW43GeaJsgW35xxiEKnrCEdLNswTYNb1BIW3JlSuPEDKyD8cbL7+1Ujn7!NsU+t4fBNpbqIe85CzlYAYBpxIxr90HgOUGsynZl61koWBfteNGD4FQ1LwwT4J+aegUetuELXGVx!oRdcgcRjvD7shAJ3x98h
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
View all headers

On 11/24/24 12:01 AM, rbowman wrote:
> On Sat, 23 Nov 2024 23:48:59 +0000, Pancho wrote:
>
>> I'm actually quite unconvinced by Python.
>
> For many things it provides a convenient level of abstraction if
> performance isn't a major concern. It's not so much the language itself as
> that the language has become very popular and the range of modules has
> greatly expanded.
>
> For example, the Esri Python API makes common GIS manipulations less
> painful than using C++. Similarly if you're into machine learning while
> TensorFlow and PyTorch have C++ bindings almost all tutorials will use
> Python. In data science Python is starting to overtake R and is actually
> faster for some operations. For REST APIs you have flask, django, and
> several other frameworks.
>
> For embedded work as Arm microprocessors have become the norm and SRAM has
> greatly increased a Python interpreter, either MicroPython or
> CircuitPython can be loaded on the device. Again you can work in C++ and
> get greater speed and control but it comes at a cost. Controlling a servo
> with PWM is easy in Python. Doing it in C++ means you need to determine
> the slice and channel for the GPIO pin, decide what to load into the
> counter to get the desired frequency from the 125 MHz clock,determine if
> you need to use the divider for lower frequencies, and make other
> decisions.
>
> Using Python means you get uniformity across many disciplines and it's
> good enough for most things. It could have been Perl if it hadn't gotten
> stuck in the tar pits, or Ruby, or Go but from whatever twist of fate
> occurred it was Python.

For almost anything, it's good enough - or more than
good enough. The large number of libs has left little
beyond its (relatively easy) reach. It's also READABLE,
nothing too mysterious about the syntax or defining/using
vars and such.

Do kinda pref "{ }" or "begin end" over the dangling
depth thing ... get six or eight levels into something
and it's a total bitch to spot what's inside what
without using comments.

However it's NOT as fast as the true compiled langs.
Yea, yea, there's Python compilers - turn it into 'C' -
but with sometimes difficult barriers and the final exe
tends to be pretty fat - VERY VERY fat if you get past
version issues by encapsulating all the needed libs
inside the exe.

In any case, it's become the "new BASIC" for good reasons
and I don't see that being changed anytime soon. It's
in *everything* now from microcontrollers on up.

I never learned it until M$ started sneaking it into
their OS junk. "What's a .py ???". The good side of
that is that it was right near the v2 -> v3 transition
and I decided to learn the 'new and improved'.

Anyway, I do full apps and utils in Python and almost
always use it to proto stuff before re-writing in 'C'
or Pascal.

Subject: Re: Joy of this, Joy of that
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Mon, 25 Nov 2024 00:36 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: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: Mon, 25 Nov 2024 00:36:48 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <vi0gqv$2f1do$4@dont-email.me>
References: <vhigot$1uakf$1@dont-email.me>
<6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com>
<20241120081039.00006d2a@gmail.com> <vhlium$93kn$1@dont-email.me>
<vhmprp$iaf1$1@dont-email.me>
<LASdnSkA69I3yKL6nZ2dnZfqnPWdnZ2d@earthlink.com>
<vhoeap$r8gq$2@dont-email.me> <vhpmq3$14s79$2@dont-email.me>
<vhq1f7$16bou$1@dont-email.me> <vhqm4g$1aarf$1@dont-email.me>
<vhr2r7$1cdln$1@dont-email.me> <vhr8hh$1ddh7$2@dont-email.me>
<vhr9u1$1dh3s$1@dont-email.me> <vhrbsr$1dqca$2@dont-email.me>
<vhs3ji$1kb5c$1@dont-email.me> <vhtht6$1s5d5$5@dont-email.me>
<vhtplb$1tioh$1@dont-email.me> <lqfq99F2ek8U1@mid.individual.net>
<qaWcnZSF3q3zW976nZ2dnZfqn_WdnZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 25 Nov 2024 01:36:48 +0100 (CET)
Injection-Info: dont-email.me; posting-host="382ad7ab0575480e8209ed388edbd402";
logging-data="2590136"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ku8lEYoASzPldR7LJYpv4"
User-Agent: Pan/0.161 (Chasiv Yar; )
Cancel-Lock: sha1:CT0kGiWMwXUtE7cnv9gRMjLzn2Y=
View all headers

On Sun, 24 Nov 2024 19:35:57 -0500, 186282@ud0s4.net wrote:

> Do kinda pref "{ }" or "begin end" over the dangling depth thing ...
> get six or eight levels into something and it's a total bitch to spot
> what's inside what without using comments.

So use the comments. That’s what I do.

Subject: Re: Joy of this, Joy of that
From: rbowman
Newsgroups: comp.os.linux.misc
Date: Mon, 25 Nov 2024 01:43 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!feeder2.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bowman@montana.com (rbowman)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: 25 Nov 2024 01:43:19 GMT
Lines: 30
Message-ID: <lqi31mFdu06U1@mid.individual.net>
References: <vhigot$1uakf$1@dont-email.me>
<6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com>
<20241120081039.00006d2a@gmail.com> <vhlium$93kn$1@dont-email.me>
<vhmprp$iaf1$1@dont-email.me>
<LASdnSkA69I3yKL6nZ2dnZfqnPWdnZ2d@earthlink.com>
<vhoeap$r8gq$2@dont-email.me> <vhpmq3$14s79$2@dont-email.me>
<vhq1f7$16bou$1@dont-email.me> <vhqm4g$1aarf$1@dont-email.me>
<vhr2r7$1cdln$1@dont-email.me> <vhr8hh$1ddh7$2@dont-email.me>
<vhr9u1$1dh3s$1@dont-email.me> <vhrbsr$1dqca$2@dont-email.me>
<vhs3ji$1kb5c$1@dont-email.me> <vhtht6$1s5d5$5@dont-email.me>
<vhtplb$1tioh$1@dont-email.me> <lqfq99F2ek8U1@mid.individual.net>
<vi05r1$2d9k0$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net arr5qspmfcBs9oLEtqThAQlEacJJ1ZX1p6Bh3GmFlVuymK4efo
Cancel-Lock: sha1:Kq8hBYV21MfPohEqWwmYJt5P8x0= sha256:HXYeU/HrPSma4J3QDjRD3Bq4mPeJKVJIq3WY+mlzmR4=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
View all headers

On Sun, 24 Nov 2024 21:29:05 +0000, Pancho wrote:

> On 11/24/24 05:01, rbowman wrote:
>
>> Using Python means you get uniformity across many disciplines and it's
>> good enough for most things. It could have been Perl if it hadn't
>> gotten stuck in the tar pits, or Ruby, or Go but from whatever twist of
>> fate occurred it was Python.
>
> My niece worked on Python at Twitter. She wasn't complimentary about it
> either. She then moved onto Go. But that was doing big web-server stuff.
> Large scale Docker setups, maybe Kubernetes.

Horses for courses. I tasked a new hire with developing an interface to
Spidertracks.

https://www.spidertracks.com/

I gave him the requirements but didn't specify a language so he did it
with Go. No big deal other than having to set up a Go environment on the
build machine. Go is what you would expect from three C programmers who
hate C++ and I mean that it a good way. Not sure why they put the
parameter type after the parameter but I can live with that. It's hanging
in there:

https://www.tiobe.com/tiobe-index/

for whatever worth the index has.

Subject: Re: Joy of this, Joy of that
From: rbowman
Newsgroups: comp.os.linux.misc
Date: Mon, 25 Nov 2024 01:46 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!feeder2.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bowman@montana.com (rbowman)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: 25 Nov 2024 01:46:06 GMT
Lines: 9
Message-ID: <lqi36tFdu06U2@mid.individual.net>
References: <vhigot$1uakf$1@dont-email.me>
<6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com>
<20241120081039.00006d2a@gmail.com> <vhlium$93kn$1@dont-email.me>
<vhmprp$iaf1$1@dont-email.me>
<LASdnSkA69I3yKL6nZ2dnZfqnPWdnZ2d@earthlink.com>
<vhoeap$r8gq$2@dont-email.me> <vhpmq3$14s79$2@dont-email.me>
<vhq1f7$16bou$1@dont-email.me> <vhqm4g$1aarf$1@dont-email.me>
<vhr2r7$1cdln$1@dont-email.me> <vhr8hh$1ddh7$2@dont-email.me>
<vhr9u1$1dh3s$1@dont-email.me> <vhrbsr$1dqca$2@dont-email.me>
<vhs3ji$1kb5c$1@dont-email.me> <vhtht6$1s5d5$5@dont-email.me>
<vhtplb$1tioh$1@dont-email.me> <vhuutu$26l4e$1@dont-email.me>
<vi05g5$2cuig$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net r+4cbQuXJzZneiHtTi1QQQcAGnYTnq2AxmgQmU9r9zemM5WNfp
Cancel-Lock: sha1:KmtxXArAH86AXCNcvQ60kdiKAz4= sha256:A+siKx8eD4WSmS6l+Y8WKL/n8BNvGI/SmYS4g5334qI=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
View all headers

On Sun, 24 Nov 2024 21:23:17 +0000, Pancho wrote:

> I'm just making the point that it easier to understand OO if you start
> with a simple model. Just as it is easy to understand aspects of C if
> you know an assembler.

https://go.dev/doc/faq#Is_Go_an_object-oriented_language

Just saying...

Subject: Re: Joy of this, Joy of that
From: rbowman
Newsgroups: comp.os.linux.misc
Date: Mon, 25 Nov 2024 02:12 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bowman@montana.com (rbowman)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: 25 Nov 2024 02:12:29 GMT
Lines: 25
Message-ID: <lqi4odFdu06U3@mid.individual.net>
References: <vhigot$1uakf$1@dont-email.me>
<6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com>
<vhl090$5ghq$1@dont-email.me>
<w4adnUM659THQqP6nZ2dnZfqnPednZ2d@earthlink.com>
<vhndam$ljks$1@dont-email.me> <871pz4osys.fsf@comcast.net.invalid>
<vhp646$12c7u$1@dont-email.me>
<pgidnQQYp91K_dz6nZ2dnZfqnPqdnZ2d@earthlink.com>
<vhsdhp$1m6qu$2@dont-email.me>
<X4KcnQQzFNko49_6nZ2dnZfqnPWdnZ2d@earthlink.com>
<vhvdmo$2900d$3@dont-email.me> <vhvdqu$28p7r$7@dont-email.me>
<vhvm34$2aerk$2@dont-email.me>
<1b166410-ecc1-f9e5-7218-cde9618f4686@example.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 2PWb8aSNBWJVjF3WI11JAQRFfkGaPBKRyozCVnHDlpq5z1+haT
Cancel-Lock: sha1:r/4wLoIEquBDLCsFu9HyI63R6uc= sha256:+NCHotPMOl4eQZI+AGCCCro9ljkV34FcGUZMfqz/EQM=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
View all headers

On Sun, 24 Nov 2024 22:07:40 +0100, D wrote:

> I dabbled a bit in perl out of curiosity and I find the following two
> points to be in its favour:
>
> 1. Backwards compatibility. Much better than python.

Well, that's true. Looking over at the bookshelf I see 'Programming the
Perl DBI' from 2000. It probably works just as well in 5.40.0 as it did in
5.6.0.

https://www.oreilly.com/library/view/programming-the-perl/1565926994/

There isn't a newer version. That's remarkable for close to 25 years. Most
of my other books from 2000 are suitable for propping up mismatched table
legs.

I did appreciate the concept of a uniform DBI with specific DBDs in the
back end.

> 2. The built in documentation.

Python offers a lot of built in documentation, assuming the modules follow
the PEP guidelines.

Subject: Re: Joy of this, Joy of that
From: rbowman
Newsgroups: comp.os.linux.misc
Date: Mon, 25 Nov 2024 02:41 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!feeder2.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bowman@montana.com (rbowman)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: 25 Nov 2024 02:41:52 GMT
Lines: 17
Message-ID: <lqi6fgFdu06U4@mid.individual.net>
References: <vhigot$1uakf$1@dont-email.me>
<6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com>
<20241120081039.00006d2a@gmail.com> <vhlium$93kn$1@dont-email.me>
<vhmprp$iaf1$1@dont-email.me>
<LASdnSkA69I3yKL6nZ2dnZfqnPWdnZ2d@earthlink.com>
<vhoeap$r8gq$2@dont-email.me> <vhpmq3$14s79$2@dont-email.me>
<vhq1f7$16bou$1@dont-email.me> <vhqm4g$1aarf$1@dont-email.me>
<vhr2r7$1cdln$1@dont-email.me> <vhr8hh$1ddh7$2@dont-email.me>
<vhr9u1$1dh3s$1@dont-email.me> <vhrbsr$1dqca$2@dont-email.me>
<vhs3ji$1kb5c$1@dont-email.me> <vhtht6$1s5d5$5@dont-email.me>
<vhtplb$1tioh$1@dont-email.me> <lqfq99F2ek8U1@mid.individual.net>
<qaWcnZSF3q3zW976nZ2dnZfqn_WdnZ2d@earthlink.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net oNTf+gUtkp9J3ev6og6MkA2nwSVS/GHMzT8/q2J4azL15AzCiR
Cancel-Lock: sha1:ipSVP2/al2dbT2emBbQxJBu42og= sha256:2mogOGiD3GhIrCulVaMEkRHLGWsOQPvoKuQZnXR+zSE=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
View all headers

On Sun, 24 Nov 2024 19:35:57 -0500, 186282@ud0s4.net wrote:

> I never learned it until M$ started sneaking it into their OS junk.
> "What's a .py ???". The good side of that is that it was right near
> the v2 -> v3 transition and I decided to learn the 'new and
> improved'.

Good timing. Esri's ArcPy up until Esri 11 was 2.7 so I stayed with it for
non-Esri scripts. The transition from 10.8 to 11 was bloody, not only for
going to Python 3.8. Being the 500 lb. gorilla in the GIS field they could
say "Yeah, this is going to break a lot of stuff you've been doing for
years. Suck it up." Like Windows 10, Esri 10.8 went on extended life
support.

I don't think it was a giant conspiracy but several different applications
I dealt with went from 10.x to 11.x about the same time leading to some
confusion. "Which 11 are we talking about?"

Subject: Re: Joy of this, Joy of that
From: candycanearter07
Newsgroups: comp.os.linux.misc
Organization: the-candyden-of-code
Date: Mon, 25 Nov 2024 04:40 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: candycanearter07@candycanearter07.nomail.afraid (candycanearter07)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: Mon, 25 Nov 2024 04:40:03 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 38
Message-ID: <slrnvk7vdh.32tsq.candycanearter07@candydeb.host.invalid>
References: <vhigot$1uakf$1@dont-email.me>
<6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com>
<20241120081039.00006d2a@gmail.com> <vhlium$93kn$1@dont-email.me>
<vhmprp$iaf1$1@dont-email.me> <lq9h4kF2tegU1@mid.individual.net>
<vhpmo6$14s79$1@dont-email.me> <wwva5drk0m1.fsf@LkoBDZeT.terraraq.uk>
<vhptgf$1614q$1@dont-email.me> <Iq40P.70904$EQue.62359@fx13.iad>
<vhqr9n$1b2t7$8@dont-email.me> <rcf0P.211280$pZ%.136218@fx16.iad>
<vhs16a$1k6ft$4@dont-email.me> <URp0P.4720$BuL8.1096@fx03.iad>
<vhti42$1s5d5$7@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 25 Nov 2024 05:40:03 +0100 (CET)
Injection-Info: dont-email.me; posting-host="d26c70e7f62be0b914e96dff17e9d8d8";
logging-data="2777168"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/MiWqOWkA7S/CrS6fD6KnjxiChTfcsZnEOY3ZFUF98ug=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:gVRUKUyQI2YXAHQktQt1i11SxTc=
X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]%
b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx
`~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e
ZrQsWJ >|l^I_[pbsIqwoz.WGA]<D
View all headers

Lawrence D'Oliveiro <ldo@nz.invalid> wrote at 21:40 this Saturday (GMT):
> On Sat, 23 Nov 2024 19:16:04 GMT, Charlie Gibbs wrote:
>
>> On 2024-11-23, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>>
>>> On Sat, 23 Nov 2024 07:09:11 GMT, Charlie Gibbs wrote:
>>>
>>>> On 2024-11-22, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>>>>
>>>>> On Fri, 22 Nov 2024 18:53:28 GMT, Charlie Gibbs wrote:
>>>>>
>>>>>> All my programs contain a routine called quit_cleanup(); it takes a
>>>>>> single argument, which is either an error message or NULL.
>>>>>> It frees all allocated memory, closes any open files, etc.
>>>>>
>>>>> But all that is unnecessary if your program is terminating anyway.
>>>>
>>>> Perhaps, but I'm a belt-and-suspenders guy - I like to explicitly free
>>>> everything come hell or high water.
>>>
>>> That actually slows down program termination.
>>
>> The microsecond or two that is wasted is far less than the debugging
>> time needed when a shortcut goes wrong.
>
> Actually, thinking about it, there are some things -- shared memory
> sections come to mind -- that are not automatically freed when a process
> terminates. But everything else -- memory, open files, network connections
> -- will go away automatically.
>
> If you have those persistent things that you want to clean up, your
> technique won’t be reliable anyway.

Does it get freed up when the other processes that have it open also
close it, or is it stuck until shutdown?
--
user <candycane> is generated from /dev/urandom

Subject: Re: Joy of this, Joy of that
From: 186282@ud0s4.net
Newsgroups: comp.os.linux.misc
Organization: wokiesux
Date: Mon, 25 Nov 2024 06:41 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!feeder2.eternal-september.org!border-4.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-3.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 25 Nov 2024 06:41:07 +0000
Subject: Re: Joy of this, Joy of that
Newsgroups: comp.os.linux.misc
References: <vhigot$1uakf$1@dont-email.me>
<6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com>
<20241120081039.00006d2a@gmail.com> <vhlium$93kn$1@dont-email.me>
<vhmprp$iaf1$1@dont-email.me>
<LASdnSkA69I3yKL6nZ2dnZfqnPWdnZ2d@earthlink.com>
<vhoeap$r8gq$2@dont-email.me> <vhpmq3$14s79$2@dont-email.me>
<vhq1f7$16bou$1@dont-email.me> <vhqm4g$1aarf$1@dont-email.me>
<vhr2r7$1cdln$1@dont-email.me> <vhr8hh$1ddh7$2@dont-email.me>
<vhr9u1$1dh3s$1@dont-email.me> <vhrbsr$1dqca$2@dont-email.me>
<vhs3ji$1kb5c$1@dont-email.me> <vhtht6$1s5d5$5@dont-email.me>
<vhtplb$1tioh$1@dont-email.me> <lqfq99F2ek8U1@mid.individual.net>
<qaWcnZSF3q3zW976nZ2dnZfqn_WdnZ2d@earthlink.com>
<vi0gqv$2f1do$4@dont-email.me>
From: 186283@ud0s4.net (186282@ud0s4.net)
Organization: wokiesux
Date: Mon, 25 Nov 2024 01:41:07 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <vi0gqv$2f1do$4@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <wfCdnZC3ltuegdn6nZ2dnZfqnPcAAAAA@earthlink.com>
Lines: 13
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-OULyh503dhwN3Lb8mSfAmnAgwuPKGROKs6Spm51K75XrRwttWZBGPZrOLvr6pFYK5IgJMKGzEtIuamp!z3GGZzX19fleKdTZyBBKqOISFxYxjig8iQ51X1Wtgw8OkWjaJm3Mob+kQ3azPOXCtpFtalUeG+Gf!MXe3mOd7vn/Ab+7MwqtZ
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
View all headers

On 11/24/24 7:36 PM, Lawrence D'Oliveiro wrote:
> On Sun, 24 Nov 2024 19:35:57 -0500, 186282@ud0s4.net wrote:
>
>> Do kinda pref "{ }" or "begin end" over the dangling depth thing ...
>> get six or eight levels into something and it's a total bitch to spot
>> what's inside what without using comments.
>
> So use the comments. That’s what I do.

Only good way ...

Not a killer, but kinda annoying. The eye doesn't
spot indents nearly was well as hard delimiters.

Pages:12345678910111213141516171819202122232425262728293031323334

rocksolid light 0.9.8
clearnet tor