Thursday, January 19, 2023

Digest for comp.lang.c++@googlegroups.com - 25 updates in 5 topics

Muttley@dastardlyhq.com: Jan 19 09:31AM

On Wed, 18 Jan 2023 18:23:55 +0100
>| /dev/random, at least its entropy comes from nominally external sources so
>| is unpredictable in a busy enviroment.
 
>Absolutely not.
 
Really? How would go about predicting what packets will arrive on the network
or when a user will press a key then?
Bonita Montero <Bonita.Montero@gmail.com>: Jan 19 03:42PM +0100

Are you the twin-brother of Amine Moulay Ramdane ?
 
David Brown <david.brown@hesbynett.no>: Jan 19 04:18PM +0100

On 19/01/2023 15:42, Bonita Montero wrote:
> Are you the twin-brother of Amine Moulay Ramdane ?
 
> Am 19.01.2023 um 10:31 schrieb Muttley@dastardlyhq.com:
>> There are many people who believe that people don't change. As was
...
 
And you thought it was necessary to quote the /entire/ post to make that
comment?
 
I think there has been some hiccup on a Usenet server somewhere - I've
seen a few posts end up in the wrong groups today. I have no idea if
Muttley's post is appropriate or not in rec.arts.books - I'm sure it
makes more sense in the context of threads there.
 
(By the way, Muttley, there is a term for people who write "The Germans
are this" or "The Jews are that" - it is "racist". Make comments about
individuals if you like, but sweeping statements about a group of people
based on irrelevant factors such as nationality, religion, gender, etc.,
is bigotry and has no place anywhere. I'm assuming you did not mean to
write that way, but you should choose your words more carefully in the
future.)
Muttley@dastardlyhq.com: Jan 19 04:30PM

On Thu, 19 Jan 2023 15:42:54 +0100
>sorts of different directions. The Germans were complete jerks during the
>Second World War, but they are not now. The Jews were liberal pacifists before
>the Second World War, whereas Israeli Jews at this time are fascists.
 
Given how complicated you make your code its odd how your grasp of geopolitics
is so simplistic.
 
>colonialists were perfectly normal, but they were at least as cruel as the
>Nazis. Most people in Texas Oil are perfectly normal, but they have poisoned
>the world.
 
People poisoned the world. No one forced us to drive cars everywhere, wear
artificial frabrics instead of cotton and wool, buy endless crap made of
plastic and particularly in small penis syndrome USA where you're not a real
man unless you drive a 2.5 ton pickup or SUV with some gas guzzling V8 that
barely manages double digit mpg.
Muttley@dastardlyhq.com: Jan 19 04:32PM

On Thu, 19 Jan 2023 16:18:58 +0100
>is bigotry and has no place anywhere. I'm assuming you did not mean to
>write that way, but you should choose your words more carefully in the
>future.)
 
I never wrote any such thing. The only post I've seen is Bonita "reposting"
something I apparently wrote. Either she wrote it herself or someone spoofed
by id which is hardly hard to do on usenet.
"Öö Tiib" <ootiib@hot.ee>: Jan 19 08:40AM -0800

On Thursday, 19 January 2023 at 17:19:16 UTC+2, David Brown wrote:
> ...
 
> And you thought it was necessary to quote the /entire/ post to make that
> comment?
 
BM probably made it up. I can find no server with "quoted" post.
red floyd <no.spam.here@its.invalid>: Jan 19 08:42AM -0800

On 1/19/2023 8:40 AM, Öö Tiib wrote:
 
>> And you thought it was necessary to quote the /entire/ post to make that
>> comment?
 
> BM probably made it up. I can find no server with "quoted" post.
 
It showed up in my feed as well. The frickin' HEADER said
rec.arts.books, and it showed as from someone else, even though
it came as from Muttley.
 
I just figured it was a server glitch. (I use eternal sept).
 
red floyd
Muttley@dastardlyhq.com: Jan 19 04:48PM

On Thu, 19 Jan 2023 15:42:54 +0100
>Are you the twin-brother of Amine Moulay Ramdane ?
 
>Am 19.01.2023 um 10:31 schrieb Muttley@dastardlyhq.com:
 
Seems this post was written by someone calling themselves Ilya Shambat in
rec.arts.books only, not me and not in comp.lang.c++. So either your newsreader
is fucked up or you decided to pretend it was me because you're sore about
losing an argument or some other fatuous reason.
gazelle@shell.xmission.com (Kenny McCormack): Jan 19 04:54PM

In article <tqbn12$1jgmh$1@dont-email.me>,
...
>(By the way, Muttley, there is a term for people who write "The Germans
>are this" or "The Jews are that" - it is "racist". Make comments about
 
Um, being German is not a race. Being Jewish is not a race.
 
Therefore, making statements about these things is not "racist".
 
BTW, social science is all about making generalizations about populations.
Are you planning on outlawing social science? (You don't need to answer
that - the answer is obvious)
 
--
The randomly chosen signature file that would have appeared here is more than 4
lines long. As such, it violates one or more Usenet RFCs. In order to remain
in compliance with said RFCs, the actual sig can be found at the following URL:
http://user.xmission.com/~gazelle/Sigs/Pedantic
Mike Terry <news.dead.person.stones@darjeeling.plus.com>: Jan 19 05:08PM

On 19/01/2023 16:40, Öö Tiib wrote:
 
>> And you thought it was necessary to quote the /entire/ post to make that
>> comment?
 
> BM probably made it up. I can find no server with "quoted" post.
 
My news server (Giganews) has the original post in group rec.arts.books, but that post has From header:
 
From: Ilya Shambat <ibshambat@gmail.com>
 
Bonita's posting looks valid at first glance, so I'd guess Bonita found Ilya's post on
rec.arts.books, replied, cross-posting to comp.lang.c++ and manually changed the accreditation line
to say that Mutley wrote the OP. (Yeah, that would be bizarre behaviour, but Bonita does bizarre
stuff from time to time. Alternatively perhaps someone has hacked some usenet server to inject
mischievous posts - someone with knowledge of the characters of MR, BM, and D...)
 
Mike.
Muttley@dastardlyhq.com: Jan 19 05:15PM

On Thu, 19 Jan 2023 17:08:04 +0000
>server to inject
>mischievous posts - someone with knowledge of the characters of MR, BM, and
>D...)
 
Pretty unlikely. He/she/it seems to have deliberately changed the line for
whatever fucked up reason.
David Brown <david.brown@hesbynett.no>: Jan 19 07:22PM +0100


> I never wrote any such thing. The only post I've seen is Bonita "reposting"
> something I apparently wrote. Either she wrote it herself or someone spoofed
> by id which is hardly hard to do on usenet.
 
OK. That's good to know.
 
For your information, the post appeared as though it were a reply to one
of the current threads here in "comp.lang.c++", though it was marked
"rec.arts.books", and was marked with you as the author. (I suspect a
Usenet server mixup somewhere.) So I believe Bonita merely quoted it.
 
I have no idea if someone intentionally posted it in your name, or if
that too was part of the server fault.
Spiros Bousbouras <spibou@gmail.com>: Jan 19 08:00PM

On Thu, 19 Jan 2023 19:22:12 +0100
> Usenet server mixup somewhere.) So I believe Bonita merely quoted it.
 
> I have no idea if someone intentionally posted it in your name, or if
> that too was part of the server fault.
 
What I see is
References: <36403165-3cf1-4b73-8ad1-da339b960339n@googlegroups.com>
<tqbkrr$1ja1c$1@dont-email.me> <tqbn12$1jgmh$1@dont-email.me>
<tqbrbm$1htl$1@gioia.aioe.org>
 
where <tqbkrr$1ja1c$1@dont-email.me> is the post by Montero which allegedly
quotes Muttley@dastardlyhq.com but
<36403165-3cf1-4b73-8ad1-da339b960339n@googlegroups.com> has as its author
Ilya Shambat. I don't know if people see something different (I see these
things using news2.informatik.uni-stuttgart.de) or did not bother to follow
the references.
Spiros Bousbouras <spibou@gmail.com>: Jan 19 08:10PM

On Thu, 19 Jan 2023 08:42:51 -0800
> It showed up in my feed as well. The frickin' HEADER said
> rec.arts.books, and it showed as from someone else, even though
> it came as from Muttley.
 
"It" being <36403165-3cf1-4b73-8ad1-da339b960339n@googlegroups.com> ?
Using news2.informatik.uni-stuttgart.de or
paganini.bofh.team I see it as coming from Ilya Shambat. What do you
mean "it came as from Muttley" ?
 
Spiros Bousbouras <spibou@gmail.com>: Jan 19 08:17PM

On Thu, 19 Jan 2023 20:10:09 -0000 (UTC)
> Using news2.informatik.uni-stuttgart.de or
> paganini.bofh.team I see it as coming from Ilya Shambat. What do you
> mean "it came as from Muttley" ?
 
And I see the same using news.aioe.org .
 
Keith Thompson <Keith.S.Thompson+u@gmail.com>: Jan 18 03:30PM -0800

> But if you must declare a variable before you have an initial value,
> do not artificially initialise it - you are just making it harder for
> the tools to find your bugs.
 
Or initialize it with some recognizably invalid value, if there is such
a value for the type.
 
Leaving it uninitialized helps the compiler diagnose errors.
Initializing it with recognizable garbage helps with run-time debugging.
 
--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for XCOM Labs
void Void(void) { Void(); } /* The recursive call of the void */
David Brown <david.brown@hesbynett.no>: Jan 19 08:55AM +0100

On 19/01/2023 00:30, Keith Thompson wrote:
> a value for the type.
 
> Leaving it uninitialized helps the compiler diagnose errors.
> Initializing it with recognizable garbage helps with run-time debugging.
 
That can certainly be better than using a plausible value (and 0 is
often plausible). But it is still better to leave it uninitialised
where possible - if it is not spotted by static error checking, it can
be spotted by a sanitizer at run-time.
 
Recognizably invalid or implausible values are particularly good if you
have an array and will use some of it, but perhaps not all of it. Such
cases are very hard for static analysis.
David Brown <david.brown@hesbynett.no>: Jan 19 08:55AM +0100

On 18/01/2023 21:35, Chris M. Thomasson wrote:
>> the tools to find your bugs.
 
> Yes. I have been told this, damn near, exact same warning before David
> on a couple of jobs.
 
That should give you a clue that it is a good idea!
Muttley@dastardlyhq.com: Jan 19 09:33AM

On Wed, 18 Jan 2023 20:00:51 GMT
>functions. Could work for weeks, then the program
>takes a different path and the stack contains a
>value that causes a crash.
 
There's no excuse for uninitialised variables these days as any decent C++
compiler will output warnings about them.
David Brown <david.brown@hesbynett.no>: Jan 19 03:28PM +0100

>> value that causes a crash.
 
> There's no excuse for uninitialised variables these days as any decent C++
> compiler will output warnings about them.
 
There are plenty of developers who don't know how to use their tools
very well - I have seen many people use compilers without warning flags,
optimisations, or other flags.
scott@slp53.sl.home (Scott Lurndal): Jan 19 02:57PM


>There are plenty of developers who don't know how to use their tools
>very well - I have seen many people use compilers without warning flags,
>optimisations, or other flags.
 
And I've seen various versions of GCC not detect uninitialized variables
in certain cases, up through gcc11. Suprising when it happens.
"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>: Jan 19 12:16PM -0800

On 1/18/2023 3:30 PM, Keith Thompson wrote:
>> the tools to find your bugs.
 
> Or initialize it with some recognizably invalid value, if there is such
> a value for the type.
 
0xDEADBEEF is a fun one. :^)
 
Frederick Virchanza Gotham <cauldwell.thomas@gmail.com>: Jan 19 08:23AM -0800

On Monday, January 2, 2023 at 10:47:28 AM UTC, Bo Persson wrote:
 
> parameters, so is_constructible<S, int> will be true.
 
> If you use just is_constructible<S> that *is* the same as
> is_default_constructible.
 
 
Instead of using "is_constructible_v<MyClass,MyOtherClass>", an alternative would be:
 
#include <utility> // declval
 
if constexpr ( requires { MyClass( std::declval<MyOtherClass>() ) } ) DoSomething();
Sebastian Nibisz <snibisz@gmail.com>: Jan 19 05:02AM -0800

Fifteen years have passed ;-).
The SGCL has a completely new, portable, working implementation with less memory overhead than shared_ptr: https://github.com/pebal/sgcl
Juha Nieminen <nospam@thanks.invalid>: Jan 19 11:18AM


> God damn it. That was meant for sci.math, wrt a discussion about
> so-called dark numbers. God damn it!!!!!
 
> Sorry everybody. ;^o
 
As we all know, programmers hate science and mathematics, and thus this
transgression cannot be forgiven.
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com.

No comments: