Tuesday, January 9, 2018

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

"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 09 10:22AM -0800

On Tuesday, January 9, 2018 at 1:18:40 PM UTC-5, Chris Vine wrote:
> culminating in yours of December 8, 2017 at 11:56:05 AM UTC-5, in which
> you said you are still in recovery from your experiences, and gave
> other details...
 
The recovery I am under means during that time from 2008-2009 when I
was in sin, there was damage done to my life. It has persisted since
that time. It would be like having an old football injury that never
really goes away, but is always there popping back up from time to
time.
 
Sin has consequences. They do not magically go away. But those scars
also keep you focused. I actually have a literal scar on my left palm
where I was injured at a welding job during that time. I look at that
scar from time to time and remember where I was when I got it. It
honestly does help keep me on the strait-and-narrow because I never,
ever, ever, want to go through anything like that again.
 
But I can understand your position regarding me. It's hard to look
at someone who has overt sin in their life and believe anything they
have to say ... even if that sin was from many years ago.
 
--
Rick C. Hodgin
Chris Vine <chris@cvine--nospam--.freeserve.co.uk>: Jan 09 06:44PM

On Tue, 9 Jan 2018 10:22:51 -0800 (PST)
> But I can understand your position regarding me. It's hard to look
> at someone who has overt sin in their life and believe anything they
> have to say ... even if that sin was from many years ago.
 
Oh for goodness sake: I am going to have to break my rule again. I
have made no judgement on this aspect of your life at all, nor would I
ever do so. It seems highly probable that you have been forgiven.
Receiving absolution ought to rest your mind. You, however, have not
forgiven yourself.
 
I think in consequence you are a much disturbed person.
 
Those who are ill amongst us are not large in number proportionally, but
unfortunately they can have an adverse impact on others which is
disproportionate to that number.
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 09 10:50AM -0800

On Tuesday, January 9, 2018 at 1:45:10 PM UTC-5, Chris Vine wrote:
 
> Those who are ill amongst us are not large in number proportionally, but
> unfortunately they can have an adverse impact on others which is
> disproportionate to that number.
 
I am not ill. People would look at me in my faith and say I am ill in
that regard, but as for mental illness and what not no. It is only
that I truly do care about people.
 
To put my psyche into perspective, the two best TV shows I've ever
seen:
 
The Encounter 2016 (available on PureFlix)
 
When Calls The Heart (except parts of season 2; available on
Hallmark channel, Netflix, Amazon Video, and others).
 
Both of those series have me crying throughout the episodes. They are
moving in how they portray love for God, and love for one another. It
is those things which move me, and it is for those reasons I move.
 
--
Thank you! | Indianapolis, Indiana | God is love -- 1 John 4:7-9
Rick C. Hodgin | http://www.libsf.org/ | http://tinyurl.com/yaogvqhj
-------------------------------------------------------------------------
Software: LSA, LSC, Debi, RDC/CAlive, ES/1, ES/2, VJr, VFrP, Logician
Hardware: Aroxda Desktop CPU, Arxita Embedded CPU, Arlina Compute FPGA
Daniel <danielaparker@gmail.com>: Jan 09 11:12AM -0800

On Tuesday, January 9, 2018 at 1:50:50 PM UTC-5, Rick C. Hodgin wrote:
 
> mental illness
 
Obsessively spamming a usenet community to the consternation of its members is
very definitely a form of mental illness. Talk to your pastor, explain what
you're doing, you'll receive feedback that will be far more valuable than any
you'll receive here, because it will be presented in a loving way. Take
advantage of your fellowship circle, and use its resources to help you get
well.
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 09 11:24AM -0800

On Tuesday, January 9, 2018 at 2:12:45 PM UTC-5, Daniel wrote:
> you'll receive here, because it will be presented in a loving way. Take
> advantage of your fellowship circle, and use its resources to help you get
> well.
 
FWIW, Daniel:
 
I have spoken with my pastor about my online activity previously. I
ask for prayers for this community each week at Bible Study. I have
specific names at times (lately Peter Cheung, Mr. Man-wai Chang, and
a few others). Other times I ask more generally for those people I
know and do outreach to online.
 
If you examine my online activity in these regards, you'll find that
they are rolled out on a cadence. They come from me doing an at-my-
church Bible Study, or watching a Christian teacher online, or hearing
a church sermon or teaching message, and I am inspired by those things
and post about them.
 
Most all of my other Christian-related posts relate back to correcting
other posters who post something contrary to what the Bible teaches.
 
The entirety of my online outreach is a teaching ministry. I teach
people the things of Christ they will not hear in the world, and also
won't even hear in many lukewarm churches.
 
If you want to compare my teachings to the teachings given by the
"great men of God" over the years, visit http://www.sermonindex.net
and listen to some of those pastors from decades gone by.
 
You'll find that my teachings are not out of line. They are in line
with what has historically been the core of Biblical Christianity,
but that society has changed and the new watered down message of all-
inclusiveness (even of gay lifestyles, abortion, divorce, etc.), as
regular practical norms, are what has moved away from historical roots.
 
Also, compare the text of the King James Bible to that of the more
modern translations. Gail Riplinger did some research on this at a
time when she was unexpectedly infirmed, and it carried forward:
 
https://www.youtube.com/watch?v=vyx3IDzFglI
 
What we see in the last 50 years is not what Christianity has been
previously. The enemy has entered into the church and our lives, and
has tried to dictate what aspects of the Bible are valid.
 
True born again Christians are taking it back.
 
--
Rick C. Hodgin
Daniel <danielaparker@gmail.com>: Jan 09 11:55AM -0800

On Tuesday, January 9, 2018 at 2:24:41 PM UTC-5, Rick C. Hodgin wrote:
 
> I have spoken with my pastor about my online activity previously.
 
Did you tell your pastor you were posting material in a group that was clearly
contrary to the charter of the group, that the members felt was harmful to
their community, that they gave you feedback about that, and asked you to stop
doing it? If your pastor was aware of this background, could you tell us what he said to you about it?
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 09 12:08PM -0800

On Tuesday, January 9, 2018 at 2:55:59 PM UTC-5, Daniel wrote:
> contrary to the charter of the group, that the members felt was harmful to
> their community, that they gave you feedback about that, and asked you to stop
> doing it? If your pastor was aware of this background, could you tell us what he said to you about it?
 
I told him that where I go in my life I teach people, be I at a gas
station, at the store, post office, at work, even online.
 
There are many people in my church who think I'm crazy. They do not
see value in the things I do, including non-online-teaching things,
but even the things I do in my life. I had one member get very upset
at me, and rebuke me in front of the whole church in the sanctuary,
for telling her privately that she shouldn't be posting profanity on
Facebook. She said I had no right to judge her in that way.
 
Other people come up to me and tell me I'm inspirational to their walk,
and they're so glad I am in the church.
 
It all comes down to the person's walk with Jesus. Either they are sold
out to Him in their lives, or they are still holding on to their flesh.
 
--
Thank you! | Indianapolis, Indiana | God is love -- 1 John 4:7-9
Rick C. Hodgin | http://www.libsf.org/ | http://tinyurl.com/yaogvqhj
-------------------------------------------------------------------------
Software: LSA, LSC, Debi, RDC/CAlive, ES/1, ES/2, VJr, VFrP, Logician
Hardware: Aroxda Desktop CPU, Arxita Embedded CPU, Arlina Compute FPGA
Daniel <danielaparker@gmail.com>: Jan 09 12:45PM -0800

On Tuesday, January 9, 2018 at 3:08:51 PM UTC-5, Rick C. Hodgin wrote:
 
> There are many people in my church who ... do not
> see value in the things I do
 
Yes, it did seem to me, from the equivocation, that there must have been some gentle remonstrances there, or as you suggest, perhaps not so gentle :-) I would suggest that feedback is a valuable thing, and that most systems whether control, biological, political, or economic benefit from feedback. I believe that some of the things that you do are incompatible with the Christian traditions of "do unto others ...", "give unto Ceasar ..." etc., and I think that some of the feedback you are receiving reflects that. I personally think you should listen to it, particularly if it comes from your pastor.
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 09 12:54PM -0800

On Tuesday, January 9, 2018 at 3:45:46 PM UTC-5, Daniel wrote:
 
> > There are many people in my church who ... do not
> > see value in the things I do
 
> ...I would suggest that feedback is a valuable thing...
 
I look for my feedback from spirit-filled Biblical sources, not the
mainstream churchianity.
 
As I stated, Daniel, visit http://www.sermonindex.net and listen to
some of the sermons there. You'll find my teachings are wholly in
line with those towering giants of years gone by. In fact, a lot of
my teaching comes from listening to their sermons.
 
I appreciate your feedback, Daniel, but you do not have goals which
are to pursue God in spirit and in truth. You are looking for majority
rule. That has no part of a true Christian's life. A true Christian
will stand up for Christ at all points. That is what I do, to the best
of my ability.
 
--
Thank you! | Indianapolis, Indiana | God is love -- 1 John 4:7-9
Rick C. Hodgin | http://www.libsf.org/ | http://tinyurl.com/yaogvqhj
-------------------------------------------------------------------------
Software: LSA, LSC, Debi, RDC/CAlive, ES/1, ES/2, VJr, VFrP, Logician
Hardware: Aroxda Desktop CPU, Arxita Embedded CPU, Arlina Compute FPGA
Ian Collins <ian-news@hotmail.com>: Jan 10 10:10AM +1300

On 01/09/2018 11:35 PM, Rick C. Hodgin wrote:
 
> This is a serious question:
 
> Why do I post about Jesus?
 
> Do you REALLY think it's just to spam?
 
I read about this as a kid, now after exposure to Rick my sympathies lie
with the locals...
 
http://www.telegraph.co.uk/news/worldnews/1560483/Cannibal-tribe-apologises-for-eating-Methodists.html
 
--
Ian
Daniel <danielaparker@gmail.com>: Jan 09 01:26PM -0800

On Tuesday, January 9, 2018 at 3:54:57 PM UTC-5, Rick C. Hodgin wrote:
> > > see value in the things I do
 
> > ...I would suggest that feedback is a valuable thing...
 
> you do not have goals which are to pursue God in spirit
 
No, not the mythical side, because there is no evidence for that, anymore than there is for the "truth" of Zeus or Odin, and both reason and modern scholarship auger against it. And you do not have goals to pursue modern scholarship, at least biblical. I still think you should take seriously feedback from your pastor and fellowship group. Funny things can happen in our heads when we come to believe that only we know the truth.
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Jan 09 06:38PM

On 09/01/2018 15:52, Thiago Adams wrote:
 
> In addition, some successful libraries or computer languages ​​do not have to be the most perfect to succeed.
> They must work, solve the problem, be available and be
> well known and widespread. I do not use QT, but I think it was successful. The same for MFC.
 
Thiago, ask yourself why nobody uses MFC today except for legacy even
though Microsoft still update it. It is because MFC is shit compared to
the present day competition. A design goal of neoGFX is to render Qt
shit in comparison to it; I see no reason why this is an unachievable goal.
 
/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."
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Jan 09 06:41PM

On 09/01/2018 18:16, Richard wrote:
> re-implementing all standard control interactions. This is a HUGE
> undertaking and just another reason why I think your GUI framework is
> destined to die off.
 
ORLY? Then kindly explain how neoGFX's widget library is over 75%
complete with less than two man-evening years of effort?
 
/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 09 01:43PM -0500

On 1/8/2018 8:07 PM, Mr Flibble wrote:
>> could create a cross-compiler which takes wxWidgets and Qt code and
>> refactors it to work with neoGFX.
 
> Alternatively I should not do that.  I should not do that.
 
Why wouldn't you want to make it transparent for existing wxWidgets
and Qt users to switch over?
 
If I had a GUI library available with as many features and controls
as yours, and I could save money, and lose nothing of substance in
the switch ... why wouldn't I switch?
 
--
Thank you! | Indianapolis, Indiana | God is love -- 1 John 4:7-9
Rick C. Hodgin | http://www.libsf.org/ | http://tinyurl.com/yaogvqhj
-------------------------------------------------------------------------
Software: LSA, LSC, Debi, RDC/CAlive, ES/1, ES/2, VJr, VFrP, Logician
Hardware: Aroxda Desktop CPU, Arxita Embedded CPU, Arlina Compute FPGA
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Jan 09 06:49PM

On 09/01/2018 18:43, Rick C. Hodgin wrote:
 
> If I had a GUI library available with as many features and controls
> as yours, and I could save money, and lose nothing of substance in
> the switch ... why wouldn't I switch?
 
Your underestimate how big a task writing such code conversion tools
would be. I would be spending most of my time updating the conversion
tools whenever Qt or wxWidgets changed than I would be spending time on
improving neoGFX itself.
 
I am happy with the state of affairs being such that migrating to neoGFX
will require writing a GUI from scratch or converting an existing one by
hand.
 
What I might do however (if I can find the time) is add an import tool
to my GUI editor that imports Qt .ui files and generates GUI code that way.
 
/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."
Thiago Adams <thiago.adams@gmail.com>: Jan 09 10:50AM -0800

On Tuesday, January 9, 2018 at 4:39:09 PM UTC-2, Mr Flibble wrote:
> though Microsoft still update it. It is because MFC is shit compared to
> the present day competition. A design goal of neoGFX is to render Qt
> shit in comparison to it; I see no reason why this is an unachievable goal.
 
 
I use Win32 + D2D API with some wrappers I did for
desktop apps.
 
For multiplataform code, I need mobile (android, ios)
more than linux so I think that javascript + electron + cordova
is the better option in this scenario.
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 09 01:54PM -0500

On 1/9/2018 1:49 PM, Mr Flibble wrote:
> would be.  I would be spending most of my time updating the conversion
> tools whenever Qt or wxWidgets changed than I would be spending time on
> improving neoGFX itself.
 
I think if you targeted a percentage of automatic conversion, and then
had them fixup some parts manually it owuld be better than a whole, new,
manual effort.
 
And if you gain traction, I think a full conversion utility would be
just what's needed to draw business your way. If you get to that point
and are interested, look me up and I will write it for you.
 
> hand.
 
> What I might do however (if I can find the time) is add an import tool
> to my GUI editor that imports Qt .ui files and generates GUI code that way.
 
That would be even better. I didn't know how Qt worked. The last time
I used it was in late mid/late 2000s when we were evaluating what GUI
to go with.
 
I would encourage you with neoGFX. You've put in a lot of hard work
and it will improve our applications. The screenshots I've seen at
various points have made me say, "Oooh. Awwe." I would have to say
well done.
 
--
Thank you! | Indianapolis, Indiana | God is love -- 1 John 4:7-9
Rick C. Hodgin | http://www.libsf.org/ | http://tinyurl.com/yaogvqhj
-------------------------------------------------------------------------
Software: LSA, LSC, Debi, RDC/CAlive, ES/1, ES/2, VJr, VFrP, Logician
Hardware: Aroxda Desktop CPU, Arxita Embedded CPU, Arlina Compute FPGA
legalize+jeeves@mail.xmission.com (Richard): Jan 09 07:08PM

[Please do not mail me a copy of your followup]
 
Thiago Adams <thiago.adams@gmail.com> spake the secret code
 
>For multiplataform code, I need mobile (android, ios)
>more than linux so I think that javascript + electron + cordova
>is the better option in this scenario.
 
You might find the case study by DropBox informative:
<https://www.youtube.com/watch?v=5AZMEm3rZ2Y>
 
TL;DR: Put almost everything into cross-platform C++ and only the
thinnest veneer of UI done per-platform in the native toolkit.
--
"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>
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Jan 09 07:22PM

On 09/01/2018 19:08, Richard wrote:
> <https://www.youtube.com/watch?v=5AZMEm3rZ2Y>
 
> TL;DR: Put almost everything into cross-platform C++ and only the
> thinnest veneer of UI done per-platform in the native toolkit.
 
You really are a beginner. It is standard practice to separate code
into non-GUI ("model") and GUI ("view") parts and should be done totally
independently of any choice of GUI library. I suggest you read up on the
MVC pattern.
 
/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."
Thiago Adams <thiago.adams@gmail.com>: Jan 09 11:47AM -0800

On Tuesday, January 9, 2018 at 5:22:43 PM UTC-2, Mr Flibble wrote:
> independently of any choice of GUI library. I suggest you read up on the
> MVC pattern.
 
> /Flibble
 
 
Do you mean implement only the UI for each platform?
 
The "only" is funny.
Only means android, ios, web, windows dekstop, linux,
windows phone..
 
This may work for big companies.
scott@slp53.sl.home (Scott Lurndal): Jan 09 06:34PM


>#define E(condition) __builtin_expect((condition)!=0, 1)
>#define whilee( expr ) while( E( expr ))
 
>whilee( stream_to_char( in, &c ))
 
So you can then use
 
whilee(coyote) {}
 
Most of our projects adopt the linux 'likely' and 'unlikely'
definitions.
 
#define likely(x) __builtin_expect(!!(x), 1)
#define unlikely(x) __builtin_expect(!!(x), 0)
 
while (likely(condition)) {
}
legalize+jeeves@mail.xmission.com (Richard): Jan 09 07:04PM

[Please do not mail me a copy of your followup]
 
"Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> spake the secret code
 
>> My instinct tells me to write this as:
 
>> while ((c = fgetc (in)) && c != EOF)
 
>The first loop is idiomatic and correct.
 
I think Clang/LLVM warning because the order of operations was
undefined for user-overloaded comma operator before C++17. However,
for situations where you are using the built-in comma operator (as in
this one), the order of operations is well defined. So it seems that
this is a spurious warning from Clang.
 
<http://en.cppreference.com/w/cpp/language/operator_other#Built-in_comma_operator>
--
"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>
"Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com>: Jan 09 08:10PM +0100

On 1/9/2018 8:04 PM, Richard wrote:
 
>> The first loop is idiomatic and correct.
 
> I think Clang/LLVM warning because the order of operations was
> undefined for user-overloaded comma operator before C++17.
 
The warning's advice to cast to `void` would not help with ordering,
would it?
 
 
> this one), the order of operations is well defined. So it seems that
> this is a spurious warning from Clang.
 
> <http://en.cppreference.com/w/cpp/language/operator_other#Built-in_comma_operator>
 
The interesting thing about the comma operator, to me, is that it
doesn't quite fit into a strict operator precedence.
 
It's interesting to me because I've forgotten the examples of that... :)
 
 
Cheers!,
 
- Alf
ram@zedat.fu-berlin.de (Stefan Ram): Jan 09 06:22PM

>Clang/LLVM is now warning about suspicious use of comma operator and
>the following statement causes the warning:
>while ((c = fgetc (in)), c != EOF)
 
It's hard to add anything after James and Alf, but one thing
that comes to mind might be an inline function:
 
#define E(condition) __builtin_expect((condition)!=0, 1)
#define whilee( expr ) while( E( expr ))
 
whilee( stream_to_char( in, &c ))
 
because the inline function then can serve as an anchor for
documentation.
 
#define restrict
#define X(condition) __builtin_expect((condition)!=0, 0)
#define ifx( expr ) if( X( expr ))
 
/** \brief tries to reads one char from a stream
\param stream address of a readable input stream
\param p an address of a writeable char object.
If the stream yields a non-EOF value,
this value is cast to char and then
written into the object addressed by p
\return zero to indicate a reading of EOF,
nonzero otherwise
*/
static inline int stream_to_char
( FILE * restrict const stream,
char * restrict const p )
{ int const value = fgetc( stream );
ifx( value == EOF )return 0;
*p =( char )value;
return 1; }
 
I added "restrict" because to me this is more of a C
question than a C++ question.
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 09 02:55AM -0800

> .. off
 
I didn't write the post / create the thread you're replying to.
It was made by someone impersonating me.
 
Impersonation posts are very confusing to people, aren't they?
 
--
Rick C. Hodgim
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: