Tuesday, January 9, 2018

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

legalize+jeeves@mail.xmission.com (Richard): Jan 09 06:18PM

[Please do not mail me a copy of your followup]
 
Jorgen Grahn <grahn+nntp@snipabacken.se> spake the secret code
>> I believe windows has select() support, and also has its own
>> windows-only event system as well
 
>I seem to remember it's limited, and only works on networking sockets.
 
Correct. On Windows, select() comes from WinSock and is only intended
for use with sockets.
 
>There's also Boost.Asio, if you want to learn and use an abstraction
>on top of the OS. Although I imagine it's hard to use correctly if
>you're not already familiar with non-blocking I/O ...
 
Boost.Asio properly integrates sockets and other forms of asynchronous
I/O on Windows and non-Windows platforms. If you want portable
asynchronous I/O, it seems to be the only (best?) solution around.
Since Boost.Asio is on track to be the standard library interface for
networking and asynchronous I/O, it seems worthwhile spending the time
learning how to use that API.
--
"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>
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 09 02:35AM -0800

On Tuesday, January 9, 2018 at 1:17:59 AM UTC-5, Juha Nieminen wrote:
> >> The rapture will happen soon; the last ones didn't happen because reasons.
 
> > Reported to abuse@giganews.com
 
> Why don't you just shut up, you .. spammer? Go to hell.
 
This is a serious question:
 
Why do I post about Jesus?
 
Do you REALLY think it's just to spam?
 
--
Rick C. Hodgin
 
PS -- Jesus changed my life in 2004. Unexpectedly. Unbelievably
to my natural senses. The spirit nature is real. It is His free
gift to us when we acknowledge and ask forgiveness for our sin.
David Brown <david.brown@hesbynett.no>: Jan 09 01:53PM +0100

On 09/01/18 11:35, 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 don't believe /you/ think this is spam - I believe you genuinely think
the stuff you post is important and everyone should read it and learn
from it. But nobody /does/ read it, nobody gets your message, nobody
thinks it is important. To everyone else, it is spam (or trolling, or
some other kind of off-topic and unwanted post).
 
Please try to see this from other peoples' viewpoint, not just your own.
Daniel <danielaparker@gmail.com>: Jan 09 06:05AM -0800

On Tuesday, January 9, 2018 at 5:35:47 AM UTC-5, Rick C. Hodgin wrote:
 
> Do you REALLY think it's just to spam?
 
Yes. You like the attention, and it makes you feel important. Even though Jesus doesn't want you to do it.
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 09 06:22AM -0800

On Tuesday, January 9, 2018 at 9:06:13 AM UTC-5, Daniel wrote:
 
> > Do you REALLY think it's just to spam?
 
> Yes. You like the attention, and it makes you feel important.
> Even though Jesus doesn't want you to do it.
 
That is one possibility. There are others as well. Do not so easily
or quickly discount them. The impact Jesus has on a person's life
changes the sinner into a born again person. People world-wide leave
jobs, leave homes, change their entire life to go out and reach the
people who are important to them. You all are important to me, and
my mission field are those areas of my life to which I have personal
interests.
 
FWIW, I receive a tremendous amount of pain from my outreach on these
groups. I receive a nonstop influx of people posting comments as you
do or worse. It is heart-wrenching, but I know why those comments are
there, and it means something to me to try to educate people against
those things the world teaches them about Christ, and to get people to
look to Him for themselves, to taste and see for themselves that the
Lord is good.
 
My best offering to you, Daniel. I'm saddened you don't see it (who
Jesus truly is, and why you need Him).
 
--
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 06:38AM -0800

On Tuesday, January 9, 2018 at 9:22:53 AM UTC-5, Rick C. Hodgin wrote:
 
Jesus doesn't want you to spam usenet, Rick. I would suggest that you try the
following experiment. Have a talk with your pastor. Show him these exchanges
and ask him if what your're doing is what Jesus would want, even though
people don't want it and you're driving them away.
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 09 06:50AM -0800

On Tuesday, January 9, 2018 at 9:39:18 AM UTC-5, Daniel wrote:
> following experiment. Have a talk with your pastor. Show him these exchanges
> and ask him if what your're doing is what Jesus would want, even though
> people don't want it and you're driving them away.
 
I have spoken with many Christians about my posts here.
 
The message I post is simple, and it is for all people, including the
people here:
 
(1) You have sin.
(2) Sin will condemn your soul to Hell.
(3) God knows this, so He came in to the Earth to rescue us.
(4) Jesus came to take away our sin.
(5) This restores us to God, and frees us from judgment.
 
Jesus came in to the world to save human souls from death in Hell.
 
It is important, Daniel. That's why I post.
 
And for the record, nobody goes away from this message because I am
spamming. They go away because they don't want to hear the message,
or cannot hear the message.
 
Only those who have been internally drawn by God will be able to
hear it:
 
https://www.biblegateway.com/passage/?search=John+6%3A44&version=KJV
 
44 No man can come to me, except the Father which hath sent me
draw him: and I will raise him up at the last day.
 
The message is for them. Not for everybody else. And I can assure
you there are people who are moved by these messages. Over the years,
many have contacted me saying the same. But even many true believing
Christians are not very active in their faith, and they are condemned
by my actions, and cite them as incorrect because I'm not behaving
like other Christians.
 
If all I did was espouse doctrine, that would be one thing, but I
have also placed all of my software before mankind under a type of
Public Domain license. I am giving away my labor so that people can
have benefits from my software. I've done this since July 2012 now,
and literally people have RUN AWAY from my work like you wouldn't
believe.
 
You put Jesus on something ... and unless a person is born again,
they do not want it because the flesh is in sin, and the flesh cannot
know Jesus Christ, and when something comes at their flesh with Jesus
attached to it, they run.
 
I pray you come to understand this, Daniel. Take care.
 
--
Rick C. Hodgin
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 09 06:56AM -0800

On Tuesday, January 9, 2018 at 9:51:10 AM UTC-5, Rick C. Hodgin wrote:
> have benefits from my software. I've done this since July 2012 now,
> and literally people have RUN AWAY from my work like you wouldn't
> believe.
 
Here is my source code:
 
https://github.com/RickCHodgin/libsf/tree/master/backup
 
Here is my license:
 
https://github.com/RickCHodgin/libsf/blob/master/backup/pbl_v1.txt
 
It reads in part:
 
License
 
This license releases the software and digital work into the
Public Domain forever, with the following consideration:
 
It is the intention of the LibSF authors that all of our work
remain open. We ask you to honor that request and always
maintain the digital content you have received from us (source
code, multimedia, and all other forms) in an open manner. In
addition, we request that all changes and extensions you make
to that content also be made available for others to enjoy,
in the same source code form, with all documentation, just as
you received it from us, for we are all here upon this Earth
together, and each of us can help the other grow and prosper.
 
We at LibSF offer this content into the Public Domain knowing
that it can also be taken and usurped for purposes other than
those the authors desire and state above, so in addition we
include this warning, a reminder of accountability:
 
Each of us was created by God for a purpose. We have been
assembled here upon this planet to live and work together for
the benefit and betterment of all. God has doled out unique
and special skills, talents, and abilities, as He has done,
severally, to each of us. It must therefore be recognized
that each of us is part of the full gift of giving unto man,
and as a body is comprised of many members, each with their
part, so too are we part of this body of man.
 
To sum up: We give you the same request God gave us:
 
Do as we are asking, remembering that you will be judged by God
based on your choices with regards to our asking.
 
People can take my software and usurp it for other purposes, just as
people do in this world with everything God has given us. But, such
a usurping comes with a price ... damnation.
 
> know Jesus Christ, and when something comes at their flesh with Jesus
> attached to it, they run.
 
> I pray you come to understand this, Daniel. Take care.
 
Each of us reveals who we are continually by our choices. The teachings
of Christ guide people to remember Him ahead of other things, so that
their choices are always deferring to Him and His correct, right, true,
and proper guidance for our lives, and the lives of everyone around us.
 
The people need to hear these teachings. They don't come from our
silence. The enemy's voice comes from our silence. But for those who
are born again, God's voice must be elevated ahead of other voices.
 
Again, I pray you come to understand this, Daniel. Take care.
 
--
Rick C. Hodgin
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 09 07:07AM -0800

On Tuesday, January 9, 2018 at 9:39:18 AM UTC-5, Daniel wrote:
> following experiment. Have a talk with your pastor. Show him these exchanges
> and ask him if what your're doing is what Jesus would want, even though
> people don't want it and you're driving them away.
 
Can you see this tweet?
 
https://twitter.com/jcims_/status/950734556344172544
 
"I used to live for the approval of others, but now I live for
the approval of God."
 
The Christian life is that way: in submission to God. It is seeking
to please Him first, as we are led by the spirit of God and not by our
flesh, and we are in obedience to His command to teach others as we go:
 
https://www.biblegateway.com/passage/?search=matthew+28%3A18-20&version=KJV
 
18 And Jesus came and spake unto them, saying, All power is
given unto me in heaven and in earth.
19 Go ye therefore, and teach all nations, baptizing them in
the name of the Father, and of the Son, and of the Holy Ghost:
20 Teaching them to observe all things whatsoever I have commanded
you: and, lo, I am with you always, even unto the end of the
world. Amen.
 
Those who are His teach His words despite what others say. Even when
questioned by the authorities, Peter and John responded to them stating
they would hearken unto God ahead of man's contrary guidance. This
relates back to Matthew 28:18 above and "all power" being given to
Jesus:
 
https://www.biblegateway.com/passage/?search=Acts+4%3A19&version=KJV
 
19 But Peter and John answered and said unto them, Whether it be
right in the sight of God to hearken unto you more than unto
God, judge ye.
 
Note: I post this for everyone's sake, not just yours, Daniel.
 
--
Rick C. Hodgin
scott@slp53.sl.home (Scott Lurndal): Jan 09 03:27PM


> Why do I post about Jesus?
 
Because you need to justify yourself
by convincing others that your delusions are reality.
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 09 07:36AM -0800

On Tuesday, January 9, 2018 at 10:27:38 AM UTC-5, Scott Lurndal wrote:
> > Why do I post about Jesus?
 
> Because you need to justify yourself
> by convincing others that your delusions are reality.
 
That is one possibility. You should read my reply to Daniel. It is
more interesting than a single one liner. It also has the virtue of
being the correct answer.
 
--
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 07:43AM -0800

On Tuesday, January 9, 2018 at 9:51:10 AM UTC-5, Rick C. Hodgin wrote:
> On Tuesday, January 9, 2018 at 9:39:18 AM UTC-5, Daniel wrote:
 
> > Have a talk with your pastor.
 
> I have spoken with many Christians about my posts here.
 
You're equivocating. So I repeat: have a talk with your pastor about this.
Your pastor will tell you the same that I have, that Jesus doesn't want you to spam usenet.
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 09 08:14AM -0800

On Tuesday, January 9, 2018 at 10:43:38 AM UTC-5, Daniel wrote:
> > > Have a talk with your pastor.
> > I have spoken with many Christians about my posts here.
> You're equivocating. So I repeat: have a talk with your pastor about this.
 
Thank you for your advice.
 
--
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 08:53AM -0800

On Tuesday, January 9, 2018 at 11:15:17 AM UTC-5, Rick C. Hodgin wrote:
 
> Thank you for your advice.
 
You're welcome. When you go to see your pastor, bring examples of your posts
and the feedback from members, as well as the charter for the newsgroup. It will be good for you to get feedback from a leader in your fellowship
community.
Chris Vine <chris@cvine--nospam--.freeserve.co.uk>: Jan 09 05:43PM

On Tue, 9 Jan 2018 07:43:15 -0800 (PST)
 
> You're equivocating. So I repeat: have a talk with your pastor about
> this. Your pastor will tell you the same that I have, that Jesus
> doesn't want you to spam usenet.
 
After some posts of Rick's on this newsgroup last December, I have
changed my mind and taken the view that it is best not to reply to him,
and you and others might like to do the same, even when he is on topic.
 
I say this because replies to him operate on the basis that he is open
to persuasion that his approach to posting is both anti-social and
counter to his desire to save souls. The flaw in this seems to me to
be that he is not open to persuasion. It seems from some surprisingly
candid posts that he made in December about his own private life
(assuming it was really him) that he had a nervous breakdown, or
something like it, a little over a decade ago. He seems seized by
self-doubt and the need to prove himself to God, or in his words in
order that "I will stand before the Lord having attempted in many ways
to reach you and the others here. I will be guiltless before Him in
this regard, though it cost me much pain ...".
 
In other words he is on an obsessive "prove myself to God" trip, leaving
him in a perfect bind. He is compelled to annoy people to justify
himself at the final judgement (even though he would probably argue
that there is no salvation by works). And protestations on this
newsgroup, about his behaviour, serve only as evidence that Satan is at
work in opposition to his (Rick's) "teaching", so he needs to try even
harder than before. The more people protest, the more evidence there
is that his "teaching" is having an effect by stirring up the Enemy
against him.
 
There is no ending to this. Reason would dictate that now that his
"teaching" has already been given to everyone reading this newsgroup
numerous, numerous times, he would be better off letting this
"teaching" sink in and stop annoying people. This is not how he
thinks, or is capable of thinking.
 
Chris
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jan 09 09:59AM -0800

On Tuesday, January 9, 2018 at 12:44:01 PM UTC-5, Chris Vine wrote:
> After some posts of Rick's on this newsgroup last December...
 
Those were not my posts. Peter Cheung was impersonating me heavily
during that time. And Leigh Johnston also began impersonating me,
and he continues to this day.
 
Examine the headers on any post in question. I post only through
Google Groups or Eternal September, from Indianapolis, IN, using the
user name "Rick C. Hodgin" and email address "rick.c.hodgin@gmail.com."
 
Leigh posts through giganews.com. Peter's posts came through aioe.org.
 
I do not post under other identities, nor other posting authorities.
I have been the victim of attacks by individuals who seek to do harm
to the message.
 
Will someone please re-post this so Chris Vine can read it?
 
--
Rick C. Hodgin
Chris Vine <chris@cvine--nospam--.freeserve.co.uk>: Jan 09 06:18PM

On Tue, 9 Jan 2018 09:59:08 -0800 (PST)
> I have been the victim of attacks by individuals who seek to do harm
> to the message.
 
> Will someone please re-post this so Chris Vine can read it?
 
Your posts are not automatically deleted, instead (a) I don't read them
except when they are in direct reply to a posting of mine, and (b) I
have concluded that responding to you is a waste of time, or rather
makes things worse. (Oh dear, I have failed again.)
 
But on a point of fact, the posts I am thinking about are those you made
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 which led me to believe that you are ill and had acquired
the other unhelpful attributes to which I referred in my post. This is
why I no longer think it worth appealing to reason on your part.
 
Please don't reply (unless it is to say that the post to which I
have referred above was not from you).
scott@slp53.sl.home (Scott Lurndal): Jan 09 03:24PM

>> library itself.
 
>IMO a good GUI library should be easy to use with a GUI editor AND be
>elegant to write code for. This is the primary goal for neoGFX.
 
Although it is a truism that elegance is in the eye of the beholder.
Thiago Adams <thiago.adams@gmail.com>: Jan 09 07:52AM -0800

On Tuesday, January 9, 2018 at 1:24:31 PM UTC-2, Scott Lurndal wrote:
 
> >IMO a good GUI library should be easy to use with a GUI editor AND be
> >elegant to write code for. This is the primary goal for neoGFX.
 
> Although it is a truism that elegance is in the eye of the beholder.
 
The beauty of the code is according which the hierarchy of
values we build in your minds.
This hierarchy can be different for each person.
 
 
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.
legalize+jeeves@mail.xmission.com (Richard): Jan 09 06:16PM

[Please do not mail me a copy of your followup]
 
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk> spake the secret code
 
>At the moment OpenGL; in the future DirectX (via OpenGL ES) and Vulkan
>too. I do not use native controls.
 
So you better be prepared to invest the same number of man years as
have been invested in Qt because you're going to be re-inventing and
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.
--
"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>
Geoff <geoff@invalid.invalid>: Jan 09 09:29AM -0800

Clang/LLVM is now warning about suspicious use of comma operator and
the following statement causes the warning:
 
while ((c = fgetc (in)), c != EOF)
 
My instinct tells me to write this as:
 
while ((c = fgetc (in)) && c != EOF)
 
but the advice from Xcode is to "cast the expression to void to
silence this warning". I prefer to dispose of questionable idiomatic
usage over hiding it. I am not the original author of this code.
 
What is your opinion?
"James R. Kuyper" <jameskuyper@verizon.net>: Jan 09 12:50PM -0500

On 01/09/2018 12:29 PM, Geoff wrote:
 
> while ((c = fgetc (in)), c != EOF)
 
> My instinct tells me to write this as:
 
> while ((c = fgetc (in)) && c != EOF)
 
This has different behavior than the original code if the character read
in is '\0'. Unless you actually want different behavior in that case,
it's probably a bad idea.
 
> but the advice from Xcode is to "cast the expression to void to
> silence this warning". I prefer to dispose of questionable idiomatic
> usage over hiding it. ...
 
You have good instincts; if there's a legitimate problem, the cast won't
fix it, it will merely hide it.
 
> ... I am not the original author of this code.
 
> What is your opinion?
 
while( (c = fgetc(in)) != EOF )
"Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com>: Jan 09 06:58PM +0100

On 1/9/2018 6:29 PM, Geoff wrote:
 
> while ((c = fgetc (in)), c != EOF)
 
> My instinct tells me to write this as:
 
> while ((c = fgetc (in)) && c != EOF)
 
For binary file that would be technically wrong. For text file it would
mislead the reader, indicating a possibility (reading a null value) that
can then never occur. And so you really don't want to do that.
 
 
> but the advice from Xcode is to "cast the expression to void to
> silence this warning".
 
It's insane.
 
But what's insanity to a reasoning informed mind, can be just wholesome
common thinking to an associative uninformed mind. I would guess that
whoever designed that warning belongs to the latter class. And so it's
not necessarily an insane person, but merely a very incompetent one.
 
 
> I prefer to dispose of questionable idiomatic
> usage over hiding it. I am not the original author of this code.
 
> What is your opinion?
 
 
The first loop is idiomatic and correct.
 
 
Cheers & hth.,
 
- Alf
Chris Vine <chris@cvine--nospam--.freeserve.co.uk>: Jan 09 06:06PM

On Tue, 09 Jan 2018 09:29:17 -0800
> silence this warning". I prefer to dispose of questionable idiomatic
> usage over hiding it. I am not the original author of this code.
 
> What is your opinion?
 
The second version will fail if '\0' is a valid character in this
context: it frequently is, as end-of-string. I should stick to whatever
your intention is. I suspect there must be a compiler flag to silence
this warning.
 
Incidentally if you want to post these kinds of messages, you should
post the error message.
 
Chris
red floyd <dont.bother@its.invalid>: Jan 09 08:52AM -0800

> On Monday, January 8, 2018 at 1:16:34 PM UTC-6, Mr Flibble wrote:
 
> Please don't swear here.
 
Stop imposing your fucking sanctimony on us.
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: