Sunday, October 7, 2018

Digest for comp.lang.c++@googlegroups.com - 19 updates in 11 topics

James Kuyper <jameskuyper@alumni.caltech.edu>: Oct 07 05:05PM -0400

On 10/07/2018 04:23 PM, Chris Vine wrote:
 
> I said it was implied, for reasons given in my earlier posts which you
> are free to read at your leisure. That should make my position clear
> enough I hope. The standard leaves many things implicit.
 
The only reasons you gave aren't sufficient to make an implementation
non-conforming. Someone could say "I think the term 'null pointer
constant' implies that it must have a pointer type" - but the fact that
he feels that way wouldn't make an implementation that recognizes 0 ans
an NPC non=conforming.
Chris Vine <chris@cvine--nospam--.freeserve.co.uk>: Oct 08 12:22AM +0100

On Sun, 7 Oct 2018 17:05:32 -0400
James Kuyper <jameskuyper@alumni.caltech.edu> wrote:
[snip]
> constant' implies that it must have a pointer type" - but the fact that
> he feels that way wouldn't make an implementation that recognizes 0 ans
> an NPC non=conforming.
 
That is a complete non-sequitur. The standard explicitly states that 0
is a null pointer constant, so implication plays no role: "A null
pointer constant is an integer literal with value zero or a prvalue of
type std::nullptr_t".
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Oct 07 02:12PM -0700

If you'd like to send an email to abuse@giganews.com to get Leigh
Johnston to stop posting parody posts, you can use this information:
 
-----
Giganews rules and guidelines for posting policy:
 
https://www.giganews.com/legal/aup.html
 
Violations of GigaNews' Acceptable Use Policy by posting these
impersonation posts:
 
*Off-Topic Posting*
Nearly every newsgroup has a stated topic or acceptable range of topics
for posting or discussion. Blatant disregard of the intended subject
matter in a newsgroup will be treated as abusive posting. *Posting off
topic material in large volume or with apparent malicious intent will
lead to immediate account termination.*
 
*Trolling*
Trolling is the practice of maliciously trying to *incite other**s* that
use a newsgroup, *to deviate from the stated topic of the group*. In
other words, trolling is an attempt to anger others to the point of
drawing them into an argument or an off topic debate. Giganews does not
tolerate trolling and will terminate service of those who abuse the
service in this manner.
 
*Altered Headers*
Falsifying header lines to obscure the originating server, *to attribute
a post to someone else*, to falsely indicate moderator approval, or to
make an original post look like a followup are serious abuses of our
service and will result in immediate account termination.
 
The multiple posts are all here:
 
https://groups.google.com/forum/#!topic/comp.lang.c++/lWPDiIZNq70
https://groups.google.com/forum/#!topic/comp.lang.c++/ryx2i4yXUz0
https://groups.google.com/forum/#!topic/comp.lang.c++/2eCHMk6Jb7Q
https://groups.google.com/forum/#!topic/comp.lang.c++/-xFF-XKqBIU
https://groups.google.com/forum/#!topic/comp.lang.c++/htQyjhC3Nrw
https://groups.google.com/forum/#!topic/comp.lang.c++/DtPvuVjKkZ4
https://groups.google.com/forum/#!topic/comp.lang.c++/H67_8pSyZGg
https://groups.google.com/forum/#!topic/comp.lang.c++/NoTsz1z32m8
https://groups.google.com/forum/#!topic/comp.lang.c++/2GfIjZy5LJ0
https://groups.google.com/forum/#!topic/comp.lang.c++/s4SGSeIdoAQ
 
The full headers headers are available here:
 
https://groups.google.com/forum/#!original/comp.lang.c++/lWPDiIZNq70/14WtYEICBgAJ
https://groups.google.com/forum/#!original/comp.lang.c++/ryx2i4yXUz0/ELTd-60CBgAJ
https://groups.google.com/forum/#!original/comp.lang.c++/2eCHMk6Jb7Q/uaikS3wEBgAJ
https://groups.google.com/forum/#!original/comp.lang.c++/-xFF-XKqBIU/AqB3k9QEBgAJ
https://groups.google.com/forum/#!original/comp.lang.c++/htQyjhC3Nrw/b39wb_YEBgAJ
https://groups.google.com/forum/#!original/comp.lang.c++/DtPvuVjKkZ4/BGFFewQFBgAJ
https://groups.google.com/forum/#!original/comp.lang.c++/H67_8pSyZGg/hiuP3EsFBgAJ
https://groups.google.com/forum/#!original/comp.lang.c++/NoTsz1z32m8/-o1EjWMFBgAJ
https://groups.google.com/forum/#!original/comp.lang.c++/2GfIjZy5LJ0/NS3BhHQFBgAJ
https://groups.google.com/forum/#!original/comp.lang.c++/s4SGSeIdoAQ/b6bXW5IFBgAJ
 
All of these posts were posted from 3:45 PM to 4:46 PM Eastern
Daylight Savings Time.
 
--
Rick C. Hodgin
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Oct 07 10:17PM +0100

On 07/10/2018 22:12, Rick C. Hodgin wrote:
> (*Trolling*) "*to deviate from the stated topic of the group*"
 
And you don't do that when you spam your religious posts? Never in my life
have I seen such a blatant bare faced example of hypocrisy.
 
/Flibble
 
--
"Suppose it's all true, and you walk up to the pearly gates, and are
confronted by God," Bryne asked on his show The Meaning of Life. "What
will Stephen Fry say to him, her, or it?"
"I'd say, bone cancer in children? What's that about?" Fry replied.
"How dare you? How dare you create a world to which there is such misery
that is not our fault. It's not right, it's utterly, utterly evil."
"Why should I respect a capricious, mean-minded, stupid God who creates a
world that is so full of injustice and pain. That's what I would say."
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Oct 07 05:25PM -0400

On 10/07/2018 05:17 PM, Mr Flibble wrote:
>> (*Trolling*) "*to deviate from the stated topic of the group*"
 
> And you don't do that when you spam your religious posts? Never in my
> life have I seen such a blatant bare faced example of hypocrisy.
 
People are free to report anything I post to any authority they
choose to do so. I will accept the consequences as they are
doled out.
 
You subscribe to a service which is enabling you to post true
impersonation posts that even Google Groups does not recognize
is not me. It shows up with my channel icon, ascribes the
posts to me. I don't even see them as unread when I view them
on Google Groups.
 
What you're doing, Leigh, is evil. You are attacking a servant
of God with your anti-Christ rhetoric. And you do not realize
the piles of burning coals you are heaping upon your own head.
 
I would save from all of that, but you won't hear any of it.
 
--
Rick C. Hodgin
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Oct 07 09:46PM +0100

And so ends tonight's teaching. Tune in tomorrow for more C++ related
discussion.
 
--
 
Thank you,
Rick C. Hodgin
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Oct 07 04:54PM -0400

On 10/07/2018 04:46 PM, Rick C. Hodgin wrote:
> And so ends tonight's teaching. Tune in tomorrow for more C++ related
> discussion.
 
 
I, the real Rick C. Hodgin, did not write the post I'm quoting.
It is written by a coward named Leigh Johnston who likes to parody
my posts with his anti-Christ rhetoric. He teaches people false
things and piles upon his own head punishment that he cannot even
imagine. It breaks my heart to see.
 
Examine the headers and see the difference. I only post from Google
News, or Eternal September, and from Indianapolis, IN.
 
If you are unhappy with his spam, please send an email to abuse@
giganews.com. I have tried to get him suspended from giganews on
multiple occasions, but they will not listen to me.
 
I am tired of these slanderous attacks by a coward who has no idea
what he is doing to himself by attacking people in this way. I
would like to see them end forever, at the very least so he will
case from piling additional heaping burning coals upon his head.
 
--
Rick C. Hodgin
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Oct 07 09:44PM +0100

Nothing proves the man-made character of religion as obviously as the sick
mind that designed hell, unless it is the sorely limited mind that has
failed to describe heaven, except as a place of worldly comfort, eternal
tedium, or the continual relish in the torture of others.
 
--
 
Thank you,
Rick C. Hodgin
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Oct 07 04:52PM -0400

On 10/07/2018 04:44 PM, Rick C. Hodgin wrote:
> sick mind that designed hell, unless it is the sorely limited mind that
> has failed to describe heaven, except as a place of worldly comfort,
> eternal tedium, or the continual relish in the torture of others.
 
 
I, the real Rick C. Hodgin, did not write the post I'm quoting.
It is written by a coward named Leigh Johnston who likes to parody
my posts with his anti-Christ rhetoric. He teaches people false
things and piles upon his own head punishment that he cannot even
imagine. It breaks my heart to see.
 
Examine the headers and see the difference. I only post from Google
News, or Eternal September, and from Indianapolis, IN.
 
To address his false teaching:
 
You can read about Heaven and Hell in the book of Revelation,
in the teachings of Christ who described it as paradise, by
Paul who described someone being caught up to the third Heaven
(the first Heaven in the Bible is the air, the second is the
stars, and there's a third Heaven beyond that which we do not
yet know).
 
You can read about Hell in Revelation. The beast and the
false prophet are cast into Hell at the start of the 1,000
year reign of Christ, and when Satan is cast into Hell 1,000
years later, the Bible records, "Where the beast and the
false prophet are," indicating they are still there, in the
fire, being consumed, etc.
 
Hell is a special place crafted by God to contain sin. It
is a place of eternal confinement, which holds all eternal
beings (of which we (mankind) are each an eternal soul) for
all-time, separating them from God's Kingdom forever.
 
All who enter into Hell will be tormented day and night for-
ever. There is no parole. No release for good behavior.
It is only punishment as we've been given a trial and a test
here on Earth as to who we are and what we'll believe.
 
All who will be saved will be saved. The rest will perish
and be cast into eternal Hellfire.
 
It's why Christians teach these things ... because today all
people world-wide can ask forgiveness for sin. But when
they leave this world, it's too late.
 
--
Rick C. Hodgin
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Oct 07 09:43PM +0100

I'm a member of no party. I have no ideology. I'm a rationalist; I do what
I can in the international struggle between science and reason, and the
barbarism, superstition and stupidity that's all around us.
 
--
 
Thank you,
Rick C. Hodgin
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Oct 07 04:47PM -0400

On 10/07/2018 04:43 PM, Rick C. Hodgin wrote:
> I'm a member of no party. I have no ideology. I'm a rationalist; I do
> what I can in the international struggle between science and reason, and
> the barbarism, superstition and stupidity that's all around us.
 
 
I, the real Rick C. Hodgin, did not write the post I'm quoting.
It is written by a coward named Leigh Johnston who likes to parody
my posts with his anti-Christ rhetoric. He teaches people false
things and piles upon his own head punishment that he cannot even
imagine. It breaks my heart to see.
 
Examine the headers and see the difference. I only post from Google
News, or Eternal September, and from Indianapolis, IN.
 
To address his false teaching:
 
Jesus leads us to be salt and light in this world, to shine
His Holy Light of truth upon the world of darkness.
 
The message He brings is not for those who are perishing.
It is for those who are being saved only.
 
If you can hear His voice, rejoice and be exceedingly glad.
Jump up and down with joy because God is reaching out to
save your eternal soul from damnation.
 
The things of this world all tied back to God. They have
come from Him, and they are returning to Him. You can ex-
amine any aspect of anything scientific, and you will see
two voices at work: (1) The voice of God lending credence
to His creation and design, and (2) another voice of the
enemy who seeks to undo the works of God and provide an alt-
ernate explanation for everything.
 
All who are led by the spirit of God will be drawn to Christ,
led by the spirit to spiritual things, which will teach each
person the truth. But those who are led only by the flesh
will perish in their false-belief made possible through sin
at work in their lives.
 
--
Rick C. Hodgin
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Oct 07 09:41PM +0100

They tell the pollsters they believe in Satan more than they believe in
Darwin's Theory of Evolution, but they don't know anything about either.
But when they go to the hospital, you'll notice, they act as if Darwin is
more likely to be right.
 
--
 
Thank you,
Rick C. Hodgin
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Oct 07 04:45PM -0400

On 10/07/2018 04:41 PM, Rick C. Hodgin wrote:
> Darwin's Theory of Evolution, but they don't know anything about either.
> But when they go to the hospital, you'll notice, they act as if Darwin
> is more likely to be right.
 
 
I, the real Rick C. Hodgin, did not write the post I'm quoting.
It is written by a coward named Leigh Johnston who likes to parody
my posts with his anti-Christ rhetoric. He teaches people false
things and piles upon his own head punishment that he cannot even
imagine. It breaks my heart to see.
 
Examine the headers and see the difference. I only post from Google
News, or Eternal September, and from Indianapolis, IN.
 
To address his false teaching:
 
Jesus Himself said, "The healthy do not need a doctor, but
only the sick."
 
We have fallen-in-sin bodies, and we need medical attention
and care to address these physical needs in this sinful
world.
 
We have a guidance to override our choices by the guidance
of the spirit, and God can perform miracles through nurses
and doctors as He sees fit.
 
But we are always, in our flesh, to do everything we can
do, and then stand. We do not first seek to be away from
God, but we seek to honor God by doing all we can first,
and then He moves us forward in whatever way He does.
 
--
Rick C. Hodgin
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Oct 07 09:36PM +0100

I'm not even an atheist so much as I am an antitheist; I not only maintain
that all religions are versions of the same untruth, but I hold that the
influence of churches, and the effect of religious belief, is positively
harmful.
 
--
 
Thank you,
Rick C. Hodgin
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Oct 07 04:42PM -0400

On 10/07/2018 04:36 PM, Rick C. Hodgin wrote:
> maintain that all religions are versions of the same untruth, but I hold
> that the influence of churches, and the effect of religious belief, is
> positively harmful.
 
 
I, the real Rick C. Hodgin, did not write the post I'm quoting.
It is written by a coward named Leigh Johnston who likes to parody
my posts with his anti-Christ rhetoric. He teaches people false
things and piles upon his own head punishment that he cannot even
imagine. It breaks my heart to see.
 
Examine the headers and see the difference. I only post from Google
News, or Eternal September, and from Indianapolis, IN.
 
To address his false teaching:
 
Each religion on Earth, except Biblical Christianity, is based
on some kind of works. You have to attain some purity, seek
some quest to rid yourself of this, or receive another thing.
 
Only Biblical Christianity teaches that you are not good enough
to approach God based on your sin, and that you need a savior
to make a way out of your guilt.
 
Jesus is that savior. He came to be that very savior. His
name literally means "God who saves" in the same way the name
Shoemaker means "one who makes shoes."
 
Jesus will forgive your sin and give you eternal life, and go
on with you for the rest of your days here on this Earth to
reach others, teach others, and to sanctify the things in your
life which are not pleasing to God.
 
You will discern true Christians separate from the multitudes
of people who think they are Christians by their fruit. Those
who are Christ's will teach of Christ, and (over the course of
their life) be continually revamping the things of their life
to be more and more like Christ Himself.
 
--
Rick C. Hodgin
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Oct 07 04:39PM -0400

On 10/07/2018 04:35 PM, Rick C. Hodgin wrote:
> I learned that very often the most intolerant and narrow-minded people
> are the ones who congratulate themselves on their tolerance and
> open-mindedness.
 
 
I, the real Rick C. Hodgin, did not write the post I'm quoting.
It is written by a coward named Leigh Johnston who likes to parody
my posts with his anti-Christ rhetoric. He teaches people false
things and piles upon his own head punishment that he cannot even
imagine. It breaks my heart to see.
 
Examine the headers and see the difference. I only post from Google
News, or Eternal September, and from Indianapolis, IN.
 
To address his false teaching:
 
The things Jesus calls us to teach are in the Bible. They
are us teaching His guidance for life and living. They are
not us creating our own interpretation of things, but we are
to be changed by the new spirit life, and to go forth and
teach people how to be saved.
 
When you see Christians doing things which are not appropri-
ate, recognize that it is not Jesus at work there, but it is
sin living in their flesh which is guiding them, rather than
them being guided by the spirit.
 
--
Rick C. Hodgin
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Oct 07 04:38PM -0400

On 10/07/2018 04:32 PM, Rick C. Hodgin wrote:
> for the evil they have done before they even start clearing their
> throats and telling me that I wouldn't know right from wrong without
> their permission. I'm sorry, I won't be spoken to in that tone of voice.
 
I, the real Rick C. Hodgin, did not write the post I'm quoting.
It is written by a coward named Leigh Johnston who likes to parody
my posts with his anti-Christ rhetoric. He teaches people false
things and piles upon his own head punishment that he cannot even
imagine. It breaks my heart to see.
 
Examine the headers and see the difference. I only post from Google
News, or Eternal September, and from Indianapolis, IN.
 
To address his false teaching:
 
Sin operates in a multitude of ways in this world. For some,
it is in the life lived apart from God, the one that seems to
be good, beneficial, moral, ethical, but without any forgive-
ness of sin by Jesus Christ. Because of the no forgiveness
of sin, those people who lived "moral" lives are in for a big
shock when they face judgment.
 
Other sin operates against people by causing people to do bad
things in the name of Jesus. But Jesus doesn't call us to be
bad or do bad things. It is only sin operating in those people
that causes them to behave that way.
 
Jesus calls us to truth, righteousness, holiness, purity, to
teach others the true message of forgiveness of sin through
Him, and the new spirit life that comes from that exchange.
But even so, our lives still require focus, discipline, and a
true purpose in the things we do because we still face a real
enemy who seeks to still destroy us, to make us weak, to dam-
age our witness, to make it easier for people to take only a
casual 500 foot glance in the direction of "Christianity,"
and see the false things done in Christ's name, and conclude
that Jesus is that evil they see there from 500 feet away.
 
Such people are already condemned because they won't step
closer. They won't investigate the truth for themselves.
They are lost in their own love of sin, and their own wil-
lingness to believe falseness and lies as though they were
truth.
 
--
Rick C. Hodgin
Paul <pepstein5@gmail.com>: Oct 07 12:21PM -0700

On Sunday, October 7, 2018 at 5:58:56 PM UTC+1, Kai-Uwe Bux wrote:
 
> That looks pretty much random and between 0 and 1.
 
> Best,
 
> Kai-Uwe Bux
 
Yes, I think the problem is somewhere else -- the bug is in
a program that uses that code. I jumped to conclusions, sorry.
 
Paul
Juha Nieminen <nospam@thanks.invalid>: Oct 07 01:15PM

> each time. However, if you don't do that, then
> you just get exactly the same result each time nextDouble()
> is called.
 
Whoever offered that criticism might have expressed himself abysmally
poorly.
 
What you are doing in the function you provided is not how RNGs
should be used, nor how they are intended to be used. (What you
are doing there is most probably only going to reduce the quality
of the randomness, possibly making the period of the RNG stream
smaller, possibly a *lot* smaller, and in many cases making it
less efficient.)
 
The random number generators in the standard library store their
internal state within the object you instantiate, and it's this
object that you should be keeping somewhere, if you want a stream
of random numbers. If the task is "write a function that returns
a value between 0.0 and 1.0 at random", one possible way to do
that is like:
 
//-------------------------------------------
namespace
{
std::default_random_engine myRNG(0);
std::uniform_real_distribution<double> myDistribution(0.0, 1.0);
}
 
double RandomGen::nextDouble()
{
return myDistribution(myRNG);
}
//-------------------------------------------
 
(In many cases this is not the most optimal solution design-wise,
or even functionally (eg. it's not thread-safe), but you should get
the idea.)
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: