Thursday, January 19, 2017

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

Ramine <toto@toto.net>: Jan 19 09:23PM -0500

Hello.......
 
 
Making AI systems that see the world as humans do
 
Model performs at human levels on standard intelligence test
 
A Northwestern University team developed a new computational model that
performs at human levels on a standard intelligence test. This work is
an important step toward making artificial intelligence systems that see
and understand the world as humans do.
 
Please read more here:
 
https://www.sciencedaily.com/releases/2017/01/170119110935.htm
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <toto@toto.net>: Jan 19 08:55PM -0500

Hello....
 
Finally i have tested thoroughly my C++ synchronization objects library
for Windows and Linux and i think it is more stable and fast, and it
has no memory leak.
 
 
You can download it from:
 
 
https://sites.google.com/site/aminer68/c-synchronization-objects-library
 
 
Thank you,
Amine Moulay Ramdane.
Ramine <toto@toto.net>: Jan 19 08:50PM -0500

Hello...
 
I have just corrected a memory leak with my Mutex that is used by
LW_SemaMonitorX and SemaMonitorX for Linux, please download again the
new Linux updated version from:
 
https://sites.google.com/site/aminer68/c-synchronization-objects-library
 
Thank you,
Amine Moulay Ramdane.
ram@zedat.fu-berlin.de (Stefan Ram): Jan 19 07:58PM

Lisa Lippincott used »x.~int();« in a talk.
 
It did not compile here, but then I thought that she might
have intended this to be read more "symbolically" than as
executable code.
 
She also used a funny placement new to make readable
(i.e., initialized) int storage unreadable
(i.e., uninitialized) again, »new( &x )int;«.
 
Actually these two lines were written directly in this
order, her code was (I changed some unimportant details):
 
void alpha( int & x ){ x.~int(); new( &x )int; }
 
. She wanted to show that a function might make readable
(i.e., initialized) storage unreadable (i.e., uninitialized).
woodbrian77@gmail.com: Jan 19 11:48AM -0800

On Thursday, January 19, 2017 at 1:28:36 AM UTC-6, Öö Tiib wrote:
 
> Why you are interested specially about smart pointers?
> You won't get it much shorter than that
 
> auto r = std::make_unique<R>(l);
 
I already have this line in my program:
 
::std::queue<::std::unique_ptr<cmw_request>> pendingTransactions;
 
In my opinion it would be better to have this:
 
::std::unique_ptr request(::new cmw_request(localbuf));
 
than this:
 
auto request=::std::make_unique<cmw_request>(localbuf);
 
Make_unique and the knowledge of what it is/does would no
longer be needed.
 
 
> a lot and it is not only in C++. The smart pointer factories get rid of
> usage of naked 'new' and on case of 'std::make_shared' it also manages
> memory better than constructor can.
 
He proposed it, but the idea has apparently been accepted
by those on the committee. I'm fine with the exposed 'new'.
 
 
> constructors overloads some of what are templates themselves. So deducing
> two levels of template arguments from overloaded constructor call may
> mean some quite fragile and confusing heuristics.
 
One bit of good news is that, according to this,
http://en.cppreference.com/w/cpp/memory/unique_ptr/unique_ptr
 
one of those constructors is going away as of C++ 2017. And it
is one of the two template constructors so that may help.
Thanks for your comments.
 
 
Brian
Ebenezer Enterprises - In G-d we trust.
http://webEbenezer.net
Andrey Tarasevich <andreytarasevich@hotmail.com>: Jan 19 11:10AM -0800

On 1/14/2017 7:05 AM, Paul wrote:
 
> Are they in fact equivalent? Is it a rule of C++ that
> something1 , something2, ... always results in evaluating something1
> before something2 etc. etc ?
 
Yes, there is.
 
-------------------------------------------------------------------
 
8 Declarators [dcl.decl]
 
3 Each init-declarator in a declaration is analyzed separately as if it
was in a declaration by itself.(99
 
---
 
99) A declaration with several declarators is usually equivalent to the
corresponding sequence of declarations each with a single declarator.
That is
 
T D1, D2, ... Dn;
 
is usually equivalent to
 
T D1; T D2; ... T Dn;
 
where T is a decl-specifier-seq and each Di is an init-declarator. An
exception occurs when a name introduced by one of the declarators hides
a type name used by the decl-specifiers, so that when the same
decl-specifiers are used in a subsequent declaration, they do not have
the same meaning, as in
 
struct S ... ;
S S, T; // declare two instances of struct S
 
which is not equivalent to
 
struct S ... ;
S S;
S T; // error
 
Another exception occurs when T is auto (7.1.6.4), for example:
 
auto i = 1, j = 2.0; // error: deduced types for i and j do not match
 
as opposed to
 
auto i = 1; // OK: i deduced to have type int
auto j = 2.0; // OK: j deduced to have type double
 
-------------------------------------------------------------------
 
--
Best regards,
Andrey Tarasevich
Jeff-Relf.Me <@.>: Jan 19 05:43AM -0800

GreyCloud <mist@cumulus.com>: Jan 19 11:47AM -0700


>> Nope, I was very expensive and the gov. offered me
>> a retirement package I couldn't refuse.
 
> I'm not "too expensive".
 
Then that is what your company deems you are worth then.
 
 
> Google "negative interest rates":
> https://www.google.com/search?q=negative+interest+rates
 
> It's real thing, but only in _highly developed countries.
 
In other words, the bankers are ripping people off.
It won't be long till they collapse.
 
--
My problem is that I don't have enough middle fingers.
Ramine <toto@toto.net>: Jan 19 06:45PM -0500

Hello....
 
C++ synchronization objects library was updated again..
 
I have added a SemaMonitor and a lightweight SemaMonitor that are
blocking and that don't spin wait, so they are energy efficient, you
will find them inside the LW_SemaMonitorX and SemaMonitorX directories,
please read all the readme files inside the zip files for Windows and
Linux to understand more.
 
You can download my new updated C++ synchronization objects library from:
 
https://sites.google.com/site/aminer68/c-synchronization-objects-library
Thank you,
Amine Moulay Ramdane.
Ramine <toto@toto.net>: Jan 19 06:39PM -0500

Hello....
 
C++ synchronization objects library was updated again..
 
I have added a SemaMonitor and a lightweight SemaMonitor that are
blocking and that doesn't spin wait, so they are energy efficient, you
will find them inside the LW_SemaMonitorX and SemaMonitorX directories,
please read all the readme files inside the zip files for Windows and
Linux to understand more.
 
You can download my new updated C++ synchronization objects library from:
 
https://sites.google.com/site/aminer68/c-synchronization-objects-library:
 
 
Thank you,
Amine Moulay Ramdane.
Jerry Stuckle <jstucklex@attglobal.net>: Jan 19 10:36AM -0500

On 1/19/2017 5:30 AM, Peter Köhlmann wrote:
 
>> If whitespace and (borked) comments is what you need/like,
>> then add them yourself, later... _I don't want to see that crap.
 
> Idiot
 
What do you have against idiots that you insult them like this?
 
--
==================
Remove the "x" from my email address
Jerry Stuckle
jstucklex@attglobal.net
==================
Peter Köhlmann <peter-koehlmann@t-online.de>: Jan 19 04:48PM +0100

Jerry Stuckle wrote:
 
>>> then add them yourself, later... _I don't want to see that crap.
 
>> Idiot
 
> What do you have against idiots that you insult them like this?
 
I know that the real idiots don't deserve to be compared with a lunatic twit
like that Relf imbecile. But for the lack of better words to describe that
dimbulb...
woodbrian77@gmail.com: Jan 19 09:58AM -0800

On Thursday, January 19, 2017 at 7:29:58 AM UTC-6, chrisv wrote:
 
 
Please don't swear here.
 
 
Brian
Ebenezer Enterprises - In G-d we trust.
http://webEbenezer.net
GreyCloud <mist@cumulus.com>: Jan 19 11:20AM -0700

> is how one knows what's up, not whitespace and (borked) comments.
 
> If whitespace and (borked) comments is what you need/like,
> then add them yourself, later... _I don't want to see that crap.
 
But your follow-up coders will. It helps them to understand how the code was
written and for what.
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 19 05:47AM -0800

On Thursday, January 19, 2017 at 8:38:08 AM UTC-5, Jeff-Relf.Me wrote:
> so his friends had time to pull him from the cross, alive.
 
> I like the Bible but, unlike you, I _also enjoy Google,
> Youtube, Usenet, WikiPedia, etc.
 
I enjoy Google, Youtube, Usenet, Wikipedia, and much more as well.
But I see it thru the lens taught by the Bible, which is the correct
lens. It reveals why the world is the way it is, why rebellious
people (such as yourself) flatly reject the things of God, and why
we must humble ourselves before God before we will receive grace and
knowledge of the truth.
 
This world was created for man to enjoy. Everything in the universe
was created for man to enjoy. But it must be done in subjection to
God, because God is truth and everything He's built is founded upon
truth. For those who embrace lies and falseness (who sin), they are
operating in a way contrary to the design of the universe. They are
like a cancer in our bodies operating contrary to the natural form
of the body. And, like cancer, you can't just "live with it," but
you have to get in there and cut it out.
 
This is what Jesus did for us at the cross. He took our sin and
shame away from us, dying in our place so that we are set free.
 
He gave us this gift because He loves us and wants us to be with
Him where He is in the paradise of God, and not wallowing in sin,
nor confined to the limits of Hell because we would not embrace
the truth, but instead embraced the lie.
 
Only when we first set our solid foundational footing upon the
knowledge of Jesus Christ, of sin, and of salvation, can the things
around us be appreciated for what they are, and be enjoyed in a
right and proper way.
 
This information is there before you, Jeff. If you pick up the
Bible and seek it out with an honest pursuit of the truth you'll
find it (because God promises you will). If you continue on as
you are today (in rebellion, believing already that you are right
and that you know everything you need to) then you are already
lost, and you will never be found.
 
Listen to this discrepancy between the natural man and the spiritual
man:
 
It begins at about 10:46:
https://www.youtube.com/watch?v=W_fEmqLu7s8&r=10m46s
 
When Jesus takes away our sin a new component of our existence is
then made alive. The spirit. Until that time we are only flesh.
And it is from within that spiritual life that we can truly know
and understand and follow the things of God.
 
Best regards,
Rick C. Hodgin
Melzzzzz <mel@zzzzz.com>: Jan 19 02:49PM +0100

On Thu, 19 Jan 2017 05:47:00 -0800 (PST)
"Rick C. Hodgin" <rick.c.hodgin@gmail.com> wrote:
 
Everything in the universe
> was created for man to enjoy.
 
That's extremely egoistic. Everything live is food for something...
that is if God exists he is on top of food chain. We enjoy like pigs
enjoy waiting for slaughter,,,
 
 
--
press any key to continue or any other to quit...
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 19 05:56AM -0800

On Thursday, January 19, 2017 at 8:49:44 AM UTC-5, Melzzzzz wrote:
 
> That's extremely egoistic. Everything live is food for something...
> that is if God exists he is on top of food chain. We enjoy like pigs
> enjoy waiting for slaughter,,,
 
We are only here on Earth for a time, Melzzzzz. And what we have here
is a type of proving grounds. We are each given a chance to reveal to
ourselves, to God, to God's judgment court, who we are, what we believe,
and what we did when we had freedom of choice in our decisions, actions,
and beliefs.
 
Jesus has laid the truth before us. He has maintained His word and come
to the Earth as a sacrifice for sin in our place. He has done everything
to restore us to Himself. All we have to do is embrace it.
 
Remember that Abraham and the Jews were commanded to circumcise on the
8th day, a symbol of the everlasting covenant between God and man. It
is recorded that the Earth and universe were created in six days, and
on the seventh day God rested. We then come to the end of the seventh
day in Revelation where we see the final judgment, with even Satan
being cast into the lake of fire forever. Then begins the 8th day,
the everlasting day.
 
It's all there, Melzzzzz. If you will humble yourself and seek the
truth, God will open up your understanding. But if you stand behind
the walls of pride and self-belief in your own understanding already
being correct, then you will separate yourself from the true knowledge
of God, and it will cost you your eternal soul.
 
It's your choice. The Bible is there before you. And wisdom and
prudence cry aloud at every street corner. All you have to do is
receive it. And even here in this usenet post is an opportunity given
you explicitly by God. He reaches out to people to lead them to His
Son so they too can be saved.
 
Best regards,
Rick C. Hodgin
Melzzzzz <mel@zzzzz.com>: Jan 19 03:05PM +0100

On Thu, 19 Jan 2017 05:56:48 -0800 (PST)
 
> Jesus has laid the truth before us. He has maintained His word and
> come to the Earth as a sacrifice for sin in our place. He has done
> everything to restore us to Himself. All we have to do is embrace it.
 
I found that having God's son executed on cross because of someone
else sin highly illogical explanation. Jews don't believe in that
crap. Bible is fairy tale book altogether. If you follow reason God is
not all loving being. And pretty much don't care about us if he exists.
That is our purpose is probably to feed him.
 
 
--
press any key to continue or any other to quit...
Jeff-Relf.Me <@.>: Jan 19 06:12AM -0800

"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 19 06:13AM -0800

On Thursday, January 19, 2017 at 9:05:14 AM UTC-5, Melzzzzz wrote:
 
> I found that having God's son executed on cross because of someone
> else sin highly illogical explanation. Jews don't believe in that
> crap.
 
The Jews (devout Jews) have a daily sacrifice. They slaughter an
animal each day as a precursor for the one true offering that will
be given them for their sin ... their Messiah.
 
The Jews do believe in such an offering, they just don't think
Jesus is that Messiah ... because God has blinded their eyes because
they rejected Him when He came. But in the near future, their eyes
will be opened. The Christian church will be raptured, and the true
and final end-times will begin.
 
> Bible is ...
 
The Bible is the truth of God conveyed to us in written form. You
reject it and its content and authority in teaching, Melzzzzz, because
you reject God, reject truth, and instead embrace sin, lies, and
falseness. You reject Jesus Christ because you are not being saved
(see http://biblehub.com/1_corinthians/1-18.htm).
 
Thank you,
Rick C. Hodgin
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 19 06:14AM -0800

On Thursday, January 19, 2017 at 9:12:07 AM UTC-5, Jeff-Relf.Me wrote:
> eternal, and static.
 
> > And it is from within that spiritual life that we can truly know
> > and understand and follow the things of God.
 
If you have it all figured out, Jeff, then you have nothing to fear.
If you have it nailed and are absolutely certain, then rest in that
certainty. But if there is a seed of doubt, let it trouble your
soul until you seek out the truth and find it for real.
 
Thank you,
Rick C. Hodgin
Melzzzzz <mel@zzzzz.com>: Jan 19 03:19PM +0100

On Thu, 19 Jan 2017 06:13:05 -0800 (PST)
 
> The Jews (devout Jews) have a daily sacrifice. They slaughter an
> animal each day as a precursor for the one true offering that will
> be given them for their sin ... their Messiah.
 
That speaks volumes. God needing human sacrifice is what I tell you.
Gods eat us. That is all.
 
> they rejected Him when He came. But in the near future, their eyes
> will be opened. The Christian church will be raptured, and the true
> and final end-times will begin.
 
Dream on...
 
 
> > Bible is ...
 
> The Bible is the truth of God conveyed to us in written form.
 
No, Bible is what old people new, mixed with legends and myths , nothing
more...
 
You
> you reject God, reject truth, and instead embrace sin, lies, and
> falseness. You reject Jesus Christ because you are not being saved
> (see http://biblehub.com/1_corinthians/1-18.htm).
 
Nobody is saved from death. We are getting old and we die. There is
no escape...
 
 
> Thank you,
> Rick C. Hodgin
 
Best wishes, Rick!
 
--
press any key to continue or any other to quit...
Jeff-Relf.Me <@.>: Jan 19 06:19AM -0800

"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 19 06:47AM -0800

On Thursday, January 19, 2017 at 9:19:39 AM UTC-5, Jeff-Relf.Me wrote:
 
> OverBreeding is even worse for your health than over eating.
 
> With luck, your kids will be slaves to healthier souls ( in Japan );
> with less luck, they'll be thieving junkies.
 
The Bible records:
 
http://biblehub.com/genesis/1-28.htm
28 And God blessed them, and God said unto them, Be fruitful,
and multiply, and replenish the earth, and subdue it: and
have dominion over the fish of the sea, and over the fowl
of the air, and over every living thing that moveth upon
the earth.
 
Note: The word replenish there mean "fill" in 1611 when the
King James Version of the Bible was written.
http://www.studylight.org/dictionaries/kjd/r/replenish.html
 
The Earth provides abundantly today, enough to feed, clothe, educate,
and propel everybody. It does not happen because of what the Bible
teaches about sin, that sin is real, and it manifests itself against
God, against God's teachings, and we have the world we do as a result
of the people willingly turning against God. When man does this, we
see the corruption we have as a result. The restoration from that
corruption comes only through Jesus Christ, and obedience to His
teachings.
 
Remember 2 Chronicles 7:14. God is ready and waiting to restore us.
All we have to do is turn to Him and it will happen even here in this
world.
 
Best regards,
Rick C. Hodgin
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 19 07:22AM -0800

On Thursday, January 19, 2017 at 9:19:36 AM UTC-5, Melzzzzz wrote:
> [snip]
 
Melzzzzz, you were created in magnanimous fashion. You have amazing
abilities even in your flesh-based form. But beyond that, each of
us was made in the image and likeness of God. He endowed us with
faculties beyond what we have in this world. We do not yet know
what those are (because of sin), but we do know that when He appears
we will be like Him, and for those who are saved we will shine on
like the stars forever.
 
Your life is a precious gift, Melzzzzz. There is a great enemy of
God who is at work against God, and against each of us in this world.
We are subject to that enemy every day (his teachings, his leading
the men and women of this world toward false ends by their personal
lusts of sin (of power, money, whatever it is that will draw them)).
 
That enemy is the cause of our woes in this world. Jesus came to
undo the work of that enemy ... and He succeeded.
 
What Jesus now offers us is complete amnesty for all of our sin.
All we have to do is receive it.
 
He could not have made it any easier and still given us a choice.
 
I urge you to turn away from your anger and hate, your rage and
frustration, and seek real answers to your deep questions. If you
do, you'll find that the enemy has led you away from God, and is
right now trying to destroy your eternal soul by keeping you at
that place away from God. But God is ready, and willing to receive
you, and to lead you rightly from this day forward.
 
I pray you do, Melzzzzz. You are a beautiful creation of God with
amazing skills, abilities, and an offering to receive your right
to be a son of God. It is an amazing offering indeed for a sinful
people like us. And it's free for the taking.
 
It's the best I can offer you, Melzzzzz. I can point you to Jesus,
but you must look His way. I urge you with everything I have within
me to do so.
 
Best regards,
Rick C. Hodgin
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: