Monday, January 7, 2019

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

queequeg@trust.no1 (Queequeg): Jan 07 11:34AM


> I have no other aspirations, short of being able to call you
> "friend" in a fuller way.
 
How about making friends by respecting other people's points of view and
boundaries? You might try that.
 
--
https://www.youtube.com/watch?v=9lSzL1DqQn0
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 07 08:54AM -0500

On 1/7/2019 6:34 AM, Queequeg wrote:
>> "friend" in a fuller way.
 
> How about making friends by respecting other people's points of view and
> boundaries? You might try that.
 
I'll let an atheist who gets it respond for me:
 
https://www.youtube.com/watch?v=ZPe3NGgzYQ0
 
I have information you do not, Queequeg. I stand at a place of knowing
something that's important, that you do not know today. I must proceed
from where I am. I must proceed knowing the value of that which I offer.
 
It's not my job to convince you of the truth of scripture. It is my job
to teach it to you accurately. If you are truth-seeking and are one of
those being saved, God Himself will confirm in your core that what I
write is accurate, but regardless, on the day of judgment, when those
people in my life with whom I've interacted are being judged, I will
be called to testify if I advised you of the truth, and I will say, "Yes,
I did. To the best of my ability. I was patient. I tried with various
methods using video, audio, sermons, quotes, Bible passages, examples,
etc. Yes, Lord, I did convey to this individual the truth many times."
 
On that day, standing before Truth Himself, you will know why I did
what I did, even if you never understand it here on this Earth. And
because I do know why I do the things I do, I am prepared to risk your
ridicule, the ridicule of others, the scorn and negativity of them
toward me, because I seek to serve God and not cater to the personal
desires of people who don't even know what they're doing to themselves
because sin blinds them to the truth ... I will seek to lead them away
from where they are in falseness, to the place they need to be in
truth.
 
It is what God calls every Christian to do. It is that which is the
"will of the Father" in scripture (to "go ye therefore and teach all
nations and make disciples...").
 
God's calling is unto forgiveness of sin and eternal life. It is a
right, true, and proper calling, and my teaching you the way to have
eternal life (by asking Jesus to forgive your sin) is not out of line
in any public forum, because there are people everywhere who need to
hear this information.
 
"One plants, another waters, BUT GOD GIVES THE INCREASE." I am not re-
sponsible for what happens to the individual I share this information
with. I am responsible for my attitude / behavior toward them, and for
the information I convey. I convey to you accurate information, and I
live by the example I teach (though I too struggle at times), and my
goal is for us to be arm in arm going through life serving God, reaching
out to other lost souls to teach them the truth as well, so they too
can be saved.
 
It's not for personal gain or glory, other than the fact I will rejoice
with all who are saved, for they are my true brothers and sisters in
Christ.
 
--
Rick C. Hodgin
fir <profesor.fir@gmail.com>: Jan 07 09:19AM -0800

W dniu poniedziałek, 7 stycznia 2019 14:52:51 UTC+1 użytkownik Rick C. Hodgin napisał:
 
> It's not for personal gain or glory, other than the fact I will rejoice
> with all who are saved, for they are my true brothers and sisters in
> Christ.
 
this is, you chose your way of psychopath,
 
nut this way, let me say, is a way to hell -
 
people wonder if you would find in a bible to burn the sinners with fire, you would do that?
 
who the hell knows what may appear in such imbecile psyhopatic head as yours poor dik
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 07 09:46AM -0800

On Monday, January 7, 2019 at 12:19:50 PM UTC-5, fir wrote:
 
> this is, you chose your way of psychopath,
> nut this way, let me say, is a way to hell -
 
> people wonder if you would find in a bible to burn the sinners with fire, you would do that?
 
You misunderstand God, fir. God is love. He calls people to be
obedient, and in the Old Testament He commanded that certain people
be killed because He knows the true heinous impact of sin. The
people of the Old Testament didn't have knowledge of spiritual
things. They were solely flesh-focused. Pentecost wouldn't come
until 50 days AFTER Jesus went to the cross. God had to deal with
people solely on physical matters.
 
Now, since Pentecost, since Jesus, things have changed.
 
Today, we operate by the spirit and we have new knowledge the Jews
from that prior period did not have. As a result, we seek the mis-
sion of Jesus TO SAVE PEOPLE, and that is also our mission.
 
You see people in history doing bad things in Jesus' name, or un-
der the name of Christianity ... they are not doing those things in
Jesus' name, nor under the flag of Christianity. They are entirely
against God, are not serving Him, but are enemies of Him, and even
grand enemies because they profane His name by their actions.
 
Jesus calls people to love one another, to teach them the truth, to
lay down their own lives for their brethren.
 
The true Christian's life is one of sacrifice unto others, a denial
of self, a willingness to die rather than harm another, because we
know whose we are, where we are going, and what it means to walk in
this world unto Him.
 
A true Christian's walk will be as Christ walked, full of love, com-
passion, sympathy, outreach, teaching, guiding everyone toward an
increasing understanding of God, of who He is, what He wants, why He
calls us to be holy, etc. It's a teaching ministry only.
 
> who the hell knows what may appear in such imbecile psyhopatic head as yours poor dik
 
You misrepresent me, fir. You call me names that are not reflective
of me. You have created a version of me in your own thinking, one
that is not representative of me in real life. It is to your dis-
credit.
 
--
Rick C. Hodgin
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Jan 07 06:03PM

On 07/01/2019 13:54, Rick C. Hodgin wrote:
>> boundaries? You might try that.
 
> I'll let an atheist who gets it respond for me:
 
>     https://www.youtube.com/watch?v=ZPe3NGgzYQ0
 
In that video Penn Jillette (a respectable atheist who I usually agree
with) used the example of believing a truck is bearing down on someone so
you have to tell them. This analogy doesn't really hold water IMO as a
truck bearing down is an imminent threat to life whilst trying to convert
someone to your faith is not SO THERE IS A TIME AND A PLACE (AND THIS IS
NOT THE PLACE) to perform such proselytization; the correct place is a
fucking church or the street corner with the other "the end is nigh" nutjobs.
 
[snip tl;dr]
 
/Flibble
 
--
"You won't burn in hell. But be nice anyway." – Ricky Gervais
 
"I see Atheists are fighting and killing each other again, over who
doesn't believe in any God the most. Oh, no..wait.. that never happens." –
Ricky Gervais
 
"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>: Jan 07 10:12AM -0800

On Monday, January 7, 2019 at 1:03:17 PM UTC-5, Mr Flibble wrote:
> someone to your faith is not SO THERE IS A TIME AND A PLACE (AND THIS IS
> NOT THE PLACE) to perform such proselytization; the correct place is a
> .. church or the street corner with the other "the end is nigh" nutjobs.
 
Jesus came to save the lost, Leigh. While there are lost in the
church, there are also lost out in the world. Even in the Usenet
comp.* groups.
 
The offer is extended by Jesus to everyone. Those who can hear
His call and answer Him will be saved. The rest will not.
 
What I teach is the way to be saved (through forgiveness of sin
by Jesus).
 
--
Rick C. Hodgin
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 07 10:27AM -0800

On Monday, January 7, 2019 at 1:03:17 PM UTC-5, Mr Flibble wrote:
> ...trying to convert someone to your faith is...
 
I do not try and convert anyone. I teach people the way to be
saved. I teach people the way to have forgiveness of their sin,
and to gain eternal life in Heaven with God. They must receive
it and act, and nobody will be able to do so without God first
drawing them from within ... so it will not be me who converts
them, but God alone. I merely convey His words so others can
hear the truth, GOD can affirm it on their inside, and then He
can draw them to repentance and forgiveness of sin through Jesus.
 
It is not conversion I'm after. It is spreading the message that
your sin can be forgiven, that you can enter into eternity alive
without the judgment of your sin condemning you.
 
It's a different goal than you suggest. I seek the best end for
you and your eternal soul... not merely a "conversion to my faith."
 
--
Rick C. Hodgin
fir <profesor.fir@gmail.com>: Jan 07 10:29AM -0800

i guess were unable to help to
this poor psyhopath... far too stupid
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Jan 07 06:36PM

On 07/01/2019 18:27, Rick C. Hodgin wrote:
>> ...trying to convert someone to your faith is...
 
> I do not try and convert anyone. I teach people the way to be
> saved.
 
What a complete and total lie you deceitful fuck. As with most Christians
you basically think lying is OK to get your message across.
 
[snip tl;dr]
 
/Flibble
 
--
"You won't burn in hell. But be nice anyway." – Ricky Gervais
 
"I see Atheists are fighting and killing each other again, over who
doesn't believe in any God the most. Oh, no..wait.. that never happens." –
Ricky Gervais
 
"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."
ram@zedat.fu-berlin.de (Stefan Ram): Jan 06 11:40PM

>http://norvig.com/21-days.html
>And I quote..
 
And I quote from the same page
(which, BTW, has my name on it):
 
|So go ahead and buy that Java/Ruby/Javascript/PHP book;
|you'll probably get some use out of it.
 
.
ram@zedat.fu-berlin.de (Stefan Ram): Jan 07 03:58PM

>To be clear: Is the recommended book one of those bad
>"Learn C++ in no time" hoaxes, or a proper textbook?
 
I don't know this specific book; therefore, I cannot
answer this question.
Siri Cruise <chine.bleu@yahoo.com>: Jan 06 09:38AM -0800

With Pascal?
 
--
:-<> Siri Seal of Disavowal #000-001. Disavowed. Denied. Deleted. @
'I desire mercy, not sacrifice.' /|\
The first law of discordiamism: The more energy This post / \
to make order is nore energy made into entropy. insults Islam. Mohammed
sten.unto@gmail.com (Unto Sten): Jan 06 07:00PM


>> Should I cite a former VP at google that says reading this book is a bad
>> idea?
 
> No, that would be the "appeal to authority" fallacy.
 
I guess he could cite him or her, as long as it is not
a mere citation, but a coherent text containing the
*reasons* why the proposed book could be harmful.
 
(By the way, sorry for mispelling "Bjarne" as "Bjärne")
 
Best regards,
Unto Sten
sten.unto@gmail.com (Unto Sten): Jan 07 03:51PM

> (which, BTW, has my name on it):
 
> |So go ahead and buy that Java/Ruby/Javascript/PHP book;
> |you'll probably get some use out of it.
 
Sorry, Stefan, I do not get your point.
 
To be clear: Is the recommended book one of those bad
"Learn C++ in no time" hoaxes, or a proper textbook?
 
At least the length of it was something like 800 pages,
so it most definitely has some amount of content in it.
 
Regardless of the outcome, I think I am going to buy
Bjarne's book. And *if* the "Teach Yourself" is any good,
I just might get it too...
 
Best regards,
Unto Sten
"Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid>: Jan 06 04:58PM -0800

On 1/4/2019 6:37 PM, Chris M. Thomasson wrote:
 
>> This experimental algorithm uses only XCHG at the cost of having a
>> consumer wait for the next pointer to be set in a node. However, it
>> allows for real work to be done before any waits are performed.
 
[...]
> processing foreign = 18092 from 19964
> ____________________________________
 
> Any thoughts?
 
Just wondering if somebody can get it to run without producing any
"processing foreign =" like output? If so, that means that every thread
is working on its own work. When we see "processing foreign" it means
that a thread is working on a work item that it did not create. The more
local work we can do is critical wrt cache locality.
Melzzzzz <Melzzzzz@zzzzz.com>: Jan 07 01:10AM

> is working on its own work. When we see "processing foreign" it means
> that a thread is working on a work item that it did not create. The more
> local work we can do is critical wrt cache locality.
On my machine it does not scale even on two cores, and I have eight.
Lot of foreign ...
 
 
--
press any key to continue or any other to quit...
"Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid>: Jan 06 05:34PM -0800

On 1/6/2019 5:10 PM, Melzzzzz wrote:
>> local work we can do is critical wrt cache locality.
> On my machine it does not scale even on two cores, and I have eight.
> Lot of foreign ...
 
Thank you for giving it a go Melzzzzz. Okay, now the work all contends
for a global mutex g_cout_mtx for printing the output to the screen via
cout. Removing this mutex seems to reduce processing foreign events.
 
If you find some more free time, can you try to compare the next version
to this base version? Or just try to omit the mutex in ct_work::process:
 
Something like:
_________________
void process()
{
/*
// Simulate just a tiny little work?
g_cout_mtx.lock();
std::this_thread::yield();
std::this_thread::yield();
std::this_thread::yield();
 
std::thread::id local = std::this_thread::get_id();
 
if (m_data == local)
{
// std::cout << "processing local = " << m_data <<
// " from " << std::this_thread::get_id() << "\n";
}
 
else
{
std::cout << "processing foreign = " << m_data <<
" from " << std::this_thread::get_id() << "\n";
}
 
std::this_thread::yield();
std::this_thread::yield();
std::this_thread::yield();
g_cout_mtx.unlock();
*/
 
std::this_thread::yield();
std::this_thread::yield();
std::this_thread::yield();
}
_________________
 
On my end, it virtually eliminates foreign processing...
Melzzzzz <Melzzzzz@zzzzz.com>: Jan 07 01:53AM

> cout. Removing this mutex seems to reduce processing foreign events.
 
> If you find some more free time, can you try to compare the next version
> to this base version? Or just try to omit the mutex in ct_work::process:
 
Without mutex it scales across 14-15 logical cores, no foreign at all.
 
 
--
press any key to continue or any other to quit...
"Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid>: Jan 06 06:21PM -0800

On 1/6/2019 5:53 PM, Melzzzzz wrote:
 
>> If you find some more free time, can you try to compare the next version
>> to this base version? Or just try to omit the mutex in ct_work::process:
 
> Without mutex it scales across 14-15 logical cores, no foreign at all.
 
Perfect! It does share when it has to, however, it can fly when needed...
 
 
"Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid>: Jan 06 06:23PM -0800

On 1/6/2019 6:21 PM, Chris M. Thomasson wrote:
>>> to this base version? Or just try to omit the mutex in ct_work::process:
 
>> Without mutex it scales across 14-15 logical cores, no foreign at all.
 
> Perfect! It does share when it has to, however, it can fly when needed...
 
There are several improvements that can be made. Humm, putting on my
thinking cap:
 
https://youtu.be/W6DtyhzABF0?t=19
"Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid>: Jan 06 08:51PM -0800

On 12/28/2018 11:30 PM, Chris M. Thomasson wrote:
> waiting. The algorithm can be improved upon quite a bit. I have some
> "interesting" ideas for it. Well, here is the code in the form of a
> Relacy unit test:
[...]
> Might be pretty cool wrt its simplicity, and no use of CAS! ;^)
 
Let me first start by thanking Melzzzzz again. :^)
 
Fwiw, the first thing I think about wrt making things "better" is trying
to get rid of the atomic exchange pounding away at that "single"
location in ct_estack::m_head. Notice that ct_shared only has a single
ct_estack? Humm... What if there were a table of ct_estack's TS such
that a thread T can map its id, via hash?, to an index into said table
TS? This would greatly reduce pressure wrt producing and consuming
ct_work structs. The consumers via the ct_consume procedure would try
its own index first, before looking for others. This would distribute
things right of the bat. Ahhh, the multex comes mind:
 
https://groups.google.com/d/topic/comp.lang.c++/sV4WC_cBb9Q/discussion
 
Instead of locks, this can be using ct_estack's. It has to make it more
NUMA friendly. affinity masks might be next... Hummm. So many ideas!
 
Clever hand offs are in mind...
 
;^)
Melzzzzz <Melzzzzz@zzzzz.com>: Jan 07 05:04AM


> Clever hand offs are in mind...
 
> ;^)
 
;)
 
--
press any key to continue or any other to quit...
"Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid>: Jan 06 04:32PM -0800

On 1/6/2019 4:00 AM, Keith Thompson wrote:
 
> With no options, g++ is non-conforming, so I'm not surprised that it
> fails. What about "-std=c++11" or "-std=c++17"? Or it might be a
> difference in the library implementation rather than in the compiler.
 
Seems like a library implementation problem wrt artificially adding in
M_PI when a user does not want it.
Keith Thompson <kst-u@mib.org>: Jan 06 05:22PM -0800

> to reject it?
 
> (For a similar C program, using "-std=c11" causes it to compiler
> correctly.)
 
I've submitted bug reports for Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1810695
and Cygwin:
https://cygwin.com/ml/cygwin/2019-01/msg00024.html
 
--
Keith Thompson (The_Other_Keith) kst@mib.org <http://www.ghoti.net/~kst>
Will write code for food.
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
"Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid>: Jan 06 05:35PM -0800

On 1/6/2019 5:22 PM, Keith Thompson wrote:
> https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1810695
> and Cygwin:
> https://cygwin.com/ml/cygwin/2019-01/msg00024.html
 
Thank you Keith.
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: