Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"It's God. No, not Richard Stallman, or Linus Torvalds, but God." (By Matt Welsh)


devel / comp.lang.c / Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"

SubjectAuthor
* "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Lynn McGuire
+* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Lawrence D'Oliveiro
|`- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Chris M. Thomasson
+* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"John McCue
|+* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Kaz Kylheku
||`- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Tim Rentsch
|`* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Lawrence D'Oliveiro
| `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Blue-Maned_Hawk
|  `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Lawrence D'Oliveiro
|   +- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Chris M. Thomasson
|   `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Blue-Maned_Hawk
|    `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Lawrence D'Oliveiro
|     `- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Blue-Maned_Hawk
+- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Blue-Maned_Hawk
+- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Michael S
+* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"David Brown
|+- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Janis Papanagnou
|+* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Kaz Kylheku
||`* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"David Brown
|| +* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Chris M. Thomasson
|| |`* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"David Brown
|| | +* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Malcolm McLean
|| | |`- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Chris M. Thomasson
|| | `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Chris M. Thomasson
|| |  +- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Chris M. Thomasson
|| |  `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"David Brown
|| |   `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Chris M. Thomasson
|| |    `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"David Brown
|| |     `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Chris M. Thomasson
|| |      `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Chris M. Thomasson
|| |       `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"David Brown
|| |        `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Chris M. Thomasson
|| |         `- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Chris M. Thomasson
|| +- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Lawrence D'Oliveiro
|| `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Janis Papanagnou
||  `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"David Brown
||   `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Janis Papanagnou
||    `- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"David Brown
|+* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Lawrence D'Oliveiro
||`* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Chris M. Thomasson
|| +* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Lawrence D'Oliveiro
|| |+- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Chris M. Thomasson
|| |+- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"bart
|| |`* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Malcolm McLean
|| | `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Lawrence D'Oliveiro
|| |  `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Michael S
|| |   `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Lawrence D'Oliveiro
|| |    +* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Chris M. Thomasson
|| |    |`* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Lawrence D'Oliveiro
|| |    | `- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Chris M. Thomasson
|| |    `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Michael S
|| |     `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Lawrence D'Oliveiro
|| |      `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Michael S
|| |       +* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"bart
|| |       |+* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Michael S
|| |       ||`* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"David Brown
|| |       || +* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Michael S
|| |       || |`* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"David Brown
|| |       || | +- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Kaz Kylheku
|| |       || | `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Paavo Helde
|| |       || |  +* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"David Brown
|| |       || |  |+* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"bart
|| |       || |  ||`- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"David Brown
|| |       || |  |`- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Ross Finlayson
|| |       || |  `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Lawrence D'Oliveiro
|| |       || |   +* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Chris M. Thomasson
|| |       || |   |`* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Kaz Kylheku
|| |       || |   | `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Chris M. Thomasson
|| |       || |   |  `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Kaz Kylheku
|| |       || |   |   `- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Chris M. Thomasson
|| |       || |   `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"paavo512
|| |       || |    +- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Chris M. Thomasson
|| |       || |    `- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Scott Lurndal
|| |       || `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Kaz Kylheku
|| |       ||  `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"David Brown
|| |       ||   `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Michael S
|| |       ||    `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"David Brown
|| |       ||     +- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Michael S
|| |       ||     `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Lawrence D'Oliveiro
|| |       ||      `- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"aph
|| |       |`- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Lawrence D'Oliveiro
|| |       +* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"aph
|| |       |`* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Lawrence D'Oliveiro
|| |       | `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Chris M. Thomasson
|| |       |  `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Kaz Kylheku
|| |       |   `- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Chris M. Thomasson
|| |       +- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Lawrence D'Oliveiro
|| |       `- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Tim Rentsch
|| `* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Kenny McCormack
||  `- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Chris M. Thomasson
|`- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Chris M. Thomasson
+* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Scott Lurndal
|`* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Lynn McGuire
| +- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Lawrence D'Oliveiro
| `- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Scott Lurndal
+* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Blue-Maned_Hawk
|+- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Chris M. Thomasson
|+* [OT] UTF-8 sig. Was: "White House to Developers: Using C or C++ Invites CyberseBen Bacarisse
||+- Re: [OT] UTF-8 sig. Was: "White House to Developers: Using C or C++ Invites CybScott Lurndal
||`* Re: [OT] UTF-8 sig. Was: "White House to Developers: Using C or C++ Invites CybBlue-Maned_Hawk
|| +* Re: [OT] UTF-8 sig. Was: "White House to Developers: Using C or C++ Invites CybKeith Thompson
|| +* Re: [OT] UTF-8 sig. Was: "White House to Developers: Using C or C++ Invites CybBen
|| `- Re: [OT] UTF-8 sig. Was: "White House to Developers: Using C or C++ Invites Cybyeti
|`- Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Lynn McGuire
+* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"David LaRue
+* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Derek
`* Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"Mr. Man-wai Chang

Pages:12345678910
Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"

<usf7hn$1o7fd$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c++ comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c++,comp.lang.c
Subject: Re: "White House to Developers: Using C or C++ Invites Cybersecurity
Risks"
Date: Fri, 8 Mar 2024 15:32:22 +0100
Organization: A noiseless patient Spider
Lines: 103
Message-ID: <usf7hn$1o7fd$1@dont-email.me>
References: <us0brl$246bf$1@dont-email.me> <us1lb5$2f4n4$1@dont-email.me>
<us2lfh$2ltj3$5@dont-email.me> <us2s96$2n6h3$6@dont-email.me>
<us3155$2of1i$3@dont-email.me> <us4c66$346tp$3@dont-email.me>
<us5d6f$3besu$3@dont-email.me> <20240305005948.00002697@yahoo.com>
<us5u16$3eidj$2@dont-email.me> <20240305111103.00003081@yahoo.com>
<us8821$90p$4@dont-email.me> <20240306140214.0000449c@yahoo.com>
<us9nib$dski$1@dont-email.me> <20240307000008.00003544@yahoo.com>
<usc58s$10cls$1@dont-email.me> <20240307083119.850@kylheku.com>
<useegp$1ihfv$1@dont-email.me> <20240308125746.000074c1@yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 8 Mar 2024 14:32:23 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5b4fd483861029d4eca5978ecaa265e3";
logging-data="1842669"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/MEImCX21lSO3vdAwUZY17YYg1QbxPHwk="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:XYaOS2UqhrIYTD5v4bG1+4PdM4w=
In-Reply-To: <20240308125746.000074c1@yahoo.com>
Content-Language: en-GB
 by: David Brown - Fri, 8 Mar 2024 14:32 UTC

On 08/03/2024 11:57, Michael S wrote:
> On Fri, 8 Mar 2024 08:25:13 +0100
> David Brown <david.brown@hesbynett.no> wrote:
>
>> On 07/03/2024 17:35, Kaz Kylheku wrote:
>>> On 2024-03-07, David Brown <david.brown@hesbynett.no> wrote:
>>>> On 06/03/2024 23:00, Michael S wrote:
>>>>> On Wed, 6 Mar 2024 12:28:59 +0000
>>>>> bart <bc@freeuk.com> wrote:
>>>>>
>>>>>>
>>>>>> "Rust uses a relatively unique memory management approach that
>>>>>> incorporates the idea of memory “ownership”. Basically, Rust
>>>>>> keeps track of who can read and write to memory. It knows when
>>>>>> the program is using memory and immediately frees the memory
>>>>>> once it is no longer needed. It enforces memory rules at compile
>>>>>> time, making it virtually impossible to have runtime memory
>>>>>> bugs.⁴ You do not need to manually keep track of memory. The
>>>>>> compiler takes care of it."
>>>>>>
>>>>>> This suggests the language automatically takes care of this.
>>>>>
>>>>> Takes care of what?
>>>>> AFAIK, heap fragmentation is as bad problem in Rust as it is in
>>>>> C/Pascal/Ada etc... In this aspect Rust is clearly inferior to
>>>>> GC-based languages like Java, C# or Go.
>>>>>
>>>> Garbage collection does not stop heap fragmentation. GC does, I
>>>> suppose, mean that you need much more memory and bigger heaps in
>>>> proportion to the amount of memory you actually need in the
>>>> program at any given time, and having larger heaps reduces
>>>> fragmentation (or at least reduces the consequences of it).
>>>
>>> Copying garbage collectors literally stop fragmentation.
>>
>> Yes, but garbage collectors that could be useable for C, C++, or
>> other efficient compiled languages are not "copying" garbage
>> collectors.
>>
>
> Go, C# and Java are all efficient compiled languages. For Go it was
> actually a major goal.

C# and Java are, AFAIUI, managed languages - they are byte-compiled and
run on a VM. (JIT compilation to machine code can be used for
acceleration, but that does not change the principles.) I don't know
about Go.

>
>>> Reachable
>>> objects are identified and moved to a memory partition where they
>>> are now adjacent. The vacated memory partition is then efficiently
>>> used to bump-allocate new objects.
>>>
>>
>> I think if you have a system with enough memory that copying garbage
>> collection (or other kinds of heap compaction during GC) is a
>> reasonable option, then it's unlikely that heap fragmentation is a
>> big problem in the first place. And you won't be running on a small
>> embedded system.
>>
>
> You sound like arguing for sake of arguing.

I am just trying to be clear about things. Different types of system,
and different types of task, have different challenges and different
solutions. (This seems obvious, but people often think they have "the"
solution to a particular issue.) In particular, in small embedded
systems with limited ram and no MMU, if you use dynamic memory of any
kind, then heap fragmentation is a serious risk. And a heap-compacting
garbage collection will not mitigate that risk.

There are a lot of GC algorithms, each with their pros and cons, and the
kind of languages and tasks for which they are suitable. If you have a
GC algorithm that works by copying all live data (then scraping
everything left over), then heap compaction is a natural byproduct.

But I think it is rare that heap compaction is an appropriate goal in
itself - it is a costly operation. It invalidates all pointers, which
means a lot of overhead and extra care in languages where pointers are
likely to be cached in registers or local variables on the stack. And
it will be tough on the cache as everything has to be copied and moved.
That pretty much rules it out for efficient compiled languages, at least
for the majority of their objects, and leaves it in the domain of
languages that can accept the performance hit.

> Of course, heap fragmentation is relatively rare problem. But when you
> process 100s of 1000s of requests of significantly varying sizes for
> weeks without interruption then rare things happen with high
> probability :(

There are all sorts of techniques usable to optimise such systems.
Allocation pools for different sized blocks would be a typical strategy.

> In case of this particular Discord service, they appear to
> have a benefit of size of requests not varying significantly, so
> absence of heap compaction is not a major defect.
> BTW, I'd like to know if 3 years later they still have their Rust
> solution running.
>

Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"

<20240308165709.00004aca@yahoo.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.c++ comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: already5...@yahoo.com (Michael S)
Newsgroups: comp.lang.c++,comp.lang.c
Subject: Re: "White House to Developers: Using C or C++ Invites
Cybersecurity Risks"
Date: Fri, 8 Mar 2024 16:57:09 +0200
Organization: A noiseless patient Spider
Lines: 78
Message-ID: <20240308165709.00004aca@yahoo.com>
References: <us0brl$246bf$1@dont-email.me>
<us1lb5$2f4n4$1@dont-email.me>
<us2lfh$2ltj3$5@dont-email.me>
<us2s96$2n6h3$6@dont-email.me>
<us3155$2of1i$3@dont-email.me>
<us4c66$346tp$3@dont-email.me>
<us5d6f$3besu$3@dont-email.me>
<20240305005948.00002697@yahoo.com>
<us5u16$3eidj$2@dont-email.me>
<20240305111103.00003081@yahoo.com>
<us8821$90p$4@dont-email.me>
<20240306140214.0000449c@yahoo.com>
<us9nib$dski$1@dont-email.me>
<20240307000008.00003544@yahoo.com>
<usc58s$10cls$1@dont-email.me>
<20240307083119.850@kylheku.com>
<useegp$1ihfv$1@dont-email.me>
<20240308125746.000074c1@yahoo.com>
<usf7hn$1o7fd$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: dont-email.me; posting-host="ba4dddafc7a27447368298c876b745c8";
logging-data="1773540"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Z9HlVJyisDEl8SYpGcQxHiiQQyQ0htko="
Cancel-Lock: sha1:MqxPs4GNd4JmthjKPUbtJ8IM10Q=
X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)
 by: Michael S - Fri, 8 Mar 2024 14:57 UTC

On Fri, 8 Mar 2024 15:32:22 +0100
David Brown <david.brown@hesbynett.no> wrote:

> On 08/03/2024 11:57, Michael S wrote:
> > On Fri, 8 Mar 2024 08:25:13 +0100
> > David Brown <david.brown@hesbynett.no> wrote:
> >
> >> On 07/03/2024 17:35, Kaz Kylheku wrote:
> >>> On 2024-03-07, David Brown <david.brown@hesbynett.no> wrote:
> >>>> On 06/03/2024 23:00, Michael S wrote:
> >>>>> On Wed, 6 Mar 2024 12:28:59 +0000
> >>>>> bart <bc@freeuk.com> wrote:
> >>>>>
> >>>>>>
> >>>>>> "Rust uses a relatively unique memory management approach that
> >>>>>> incorporates the idea of memory “ownership”. Basically, Rust
> >>>>>> keeps track of who can read and write to memory. It knows when
> >>>>>> the program is using memory and immediately frees the memory
> >>>>>> once it is no longer needed. It enforces memory rules at
> >>>>>> compile time, making it virtually impossible to have runtime
> >>>>>> memory bugs.⁴ You do not need to manually keep track of
> >>>>>> memory. The compiler takes care of it."
> >>>>>>
> >>>>>> This suggests the language automatically takes care of this.
> >>>>>
> >>>>> Takes care of what?
> >>>>> AFAIK, heap fragmentation is as bad problem in Rust as it is in
> >>>>> C/Pascal/Ada etc... In this aspect Rust is clearly inferior to
> >>>>> GC-based languages like Java, C# or Go.
> >>>>>
> >>>> Garbage collection does not stop heap fragmentation. GC does, I
> >>>> suppose, mean that you need much more memory and bigger heaps in
> >>>> proportion to the amount of memory you actually need in the
> >>>> program at any given time, and having larger heaps reduces
> >>>> fragmentation (or at least reduces the consequences of it).
> >>>
> >>> Copying garbage collectors literally stop fragmentation.
> >>
> >> Yes, but garbage collectors that could be useable for C, C++, or
> >> other efficient compiled languages are not "copying" garbage
> >> collectors.
> >>
> >
> > Go, C# and Java are all efficient compiled languages. For Go it was
> > actually a major goal.
>
> C# and Java are, AFAIUI, managed languages - they are byte-compiled
> and run on a VM. (JIT compilation to machine code can be used for
> acceleration, but that does not change the principles.) I don't know
> about Go.
>

C# was Jitted originally and was even interpretted on on very small
implementation that don't seem to be supported any longer. Today it is
mostly AoTed, which in simpler language means "compiled". There are
options in dev tools whhether to compile to native code on to
platform-independent. I would think that most people compile to native.

Java-on-Android which, I would guess, is majority on Java written in
the world, is like 95% AoTed + 5% JITtted. Is used to be 100% AoTed in
few versions of Android, but by now JIT is reintroduced as an option,
not for portability, but for profile-guided optimization
opportinities it allows. If I am not mistaken, direct interpretaions of
Davlik non-byte-code was never supported on Android.

Java-outside-Android? I don't know what is current stated. Would think
that Oracle's JVMs intetended for desktop/la[top/server are also
either JITted or AoTed, not interpreted.

Go is compiled to native, most often via LLVM, but there exists gcc
option as well.

Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"

<usfa2o$1orr3$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c++ comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bc...@freeuk.com (bart)
Newsgroups: comp.lang.c++,comp.lang.c
Subject: Re: "White House to Developers: Using C or C++ Invites Cybersecurity
Risks"
Date: Fri, 8 Mar 2024 15:15:36 +0000
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <usfa2o$1orr3$1@dont-email.me>
References: <us0brl$246bf$1@dont-email.me> <us1lb5$2f4n4$1@dont-email.me>
<us2lfh$2ltj3$5@dont-email.me> <us2s96$2n6h3$6@dont-email.me>
<us3155$2of1i$3@dont-email.me> <us4c66$346tp$3@dont-email.me>
<us5d6f$3besu$3@dont-email.me> <20240305005948.00002697@yahoo.com>
<us5u16$3eidj$2@dont-email.me> <20240305111103.00003081@yahoo.com>
<us8821$90p$4@dont-email.me> <20240306140214.0000449c@yahoo.com>
<us9nib$dski$1@dont-email.me> <20240307000008.00003544@yahoo.com>
<usc58s$10cls$1@dont-email.me> <20240307134401.00007aa2@yahoo.com>
<uscmub$149j3$1@dont-email.me> <usf11f$1mk5l$1@dont-email.me>
<usf63j$1nnsb$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 8 Mar 2024 15:15:36 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6e0a11c2f9940244b487580c0cc6ead4";
logging-data="1863523"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+3O3uS7+mQ49lCNibJHHl1"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:14EHivHvGpSNRcqPmc4d42tY9eY=
In-Reply-To: <usf63j$1nnsb$1@dont-email.me>
Content-Language: en-GB
 by: bart - Fri, 8 Mar 2024 15:15 UTC

On 08/03/2024 14:07, David Brown wrote:
> On 08/03/2024 13:41, Paavo Helde wrote:
>> 07.03.2024 17:36 David Brown kirjutas:
>>>
>>> CPython does use garbage collection, as far as I know.
>>>
>>
>> AFAIK CPython uses reference counting, i.e. basically the same as C++
>> std::shared_ptr (except that it does not need to be thread-safe).
>
> Yes, that is my understanding too.  (I could be wrong here, so don't
> rely on anything I write!)  But the way it is used is still a type of
> garbage collection.  When an object no longer has any "live" references,
> it is put in a list, and on the next GC it will get cleared up (and call
> the asynchronous destructor, __del__, for the object).

Is that how CPython works? I can't quite see the point of saving up all
the deallocations so that they are all done as a batch. It's extra
overhead, and will cause those latency spikes that was the problem here.

In my own reference count scheme, when the count reaches zero, the
memory is freed immediately.

I also tend to have most allocations being of either 16 or 32 bytes, so
reuse is easy. It is only individual data items (a long string or long
array) that might have an arbitrary length that needs to be in
contiguous memory.

Most strings however have an average length of well below 16 characters
in my programs, so use a 16-byte allocation.

I don't know the allocation pattern in that Discard app, but Michael S
suggested they might not be lots of arbitrary-size objects.

Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"

<usffuk$1q99e$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c++ comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c++,comp.lang.c
Subject: Re: "White House to Developers: Using C or C++ Invites Cybersecurity
Risks"
Date: Fri, 8 Mar 2024 17:55:48 +0100
Organization: A noiseless patient Spider
Lines: 46
Message-ID: <usffuk$1q99e$1@dont-email.me>
References: <us0brl$246bf$1@dont-email.me> <us1lb5$2f4n4$1@dont-email.me>
<us2lfh$2ltj3$5@dont-email.me> <us2s96$2n6h3$6@dont-email.me>
<us3155$2of1i$3@dont-email.me> <us4c66$346tp$3@dont-email.me>
<us5d6f$3besu$3@dont-email.me> <20240305005948.00002697@yahoo.com>
<us5u16$3eidj$2@dont-email.me> <20240305111103.00003081@yahoo.com>
<us8821$90p$4@dont-email.me> <20240306140214.0000449c@yahoo.com>
<us9nib$dski$1@dont-email.me> <20240307000008.00003544@yahoo.com>
<usc58s$10cls$1@dont-email.me> <20240307134401.00007aa2@yahoo.com>
<uscmub$149j3$1@dont-email.me> <usf11f$1mk5l$1@dont-email.me>
<usf63j$1nnsb$1@dont-email.me> <usfa2o$1orr3$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 8 Mar 2024 16:55:48 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5b4fd483861029d4eca5978ecaa265e3";
logging-data="1910062"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+5xEKDmLw27DVhWH6hUbatF3Mv1JEwcwM="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:Db8WrX/RpvKx1yCTEcoRJUx1wZo=
In-Reply-To: <usfa2o$1orr3$1@dont-email.me>
Content-Language: en-GB
 by: David Brown - Fri, 8 Mar 2024 16:55 UTC

On 08/03/2024 16:15, bart wrote:
> On 08/03/2024 14:07, David Brown wrote:
>> On 08/03/2024 13:41, Paavo Helde wrote:
>>> 07.03.2024 17:36 David Brown kirjutas:
>>>>
>>>> CPython does use garbage collection, as far as I know.
>>>>
>>>
>>> AFAIK CPython uses reference counting, i.e. basically the same as C++
>>> std::shared_ptr (except that it does not need to be thread-safe).
>>
>> Yes, that is my understanding too.  (I could be wrong here, so don't
>> rely on anything I write!)  But the way it is used is still a type of
>> garbage collection.  When an object no longer has any "live"
>> references, it is put in a list, and on the next GC it will get
>> cleared up (and call the asynchronous destructor, __del__, for the
>> object).
>
> Is that how CPython works? I can't quite see the point of saving up all
> the deallocations so that they are all done as a batch. It's extra
> overhead, and will cause those latency spikes that was the problem here.

I believe the GC runs are done very regularly (if there is something in
the clean-up list), so there is not much build-up and not much extra
latency.

>
> In my own reference count scheme, when the count reaches zero, the
> memory is freed immediately.

That's synchronous deallocation. It's a perfectly good strategy, of
course. There are pros and cons of both methods.

>
> I also tend to have most allocations being of either 16 or 32 bytes, so
> reuse is easy. It is only individual data items (a long string or long
> array) that might have an arbitrary length that needs to be in
> contiguous memory.
>
> Most strings however have an average length of well below 16 characters
> in my programs, so use a 16-byte allocation.
>
> I don't know the allocation pattern in that Discard app, but Michael S
> suggested they might not be lots of arbitrary-size objects.
>

Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"

<lVydnTRTXJu3yXb4nZ2dnZfqnPednZ2d@giganews.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.c++ comp.lang.c comp.lang.java.programmer
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 08 Mar 2024 18:08:42 +0000
Subject: Re: "White House to Developers: Using C or C++ Invites Cybersecurity
Risks"
Newsgroups: comp.lang.c++,comp.lang.c,comp.lang.java.programmer
References: <us0brl$246bf$1@dont-email.me> <us1lb5$2f4n4$1@dont-email.me>
<us2lfh$2ltj3$5@dont-email.me> <us2s96$2n6h3$6@dont-email.me>
<us3155$2of1i$3@dont-email.me> <us4c66$346tp$3@dont-email.me>
<us5d6f$3besu$3@dont-email.me> <20240305005948.00002697@yahoo.com>
<us5u16$3eidj$2@dont-email.me> <20240305111103.00003081@yahoo.com>
<us8821$90p$4@dont-email.me> <20240306140214.0000449c@yahoo.com>
<us9nib$dski$1@dont-email.me> <20240307000008.00003544@yahoo.com>
<usc58s$10cls$1@dont-email.me> <20240307134401.00007aa2@yahoo.com>
<uscmub$149j3$1@dont-email.me> <usf11f$1mk5l$1@dont-email.me>
<usf63j$1nnsb$1@dont-email.me>
From: ross.a.f...@gmail.com (Ross Finlayson)
Date: Fri, 8 Mar 2024 10:08:44 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <usf63j$1nnsb$1@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <lVydnTRTXJu3yXb4nZ2dnZfqnPednZ2d@giganews.com>
Lines: 124
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-0bYhLbQZ1EkFQfHHlBV1wNKPfbGAuNj1s9ApCGepMeXncODOkSoIClEIPy5n3bHqXByRPywotrUzutB!xhVsvhQZg/GVJIbSa7OEyAf3GUwxoTd1Jsd50eihB6peGyV3TF1UbC/FVBmJeK1T0OoEKxmXJ3Q=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Received-Bytes: 6505
 by: Ross Finlayson - Fri, 8 Mar 2024 18:08 UTC

On 03/08/2024 06:07 AM, David Brown wrote:
> On 08/03/2024 13:41, Paavo Helde wrote:
>> 07.03.2024 17:36 David Brown kirjutas:
>>>
>>> CPython does use garbage collection, as far as I know.
>>>
>>
>> AFAIK CPython uses reference counting, i.e. basically the same as C++
>> std::shared_ptr (except that it does not need to be thread-safe).
>
> Yes, that is my understanding too. (I could be wrong here, so don't
> rely on anything I write!) But the way it is used is still a type of
> garbage collection. When an object no longer has any "live" references,
> it is put in a list, and on the next GC it will get cleared up (and call
> the asynchronous destructor, __del__, for the object).
>
> A similar method is sometimes used in C++ for objects that are
> time-consuming to destruct. You have a "tidy up later" container that
> holds shared pointers. Each time you make a new object that will have
> asynchronous destruction, you use a shared_ptr for the access and put a
> copy of that pointer in the tidy-up container. A low priority
> background thread checks this list on occasion - any pointers with only
> one reference can be cleared up in the context of this separate thread.
>
>>
>> With reference counting one only knows how many pointers there are to
>> a given heap block, but not where they are, so heap compaction would
>> not be straightforward.
>>
>> Python also has zillions of extensions written in C or C++ (all of AI
>> related work for example), so having e.g. heap compaction of Python
>> objects only might not be worth of it.
>>
>

Wondering about mark-and-sweep or abstractly
whatever means that detects references, vis-a-vis,
reference counting and reference registration and
this kind of thing, sort of is for making the automatic
cleanup along the lines of stack-unwinding.

Like how C++ works on stack objects, ....

Then, that makes de-allocation part of the routine,
and adds reference-counts to objects, but it would
be pretty safe, ..., and the GC would never interrupt
the entire runtime.

One might figure that any time an lvalue is assigned
an rvalue, the rvalue's refcount increments and any
previous assigned revalue's refcount decrements,
then anything that goes out of scope it's rvalue
is assigned null, its un-assigned rvalue refcount decrements,
that any refcount decremented to zero results deletion.

Isn't that smart-pointers?

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

Maybe the big code cop should say "you should use smart pointers".

I think smart pointers should usually be the way of things,
any kind of pointer, then with, you know, detach() or what,
manual management.

I suppose it's nice that syntactic sugar just does that,
or, that the runtime makes a best effort sort of
inference, while, it would be nice if when an object's
purpose is fulfilled, that it can be canned and it results
freeing itself.

Static analysis and "safe programming"
is an option in any deterministic language, ...,
given "defined behavior" of the runtime, of course.

How about "ban USB and PXE" and
"proxy-defeating DNS", "read-only
runtime", "computer literacy suprise quiz".

The idea of memory pools and freelists and
arenas and slabs and dedicated allocations
for objects of types and the declaration at
definition-time of the expected lifetime and
ownership of objects, gets into a lot of ways
to have both efficiency and dedication by design.

Shadow stack, NX bit, shared register protection,
Orange Book, journaling, link-layer?

A usual behavior of Java crashing is leaving
the entire heap in a heap-dump file, ....

These days a usual sort of approach is, like,
the old "trust but verify", static analysis and
all, figuring that type-safety first is the greatest
possible boon to correctness, then that
memory-management would better be a
sort of "if you could just explicitly close your
resources when you're done then maybe
have a mark-and-sweep on the side, and
mark lifetime resources as so, then anything
left would be waste".

I'm a big fan of C/C++ coders and it's nice
to know about Java which I think is great
and I mostly think in it, vis-a-vis,
Go and JavaScript and similar event loops,
like Windows, or the Pythonic or something like
that, there's something to be said for that
Haskell is probably cooler than me, these
days I'm looking at the language specs and
the opcode instructions as from assembler
languages with regards to "modular modules
with well-defined modules and modularity".

Figuring "modular modules" and "scope the globals".

Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"

<usfvld$1tfqm$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c++ comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++,comp.lang.c
Subject: Re: "White House to Developers: Using C or C++ Invites Cybersecurity
Risks"
Date: Fri, 8 Mar 2024 13:23:57 -0800
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <usfvld$1tfqm$2@dont-email.me>
References: <us0brl$246bf$1@dont-email.me> <us1lb5$2f4n4$1@dont-email.me>
<20240303092938.43@kylheku.com> <us2m8u$2m9mm$1@dont-email.me>
<us2s0i$2n6h3$5@dont-email.me> <us41kk$327oo$1@dont-email.me>
<us5bd9$3b404$1@dont-email.me> <us6n21$3mbe2$1@dont-email.me>
<us80kd$3v39d$1@dont-email.me> <us9hc9$b720$1@dont-email.me>
<usaq3v$l26r$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 8 Mar 2024 21:23:57 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c15478cdd59e0ca934cfd72d78b3f41f";
logging-data="2015062"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+lZ2XuJqaiW5gMRmFhDX87Vsbmqrctn+k="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:ojgl+WvUIhNWW4M7F6SsC5CTzrk=
Content-Language: en-US
In-Reply-To: <usaq3v$l26r$3@dont-email.me>
 by: Chris M. Thomasson - Fri, 8 Mar 2024 21:23 UTC

On 3/6/2024 2:18 PM, Chris M. Thomasson wrote:
> On 3/6/2024 2:43 AM, David Brown wrote:
[...]

This is a fun one:

// pseudo code...
_______________________
node*
node_pop()
{ // try per-thread lifo

// try shared distributed lifo

// try global region

// if all of those failed, return nullptr
}

void
node_push(
node* n
) {
// if n came from our per-thread, try to push it into it...

// if n came from another thread, try to push it into its thread...

// if all of those failed, push into shared distributed lifo
} _______________________

The fun part is this scheme can be realized as long as a node is at
least the size of a pointer. That is the required overhead wrt the size
of a node.

Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"

<ha2dnVzbM9-naHb4nZ2dnZfqnPWdnZ2d@giganews.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.c comp.lang.c++ comp.lang.java.programmer
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 09 Mar 2024 05:35:54 +0000
Subject: Re: "White House to Developers: Using C or C++ Invites Cybersecurity
Risks"
Newsgroups: comp.lang.c,comp.lang.c++,comp.lang.java.programmer
References: <us0brl$246bf$1@dont-email.me>
<XnsB12AC133C49E3hueydlltampabayrrcom@135.181.20.170>
<us33a0$2ot8t$1@dont-email.me> <us3n2c$306pr$1@dont-email.me>
<us6ckb$3khma$2@dont-email.me> <us6ge5$3l59s$4@dont-email.me>
<us6s1l$3nb7r$2@dont-email.me> <us8180$3v3cu$1@dont-email.me>
<20240305132240.241@kylheku.com> <us83nu$3vinv$1@dont-email.me>
<87le6wpbvc.fsf@nosuchdomain.example.com> <us86kr$7j8$1@dont-email.me>
<us9r86$eiqh$1@dont-email.me> <us9sao$erpl$1@dont-email.me>
<20240306161842.00001400@yahoo.com> <usafb2$irvm$1@dont-email.me>
<20240306114939.761@kylheku.com> <usaipk$jjq3$1@dont-email.me>
From: ross.a.f...@gmail.com (Ross Finlayson)
Date: Fri, 8 Mar 2024 21:36:14 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <usaipk$jjq3$1@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <ha2dnVzbM9-naHb4nZ2dnZfqnPWdnZ2d@giganews.com>
Lines: 175
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-dtlH2l3LngVsA7ed/2T3dxoWaDFbUPfJSxcPYFp0Z2E23cuydoIxYQgtOj8nV0OGmg7eFkprCmbmvoY!HbWx0ajZyISA6q3mP2lKTHxO/o4M1xaXulZIao4Tsk56mhVbIfv66FUBuDeunB2oRqNrzeEwaRQ=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Received-Bytes: 8555
 by: Ross Finlayson - Sat, 9 Mar 2024 05:36 UTC

On 03/06/2024 12:13 PM, David Brown wrote:
> On 06/03/2024 20:50, Kaz Kylheku wrote:
>> On 2024-03-06, James Kuyper <jameskuyper@alumni.caltech.edu> wrote:
>>> On 3/6/24 09:18, Michael S wrote:
>>>> On Wed, 6 Mar 2024 13:50:16 +0000
>>>> bart <bc@freeuk.com> wrote:
>>> ...
>>>>> Whoever wrote this short Wikipedia article on it got confused too as
>>>>> it uses both Ada and ADA:
>>>>>
>>>>> https://simple.wikipedia.org/wiki/Ada_(programming_language)
>>>>>
>>>>> (The example program also includes 'Ada' as some package name. Since
>>>>> it is case-insensitive, 'ADA' would also work.)
>>>>>
>>>>
>>>> Your link is to "simple Wikipedia". I don't know what it is
>>>> exactly, but it does not appear as authoritative as real Wikipedia
>>>
>>> Notice that in your following link, "en" appears at the beginning to
>>> indicate the use of English. "simple" at the beginning of the above link
>>> serves the same purpose. "Simple English" is it's own language, closely
>>> related to standard English.
>>
>> Where is Simple English spoken? Is there some geographic area where
>> native speakers concentrate?
>>
>
> It is meant to be simpler text, written in simpler language. The target
> audience will include younger people, people with dyslexia or other
> reading difficulties, learners of English, people with lower levels of
> education, people with limited intelligence or learning impediments, or
> simply people whose eyes glaze over when faced with long texts on the
> main Wikipedia pages.
>
>

Yet, why?

There's "Simplified Technical English", which is a same
sort of idea, with the idea that manuals and instructions
be clear and unambiguous.

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

Heh, it's like in the old days, when people would get
manuals, and be amused as it were by the expression.

What I'd like to know about is who keeps dialing
the "harmonization" efforts, which really must
give grouse to the "harmonisation" spellers,
when good old-fashioned words "spelt" their own way,
which of course is archaic "spelled".

It reminds me of "Math Blaster" and "Typing Games",
vis-a-vis, "the spelling bee", and for that matter,
of course, weekly spelling quizzes all through
elementary school.

I'm so old the only games we had were how to
compute and how to spell.

And Tooth Invaders. Just kidding I had 50+ floppies
for my Commodore64. Like GI Joe and Beachhead II.

But we didn't get promoted in school if we
didn't pass our spelling tests.

(We couldn't even have dangling prepositions
or sentence fragments like the above.)

We had a class in school we couldn't even pass
until we could type thirty words a minute.

The Simplified Technical English though is a good idea,
it's used in technical manuals and instructions, widely.

Really, whever harmonization dials away a word,
I'm like, hey, I'm using that word.

There's something to be said for a, "source parser",
the idea being a, multi-pass parser of sorts, with
any number of, forms, so that it results, parsing
languages sort of opportunistically, and results,
sort of lifting, sections, of source, into regions
of syntax, so that as syntaxes get all commingled,
that all the syntax and grammar definitions get piled
together, where it sort of results then for comments
and quoting, and, usual ideas of brackets, and comma,
for joiners and separators and groupers and splitters,
observing mostly usually the parenthetical and indentation,
for all sorts of languages, into, a pretty common sort of
form.

So, what is there, "Simplified Compilation Source",
basically reflecting, "if it's source somehow it
parses, if being ambiguous among languages then
in editions of each or according to the source
locale", these kinds of things....

For a long time I've been thinking about "modular
and composable parsers", with mostly the usual
goal of relating productions in grammar to source
locations, that one figures it would be a most usual
sort of study, to result, all the proliferation of
little languages, get all parsed, then for the great
facility of "term re-write rules" and "term-graph
re-write rules", or "re-write systems", or for
extracting signatures, identifiers, and logic,
for any kind of language.

I think everybody reading this has a most usual
sort of exposure to the theory of parsing as after
Backus-Naur format, vis-a-vis syntax diagrams or
railroad diagrams, and Chomsky hierarchy, and lexers
and parsers and the interpreted and all these kinds
of things, but I don't know a sort of wide-open
framework that parses any kinds of sources and
happens to also re-write itself to any sort of target,
parsing any source language in any source language.

Did I miss the memo?

What I got into was defining languages in terms
of comments and quoting, and, brackets and commas,
and, space and line, in terms of, sequence and alternation,
for basically that all the source is loaded or mapped into
memory, then instead of an abstract syntax tree or sorts,
results an abstract syntax sequence of sorts, those "lifted"
over the source text for its location, then that any sort
of lexicalizing and syntax and grammar, all get put together
as modules and any one just enumerates or makes equivalent
whatever kind of source it is, then according to the
language, results usual sorts constructs and productions,
for functional and procedural languages, and data,
and, you know, language.

Tesniere, Tesniere is the great complement to Chomsky,
where after Chomsky is like, "this finite state machine
builds models of productions in minimal resources", to,
something like, "Simplified Compilation Source", parser,
"this algorithm works in fixed or linear resources in
up to factorial time and parses anything, and unparsed
sections are their source text, and iterating the data
structure or any segment iterates the source under it
that it's lifted over".

See, look at that, "lifted over", I would get a bad
mark for that. Of course that's since been relaxed,
figuring it's natural to dangle and OK to continue.
And so on.

So anyways as long as we're talking about all the usual
languages, uh, is that all "Common Source Language"?

CS language?

So, for something like, "Common Compilation Components",
figuring all sorts usual functional and procedural
productions sort of have a usual form and thusly
can be a great fabric of re-write rules, or targetting,
basically is for making common-enough productions and
the algorithm be multi-pass as necessary, to result
a usual sort of workbench for languages of the source.

Re: [OT] UTF-8 sig. Was: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"

<pan$73e95$e215af$f87bac9e$cd5a2bc2@invalid.invalid>

  copy mid

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

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!bluemanedhawk.eternal-september.org!.POSTED!not-for-mail
From: bluemane...@invalid.invalid (Blue-Maned_Hawk)
Newsgroups: comp.lang.c
Subject: Re: [OT] UTF-8 sig. Was: "White House to Developers: Using C or C++
Invites Cybersecurity Risks"
Date: Sat, 9 Mar 2024 06:21:48 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <pan$73e95$e215af$f87bac9e$cd5a2bc2@invalid.invalid>
References: <us0brl$246bf$1@dont-email.me>
<pan$4fc39$61bdfbef$3ca9a71a$af842694@invalid.invalid>
<87y1ayj6hs.fsf_-_@bsb.me.uk>
<pan$e9f7e$d6f7a386$31c353e8$a08c13cf@invalid.invalid>
<871q8mplt5.fsf@nosuchdomain.example.com>
<pan$89efc$cc83d816$4a638ad0$fd2a107e@invalid.invalid>
<20240307002044.403@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 9 Mar 2024 06:21:48 -0000 (UTC)
Injection-Info: bluemanedhawk.eternal-september.org; posting-host="09d543879653ee29b7c667294d74b7b6";
logging-data="2312700"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19JmXsnKe8vQhoEMeNPCHqw0qmxgp8umqU="
User-Agent: Pan/0.154 (Izium; 517acf4)
Cancel-Lock: sha1:Fmg+UQVdYcab/7W+HmEQo9S27tw=
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACh0lEQVRYw71Z21bD
MAzzevbfkr4cHjrSXJyL044+MDa6WLEl2SkvkrZ1AbAvXO+bUGSCPYnsuIVGMpm
ZLnjX718GhAKNsp8lON2F9VrhELwIgJlBepkZjA78rVK+FkmNhEJK76UsJlz8+E
rJsjrpYouhLo/SC6qPHgakFOR8wV9+8rCfO/I/oVnmUZUp42/LW2XkLj9TCFNM9
jp5g2EmHZgpYZjCOkYU7sXVogRylJqpdggoFLG1g09Flah/7kErCxzR9HgXPYsq
0glb9cxjIz2Vsk9AmAoCSxECpD713joMKjQqLAtmMqJmXjdVvlMnMQCVITotJd1
z+fh1f1NNo+vuc1KnhWUmY7t03vydTud9BbXCtN3L2PL3bK7JCNG0GHzuZxafyB
fxevCxpm1vrwZltqw6SILCcdoCE6PGQC8wZWDA9Or7Qp5s3lAZezys0nDazs9S9
R0TjwEiksRxLkNPC1NMMWPs1bj0Ei0Yuo+JVtFLuzP1NRJ16qXWN8DhhtmS4PDg
O6mqRxs4bEJrYt087mSIow/1VzW2oFlMQuiuIy/KsUagvhdw6hSjJGlIavbLF8x
j3X47bccLcUSi0dkWh1nUZNhANT1tHKUXrNxNLbd9KPb9wDDVrKwmPQMOPQ1oy6
k5I1DwzDeRJd3jVIhDAUxq3ngzJG4CCkNXZxZVMcjefoK2J0gUY2S3rxz/RuTFx
2zHd9U+obimJXMG4edsk/2j5pTU5G1MmzbRLxkfq5EiT1GGsidvMGzi+1goGb2l
GCrN+nGnV8xj3q3JLRDVPL96vUc7Z4aJ3TN1mVqWAMJMfG+Jxh6TQqP+92iZkCU
xtglds1AB6r0aiSHKcnFck+p/c/0CbacFLQcajGcAAAAASUVORK5CYII=
X-Face: LlanfairÂÂÂÂÂÂÂ
­pwllgwyngyllÂÂÂÂÂÃ
‚Â
? ?gogery­chwy
rn
­drobwllÃ
ƒƒƒ‚­llanÂ
? ?ƒƒƒƒ‚­tysilioÂÃ
? ?ƒ‚­gogoÂÂÃ
ƒƒ‚­goch
 by: Blue-Maned_Hawk - Sat, 9 Mar 2024 06:21 UTC

Kaz Kylheku wrote:

> On 2024-03-07, Blue-Maned_Hawk <bluemanedhawk@invalid.invalid> wrote:
>> The bugreporting system for the software does not allow anonymous
>> reports.
>
> Use a fake identity?
>

I'd really quite prefer it if they'd just allow people to email in bug
reports.

>> I cannot use another newsreader.
>
> How so? What is the difference between you and people who use other
> newsreaders? Is it genetic or environmental? Nature or nurture?
>

I looked at all the newsreaders and concluded that this is the only one
worth using.

>> Changing my signature is not an option.
>
> Getting rid of a garbage signature that nobody can read is not an
> option?

Yes.

--
Blue-Maned_Hawk│shortens to
Hawk│/
blu.mɛin.dÊ°ak/
│he/him/his/himself/Mr.
blue-maned_hawk.srht.site

Re: [OT] UTF-8 sig. Was: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"

<pan$36217$35e3ad0b$854a5663$e69ccd67@invalid.invalid>

  copy mid

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

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!bluemanedhawk.eternal-september.org!.POSTED!not-for-mail
From: bluemane...@invalid.invalid (Blue-Maned_Hawk)
Newsgroups: comp.lang.c
Subject: Re: [OT] UTF-8 sig. Was: "White House to Developers: Using C or C++
Invites Cybersecurity Risks"
Date: Sat, 9 Mar 2024 06:23:45 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <pan$36217$35e3ad0b$854a5663$e69ccd67@invalid.invalid>
References: <us0brl$246bf$1@dont-email.me>
<pan$4fc39$61bdfbef$3ca9a71a$af842694@invalid.invalid>
<87y1ayj6hs.fsf_-_@bsb.me.uk>
<pan$e9f7e$d6f7a386$31c353e8$a08c13cf@invalid.invalid>
<871q8mplt5.fsf@nosuchdomain.example.com>
<pan$89efc$cc83d816$4a638ad0$fd2a107e@invalid.invalid>
<20240307002044.403@kylheku.com> <usc4dc$105mf$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 9 Mar 2024 06:23:45 -0000 (UTC)
Injection-Info: bluemanedhawk.eternal-september.org; posting-host="09d543879653ee29b7c667294d74b7b6";
logging-data="2312700"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+umym41zmN3dq0ywQmS2ScSasjeUU2rZU="
User-Agent: Pan/0.154 (Izium; 517acf4)
Cancel-Lock: sha1:iWZnckx45TrrkMyoR//VkuC/kqY=
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACh0lEQVRYw71Z21bD
MAzzevbfkr4cHjrSXJyL044+MDa6WLEl2SkvkrZ1AbAvXO+bUGSCPYnsuIVGMpm
ZLnjX718GhAKNsp8lON2F9VrhELwIgJlBepkZjA78rVK+FkmNhEJK76UsJlz8+E
rJsjrpYouhLo/SC6qPHgakFOR8wV9+8rCfO/I/oVnmUZUp42/LW2XkLj9TCFNM9
jp5g2EmHZgpYZjCOkYU7sXVogRylJqpdggoFLG1g09Flah/7kErCxzR9HgXPYsq
0glb9cxjIz2Vsk9AmAoCSxECpD713joMKjQqLAtmMqJmXjdVvlMnMQCVITotJd1
z+fh1f1NNo+vuc1KnhWUmY7t03vydTud9BbXCtN3L2PL3bK7JCNG0GHzuZxafyB
fxevCxpm1vrwZltqw6SILCcdoCE6PGQC8wZWDA9Or7Qp5s3lAZezys0nDazs9S9
R0TjwEiksRxLkNPC1NMMWPs1bj0Ei0Yuo+JVtFLuzP1NRJ16qXWN8DhhtmS4PDg
O6mqRxs4bEJrYt087mSIow/1VzW2oFlMQuiuIy/KsUagvhdw6hSjJGlIavbLF8x
j3X47bccLcUSi0dkWh1nUZNhANT1tHKUXrNxNLbd9KPb9wDDVrKwmPQMOPQ1oy6
k5I1DwzDeRJd3jVIhDAUxq3ngzJG4CCkNXZxZVMcjefoK2J0gUY2S3rxz/RuTFx
2zHd9U+obimJXMG4edsk/2j5pTU5G1MmzbRLxkfq5EiT1GGsidvMGzi+1goGb2l
GCrN+nGnV8xj3q3JLRDVPL96vUc7Z4aJ3TN1mVqWAMJMfG+Jxh6TQqP+92iZkCU
xtglds1AB6r0aiSHKcnFck+p/c/0CbacFLQcajGcAAAAASUVORK5CYII=
X-Face: LlanfairÂÂÂÂÂÂÂ
­pwllgwyngyllÂÂÂÂÂÃ
‚Â
? ?gogery­chwy
rn
­drobwllÃ
ƒƒƒ‚­llanÂ
? ?ƒƒƒƒ‚­tysilioÂÃ
? ?ƒ‚­gogoÂÂÃ
ƒƒ‚­goch
 by: Blue-Maned_Hawk - Sat, 9 Mar 2024 06:23 UTC

Richard Harnden wrote:

> I think Hawk│ is either woke
or entitled.

No, i just have principles that i stick to. (Besides, i'm much further
left than anyone who is “woke”.)

--
Blue-Maned_Hawk│shortens to
Hawk│/
blu.mɛin.dÊ°ak/
│he/him/his/himself/Mr.
blue-maned_hawk.srht.site
Indefinite edition!

Re: [OT] UTF-8 sig. Was: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"

<pan$89aca$33d2df8c$9e2c232f$d767db40@invalid.invalid>

  copy mid

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

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!bluemanedhawk.eternal-september.org!.POSTED!not-for-mail
From: bluemane...@invalid.invalid (Blue-Maned_Hawk)
Newsgroups: comp.lang.c
Subject: Re: [OT] UTF-8 sig. Was: "White House to Developers: Using C or C++
Invites Cybersecurity Risks"
Date: Sat, 9 Mar 2024 06:27:44 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 42
Message-ID: <pan$89aca$33d2df8c$9e2c232f$d767db40@invalid.invalid>
References: <us0brl$246bf$1@dont-email.me>
<pan$4fc39$61bdfbef$3ca9a71a$af842694@invalid.invalid>
<87y1ayj6hs.fsf_-_@bsb.me.uk>
<pan$e9f7e$d6f7a386$31c353e8$a08c13cf@invalid.invalid>
<usc845$10v6e$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 9 Mar 2024 06:27:44 -0000 (UTC)
Injection-Info: bluemanedhawk.eternal-september.org; posting-host="09d543879653ee29b7c667294d74b7b6";
logging-data="2312700"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+858xMIUlKgUnyEvpoWftaCxc7G12/IAU="
User-Agent: Pan/0.154 (Izium; 517acf4)
Cancel-Lock: sha1:VtozWyndz49KzIphgJ6WccBoFxo=
X-Face: LlanfairÂÂÂÂÂÂÂ
­pwllgwyngyllÂÂÂÂÂÃ
‚Â
? ?gogery­chwy
rn
­drobwllÃ
ƒƒƒ‚­llanÂ
? ?ƒƒƒƒ‚­tysilioÂÃ
? ?ƒ‚­gogoÂÂÃ
ƒƒ‚­goch
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACh0lEQVRYw71Z21bD
MAzzevbfkr4cHjrSXJyL044+MDa6WLEl2SkvkrZ1AbAvXO+bUGSCPYnsuIVGMpm
ZLnjX718GhAKNsp8lON2F9VrhELwIgJlBepkZjA78rVK+FkmNhEJK76UsJlz8+E
rJsjrpYouhLo/SC6qPHgakFOR8wV9+8rCfO/I/oVnmUZUp42/LW2XkLj9TCFNM9
jp5g2EmHZgpYZjCOkYU7sXVogRylJqpdggoFLG1g09Flah/7kErCxzR9HgXPYsq
0glb9cxjIz2Vsk9AmAoCSxECpD713joMKjQqLAtmMqJmXjdVvlMnMQCVITotJd1
z+fh1f1NNo+vuc1KnhWUmY7t03vydTud9BbXCtN3L2PL3bK7JCNG0GHzuZxafyB
fxevCxpm1vrwZltqw6SILCcdoCE6PGQC8wZWDA9Or7Qp5s3lAZezys0nDazs9S9
R0TjwEiksRxLkNPC1NMMWPs1bj0Ei0Yuo+JVtFLuzP1NRJ16qXWN8DhhtmS4PDg
O6mqRxs4bEJrYt087mSIow/1VzW2oFlMQuiuIy/KsUagvhdw6hSjJGlIavbLF8x
j3X47bccLcUSi0dkWh1nUZNhANT1tHKUXrNxNLbd9KPb9wDDVrKwmPQMOPQ1oy6
k5I1DwzDeRJd3jVIhDAUxq3ngzJG4CCkNXZxZVMcjefoK2J0gUY2S3rxz/RuTFx
2zHd9U+obimJXMG4edsk/2j5pTU5G1MmzbRLxkfq5EiT1GGsidvMGzi+1goGb2l
GCrN+nGnV8xj3q3JLRDVPL96vUc7Z4aJ3TN1mVqWAMJMfG+Jxh6TQqP+92iZkCU
xtglds1AB6r0aiSHKcnFck+p/c/0CbacFLQcajGcAAAAASUVORK5CYII=
 by: Blue-Maned_Hawk - Sat, 9 Mar 2024 06:27 UTC

Ben wrote:

> On Thu, 7 Mar 2024 06:48:19 -0000 (UTC), Blue-Maned_Hawk wrote:
>
>> Ben Bacarisse wrote:
>>
>>> Blue-Maned_Hawk <bluemanedhawk@invalid.invalid> writes:
>>> <cut>
>>>
>>> Since you are clearly happy to post using UTF-8, can I urge you to fix
>>> your sig so that it comes out looking right?
>>
>> Since it is my newsreader that is corrupting it, it is the fault of the
>> newsreader,
>
> I don't think that's the case. Here is a test post using the same
> newsreader and something that is probably close to what you want in your
> sig. (Yours is too messed up for me to work out exactly what you want
> it to look like.)
>

It does not happen immediately; instead, the signature that the software
saves gets more and more corrupted each time the software is opened.

>> and therefore not within my jurisdiction of a problem to fix.
>
> Pan is open source. You may not have the skills to fix it, but doing so
> is in your jurisdiction (though I may have not understood what you mean
> by that).

It is written in CXX and their contribution system does not accept emailed
patches.

--
Blue-Maned_Hawk│shortens to
Hawk│/
blu.mɛin.dÊ°ak/
│he/him/his/himself/Mr.
blue-maned_hawk.srht.site
Help, i accidentally built a shelf!

Re: [OT] UTF-8 sig. Was: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"

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

  copy mid

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

  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: [OT] UTF-8 sig. Was: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"
Date: Fri, 08 Mar 2024 23:27:01 -0800
Organization: None to speak of
Lines: 40
Message-ID: <87v85vzwze.fsf@nosuchdomain.example.com>
References: <us0brl$246bf$1@dont-email.me>
<pan$4fc39$61bdfbef$3ca9a71a$af842694@invalid.invalid>
<87y1ayj6hs.fsf_-_@bsb.me.uk>
<pan$e9f7e$d6f7a386$31c353e8$a08c13cf@invalid.invalid>
<usc845$10v6e$1@dont-email.me>
<pan$89aca$33d2df8c$9e2c232f$d767db40@invalid.invalid>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="6af6ddce65968e0eab9f17c4524a0c9d";
logging-data="2332578"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18yUt7Be58ZSH8J45TYrYuW"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:A232m/o4X9uiu72c1JS4mOzZf0E=
sha1:7Gexul44wELvsxocnDXchfsotgg=
 by: Keith Thompson - Sat, 9 Mar 2024 07:27 UTC

Blue-Maned_Hawk <bluemanedhawk@invalid.invalid> writes:
> Ben wrote:
>> On Thu, 7 Mar 2024 06:48:19 -0000 (UTC), Blue-Maned_Hawk wrote:
>>> Ben Bacarisse wrote:
>>>> Blue-Maned_Hawk <bluemanedhawk@invalid.invalid> writes:
>>>> <cut>
>>>>
>>>> Since you are clearly happy to post using UTF-8, can I urge you to fix
>>>> your sig so that it comes out looking right?
>>>
>>> Since it is my newsreader that is corrupting it, it is the fault of the
>>> newsreader,
>>
>> I don't think that's the case. Here is a test post using the same
>> newsreader and something that is probably close to what you want in your
>> sig. (Yours is too messed up for me to work out exactly what you want
>> it to look like.)
>
> It does not happen immediately; instead, the signature that the software
> saves gets more and more corrupted each time the software is opened.

Is it saved in a file? Can you not restore that file from a clean copy?

Is it possible that your locale settings are causing your newsreader to
misbehave?

Though I'm not sure why I'm trying to help you to solve a problem when
you seem so determined not to do anything about it.

Elsewhere in this thread:

> No, i just have principles that i stick to.

If your principles require you to inflict garbage on the rest of us, you
should reexamine them.

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Medtronic
void Void(void) { Void(); } /* The recursive call of the void */

Re: [OT] UTF-8 sig.

<ushea7$28prq$2@dont-email.me>

  copy mid

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

  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: ben.use...@bsb.me.uk (Ben)
Newsgroups: comp.lang.c
Subject: Re: [OT] UTF-8 sig.
Date: Sat, 9 Mar 2024 10:40:07 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <ushea7$28prq$2@dont-email.me>
References: <us0brl$246bf$1@dont-email.me>
<pan$4fc39$61bdfbef$3ca9a71a$af842694@invalid.invalid>
<87y1ayj6hs.fsf_-_@bsb.me.uk>
<pan$e9f7e$d6f7a386$31c353e8$a08c13cf@invalid.invalid>
<usc845$10v6e$1@dont-email.me>
<pan$89aca$33d2df8c$9e2c232f$d767db40@invalid.invalid>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 9 Mar 2024 10:40:07 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5f28a07cbad74c10ce5ed0ae57d8517a";
logging-data="2385786"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Zptu97cr3z5XL1ThJiasJfAPxwrawE9Y="
User-Agent: Pan/0.154 (Izium; 517acf4)
Cancel-Lock: sha1:RSr7nRRvtKX1kjxoERfRc8kfTqc=
 by: Ben - Sat, 9 Mar 2024 10:40 UTC

On Sat, 9 Mar 2024 06:27:44 -0000 (UTC), Blue-Maned_Hawk wrote:

> Ben wrote:
>
>> On Thu, 7 Mar 2024 06:48:19 -0000 (UTC), Blue-Maned_Hawk wrote:
>>
>>> Ben Bacarisse wrote:
>>>
>>>> Blue-Maned_Hawk <bluemanedhawk@invalid.invalid> writes:
>>>> <cut>
>>>>
>>>> Since you are clearly happy to post using UTF-8, can I urge you to
>>>> fix your sig so that it comes out looking right?
>>>
>>> Since it is my newsreader that is corrupting it, it is the fault of
>>> the newsreader,
>>
>> I don't think that's the case. Here is a test post using the same
>> newsreader and something that is probably close to what you want in
>> your sig. (Yours is too messed up for me to work out exactly what you
>> want it to look like.)
>>
>>
> It does not happen immediately; instead, the signature that the software
> saves gets more and more corrupted each time the software is opened.

Do you mean the problem is not with Pan after all? "The software" is
deliberately vague and I don't know why Pan would be saving the signature
file. It just reads it as far as I can tell.

--
/blu.mɛin.dʰak/ | shortens to "Hawk" | he/him/his/himself/Mr.

Re: [OT] UTF-8 sig.

<ushiov$2a6en$1@dont-email.me>

  copy mid

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

  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: richard....@gmail.invalid (Richard Harnden)
Newsgroups: comp.lang.c
Subject: Re: [OT] UTF-8 sig.
Date: Sat, 9 Mar 2024 11:56:15 +0000
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <ushiov$2a6en$1@dont-email.me>
References: <us0brl$246bf$1@dont-email.me>
<pan$4fc39$61bdfbef$3ca9a71a$af842694@invalid.invalid>
<87y1ayj6hs.fsf_-_@bsb.me.uk>
<pan$e9f7e$d6f7a386$31c353e8$a08c13cf@invalid.invalid>
<usc845$10v6e$1@dont-email.me>
<pan$89aca$33d2df8c$9e2c232f$d767db40@invalid.invalid>
<ushea7$28prq$2@dont-email.me>
Reply-To: nospam.harnden@invalid.com
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 9 Mar 2024 11:56:15 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e2c2ee259377bb264d2def40081d6b46";
logging-data="2431447"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+q7u83KAi4ozOC5AuyS9p5zWfrCOohHFU="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:0XBZn8eV/tolhzl5h9oIuzZ4M+8=
In-Reply-To: <ushea7$28prq$2@dont-email.me>
Content-Language: en-GB
 by: Richard Harnden - Sat, 9 Mar 2024 11:56 UTC

On 09/03/2024 10:40, Ben wrote:
> [working sig]

Since you have utf8/ipa working, I don't suppose you could say how to
pronounce your surname? I know I get it wrong. I'm pretty sure I don't
even get close.

Thanks.

Re: [OT] UTF-8 sig. Was: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"

<pan$2dd7c$14ee35e9$af2801e3$81014785@invalid.invalid>

  copy mid

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

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!bluemanedhawk.eternal-september.org!.POSTED!not-for-mail
From: bluemane...@invalid.invalid (Blue-Maned_Hawk)
Newsgroups: comp.lang.c
Subject: Re: [OT] UTF-8 sig. Was: "White House to Developers: Using C or C++
Invites Cybersecurity Risks"
Date: Sat, 9 Mar 2024 12:21:48 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 52
Message-ID: <pan$2dd7c$14ee35e9$af2801e3$81014785@invalid.invalid>
References: <us0brl$246bf$1@dont-email.me>
<pan$4fc39$61bdfbef$3ca9a71a$af842694@invalid.invalid>
<87y1ayj6hs.fsf_-_@bsb.me.uk>
<pan$e9f7e$d6f7a386$31c353e8$a08c13cf@invalid.invalid>
<usc845$10v6e$1@dont-email.me>
<pan$89aca$33d2df8c$9e2c232f$d767db40@invalid.invalid>
<87v85vzwze.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 9 Mar 2024 12:21:48 -0000 (UTC)
Injection-Info: bluemanedhawk.eternal-september.org; posting-host="09d543879653ee29b7c667294d74b7b6";
logging-data="2440063"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18eZKaWDP/xxZtIA99gJbUDa7tQMlv9bgs="
User-Agent: Pan/0.154 (Izium; 517acf4)
Cancel-Lock: sha1:0sag/lscNsorEhoPjoTZB+y9alc=
X-Face: LlanfairÂÂÂÂÂÂÂ
­pwllgwyngyllÂÂÂÂÂÃ
‚Â
? ?gogery­chwy
rn
­drobwllÃ
ƒƒƒ‚­llanÂ
? ?ƒƒƒƒ‚­tysilioÂÃ
? ?ƒ‚­gogoÂÂÃ
ƒƒ‚­goch
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACh0lEQVRYw71Z21bD
MAzzevbfkr4cHjrSXJyL044+MDa6WLEl2SkvkrZ1AbAvXO+bUGSCPYnsuIVGMpm
ZLnjX718GhAKNsp8lON2F9VrhELwIgJlBepkZjA78rVK+FkmNhEJK76UsJlz8+E
rJsjrpYouhLo/SC6qPHgakFOR8wV9+8rCfO/I/oVnmUZUp42/LW2XkLj9TCFNM9
jp5g2EmHZgpYZjCOkYU7sXVogRylJqpdggoFLG1g09Flah/7kErCxzR9HgXPYsq
0glb9cxjIz2Vsk9AmAoCSxECpD713joMKjQqLAtmMqJmXjdVvlMnMQCVITotJd1
z+fh1f1NNo+vuc1KnhWUmY7t03vydTud9BbXCtN3L2PL3bK7JCNG0GHzuZxafyB
fxevCxpm1vrwZltqw6SILCcdoCE6PGQC8wZWDA9Or7Qp5s3lAZezys0nDazs9S9
R0TjwEiksRxLkNPC1NMMWPs1bj0Ei0Yuo+JVtFLuzP1NRJ16qXWN8DhhtmS4PDg
O6mqRxs4bEJrYt087mSIow/1VzW2oFlMQuiuIy/KsUagvhdw6hSjJGlIavbLF8x
j3X47bccLcUSi0dkWh1nUZNhANT1tHKUXrNxNLbd9KPb9wDDVrKwmPQMOPQ1oy6
k5I1DwzDeRJd3jVIhDAUxq3ngzJG4CCkNXZxZVMcjefoK2J0gUY2S3rxz/RuTFx
2zHd9U+obimJXMG4edsk/2j5pTU5G1MmzbRLxkfq5EiT1GGsidvMGzi+1goGb2l
GCrN+nGnV8xj3q3JLRDVPL96vUc7Z4aJ3TN1mVqWAMJMfG+Jxh6TQqP+92iZkCU
xtglds1AB6r0aiSHKcnFck+p/c/0CbacFLQcajGcAAAAASUVORK5CYII=
 by: Blue-Maned_Hawk - Sat, 9 Mar 2024 12:21 UTC

Keith Thompson wrote:

> Blue-Maned_Hawk <bluemanedhawk@invalid.invalid> writes:
>> Ben wrote:
>>> On Thu, 7 Mar 2024 06:48:19 -0000 (UTC), Blue-Maned_Hawk wrote:
>>>> Ben Bacarisse wrote:
>>>>> Blue-Maned_Hawk <bluemanedhawk@invalid.invalid> writes:
>>>>> <cut>
>>>>>
>>>>> Since you are clearly happy to post using UTF-8, can I urge you to
>>>>> fix your sig so that it comes out looking right?
>>>>
>>>> Since it is my newsreader that is corrupting it, it is the fault of
>>>> the newsreader,
>>>
>>> I don't think that's the case. Here is a test post using the same
>>> newsreader and something that is probably close to what you want in
>>> your sig. (Yours is too messed up for me to work out exactly what you
>>> want it to look like.)
>>
>> It does not happen immediately; instead, the signature that the
>> software saves gets more and more corrupted each time the software is
>> opened.
>
> Is it saved in a file? Can you not restore that file from a clean copy?

I would need to do that every time i open the software. It seems to be
saved in an XML file at ‘~/.pan2/posting.xml’ that explicitly states that
its encoding is UTF-8, so i don't know why the software keeps reëncoding
it into something completely different and then reading it back as UTF-8.

> Is it possible that your locale settings are causing your newsreader to
> misbehave?

I looked through various settings and found nothing that i could change to
fix the problem.

>> No, i just have principles that i stick to.
>
> If your principles require you to inflict garbage on the rest of us, you
> should reexamine them.

They do not.

--
Blue-Maned_Hawk│shortens to
Hawk│/
blu.mɛin.dÊ°ak/
│he/him/his/himself/Mr.
blue-maned_hawk.srht.site

Re: [OT] UTF-8 sig.

<pan$be9e9$95150fd$ee371059$7d065ee9@invalid.invalid>

  copy mid

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

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!bluemanedhawk.eternal-september.org!.POSTED!not-for-mail
From: bluemane...@invalid.invalid (Blue-Maned_Hawk)
Newsgroups: comp.lang.c
Subject: Re: [OT] UTF-8 sig.
Date: Sat, 9 Mar 2024 12:25:07 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 50
Message-ID: <pan$be9e9$95150fd$ee371059$7d065ee9@invalid.invalid>
References: <us0brl$246bf$1@dont-email.me>
<pan$4fc39$61bdfbef$3ca9a71a$af842694@invalid.invalid>
<87y1ayj6hs.fsf_-_@bsb.me.uk>
<pan$e9f7e$d6f7a386$31c353e8$a08c13cf@invalid.invalid>
<usc845$10v6e$1@dont-email.me>
<pan$89aca$33d2df8c$9e2c232f$d767db40@invalid.invalid>
<ushea7$28prq$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 9 Mar 2024 12:25:07 -0000 (UTC)
Injection-Info: bluemanedhawk.eternal-september.org; posting-host="09d543879653ee29b7c667294d74b7b6";
logging-data="2440063"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/rMPpjEIZkX4Yw5705GKiT+fAyy/ZzI6o="
User-Agent: Pan/0.154 (Izium; 517acf4)
Cancel-Lock: sha1:Q7ylI/vQm2DAmSPqFn05YLnMnWs=
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACh0lEQVRYw71Z21bD
MAzzevbfkr4cHjrSXJyL044+MDa6WLEl2SkvkrZ1AbAvXO+bUGSCPYnsuIVGMpm
ZLnjX718GhAKNsp8lON2F9VrhELwIgJlBepkZjA78rVK+FkmNhEJK76UsJlz8+E
rJsjrpYouhLo/SC6qPHgakFOR8wV9+8rCfO/I/oVnmUZUp42/LW2XkLj9TCFNM9
jp5g2EmHZgpYZjCOkYU7sXVogRylJqpdggoFLG1g09Flah/7kErCxzR9HgXPYsq
0glb9cxjIz2Vsk9AmAoCSxECpD713joMKjQqLAtmMqJmXjdVvlMnMQCVITotJd1
z+fh1f1NNo+vuc1KnhWUmY7t03vydTud9BbXCtN3L2PL3bK7JCNG0GHzuZxafyB
fxevCxpm1vrwZltqw6SILCcdoCE6PGQC8wZWDA9Or7Qp5s3lAZezys0nDazs9S9
R0TjwEiksRxLkNPC1NMMWPs1bj0Ei0Yuo+JVtFLuzP1NRJ16qXWN8DhhtmS4PDg
O6mqRxs4bEJrYt087mSIow/1VzW2oFlMQuiuIy/KsUagvhdw6hSjJGlIavbLF8x
j3X47bccLcUSi0dkWh1nUZNhANT1tHKUXrNxNLbd9KPb9wDDVrKwmPQMOPQ1oy6
k5I1DwzDeRJd3jVIhDAUxq3ngzJG4CCkNXZxZVMcjefoK2J0gUY2S3rxz/RuTFx
2zHd9U+obimJXMG4edsk/2j5pTU5G1MmzbRLxkfq5EiT1GGsidvMGzi+1goGb2l
GCrN+nGnV8xj3q3JLRDVPL96vUc7Z4aJ3TN1mVqWAMJMfG+Jxh6TQqP+92iZkCU
xtglds1AB6r0aiSHKcnFck+p/c/0CbacFLQcajGcAAAAASUVORK5CYII=
X-Face: LlanfairÂÂÂÂÂÂÂ
­pwllgwyngyllÂÂÂÂÂÃ
‚Â
? ?gogery­chwy
rn
­drobwllÃ
ƒƒƒ‚­llanÂ
? ?ƒƒƒƒ‚­tysilioÂÃ
? ?ƒ‚­gogoÂÂÃ
ƒƒ‚­goch
 by: Blue-Maned_Hawk - Sat, 9 Mar 2024 12:25 UTC

Ben wrote:

> On Sat, 9 Mar 2024 06:27:44 -0000 (UTC), Blue-Maned_Hawk wrote:
>
>> Ben wrote:
>>
>>> On Thu, 7 Mar 2024 06:48:19 -0000 (UTC), Blue-Maned_Hawk wrote:
>>>
>>>> Ben Bacarisse wrote:
>>>>
>>>>> Blue-Maned_Hawk <bluemanedhawk@invalid.invalid> writes:
>>>>> <cut>
>>>>>
>>>>> Since you are clearly happy to post using UTF-8, can I urge you to
>>>>> fix your sig so that it comes out looking right?
>>>>
>>>> Since it is my newsreader that is corrupting it, it is the fault of
>>>> the newsreader,
>>>
>>> I don't think that's the case. Here is a test post using the same
>>> newsreader and something that is probably close to what you want in
>>> your sig. (Yours is too messed up for me to work out exactly what you
>>> want it to look like.)

I should have replied to this bit earlier: it intentionally does not use
the polebar character because the spaces required on each side of each
would make the first line not fit the standard format.

>>>
>>>
>> It does not happen immediately; instead, the signature that the
>> software saves gets more and more corrupted each time the software is
>> opened.
>
> Do you mean the problem is not with Pan after all? "The software" is
> deliberately vague and I don't know why Pan would be saving the
> signature file. It just reads it as far as I can tell.

No, the problem is definitely with Pan. I don't know why it would be
saving the signature file either, but it is.

--
Blue-Maned_Hawk│shortens to
Hawk│/
blu.mɛin.dÊ°ak/
│he/him/his/himself/Mr.
blue-maned_hawk.srht.site
a

Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"

<ushkfm$2ai73$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c++ comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c++,comp.lang.c
Subject: Re: "White House to Developers: Using C or C++ Invites Cybersecurity
Risks"
Date: Sat, 9 Mar 2024 13:25:26 +0100
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <ushkfm$2ai73$1@dont-email.me>
References: <us0brl$246bf$1@dont-email.me> <us1lb5$2f4n4$1@dont-email.me>
<20240303092938.43@kylheku.com> <us2m8u$2m9mm$1@dont-email.me>
<us2s0i$2n6h3$5@dont-email.me> <us41kk$327oo$1@dont-email.me>
<us5bd9$3b404$1@dont-email.me> <us6n21$3mbe2$1@dont-email.me>
<us80kd$3v39d$1@dont-email.me> <us9hc9$b720$1@dont-email.me>
<usaq3v$l26r$3@dont-email.me> <usfvld$1tfqm$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 9 Mar 2024 12:25:27 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4ac7f1056488cfd1f74bf1d72d12d7af";
logging-data="2443491"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+xAIkmGs1k3dEKhIPON9pv1lu0tG0uE8w="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:gGJWcbiAP5MuTy4YApq8NydJ9Bg=
Content-Language: en-GB
In-Reply-To: <usfvld$1tfqm$2@dont-email.me>
 by: David Brown - Sat, 9 Mar 2024 12:25 UTC

On 08/03/2024 22:23, Chris M. Thomasson wrote:
> On 3/6/2024 2:18 PM, Chris M. Thomasson wrote:
>> On 3/6/2024 2:43 AM, David Brown wrote:
> [...]
>
> This is a fun one:
>
> // pseudo code...
> _______________________
> node*
> node_pop()
> {
>     // try per-thread lifo
>
>     // try shared distributed lifo
>
>     // try global region
>
>     // if all of those failed, return nullptr
> }
>

Just to be clear here - if this is in a safety-critical system, and your
allocation system returns nullptr, people die. That is why you don't
use this kind of thing for important tasks.

Re: [OT] UTF-8 sig.

<ushn58$2b111$1@dont-email.me>

  copy mid

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

  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: richard....@gmail.invalid (Richard Harnden)
Newsgroups: comp.lang.c
Subject: Re: [OT] UTF-8 sig.
Date: Sat, 9 Mar 2024 13:11:04 +0000
Organization: A noiseless patient Spider
Lines: 52
Message-ID: <ushn58$2b111$1@dont-email.me>
References: <us0brl$246bf$1@dont-email.me>
<pan$4fc39$61bdfbef$3ca9a71a$af842694@invalid.invalid>
<87y1ayj6hs.fsf_-_@bsb.me.uk>
<pan$e9f7e$d6f7a386$31c353e8$a08c13cf@invalid.invalid>
<usc845$10v6e$1@dont-email.me>
<pan$89aca$33d2df8c$9e2c232f$d767db40@invalid.invalid>
<ushea7$28prq$2@dont-email.me>
<pan$be9e9$95150fd$ee371059$7d065ee9@invalid.invalid>
Reply-To: nospam.harnden@invalid.com
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 9 Mar 2024 13:11:04 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e2c2ee259377bb264d2def40081d6b46";
logging-data="2458657"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+lMb70SohF/ZQiB4TBXTVA5j6URqwXMio="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:zjQDibam2p1V1WE709dvqhdNlEk=
In-Reply-To: <pan$be9e9$95150fd$ee371059$7d065ee9@invalid.invalid>
Content-Language: en-GB
 by: Richard Harnden - Sat, 9 Mar 2024 13:11 UTC

On 09/03/2024 12:25, Blue-Maned_Hawk wrote:
> Ben wrote:
>
>> On Sat, 9 Mar 2024 06:27:44 -0000 (UTC), Blue-Maned_Hawk wrote:
>>
>>> Ben wrote:
>>>
>>>> On Thu, 7 Mar 2024 06:48:19 -0000 (UTC), Blue-Maned_Hawk wrote:
>>>>
>>>>> Ben Bacarisse wrote:
>>>>>
>>>>>> Blue-Maned_Hawk <bluemanedhawk@invalid.invalid> writes:
>>>>>> <cut>
>>>>>>
>>>>>> Since you are clearly happy to post using UTF-8, can I urge you to
>>>>>> fix your sig so that it comes out looking right?
>>>>>
>>>>> Since it is my newsreader that is corrupting it, it is the fault of
>>>>> the newsreader,
>>>>
>>>> I don't think that's the case. Here is a test post using the same
>>>> newsreader and something that is probably close to what you want in
>>>> your sig. (Yours is too messed up for me to work out exactly what you
>>>> want it to look like.)
>
> I should have replied to this bit earlier: it intentionally does not use
> the polebar character because the spaces required on each side of each
> would make the first line not fit the standard format.

Polebar? You mean pipe?

You are being anal about kerning, but you are happy to post with a sig
that no one can read and doesn't format correctly.

>
>>>>
>>>>
>>> It does not happen immediately; instead, the signature that the
>>> software saves gets more and more corrupted each time the software is
>>> opened.
>>
>> Do you mean the problem is not with Pan after all? "The software" is
>> deliberately vague and I don't know why Pan would be saving the
>> signature file. It just reads it as far as I can tell.
>
> No, the problem is definitely with Pan. I don't know why it would be
> saving the signature file either, but it is.
>

I think Ben has shown that it doesn't.

avoiding strdup() (was: Re: [OT] UTF-8 sig.)

<ushnkb$1rnlb$4@dont-email.me>

  copy mid

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

  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: val...@cultnix.org (vallor)
Newsgroups: comp.lang.c
Subject: avoiding strdup() (was: Re: [OT] UTF-8 sig.)
Date: Sat, 9 Mar 2024 13:19:07 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 84
Message-ID: <ushnkb$1rnlb$4@dont-email.me>
References: <us0brl$246bf$1@dont-email.me>
<pan$4fc39$61bdfbef$3ca9a71a$af842694@invalid.invalid>
<87y1ayj6hs.fsf_-_@bsb.me.uk>
<pan$e9f7e$d6f7a386$31c353e8$a08c13cf@invalid.invalid>
<usc845$10v6e$1@dont-email.me>
<pan$89aca$33d2df8c$9e2c232f$d767db40@invalid.invalid>
<ushea7$28prq$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 9 Mar 2024 13:19:07 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ab4e216fb12235b831fdc816a1885311";
logging-data="1957547"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX186ipi3r27JnJcoJmjLVwy2"
User-Agent: Pan/0.155 (Kherson; c0bf34e gitlab.gnome.org/GNOME/pan.git;
x86_64-pc-linux-gnu)
Cancel-Lock: sha1:VVgFm8/x+Z5jpjo9BySr26iEBHY=
X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9<Q#U*4QO)$l81M`{Q/n
XL'`91kd%N::LG:=*\35JS0prp\VJN^<s"b#bff@fA7]5lJA.jn,x_d%Md$,{.EZ
 by: vallor - Sat, 9 Mar 2024 13:19 UTC

On Sat, 9 Mar 2024 10:40:07 -0000 (UTC), Ben <ben.usenet@bsb.me.uk> wrote
in <ushea7$28prq$2@dont-email.me>:

> On Sat, 9 Mar 2024 06:27:44 -0000 (UTC), Blue-Maned_Hawk wrote:
>
>> Ben wrote:
>>
>>> On Thu, 7 Mar 2024 06:48:19 -0000 (UTC), Blue-Maned_Hawk wrote:
>>>
>>>> Ben Bacarisse wrote:
>>>>
>>>>> Blue-Maned_Hawk <bluemanedhawk@invalid.invalid> writes:
>>>>> <cut>
>>>>>
>>>>> Since you are clearly happy to post using UTF-8, can I urge you to
>>>>> fix your sig so that it comes out looking right?
>>>>
>>>> Since it is my newsreader that is corrupting it, it is the fault of
>>>> the newsreader,
>>>
>>> I don't think that's the case. Here is a test post using the same
>>> newsreader and something that is probably close to what you want in
>>> your sig. (Yours is too messed up for me to work out exactly what you
>>> want it to look like.)
>>>
>>>
>> It does not happen immediately; instead, the signature that the
>> software saves gets more and more corrupted each time the software is
>> opened.
>
> Do you mean the problem is not with Pan after all? "The software" is
> deliberately vague and I don't know why Pan would be saving the
> signature file. It just reads it as far as I can tell.
>
> --
> /blu.mɛin.dʰak/ | shortens to "Hawk" | he/him/his/himself/Mr.

Perhaps he is using a "Text" type signature, instead of a "Text File"
type signature?

(Would love to discuss it, but in news.software.readers.)

ObC:

Gradually being dragged into the new millenium, where I'm
comfortable with the following:

char something[] = "writable string initializer";

And gcc has -fsanitize=address -- a lovely thing to behold
if it fires off.

Meanwhile, saw someone in another group write:

char * something;
something = strdup("writable string etc.");
if( something == NULL ) { etc. }

But that won't work if --std=c99, does work for g99 and c2x.
The (Linux) man page says:
/* Since glibc 2.12: */ _POSIX_C_SOURCE >= 200809L

I asked Google about it being a POSIX extension
added at that late date, and it gave me an answer
about the C standard:

"C9X London meeting update"
https://groups.google.com/g/comp.std.c/c/pMaEU_8Rb7w
_ _ _ _ _
2. strsep and strdup are not being added. strsep() is out because
not enough people wanted it to vote it in; strdup() lost on the
grounds that it would be the *ONLY* function other than *alloc()
in the entire library whose return could be sanely passed to free(),
and this is surprising.
_ _ _ _ _

Also: <https://stackoverflow.com/questions/32944390/what-is-the-rationale-
for-not-including-strdup-in-the-c-standard>

Anyway, pointed out that they can just use an initializer, something
about which I was clued in by a friendly person in this very group.

--
-v

Re: [OT] UTF-8 sig.

<ushtlq$2bl9c$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c news.software.readers
Followup: news.software.readers
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: val...@cultnix.org (vallor)
Newsgroups: comp.lang.c,news.software.readers
Subject: Re: [OT] UTF-8 sig.
Followup-To: news.software.readers
Date: Sat, 9 Mar 2024 15:02:18 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <ushtlq$2bl9c$1@dont-email.me>
References: <us0brl$246bf$1@dont-email.me>
<pan$4fc39$61bdfbef$3ca9a71a$af842694@invalid.invalid>
<87y1ayj6hs.fsf_-_@bsb.me.uk>
<pan$e9f7e$d6f7a386$31c353e8$a08c13cf@invalid.invalid>
<usc845$10v6e$1@dont-email.me>
<pan$89aca$33d2df8c$9e2c232f$d767db40@invalid.invalid>
<87v85vzwze.fsf@nosuchdomain.example.com>
<pan$2dd7c$14ee35e9$af2801e3$81014785@invalid.invalid>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 9 Mar 2024 15:02:18 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8febf3df7bc0dde8f053f8a01fe70cc9";
logging-data="2479404"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19krERpYWeAmSIawqqlpY2Y"
User-Agent: Pan/0.155 (Kherson; c0bf34e gitlab.gnome.org/GNOME/pan.git;
x86_64-pc-linux-gnu)
Cancel-Lock: sha1:o0gIMafyfT3rXN9JzXIyy/WJzfY=
X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9<Q#U*4QO)$l81M`{Q/n
XL'`91kd%N::LG:=*\35JS0prp\VJN^<s"b#bff@fA7]5lJA.jn,x_d%Md$,{.EZ
 by: vallor - Sat, 9 Mar 2024 15:02 UTC

On Sat, 9 Mar 2024 12:21:48 -0000 (UTC), Blue-Maned_Hawk
<bluemanedhawk@invalid.invalid> wrote in
<pan$2dd7c$14ee35e9$af2801e3$81014785@invalid.invalid>:

> It seems to be saved in an XML file at ‘~/.pan2/posting.xml’

That's your problem. Here is your answer:

Create a separate sig file with your UTF-8 text.

Then go into your posting profile and change the sig type from "text"
to "text file". (It's a drop-down menu.) Then, select the sig
file as your sig file.

This would have been better discussed in news.software.readers,
not comp.lang.c.

> I looked through various settings and found nothing that i could change
> to fix the problem.

I'm biting my tongue.

fu2: news.software.readers.

news.software.readers Discussing software for reading network news
(Usenet).

--
-v

Re: avoiding strdup()

<AvZ1AG=nEY26QTs5J@bongo-ra.co>

  copy mid

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

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!news.furie.org.uk!usenet.goja.nl.eu.org!paganini.bofh.team!not-for-mail
From: spi...@gmail.com (Spiros Bousbouras)
Newsgroups: comp.lang.c
Subject: Re: avoiding strdup()
Date: Sat, 9 Mar 2024 15:25:03 -0000 (UTC)
Organization: To protect and to server
Message-ID: <AvZ1AG=nEY26QTs5J@bongo-ra.co>
References: <us0brl$246bf$1@dont-email.me> <pan$4fc39$61bdfbef$3ca9a71a$af842694@invalid.invalid> <87y1ayj6hs.fsf_-_@bsb.me.uk>
<pan$e9f7e$d6f7a386$31c353e8$a08c13cf@invalid.invalid> <usc845$10v6e$1@dont-email.me> <pan$89aca$33d2df8c$9e2c232f$d767db40@invalid.invalid>
<ushea7$28prq$2@dont-email.me> <ushnkb$1rnlb$4@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 9 Mar 2024 15:25:03 -0000 (UTC)
Injection-Info: paganini.bofh.team; logging-data="2837160"; posting-host="9H7U5kayiTdk7VIdYU44Rw.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
Cancel-Lock: sha256:BF4TEf4yCe7EwnAbZdDlmrWKHMX5XBgnKmsDgLLGLlY=
X-Server-Commands: nowebcancel
X-Organisation: Weyland-Yutani
X-Notice: Filtered by postfilter v. 0.9.3
 by: Spiros Bousbouras - Sat, 9 Mar 2024 15:25 UTC

On Sat, 9 Mar 2024 13:19:07 -0000 (UTC)
vallor <vallor@cultnix.org> wrote:
> Meanwhile, saw someone in another group write:
>
> char * something;
> something = strdup("writable string etc.");
> if( something == NULL ) { etc. }
>
> But that won't work if --std=c99, does work for g99 and c2x.
> The (Linux) man page says:
> /* Since glibc 2.12: */ _POSIX_C_SOURCE >= 200809L
>
> I asked Google about it being a POSIX extension
> added at that late date, and it gave me an answer
> about the C standard:
>
> "C9X London meeting update"
> https://groups.google.com/g/comp.std.c/c/pMaEU_8Rb7w
> _ _ _ _ _
> 2. strsep and strdup are not being added. strsep() is out because
> not enough people wanted it to vote it in; strdup() lost on the
> grounds that it would be the *ONLY* function other than *alloc()
> in the entire library whose return could be sanely passed to free(),
> and this is surprising.

The design of strsep() is poor. The reasoning for not adding strdup()
doesn't make any sense to me.

Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"

<usin3i$2htsq$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c++ comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++,comp.lang.c
Subject: Re: "White House to Developers: Using C or C++ Invites Cybersecurity
Risks"
Date: Sat, 9 Mar 2024 14:16:18 -0800
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <usin3i$2htsq$1@dont-email.me>
References: <us0brl$246bf$1@dont-email.me> <us1lb5$2f4n4$1@dont-email.me>
<20240303092938.43@kylheku.com> <us2m8u$2m9mm$1@dont-email.me>
<us2s0i$2n6h3$5@dont-email.me> <us41kk$327oo$1@dont-email.me>
<us5bd9$3b404$1@dont-email.me> <us6n21$3mbe2$1@dont-email.me>
<us80kd$3v39d$1@dont-email.me> <us9hc9$b720$1@dont-email.me>
<usaq3v$l26r$3@dont-email.me> <usfvld$1tfqm$2@dont-email.me>
<ushkfm$2ai73$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 9 Mar 2024 22:16:18 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="0c5e4c226908d988f63fdd2be319dab1";
logging-data="2684826"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+oKbcQrIVbMXA2SuTeLaNJQDgdty6Ke4c="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Q2PzjZeJG4JqYXGlDi/ToD8+qJs=
In-Reply-To: <ushkfm$2ai73$1@dont-email.me>
Content-Language: en-US
 by: Chris M. Thomasson - Sat, 9 Mar 2024 22:16 UTC

On 3/9/2024 4:25 AM, David Brown wrote:
> On 08/03/2024 22:23, Chris M. Thomasson wrote:
>> On 3/6/2024 2:18 PM, Chris M. Thomasson wrote:
>>> On 3/6/2024 2:43 AM, David Brown wrote:
>> [...]
>>
>> This is a fun one:
>>
>> // pseudo code...
>> _______________________
>> node*
>> node_pop()
>> {
>>      // try per-thread lifo
>>
>>      // try shared distributed lifo
>>
>>      // try global region
>>
>>      // if all of those failed, return nullptr
>> }
>>
>
> Just to be clear here - if this is in a safety-critical system, and your
> allocation system returns nullptr, people die.  That is why you don't
> use this kind of thing for important tasks.
>
>

In this scenario, nullptr returned means the main region allocator is
out of memory. So, pool things up where this never occurs.

Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"

<usin76$2htsq$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.c++ comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c++,comp.lang.c
Subject: Re: "White House to Developers: Using C or C++ Invites Cybersecurity
Risks"
Date: Sat, 9 Mar 2024 14:18:14 -0800
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <usin76$2htsq$2@dont-email.me>
References: <us0brl$246bf$1@dont-email.me> <us1lb5$2f4n4$1@dont-email.me>
<20240303092938.43@kylheku.com> <us2m8u$2m9mm$1@dont-email.me>
<us2s0i$2n6h3$5@dont-email.me> <us41kk$327oo$1@dont-email.me>
<us5bd9$3b404$1@dont-email.me> <us6n21$3mbe2$1@dont-email.me>
<us80kd$3v39d$1@dont-email.me> <us9hc9$b720$1@dont-email.me>
<usaq3v$l26r$3@dont-email.me> <usfvld$1tfqm$2@dont-email.me>
<ushkfm$2ai73$1@dont-email.me> <usin3i$2htsq$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 9 Mar 2024 22:18:14 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="0c5e4c226908d988f63fdd2be319dab1";
logging-data="2684826"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+1A7dAYKtdw5wR686jBjAtfW8NhS49+B0="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:D3NXUJh6RthKdLfDY503uX0JaHw=
Content-Language: en-US
In-Reply-To: <usin3i$2htsq$1@dont-email.me>
 by: Chris M. Thomasson - Sat, 9 Mar 2024 22:18 UTC

On 3/9/2024 2:16 PM, Chris M. Thomasson wrote:
> On 3/9/2024 4:25 AM, David Brown wrote:
>> On 08/03/2024 22:23, Chris M. Thomasson wrote:
>>> On 3/6/2024 2:18 PM, Chris M. Thomasson wrote:
>>>> On 3/6/2024 2:43 AM, David Brown wrote:
>>> [...]
>>>
>>> This is a fun one:
>>>
>>> // pseudo code...
>>> _______________________
>>> node*
>>> node_pop()
>>> {
>>>      // try per-thread lifo
>>>
>>>      // try shared distributed lifo
>>>
>>>      // try global region
>>>
>>>      // if all of those failed, return nullptr
>>> }
>>>
>>
>> Just to be clear here - if this is in a safety-critical system, and
>> your allocation system returns nullptr, people die.  That is why you
>> don't use this kind of thing for important tasks.
>>
>>
>
> In this scenario, nullptr returned means the main region allocator is
> out of memory. So, pool things up where this never occurs.
>

You know how to do it! I know you do.

Re: [OT] UTF-8 sig.

<pan$93519$1f11827c$264b9252$6ac78789@invalid.invalid>

  copy mid

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

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!bluemanedhawk.eternal-september.org!.POSTED!not-for-mail
From: bluemane...@invalid.invalid (Blue-Maned_Hawk)
Newsgroups: comp.lang.c
Subject: Re: [OT] UTF-8 sig.
Date: Sat, 9 Mar 2024 23:11:05 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <pan$93519$1f11827c$264b9252$6ac78789@invalid.invalid>
References: <us0brl$246bf$1@dont-email.me>
<pan$4fc39$61bdfbef$3ca9a71a$af842694@invalid.invalid>
<87y1ayj6hs.fsf_-_@bsb.me.uk>
<pan$e9f7e$d6f7a386$31c353e8$a08c13cf@invalid.invalid>
<usc845$10v6e$1@dont-email.me>
<pan$89aca$33d2df8c$9e2c232f$d767db40@invalid.invalid>
<87v85vzwze.fsf@nosuchdomain.example.com>
<pan$2dd7c$14ee35e9$af2801e3$81014785@invalid.invalid>
<ushtlq$2bl9c$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 9 Mar 2024 23:11:05 -0000 (UTC)
Injection-Info: bluemanedhawk.eternal-september.org; posting-host="19bb270a84962846e11be7f5fbeb47d2";
logging-data="2704299"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18a29+qGtenxiTf2nksplM/GBCkELWIt18="
User-Agent: Pan/0.154 (Izium; 517acf4)
Cancel-Lock: sha1:7MAF/eOQDbwGvJ+5LfOgq3SB9q4=
X-Face: LlanfairÂÂÂÂÂÂÂ
­pwllgwyngyllÂÂÂÂÂÃ
‚Â
? ?gogery­chwy
rn
­drobwllÃ
ƒƒƒ‚­llanÂ
? ?ƒƒƒƒ‚­tysilioÂÃ
? ?ƒ‚­gogoÂÂÃ
ƒƒ‚­goch
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACh0lEQVRYw71Z21bD
MAzzevbfkr4cHjrSXJyL044+MDa6WLEl2SkvkrZ1AbAvXO+bUGSCPYnsuIVGMpm
ZLnjX718GhAKNsp8lON2F9VrhELwIgJlBepkZjA78rVK+FkmNhEJK76UsJlz8+E
rJsjrpYouhLo/SC6qPHgakFOR8wV9+8rCfO/I/oVnmUZUp42/LW2XkLj9TCFNM9
jp5g2EmHZgpYZjCOkYU7sXVogRylJqpdggoFLG1g09Flah/7kErCxzR9HgXPYsq
0glb9cxjIz2Vsk9AmAoCSxECpD713joMKjQqLAtmMqJmXjdVvlMnMQCVITotJd1
z+fh1f1NNo+vuc1KnhWUmY7t03vydTud9BbXCtN3L2PL3bK7JCNG0GHzuZxafyB
fxevCxpm1vrwZltqw6SILCcdoCE6PGQC8wZWDA9Or7Qp5s3lAZezys0nDazs9S9
R0TjwEiksRxLkNPC1NMMWPs1bj0Ei0Yuo+JVtFLuzP1NRJ16qXWN8DhhtmS4PDg
O6mqRxs4bEJrYt087mSIow/1VzW2oFlMQuiuIy/KsUagvhdw6hSjJGlIavbLF8x
j3X47bccLcUSi0dkWh1nUZNhANT1tHKUXrNxNLbd9KPb9wDDVrKwmPQMOPQ1oy6
k5I1DwzDeRJd3jVIhDAUxq3ngzJG4CCkNXZxZVMcjefoK2J0gUY2S3rxz/RuTFx
2zHd9U+obimJXMG4edsk/2j5pTU5G1MmzbRLxkfq5EiT1GGsidvMGzi+1goGb2l
GCrN+nGnV8xj3q3JLRDVPL96vUc7Z4aJ3TN1mVqWAMJMfG+Jxh6TQqP+92iZkCU
xtglds1AB6r0aiSHKcnFck+p/c/0CbacFLQcajGcAAAAASUVORK5CYII=
 by: Blue-Maned_Hawk - Sat, 9 Mar 2024 23:11 UTC

vallor wrote:

> Create a separate sig file with your UTF-8 text.
>
> Then go into your posting profile and change the sig type from "text"
> to "text file". (It's a drop-down menu.) Then, select the sig file as
> your sig file.

Fuck. Thank you!

--
Blue-Maned_Hawk│shortens to Hawk│/blu.mɛin.dʰak/│he/him/his/himself/Mr.
blue-maned_hawk.srht.site
TEST

Re: [OT] UTF-8 sig.

<pan$93b45$a0fec3b2$4b634941$f22437e@invalid.invalid>

  copy mid

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

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!bluemanedhawk.eternal-september.org!.POSTED!not-for-mail
From: bluemane...@invalid.invalid (Blue-Maned_Hawk)
Newsgroups: comp.lang.c
Subject: Re: [OT] UTF-8 sig.
Date: Sat, 9 Mar 2024 23:13:13 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 64
Message-ID: <pan$93b45$a0fec3b2$4b634941$f22437e@invalid.invalid>
References: <us0brl$246bf$1@dont-email.me>
<pan$4fc39$61bdfbef$3ca9a71a$af842694@invalid.invalid>
<87y1ayj6hs.fsf_-_@bsb.me.uk>
<pan$e9f7e$d6f7a386$31c353e8$a08c13cf@invalid.invalid>
<usc845$10v6e$1@dont-email.me>
<pan$89aca$33d2df8c$9e2c232f$d767db40@invalid.invalid>
<ushea7$28prq$2@dont-email.me>
<pan$be9e9$95150fd$ee371059$7d065ee9@invalid.invalid>
<ushn58$2b111$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 9 Mar 2024 23:13:13 -0000 (UTC)
Injection-Info: bluemanedhawk.eternal-september.org; posting-host="19bb270a84962846e11be7f5fbeb47d2";
logging-data="2704299"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+AxBc2zXR6UvVuWQ5UtdKUn04ySa9zfUQ="
User-Agent: Pan/0.154 (Izium; 517acf4)
Cancel-Lock: sha1:AM1BY0KxPIWWH1neoJV5JSpVA7o=
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACh0lEQVRYw71Z21bD
MAzzevbfkr4cHjrSXJyL044+MDa6WLEl2SkvkrZ1AbAvXO+bUGSCPYnsuIVGMpm
ZLnjX718GhAKNsp8lON2F9VrhELwIgJlBepkZjA78rVK+FkmNhEJK76UsJlz8+E
rJsjrpYouhLo/SC6qPHgakFOR8wV9+8rCfO/I/oVnmUZUp42/LW2XkLj9TCFNM9
jp5g2EmHZgpYZjCOkYU7sXVogRylJqpdggoFLG1g09Flah/7kErCxzR9HgXPYsq
0glb9cxjIz2Vsk9AmAoCSxECpD713joMKjQqLAtmMqJmXjdVvlMnMQCVITotJd1
z+fh1f1NNo+vuc1KnhWUmY7t03vydTud9BbXCtN3L2PL3bK7JCNG0GHzuZxafyB
fxevCxpm1vrwZltqw6SILCcdoCE6PGQC8wZWDA9Or7Qp5s3lAZezys0nDazs9S9
R0TjwEiksRxLkNPC1NMMWPs1bj0Ei0Yuo+JVtFLuzP1NRJ16qXWN8DhhtmS4PDg
O6mqRxs4bEJrYt087mSIow/1VzW2oFlMQuiuIy/KsUagvhdw6hSjJGlIavbLF8x
j3X47bccLcUSi0dkWh1nUZNhANT1tHKUXrNxNLbd9KPb9wDDVrKwmPQMOPQ1oy6
k5I1DwzDeRJd3jVIhDAUxq3ngzJG4CCkNXZxZVMcjefoK2J0gUY2S3rxz/RuTFx
2zHd9U+obimJXMG4edsk/2j5pTU5G1MmzbRLxkfq5EiT1GGsidvMGzi+1goGb2l
GCrN+nGnV8xj3q3JLRDVPL96vUc7Z4aJ3TN1mVqWAMJMfG+Jxh6TQqP+92iZkCU
xtglds1AB6r0aiSHKcnFck+p/c/0CbacFLQcajGcAAAAASUVORK5CYII=
X-Face: LlanfairÂÂÂÂÂÂÂ
­pwllgwyngyllÂÂÂÂÂÃ
‚Â
? ?gogery­chwy
rn
­drobwllÃ
ƒƒƒ‚­llanÂ
? ?ƒƒƒƒ‚­tysilioÂÃ
? ?ƒ‚­gogoÂÂÃ
ƒƒ‚­goch
 by: Blue-Maned_Hawk - Sat, 9 Mar 2024 23:13 UTC

Richard Harnden wrote:

> On 09/03/2024 12:25, Blue-Maned_Hawk wrote:
>> Ben wrote:
>>
>>> On Sat, 9 Mar 2024 06:27:44 -0000 (UTC), Blue-Maned_Hawk wrote:
>>>
>>>> Ben wrote:
>>>>
>>>>> On Thu, 7 Mar 2024 06:48:19 -0000 (UTC), Blue-Maned_Hawk wrote:
>>>>>
>>>>>> Ben Bacarisse wrote:
>>>>>>
>>>>>>> Blue-Maned_Hawk <bluemanedhawk@invalid.invalid> writes:
>>>>>>> <cut>
>>>>>>>
>>>>>>> Since you are clearly happy to post using UTF-8, can I urge you to
>>>>>>> fix your sig so that it comes out looking right?
>>>>>>
>>>>>> Since it is my newsreader that is corrupting it, it is the fault of
>>>>>> the newsreader,
>>>>>
>>>>> I don't think that's the case. Here is a test post using the same
>>>>> newsreader and something that is probably close to what you want in
>>>>> your sig. (Yours is too messed up for me to work out exactly what
>>>>> you want it to look like.)
>>
>> I should have replied to this bit earlier: it intentionally does not
>> use the polebar character because the spaces required on each side of
>> each would make the first line not fit the standard format.
>
> Polebar? You mean pipe?
>
> You are being anal about kerning, but you are happy to post with a sig
> that no one can read and doesn't format correctly.
>

The kerning 'round the polebar would have been my own fault instead of the
fault of the software.

>>
>>>>>
>>>> It does not happen immediately; instead, the signature that the
>>>> software saves gets more and more corrupted each time the software is
>>>> opened.
>>>
>>> Do you mean the problem is not with Pan after all? "The software" is
>>> deliberately vague and I don't know why Pan would be saving the
>>> signature file. It just reads it as far as I can tell.
>>
>> No, the problem is definitely with Pan. I don't know why it would be
>> saving the signature file either, but it is.
>>
>>
> I think Ben has shown that it doesn't.

Well, that clearly isn't true.

--
Blue-Maned_Hawk│shortens to Hawk│/blu.mɛin.dʰak/│he/him/his/himself/Mr.
blue-maned_hawk.srht.site
“Ding me.” “No!”

Re: [OT] UTF-8 sig.

<87o7bngczx.fsf@bsb.me.uk>

  copy mid

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

  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: ben.use...@bsb.me.uk (Ben Bacarisse)
Newsgroups: comp.lang.c
Subject: Re: [OT] UTF-8 sig.
Date: Sun, 10 Mar 2024 00:13:38 +0000
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <87o7bngczx.fsf@bsb.me.uk>
References: <us0brl$246bf$1@dont-email.me>
<pan$4fc39$61bdfbef$3ca9a71a$af842694@invalid.invalid>
<87y1ayj6hs.fsf_-_@bsb.me.uk>
<pan$e9f7e$d6f7a386$31c353e8$a08c13cf@invalid.invalid>
<usc845$10v6e$1@dont-email.me>
<pan$89aca$33d2df8c$9e2c232f$d767db40@invalid.invalid>
<ushea7$28prq$2@dont-email.me>
<pan$be9e9$95150fd$ee371059$7d065ee9@invalid.invalid>
<ushn58$2b111$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="cede268a02bc27bff115d4df3163c235";
logging-data="2730503"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX196FhTIO83AqLnFNFZIFiOWdoNIOn4VzsA="
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:Drym+lEvliRUxuu8/0jSxvL2Z30=
sha1:CaKvZtYfVU/YP3bwp/LpyZ8aF08=
X-BSB-Auth: 1.1a1b445282da101f6bb8.20240310001338GMT.87o7bngczx.fsf@bsb.me.uk
 by: Ben Bacarisse - Sun, 10 Mar 2024 00:13 UTC

Richard Harnden <richard.nospam@gmail.invalid> writes:

> On 09/03/2024 12:25, Blue-Maned_Hawk wrote:
>> Ben wrote:
....
>>>>> On Thu, 7 Mar 2024 06:48:19 -0000 (UTC), Blue-Maned_Hawk wrote:
>>>> It does not happen immediately; instead, the signature that the
>>>> software saves gets more and more corrupted each time the software is
>>>> opened.
>>>
>>> Do you mean the problem is not with Pan after all? "The software" is
>>> deliberately vague and I don't know why Pan would be saving the
>>> signature file. It just reads it as far as I can tell.
>>
>> No, the problem is definitely with Pan. I don't know why it would be
>> saving the signature file either, but it is.
>
> I think Ben has shown that it doesn't.

I think BMH is not using a sig file. The bottom line is that pan can do
what BMH wants, but he's doing something that does not work.
Unfortunately his explanation is unhelpful because his sig (as posted)
is not getting "more and more corrupted" so it's not at all clear what
he's seeing.

I've tried /not/ using a sig file and that also seems to work. The
posting.xml configuration file /is/ written every time pan closes, but
it appears not to be getting corrupted.

--
Ben.


devel / comp.lang.c / Re: "White House to Developers: Using C or C++ Invites Cybersecurity Risks"

Pages:12345678910
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor