Sunday, January 13, 2019

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

woodbrian77@gmail.com: Jan 12 06:33PM -0800

Andrei Alexandrescu's talk at Meeting C++ 2018
 
https://duckduckgo.com/?q=next+big+thing+andrei&t=ffab&ia=videos&iax=videos&iai=tcyb1lpEHm0
 
Andrei says, "We want to generate code that matters".
The story about the guy on the plane was interesting.
 
 
Brian
Ebenezer Enterprises
https://github.com/Ebenezer-group/onwards
Melzzzzz <Melzzzzz@zzzzz.com>: Jan 13 02:53AM


> https://duckduckgo.com/?q=next+big+thing+andrei&t=ffab&ia=videos&iax=videos&iai=tcyb1lpEHm0
 
> Andrei says, "We want to generate code that matters".
> The story about the guy on the plane was interesting.
 
Can you make short description if you wathed video?
 
--
press any key to continue or any other to quit...
woodbrian77@gmail.com: Jan 12 07:40PM -0800

On Saturday, January 12, 2019 at 8:53:14 PM UTC-6, Melzzzzz wrote:
 
> > Andrei says, "We want to generate code that matters".
> > The story about the guy on the plane was interesting.
 
> Can you make short description if you wathed video?
 
He says that introspection/code generation is the
next big thing. He thinks Concepts are "bo-ring."
He gives examples of introspection using the D language.
 
The examples he gave are interesting, but according to
this page: https://dlang.org/download.html
you have to use one of the secondary compilers in order
to get strong optimization and some portability.
 
I think on-line code generators will have a portability
edge over D compilers.
 
 
Brian
http://webEbenezer.net
Melzzzzz <Melzzzzz@zzzzz.com>: Jan 13 04:07AM


> He says that introspection/code generation is the
> next big thing. He thinks Concepts are "bo-ring."
> He gives examples of introspection using the D language.
 
Why?
 
> this page: https://dlang.org/download.html
> you have to use one of the secondary compilers in order
> to get strong optimization and some portability.
 
dmd has few optimizations. ldc is compiler for use...
 
 
> I think on-line code generators will have a portability
> edge over D compilers.
 
Why?
 
--
press any key to continue or any other to quit...
red floyd <no.spam@its.invalid>: Jan 12 08:19PM -0800

On 1/12/19 8:07 PM, Melzzzzz wrote:
 
>> I think on-line code generators will have a portability
>> edge over D compilers.
 
> Why?
 
Because he has one of the former.
woodbrian77@gmail.com: Jan 12 08:32PM -0800

On Saturday, January 12, 2019 at 10:19:39 PM UTC-6, red floyd wrote:
> >> edge over D compilers.
 
> > Why?
 
> Because he has one of the former.
 
And because my front tier is only 35 lines:
https://github.com/Ebenezer-group/onwards/blob/master/src/cmw/tiers/genz.cc
 
It runs on Windows, Linux, FreeBSD and Mac. I haven't
tried to build it on anything else yet, but there's no
reason to think it won't be easy to build on phones, etc.
Melzzzzz <Melzzzzz@zzzzz.com>: Jan 13 11:18AM


>> Because he has one of the former.
 
> And because my front tier is only 35 lines:
> https://github.com/Ebenezer-group/onwards/blob/master/src/cmw/tiers/genz.cc
 
Well, it uses library. This is not just 35 lines.
 
> It runs on Windows, Linux, FreeBSD and Mac. I haven't
> tried to build it on anything else yet, but there's no
> reason to think it won't be easy to build on phones, etc.
 
How about router? Routers have significant potential to run networked
code and are usually right place for that. Nowadays routers have usb
ports to attach disks and enough RAM to run programs.
 
 
--
press any key to continue or any other to quit...
woodbrian77@gmail.com: Jan 13 07:47AM -0800

On Sunday, January 13, 2019 at 5:18:23 AM UTC-6, Melzzzzz wrote:
 
> > And because my front tier is only 35 lines:
> > https://github.com/Ebenezer-group/onwards/blob/master/src/cmw/tiers/genz.cc
 
> Well, it uses library. This is not just 35 lines.
 
That's true for most C++ programs. If the platform
has 2017 C++ support, this program will likely build.
 
 
> How about router? Routers have significant potential to run networked
> code and are usually right place for that. Nowadays routers have usb
> ports to attach disks and enough RAM to run programs.
 
I don't know. I'm talking about the front tier of
a software development tool. People use routers to
support their desktops and phones, right? And they
use their desktops and phones for software development.
 
 
Brian
Melzzzzz <Melzzzzz@zzzzz.com>: Jan 13 09:20PM


>> Well, it uses library. This is not just 35 lines.
 
> That's true for most C++ programs. If the platform
> has 2017 C++ support, this program will likely build.
fatal error: cmw/Buffer.hh: No such file or directory
#include<cmw/Buffer.hh>
 
> a software development tool. People use routers to
> support their desktops and phones, right? And they
> use their desktops and phones for software development.
 
Phones are phones. Developing for phones is less likely to use some C++.
Router more likely...
 
--
press any key to continue or any other to quit...
woodbrian77@gmail.com: Jan 13 02:27PM -0800

On Sunday, January 13, 2019 at 3:20:44 PM UTC-6, Melzzzzz wrote:
> > has 2017 C++ support, this program will likely build.
> fatal error: cmw/Buffer.hh: No such file or directory
> #include<cmw/Buffer.hh>
 
Thanks for the report. What operating system are
you using? And what is the build line that is failing?
Something like: g++ ...
 
 
> > use their desktops and phones for software development.
 
> Phones are phones. Developing for phones is less likely to use some C++.
> Router more likely...
 
The point is you would be using a desktop to develop
for routers.
 
 
Brian
seeplus <boardmounrt@gmail.com>: Jan 12 03:51PM -0800

On Sunday, January 13, 2019 at 6:58:53 AM UTC+11, Unto Sten wrote:
 
> that is why you think you are "helping" people here when
> in reality you are only filling technical newsgroups with
> unwanted, crazy, outdated, delusional christian spam.
 
A very good statement there BUT:
 
There is just no point in arguing or reasoning with Rick.
His brain just cannot accept any of that.
For years now .... he will just:
>> come back with quotes from his zombie controller's magik book.
 
Best you can do is get just a bit offensive with him as others do here.
At least gives you some little satisfaction.
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 12 04:33PM -0800

On Saturday, January 12, 2019 at 2:58:53 PM UTC-5, Unto Sten wrote:
> > his will in them as they are unaware due to sin's effect
> > on people.
 
> Rick, religion...
 
Christianity isn't a religion. It's a relationship with Jesus
Christ. Religion has almost nothing to do with being a Christ-
ian. The far, far more important part is the forgiveness of
sin and the new life, which changes you on the inside, and is
what saves your eternal soul.
 
Each person who is saved will go on to serve God in this world.
The world will never understand it, but those being saved will
understand it when their time to be saved is at hand.
 
If you can hear His call in your heart, rejoice and be exceed-
ingly glad, for He is reaching out to save your soul from Hell,
the greatest gift imaginable to a human being.
 
--
Rick C. Hodgin
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Jan 13 12:49AM

On 13/01/2019 00:33, Rick C. Hodgin wrote:
>>> on people.
 
>> Rick, religion...
 
> Christianity isn't a religion.
 
From the Oxford English Dictionary:
 
Christianity, n.
1. The whole body of Christians, the Christian part of the world,
Christendom n. Obsolete.
2. a. The religion of Christ; the Christian faith; the system of doctrines
and precepts taught by Christ and his apostles.
 
So another lie from the deceitful Christian Rick the Dick.
 
/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."
Jorgen Grahn <grahn+nntp@snipabacken.se>: Jan 13 06:31AM

On Sat, 2019-01-12, seeplus wrote:
>>> come back with quotes from his zombie controller's magik book.
 
> Best you can do is get just a bit offensive with him as others do here.
> At least gives you some little satisfaction.
 
The best thing to do is not to respond, or respond privately. If you
care about the real topic of this newsgroup, that should be obvious.
 
/Jorgen
 
--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .
fir <profesor.fir@gmail.com>: Jan 12 11:54PM -0800

W dniu niedziela, 13 stycznia 2019 00:52:09 UTC+1 użytkownik seeplus napisał:
> >> come back with quotes from his zombie controller's magik book.
 
> Best you can do is get just a bit offensive with him as others do here.
> At least gives you some little satisfaction.
 
this is not about satisfaction but about sanity defence... it is also not qite about being offensive it is more about disenchanting dense stupidity that constitute that imbecilizing dork
fir <profesor.fir@gmail.com>: Jan 13 12:09AM -0800

W dniu niedziela, 13 stycznia 2019 08:54:30 UTC+1 użytkownik fir napisał:
 
> > Best you can do is get just a bit offensive with him as others do here.
> > At least gives you some little satisfaction.
 
> this is not about satisfaction but about sanity defence... it is also not qite about being offensive it is more about disenchanting dense stupidity that constitute that imbecilizing dork
 
disenchanting or maybe repelling...simple ignoring dont fully work though it also is good (really bed is what half-trolls do, it is legitimization of this insane
bulshiter by treating him as legitimized user though people know it is massive spammer focused on area of spaming and fake pumping of crippled ego of a regular idiot),
 
btw in fact many users in usnet have some amount of dick-like disability
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 13 03:28AM -0800

On Saturday, January 12, 2019 at 7:49:27 PM UTC-5, Mr Flibble wrote:
> >>> on people.
 
> >> Rick, religion...
 
> > Christianity isn't a religion.
 
It is a relationship. Religion is from the outside in. The relationship
He calls us to and has with us is from the inside out.
 
> 2. a. The religion of Christ; the Christian faith; the system of doctrines
> and precepts taught by Christ and his apostles.
 
> So another lie from the deceitful Christian Rick .. .
 
The flesh can only see it as a religion, because it knows not
the spirit. Those who are born again see the difference between
religion and the relationship with Christ. The relationship drives
us, not any aspect of religion (save the requirements of mastering
the flesh, which requires purposeful discipline to master).
 
Religion and the relationship are distinctly different, and separate:
 
https://www.biblegateway.com/passage/?search=James+1%3A27&version=KJV
 
27 Pure religion and undefiled before God and the
Father is this, To visit the fatherless and widows
in their affliction, and to keep himself unspotted
from the world.
 
It is that inner spirit-focused relationship that drives Christians:
 
https://www.biblegateway.com/passage/?search=John%204:24&version=KJV
 
24 God is a Spirit: and they that worship him must
worship him in spirit and in truth.
 
You can't come to God in your flesh:
 
https://www.biblegateway.com/passage/?search=John+3%3A1-17&version=KJV
 
Jesus speaking:
 
5 Jesus answered, Verily, verily, I say unto thee,
Except a man be born of water and of the Spirit,
he cannot enter into the kingdom of God.
6 That which is born of the flesh is flesh; and that
which is born of the Spirit is spirit.
7 Marvel not that I said unto thee,
Ye must be born again.
 
Forgiveness of sin takes away our sin and the condemnation that
goes along with it, restoring us to God's Kingdom, restoring our
spirit, restoring eternal life.
 
It has nothing to do with religion. Nothing. It is all about Jesus
and His ability to transfer our sin onto Himself thereby setting
us free. And once transformed, it is the relationship, not the religion,
which sustains and guides us.
 
Someday you will understand.
 
--
Rick C. Hodgin
gazelle@shell.xmission.com (Kenny McCormack): Jan 13 12:27PM

In article <slrnq3lmq0.1p1h.grahn+nntp@frailea.sa.invalid>,
Jorgen Grahn <grahn+nntp@snipabacken.se> wrote:
...
>The best thing to do is not to respond, or respond privately. If you
>care about the real topic of this newsgroup, that should be obvious.
 
Right now, these newsgroups (the C/C++ groups) are about 50% about
technical (boring) stuff and about 50% about Rick's pychoses.
 
I think most people find the later half the more entertaining half.
 
--
He continues to assert that 2 plus 2 equals 4, despite being repeatedly
told otherwise.
gazelle@shell.xmission.com (Kenny McCormack): Jan 13 12:40PM

In article <q1faqn$2vl$1@news.xmission.com>,
 
>Right now, these newsgroups (the C/C++ groups) are about 50% about
>technical (boring) stuff and about 50% about Rick's pychoses.
 
>I think most people find the later half the more entertaining half.
 
I should add that one of the groups seems to be currently most concerned
with girls taken in from a blizzard (*) more than anything else.
 
(*) And the treatment and handling of hypothermia.
 
--
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/LadyChatterley
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Jan 13 03:04PM

On 13/01/2019 11:28, Rick C. Hodgin wrote:
 
>>>> Rick, religion...
 
>>> Christianity isn't a religion.
 
> It is a relationship.
 
Christianity is a religion.
 
[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."
gazelle@shell.xmission.com (Kenny McCormack): Jan 13 04:34PM

In article <TrI_D.34153$Rq1.1301@fx21.fr7>,
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk> wrote:
...
>Christianity is a religion.
 
Of course it is. Rick is, as usual, full of shit.
 
What else is new?
 
>[snip tl;dr]
 
Everything Rick posts is tl;dr;bs.
 
By the way, the real thing is that the word religion has taken on, among
sensible people, a negative connotation. Therefore, when marketing to
(presumably) smart people, such as you find in the Northern part of the
US and in these newsgroups, you want to downplay the word, as Rick has
done in his posts to the newsgroups. When marketing in the South, of
course, you go full on with the word, because they haven't figured out
yet what bullshit it is. They still love the word.
 
--
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/Noam
"Chris M. Thomasson" <invalid_chris_thomasson_invalid@invalid.com>: Jan 13 12:58PM -0800

On 1/13/2019 4:40 AM, Kenny McCormack wrote:
 
> I should add that one of the groups seems to be currently most concerned
> with girls taken in from a blizzard (*) more than anything else.
 
> (*) And the treatment and handling of hypothermia.
 
I had a limited conversation with very smart people wrt a seqlock and
C++. If you want on topic, read _all_ of this:
 
https://groups.google.com/d/topic/comp.lang.c++/NBZhxyzLUH8/discussion
 
Very smart people are in that thread.
Keith Thompson <kst-u@mib.org>: Jan 13 02:22PM -0800

>>> come back with quotes from his zombie controller's magik book.
 
> Best you can do is get just a bit offensive with him as others do here.
> At least gives you some little satisfaction.
 
Please don't. Replying to him just encourages him to post more,
which disrupts the newsgroup for those of us who come here to
discuss C++.
 
I don't see Rick's postings, but it's hard for my killfile to keep
up with all the people who feel the need to reply to him publicly.
 
--
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"
sten.unto@gmail.com (Unto Sten): Jan 13 06:08AM

> if the lambda is passed over to another thread or stored for later use,
> for example. Note that std::find_if does not know or care about x, it
> just (potentially) copies and invokes the lambda.
 
Okay, thanks for this. I will save the whole discussion thread and
get back to it later.
 
> An extract from real production code: [...]
 
I am hopelessly bad with 3D math, so I do not understand the code,
but I am sure it is helpful to those who get the 3D stuff.
 
Best regards,
Unto Sten
Chris Vine <chris@cvine--nospam--.freeserve.co.uk>: Jan 13 07:49PM

On Sat, 12 Jan 2019 17:34:59 -0000 (UTC)
> examples using lambda functions, but have been unable
> to see what's the actual benefit of using closures in
> the first place.
 
One common use of closures is for partial application (which you can
google for in your own time), converting a function taking some
arguments into a function taking less or no arguments. (A value bound
or captured from the environment by a closure is somewhat confusingly
called a "free variable" in the lambda calculus.)
 
In C++ std::bind can also be used to construct closures, and you can
read up on that too.
 
But don't underestimate the usefulness of lambda expressions for other
purposes, particularly as temporary unnamed function objects. They can
be very useful for passing "on the fly" to functions taking callable
objects - the algorithms in the standard library have many such
functions. It makes code much more readable when done properly.
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: