Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #162: bugs in the RAID


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: 186282@ud0s4.net
Newsgroups: comp.os.linux.misc
Organization: wokiesux
Date: Tue, 26 Nov 2024 02:50 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!feeder2.eternal-september.org!border-3.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-4.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 26 Nov 2024 02:50:48 +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>
<wfCdnZC3ltuegdn6nZ2dnZfqnPcAAAAA@earthlink.com>
<vi16i7$2lna0$1@dont-email.me>
From: 186283@ud0s4.net (186282@ud0s4.net)
Organization: wokiesux
Date: Mon, 25 Nov 2024 21:50:48 -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: <vi16i7$2lna0$1@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <pfCcnTjSdugVqtj6nZ2dnZfqn_UAAAAA@earthlink.com>
Lines: 13
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-Ufh3uSDGBIa4wAuBDskhNyEbVTHggydUB3rlRavVfdTB3plD/6QntZwjXxAN3D6bIUvzh1/T0VtNrXA!jpNonmDPJDxn02B+8XAwlr1PCrmQdzHXmq9Vn//jNvnc5990Fe7PI6ion1TOsxL2FCB/2krpu1gf!FZtKwin6KKFrsMHd6cxu
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/25/24 1:47 AM, Lawrence D'Oliveiro wrote:
> On Mon, 25 Nov 2024 01:41:07 -0500, 186282@ud0s4.net wrote:
>
>> The eye doesn't spot indents nearly was well as hard delimiters.
>
> I use both.

Me too ... but I tend to use only 2-space indents
so complex nestings won't run off the edge of the
page ...

Subject: Re: Joy of this, Joy of that
From: 186282@ud0s4.net
Newsgroups: comp.os.linux.misc
Organization: wokiesux
Date: Tue, 26 Nov 2024 02:58 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!feeder2.eternal-september.org!border-2.nntp.ord.giganews.com!border-3.nntp.ord.giganews.com!nntp.giganews.com!local-4.nntp.ord.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: Tue, 26 Nov 2024 02:58:52 +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>
<wfCdnZC3ltuegdn6nZ2dnZfqnPcAAAAA@earthlink.com>
<e154b857-0230-db09-669d-4d4e33aaee03@example.net>
From: 186283@ud0s4.net (186282@ud0s4.net)
Organization: wokiesux
Date: Mon, 25 Nov 2024 21:58:51 -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: <e154b857-0230-db09-669d-4d4e33aaee03@example.net>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <FeScnawtnN_xpNj6nZ2dnZfqn_udnZ2d@earthlink.com>
Lines: 35
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-WI8+XDvkZpd0LYBOe4sTpAWM4o6ONi/FbAGDEb8VTpCff++SgHfBj8qLkn8BOHeOgdv7IKWKNDeDCr3!zSyG70ZPs4FPv39IyoxoRBC5jv4NzgXlBcjaV0QeybMxVSsrramd7QcKU2au+AdFFslvgVAQH05N!LpaMpDvgNppHTbnk8B7Z
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/25/24 4:56 AM, D wrote:
>
>
> On Mon, 25 Nov 2024, 186282@ud0s4.net wrote:
>
>> 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.
>>
>
> You can have indents _and_ delimiters for the ultimate in eye spotting
> capability! ;)

As I said to Larry, I almost always use just 2-space
indents so deeply-nested stuff doesn't tend to run
off the page margin. Object langs make this even worse
with all the something.something.something.something
sorts of lines.

SOME of the IDEs for Python KINDA help, can spot
nestings fairly well, but I mostly just use nano
in one terminal and do test runs from another.
Something like PyCharm or Visual are kinda overkill
most of the time.

Subject: Re: Joy of this, Joy of that
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Tue, 26 Nov 2024 03:00 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: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: Tue, 26 Nov 2024 03:00:03 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <vi3djj$35v6f$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>
<qaWcnZSF3q3zW976nZ2dnZfqn_WdnZ2d@earthlink.com>
<vi0gqv$2f1do$4@dont-email.me>
<wfCdnZC3ltuegdn6nZ2dnZfqnPcAAAAA@earthlink.com>
<vi16i7$2lna0$1@dont-email.me>
<pfCcnTjSdugVqtj6nZ2dnZfqn_UAAAAA@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 26 Nov 2024 04:00:04 +0100 (CET)
Injection-Info: dont-email.me; posting-host="884e8e3d13bad04345a336fccab9cba8";
logging-data="3341519"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19LTmZdFLSY6knVSIal/GAx"
User-Agent: Pan/0.161 (Chasiv Yar; )
Cancel-Lock: sha1:AHdMhv9WrB3Z+/jTGz+iTjlgSK0=
View all headers

On Mon, 25 Nov 2024 21:50:48 -0500, 186282@ud0s4.net wrote:

> ... I tend to use only 2-space indents so complex nestings
> won't run off the edge of the page ...

I typically set the window width in my editor to about 100 columns.

Subject: Re: Joy of this, Joy of that
From: 186282@ud0s4.net
Newsgroups: comp.os.linux.misc
Organization: wokiesux
Date: Tue, 26 Nov 2024 03:59 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!feeder2.eternal-september.org!border-1.nntp.ord.giganews.com!nntp.giganews.com!local-1.nntp.ord.giganews.com!Xl.tags.giganews.com!local-4.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 26 Nov 2024 03:59:30 +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> <vhuutu$26l4e$1@dont-email.me>
<vi05g5$2cuig$2@dont-email.me> <lqi36tFdu06U2@mid.individual.net>
<A0Wdndoii-yGt9n6nZ2dnZfqn_idnZ2d@earthlink.com>
<wwvh67vlm0j.fsf@LkoBDZeT.terraraq.uk>
From: 186283@ud0s4.net (186282@ud0s4.net)
Organization: wokiesux
Date: Mon, 25 Nov 2024 22:59:29 -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: <wwvh67vlm0j.fsf@LkoBDZeT.terraraq.uk>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <_YOcnXSM0Is_2tj6nZ2dnZfqnPednZ2d@earthlink.com>
Lines: 63
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-2s216QlSqYR9XoZKKlD3sOCyy43PCWOwj9jRMIozpJnHfJKmlmhcL/piZRtwGYzhJFkH7SvPwjvjdB3!jcLOG5/mDwe0fXz9MKV6u0NeZLYNrCTIY+BZPSQ9lgSucNQIVGu3YAYMKhifOTVhWdmN/HeR4MGI!xEej3rEMuLmIE+2Lr23G
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/25/24 4:07 AM, Richard Kettlewell wrote:
> "186282@ud0s4.net" <186283@ud0s4.net> writes:
>> Note though ... almost NO compu-geeks these days
>> know ASM. As such they will not be enlightened
>> about 'C' in that fashion. Today's geeks mostly
>> start with Python and MIGHT go a little further,
>> likely Rust.
>>
>> Just sayin'
>>
>> Things changed between 1984 and 2024.
>>
>> We Old Guys can kinda look at 'C' and see
>> the ASM it's going to become. Later gens
>> do not.
>
> It’s a common mental model for C, but it’s not accurate. The language
> spec leaves an awful lot of wiggle room for the generated code to
> diverge from the “I can see the assembler” model and compilers take full
> advantage of it.
>
> A simple example, based on a historical Linux kernel vulnerability
> (CVE-2009-1897):
>
> int f(int *xp) {
> int x = *xp;
> if(!xp)
> return 0;
> return x;
> }
>
> In the “assembler” model it would compile to something like this:
>
> mov eax,dword ptr [rdi]
> cmp rdi,0
> jne L1
> mov eax,0
> L1:
> ret
>
> In fact at -O2 the test on xp is optimized out:
>
> mov eax, dword ptr [rdi]
> ret
>
> https://godbolt.org/z/caKeTMTxf to play further.
>

Heh ... much of my 'C' looks like the top example, all
straight-forward and readable. As I said somewhere, 'C'
was the neat-o new lang back when I got started in things
so I strongly trend towards the K&R look and feel even now.
SO easy to write incomprehensible 'C' !

I agree that the optimization tech has become VERY good
these days. That final example shows how tight that
particular bit CAN be made. How the compiler figures
that out - NO idea ! Messing with microcontrollers
can be helpful in teaching how to shrink ASM - ya always
wanna save a few bytes, a few cycles.

"Tight memory" means "Only four gigabytes" to the
Gen-Z/A2 crowd :-)

Subject: Re: Joy of this, Joy of that
From: rbowman
Newsgroups: comp.os.linux.misc
Date: Tue, 26 Nov 2024 04:03 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!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: 26 Nov 2024 04:03:21 GMT
Lines: 21
Message-ID: <lqkvk8Frlb7U1@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>
<vi0gqv$2f1do$4@dont-email.me>
<wfCdnZC3ltuegdn6nZ2dnZfqnPcAAAAA@earthlink.com>
<e154b857-0230-db09-669d-4d4e33aaee03@example.net>
<FeScnawtnN_xpNj6nZ2dnZfqn_udnZ2d@earthlink.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net VsL1fIImxH3tBL4eVEV7Yw9OvzTtx6ck/7IFrilQSGZEZZDhrs
Cancel-Lock: sha1:suKyqacx2/J1HQvLsZ+7345J9Zc= sha256:9qlGrGPyrl7b4OHCdk4PbBSxibZtTw5PlWM1bZ6tcEU=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
View all headers

On Mon, 25 Nov 2024 21:58:51 -0500, 186282@ud0s4.net wrote:

> SOME of the IDEs for Python KINDA help, can spot nestings fairly
> well, but I mostly just use nano in one terminal and do test runs
> from another. Something like PyCharm or Visual are kinda overkill
> most of the time.

It can't fix really mangled code but I like to run ruff to neaten up .py
files, 'ruff check' for errors and 'ruff format' to reformat. It's a
standalone or there is a VS Code extension.

Like black it is opinionated. It's configurable but the default is fine
for me. I haven't written enough Python code to develop a lot of personal
preferences like I have for C. For larger projects ruff's claim to fame is
it's fast being written in rust rather than Python like many of the
linters.

VS Code is overkill and I'm more likely to use vim for one or two Python
files but I've gotten used to using the Code extensions for the
microprocessors I play with so I tend to use it for most things. Anyway
with the vim extension the editor feels like vim.

Subject: Re: Joy of this, Joy of that
From: rbowman
Newsgroups: comp.os.linux.misc
Date: Tue, 26 Nov 2024 04:43 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!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: 26 Nov 2024 04:43:47 GMT
Lines: 39
Message-ID: <lql202FsdjpU1@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> <lqi36tFdu06U2@mid.individual.net>
<A0Wdndoii-yGt9n6nZ2dnZfqn_idnZ2d@earthlink.com>
<wwvh67vlm0j.fsf@LkoBDZeT.terraraq.uk>
<_YOcnXSM0Is_2tj6nZ2dnZfqnPednZ2d@earthlink.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net MadNgP1OwfcJ1ygMRNqIyw6nUcmcyzs0lgJfPtH2Jwjoca92Uv
Cancel-Lock: sha1:5qkK3rPrCcpRy0e/xz8qry41i3g= sha256:dyWBOdcGebfSJzRD7P2G2Smfg3OaP9nf+pue/bdLzLs=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
View all headers

On Mon, 25 Nov 2024 22:59:29 -0500, 186282@ud0s4.net wrote:

> Heh ... much of my 'C' looks like the top example, all
> straight-forward and readable. As I said somewhere, 'C' was the
> neat-o new lang back when I got started in things so I strongly trend
> towards the K&R look and feel even now.
> SO easy to write incomprehensible 'C' !

Most of them have been 'fixed' but I'm sure there are K&R style
definitions lurking someplace.

#include "stdio.h"

int add_stuff(a, b, c)
int a;
int b;
int c;
{ return a + b +c;
}

int main(void)
{ printf("the sum is %d\n", add_stuff(1, 4, 6));
return 0;
}

still works with gcc 11.4 although with std=c2x it warns

junk.c: In function ‘add_stuff’:
junk.c:3:5: warning: old-style function definition [-Wold-style-
definition]
3 | int add_stuff(a, b, c)
| ^~~~~~~~~

I don't know if gcc will ever default to whining about them. That's
staying power -- 46 years and cointing.

Subject: Re: Joy of this, Joy of that
From: 186282@ud0s4.net
Newsgroups: comp.os.linux.misc
Organization: wokiesux
Date: Tue, 26 Nov 2024 04:58 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-2.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: Tue, 26 Nov 2024 04:58:24 +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> <vhuutu$26l4e$1@dont-email.me>
<oeCdnWjai4D7tdn6nZ2dnZfqnPWdnZ2d@earthlink.com>
<lqk2vbFnkl9U2@mid.individual.net>
From: 186283@ud0s4.net (186282@ud0s4.net)
Organization: wokiesux
Date: Mon, 25 Nov 2024 23:58:24 -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: <lqk2vbFnkl9U2@mid.individual.net>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <1QmdnVrT0_DtyNj6nZ2dnZfqn_adnZ2d@earthlink.com>
Lines: 34
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-6smA4VlRSZbxJAX2uPP9C8sVQtl1RKrTtYc8s7gJJIVSt+FI2TEeaMDdi0t9AWjhIERsUPZG2is5WW4!igRoYtgmp5DUjnElZak+JHSA6CrXEQEEZyaLbBZfVQrUyAZMd0x/Qddyt0U0+m1RgmUIkQxzWtgF!zd/my6Cj3lyI5byfun+F
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/25/24 2:54 PM, rbowman wrote:
> On Mon, 25 Nov 2024 02:33:32 -0500, 186282@ud0s4.net wrote:
>
>> Was a strict 'C'/Pascal guy for a long time - but now I always at
>> least proto in Python. For many apps where speed isn't paramount just
>> LEAVE it in Python.
>
> https://blog.miguelgrinberg.com/post/is-python-really-that-slow
>
> Simplistic but I found the comparisons of the different Python 3 versions
> interesting. For a while it was slower than 2.7, not a good thing, but
> 3.11 caught up. I don't know why the bubble sort regressed.
>
> PyPy looks promising. I don't know why they were able to implement the JIT
> that is hanging fire in CPython.

PyPy IS snappier ... though not every line. I also
worry about potential little incompatibilities with
the "real" cpython implementation.

On the plus, PyPy has been around long enough so I don't
think it'll just stall and then go away. It's "safe" to
develop in.

We've yet to see what cpython4 will be like. I think
'performance' has been a major goal. PyPy shamed them :-)

As for JIT compilation, well, cpython went with the
model it had, that it knew. Human nature. BOTH are
good for most apps - unless you really NEED the speed.

As for 'regression' - probably the results of de-bugging
and explosion-proofing. 'Safety' can use up a lot of code.

Subject: Re: Joy of this, Joy of that
From: Rich
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Tue, 26 Nov 2024 05:29 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: rich@example.invalid (Rich)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: Tue, 26 Nov 2024 05:29:52 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 73
Message-ID: <vi3mcg$3asln$1@dont-email.me>
References: <vhigot$1uakf$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> <lqi36tFdu06U2@mid.individual.net> <A0Wdndoii-yGt9n6nZ2dnZfqn_idnZ2d@earthlink.com> <wwvh67vlm0j.fsf@LkoBDZeT.terraraq.uk> <_YOcnXSM0Is_2tj6nZ2dnZfqnPednZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 26 Nov 2024 06:29:53 +0100 (CET)
Injection-Info: dont-email.me; posting-host="cb4809d5ed7560ddd452bbde626f57e1";
logging-data="3502775"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+/foSGwW/OOXD8kR54S+cn"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Cancel-Lock: sha1:U/lfAk75+GSGI94ixubdnSTeKI4=
View all headers

186282@ud0s4.net <186283@ud0s4.net> wrote:
> On 11/25/24 4:07 AM, Richard Kettlewell wrote:
>> "186282@ud0s4.net" <186283@ud0s4.net> writes:
>>> Note though ... almost NO compu-geeks these days
>>> know ASM. As such they will not be enlightened
>>> about 'C' in that fashion. Today's geeks mostly
>>> start with Python and MIGHT go a little further,
>>> likely Rust.
>>>
>>> Just sayin'
>>>
>>> Things changed between 1984 and 2024.
>>>
>>> We Old Guys can kinda look at 'C' and see
>>> the ASM it's going to become. Later gens
>>> do not.
>>
>> It’s a common mental model for C, but it’s not accurate. The language
>> spec leaves an awful lot of wiggle room for the generated code to
>> diverge from the “I can see the assembler” model and compilers take full
>> advantage of it.
>>
>> A simple example, based on a historical Linux kernel vulnerability
>> (CVE-2009-1897):
>>
>> int f(int *xp) {
>> int x = *xp;
>> if(!xp)
>> return 0;
>> return x;
>> }
>>
>> In the “assembler” model it would compile to something like this:
>>
>> mov eax,dword ptr [rdi]
>> cmp rdi,0
>> jne L1
>> mov eax,0
>> L1:
>> ret
>>
>> In fact at -O2 the test on xp is optimized out:
>>
>> mov eax, dword ptr [rdi]
>> ret
>>
>> https://godbolt.org/z/caKeTMTxf to play further.
>>
> ...
> That final example shows how tight that particular bit CAN be made.
> How the compiler figures that out - NO idea !

Did you miss the forest for the trees. The final example is incorrect
based upon the plain meaning (albeit incorrect) of the input C source.

The check for a null "xp" value that is present in the C code has
disappeared in the output Assembly. The f() function has become
f(int *xp) { return *xp; }. Zero will only return from it when what xp
points at contains zero.

Granted, the C code is also wrong, in that "xp" is dereferenced before
it is checked to see if is null.

How the compiler 'figure[ed] that out' is that the C standard says
dereferencing a null pointer is undefined. So the compiler writers
decided that if the author wrote the dereference, they were also
asserting that "xp" would never be null at that point in their code.
Therefore there was no need to check for "xp" being null on the next
line, as it can't be null there, because the programmer already said it
was not null by dereferencing it on the prior line (because the
programmer should know not to do that). And the optimizer removed the
entire if statement as dead code that can never execute.

Subject: Re: Joy of this, Joy of that
From: Charlie Gibbs
Newsgroups: comp.os.linux.misc
Date: Tue, 26 Nov 2024 05:57 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!feeder2.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx16.iad.POSTED!not-for-mail
Newsgroups: comp.os.linux.misc
From: cgibbs@kltpzyxm.invalid (Charlie Gibbs)
Subject: Re: Joy of this, Joy of that
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> <lqi36tFdu06U2@mid.individual.net>
<A0Wdndoii-yGt9n6nZ2dnZfqn_idnZ2d@earthlink.com>
<wwvh67vlm0j.fsf@LkoBDZeT.terraraq.uk>
<_YOcnXSM0Is_2tj6nZ2dnZfqnPednZ2d@earthlink.com>
<lql202FsdjpU1@mid.individual.net>
User-Agent: slrn/1.0.3 (Linux)
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 63
Message-ID: <hrd1P.242255$pZ%.81893@fx16.iad>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Tue, 26 Nov 2024 05:57:33 UTC
Date: Tue, 26 Nov 2024 05:57:33 GMT
X-Received-Bytes: 3359
View all headers

On 2024-11-26, rbowman <bowman@montana.com> wrote:

> On Mon, 25 Nov 2024 22:59:29 -0500, 186282@ud0s4.net wrote:
>
>> Heh ... much of my 'C' looks like the top example, all
>> straight-forward and readable. As I said somewhere, 'C' was the
>> neat-o new lang back when I got started in things so I strongly trend
>> towards the K&R look and feel even now.
>> SO easy to write incomprehensible 'C' !
>
> Most of them have been 'fixed' but I'm sure there are K&R style
> definitions lurking someplace.
>
> #include "stdio.h"
>
> int add_stuff(a, b, c)
> int a;
> int b;
> int c;
> {
> return a + b +c;
> }
>
> int main(void)
> {
> printf("the sum is %d\n", add_stuff(1, 4, 6));
> return 0;
> }
>
>
> still works with gcc 11.4 although with std=c2x it warns
>
> junk.c: In function ‘add_stuff’:
> junk.c:3:5: warning: old-style function definition [-Wold-style-
> definition]
> 3 | int add_stuff(a, b, c)
> | ^~~~~~~~~
>
>
> I don't know if gcc will ever default to whining about them. That's
> staying power -- 46 years and cointing.

I wouldn't be surprised if it does soon - after all, it whines
about just about everything else these days. Each new version
spits out tons of new warnings, and I go over my code and get
rid of every one (sometimes correcting questionable code in the
process). And then I started compiling the Windows version of
my stuff with MinGW, and the process began anew.

As for old-style function declarations, my code still contains
my solution that maintains compatibility with the old K&R style:

#ifdef PROTOTYPE
int foo(int bar, char *baz)
#else
int foo(bar, baz) int bar; char *baz;
#endif

--
/~\ Charlie Gibbs | Growth for the sake of
\ / <cgibbs@kltpzyxm.invalid> | growth is the ideology
X I'm really at ac.dekanfrus | of the cancer cell.
/ \ if you read it the right way. | -- Edward Abbey

Subject: Re: Joy of this, Joy of that
From: Richard Kettlewell
Newsgroups: comp.os.linux.misc
Organization: terraraq NNTP server
Date: Tue, 26 Nov 2024 08:32 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!nntp-feed.chiark.greenend.org.uk!ewrotcd!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: Tue, 26 Nov 2024 08:32:32 +0000
Organization: terraraq NNTP server
Message-ID: <wwviksav1i7.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>
<wwvmshodcjt.fsf@LkoBDZeT.terraraq.uk> <vi01qi$2cic3$1@dont-email.me>
<wwvmshnlmhm.fsf@LkoBDZeT.terraraq.uk> <vi2rat$318ah$4@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="521"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:+ayN31tHgI+hBjNIVJb4DDYjH/k=
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 Mon, 25 Nov 2024 08:57:09 +0000, Richard Kettlewell wrote:
>> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>>> 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.
>>
>> (It’s documented as heuristic in the Glibc internals documentation and a
>> glance at the implementation does seem to agree with that.)
>>
>>> If that were true, the examples on the man page wouldn’t work.
>>
>> No, that doesn’t follow. “Not 100% reliable” doesn’t mean specific
>> examples don’t work.
>
> Why not? The examples show that freeing the same pointer twice can be
> detected reliably.

They do no such thing. They show that one very simple usage pattern is
detected. They tell you nothing about the ability to detect double frees
in a more complex system.

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

Subject: Re: Joy of this, Joy of that
From: rbowman
Newsgroups: comp.os.linux.misc
Date: Tue, 26 Nov 2024 08:49 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!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: 26 Nov 2024 08:49:06 GMT
Lines: 15
Message-ID: <lqlgc2Fu455U2@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> <lqi36tFdu06U2@mid.individual.net>
<A0Wdndoii-yGt9n6nZ2dnZfqn_idnZ2d@earthlink.com>
<wwvh67vlm0j.fsf@LkoBDZeT.terraraq.uk>
<_YOcnXSM0Is_2tj6nZ2dnZfqnPednZ2d@earthlink.com>
<lql202FsdjpU1@mid.individual.net> <hrd1P.242255$pZ%.81893@fx16.iad>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net HXvJxK0GN/ZJ3PNUPIu33QNqgOLyGuyp3ejR+5uhdsh+v3KBdl
Cancel-Lock: sha1:AKC92lNjWDFptjJbt0/D+GPIcVE= sha256:AxRU1D03mHcXpIuYDr3Mpy/jDhqVkLwUv/vkNqYXwzA=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
View all headers

On Tue, 26 Nov 2024 05:57:33 GMT, Charlie Gibbs wrote:

> I wouldn't be surprised if it does soon - after all, it whines about
> just about everything else these days. Each new version spits out tons
> of new warnings, and I go over my code and get rid of every one
> (sometimes correcting questionable code in the process). And then I
> started compiling the Windows version of my stuff with MinGW, and the
> process began anew.

I think it was 11 that got stuffy about defining variables in header
files. It never was a good practice but it was done frequently in some of
our legacy code. Luckily yet another switch told it to shut up and go
about its business like it always did. Trying to fix it would have been a
month project for a newbie and we didn't have a newbie handy.

Subject: Re: Joy of this, Joy of that
From: D
Newsgroups: comp.os.linux.misc
Organization: i2pn2 (i2pn.org)
Date: Tue, 26 Nov 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!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: Tue, 26 Nov 2024 10:09:37 +0100
Organization: i2pn2 (i2pn.org)
Message-ID: <e3140b16-f558-e9fe-6106-4cfc6f25a6f9@example.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> <lqi31mFdu06U1@mid.individual.net> <3a520e79-653f-cba2-0f6d-586125a63d87@example.net> <lqk28kFnkl9U1@mid.individual.net>
<53c24513-e58c-1570-64b7-c01e77d8c385@example.net> <lqkg1vFpp09U1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
Injection-Info: i2pn2.org;
logging-data="4187505"; mail-complaints-to="usenet@i2pn2.org";
posting-account="w/4CleFT0XZ6XfSuRJzIySLIA6ECskkHxKUAYDZM66M";
X-Spam-Checker-Version: SpamAssassin 4.0.0
In-Reply-To: <lqkg1vFpp09U1@mid.individual.net>
View all headers

On Tue, 25 Nov 2024, rbowman wrote:

> On Mon, 25 Nov 2024 23:21:21 +0100, D wrote:
>
>> One of my customers has an in house developed, huge, java program. They
>> have been developing it, based on a ph.d. thesis for the last 10 years,
>> and they also tried to shun libraries but have written a lot of
>> functionality from scratch.
>>
>> I almost started to work there 7 years ago, but that would have been too
>> early. It is absolutely fascinating how much they achieved in the past 7
>> years and how much their program has matured.
>
> Those things tend to grow. There is a small town that is handled by the
> county sheriffs department but it's about 50 miles from the dispatch
> station. The original Java app allowed the substation to have some idea
> what was going on in town, but there was no interaction. It was simple to
> set up and to update. Over the years it grew into a fully functional
> interface with parts being reused to build an Android app.
>
> I did a few minor enhancements over the years for GIS related
> functionality with great care since I am not a competent Java programmer.
> I was interested in Java in the late '90s. In my edition of 'Java in a
> Nutshell' it still fit in a nutshell rather than a whole damn walnut tree.
>
> My first disillusionment came when Swing was added on top of AWT. "your
> app runs like a herniated sloth? You need a bigger, faster machine!"
>
> I have the media for Visual J++. It showed promise before it was
> kneecapped by Sun. imho C# is Java done right.
>

Yes, I asked the CTO if he would have chosen Java today, and he said no.
But now they have 10 years of work in java, so there is little point to
switch to something else, since Java works well for them.

I imagine that the fact that they keep external library dependencies to a
minimum makes it easier for them, than if they had a lot of dependencies
on third party libraries.

I wonder if rust would be a good option today? The software is purely
backend software. All the GUI parts are just html + some dynamic stuff.

Subject: Re: Joy of this, Joy of that
From: D
Newsgroups: comp.os.linux.misc
Organization: i2pn2 (i2pn.org)
Date: Tue, 26 Nov 2024 09:10 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!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: Tue, 26 Nov 2024 10:10:19 +0100
Organization: i2pn2 (i2pn.org)
Message-ID: <f69101e7-5b42-bfe6-029b-fae5af06fba4@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> <1b166410-ecc1-f9e5-7218-cde9618f4686@example.net>
<lqi4odFdu06U3@mid.individual.net> <77840736-c143-e896-5da0-d0afae4915ed@example.net> <vi1p3r$2oh05$7@dont-email.me> <2118139f-4451-560b-5094-a3d61c05f0d3@example.net> <lqkh38Fpp09U2@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
Injection-Info: i2pn2.org;
logging-data="4187676"; mail-complaints-to="usenet@i2pn2.org";
posting-account="w/4CleFT0XZ6XfSuRJzIySLIA6ECskkHxKUAYDZM66M";
X-Spam-Checker-Version: SpamAssassin 4.0.0
In-Reply-To: <lqkh38Fpp09U2@mid.individual.net>
View all headers

On Tue, 25 Nov 2024, rbowman wrote:

> On Mon, 25 Nov 2024 22:20:02 +0100, D wrote:
>
>> On Mon, 25 Nov 2024, The Natural Philosopher wrote:
>>
>>> On 25/11/2024 09:55, D wrote:
>>>> The problem with python is the quality of the ecosystem and the 2 to 3
>>>> shift. I find the quality of python libraries lower than in perl. But
>>>> I imagine that is due to there simply being more of them, and that it
>>>> is a "live" language. Perhaps I found the quality better in perl,
>>>> since the libraries that remain are old and mature.
>>>
>>> The problem with Python is it seems to be the new BASIC.
>>> An entry point for PWCP People Who Cant Program.
>>
>> I see that as elitist. The more people who can learn to do simple
>> programming, and simplify their lives, the better!
>
> Python doesn't have a lock on the domain. I worked with a PhD chemist who
> programmed in Fortran. He knew his chemistry but his Fortran looked like a
> train wreck. The math was good and could be extracted into production
> code. Many People Who Can't Program evolve into People Who Can Program or
> have valuable expertise in a field where being able to express it, however
> awkwardly, is valuable.
>
> One of the job descriptions of a good manager is the ability to tell the
> difference.
>

Well put. You are a wise man!

Subject: Re: Joy of this, Joy of that
From: D
Newsgroups: comp.os.linux.misc
Organization: i2pn2 (i2pn.org)
Date: Tue, 26 Nov 2024 09:12 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!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: Tue, 26 Nov 2024 10:12:40 +0100
Organization: i2pn2 (i2pn.org)
Message-ID: <eebc5913-6252-d802-c591-f85692dfb1d4@example.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> <vi0gqv$2f1do$4@dont-email.me> <wfCdnZC3ltuegdn6nZ2dnZfqnPcAAAAA@earthlink.com> <e154b857-0230-db09-669d-4d4e33aaee03@example.net>
<FeScnawtnN_xpNj6nZ2dnZfqn_udnZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="8323328-1716963030-1732612362=:16130"
Injection-Info: i2pn2.org;
logging-data="4188026"; mail-complaints-to="usenet@i2pn2.org";
posting-account="w/4CleFT0XZ6XfSuRJzIySLIA6ECskkHxKUAYDZM66M";
X-Spam-Checker-Version: SpamAssassin 4.0.0
In-Reply-To: <FeScnawtnN_xpNj6nZ2dnZfqn_udnZ2d@earthlink.com>
View all headers

On Mon, 25 Nov 2024, 186282@ud0s4.net wrote:

> On 11/25/24 4:56 AM, D wrote:
>>
>>
>> On Mon, 25 Nov 2024, 186282@ud0s4.net wrote:
>>
>>> 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.
>>>
>>
>> You can have indents _and_ delimiters for the ultimate in eye spotting
>> capability! ;)
>
> As I said to Larry, I almost always use just 2-space
> indents so deeply-nested stuff doesn't tend to run
> off the page margin. Object langs make this even worse
> with all the something.something.something.something
> sorts of lines.
>
> SOME of the IDEs for Python KINDA help, can spot
> nestings fairly well, but I mostly just use nano
> in one terminal and do test runs from another.
> Something like PyCharm or Visual are kinda overkill
> most of the time.
>

I use four, but since worked as a systems administrator (or what today be
called "devops") I never wrote any programs large enough, or complicated
enough, to run out of line space.

This is what I do not like about power shell. Some of the commands are way
too long to type. I like ls, df, du & co! It would be horrible to have to
type list_files every time.

Subject: Re: Joy of this, Joy of that
From: Pancho
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Tue, 26 Nov 2024 10:24 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: Pancho.Jones@proton.me (Pancho)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: Tue, 26 Nov 2024 10:24:59 +0000
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <vi47lr$3cj2g$1@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>
<vhvm34$2aerk$2@dont-email.me>
<1b166410-ecc1-f9e5-7218-cde9618f4686@example.net>
<lqi4odFdu06U3@mid.individual.net>
<77840736-c143-e896-5da0-d0afae4915ed@example.net>
<vi1p3r$2oh05$7@dont-email.me>
<2118139f-4451-560b-5094-a3d61c05f0d3@example.net>
<lqkh38Fpp09U2@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 26 Nov 2024 11:25:00 +0100 (CET)
Injection-Info: dont-email.me; posting-host="560195b7002e8cb57390e78311d15ed4";
logging-data="3558480"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Y8hE3avxImgzQWnbcmTiWjf/9f7bD7uA="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:kOjvzG6V8nsppQgL2sc0JAf5hj0=
Content-Language: en-GB
In-Reply-To: <lqkh38Fpp09U2@mid.individual.net>
View all headers

On 11/25/24 23:55, rbowman wrote:
> On Mon, 25 Nov 2024 22:20:02 +0100, D wrote:
>
>> On Mon, 25 Nov 2024, The Natural Philosopher wrote:
>>
>>> On 25/11/2024 09:55, D wrote:
>>>> The problem with python is the quality of the ecosystem and the 2 to 3
>>>> shift. I find the quality of python libraries lower than in perl. But
>>>> I imagine that is due to there simply being more of them, and that it
>>>> is a "live" language. Perhaps I found the quality better in perl,
>>>> since the libraries that remain are old and mature.
>>>
>>> The problem with Python is it seems to be the new BASIC.
>>> An entry point for PWCP People Who Cant Program.
>>
>> I see that as elitist. The more people who can learn to do simple
>> programming, and simplify their lives, the better!
>
> Python doesn't have a lock on the domain. I worked with a PhD chemist who
> programmed in Fortran. He knew his chemistry but his Fortran looked like a
> train wreck. The math was good and could be extracted into production
> code. Many People Who Can't Program evolve into People Who Can Program or
> have valuable expertise in a field where being able to express it, however
> awkwardly, is valuable.
>
> One of the job descriptions of a good manager is the ability to tell the
> difference.

The fundamental characteristic of a good programmer is to be able to
deliver an application that is useful. Everything else is secondary.

IT department standards for good "production code" were often dogmatic
nonsense, labour intensive, often failures. Perhaps it has improved, but
in my day corporate IT management was dominated by snake-oil salesman
using a team of very poor drone programmers. Management liked drone
programmers, because they were easier to manage, interchangeable. The
trouble was that getting an app to work took a higher level of
understanding and skill, rather than just joining the dots.

Subject: Re: Joy of this, Joy of that
From: Chris Ahlstrom
Newsgroups: comp.os.linux.misc
Organization: None
Date: Tue, 26 Nov 2024 12:09 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: OFeem1987@teleworm.us (Chris Ahlstrom)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: Tue, 26 Nov 2024 07:09:33 -0500
Organization: None
Lines: 35
Message-ID: <vi4dpt$3ec0n$5@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>
<vi2jpb$2upqb$1@dont-email.me>
Reply-To: OFeem1987@teleworm.us
Injection-Date: Tue, 26 Nov 2024 13:09:34 +0100 (CET)
Injection-Info: dont-email.me; posting-host="7943a899bd1c40d7fa7d071c1777e471";
logging-data="3616791"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/7H5+eL0qNRc/pcmgWL0YX"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:2Rzkby0c1qC1r+c/mGSBqwWUJFU=
X-Slrn: Why use anything else?
X-Mutt: The most widely-used MUA
X-Face: 63n<76,LYJQ2m#'5YL#.T95xqyPiG`ffIP70tN+j"(&@6(4l\7uL)2+/-r0)/9SjZ`qw=
Njn mr93Xrerx}aQG-Ap5IHn"xe;`5:pp"$RH>Kx_ngWw%c\+6qSg!q"41n2[.N/;Pu6q8?+Poz~e
A9? $6_R7cm.l!s8]yfv7x+-FYQ|/k
X-User-Agent: Microsoft Outl00k, Usenet K00k Editions
View all headers

vallor wrote this post while blinking in Morse code:

> On Sun, 24 Nov 2024 14:39:26 +0000, The Natural Philosopher 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 been learning Python, off-and-on, but my go-to languages
> are still Perl or C.
>
> (I learned OO programming with Perl. Please don't hate me.)

I've dabbled (babbled?) in Perl, Java, Python, and done some work-work with
C#/ASP.NET/Javascript, but C/C++ is my goto (get it? get it?).

Of course, my early C++ code was pretty awful.

I do think Python is a good language for scripting, and it's also the
source for the Meson build system.

Then there's Zoidberg, a Perl-based shell, long dead:

https://github.com/jberger/Zoidberg

--
This universe shipped by weight, not by volume. Some expansion of the
contents may have occurred during shipment.

Subject: Re: Joy of this, Joy of that
From: Rich
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Tue, 26 Nov 2024 13:17 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: Tue, 26 Nov 2024 13:17:08 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 56
Message-ID: <vi4hok$3f6em$1@dont-email.me>
References: <vhigot$1uakf$1@dont-email.me> <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> <lqi4odFdu06U3@mid.individual.net> <77840736-c143-e896-5da0-d0afae4915ed@example.net> <vi1p3r$2oh05$7@dont-email.me> <2118139f-4451-560b-5094-a3d61c05f0d3@example.net> <lqkh38Fpp09U2@mid.individual.net> <vi47lr$3cj2g$1@dont-email.me>
Injection-Date: Tue, 26 Nov 2024 14:17:09 +0100 (CET)
Injection-Info: dont-email.me; posting-host="cb4809d5ed7560ddd452bbde626f57e1";
logging-data="3643862"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19gCyF0HJvuQp4QpBn84/GS"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Cancel-Lock: sha1:EkMsV3kt9/OUvRGwzqDOEMbmezg=
View all headers

Pancho <Pancho.Jones@proton.me> wrote:
> On 11/25/24 23:55, rbowman wrote:
>> On Mon, 25 Nov 2024 22:20:02 +0100, D wrote:
>>
>>> On Mon, 25 Nov 2024, The Natural Philosopher wrote:
>>>
>>>> On 25/11/2024 09:55, D wrote:
>>>>> The problem with python is the quality of the ecosystem and the 2 to 3
>>>>> shift. I find the quality of python libraries lower than in perl. But
>>>>> I imagine that is due to there simply being more of them, and that it
>>>>> is a "live" language. Perhaps I found the quality better in perl,
>>>>> since the libraries that remain are old and mature.
>>>>
>>>> The problem with Python is it seems to be the new BASIC.
>>>> An entry point for PWCP People Who Cant Program.
>>>
>>> I see that as elitist. The more people who can learn to do simple
>>> programming, and simplify their lives, the better!
>>
>> Python doesn't have a lock on the domain. I worked with a PhD chemist who
>> programmed in Fortran. He knew his chemistry but his Fortran looked like a
>> train wreck. The math was good and could be extracted into production
>> code. Many People Who Can't Program evolve into People Who Can Program or
>> have valuable expertise in a field where being able to express it, however
>> awkwardly, is valuable.
>>
>> One of the job descriptions of a good manager is the ability to tell the
>> difference.
>
> The fundamental characteristic of a good programmer is to be able to
> deliver an application that is useful. Everything else is secondary.
>
> IT department standards for good "production code" were often dogmatic
> nonsense, labour intensive, often failures. Perhaps it has improved, but

It has not. For "enterprise" style software at least.

> in my day corporate IT management was dominated by snake-oil salesman

Still present (ClownStrike anyone?).

> using a team of very poor drone programmers. Management liked drone

Also still present. I've described it as "they can assemble lego's
if given the instruction book -- ask them to create a lego model
without the instruction book and they are lost"

> programmers, because they were easier to manage, interchangeable. The
> trouble was that getting an app to work took a higher level of
> understanding and skill, rather than just joining the dots.

Yep, exactly. If they can be given instructions that match their "lego
brick set" they can snap something together. Ask them to do anything
that requires creativity or research and understanding, and you get
back a turd that has had hours of polishing applied.

Subject: Re: Joy of this, Joy of that
From: Chris Ahlstrom
Newsgroups: comp.os.linux.misc
Organization: None
Date: Tue, 26 Nov 2024 14:15 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: OFeem1987@teleworm.us (Chris Ahlstrom)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: Tue, 26 Nov 2024 09:15:08 -0500
Organization: None
Lines: 42
Message-ID: <vi4l5c$3fned$3@dont-email.me>
References: <vhigot$1uakf$1@dont-email.me> <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>
<lqi4odFdu06U3@mid.individual.net>
<77840736-c143-e896-5da0-d0afae4915ed@example.net>
<vi1p3r$2oh05$7@dont-email.me>
<2118139f-4451-560b-5094-a3d61c05f0d3@example.net>
<lqkh38Fpp09U2@mid.individual.net> <vi47lr$3cj2g$1@dont-email.me>
<vi4hok$3f6em$1@dont-email.me>
Reply-To: OFeem1987@teleworm.us
Injection-Date: Tue, 26 Nov 2024 15:15:08 +0100 (CET)
Injection-Info: dont-email.me; posting-host="7943a899bd1c40d7fa7d071c1777e471";
logging-data="3661261"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1885PBXj4OW899wSVyaC/yv"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:RjVgKuwOtqFDp4xI3exQH4KRHuk=
X-Mutt: The most widely-used MUA
X-Slrn: Why use anything else?
X-Face: 63n<76,LYJQ2m#'5YL#.T95xqyPiG`ffIP70tN+j"(&@6(4l\7uL)2+/-r0)/9SjZ`qw=
Njn mr93Xrerx}aQG-Ap5IHn"xe;`5:pp"$RH>Kx_ngWw%c\+6qSg!q"41n2[.N/;Pu6q8?+Poz~e
A9? $6_R7cm.l!s8]yfv7x+-FYQ|/k
X-User-Agent: Microsoft Outl00k, Usenet K00k Editions
View all headers

Rich wrote this post while blinking in Morse code:

> Pancho <Pancho.Jones@proton.me> wrote:
>>
>> <snip>
>>
>> The fundamental characteristic of a good programmer is to be able to
>> deliver an application that is useful. Everything else is secondary.

Nah, the application must also be maintainable.

>> IT department standards for good "production code" were often dogmatic
>> nonsense, labour intensive, often failures. Perhaps it has improved, but
>
> It has not. For "enterprise" style software at least.

Our group had good practices, including design review, code-review, and
plenty of documentation.

>> in my day corporate IT management was dominated by snake-oil salesman
>
> Still present (ClownStrike anyone?).
>
>> using a team of very poor drone programmers. Management liked drone
>
> Also still present. I've described it as "they can assemble lego's
> if given the instruction book -- ask them to create a lego model
> without the instruction book and they are lost"
>
>> programmers, because they were easier to manage, interchangeable. The
>> trouble was that getting an app to work took a higher level of
>> understanding and skill, rather than just joining the dots.
>
> Yep, exactly. If they can be given instructions that match their "lego
> brick set" they can snap something together. Ask them to do anything
> that requires creativity or research and understanding, and you get
> back a turd that has had hours of polishing applied.

I feel sorry for you guys.

--
Cleanse area thoroughly before applying.

Subject: Re: Joy of this, Joy of that
From: rbowman
Newsgroups: comp.os.linux.misc
Date: Tue, 26 Nov 2024 18:57 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Path: eternal-september.org!news.eternal-september.org!ereborbbs.duckdns.org!newsfeed.xs3.de!weretis.net!feeder8.news.weretis.net!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: 26 Nov 2024 18:57:23 GMT
Lines: 39
Message-ID: <lqmk0jF5lsrU1@mid.individual.net>
References: <vhigot$1uakf$1@dont-email.me> <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>
<lqi4odFdu06U3@mid.individual.net>
<77840736-c143-e896-5da0-d0afae4915ed@example.net>
<vi1p3r$2oh05$7@dont-email.me>
<2118139f-4451-560b-5094-a3d61c05f0d3@example.net>
<lqkh38Fpp09U2@mid.individual.net> <vi47lr$3cj2g$1@dont-email.me>
<vi4hok$3f6em$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net cLI9lVh0z0SWrrxoEUOhAQcxZB5rPfMr+/4VTCCVTPp8o0q7xi
Cancel-Lock: sha1:cTXH2r1Mxneka05dNq2TD3dMXLk= sha256:grVPr+ybyvoqSkfKbAU0O39cZek0lQ+hSh0c3ZwNzj4=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
View all headers

On Tue, 26 Nov 2024 13:17:08 -0000 (UTC), Rich wrote:

> Yep, exactly. If they can be given instructions that match their "lego
> brick set" they can snap something together. Ask them to do anything
> that requires creativity or research and understanding, and you get back
> a turd that has had hours of polishing applied.

The holy grail for management is a design methodology that gets adequate
results from a workforce of varying aptitudes. Particularly for larger
corporations you'll get a normal distribution, a few very good, a few
completely useless, and a lot of mediocrity. That's what you have to work
with.

What I've seen over the years is a company will luck out, get a better
than average distribution, and achieve success. Whatever they're doing is
taken as an example of the right way and copied mechanically. Top down
structured programming, agile, devops, and so forth have their day.

TI lucked out in the '70s and used something they called 'matrix
management' that became the new Wunderkind. The '80s brought 'In Search of
Excellence'.

https://en.wikipedia.org/wiki/In_Search_of_Excellence

Good money was made from book sales and training sessions from independent
snake oil salesmen preaching the gospel. The company I worked for had one
of the sessions. Not too many of the 'excellent' corporations are around
today.

About 10 years ago the company I now work for had a 'pair programming'
session. That was hilarious. The 'experts' were only familiar with Apple
machines and other than the one they brought there wasn't an Apple in the
building. Having been through required attendance things before my team
carefully stayed to the back of the room where we could slink away and get
back to business.

I'm sure the next methodology will wrap itself around AI, spin off
training companies, and mostly fail to deliver on the promises.

Subject: Re: Joy of this, Joy of that
From: rbowman
Newsgroups: comp.os.linux.misc
Date: Tue, 26 Nov 2024 19:17 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!ereborbbs.duckdns.org!newsfeed.xs3.de!weretis.net!feeder8.news.weretis.net!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: 26 Nov 2024 19:17:21 GMT
Lines: 19
Message-ID: <lqml61F5lsrU2@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> <lqi31mFdu06U1@mid.individual.net>
<3a520e79-653f-cba2-0f6d-586125a63d87@example.net>
<lqk28kFnkl9U1@mid.individual.net>
<53c24513-e58c-1570-64b7-c01e77d8c385@example.net>
<lqkg1vFpp09U1@mid.individual.net>
<e3140b16-f558-e9fe-6106-4cfc6f25a6f9@example.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net Oe+WGl9dwaHnOvETGhV14w5TLmV2WJyIf3pmeMzuxlxKUls4LW
Cancel-Lock: sha1:FvZvaz5I4hxyeCtaMFAWYqx7DPs= sha256:+eRz8kD7SlyE2j+7N7Do7X60lPbzenwAd4/qY7jqcOE=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
View all headers

On Tue, 26 Nov 2024 10:09:37 +0100, D wrote:

> I imagine that the fact that they keep external library dependencies to
> a minimum makes it easier for them, than if they had a lot of
> dependencies on third party libraries.

That helps. We did an Angular app and package.json wound up with over 80
dependencies. Downloading them all was painful and sometimes introduced
problems. One example was using Protobuf 2.0. Protobuf 3.0 was not
backward compatible.

We got good at the semantics of package-lock when it became clear that not
everyone played by the rules of not breaking stuff in minor versions.

I'd done a web map using node for the backend. It had 8 dependencies, all
of which were stable. Increase that by a factor of 10 and it gets chewy.

Subject: Re: Joy of this, Joy of that
From: rbowman
Newsgroups: comp.os.linux.misc
Date: Tue, 26 Nov 2024 19:31 UTC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Path: eternal-september.org!news.eternal-september.org!feeder3.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: 26 Nov 2024 19:31:56 GMT
Lines: 8
Message-ID: <lqmm1cF5lsrU3@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>
<vi2jpb$2upqb$1@dont-email.me> <vi4dpt$3ec0n$5@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net hqbzINvCS8ZHvloEtWgAUQ99Cgzu8OTugHeuT/ci4xoSK/K6B/
Cancel-Lock: sha1:tLBPteFP/jlH8Lo05c2mrXATmpQ= sha256:7HtRgZseQZQ7oDFW4Sp8KiZ3125eNOa/afPNS1YSDt0=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
View all headers

On Tue, 26 Nov 2024 07:09:33 -0500, Chris Ahlstrom wrote:

> Of course, my early C++ code was pretty awful.

Early C++ was pretty awful. I understand iterators and other arcane bits
have been cleaned up a lot but I have no need to use general C++.
Arduino, Pico, and other microcontrollers use C/C++ but it's a limited
subset of C++.

Subject: Re: Joy of this, Joy of that
From: D
Newsgroups: comp.os.linux.misc
Organization: i2pn2 (i2pn.org)
Date: Tue, 26 Nov 2024 20:58 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!feeder3.eternal-september.org!news.quux.org!news.nk.ca!rocksolid2!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: Tue, 26 Nov 2024 21:58:45 +0100
Organization: i2pn2 (i2pn.org)
Message-ID: <7bbb95df-167e-6e29-642e-884cd1d92c5b@example.net>
References: <vhigot$1uakf$1@dont-email.me> <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>
<lqi4odFdu06U3@mid.individual.net> <77840736-c143-e896-5da0-d0afae4915ed@example.net> <vi1p3r$2oh05$7@dont-email.me> <2118139f-4451-560b-5094-a3d61c05f0d3@example.net> <lqkh38Fpp09U2@mid.individual.net> <vi47lr$3cj2g$1@dont-email.me> <vi4hok$3f6em$1@dont-email.me>
<lqmk0jF5lsrU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
Injection-Info: i2pn2.org;
logging-data="70403"; mail-complaints-to="usenet@i2pn2.org";
posting-account="w/4CleFT0XZ6XfSuRJzIySLIA6ECskkHxKUAYDZM66M";
In-Reply-To: <lqmk0jF5lsrU1@mid.individual.net>
X-Spam-Checker-Version: SpamAssassin 4.0.0
View all headers

On Tue, 26 Nov 2024, rbowman wrote:

> On Tue, 26 Nov 2024 13:17:08 -0000 (UTC), Rich wrote:
>
>> Yep, exactly. If they can be given instructions that match their "lego
>> brick set" they can snap something together. Ask them to do anything
>> that requires creativity or research and understanding, and you get back
>> a turd that has had hours of polishing applied.
>
> The holy grail for management is a design methodology that gets adequate
> results from a workforce of varying aptitudes. Particularly for larger
> corporations you'll get a normal distribution, a few very good, a few
> completely useless, and a lot of mediocrity. That's what you have to work
> with.
>
> What I've seen over the years is a company will luck out, get a better
> than average distribution, and achieve success. Whatever they're doing is
> taken as an example of the right way and copied mechanically. Top down
> structured programming, agile, devops, and so forth have their day.
>
> TI lucked out in the '70s and used something they called 'matrix
> management' that became the new Wunderkind. The '80s brought 'In Search of
> Excellence'.
>
> https://en.wikipedia.org/wiki/In_Search_of_Excellence
>
> Good money was made from book sales and training sessions from independent
> snake oil salesmen preaching the gospel. The company I worked for had one
> of the sessions. Not too many of the 'excellent' corporations are around
> today.
>
> About 10 years ago the company I now work for had a 'pair programming'
> session. That was hilarious. The 'experts' were only familiar with Apple
> machines and other than the one they brought there wasn't an Apple in the
> building. Having been through required attendance things before my team
> carefully stayed to the back of the room where we could slink away and get
> back to business.
>
> I'm sure the next methodology will wrap itself around AI, spin off
> training companies, and mostly fail to deliver on the promises.
>
>

Ahh... and today you have agile snakeoil salesmen! I heard a story from
the girlfriend of one of my consultants. Her company, a computer game
company, hired an "agile coach" who was workshopping away like a madman.

One programmer said... "but this agile thing, it seems to me like it will
become less efficient and more work, that's bad", the snakeoil salesman
responded "I hear you and appreciate your concern, but if agile makes
things worse, you're not doing it right, and that's why we are here"! ;)

Subject: Re: Joy of this, Joy of that
From: D
Newsgroups: comp.os.linux.misc
Organization: i2pn2 (i2pn.org)
Date: Tue, 26 Nov 2024 20:59 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
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.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: Tue, 26 Nov 2024 21:59:47 +0100
Organization: i2pn2 (i2pn.org)
Message-ID: <5923afce-a8e6-3b37-ca3e-5045f9e5240f@example.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> <lqi31mFdu06U1@mid.individual.net> <3a520e79-653f-cba2-0f6d-586125a63d87@example.net> <lqk28kFnkl9U1@mid.individual.net>
<53c24513-e58c-1570-64b7-c01e77d8c385@example.net> <lqkg1vFpp09U1@mid.individual.net> <e3140b16-f558-e9fe-6106-4cfc6f25a6f9@example.net> <lqml61F5lsrU2@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
Injection-Info: i2pn2.org;
logging-data="70442"; mail-complaints-to="usenet@i2pn2.org";
posting-account="w/4CleFT0XZ6XfSuRJzIySLIA6ECskkHxKUAYDZM66M";
X-Spam-Checker-Version: SpamAssassin 4.0.0
In-Reply-To: <lqml61F5lsrU2@mid.individual.net>
View all headers

On Tue, 26 Nov 2024, rbowman wrote:

> On Tue, 26 Nov 2024 10:09:37 +0100, D wrote:
>
>> I imagine that the fact that they keep external library dependencies to
>> a minimum makes it easier for them, than if they had a lot of
>> dependencies on third party libraries.
>
> That helps. We did an Angular app and package.json wound up with over 80
> dependencies. Downloading them all was painful and sometimes introduced
> problems. One example was using Protobuf 2.0. Protobuf 3.0 was not
> backward compatible.
>
> We got good at the semantics of package-lock when it became clear that not
> everyone played by the rules of not breaking stuff in minor versions.
>
> I'd done a web map using node for the backend. It had 8 dependencies, all
> of which were stable. Increase that by a factor of 10 and it gets chewy.
>

Shudder!

Subject: Re: Joy of this, Joy of that
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.misc
Organization: A noiseless patient Spider
Date: Tue, 26 Nov 2024 21:22 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: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.misc
Subject: Re: Joy of this, Joy of that
Date: Tue, 26 Nov 2024 21:22:37 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <vi5e6t$3k9sn$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> <vi01qi$2cic3$1@dont-email.me>
<wwvmshnlmhm.fsf@LkoBDZeT.terraraq.uk> <vi2rat$318ah$4@dont-email.me>
<wwviksav1i7.fsf@LkoBDZeT.terraraq.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 26 Nov 2024 22:22:37 +0100 (CET)
Injection-Info: dont-email.me; posting-host="884e8e3d13bad04345a336fccab9cba8";
logging-data="3811223"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19pFvXgLtXswwXZDb3icHwi"
User-Agent: Pan/0.161 (Chasiv Yar; )
Cancel-Lock: sha1:SgJyWgarg3LBhGwAT+FmXVsTXno=
View all headers

On Tue, 26 Nov 2024 08:32:32 +0000, Richard Kettlewell wrote:

>> The examples show that freeing the same pointer twice can be
>> detected reliably.
>
> They do no such thing.

free(p);
printf("%s(): returned from first free() call\n", __func__);

free(p);
printf("%s(): returned from second free() call\n", __func__);

Is that or is that not freeing the same pointer twice?

Subject: Re: Joy of this, Joy of that
From: Richard Kettlewell
Newsgroups: comp.os.linux.misc
Organization: terraraq NNTP server
Date: Tue, 26 Nov 2024 21:30 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!feeder3.eternal-september.org!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: Tue, 26 Nov 2024 21:30:12 +0000
Organization: terraraq NNTP server
Message-ID: <wwved2x1y57.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>
<wwvmshodcjt.fsf@LkoBDZeT.terraraq.uk> <vi01qi$2cic3$1@dont-email.me>
<wwvmshnlmhm.fsf@LkoBDZeT.terraraq.uk> <vi2rat$318ah$4@dont-email.me>
<wwviksav1i7.fsf@LkoBDZeT.terraraq.uk> <vi5e6t$3k9sn$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
logging-data="11380"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:rPRnvYIr9hP2VkYSt7+fmJRgWyY=
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 Tue, 26 Nov 2024 08:32:32 +0000, Richard Kettlewell wrote:
>
>>> The examples show that freeing the same pointer twice can be
>>> detected reliably.
>>
>> They do no such thing.
>
> free(p);
> printf("%s(): returned from first free() call\n", __func__);
>
> free(p);
> printf("%s(): returned from second free() call\n", __func__);
>
> Is that or is that not freeing the same pointer twice?

Obviously you are not arguing in good faith. As a reminder of the full
paragraph:

They do no such thing. They show that one very simple usage pattern is
detected. They tell you nothing about the ability to detect double frees
in a more complex system.

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

Pages:12345678910111213141516171819202122232425262728293031323334

rocksolid light 0.9.8
clearnet tor