Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

panic: can't find /


devel / comp.lang.c / Re: bart again (UCX64)

SubjectAuthor
* bart again (UCX64)Paul Edwards
+* Re: bart again (UCX64)Bart
|+* Re: bart again (UCX64)Paul Edwards
||`* Re: bart again (UCX64)Bart
|| +- Re: bart again (UCX64)Paul Edwards
|| `- Re: bart again (UCX64)Dan Cross
|+* Re: bart again (UCX64)Bart
||`* Re: bart again (UCX64)Paul Edwards
|| `* Re: bart again (UCX64)Bart
||  `- Re: bart again (UCX64)Paul Edwards
|`- Re: bart again (UCX64)Chris M. Thomasson
+- Re: bart again (UCX64)Paul Edwards
+* Re: bart again (UCX64)Anton Shepelev
|`* Re: bart again (UCX64)Paul Edwards
| `* Re: bart again (UCX64)Bart
|  `* Re: bart again (UCX64)Paul Edwards
|   +* Re: bart again (UCX64)Paul Edwards
|   |`- Re: bart again (UCX64)Paul Edwards
|   `* Re: bart again (UCX64)Bart
|    +* Re: bart again (UCX64)Paul Edwards
|    |`* Re: bart again (UCX64)Bart
|    | `* Re: bart again (UCX64)Paul Edwards
|    |  `* Re: bart again (UCX64)Bart
|    |   `* Re: bart again (UCX64)Paul Edwards
|    |    +* Re: bart again (UCX64)Bart
|    |    |`- Re: bart again (UCX64)Paul Edwards
|    |    `* Re: bart again (UCX64)Bart
|    |     +* Re: bart again (UCX64)Paul Edwards
|    |     |+* Re: bart again (UCX64)Bart
|    |     ||`* Re: bart again (UCX64)Paul Edwards
|    |     || +* Re: bart again (UCX64)Bart
|    |     || |+- Re: bart again (UCX64)Paul Edwards
|    |     || |`* Re: bart again (UCX64)Keith Thompson
|    |     || | `* Re: bart again (UCX64)Scott Lurndal
|    |     || |  `- Re: bart again (UCX64)David Brown
|    |     || `- Re: bart again (UCX64)Paul Edwards
|    |     |`* Re: bart again (UCX64)Scott Lurndal
|    |     | `- Re: bart again (UCX64)Ben Bacarisse
|    |     `* Re: bart again (UCX64)David Brown
|    |      `* Re: bart again (UCX64)Bart
|    |       +- Re: bart again (UCX64)Bart
|    |       +* Re: bart again (UCX64)David Brown
|    |       |`* Re: bart again (UCX64)Bart
|    |       | +* Re: bart again (UCX64)Keith Thompson
|    |       | |+* Verbosity in command output (Was: bart again (UCX64))Kenny McCormack
|    |       | ||`* Re: Verbosity in command output (Was: bart again (UCX64))Kaz Kylheku
|    |       | || `* Re: Verbosity in command output (Was: bart again (UCX64))Malcolm McLean
|    |       | ||  `- Re: Verbosity in command output (Was: bart again (UCX64))Kaz Kylheku
|    |       | |`* Re: bart again (UCX64)Bart
|    |       | | `- Re: bart again (UCX64)Keith Thompson
|    |       | +- Re: bart again (UCX64)Scott Lurndal
|    |       | +* Re: bart again (UCX64)Scott Lurndal
|    |       | |`* Re: bart again (UCX64)Bart
|    |       | | +- Re: bart again (UCX64)Scott Lurndal
|    |       | | +* Re: bart again (UCX64)Keith Thompson
|    |       | | |`* Re: bart again (UCX64)Bart
|    |       | | | +* Re: bart again (UCX64)Paul Edwards
|    |       | | | |+* Re: bart again (UCX64)Chris M. Thomasson
|    |       | | | ||`* Re: bart again (UCX64)Paul Edwards
|    |       | | | || `- Re: bart again (UCX64)Kaz Kylheku
|    |       | | | |`- Re: bart again (UCX64)Bart
|    |       | | | +- Re: bart again (UCX64)Kaz Kylheku
|    |       | | | `- Re: bart again (UCX64)Keith Thompson
|    |       | | `* Re: bart again (UCX64)David Brown
|    |       | |  `* Re: bart again (UCX64)Bart
|    |       | |   +- Re: bart again (UCX64)David Brown
|    |       | |   +* Re: bart again (UCX64)Richard Harnden
|    |       | |   |`* Re: bart again (UCX64)Bart
|    |       | |   | +- Re: bart again (UCX64)David Brown
|    |       | |   | +* Re: bart again (UCX64)Richard Harnden
|    |       | |   | |+- Re: bart again (UCX64)David Brown
|    |       | |   | |`* Re: bart again (UCX64)Bart
|    |       | |   | | `- Re: bart again (UCX64)Kaz Kylheku
|    |       | |   | +* Re: bart again (UCX64)Ben Bacarisse
|    |       | |   | |`* Re: bart again (UCX64)Bart
|    |       | |   | | +* Re: bart again (UCX64)Ben Bacarisse
|    |       | |   | | |`* Re: bart again (UCX64)Bart
|    |       | |   | | | +* Re: bart again (UCX64)Kaz Kylheku
|    |       | |   | | | |`* Re: bart again (UCX64)Bart
|    |       | |   | | | | `* Re: bart again (UCX64)Kaz Kylheku
|    |       | |   | | | |  `* Re: bart again (UCX64)Bart
|    |       | |   | | | |   +* Re: bart again (UCX64)Kaz Kylheku
|    |       | |   | | | |   |`* Re: bart again (UCX64)Bart
|    |       | |   | | | |   | `* Re: bart again (UCX64)Ben Bacarisse
|    |       | |   | | | |   |  `* Re: bart again (UCX64)Bart
|    |       | |   | | | |   |   `* Re: bart again (UCX64)Ben Bacarisse
|    |       | |   | | | |   |    `* Re: bart again (UCX64)Bart
|    |       | |   | | | |   |     +* Re: bart again (UCX64)Malcolm McLean
|    |       | |   | | | |   |     |+* Re: bart again (UCX64)Bart
|    |       | |   | | | |   |     ||`* Re: bart again (UCX64)Malcolm McLean
|    |       | |   | | | |   |     || `* Re: bart again (UCX64)Ben Bacarisse
|    |       | |   | | | |   |     ||  `* Re: bart again (UCX64)Bart
|    |       | |   | | | |   |     ||   `- Re: bart again (UCX64)Ben Bacarisse
|    |       | |   | | | |   |     |`- Re: bart again (UCX64)David Brown
|    |       | |   | | | |   |     +- Re: bart again (UCX64)Ben Bacarisse
|    |       | |   | | | |   |     `* Re: bart again (UCX64)Kaz Kylheku
|    |       | |   | | | |   |      +* Re: bart again (UCX64)Ben Bacarisse
|    |       | |   | | | |   |      |`* Re: bart again (UCX64)Kaz Kylheku
|    |       | |   | | | |   |      | +* Re: bart again (UCX64)Ben Bacarisse
|    |       | |   | | | |   |      | |`* Re: bart again (UCX64)Bart
|    |       | |   | | | |   |      | | +- Re: bart again (UCX64)Kaz Kylheku
|    |       | |   | | | |   |      | | `- Re: bart again (UCX64)Ben Bacarisse
|    |       | |   | | | |   |      | `* Re: bart again (UCX64)Bart
|    |       | |   | | | |   |      `- Re: bart again (UCX64)Keith Thompson
|    |       | |   | | | |   `- Re: bart again (UCX64)David Brown
|    |       | |   | | | `* Re: bart again (UCX64)Ben Bacarisse
|    |       | |   | | `* Re: bart again (UCX64)Kaz Kylheku
|    |       | |   | `- Re: bart again (UCX64)Kaz Kylheku
|    |       | |   `* Re: bart again (UCX64)Kaz Kylheku
|    |       | `* Re: bart again (UCX64)David Brown
|    |       `* Re: bart again (UCX64)Kaz Kylheku
|    `* Re: bart again (UCX64)Paul Edwards
`* Re: bart again (UCX64)Michael S

Pages:12345678910111213141516
Re: bart again (UCX64)

<udgv0h$3ufb5$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28961&group=comp.lang.c#28961

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jameskuy...@alumni.caltech.edu (James Kuyper)
Newsgroups: comp.lang.c
Subject: Re: bart again (UCX64)
Date: Sat, 9 Sep 2023 01:14:57 -0400
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <udgv0h$3ufb5$1@dont-email.me>
References: <b74c088d-09e6-4842-8b6c-1921d68154c7n@googlegroups.com>
<ucnl64$2p8as$1@dont-email.me>
<65d28a7d-ffd5-4b8b-b3f0-2500bb05f9b7n@googlegroups.com>
<ucoe3l$2t4o2$1@dont-email.me>
<557bf807-40c7-404b-9242-c26975faa42fn@googlegroups.com>
<ucprpd$38s6i$1@dont-email.me> <ucq1gd$39q14$1@dont-email.me>
<ucq86h$3auvq$1@dont-email.me> <ucqj27$3con1$1@dont-email.me>
<ucqpgp$3dnop$1@dont-email.me> <aa8IM.249421$f7Ub.27491@fx47.iad>
<ucr3kb$3f58o$1@dont-email.me> <ucs9pb$3nd9i$1@dont-email.me>
<ucsg9u$3ofr6$1@dont-email.me> <ucsk81$3p2kg$1@dont-email.me>
<ucsm1u$3pb1c$1@dont-email.me> <871qfiknil.fsf@bsb.me.uk>
<ucsu3s$3qfrk$1@dont-email.me> <87v8ctkbsj.fsf@bsb.me.uk>
<uctaf3$3v98j$1@dont-email.me> <87pm31jusi.fsf@bsb.me.uk>
<ucuvtc$cbnk$1@dont-email.me> <5JHIM.574995$qnnb.462524@fx11.iad>
<ucvk6s$f6nb$1@dont-email.me> <r1JIM.297958$uLJb.27694@fx41.iad>
<ucvuhq$gmlg$1@dont-email.me> <ud60pq$1mf0p$1@dont-email.me>
<20230904234329.835@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 9 Sep 2023 05:14:57 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f4b9f45e68a9e1d5bcc9614d9d2ea43b";
logging-data="4144485"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18sozD9vOk4NAjM/U8MWR3SsL+MZZ3n4RE="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:ha8Xku+9Y15mpRGTvmBttVagO0I=
In-Reply-To: <20230904234329.835@kylheku.com>
Content-Language: en-US
 by: James Kuyper - Sat, 9 Sep 2023 05:14 UTC

On 9/5/23 02:49, Kaz Kylheku wrote:
> On 2023-09-05, vallor <vallor@cultnix.org> wrote:
....
>> Isn't asking a C compiler to watch for interminable loops and
>> such things akin to trying to solve the halting problem?
>
> The Halting Problem is academic. The main reasons why you can't
> accurately determine reachability in C programs are practical:

If the C standard mandated diagnosing unreachable code, that would
require solving the Halting Problem, which is impossible. Because the C
standard does not mandate diagnosing unreachable code, and allows
implementations to issue arbitrary diagnostics for any reason they wish,
an implementation of C is free to diagnose the easy cases, while leaving
harder cases undiagnosed.
That's why it's important to be aware of the Halting Problem, despite it
being of mostly academic interest.

Re: bart again (UCX64)

<20230908222015.25@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28966&group=comp.lang.c#28966

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 864-117-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c
Subject: Re: bart again (UCX64)
Date: Sat, 9 Sep 2023 05:22:57 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <20230908222015.25@kylheku.com>
References: <b74c088d-09e6-4842-8b6c-1921d68154c7n@googlegroups.com>
<ucnl64$2p8as$1@dont-email.me>
<65d28a7d-ffd5-4b8b-b3f0-2500bb05f9b7n@googlegroups.com>
<ucoe3l$2t4o2$1@dont-email.me>
<557bf807-40c7-404b-9242-c26975faa42fn@googlegroups.com>
<ucprpd$38s6i$1@dont-email.me> <ucq1gd$39q14$1@dont-email.me>
<ucq86h$3auvq$1@dont-email.me> <ucqj27$3con1$1@dont-email.me>
<ucqpgp$3dnop$1@dont-email.me> <aa8IM.249421$f7Ub.27491@fx47.iad>
<ucr3kb$3f58o$1@dont-email.me> <ucs9pb$3nd9i$1@dont-email.me>
<ucsg9u$3ofr6$1@dont-email.me> <ucsk81$3p2kg$1@dont-email.me>
<ucsm1u$3pb1c$1@dont-email.me> <871qfiknil.fsf@bsb.me.uk>
<ucsu3s$3qfrk$1@dont-email.me> <87v8ctkbsj.fsf@bsb.me.uk>
<uctaf3$3v98j$1@dont-email.me> <87pm31jusi.fsf@bsb.me.uk>
<ucuvtc$cbnk$1@dont-email.me> <5JHIM.574995$qnnb.462524@fx11.iad>
<ucvk6s$f6nb$1@dont-email.me> <r1JIM.297958$uLJb.27694@fx41.iad>
<ucvuhq$gmlg$1@dont-email.me> <ud60pq$1mf0p$1@dont-email.me>
<20230904234329.835@kylheku.com> <udgv0h$3ufb5$1@dont-email.me>
Injection-Date: Sat, 9 Sep 2023 05:22:57 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="cbf43b42d7a4bc81e1a1f81e08c9fb9f";
logging-data="4148139"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+7Cx4lYB1Sood+XaTky8BvmxOTpeNvrvQ="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:7DVe/KmVMjXUQCHttrPmeiy6Sfw=
 by: Kaz Kylheku - Sat, 9 Sep 2023 05:22 UTC

On 2023-09-09, James Kuyper <jameskuyper@alumni.caltech.edu> wrote:
> On 9/5/23 02:49, Kaz Kylheku wrote:
>> On 2023-09-05, vallor <vallor@cultnix.org> wrote:
> ...
>>> Isn't asking a C compiler to watch for interminable loops and
>>> such things akin to trying to solve the halting problem?
>>
>> The Halting Problem is academic. The main reasons why you can't
>> accurately determine reachability in C programs are practical:
>
> If the C standard mandated diagnosing unreachable code, that would
> require solving the Halting Problem, which is impossible.

If the C standard mandated diagnosing unreachable code, it would
require a crystal ball, which makes Turing-related difficulties
moot ... being the point.

Therefore, nobody in their right mind will do that; they will focus on
that which can be done in a way that is practical and useful, reasonably
easy to understand (and thus predict) and of the most benefit and least
nuisance.

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca
NOTE: If you use Google Groups, I don't see you, unless you're whitelisted.

Re: bart again (UCX64)

<udi7md$52sl$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28986&group=comp.lang.c#28986

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: bart again (UCX64)
Date: Sat, 9 Sep 2023 18:49:17 +0200
Organization: A noiseless patient Spider
Lines: 111
Message-ID: <udi7md$52sl$2@dont-email.me>
References: <b74c088d-09e6-4842-8b6c-1921d68154c7n@googlegroups.com>
<ucthrb$gvk$2@dont-email.me> <20230901135123.702@kylheku.com>
<uctlpv$17t5$1@dont-email.me> <878r9p7b13.fsf@nosuchdomain.example.com>
<ucu0tf$2mht$1@dont-email.me> <20230901175635.91@kylheku.com>
<ucv4e6$d0c9$1@dont-email.me> <ucvna1$fb08$7@dont-email.me>
<ud00bc$grer$1@dont-email.me> <ud23ls$um2u$1@dont-email.me>
<ud2eod$10jv5$1@dont-email.me> <ud4604$1cbam$1@dont-email.me>
<ud4a6a$1d4cd$1@dont-email.me> <87edjeujqw.fsf@bsb.me.uk>
<ud5gkt$1kj5t$1@dont-email.me> <87tts9sbo8.fsf@bsb.me.uk>
<b9e00c9c-e879-49d2-a00a-05256b87d766n@googlegroups.com>
<87v8coqcpa.fsf@bsb.me.uk> <86zg1ymvvv.fsf@linuxsc.com>
<20230906223634.465@kylheku.com> <874jk6oy5b.fsf@bsb.me.uk>
<udco9q$31af8$1@dont-email.me> <udeoos$3dal1$1@dont-email.me>
<udeqqq$3dhqr$2@dont-email.me> <udeuru$3eac2$1@dont-email.me>
<20230908075118.577@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 9 Sep 2023 16:49:17 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="010d235d15fa84e76a575c550a4815f1";
logging-data="166805"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/24otYqQh/HtU8p2ozCofmJGhxqtstf7w="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:CtbNvsuu+jzN01JXO3dh7lye9vI=
In-Reply-To: <20230908075118.577@kylheku.com>
Content-Language: en-GB
 by: David Brown - Sat, 9 Sep 2023 16:49 UTC

On 09/09/2023 02:47, Kaz Kylheku wrote:
> On 2023-09-08, David Brown <david.brown@hesbynett.no> wrote:
>> On 08/09/2023 11:51, Bart wrote:
>>> The internal details don't matter to the user. The way main() is defined
>>> and used should be identical to any other function.
>>
>> I too would prefer consistency here - I see no reason why falling off
>> the end of main() should act as "return 0;", except to standardise
>> existing old practice.
>
> I don't believe there was an old practice.
>
> The practice was one of hordes of programmers being ignorant of the
> concept of a termination status.
>

OK - so it was standardising practice by new, ignorant programmers.
That sounds entirely plausible to me.

> This was done in C because C++ did it.

I know C++ standardised it first.

>
> C++ did it probably because they thought it's one more way to improve
> the C subset of C++ to make a better C.
>
> By adopting such a rule at the language level, you can fix countless
> broken programs that return a pseudo-random termination status;
> they just have to be recompiled with an implementation that has picked
> up the rule.
>

Fair enough.

> I think that if C and C++ hadn't adopted this rule, we would still have
> many programs out there returning garbage termination status.
>
> Still, it's strange because C and C++ languages are not normally of the
> kind that try to save the end user from programmer ignorance. In the
> big picture, in which so many things can go wrong in developing a
> complex application, fixing the broken return of main is a like fart in
> a hurricane.
>
> ---
>
> main is not such a different function in C. It can be a perfectly
> ordinary function. What is special about it is that it can have one
> of two standard type signatures.

There are a few other differences, though main() in C is not as special
as main() in C++.

>
> However, that can be handled transparently in many implementations,
> because it is commonly de facto safe to pass more arguments to a
> function than it takes.

Yes.

>
> The ISO C <stdarg.h> feature came from something called <varargs.h>
> which was entirely predicated on passing a variable number of
> arguements to a function, prior to the existence of prototype
> declarations and the ... ellipsis.
>
> SowWhen it comes to C, main can be just an external function which is
> linked to by the "CRT" module by name, and that module can assume that
> it is int main(int, char **). (Except on implementations which have
> calling conventions whereby the callee cleans up the stack and such.)
>
> It is rather in C++ that main is more special. C++ has type safe
> linkage, and so int main(void) looks different from int main(int, char
> **). In actual implementations, this is done by encoding the type into
> the symbol name, which is informally called "name mangling".
>
> C++ implementations likely disable name mangling for main so
> that it is more easy to link to.

Indeed they do. In effect, "main" is declared as though it were an
extern "C" function, so that it is accessible from the C++ startup code.
(But you are not allowed to declare it yourself in any way.)

>
> In C++, main is not required to be recursively invokable;

You are not allowed to call it at all, or even take its address - so no
recursion is allowed.

> and it is
> probably for that reason. The definition of main is also a declaration.
> But since main is specially handled, that declaration may not actually
> be suitable for calling it. That is to say, if the C++ program calls
> main, that might generate a reference to the mangled name which doesn't
> actually exists.
>

Some C++ compilers call global constructors and static initialisation
functions from library code before main() is started. Others inject
that code into the generation of the main() function, as though it
appeared immediately after the opening braces of main(). That would not
be an option if main() could be called recursively. (Global destructors
can similarly be injected into the end of main()).

> Perhaps since C++ main is already special, it was an easier decision
> in C++ to put in the rule regarding the implicit return.
>

Certainly it made some things easier, and it definitely made the choice
of default return value easy to pick!

Re: bart again (UCX64)

<udi7qa$52sl$3@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28987&group=comp.lang.c#28987

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: bart again (UCX64)
Date: Sat, 9 Sep 2023 18:51:22 +0200
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <udi7qa$52sl$3@dont-email.me>
References: <b74c088d-09e6-4842-8b6c-1921d68154c7n@googlegroups.com>
<ucu0tf$2mht$1@dont-email.me> <20230901175635.91@kylheku.com>
<ucv4e6$d0c9$1@dont-email.me> <ucvna1$fb08$7@dont-email.me>
<ud00bc$grer$1@dont-email.me> <ud23ls$um2u$1@dont-email.me>
<ud2eod$10jv5$1@dont-email.me> <ud4604$1cbam$1@dont-email.me>
<ud4a6a$1d4cd$1@dont-email.me> <87edjeujqw.fsf@bsb.me.uk>
<ud5gkt$1kj5t$1@dont-email.me> <87tts9sbo8.fsf@bsb.me.uk>
<b9e00c9c-e879-49d2-a00a-05256b87d766n@googlegroups.com>
<87v8coqcpa.fsf@bsb.me.uk> <86zg1ymvvv.fsf@linuxsc.com>
<20230906223634.465@kylheku.com> <874jk6oy5b.fsf@bsb.me.uk>
<udco9q$31af8$1@dont-email.me> <udeoos$3dal1$1@dont-email.me>
<udeqqq$3dhqr$2@dont-email.me> <87ledgna6o.fsf@nosuchdomain.example.com>
<udf4mo$3f62i$1@dont-email.me> <udf58l$3f19e$2@dont-email.me>
<20230908180434.597@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 9 Sep 2023 16:51:22 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="010d235d15fa84e76a575c550a4815f1";
logging-data="166805"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+kkwmLOqez1cs6jE8MwF6olNvchtTrLvs="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:jtBf+CXs4C2xiC0xuWiwPQRDxag=
Content-Language: en-GB
In-Reply-To: <20230908180434.597@kylheku.com>
 by: David Brown - Sat, 9 Sep 2023 16:51 UTC

On 09/09/2023 03:07, Kaz Kylheku wrote:
> On 2023-09-08, candycanearter07 <no@thanks.net> wrote:
>> The magic of standards is that you don't need to worry about the
>> underlying os messiness. With that said, I didn't know about the
>> arguments issue, that's neat.
>
> Congratulation on your correct attribution and quoting via T-bird.
>
> That's pretty much a Usenet first. In my memory, nobody who has ever
> been told about things like this in any newsgroup I've ever read has
> ever done anything to alter their behavior or software configuration.
>

It's not a first - but it is definitely rare, and is, I think, the
speediest case I have seen. Welcome to the group, Candy!

Re: bart again (UCX64)

<NV1LM.206233$KJXf.118553@fx05.iad>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=28990&group=comp.lang.c#28990

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx05.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bart again (UCX64)
Content-Language: en-US
Newsgroups: comp.lang.c
References: <b74c088d-09e6-4842-8b6c-1921d68154c7n@googlegroups.com>
<ucthrb$gvk$2@dont-email.me> <20230901135123.702@kylheku.com>
<uctlpv$17t5$1@dont-email.me> <878r9p7b13.fsf@nosuchdomain.example.com>
<ucu0tf$2mht$1@dont-email.me> <20230901175635.91@kylheku.com>
<ucv4e6$d0c9$1@dont-email.me> <ucvna1$fb08$7@dont-email.me>
<ud00bc$grer$1@dont-email.me> <ud23ls$um2u$1@dont-email.me>
<ud2eod$10jv5$1@dont-email.me> <ud4604$1cbam$1@dont-email.me>
<ud4a6a$1d4cd$1@dont-email.me> <87edjeujqw.fsf@bsb.me.uk>
<ud5gkt$1kj5t$1@dont-email.me> <87tts9sbo8.fsf@bsb.me.uk>
<b9e00c9c-e879-49d2-a00a-05256b87d766n@googlegroups.com>
<87v8coqcpa.fsf@bsb.me.uk> <86zg1ymvvv.fsf@linuxsc.com>
<20230906223634.465@kylheku.com> <874jk6oy5b.fsf@bsb.me.uk>
<udco9q$31af8$1@dont-email.me> <udeoos$3dal1$1@dont-email.me>
<udeqqq$3dhqr$2@dont-email.me> <udeuru$3eac2$1@dont-email.me>
<20230908075118.577@kylheku.com> <udi7md$52sl$2@dont-email.me>
From: Rich...@Damon-Family.org (Richard Damon)
In-Reply-To: <udi7md$52sl$2@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 14
Message-ID: <NV1LM.206233$KJXf.118553@fx05.iad>
X-Complaints-To: abuse@easynews.com
Organization: Forte - www.forteinc.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Sat, 9 Sep 2023 10:27:09 -0700
X-Received-Bytes: 2348
 by: Richard Damon - Sat, 9 Sep 2023 17:27 UTC

On 9/9/23 9:49 AM, David Brown wrote:
> Some C++ compilers call global constructors and static initialisation
> functions from library code before main() is started.  Others inject
> that code into the generation of the main() function, as though it
> appeared immediately after the opening braces of main().  That would not
> be an option if main() could be called recursively.  (Global destructors
> can similarly be injected into the end of main()).

This was how it HAD to be done in CFront, that took C++ code and
generated C code from it, to be given to the C compiler to be compiled
and run.

CFront couldn't (portably) change the pre-main behavior, so injected it
in the front of main.

Re: bart again (UCX64)

<udk4eb$hkp5$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=29009&group=comp.lang.c#29009

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: bart again (UCX64)
Date: Sun, 10 Sep 2023 12:06:03 +0200
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <udk4eb$hkp5$2@dont-email.me>
References: <b74c088d-09e6-4842-8b6c-1921d68154c7n@googlegroups.com>
<ucthrb$gvk$2@dont-email.me> <20230901135123.702@kylheku.com>
<uctlpv$17t5$1@dont-email.me> <878r9p7b13.fsf@nosuchdomain.example.com>
<ucu0tf$2mht$1@dont-email.me> <20230901175635.91@kylheku.com>
<ucv4e6$d0c9$1@dont-email.me> <ucvna1$fb08$7@dont-email.me>
<ud00bc$grer$1@dont-email.me> <ud23ls$um2u$1@dont-email.me>
<ud2eod$10jv5$1@dont-email.me> <ud4604$1cbam$1@dont-email.me>
<ud4a6a$1d4cd$1@dont-email.me> <87edjeujqw.fsf@bsb.me.uk>
<ud5gkt$1kj5t$1@dont-email.me> <87tts9sbo8.fsf@bsb.me.uk>
<b9e00c9c-e879-49d2-a00a-05256b87d766n@googlegroups.com>
<87v8coqcpa.fsf@bsb.me.uk> <86zg1ymvvv.fsf@linuxsc.com>
<20230906223634.465@kylheku.com> <874jk6oy5b.fsf@bsb.me.uk>
<udco9q$31af8$1@dont-email.me> <udeoos$3dal1$1@dont-email.me>
<udeqqq$3dhqr$2@dont-email.me> <udeuru$3eac2$1@dont-email.me>
<20230908075118.577@kylheku.com> <udi7md$52sl$2@dont-email.me>
<NV1LM.206233$KJXf.118553@fx05.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 10 Sep 2023 10:06:03 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6626f03646a3960531a6c6dcf45c9912";
logging-data="578341"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+OvHXkC6GSWK7yh9KdA9z3kKDilvqrgCI="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:M62h5AElU+Cwtvvnmn4WgPFtl9k=
Content-Language: en-GB
In-Reply-To: <NV1LM.206233$KJXf.118553@fx05.iad>
 by: David Brown - Sun, 10 Sep 2023 10:06 UTC

On 09/09/2023 19:27, Richard Damon wrote:
> On 9/9/23 9:49 AM, David Brown wrote:
>> Some C++ compilers call global constructors and static initialisation
>> functions from library code before main() is started.  Others inject
>> that code into the generation of the main() function, as though it
>> appeared immediately after the opening braces of main().  That would
>> not be an option if main() could be called recursively.  (Global
>> destructors can similarly be injected into the end of main()).
>
> This was how it HAD to be done in CFront, that took C++ code and
> generated C code from it, to be given to the C compiler to be compiled
> and run.
>
> CFront couldn't (portably) change the pre-main behavior, so injected it
> in the front of main.

Sounds reasonable.

I have seen it done in other C++ compilers that did not use CFront,
though I can't remember off-hand which compiler it was (it was some
microcontroller compiler).

Re: bart again (UCX64)

<86pm2nmh4o.fsf@linuxsc.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=29074&group=comp.lang.c#29074

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tr.17...@z991.linuxsc.com (Tim Rentsch)
Newsgroups: comp.lang.c
Subject: Re: bart again (UCX64)
Date: Tue, 12 Sep 2023 10:32:55 -0700
Organization: A noiseless patient Spider
Lines: 76
Message-ID: <86pm2nmh4o.fsf@linuxsc.com>
References: <b74c088d-09e6-4842-8b6c-1921d68154c7n@googlegroups.com> <uct9hv$3v1lb$2@dont-email.me> <20230901114625.198@kylheku.com> <ucthrb$gvk$2@dont-email.me> <20230901135123.702@kylheku.com> <uctlpv$17t5$1@dont-email.me> <878r9p7b13.fsf@nosuchdomain.example.com> <ucu0tf$2mht$1@dont-email.me> <20230901175635.91@kylheku.com> <ucv4e6$d0c9$1@dont-email.me> <ucvna1$fb08$7@dont-email.me> <ud00bc$grer$1@dont-email.me> <ud23ls$um2u$1@dont-email.me> <ud2eod$10jv5$1@dont-email.me> <ud4604$1cbam$1@dont-email.me> <ud4a6a$1d4cd$1@dont-email.me> <87edjeujqw.fsf@bsb.me.uk> <ud5gkt$1kj5t$1@dont-email.me> <87tts9sbo8.fsf@bsb.me.uk> <ud6016$1mhka$1@dont-email.me> <87pm2wq8se.fsf@bsb.me.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: dont-email.me; posting-host="2b3a0b5d959fa737f816f5ed83248a84";
logging-data="1757939"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX181d3cQxt5Ck95+jAaNpCS5SuTJLI5R8Go="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:4CxkrTiKJwzJHti1zs3/ccJNzuM=
sha1:ynNinyXRR582quWfpgUgq/ql6mo=
 by: Tim Rentsch - Tue, 12 Sep 2023 17:32 UTC

Ben Bacarisse <ben.usenet@bsb.me.uk> writes:

> This text:
>
> int main(void) { int a[] = {1}; return a[2]; }
>
> is meaningless (as C). It does not "do" anything because it
> means nothing.

I would like to offer a different perspective on this question.

I take the meaning of a C program to be a mapping from inputs
to outcomes. The term outcome is meant to be "the result" of
giving a particular input to a program, without being too
specific about what counts as part of a result. For example,
"outcome" includes the observable behavior of a program, but it
also includes exit status, which is not part of the observable
behavior. (I needed to check the definition of observable
behavior to verify that.)

The first point is that outcome is multi-valued: a result might
be a single outcome, or it might be a set of possible outcomes.
A program that relies on unspecified behavior can produce
different results depending on what choices are made in each case
where the program depends on unspecified behavior. (Side point:
I think we can treat implementation-defined behavior as simply
one more component of program input. In any case we will not
consider it further, as it shouldn't cause any serious problems.)

Viewed from this perspective, the meaning of the program above
is a set containing all possible outcomes (and incidentally that
is the result for all inputs). Of course it can be the case that
some programs have infinite outcome sets for some inputs and
finite outcome sets for other inputs. It may be surprising but
there is actually some positive information content in saying the
meaning of a program is a set of all possible outcomes. To see
that, consider this program:

int main(void) { return 1; };

No doubt there are different points of view about what the outcome
set of this program should be, but we can be sure of one thing: if
there are any elements in this program's outcome set, every one
includes at least one diagnostic message, caused by the syntax
error. So even if the outcome set is infinite, it is a proper
subset of the outcome set of the previous program with undefined
behavior (and no syntax errors or constraint violations), because
some of those outcomes do not include any diagnostics.

My inclination here is to say the second program is "meaningless"
whereas the first program does have a "meaning", even if not an
especially useful one. That view seems consistent with what is
said in the ISO C standard, the very first sentence of which
reads

This International Standard specifies the form and
establishes the interpretation of programs expressed
in the programming language C.

The "meaning" of a proprosed program text is what interpretation is
specified for it. The second program doesn't satisfy the form of
programs written in C, and hence does not have an interpretation
specified for it: meaningless. The first program does satisfy the
form of programs written in C, and so does have an interpretation
specified for it, even though what is specified is unboundedly
liberal. Furthermore I think the distinction described corresponds
to how we normally think of the words used. The second program is
"meaningless" no matter what input it is given. But it's fairly
easy to construct programs that have undefined behavior only on
very large inputs (over, say, 2**128 characters). It seems wrong
to call a program "meaningless" if its behavior is well-defined for
all inputs it will ever be run on. It's much nicer to say that such
a program is meaningful, with the outcome sets for some inputs being
infinite.

So for what it's worth, there is another taken on the matter.

Re: bart again (UCX64)

<868r8nfx49.fsf@linuxsc.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=29465&group=comp.lang.c#29465

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tr.17...@z991.linuxsc.com (Tim Rentsch)
Newsgroups: comp.lang.c
Subject: Re: bart again (UCX64)
Date: Sat, 30 Sep 2023 09:23:50 -0700
Organization: A noiseless patient Spider
Lines: 65
Message-ID: <868r8nfx49.fsf@linuxsc.com>
References: <b74c088d-09e6-4842-8b6c-1921d68154c7n@googlegroups.com> <20230901104426.371@kylheku.com> <uct9hv$3v1lb$2@dont-email.me> <20230901114625.198@kylheku.com> <ucthrb$gvk$2@dont-email.me> <20230901135123.702@kylheku.com> <uctlpv$17t5$1@dont-email.me> <878r9p7b13.fsf@nosuchdomain.example.com> <ucu0tf$2mht$1@dont-email.me> <20230901175635.91@kylheku.com> <ucv4e6$d0c9$1@dont-email.me> <ucvna1$fb08$7@dont-email.me> <ud00bc$grer$1@dont-email.me> <ud23ls$um2u$1@dont-email.me> <ud2eod$10jv5$1@dont-email.me> <ud4604$1cbam$1@dont-email.me> <ud4a6a$1d4cd$1@dont-email.me> <ud4rbl$1h1t4$1@dont-email.me> <87h6o95znv.fsf@nosuchdomain.example.com> <86jzt5pgho.fsf@linuxsc.com> <87zg214c1j.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: dont-email.me; posting-host="a99bceb92abacf1e025e751f28ca3812";
logging-data="1062967"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/kL4v4YdKWVTCSrnXKisLOcg1atNHoxKM="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:zxR46uH/kyeN7OaU3W0lkrPpbNA=
sha1:TTBEg4yWtm3h7gOnkXatNX1TcaE=
 by: Tim Rentsch - Sat, 30 Sep 2023 16:23 UTC

Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:

> Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
>
>> Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>>
>>> David Brown <david.brown@hesbynett.no> writes:
>>>
>>>> On 04/09/2023 12:06, Bart wrote:
>>>
>>> [...]
>>>
>>>>> char* fred(void) {
>>>>> (long long int)rand()*3.14159;
>>>>> }
>>>>> int main(void) {
>>>>> printf("%s\n", fred());
>>>>> }
>>>
>>> [...]
>>>
>>>> As you know, it is not valid C code. As you know, proper C compilers
>>>> will - at least - warn you about it when asked to treat the input
>>>> according to the C standards. As you know, there isn't a compiler in
>>>> the world for any language which will stop programmers from writing
>>>> incorrect code.
>>>
>>> Given the context of the discussion, pedantry seems appropriate.
>>>
>>> It's invalid C code because it doesn't declare rand() and printf(),
>>> correctable by adding `#include <stdlib.h>` and `#include <stdio.h>`.
>>> (It also contains NO-BREAK SPACE characters, but that's that's just a
>>> Usenet formatting issue.)
>>>
>>> Other than that, a conforming C compiler is not required to diagnose
>>> the above code. It does have undefined behavior, and a C compiler is
>>> likely to warn about it with appropriate warnings, but it does not
>>> violate any syntax rule or constraint.
>>
>> I say it does.
>
> If you're right, then gcc 13.2.0 and clang 16.0.0 have a bug. Both
> compile the above code (once the required #include directives are added)
> without error, though clang prints a couple of optional warnings. I used
> "-std=c17 -pedantic-errors" with both compilers. (With "-Wall", gcc
> prints warnings similar to the ones clang prints without it.)
>
> What syntax rule or constraint does it violate?

I'm sorry the point I was trying to make got lost. I was
hoping for some value to result from my comment, and I feel
bad that that is unlikely to happen. I'll try to do better
next time.

> Does it occur to you that you would save everyone a lot of time if
> you'd explain what you mean in the first place?

You say that like you think saving people time should always
be my highest priority. It isn't, at least not always.
When there is some tension between two or more areas of
consideration usually (at least) one has to be shortchanged.
I prioritize the factors I think are the most important in
each particular case. I'm sorry if my choices seem poor to
you but I need to follow the path that I think has the best
chance of success.

Re: bart again (UCX64)

<87ttrbqniz.fsf@nosuchdomain.example.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=29478&group=comp.lang.c#29478

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c
Subject: Re: bart again (UCX64)
Date: Sat, 30 Sep 2023 15:55:32 -0700
Organization: None to speak of
Lines: 98
Message-ID: <87ttrbqniz.fsf@nosuchdomain.example.com>
References: <b74c088d-09e6-4842-8b6c-1921d68154c7n@googlegroups.com>
<uct9hv$3v1lb$2@dont-email.me> <20230901114625.198@kylheku.com>
<ucthrb$gvk$2@dont-email.me> <20230901135123.702@kylheku.com>
<uctlpv$17t5$1@dont-email.me>
<878r9p7b13.fsf@nosuchdomain.example.com>
<ucu0tf$2mht$1@dont-email.me> <20230901175635.91@kylheku.com>
<ucv4e6$d0c9$1@dont-email.me> <ucvna1$fb08$7@dont-email.me>
<ud00bc$grer$1@dont-email.me> <ud23ls$um2u$1@dont-email.me>
<ud2eod$10jv5$1@dont-email.me> <ud4604$1cbam$1@dont-email.me>
<ud4a6a$1d4cd$1@dont-email.me> <ud4rbl$1h1t4$1@dont-email.me>
<87h6o95znv.fsf@nosuchdomain.example.com> <86jzt5pgho.fsf@linuxsc.com>
<87zg214c1j.fsf@nosuchdomain.example.com> <868r8nfx49.fsf@linuxsc.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="4d546958ea253756ab5aceb69ed2c6d3";
logging-data="1237823"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+BqIxphw9xFMWi3DpNChwm"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:08rs+MagmakUl4K98ywaMrcyRUU=
sha1:Tbwj2zNiJJQ6W1vhp1i4rfl0VL0=
 by: Keith Thompson - Sat, 30 Sep 2023 22:55 UTC

Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
> Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>> Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
>>> Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>>>> David Brown <david.brown@hesbynett.no> writes:
>>>>> On 04/09/2023 12:06, Bart wrote:
>>>> [...]
>>>>
>>>>>> char* fred(void) {
>>>>>> (long long int)rand()*3.14159;
>>>>>> }
>>>>>> int main(void) {
>>>>>> printf("%s\n", fred());
>>>>>> }
>>>>
>>>> [...]
>>>>
>>>>> As you know, it is not valid C code. As you know, proper C compilers
>>>>> will - at least - warn you about it when asked to treat the input
>>>>> according to the C standards. As you know, there isn't a compiler in
>>>>> the world for any language which will stop programmers from writing
>>>>> incorrect code.
>>>>
>>>> Given the context of the discussion, pedantry seems appropriate.
>>>>
>>>> It's invalid C code because it doesn't declare rand() and printf(),
>>>> correctable by adding `#include <stdlib.h>` and `#include <stdio.h>`.
>>>> (It also contains NO-BREAK SPACE characters, but that's that's just a
>>>> Usenet formatting issue.)
>>>>
>>>> Other than that, a conforming C compiler is not required to diagnose
>>>> the above code. It does have undefined behavior, and a C compiler is
>>>> likely to warn about it with appropriate warnings, but it does not
>>>> violate any syntax rule or constraint.
>>>
>>> I say it does.
>>
>> If you're right, then gcc 13.2.0 and clang 16.0.0 have a bug. Both
>> compile the above code (once the required #include directives are added)
>> without error, though clang prints a couple of optional warnings. I used
>> "-std=c17 -pedantic-errors" with both compilers. (With "-Wall", gcc
>> prints warnings similar to the ones clang prints without it.)
>>
>> What syntax rule or constraint does it violate?
>
> I'm sorry the point I was trying to make got lost. I was
> hoping for some value to result from my comment, and I feel
> bad that that is unlikely to happen. I'll try to do better
> next time.

I'm sorry you chose not to answer my simple and direct question.

What syntax rule or constraint does the code violate?

Also, what was the point you were trying to make?

I asserted that the code (after adding the required #include
directives) does not violate any syntax rule or constraint.
You asserted that it does, but didn't elaborate. I asked you
directly what syntax rule or constraint it violates.

I can't imagine a valid rationale for refusing to answer that
question, and I find your behavior very frustrating. My frustration
is compounded by the fact that, for whatever reason, you gave no
response at all for several weeks.

I am, for now, convinced that the code in question has undefined
behavior but does not violate any syntax error or constraint.
I respect your technical abilities enough that I'm hesitant to assume
that you're wrong, but that's the only conclusion I can make unless
you choose to explain what you're talking about.

>> Does it occur to you that you would save everyone a lot of time if
>> you'd explain what you mean in the first place?
>
> You say that like you think saving people time should always
> be my highest priority. It isn't, at least not always.
> When there is some tension between two or more areas of
> consideration usually (at least) one has to be shortchanged.
> I prioritize the factors I think are the most important in
> each particular case. I'm sorry if my choices seem poor to
> you but I need to follow the path that I think has the best
> chance of success.

No, I'm not saying saving people time should "always be [your]
highest priority". That's an absurd exaggeration. I'm saying
that it should be one thing for you to consider. You mention the
"best chance of success". Success at what?

I'm having great difficulty reaching a conclusion other than that
you're being rude, inconsiderate, and deliberately evasive, for no
reason that I can discern. I think that's probably not your intent.
I welcome any clarification you can offer.

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Will write code for food.
void Void(void) { Void(); } /* The recursive call of the void */

Re: bart again (UCX64)

<867cn92xa0.fsf@linuxsc.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=30124&group=comp.lang.c#30124

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tr.17...@z991.linuxsc.com (Tim Rentsch)
Newsgroups: comp.lang.c
Subject: Re: bart again (UCX64)
Date: Thu, 26 Oct 2023 08:55:51 -0700
Organization: A noiseless patient Spider
Lines: 162
Message-ID: <867cn92xa0.fsf@linuxsc.com>
References: <b74c088d-09e6-4842-8b6c-1921d68154c7n@googlegroups.com> <20230901114625.198@kylheku.com> <ucthrb$gvk$2@dont-email.me> <20230901135123.702@kylheku.com> <uctlpv$17t5$1@dont-email.me> <878r9p7b13.fsf@nosuchdomain.example.com> <ucu0tf$2mht$1@dont-email.me> <20230901175635.91@kylheku.com> <ucv4e6$d0c9$1@dont-email.me> <ucvna1$fb08$7@dont-email.me> <ud00bc$grer$1@dont-email.me> <ud23ls$um2u$1@dont-email.me> <ud2eod$10jv5$1@dont-email.me> <ud4604$1cbam$1@dont-email.me> <ud4a6a$1d4cd$1@dont-email.me> <ud4rbl$1h1t4$1@dont-email.me> <87h6o95znv.fsf@nosuchdomain.example.com> <86jzt5pgho.fsf@linuxsc.com> <87zg214c1j.fsf@nosuchdomain.example.com> <868r8nfx49.fsf@linuxsc.com> <87ttrbqniz.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: dont-email.me; posting-host="3aed70167cdc0c0f0f06e8d027845ce8";
logging-data="1794242"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18U8iuAFOX1J+mk1loTl49K+g6NCTbkSow="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:bqiXhbhpgxGa23D/j0d2WqXNdkY=
sha1:NsDLoiGtDrYj4R7b2PUKmdrvSuQ=
 by: Tim Rentsch - Thu, 26 Oct 2023 15:55 UTC

Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:

> Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
>
>> Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>>
>>> Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
>>>
>>>> Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>>>>
>>>>> David Brown <david.brown@hesbynett.no> writes:
>>>>>
>>>>>> On 04/09/2023 12:06, Bart wrote:
>>>>>
>>>>> [...]
>>>>>
>>>>>>> char* fred(void) {
>>>>>>> (long long int)rand()*3.14159;
>>>>>>> }
>>>>>>> int main(void) {
>>>>>>> printf("%s\n", fred());
>>>>>>> }
>>>>>
>>>>> [...]
>>>>>
>>>>>> As you know, it is not valid C code. As you know, proper C
>>>>>> compilers will - at least - warn you about it when asked to
>>>>>> treat the input according to the C standards. As you know,
>>>>>> there isn't a compiler in the world for any language which
>>>>>> will stop programmers from writing incorrect code.
>>>>>
>>>>> Given the context of the discussion, pedantry seems appropriate.
>>>>>
>>>>> It's invalid C code because it doesn't declare rand() and
>>>>> printf(), correctable by adding `#include <stdlib.h>` and
>>>>> `#include <stdio.h>`. (It also contains NO-BREAK SPACE
>>>>> characters, but that's that's just a Usenet formatting issue.)
>>>>>
>>>>> Other than that, a conforming C compiler is not required to
>>>>> diagnose the above code. It does have undefined behavior, and
>>>>> a C compiler is likely to warn about it with appropriate
>>>>> warnings, but it does not violate any syntax rule or
>>>>> constraint.
>>>>
>>>> I say it does.
>>>
>>> If you're right, then gcc 13.2.0 and clang 16.0.0 have a bug.
>>> Both compile the above code (once the required #include
>>> directives are added) without error, though clang prints a
>>> couple of optional warnings. I used "-std=c17 -pedantic-errors"
>>> with both compilers. (With "-Wall", gcc prints warnings similar
>>> to the ones clang prints without it.)
>>>
>>> What syntax rule or constraint does it violate?
>>
>> I'm sorry the point I was trying to make got lost. I was
>> hoping for some value to result from my comment, and I feel
>> bad that that is unlikely to happen. I'll try to do better
>> next time.

I am retaining all the above content, even though most of it isn't
relevant to what I have to say, because I don't know how to
summarize it succinctly without losing some essential context.

I realized at some point that my earlier statement was not
understood the way I meant it. Rather than try to go back and
unwind the miscommunication, I decided to just drop it. I
withdraw my earlier statement. Okay?

> I'm sorry you chose not to answer my simple and direct question.
>
> What syntax rule or constraint does the code violate?
>
> Also, what was the point you were trying to make?
>
> I asserted that the code (after adding the required #include
> directives) does not violate any syntax rule or constraint.
> You asserted that it does, but didn't elaborate. I asked you
> directly what syntax rule or constraint it violates.
>
> I can't imagine a valid rationale for refusing to answer that
> question, and I find your behavior very frustrating. My
> frustration is compounded by the fact that, for whatever reason,
> you gave no response at all for several weeks.

Let me say a few things related to the last few paragraphs.

In order to have a useful discussion about a statement or a
question, there needs to be a shared understanding of what the
statement means or what the question is asking. In the absence
of such shared understanding, the discussion is likely to become
difficult, frustrating, unproductive, or worse, or some
combination of the above. I think a lot of our difficulties stem
from not having a shared understanding of the statements or
questions being discussed. Do you see what I mean by that?

On the subject of asking questions, I think anyone in the group
should feel free to pose any question that is asked in good faith
(by which I mean to exclude sentences written in the form of a
question but having a different purpose, and other similar forms
of bad faith "questions"). At the same time, the license to ask
a question does not confer any expectation that one is entitled
to receive any answer. That is the same as with any request. If
someone thinks asking a question obligates the recipient, in any
way, to provide an answer, I must politely demur: it is their
right to ask, it is my right to choose how or whether to answer.

> I am, for now, convinced that the code in question has undefined
> behavior but does not violate any syntax error or constraint. I
> respect your technical abilities enough that I'm hesitant to
> assume that you're wrong, but that's the only conclusion I can
> make unless you choose to explain what you're talking about.

I suggest we both simply forget about it. Probably each of us
misunderstood the other, and it's more trouble than it's worth
(to be clear, in this particular instance) to try to fix that.
Better just to move on.

>>> Does it occur to you that you would save everyone a lot of
>>> time if you'd explain what you mean in the first place?
>>
>> You say that like you think saving people time should always
>> be my highest priority. It isn't, at least not always.
>> When there is some tension between two or more areas of
>> consideration usually (at least) one has to be shortchanged.
>> I prioritize the factors I think are the most important in
>> each particular case. I'm sorry if my choices seem poor to
>> you but I need to follow the path that I think has the best
>> chance of success.
>
> No, I'm not saying saving people time should "always be [your]
> highest priority". That's an absurd exaggeration. I'm saying
> that it should be one thing for you to consider. You mention the
> "best chance of success". Success at what?

Success at whatever I think is most important to accomplish,
which varies a lot depending on circumstances.

> I'm having great difficulty reaching a conclusion other than that
> you're being rude, inconsiderate, and deliberately evasive, for no
> reason that I can discern. I think that's probably not your
> intent. I welcome any clarification you can offer.

I think you have a lot of unconscious assumptions about how
other people see things. Nothing wrong with that, almost
everyone does. Somehow though it seems hard for you to accept
that just because someone has different values than you it
doesn't mean their values are wrong, even though you might not
understand what those values are. You frequently show various
behaviors in the group that I perceive as inconsiderate or rude
or both. I know that you have different values than my own. I
accept what you do as being respectful of various proprieties
and other people, in the frame of your own value system, even
though at times it comes across to me as being tone deaf,
inconsiderate, disrespectful, or rude. It's just part of
different people being different. When in the course of a
discussion it becomes frustrating because of what seems to you
to be rude or inconsiderate behavior, I encourage you to take a
step back from the matter under discussion, and instead try to
discover what differences there may be in the value systems of
the different participants.

Re: bart again (UCX64)

<87bkcljhzh.fsf@nosuchdomain.example.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=30131&group=comp.lang.c#30131

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!usenet.network!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c
Subject: Re: bart again (UCX64)
Date: Thu, 26 Oct 2023 12:34:10 -0700
Organization: None to speak of
Lines: 192
Message-ID: <87bkcljhzh.fsf@nosuchdomain.example.com>
References: <b74c088d-09e6-4842-8b6c-1921d68154c7n@googlegroups.com>
<ucthrb$gvk$2@dont-email.me> <20230901135123.702@kylheku.com>
<uctlpv$17t5$1@dont-email.me>
<878r9p7b13.fsf@nosuchdomain.example.com>
<ucu0tf$2mht$1@dont-email.me> <20230901175635.91@kylheku.com>
<ucv4e6$d0c9$1@dont-email.me> <ucvna1$fb08$7@dont-email.me>
<ud00bc$grer$1@dont-email.me> <ud23ls$um2u$1@dont-email.me>
<ud2eod$10jv5$1@dont-email.me> <ud4604$1cbam$1@dont-email.me>
<ud4a6a$1d4cd$1@dont-email.me> <ud4rbl$1h1t4$1@dont-email.me>
<87h6o95znv.fsf@nosuchdomain.example.com> <86jzt5pgho.fsf@linuxsc.com>
<87zg214c1j.fsf@nosuchdomain.example.com> <868r8nfx49.fsf@linuxsc.com>
<87ttrbqniz.fsf@nosuchdomain.example.com> <867cn92xa0.fsf@linuxsc.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="3fd89baf230d4414f6c1ba98670a74bd";
logging-data="1912657"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/IZNStammGtlaLHJUZNpMK"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:KQ4HGl0Tmqyo0zku28aLSVmmYG4=
sha1:FeZ4zRoHJVmCogzTXVcPzsNoC5g=
 by: Keith Thompson - Thu, 26 Oct 2023 19:34 UTC

[Large block of quoted text, brief reply at the end.]

Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
> Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>> Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
>>> Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>>>> Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
>>>>> Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>>>>>> David Brown <david.brown@hesbynett.no> writes:
>>>>>>> On 04/09/2023 12:06, Bart wrote:
>>>>>>
>>>>>> [...]
>>>>>>
>>>>>>>> char* fred(void) {
>>>>>>>> (long long int)rand()*3.14159;
>>>>>>>> }
>>>>>>>> int main(void) {
>>>>>>>> printf("%s\n", fred());
>>>>>>>> }
>>>>>>
>>>>>> [...]
>>>>>>
>>>>>>> As you know, it is not valid C code. As you know, proper C
>>>>>>> compilers will - at least - warn you about it when asked to
>>>>>>> treat the input according to the C standards. As you know,
>>>>>>> there isn't a compiler in the world for any language which
>>>>>>> will stop programmers from writing incorrect code.
>>>>>>
>>>>>> Given the context of the discussion, pedantry seems appropriate.
>>>>>>
>>>>>> It's invalid C code because it doesn't declare rand() and
>>>>>> printf(), correctable by adding `#include <stdlib.h>` and
>>>>>> `#include <stdio.h>`. (It also contains NO-BREAK SPACE
>>>>>> characters, but that's that's just a Usenet formatting issue.)
>>>>>>
>>>>>> Other than that, a conforming C compiler is not required to
>>>>>> diagnose the above code. It does have undefined behavior, and
>>>>>> a C compiler is likely to warn about it with appropriate
>>>>>> warnings, but it does not violate any syntax rule or
>>>>>> constraint.
>>>>>
>>>>> I say it does.
>>>>
>>>> If you're right, then gcc 13.2.0 and clang 16.0.0 have a bug.
>>>> Both compile the above code (once the required #include
>>>> directives are added) without error, though clang prints a
>>>> couple of optional warnings. I used "-std=c17 -pedantic-errors"
>>>> with both compilers. (With "-Wall", gcc prints warnings similar
>>>> to the ones clang prints without it.)
>>>>
>>>> What syntax rule or constraint does it violate?
>>>
>>> I'm sorry the point I was trying to make got lost. I was
>>> hoping for some value to result from my comment, and I feel
>>> bad that that is unlikely to happen. I'll try to do better
>>> next time.
>
> I am retaining all the above content, even though most of it isn't
> relevant to what I have to say, because I don't know how to
> summarize it succinctly without losing some essential context.
>
> I realized at some point that my earlier statement was not
> understood the way I meant it. Rather than try to go back and
> unwind the miscommunication, I decided to just drop it. I
> withdraw my earlier statement. Okay?
>
>> I'm sorry you chose not to answer my simple and direct question.
>>
>> What syntax rule or constraint does the code violate?
>>
>> Also, what was the point you were trying to make?
>>
>> I asserted that the code (after adding the required #include
>> directives) does not violate any syntax rule or constraint.
>> You asserted that it does, but didn't elaborate. I asked you
>> directly what syntax rule or constraint it violates.
>>
>> I can't imagine a valid rationale for refusing to answer that
>> question, and I find your behavior very frustrating. My
>> frustration is compounded by the fact that, for whatever reason,
>> you gave no response at all for several weeks.
>
> Let me say a few things related to the last few paragraphs.
>
> In order to have a useful discussion about a statement or a
> question, there needs to be a shared understanding of what the
> statement means or what the question is asking. In the absence
> of such shared understanding, the discussion is likely to become
> difficult, frustrating, unproductive, or worse, or some
> combination of the above. I think a lot of our difficulties stem
> from not having a shared understanding of the statements or
> questions being discussed. Do you see what I mean by that?
>
> On the subject of asking questions, I think anyone in the group
> should feel free to pose any question that is asked in good faith
> (by which I mean to exclude sentences written in the form of a
> question but having a different purpose, and other similar forms
> of bad faith "questions"). At the same time, the license to ask
> a question does not confer any expectation that one is entitled
> to receive any answer. That is the same as with any request. If
> someone thinks asking a question obligates the recipient, in any
> way, to provide an answer, I must politely demur: it is their
> right to ask, it is my right to choose how or whether to answer.
>
>> I am, for now, convinced that the code in question has undefined
>> behavior but does not violate any syntax error or constraint. I
>> respect your technical abilities enough that I'm hesitant to
>> assume that you're wrong, but that's the only conclusion I can
>> make unless you choose to explain what you're talking about.
>
> I suggest we both simply forget about it. Probably each of us
> misunderstood the other, and it's more trouble than it's worth
> (to be clear, in this particular instance) to try to fix that.
> Better just to move on.
>
>
>>>> Does it occur to you that you would save everyone a lot of
>>>> time if you'd explain what you mean in the first place?
>>>
>>> You say that like you think saving people time should always
>>> be my highest priority. It isn't, at least not always.
>>> When there is some tension between two or more areas of
>>> consideration usually (at least) one has to be shortchanged.
>>> I prioritize the factors I think are the most important in
>>> each particular case. I'm sorry if my choices seem poor to
>>> you but I need to follow the path that I think has the best
>>> chance of success.
>>
>> No, I'm not saying saving people time should "always be [your]
>> highest priority". That's an absurd exaggeration. I'm saying
>> that it should be one thing for you to consider. You mention the
>> "best chance of success". Success at what?
>
> Success at whatever I think is most important to accomplish,
> which varies a lot depending on circumstances.
>
>> I'm having great difficulty reaching a conclusion other than that
>> you're being rude, inconsiderate, and deliberately evasive, for no
>> reason that I can discern. I think that's probably not your
>> intent. I welcome any clarification you can offer.
>
> I think you have a lot of unconscious assumptions about how
> other people see things. Nothing wrong with that, almost
> everyone does. Somehow though it seems hard for you to accept
> that just because someone has different values than you it
> doesn't mean their values are wrong, even though you might not
> understand what those values are. You frequently show various
> behaviors in the group that I perceive as inconsiderate or rude
> or both. I know that you have different values than my own. I
> accept what you do as being respectful of various proprieties
> and other people, in the frame of your own value system, even
> though at times it comes across to me as being tone deaf,
> inconsiderate, disrespectful, or rude. It's just part of
> different people being different. When in the course of a
> discussion it becomes frustrating because of what seems to you
> to be rude or inconsiderate behavior, I encourage you to take a
> step back from the matter under discussion, and instead try to
> discover what differences there may be in the value systems of
> the different participants.

Let me offer a brief summary of this discussion.


Click here to read the complete article
Re: bart again (UCX64)

<uhfqlc$25n6f$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=30138&group=comp.lang.c#30138

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: bart again (UCX64)
Date: Fri, 27 Oct 2023 09:59:40 +0200
Organization: A noiseless patient Spider
Lines: 129
Message-ID: <uhfqlc$25n6f$1@dont-email.me>
References: <b74c088d-09e6-4842-8b6c-1921d68154c7n@googlegroups.com>
<20230901114625.198@kylheku.com> <ucthrb$gvk$2@dont-email.me>
<20230901135123.702@kylheku.com> <uctlpv$17t5$1@dont-email.me>
<878r9p7b13.fsf@nosuchdomain.example.com> <ucu0tf$2mht$1@dont-email.me>
<20230901175635.91@kylheku.com> <ucv4e6$d0c9$1@dont-email.me>
<ucvna1$fb08$7@dont-email.me> <ud00bc$grer$1@dont-email.me>
<ud23ls$um2u$1@dont-email.me> <ud2eod$10jv5$1@dont-email.me>
<ud4604$1cbam$1@dont-email.me> <ud4a6a$1d4cd$1@dont-email.me>
<ud4rbl$1h1t4$1@dont-email.me> <87h6o95znv.fsf@nosuchdomain.example.com>
<86jzt5pgho.fsf@linuxsc.com> <87zg214c1j.fsf@nosuchdomain.example.com>
<868r8nfx49.fsf@linuxsc.com> <87ttrbqniz.fsf@nosuchdomain.example.com>
<867cn92xa0.fsf@linuxsc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 27 Oct 2023 07:59:40 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d569749c92a7f73a017f68a1ac460f0f";
logging-data="2284751"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19RLqNFzJ0Xg1XAZDyyekNxMFlAz9HeiBE="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:jAjFx4ZBLLy+AhYDIKaRAP3xPYk=
In-Reply-To: <867cn92xa0.fsf@linuxsc.com>
Content-Language: en-GB
 by: David Brown - Fri, 27 Oct 2023 07:59 UTC

On 26/10/2023 17:55, Tim Rentsch wrote:
> Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>
>> Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
>>
>>> Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>>>
>>>> Tim Rentsch <tr.17687@z991.linuxsc.com> writes:

>> I am, for now, convinced that the code in question has undefined
>> behavior but does not violate any syntax error or constraint. I
>> respect your technical abilities enough that I'm hesitant to
>> assume that you're wrong, but that's the only conclusion I can
>> make unless you choose to explain what you're talking about.
>
> I suggest we both simply forget about it. Probably each of us
> misunderstood the other, and it's more trouble than it's worth
> (to be clear, in this particular instance) to try to fix that.
> Better just to move on.
>

I know you, Tim, either do not read my posts, or you make a specific
point of not replying to them. But in case you do read them, and think
about what I write, I sometimes reply to your posts if I have a
particularly strong opinion or follow-up point.

Your refusal to answer Keith's question and "just move on" post screams
"I was wrong but I won't admit it - I'd rather everyone forgot about
it". You are very rarely wrong on technical issues - perhaps you have
little experience with it. But as someone who knows he makes mistakes
sometimes, I can tell you it is actually a pleasant feeling to say "You
are right Keith, thanks for correcting me - I learned something new
today!". It is even good to say "My gut feeling is that this is a
syntax error, but I can't find any specific rule for now - maybe I'm
wrong, or maybe I'll find the rule in the future, but I'm not
prioritising the search at the moment".

As it stands, you leave me with "I was wrong but I won't admit it" as
the only rational interpretation of your post. I doubt if you care
about the impression you give /me/, but I believe many others will share
that impression - and I don't believe that was the impression you
intended to give. Maybe you will give a better explanation, or maybe
you will just answer Keith's question.

I think everyone can agree that no one here is obligated to answer
questions. But I do think we are all obligated to follow common rules
of decency and respect, as we each see them (being fully aware that such
"rules" are not universal). So we mostly try to avoid accusations,
insults, swearing, etc., and try to have polite and considered
discussions. And I personally think that if a person has made a
provocative post, respect for the poster and the group demands a
reasonable continuation of the conversation - "drive-by shootings" are
not polite. I appreciate that your "once a teacher, always a teacher"
instincts mean you like to give teasers, partial answers and questions
encouraging others to think for themselves. But failing to follow up
(within a reasonable time frame!) these teasers is a failure as a teacher.

>
>>>> Does it occur to you that you would save everyone a lot of
>>>> time if you'd explain what you mean in the first place?
>>>
>>> You say that like you think saving people time should always
>>> be my highest priority. It isn't, at least not always.
>>> When there is some tension between two or more areas of
>>> consideration usually (at least) one has to be shortchanged.
>>> I prioritize the factors I think are the most important in
>>> each particular case. I'm sorry if my choices seem poor to
>>> you but I need to follow the path that I think has the best
>>> chance of success.
>>
>> No, I'm not saying saving people time should "always be [your]
>> highest priority". That's an absurd exaggeration. I'm saying
>> that it should be one thing for you to consider. You mention the
>> "best chance of success". Success at what?
>
> Success at whatever I think is most important to accomplish,
> which varies a lot depending on circumstances.

Such politician answers are not helpful here.

>
>> I'm having great difficulty reaching a conclusion other than that
>> you're being rude, inconsiderate, and deliberately evasive, for no
>> reason that I can discern. I think that's probably not your
>> intent. I welcome any clarification you can offer.
>
> I think you have a lot of unconscious assumptions about how
> other people see things. Nothing wrong with that, almost
> everyone does. Somehow though it seems hard for you to accept
> that just because someone has different values than you it
> doesn't mean their values are wrong, even though you might not
> understand what those values are. You frequently show various
> behaviors in the group that I perceive as inconsiderate or rude
> or both.

I am at a complete loss for how you could get that impression from Keith
(based on his Usenet postings). That we all have different values is
obvious - we are all different people. But of all the adjectives that
could be used to describe Keith, I would never have thought of "rude" or
"inconsiderate". Normally, if someone referred to Keith as frequently
being rude or inconsiderate, I'd assume they were mixing him up with the
other other Keith. In this case, however, I think it is simply that you
do not take well to criticism - Keith openly takes issue with clear
failings in your style of communication, and you respond by accusing him
of being rude, failing to appreciate that you might have different but
valid "values", and of misunderstanding you. (I was put on your naughty
list for pretty much the same "crime".)

> I know that you have different values than my own. I
> accept what you do as being respectful of various proprieties
> and other people, in the frame of your own value system, even
> though at times it comes across to me as being tone deaf,
> inconsiderate, disrespectful, or rude. It's just part of
> different people being different. When in the course of a
> discussion it becomes frustrating because of what seems to you
> to be rude or inconsiderate behavior, I encourage you to take a
> step back from the matter under discussion, and instead try to
> discover what differences there may be in the value systems of
> the different participants.

That sounds like good advice. You should try it yourself.

Re: bart again (UCX64)

<uhicma$2p6gh$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=30152&group=comp.lang.c#30152

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jameskuy...@alumni.caltech.edu (James Kuyper)
Newsgroups: comp.lang.c
Subject: Re: bart again (UCX64)
Date: Sat, 28 Oct 2023 03:19:38 -0400
Organization: A noiseless patient Spider
Lines: 56
Message-ID: <uhicma$2p6gh$1@dont-email.me>
References: <b74c088d-09e6-4842-8b6c-1921d68154c7n@googlegroups.com>
<20230901114625.198@kylheku.com> <ucthrb$gvk$2@dont-email.me>
<20230901135123.702@kylheku.com> <uctlpv$17t5$1@dont-email.me>
<878r9p7b13.fsf@nosuchdomain.example.com> <ucu0tf$2mht$1@dont-email.me>
<20230901175635.91@kylheku.com> <ucv4e6$d0c9$1@dont-email.me>
<ucvna1$fb08$7@dont-email.me> <ud00bc$grer$1@dont-email.me>
<ud23ls$um2u$1@dont-email.me> <ud2eod$10jv5$1@dont-email.me>
<ud4604$1cbam$1@dont-email.me> <ud4a6a$1d4cd$1@dont-email.me>
<ud4rbl$1h1t4$1@dont-email.me> <87h6o95znv.fsf@nosuchdomain.example.com>
<86jzt5pgho.fsf@linuxsc.com> <87zg214c1j.fsf@nosuchdomain.example.com>
<868r8nfx49.fsf@linuxsc.com> <87ttrbqniz.fsf@nosuchdomain.example.com>
<867cn92xa0.fsf@linuxsc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 28 Oct 2023 07:19:39 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5d135718769a55ebe074e300cdce3ebd";
logging-data="2923025"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19MJyPcT2XBFKCvRWnCqDmUmhNND6g5VbE="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:oYwRjDfg160L6UwzCfSDJX3OB/Q=
In-Reply-To: <867cn92xa0.fsf@linuxsc.com>
Content-Language: en-US
 by: James Kuyper - Sat, 28 Oct 2023 07:19 UTC

On 26/10/2023 17:55, Tim Rentsch wrote:
> Keith Thompson <Keith.S.T...@gmail.com> writes:
....
>> I asserted that the code (after adding the required #include
>> directives) does not violate any syntax rule or constraint.
>> You asserted that it does, but didn't elaborate. I asked you
>> directly what syntax rule or constraint it violates.
>>
>> I can't imagine a valid rationale for refusing to answer that
>> question, and I find your behavior very frustrating. My
>> frustration is compounded by the fact that, for whatever reason,
>> you gave no response at all for several weeks.
....
> On the subject of asking questions, I think anyone in the group
> should feel free to pose any question that is asked in good faith
> (by which I mean to exclude sentences written in the form of a
> question but having a different purpose, and other similar forms
> of bad faith "questions"). At the same time, the license to ask
> a question does not confer any expectation that one is entitled
> to receive any answer.

While I can agree with those assertions, the problem predates Keith's
question. Your claim that it does violate a syntax rule or constraint
incurred an obligation to identify the violation, an obligation you
could have most easily fulfilled by doing so immediately after making
the claim. That you failed to do so is the fundamental problem. Keith's
question served merely to remind you of that unfulfilled obligation.
That you failed to respond when reminded is merely a repeat of the
original problem.

I really don't understand why you would claim that there was a syntax
error or constraint violation, and then fail to identify it. I don't see
what purpose such an unsupported claim serves. A supported claim would
serve the purpose of furthering the discussion.

>> I am, for now, convinced that the code in question has undefined
>> behavior but does not violate any syntax error or constraint. I
>> respect your technical abilities enough that I'm hesitant to
>> assume that you're wrong, but that's the only conclusion I can
>> make unless you choose to explain what you're talking about.

I agree - an unsupported claim can serve no other purpose than to
justify that conclusion. Since I doubt that you desired to inspire that
conclusion, I don't see why you failed to support it.

....
>> No, I'm not saying saving people time should "always be [your]
>> highest priority". That's an absurd exaggeration. I'm saying
>> that it should be one thing for you to consider. You mention the
>> "best chance of success". Success at what?
>
> Success at whatever I think is most important to accomplish,
> which varies a lot depending on circumstances.

Which misses the point - he was asking specifically about the
circumstances of this particular unsupported claim.

Re: bart again (UCX64)

<87sf5uioqk.fsf@nosuchdomain.example.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=30153&group=comp.lang.c#30153

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c
Subject: Re: bart again (UCX64)
Date: Sat, 28 Oct 2023 11:30:27 -0700
Organization: None to speak of
Lines: 24
Message-ID: <87sf5uioqk.fsf@nosuchdomain.example.com>
References: <b74c088d-09e6-4842-8b6c-1921d68154c7n@googlegroups.com>
<uctlpv$17t5$1@dont-email.me>
<878r9p7b13.fsf@nosuchdomain.example.com>
<ucu0tf$2mht$1@dont-email.me> <20230901175635.91@kylheku.com>
<ucv4e6$d0c9$1@dont-email.me> <ucvna1$fb08$7@dont-email.me>
<ud00bc$grer$1@dont-email.me> <ud23ls$um2u$1@dont-email.me>
<ud2eod$10jv5$1@dont-email.me> <ud4604$1cbam$1@dont-email.me>
<ud4a6a$1d4cd$1@dont-email.me> <ud4rbl$1h1t4$1@dont-email.me>
<87h6o95znv.fsf@nosuchdomain.example.com> <86jzt5pgho.fsf@linuxsc.com>
<87zg214c1j.fsf@nosuchdomain.example.com> <868r8nfx49.fsf@linuxsc.com>
<87ttrbqniz.fsf@nosuchdomain.example.com> <867cn92xa0.fsf@linuxsc.com>
<87bkcljhzh.fsf@nosuchdomain.example.com> <86v8aq1zzv.fsf@linuxsc.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="36bf14f2dec915f207019e72658bae33";
logging-data="3630736"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18PjlzVQ9gPocqdpf8VjJXg"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:lSc9m2y5RjBGQ9bPEsXN+eusRk0=
sha1:D7wYgFQDSA1BLCUZaHGYtX3XB1g=
 by: Keith Thompson - Sat, 28 Oct 2023 18:30 UTC

Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
> Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>
> [...]
>
> I see now it was a bad idea to send my last message via
> a public forum. If you send me an email I will try to
> send you a reply.

I posted an assertion publicly, that a certain piece of code violates
no constraints or syntax rules. You publicly claimed that it does.
I publicly asked you to back up your claim. I see no reason to
conduct further discussion about this C technical issue in private.
At this point, I have nothing to say in email that I haven't already
said here.

Feel free to email me if you like. If you specifically ask me not
to share whatever you say to me in email, I will comply; otherwise
I reserve the right to quote it here if I think it's topical.

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Will write code for food.
void Void(void) { Void(); } /* The recursive call of the void */

Re: bart again (UCX64)

<uj9jnq$373ka$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=30274&group=comp.lang.c#30274

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!news.furie.org.uk!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jameskuy...@alumni.caltech.edu (James Kuyper)
Newsgroups: comp.lang.c
Subject: Re: bart again (UCX64)
Date: Sat, 18 Nov 2023 00:57:14 -0500
Organization: A noiseless patient Spider
Lines: 68
Message-ID: <uj9jnq$373ka$1@dont-email.me>
References: <b74c088d-09e6-4842-8b6c-1921d68154c7n@googlegroups.com>
<ucsg9u$3ofr6$1@dont-email.me> <20230901104426.371@kylheku.com>
<uct9hv$3v1lb$2@dont-email.me> <20230901114625.198@kylheku.com>
<ucthrb$gvk$2@dont-email.me> <20230901135123.702@kylheku.com>
<uctlpv$17t5$1@dont-email.me> <878r9p7b13.fsf@nosuchdomain.example.com>
<ucu0tf$2mht$1@dont-email.me> <20230901175635.91@kylheku.com>
<ucv4e6$d0c9$1@dont-email.me> <ucvna1$fb08$7@dont-email.me>
<ud00bc$grer$1@dont-email.me> <ud23ls$um2u$1@dont-email.me>
<ud2eod$10jv5$1@dont-email.me> <ud4604$1cbam$1@dont-email.me>
<ud4a6a$1d4cd$1@dont-email.me> <ud4rbl$1h1t4$1@dont-email.me>
<87h6o95znv.fsf@nosuchdomain.example.com> <86jzt5pgho.fsf@linuxsc.com>
<87zg214c1j.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 18 Nov 2023 05:57:14 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="263a29deb7268462c164b952cc996335";
logging-data="3378826"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+AtV+SKPmK4iw9NeK8TNsH/5AA2g65bjY="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:KXW2fS5epjteD93VWSibum7tP+A=
Content-Language: en-US
In-Reply-To: <87zg214c1j.fsf@nosuchdomain.example.com>
 by: James Kuyper - Sat, 18 Nov 2023 05:57 UTC

On 2023-11-18 at 00:17 EST, Tim Rentsch wrote:
> I don't remember any outstanding question from the discussion of
> falling off the end of a non-void function. Looking back over
> postings from you responding to a posting of mine I don't see
> any either. I guess it's possible there was a question but I
> didn't see it. In any case I have no idea what question in that
> thread you want answered, so if you still want an answer please
> ask the question again.

The question he was referring to was the very last sentence of the
following text, which comes from a message posted on the thread titled
"bart again (UCX64)". You never answered it. Keith posted three more
messages on that subthread repeating the question and asking why you had
not bothered answering it. You answered with the same useless comments
about needing a "shared understanding of what the statement means" that
you're using in this thread. What makes those comments useless is not
that they are wrong, but that you failed to explain what understanding
you think is not shared between you and Keith. Because you failed to
explain that, I have no idea why you think it's needed to answer a
simple straightforward question like the following:

On 9/4/23 21:57, Keith Thompson wrote:
> Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
>> Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>>> David Brown <david.brown@hesbynett.no> writes:
>>>> On 04/09/2023 12:06, Bart wrote:
>>> [...]
>>>
>>>>> char* fred(void) {
>>>>> (long long int)rand()*3.14159;
>>>>> }
>>>>> int main(void) {
>>>>> printf("%s\n", fred());
>>>>> }
>>>
>>> [...]
>>>
>>>> As you know, it is not valid C code. As you know, proper C compilers
>>>> will - at least - warn you about it when asked to treat the input
>>>> according to the C standards. As you know, there isn't a compiler in
>>>> the world for any language which will stop programmers from writing
>>>> incorrect code.
>>>
>>> Given the context of the discussion, pedantry seems appropriate.
>>>
>>> It's invalid C code because it doesn't declare rand() and printf(),
>>> correctable by adding `#include <stdlib.h>` and `#include <stdio.h>`.
>>> (It also contains NO-BREAK SPACE characters, but that's that's just a
>>> Usenet formatting issue.)
>>>
>>> Other than that, a conforming C compiler is not required to diagnose
>>> the above code. It does have undefined behavior, and a C compiler is
>>> likely to warn about it with appropriate warnings, but it does not
>>> violate any syntax rule or constraint.
>>
>> I say it does.

That would have been the correct place to identify the syntax rule or
constraint you think it violates, and I have no idea why you failed to
do so.

> If you're right, then gcc 13.2.0 and clang 16.0.0 have a bug. Both
> compile the above code (once the required #include directives are added)
> without error, though clang prints a couple of optional warnings. I used
> "-std=c17 -pedantic-errors" with both compilers. (With "-Wall", gcc
> prints warnings similar to the ones clang prints without it.)
>
> What syntax rule or constraint does it violate?

Re: bart again (UCX64)

<87sf53dvmd.fsf@nosuchdomain.example.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=30275&group=comp.lang.c#30275

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c
Subject: Re: bart again (UCX64)
Date: Sat, 18 Nov 2023 05:44:10 -0800
Organization: None to speak of
Lines: 93
Message-ID: <87sf53dvmd.fsf@nosuchdomain.example.com>
References: <b74c088d-09e6-4842-8b6c-1921d68154c7n@googlegroups.com>
<uct9hv$3v1lb$2@dont-email.me> <20230901114625.198@kylheku.com>
<ucthrb$gvk$2@dont-email.me> <20230901135123.702@kylheku.com>
<uctlpv$17t5$1@dont-email.me>
<878r9p7b13.fsf@nosuchdomain.example.com>
<ucu0tf$2mht$1@dont-email.me> <20230901175635.91@kylheku.com>
<ucv4e6$d0c9$1@dont-email.me> <ucvna1$fb08$7@dont-email.me>
<ud00bc$grer$1@dont-email.me> <ud23ls$um2u$1@dont-email.me>
<ud2eod$10jv5$1@dont-email.me> <ud4604$1cbam$1@dont-email.me>
<ud4a6a$1d4cd$1@dont-email.me> <ud4rbl$1h1t4$1@dont-email.me>
<87h6o95znv.fsf@nosuchdomain.example.com> <86jzt5pgho.fsf@linuxsc.com>
<87zg214c1j.fsf@nosuchdomain.example.com>
<uj9jnq$373ka$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="ffbf1726d022f3b93d004de80f69bfcf";
logging-data="3502715"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18mD5YMcJBdDfG4Za09KPf6"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:SJxJ3acOdhYq60XIscALWgm1mRg=
sha1:uhp6VivImPuxali+zMLTTgMRimA=
 by: Keith Thompson - Sat, 18 Nov 2023 13:44 UTC

James Kuyper <jameskuyper@alumni.caltech.edu> writes:
> On 2023-11-18 at 00:17 EST, Tim Rentsch wrote:
>> I don't remember any outstanding question from the discussion of
>> falling off the end of a non-void function. Looking back over
>> postings from you responding to a posting of mine I don't see
>> any either. I guess it's possible there was a question but I
>> didn't see it. In any case I have no idea what question in that
>> thread you want answered, so if you still want an answer please
>> ask the question again.
>
> The question he was referring to was the very last sentence of the
> following text, which comes from a message posted on the thread titled
> "bart again (UCX64)". You never answered it. Keith posted three more
> messages on that subthread repeating the question and asking why you had
> not bothered answering it. You answered with the same useless comments
> about needing a "shared understanding of what the statement means" that
> you're using in this thread. What makes those comments useless is not
> that they are wrong, but that you failed to explain what understanding
> you think is not shared between you and Keith. Because you failed to
> explain that, I have no idea why you think it's needed to answer a
> simple straightforward question like the following:
>
> On 9/4/23 21:57, Keith Thompson wrote:
>> Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
>>> Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>>>> David Brown <david.brown@hesbynett.no> writes:
>>>>> On 04/09/2023 12:06, Bart wrote:
>>>> [...]
>>>>
>>>>>> char* fred(void) {
>>>>>> (long long int)rand()*3.14159;
>>>>>> }
>>>>>> int main(void) {
>>>>>> printf("%s\n", fred());
>>>>>> }
>>>>
>>>> [...]
>>>>
>>>>> As you know, it is not valid C code. As you know, proper C compilers
>>>>> will - at least - warn you about it when asked to treat the input
>>>>> according to the C standards. As you know, there isn't a compiler in
>>>>> the world for any language which will stop programmers from writing
>>>>> incorrect code.
>>>>
>>>> Given the context of the discussion, pedantry seems appropriate.
>>>>
>>>> It's invalid C code because it doesn't declare rand() and printf(),
>>>> correctable by adding `#include <stdlib.h>` and `#include <stdio.h>`.
>>>> (It also contains NO-BREAK SPACE characters, but that's that's just a
>>>> Usenet formatting issue.)
>>>>
>>>> Other than that, a conforming C compiler is not required to diagnose
>>>> the above code. It does have undefined behavior, and a C compiler is
>>>> likely to warn about it with appropriate warnings, but it does not
>>>> violate any syntax rule or constraint.
>>>
>>> I say it does.
>
> That would have been the correct place to identify the syntax rule or
> constraint you think it violates, and I have no idea why you failed to
> do so.
>
>> If you're right, then gcc 13.2.0 and clang 16.0.0 have a bug. Both
>> compile the above code (once the required #include directives are added)
>> without error, though clang prints a couple of optional warnings. I used
>> "-std=c17 -pedantic-errors" with both compilers. (With "-Wall", gcc
>> prints warnings similar to the ones clang prints without it.)
>>
>> What syntax rule or constraint does it violate?

Yes, that is the question I was referring to. To repeat, given this
code:

char* fred(void) {
(long long int)rand()*3.14159;
}

int main(void) {
printf("%s\n", fred());
}

I asserted that it does not violate any syntax rule or constraint.
You asserted, with no explanation, that it does.

What syntax rule or constraint does it violate?

(Optional followup question: Why didn't you answer that when I first
asked it two and a half months ago?)

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Will write code for food.
void Void(void) { Void(); } /* The recursive call of the void */

Re: bart again (UCX64)

<861qcmxi7t.fsf@linuxsc.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=30278&group=comp.lang.c#30278

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tr.17...@z991.linuxsc.com (Tim Rentsch)
Newsgroups: comp.lang.c
Subject: Re: bart again (UCX64)
Date: Sun, 19 Nov 2023 00:25:42 -0800
Organization: A noiseless patient Spider
Lines: 83
Message-ID: <861qcmxi7t.fsf@linuxsc.com>
References: <b74c088d-09e6-4842-8b6c-1921d68154c7n@googlegroups.com> <20230901114625.198@kylheku.com> <ucthrb$gvk$2@dont-email.me> <20230901135123.702@kylheku.com> <uctlpv$17t5$1@dont-email.me> <878r9p7b13.fsf@nosuchdomain.example.com> <ucu0tf$2mht$1@dont-email.me> <20230901175635.91@kylheku.com> <ucv4e6$d0c9$1@dont-email.me> <ucvna1$fb08$7@dont-email.me> <ud00bc$grer$1@dont-email.me> <ud23ls$um2u$1@dont-email.me> <ud2eod$10jv5$1@dont-email.me> <ud4604$1cbam$1@dont-email.me> <ud4a6a$1d4cd$1@dont-email.me> <ud4rbl$1h1t4$1@dont-email.me> <87h6o95znv.fsf@nosuchdomain.example.com> <86jzt5pgho.fsf@linuxsc.com> <87zg214c1j.fsf@nosuchdomain.example.com> <uj9jnq$373ka$1@dont-email.me> <87sf53dvmd.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: dont-email.me; posting-host="ae8b767338abf0cfe4affb186a543991";
logging-data="3934338"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/t1b/QX58anjvc+7ajFdjHn7Za1FVyfJU="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:8fOTH9xTX4fol1HZeRNgtg3gRfA=
sha1:RGcqKarJNTe444mAPtXinZYfXB0=
 by: Tim Rentsch - Sun, 19 Nov 2023 08:25 UTC

Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:

> James Kuyper <jameskuyper@alumni.caltech.edu> writes:
>
>> On 2023-11-18 at 00:17 EST, Tim Rentsch wrote:
>>
>>> I don't remember any outstanding question from the discussion of
>>> falling off the end of a non-void function. Looking back over
>>> postings from you responding to a posting of mine I don't see
>>> any either. I guess it's possible there was a question but I
>>> didn't see it. In any case I have no idea what question in that
>>> thread you want answered, so if you still want an answer please
>>> ask the question again.
>>
>> The question he was referring to was the very last sentence of the
>> following text, which comes from a message posted on the thread titled
>> "bart again (UCX64)". You never answered it. Keith posted three more
>> messages on that subthread repeating the question and asking why you had
>> not bothered answering it. You answered with the same useless comments
>> about needing a "shared understanding of what the statement means" that
>> you're using in this thread. What makes those comments useless is not
>> that they are wrong, but that you failed to explain what understanding
>> you think is not shared between you and Keith. Because you failed to
>> explain that, I have no idea why you think it's needed to answer a
>> simple straightforward question like the following:
>>
>> On 9/4/23 21:57, Keith Thompson wrote:
>>
>>> Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
>>>
>>>> Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>>>>
>>>>> David Brown <david.brown@hesbynett.no> writes:
>>>>>
>>>>>> On 04/09/2023 12:06, Bart wrote:
>>>>>
>>>>> [...]
>>>>>
>>>>>>> char* fred(void) {
>>>>>>> (long long int)rand()*3.14159;
>>>>>>> }
>>>>>>> int main(void) {
>>>>>>> printf("%s\n", fred());
>>>>>>> }
>>>>>
>>>>> [...]
>>>>>
>>>>>> As you know, it is not valid C code. As you know, proper C compilers
>>>>>> will - at least - warn you about it when asked to treat the input
>>>>>> according to the C standards. As you know, there isn't a compiler in
>>>>>> the world for any language which will stop programmers from writing
>>>>>> incorrect code.
>>>>>
>>>>> Given the context of the discussion, pedantry seems appropriate.
>>>>>
>>>>> It's invalid C code because it doesn't declare rand() and printf(),
>>>>> correctable by adding `#include <stdlib.h>` and `#include <stdio.h>`.
>>>>> (It also contains NO-BREAK SPACE characters, but that's that's just a
>>>>> Usenet formatting issue.)
>>>>>
>>>>> Other than that, a conforming C compiler is not required to diagnose
>>>>> the above code. It does have undefined behavior, and a C compiler is
>>>>> likely to warn about it with appropriate warnings, but it does not
>>>>> violate any syntax rule or constraint.
>>>>
>>>> I say it does.
>>
>> That would have been the correct place to identify the syntax rule or
>> constraint you think it violates, and I have no idea why you failed to
>> do so.
>>
>>> If you're right, then gcc 13.2.0 and clang 16.0.0 have a bug. Both
>>> compile the above code (once the required #include directives are added)
>>> without error, though clang prints a couple of optional warnings. I used
>>> "-std=c17 -pedantic-errors" with both compilers. (With "-Wall", gcc
>>> prints warnings similar to the ones clang prints without it.)
>>>
>>> What syntax rule or constraint does it violate?
>
> Yes, that is the question I was referring to. [...]

I did answer. If you don't like my answer that's your
problem, not mine.

Re: bart again (UCX64)

<87jzqde9hy.fsf@nosuchdomain.example.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=30284&group=comp.lang.c#30284

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c
Subject: Re: bart again (UCX64)
Date: Sun, 19 Nov 2023 13:08:57 -0800
Organization: None to speak of
Lines: 106
Message-ID: <87jzqde9hy.fsf@nosuchdomain.example.com>
References: <b74c088d-09e6-4842-8b6c-1921d68154c7n@googlegroups.com>
<ucthrb$gvk$2@dont-email.me> <20230901135123.702@kylheku.com>
<uctlpv$17t5$1@dont-email.me>
<878r9p7b13.fsf@nosuchdomain.example.com>
<ucu0tf$2mht$1@dont-email.me> <20230901175635.91@kylheku.com>
<ucv4e6$d0c9$1@dont-email.me> <ucvna1$fb08$7@dont-email.me>
<ud00bc$grer$1@dont-email.me> <ud23ls$um2u$1@dont-email.me>
<ud2eod$10jv5$1@dont-email.me> <ud4604$1cbam$1@dont-email.me>
<ud4a6a$1d4cd$1@dont-email.me> <ud4rbl$1h1t4$1@dont-email.me>
<87h6o95znv.fsf@nosuchdomain.example.com> <86jzt5pgho.fsf@linuxsc.com>
<87zg214c1j.fsf@nosuchdomain.example.com>
<uj9jnq$373ka$1@dont-email.me>
<87sf53dvmd.fsf@nosuchdomain.example.com> <861qcmxi7t.fsf@linuxsc.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="b8add5050e7aac8273e402699bb87b58";
logging-data="4165695"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/YPNkuwY9SaJZkAXuSBvZi"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:/oBAjDZqMvrCoI+lg96Ao48LaSg=
sha1:HSX08yXSKPPlGlVDGxuZUwHYrc8=
 by: Keith Thompson - Sun, 19 Nov 2023 21:08 UTC

Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
> Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>> James Kuyper <jameskuyper@alumni.caltech.edu> writes:
>>> On 2023-11-18 at 00:17 EST, Tim Rentsch wrote:
>>>> I don't remember any outstanding question from the discussion of
>>>> falling off the end of a non-void function. Looking back over
>>>> postings from you responding to a posting of mine I don't see
>>>> any either. I guess it's possible there was a question but I
>>>> didn't see it. In any case I have no idea what question in that
>>>> thread you want answered, so if you still want an answer please
>>>> ask the question again.
>>>
>>> The question he was referring to was the very last sentence of the
>>> following text, which comes from a message posted on the thread titled
>>> "bart again (UCX64)". You never answered it. Keith posted three more
>>> messages on that subthread repeating the question and asking why you had
>>> not bothered answering it. You answered with the same useless comments
>>> about needing a "shared understanding of what the statement means" that
>>> you're using in this thread. What makes those comments useless is not
>>> that they are wrong, but that you failed to explain what understanding
>>> you think is not shared between you and Keith. Because you failed to
>>> explain that, I have no idea why you think it's needed to answer a
>>> simple straightforward question like the following:
>>>
>>> On 9/4/23 21:57, Keith Thompson wrote:
>>>
>>>> Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
>>>>
>>>>> Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>>>>>
>>>>>> David Brown <david.brown@hesbynett.no> writes:
>>>>>>
>>>>>>> On 04/09/2023 12:06, Bart wrote:
>>>>>>
>>>>>> [...]
>>>>>>
>>>>>>>> char* fred(void) {
>>>>>>>> (long long int)rand()*3.14159;
>>>>>>>> }
>>>>>>>> int main(void) {
>>>>>>>> printf("%s\n", fred());
>>>>>>>> }
>>>>>>
>>>>>> [...]
>>>>>>
>>>>>>> As you know, it is not valid C code. As you know, proper C compilers
>>>>>>> will - at least - warn you about it when asked to treat the input
>>>>>>> according to the C standards. As you know, there isn't a compiler in
>>>>>>> the world for any language which will stop programmers from writing
>>>>>>> incorrect code.
>>>>>>
>>>>>> Given the context of the discussion, pedantry seems appropriate.
>>>>>>
>>>>>> It's invalid C code because it doesn't declare rand() and printf(),
>>>>>> correctable by adding `#include <stdlib.h>` and `#include <stdio.h>`.
>>>>>> (It also contains NO-BREAK SPACE characters, but that's that's just a
>>>>>> Usenet formatting issue.)
>>>>>>
>>>>>> Other than that, a conforming C compiler is not required to diagnose
>>>>>> the above code. It does have undefined behavior, and a C compiler is
>>>>>> likely to warn about it with appropriate warnings, but it does not
>>>>>> violate any syntax rule or constraint.
>>>>>
>>>>> I say it does.
>>>
>>> That would have been the correct place to identify the syntax rule or
>>> constraint you think it violates, and I have no idea why you failed to
>>> do so.
>>>
>>>> If you're right, then gcc 13.2.0 and clang 16.0.0 have a bug. Both
>>>> compile the above code (once the required #include directives are added)
>>>> without error, though clang prints a couple of optional warnings. I used
>>>> "-std=c17 -pedantic-errors" with both compilers. (With "-Wall", gcc
>>>> prints warnings similar to the ones clang prints without it.)
>>>>
>>>> What syntax rule or constraint does it violate?
>>
>> Yes, that is the question I was referring to. [...]
>
> I did answer. If you don't like my answer that's your
> problem, not mine.

In this thread, in the first quoted paragraph in this post, you
asked me to repeat a question that I had asked before. I did so.
It was a simple question, not a matter of opinion, not an invitation
to an argument.

I am now asking you to repeat your answer to that question (or
rather to answer it in the first place).

You have not so far answered the question. An answer would
have included a citation of a specific syntax rule or constraint
(including the section, subsection, and paragraph number in some
edition or draft of the ISO C standard) that is violated by the
program quoted above.

It's possible that I'm mistaken, and that you have actually
answered the question. If you demonstrate that, I will acknowledge
my mistake.

I will not ask again.

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Will write code for food.
void Void(void) { Void(); } /* The recursive call of the void */

Re: bart again (UCX64)

<uje7op$n7s$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=30289&group=comp.lang.c#30289

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jameskuy...@alumni.caltech.edu (James Kuyper)
Newsgroups: comp.lang.c
Subject: Re: bart again (UCX64)
Date: Sun, 19 Nov 2023 19:03:35 -0500
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <uje7op$n7s$1@dont-email.me>
References: <b74c088d-09e6-4842-8b6c-1921d68154c7n@googlegroups.com>
<ucthrb$gvk$2@dont-email.me> <20230901135123.702@kylheku.com>
<uctlpv$17t5$1@dont-email.me> <878r9p7b13.fsf@nosuchdomain.example.com>
<ucu0tf$2mht$1@dont-email.me> <20230901175635.91@kylheku.com>
<ucv4e6$d0c9$1@dont-email.me> <ucvna1$fb08$7@dont-email.me>
<ud00bc$grer$1@dont-email.me> <ud23ls$um2u$1@dont-email.me>
<ud2eod$10jv5$1@dont-email.me> <ud4604$1cbam$1@dont-email.me>
<ud4a6a$1d4cd$1@dont-email.me> <ud4rbl$1h1t4$1@dont-email.me>
<87h6o95znv.fsf@nosuchdomain.example.com> <86jzt5pgho.fsf@linuxsc.com>
<87zg214c1j.fsf@nosuchdomain.example.com> <uj9jnq$373ka$1@dont-email.me>
<87sf53dvmd.fsf@nosuchdomain.example.com> <861qcmxi7t.fsf@linuxsc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 20 Nov 2023 00:03:37 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="3037fbffc734f00e29c64c87e107a74f";
logging-data="23804"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18uecyH/Mi4fmxGfEfAf8ZkKG99PLgPLz8="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:3eWFEAo79XombBYzp3utSLcH7DY=
Content-Language: en-US
In-Reply-To: <861qcmxi7t.fsf@linuxsc.com>
 by: James Kuyper - Mon, 20 Nov 2023 00:03 UTC

Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
> Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>> James Kuyper <jameskuyper@alumni.caltech.edu> writes:
....
>>> On 11/18/23 08:44, Keith Thompson wrote:
....
>>>> What syntax rule or constraint does it violate?
>>
>> Yes, that is the question I was referring to. [...]
>
> I did answer. If you don't like my answer that's your
> problem, not mine.

I saw a response, several of them in fact, but none of those responses
contained an answer. An answer would identify the relevant syntax rule
or constraint - none of your responses identified any syntax error or
constraint violation. All I saw was responses that gave bad excuses for
not bothering to answer the question.

Re: bart again (UCX64)

<86sf3pu46x.fsf@linuxsc.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=30400&group=comp.lang.c#30400

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tr.17...@z991.linuxsc.com (Tim Rentsch)
Newsgroups: comp.lang.c
Subject: Re: bart again (UCX64)
Date: Mon, 25 Dec 2023 17:45:42 -0800
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <86sf3pu46x.fsf@linuxsc.com>
References: <b74c088d-09e6-4842-8b6c-1921d68154c7n@googlegroups.com> <20230901135123.702@kylheku.com> <uctlpv$17t5$1@dont-email.me> <878r9p7b13.fsf@nosuchdomain.example.com> <ucu0tf$2mht$1@dont-email.me> <20230901175635.91@kylheku.com> <ucv4e6$d0c9$1@dont-email.me> <ucvna1$fb08$7@dont-email.me> <ud00bc$grer$1@dont-email.me> <ud23ls$um2u$1@dont-email.me> <ud2eod$10jv5$1@dont-email.me> <ud4604$1cbam$1@dont-email.me> <ud4a6a$1d4cd$1@dont-email.me> <ud4rbl$1h1t4$1@dont-email.me> <87h6o95znv.fsf@nosuchdomain.example.com> <86jzt5pgho.fsf@linuxsc.com> <87zg214c1j.fsf@nosuchdomain.example.com> <uj9jnq$373ka$1@dont-email.me> <87sf53dvmd.fsf@nosuchdomain.example.com> <861qcmxi7t.fsf@linuxsc.com> <87jzqde9hy.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: dont-email.me; posting-host="0f191f7864c76e6d27a3acf99e7b166c";
logging-data="3397467"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/GgS4Tg5xk6iNamjbKlimjlI2O4E8wBWU="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:adGAb+eahG3SXGp+1jHdUG/LfVA=
sha1:pKilk+qExNEY56/XxC9jG1CtR0Y=
 by: Tim Rentsch - Tue, 26 Dec 2023 01:45 UTC

Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:

[...]

> You have not so far answered the question. An answer would
> have included [...]

I suggest you look up the word "answer" in an English
dictionary. I did answer.

Re: bart again (UCX64)

<86o7edu455.fsf@linuxsc.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=30401&group=comp.lang.c#30401

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tr.17...@z991.linuxsc.com (Tim Rentsch)
Newsgroups: comp.lang.c
Subject: Re: bart again (UCX64)
Date: Mon, 25 Dec 2023 17:46:46 -0800
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <86o7edu455.fsf@linuxsc.com>
References: <b74c088d-09e6-4842-8b6c-1921d68154c7n@googlegroups.com> <20230901135123.702@kylheku.com> <uctlpv$17t5$1@dont-email.me> <878r9p7b13.fsf@nosuchdomain.example.com> <ucu0tf$2mht$1@dont-email.me> <20230901175635.91@kylheku.com> <ucv4e6$d0c9$1@dont-email.me> <ucvna1$fb08$7@dont-email.me> <ud00bc$grer$1@dont-email.me> <ud23ls$um2u$1@dont-email.me> <ud2eod$10jv5$1@dont-email.me> <ud4604$1cbam$1@dont-email.me> <ud4a6a$1d4cd$1@dont-email.me> <ud4rbl$1h1t4$1@dont-email.me> <87h6o95znv.fsf@nosuchdomain.example.com> <86jzt5pgho.fsf@linuxsc.com> <87zg214c1j.fsf@nosuchdomain.example.com> <uj9jnq$373ka$1@dont-email.me> <87sf53dvmd.fsf@nosuchdomain.example.com> <861qcmxi7t.fsf@linuxsc.com> <uje7op$n7s$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: dont-email.me; posting-host="0f191f7864c76e6d27a3acf99e7b166c";
logging-data="3397467"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+9jT00qHuE5fEvpQTH/qhUEgNjca0Qiug="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:7lA8mZoenbFAhpc6pztlkZIL1Ro=
sha1:sMcRWKyIEZ2uqSejBsv5cFOzQlM=
 by: Tim Rentsch - Tue, 26 Dec 2023 01:46 UTC

James Kuyper <jameskuyper@alumni.caltech.edu> writes:

> Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
>
>> Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>>
>>> James Kuyper <jameskuyper@alumni.caltech.edu> writes:
>
> ...
>
>>>> On 11/18/23 08:44, Keith Thompson wrote:
>
> ...
>
>>>>> What syntax rule or constraint does it violate?
>>>
>>> Yes, that is the question I was referring to. [...]
>>
>> I did answer. If you don't like my answer that's your
>> problem, not mine.
>
> I saw a response, several of them in fact, but none of those responses
> contained an answer. An answer would identify the relevant syntax rule
> or constraint - none of your responses identified any syntax error or
> constraint violation. All I saw was responses that gave bad excuses for
> not bothering to answer the question.

I suggest you look up the word "answer" in an English dictionary
rather than a James Kuyper dictionary. I did answer.

Re: bart again (UCX64)

<877cl1wnrl.fsf@nosuchdomain.example.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=30402&group=comp.lang.c#30402

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c
Subject: Re: bart again (UCX64)
Date: Mon, 25 Dec 2023 21:12:14 -0800
Organization: None to speak of
Lines: 17
Message-ID: <877cl1wnrl.fsf@nosuchdomain.example.com>
References: <b74c088d-09e6-4842-8b6c-1921d68154c7n@googlegroups.com>
<uctlpv$17t5$1@dont-email.me>
<878r9p7b13.fsf@nosuchdomain.example.com>
<ucu0tf$2mht$1@dont-email.me> <20230901175635.91@kylheku.com>
<ucv4e6$d0c9$1@dont-email.me> <ucvna1$fb08$7@dont-email.me>
<ud00bc$grer$1@dont-email.me> <ud23ls$um2u$1@dont-email.me>
<ud2eod$10jv5$1@dont-email.me> <ud4604$1cbam$1@dont-email.me>
<ud4a6a$1d4cd$1@dont-email.me> <ud4rbl$1h1t4$1@dont-email.me>
<87h6o95znv.fsf@nosuchdomain.example.com> <86jzt5pgho.fsf@linuxsc.com>
<87zg214c1j.fsf@nosuchdomain.example.com>
<uj9jnq$373ka$1@dont-email.me>
<87sf53dvmd.fsf@nosuchdomain.example.com> <861qcmxi7t.fsf@linuxsc.com>
<87jzqde9hy.fsf@nosuchdomain.example.com> <86sf3pu46x.fsf@linuxsc.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="98c133ba37b582076478ff90c0e74ac5";
logging-data="3563884"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+dMlj4Yq4T3JwIVRgj7/wL"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:OxREvzEhkgpzOpDRANHG1cfNZC8=
sha1:+BmA4myqq9ce4aYxqb3ohVtmOxU=
 by: Keith Thompson - Tue, 26 Dec 2023 05:12 UTC

Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
> Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>
> [...]
>
>> You have not so far answered the question. An answer would
>> have included [...]
>
> I suggest you look up the word "answer" in an English
> dictionary. I did answer.

You actually seem to believe that. I no longer care.

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Will write code for food.
void Void(void) { Void(); } /* The recursive call of the void */

Re: bart again (UCX64)

<umii50$3p6q$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=30410&group=comp.lang.c#30410

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!nntp.comgw.net!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jameskuy...@alumni.caltech.edu (James Kuyper)
Newsgroups: comp.lang.c
Subject: Re: bart again (UCX64)
Date: Wed, 27 Dec 2023 20:14:08 -0500
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <umii50$3p6q$1@dont-email.me>
References: <b74c088d-09e6-4842-8b6c-1921d68154c7n@googlegroups.com>
<uctlpv$17t5$1@dont-email.me> <878r9p7b13.fsf@nosuchdomain.example.com>
<ucu0tf$2mht$1@dont-email.me> <20230901175635.91@kylheku.com>
<ucv4e6$d0c9$1@dont-email.me> <ucvna1$fb08$7@dont-email.me>
<ud00bc$grer$1@dont-email.me> <ud23ls$um2u$1@dont-email.me>
<ud2eod$10jv5$1@dont-email.me> <ud4604$1cbam$1@dont-email.me>
<ud4a6a$1d4cd$1@dont-email.me> <ud4rbl$1h1t4$1@dont-email.me>
<87h6o95znv.fsf@nosuchdomain.example.com> <86jzt5pgho.fsf@linuxsc.com>
<87zg214c1j.fsf@nosuchdomain.example.com> <uj9jnq$373ka$1@dont-email.me>
<87sf53dvmd.fsf@nosuchdomain.example.com> <861qcmxi7t.fsf@linuxsc.com>
<87jzqde9hy.fsf@nosuchdomain.example.com> <86sf3pu46x.fsf@linuxsc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 28 Dec 2023 01:14:08 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="44380548ee284eae9c7c946441837147";
logging-data="124122"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19wR3Js4EWA6hJYJXnFpm9y5uC9oCD22Gc="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:DJV2AE+A2mqHMCGxV4aymYI9nwk=
In-Reply-To: <86sf3pu46x.fsf@linuxsc.com>
Content-Language: en-US
 by: James Kuyper - Thu, 28 Dec 2023 01:14 UTC

Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
> Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>
> [...]
>
>> You have not so far answered the question. An answer would
>> have included [...]
>
> I suggest you look up the word "answer" in an English
> dictionary. I did answer.

I was somewhat disappointed when I did look it up. A question is a
request for information, and I had understood an answer to be a response
to that question which provided the requested information. The answer
could be erroneous, or deliberately wrong or misleading, but it was not
an answer unless it at least pretended to provide the requested
information. I was familiar with the common practice of saying that, for
instance, "The guard asked 'Who goes there?', and the the commando
answered with a knife to the guard's heart.", but I always considered
that calling something like that an "answer" was a kind of joke. I might
have imagined that a dictionary would provide a more general definition
of "answer" that included such things, but I expected that there would
also be a more restricted definition that excluded any response that did
not provide the requested information.
However, that's not what I found. For instance, Wiktionary defines an
answer as "something said or done in reaction to a statement or
question." I saw similar definitions in several other online
dictionaries. Therefore, ANYTHING you do when reacting to a question
qualifies as an answer, whether it be a lie, or a non-sequitur, or a
blow to the head.
Therefore, I reluctantly concede that you did answer the question. You
did not, however, provide the requested information.

I find those definitions problematic. If a form says "Answer the
following questions", is i really instructing you to do whatever you
want to do? If so, what's the point of providing such an instruction?

Re: bart again (UCX64)

<87le9fawwd.fsf@yaxenu.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=30411&group=comp.lang.c#30411

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jsh...@yaxenu.org (Julieta Shem)
Newsgroups: comp.lang.c
Subject: Re: bart again (UCX64)
Date: Wed, 27 Dec 2023 23:22:42 -0300
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <87le9fawwd.fsf@yaxenu.org>
References: <b74c088d-09e6-4842-8b6c-1921d68154c7n@googlegroups.com>
<878r9p7b13.fsf@nosuchdomain.example.com>
<ucu0tf$2mht$1@dont-email.me> <20230901175635.91@kylheku.com>
<ucv4e6$d0c9$1@dont-email.me> <ucvna1$fb08$7@dont-email.me>
<ud00bc$grer$1@dont-email.me> <ud23ls$um2u$1@dont-email.me>
<ud2eod$10jv5$1@dont-email.me> <ud4604$1cbam$1@dont-email.me>
<ud4a6a$1d4cd$1@dont-email.me> <ud4rbl$1h1t4$1@dont-email.me>
<87h6o95znv.fsf@nosuchdomain.example.com> <86jzt5pgho.fsf@linuxsc.com>
<87zg214c1j.fsf@nosuchdomain.example.com>
<uj9jnq$373ka$1@dont-email.me>
<87sf53dvmd.fsf@nosuchdomain.example.com> <861qcmxi7t.fsf@linuxsc.com>
<87jzqde9hy.fsf@nosuchdomain.example.com> <86sf3pu46x.fsf@linuxsc.com>
<umii50$3p6q$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="0f55de256f731b22a5fb9b4cc890dfdd";
logging-data="144483"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18DfcNIb4Nt5ScKsXzomWi1qDQpb92sLrg="
Cancel-Lock: sha1:8uqXqMZMSCESJeR0lqXVSUzMIyk=
sha1:g1U432lj2gFqMJz/9pgMRvq0yLo=
 by: Julieta Shem - Thu, 28 Dec 2023 02:22 UTC

James Kuyper <jameskuyper@alumni.caltech.edu> writes:

[...]

> I was somewhat disappointed when I did look it up. [...] However,
> that's not what I found. For instance, Wiktionary defines an answer as
> "something said or done in reaction to a statement or question." [...]
> Therefore, ANYTHING you do when reacting to a question qualifies as an
> answer, whether it be a lie, or a non-sequitur, or a blow to the head.

The American Heritage Dictionary of the English Language, 5th Edition,
seems to provide the definition you want, but as a second and third
option. It's unclear what they mean with the order.

--8<---------------cut here---------------start------------->8---
A spoken or written reply, as to a question.
A correct reply.
A solution, as to a problem.

Source:
The American Heritage Dictionary of the English Language, 5th Edition
--8<---------------cut here---------------end--------------->8---

Re: bart again (UCX64)

<umipme$8lo2$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=30412&group=comp.lang.c#30412

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: janis_pa...@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.c
Subject: Re: bart again (UCX64)
Date: Thu, 28 Dec 2023 04:22:54 +0100
Organization: A noiseless patient Spider
Lines: 59
Message-ID: <umipme$8lo2$1@dont-email.me>
References: <b74c088d-09e6-4842-8b6c-1921d68154c7n@googlegroups.com>
<uctlpv$17t5$1@dont-email.me> <878r9p7b13.fsf@nosuchdomain.example.com>
<ucu0tf$2mht$1@dont-email.me> <20230901175635.91@kylheku.com>
<ucv4e6$d0c9$1@dont-email.me> <ucvna1$fb08$7@dont-email.me>
<ud00bc$grer$1@dont-email.me> <ud23ls$um2u$1@dont-email.me>
<ud2eod$10jv5$1@dont-email.me> <ud4604$1cbam$1@dont-email.me>
<ud4a6a$1d4cd$1@dont-email.me> <ud4rbl$1h1t4$1@dont-email.me>
<87h6o95znv.fsf@nosuchdomain.example.com> <86jzt5pgho.fsf@linuxsc.com>
<87zg214c1j.fsf@nosuchdomain.example.com> <uj9jnq$373ka$1@dont-email.me>
<87sf53dvmd.fsf@nosuchdomain.example.com> <861qcmxi7t.fsf@linuxsc.com>
<87jzqde9hy.fsf@nosuchdomain.example.com> <86sf3pu46x.fsf@linuxsc.com>
<umii50$3p6q$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 28 Dec 2023 03:22:54 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="cb6050195e1fb42308e82c985667a1d1";
logging-data="284418"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/AyKxAjHL5z6Db42JHi27p"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:Zmo2WhD6ZQuLBMqthFrGVjicb2k=
In-Reply-To: <umii50$3p6q$1@dont-email.me>
X-Enigmail-Draft-Status: N1110
 by: Janis Papanagnou - Thu, 28 Dec 2023 03:22 UTC

On 28.12.2023 02:14, James Kuyper wrote:
> Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
>> Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
>>
>> [...]
>>
>>> You have not so far answered the question. An answer would
>>> have included [...]
>>
>> I suggest you look up the word "answer" in an English
>> dictionary. I did answer.
>
> I was somewhat disappointed when I did look it up. A question is a
> request for information, and I had understood an answer to be a response
> to that question which provided the requested information. The answer
> could be erroneous, or deliberately wrong or misleading, but it was not
> an answer unless it at least pretended to provide the requested
> information. I was familiar with the common practice of saying that, for
> instance, "The guard asked 'Who goes there?', and the the commando
> answered with a knife to the guard's heart.", but I always considered
> that calling something like that an "answer" was a kind of joke. I might
> have imagined that a dictionary would provide a more general definition
> of "answer" that included such things, but I expected that there would
> also be a more restricted definition that excluded any response that did
> not provide the requested information.
> However, that's not what I found. For instance, Wiktionary defines an
> answer as "something said or done in reaction to a statement or
> question." I saw similar definitions in several other online
> dictionaries. Therefore, ANYTHING you do when reacting to a question
> qualifies as an answer, whether it be a lie, or a non-sequitur, or a
> blow to the head.
> Therefore, I reluctantly concede that you did answer the question. You
> did not, however, provide the requested information.
>
> I find those definitions problematic. If a form says "Answer the
> following questions", is i really instructing you to do whatever you
> want to do? If so, what's the point of providing such an instruction?

This is a nice contribution to a somewhat heated conversation. Yes, an
answer without information is of little use (on the information level).

Technically it has been answered, but arbitrary answers alone do not
help. The [last] answer had actually been on a meta level; it seems to
say that the poster missed the informational content of the replies.
That may be true or not. If it is true the requester may re-read the
posts. Or maybe the responder has missed that the answer is either not
sufficient or missed the point (or something else). And here Shannon
pops in; every single information transfer (requests and responses) is
affected by Equivocation H(X|Y) and Irrelevance H(Y|X). But even if the
Mutual Information I(X;Y) is maximized it may still not be sufficient
to help for the posters request.

Neither dictionaries nor information theory helps to answer the posted
questions, but understanding Shannon's theories - which nicely maps to
social communication! - might prevent widely meaningless and redundant
transfers like "You have not answered" and "I did answer". :-)

Janis


devel / comp.lang.c / Re: bart again (UCX64)

Pages:12345678910111213141516
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor