Thursday, January 18, 2018

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

mcheung63@gmail.com: Jan 18 09:40AM -0800

Rick C. Hodgin於 2018年1月18日星期四 UTC+8上午5時09分25秒寫道:
 
> May God have mercy on your soul, Leigh.
 
> --
> Rick C. Hodgin
 
Fuck off rick, your mother is dead, god killed her, yeah
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Jan 18 06:14PM

On 17/01/2018 21:09, Rick C. Hodgin wrote:
> Hodgin</strike>Leigh Johnston wrote:
>> If parents never mention God or religion to their child...
 
> You have no idea the torment you are heaping upon your own head.
 
What torment?
 
> May God have mercy on your soul, Leigh.
 
What God? What soul?
 
My name is Flibble.
 
/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>: Jan 18 10:33AM -0800

On Thursday, January 18, 2018 at 1:14:46 PM UTC-5, Mr Flibble wrote:
> 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."
 
People, even the unsaved, recognize wrongness because God gave them that
ability. What sin does is blind us to the cause of that wrongness.
 
Sin's effect on us makes us able to believe God is the cause of wrongness,
when the truth is there's a real enemy at work actively deceiving people
into believing false things as though they were truth. He does this non-
stop, continually, even right now there in the room where you are. He
attempts the same with all people continually.
 
-----
If you want to know the truth, Leigh, the information is before you.
Learn about who Jesus is, why we need Him, and what He has planned
for man in the future:
 
The New Testament begins here:
 
https://www.biblegateway.com/passage/?search=Matthew+1&version=KJV
 
The future for sinners ... cast into the lake of fire never to return:
 
Verse 15:
https://www.biblegateway.com/passage/?search=Revelation+20&version=KJV
 
For those who are saved ... with God forever, in His Kingdom paradise:
 
Verse 7:
https://www.biblegateway.com/passage/?search=Revelation+21&version=KJV
 
It all comes down to what you did with Jesus and His free offer of
salvation. Reject it and you remain condemned (John 3:18). Receive
it, and you pass from death to eternal life and will not be judged
(John 5:24, 6:47, 11:25).
 
https://www.biblegateway.com/passage/?search=john+3%3A18%2C+5%3A24%2C+6%3A47%2C+11%3A25&version=KJV
 
--
Rick C. Hodgin
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Jan 18 07:44PM

On 18/01/2018 18:33, Rick C. Hodgin wrote:
>> a world that is so full of injustice and pain. That's what I would say."
 
> People, even the unsaved, recognize wrongness because God gave them that
> ability. What sin does is blind us to the cause of that wrongness.
 
[snip'tldr]
> -----
> If you want to know the truth, Leigh, the information is before you.
[snip;tldr]
 
My questions were rhetorical as I already know the truth: no evidence
that a hell exists, your god doesn't exist and souls don't exist.
 
/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>: Jan 18 12:30PM -0800

On Thursday, January 18, 2018 at 2:44:39 PM UTC-5, Mr Flibble wrote:
> [snip'tldr]
 
The details of why you believe as you do are in the "tldr" parts
you ignore.
 
If you ever seek the truth, and stop clinging on only to what you
THINK you already know ... then you will find the truth. Until that
time, you will remain where you are, never learning the truth, until
you die ... and then you will know the truth, but it will be too late
for you.
 
--
Rick C. Hodgin
Gareth Owen <gwowen@gmail.com>: Jan 18 08:41PM

>>> If parents never mention God or religion to their child...
 
>> You have no idea the torment you are heaping upon your own head.
 
> What torment?
 
Rick's has taken it upon himself to preach to us. If there is a hell
filled with perpetual torment, I suspect we may already be in it.
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Jan 18 09:51PM

On 18/01/2018 20:30, Rick C. Hodgin wrote:
> time, you will remain where you are, never learning the truth, until
> you die ... and then you will know the truth, but it will be too late
> for you.
 
Nah, I already know the truth mate; it is you, Rick, that is blinded by
lies. The "experience" that resulted in you becoming born again could
have been fixed, like most mental illness, with medication and therapy.
 
/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>: Jan 18 03:11PM -0800

On Thursday, January 18, 2018 at 3:41:50 PM UTC-5, gwowen wrote:
 
> > What torment?
 
> Rick's has taken it upon himself to preach to us. If there is a hell
> filled with perpetual torment, I suspect we may already be in it.
 
The Bible describes Hell. The worst thing on Earth does not compare
to what awaits those who reject truth, and embrace falseness.
 
The same God who created the universe and all of its wonders keeps His
House clean and pure. No sin will ever abide in His Kingdom. It's
why we need Jesus Christ. He takes our sin away.
 
--
Rick C. Hodgin
asetofsymbols@gmail.com: Jan 18 03:21PM -0800

Lucia from Fatima described the hell
and it exist
legalize+jeeves@mail.xmission.com (Richard): Jan 18 02:27AM

[Please do not mail me a copy of your followup]
 
"Fred.Zwarts" <F.Zwarts@KVI.nl> spake the secret code
 
>OpenVMS, once a popular OS, started with its own windowing system, but later
>moved to X-Windows.
 
Off the top of my head companies/proprietary window systems killed off
by the X Window System:
 
Sun's SunView
Sun's NeWS
SGI's 4Sight
SGI's MEX
DEC (DECwindows was their name for their X Window System
implementation, IIRC); I think you're right that they had a
proprietary thing before but I don't know what that was called.
Hewlett-Packard
Domain/OS from Apollo had something, I can't remember what it was called.
It might not have had a distinct name for the GUI part.
...and of course there are many smaller manufacturers that had their
own thing.
 
It's really quite successful that X managed to kill off all these
proprietary islands of functionality and unify them into a single
environment, both for users and developers.
--
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
The Terminals Wiki <http://terminals-wiki.org>
The Computer Graphics Museum <http://computergraphicsmuseum.org>
Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>
Lynn McGuire <lynnmcguire5@gmail.com>: Jan 17 09:32PM -0600

On 1/17/2018 8:27 PM, Richard wrote:
 
> It's really quite successful that X managed to kill off all these
> proprietary islands of functionality and unify them into a single
> environment, both for users and developers.
 
The Apollo Domain windowing system was DM. It ran about 10X faster than
X Windows since it wrote straight to the hardware.
https://en.wikipedia.org/wiki/DM_(windowing_system)
 
Sun's SunView was actually pretty good.
 
Lynn
Jorgen Grahn <grahn+nntp@snipabacken.se>: Jan 18 07:17AM

On Thu, 2018-01-18, Richard wrote:
 
> It's really quite successful that X managed to kill off all these
> proprietary islands of functionality and unify them into a single
> environment, both for users and developers.
 
On the other hand, the widget toolkits on top of X11 are quite
different in user interface and API. And then there's the various
desktop environments, trying to create their own universes ...
 
X11 did win, but I'm not sure it helped programmers and users that
much.
 
/Jorgen
 
--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .
Ian Collins <ian-news@hotmail.com>: Jan 18 08:55PM +1300

On 01/18/2018 08:17 PM, Jorgen Grahn wrote:
> desktop environments, trying to create their own universes ...
 
> X11 did win, but I'm not sure it helped programmers and users that
> much.
 
It did to the extent that those of us working on more than one flavour
of UNIX could reuse code. It also gave rise to Motif on most UNIX
platforms.
 
--
Ian.
"Fred.Zwarts" <F.Zwarts@KVI.nl>: Jan 18 09:50AM +0100

"Richard" schreef in bericht news:p3p0mj$m4m$1@news.xmission.com...
 
>implementation, IIRC); I think you're right that they had a
>proprietary thing before but I don't know what that was called.
>Hewlett-Packard
 
No, DECwindwos was the name of the X-Windows implementation. The native
Windowing system was called VWS (VAX Workstation Software) with its
programming interface UIS. It was much faster then DECwindows, but it was
not based on a client/server model.
http://h41379.www4.hpe.com/wizard/wiz_9916.html
scott@slp53.sl.home (Scott Lurndal): Jan 18 02:34PM


>The Apollo Domain windowing system was DM. It ran about 10X faster than
>X Windows since it wrote straight to the hardware.
> https://en.wikipedia.org/wiki/DM_(windowing_system)
 
At the expense of network transparancy, one of the greatest
strengths (and weaknesses) of X11Rn.
legalize+jeeves@mail.xmission.com (Richard): Jan 18 09:13PM

[Please do not mail me a copy of your followup]
 
Lynn McGuire <lynnmcguire5@gmail.com> spake the secret code
>> It might not have had a distinct name for the GUI part.
 
>The Apollo Domain windowing system was DM. It ran about 10X faster than
>X Windows since it wrote straight to the hardware.
 
Cool, thanks for that.
 
There's no reason that their X implementation couldn't have done the
same thing, BTW. The X server implementation is fairly layered,
making it easy to get an implementation working (all it really needs
is getpixel and putpixel at its lowest layer). To get things running
fast, you have to put more work into it. I don't know if Apollo
didn't want to invest the effort in order to keep DM looking good or
if they couldn't afford to invest the effort. By the time X11 came
along, I think Apollo was on its last legs and about to be acquired by
HP.
 
>Sun's SunView was actually pretty good.
 
Another one I found for the list was HP Windows/9000.
<http://bitsavers.trailing-edge.com/pdf/hp/9000_hpux/2.x/97069-90000_HP_Windows_9000_Users_Manual_Dec85.pdf>
--
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
The Terminals Wiki <http://terminals-wiki.org>
The Computer Graphics Museum <http://computergraphicsmuseum.org>
Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>
legalize+jeeves@mail.xmission.com (Richard): Jan 18 09:16PM

[Please do not mail me a copy of your followup]
 
Jorgen Grahn <grahn+nntp@snipabacken.se> spake the secret code
>desktop environments, trying to create their own universes ...
 
>X11 did win, but I'm not sure it helped programmers and users that
>much.
 
I agree that until Motif there wasn't a decent widget set available
(Athena widgets were too simplistic and boring looking). The general
intent was that Common Desktop Environment was going to smooth out the
usability quirks between systems, but I don't know how successful that
was in the end because around that time I switched to Windows and
stopped tracking X Window System stuff on a day-to-day basis.
 
Xt was interesting in that it was an object-oriented layer glued on
top of C by means of convention. One thing I think that held X based
toolkits back is that we never got an officially blessed C++ API from
the X Consortium. InterViews came really close, but didn't get the
final push.
--
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
The Terminals Wiki <http://terminals-wiki.org>
The Computer Graphics Museum <http://computergraphicsmuseum.org>
Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>
Lynn McGuire <lynnmcguire5@gmail.com>: Jan 17 09:29PM -0600

On 1/17/2018 3:10 PM, Chris Vine wrote:
> Lynn McGuire <lynnmcguire5@gmail.com> wrote:
>> Auto will not work for function arguments.
 
> Unless its a lambda expression.
 
And you lost me.
 
Lynn
"Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com>: Jan 18 07:25AM +0100

On 1/18/2018 4:29 AM, Lynn McGuire wrote:
>>> Auto will not work for function arguments.
 
>> Unless its a lambda expression.
 
> And you lost me.
 
With a lambda you can write e.g.
 
auto const foo = []( auto& x ) { cout << x << endl; };
foo( "The answer is... " );
foo( 0b101010 );
 
It's roughly equivalent to this C++03 code:
 
struct Lambda_478
{
template< class Type >
void operator()( Type& x ) const { cout << x << endl; }
};
 
Lambda_478 const foo;
foo( "The answer is... " );
foo( 0b101010 );
 
 
Cheers & hth.,
 
- Alf
"Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com>: Jan 18 07:27AM +0100

On 1/18/2018 7:25 AM, Alf P. Steinbach wrote:
 
>     Lambda_478 const foo;
>     foo( "The answer is... " );
>     foo( 0b101010 );
 
Oh wait. C++03 didn't have binary literals. Oops.
 
Cheers!,
 
- Alf
Vir Campestris <vir.campestris@invalid.invalid>: Jan 18 08:56PM

On 17/01/2018 12:50, Jorgen Grahn wrote:
> I don't think there's any concensus about when and how often to use
> 'auto'. Some say "as much as possible!" which I disagree with.
 
I say "As little as possible".
 
But, hey, that's what coding standards are for. I'm trying to get some
introduced here...
 
Andy
mcheung63@gmail.com: Jan 18 09:41AM -0800

Rick C. Hodgin於 2018年1月18日星期四 UTC+8上午1時35分28秒寫道:
 
> http://www.foxnews.com/world/2018/01/17/christian-convert-from-iran-converting-muslims-in-sweden.html
 
> --
> Rick C. Hodgin
 
go fuck yourself
Cholo Lennon <chololennon@hotmail.com>: Jan 18 12:08PM -0300

On 12/01/18 15:03, Richard wrote:
> features. The same can be said for Catch2 compared to Google Test,
> which is the other dominant unit testing framework out there. It
> feels like Catch2 is gaining more adherents over time.
 
I don't know Catch2 (I'll take it a look!), but Boost.Test is really
simple, even for beginners:
 
// MyTest.cpp, compile with (just define BOOST_HOME env.var.):
// VC: cl /EHa /I%BOOST_HOME% MyTest.cpp
// gcc: g++ -I$BOOST_HOME MyTest.cpp -o MyTest
 
#define BOOST_TEST_MODULE MyTest
#include <boost/test/included/unit_test.hpp>
 
BOOST_AUTO_TEST_CASE(simpleTest)
{
// BOOST_REQUIRE_EQUAL(...
// BOOST_REQUIRE(...
// BOOST_FAIL(...
// BOOST_ERROR(...
// BOOST_REQUIRE_NE(...
// BOOST_REQUIRE_THROW(...
// BOOST_MESSAGE(...
// Etc.
}
 
struct MyFixture {
// ...
};
 
BOOST_FIXTURE_TEST_CASE(testWithFixture1, MyFixture)
{
// ...
}
 
BOOST_FIXTURE_TEST_CASE(testWithFixture2, MyFixture)
{
// ...
}
 
// end of MyTest.cpp
 
 
Regards
 
 
--
Cholo Lennon
Bs.As.
ARG
Bonita Montero <Bonita.Montero@gmail.com>: Jan 18 01:34PM +0100

> Please consider that future readers of your
> code may not have memorised them all.
 
It is easy to memorize that the comma-operator has the
lowest precedence.
asetofsymbols@gmail.com: Jan 18 01:22AM -0800

In
void do_something_n_times(int n)
{
while(n--) {
do_something_once();
}
}
Is not modified parameter is modified one copy of it...
This modify the parameters
void do_something_n_times(int& n)
{
while(n--) {
do_something_once();
}
}
 
But I do it never...
For modify parameter I use pointer so it is seen to the caller the function modify its parameter
void do_something_n_times(int* n)
{
while((*n)--) {
do_something_once();
}
}
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: