Monday, July 18, 2016

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

pedro1492@lycos.com: Jul 18 04:40AM -0700

In linux, long is 32-bits for 32-bit OS or 64-bits for 64-bit OS.
This causes problems for an old package, because included X11 header
has typdef unsigned long.
There are many places where the size would require extra switch-case
clauses to handle 32 or 64 bits. Hundreds of source files would
need to be scrutinised. Simply hacking the X11 header file
to change long to int makes the problem go away, but it not really
best practice.
So I hoped some compiler options could change "long" size.
Now in fortran, one can generally over-ride variable size with
compiler flags, but c++ does not seem so well endowed.
The only thing I know of is -m32 which generates old 32-bit code and
forces "long" to 32 bits. GNU compiler has -mx32 which utilises
extra 64-bit instruction set, but limits "long" to 32 bits.
Intel compiler does not have this.
Any other workarounds?
Ian Collins <ian-news@hotmail.com>: Jul 19 12:02AM +1200

> extra 64-bit instruction set, but limits "long" to 32 bits.
> Intel compiler does not have this.
> Any other workarounds?
 
Doesn't the Intel compiler have -m32?
 
--
Ian
Nobody <nobody@nowhere.invalid>: Jul 18 09:28PM +0100

On Mon, 18 Jul 2016 04:40:14 -0700, pedro1492 wrote:
 
> be scrutinised. Simply hacking the X11 header file to change long to int
> makes the problem go away, but it not really best practice.
> So I hoped some compiler options could change "long" size.
 
The main problem with this is that if you include any headers for other
libraries, you need to link against versions of those libraries which were
built with a 32-bit "long".
 
In general, client code communicates with Xlib using the platform's base
types (e.g. int or long), whatever those happen to be. In situations where
data is being passed from the client to the server without any conversion,
you'd normally use the fixed-size types CARD8, CARD16 and CARD32. Most
"handle" types (e.g. XID, Atom) are aliases for CARD32, i.e. they'll be
32-bit regardless of the size of "long".
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jul 18 05:01AM -0700

On Sunday, July 17, 2016 at 9:48:34 AM UTC-4, Öö Tiib wrote:
 
> Etc. confused preaching. No, Rick. You dodged answering any of what
> others wrote and yammer on your nonsense with ears shut. That is rude.
> Did Jesus teach you to be rude with others?
 
He taught us to teach, and not to argue with people who do not yet know
what truth is, and therefore argue from places separate from the wisdom
of God. And I have not responded to you because you are not interested
in the truth.
 
I am curious how you pronounce your name however.
 
Best regards,
Rick C. Hodgin
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jul 18 05:09AM -0700

On Sunday, July 17, 2016 at 1:02:38 PM UTC-4, Mr Flibble wrote:
 
> You really are a .. aren't you mate? This is not the appropriate
> forum for your ..; an appropriate forum would be your local nut house.
 
> /Flibble
 
I will continue to pray for you, Leigh. I care about your eternal soul
and would like to see you in Heaven.
 
Consider the possibility that there really is a loving God, that He
really did create a perfect world, and that an enemy of God came in
and laid waste to that perfection through deception and lies. Consider
that God is eternal and the timescales He operates on are huge compared
to our mortal timescales. Consider that the problems we have in the
world today are the result of sin, and that Jesus, because He takes our
sin away, is /THE/ cure (the only cure).
 
Consider that you're being lied to by an enemy at work in this world
who teaches you the ways of lies, the purpose of which is to destroy
your soul in Hell. Consider that a loving God cared enough for you to
make a way out for you, so that you could be restored to Him despite
your guilt, and the unholy things you've done in His perfect sight.
 
You are being lied to by that enemy, Leigh. And Jesus Christ alone
teaches us the truth. It is the nature of truth, that it speaks with
one voice, is foundational, and always holds up to all scrutiny, of
every kind, always triumphant.
 
It is what's happening to you, and others in this world, Leigh. It's
why we (me and other Christians) take the time to teach you these things.
You won't learn them from the world, but only from Jesus Christ, and from
those who have come to Him, learned of Him, and then turn back out into
the world and teach of Him.
 
It is about Him, Leigh. Not me. Not any of us (Christians). It is
about what He has done, is doing, and has planned in the future. I teach
you the truth because I care about your eternal soul.
 
I love you, Leigh, but Jesus loves you more than I do, because His is a
much bigger love, encompassing all of eternity. He places that much value
on you that despite your apparent hatred and outward spewing of filthy
things said and believed, He still comes to you and says, "Come to me,
Leigh, and I will give you rest for your soul."
 
I will continue to pray for you because I care about you. It is literally
my best offering to you in this world (pointing you to Him, and praying
for you against the power of that lying enemy who tries to deceive you in
all places, in all ways, and at all counts). If you set your sights on
the truth, you will be known of God in doing this, and He will make it
possible for you to come to know the truth. I pray you do because (again),
I would like to see you in Heaven.
 
Best regards,
Rick C. Hodgin
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jul 18 05:15AM -0700

On Sunday, July 17, 2016 at 11:44:41 AM UTC-4, J. Clarke wrote:
 
> Why do you put a hyphen in the place of the "o" in "God"? Are you
> laboring under the stereotypical ignorant fundie pseudo-Christian
> misconception that that is His name?
 
It is a common practice of many Jewish people, and also some others.
As I understand it, it's because they do not want to blaspheme God by
using His name directly, or even referring to Him directly. It is
them showing Him high respect, so as to address Him in all ways and
continually from within that respect:
 
http://judaism.about.com/od/judaismbasics/a/Why-Do-Some-Jews-Spell-God-G-D.htm
 
Best regards,
Rick C. Hodgin
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jul 18 05:24AM -0700

> A: Billions of years for each, as per the separations of light & darkness; and water from land - prior to life emerging.
> Q: What is the first listing of life form groupings, later called as species?
> A: Genesis first chapter, listing life form groupings from vegetation to speech endowed humans.
 
The truth is God gave us His word and it proclaims things which are
directly identifiable as literal 24-hour periods of time, such as,
"...And the evening and the morning were the first day":
 
http://biblehub.com/kjv/genesis/1-5.htm
 
Here is a video which explains the significance of taking God at His word,
and not introducing a compromise with man's reasoning to change the words
of scripture. It's by a group called Answers in Genesis, who have and
continue to teach that the foundations we need in this world to understand
who we are in God, in eternity, and also here in sin, all stem from the
book of Genesis, and that to alter the teachings it possesses within itself
is to undermine God ... which is why the many lies of alternative theories
about our past, our origins, are introduced by the same enemy who is right
now waging war against people, causing disease, tempting to immorality and
hate, and so on.
 
https://answersingenesis.org/days-of-creation/six-literal-days/
https://www.youtube.com/watch?v=KbODW6XO8zY
https://www.youtube.com/watch?v=Dmgs4a-Gbrc
https://www.youtube.com/watch?v=deV99oPnKlI
 
The truth explains the Biblical account of God in the face of that which
our science uncovers today. The two are in unity, and the Biblical world
view gives proper respect to God, whereas the alternate views remove God,
or the authority of God, or some attributes of God which then discredit
His teaching to us in the Bible. And once you lose the foundation of the
story of Genesis, and the Biblical account of a literal six day creation,
it's easy to then discount the rest.
 
It's why the movement exists ... always trying to discredit God, and to
undermine Jesus Christ.
 
Best regards,
Rick C. Hodgin
Cholo Lennon <chololennon@hotmail.com>: Jul 18 10:11AM -0300

On 07/17/2016 02:02 PM, Mr Flibble wrote:
 
> You really are a fucktard aren't you mate? This is not the appropriate
> forum for your bullshit; an appropriate forum would be your local nut
> house.
 
For your mental health Mr. Flibble, just add these religious nuts to
your kill file. That has worked for me ;-)
 
Just for the record, I can't believe this kind of people exist in the
21st century! The problem is even worse if you think that they are
related to technology :-O
 
Regards
 
--
Cholo Lennon
Bs.As.
ARG
Reinhardt Behm <rbehm@hushmail.com>: Jul 18 09:30PM +0800

Öö Tiib wrote:
 
 
> Truth is not what a confused man wants to preach. Confused man is not
> God, so can't set any truths. He is just a confused man who is
> and remains wrong. That is all normal since man is weak and fallible.
 
This religious nonsense babble reminds me of an highly praised assembler in
the old Z80 days (SLR ?)
I got a copy, did a first test and immediately found a serious error, that
should have never escaped product testing. Looking a bit around in the
binary I found the text "Christ is the answer." My thought was the
programmer had better used logic instead of praying when writing his
software.
 
--
Reinhardt
"Öö Tiib" <ootiib@hot.ee>: Jul 18 07:35AM -0700

On Monday, 18 July 2016 15:01:56 UTC+3, Rick C. Hodgin wrote:
 
> He taught us to teach, and not to argue with people who do not yet know
> what truth is, and therefore argue from places separate from the wisdom
> of God.
 
Cite please. Where Jesus taught you that you should not answer questions
about the claims that you just made?
 
> And I have not responded to you because you are not interested
> in the truth.
 
How so? You here are answering to my post. Most people in his group
think that I am an idiot answering to your posts. In that post I
asked several questions about your truths that you failed to answer
in any way:
 
* Why Earth looks like billions of years old planet?
* The light that we see from the Andromeda Galaxy takes 2.2 million
years to reach Earth. Why we see it?
* Can serpents talk?
* Is Earth flat?
* Do Sun and Moon circle it?
* Is rainbow a sign of the covenant between God and life on Earth?
 
You instead cut these questions out. Why you did cut the questions out?
Did Jesus teach that too? If you do not know the answers then tell
that you do not know.
 
> I am curious how you pronounce your name however.
 
In dictionaries they draw such pronunciation like ə: ... like "i" in
"girl" I guess.
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Jul 18 05:40PM +0100

On 18/07/2016 13:09, Rick C. Hodgin wrote:
 
> I will continue to pray for you, Leigh. I care about your eternal soul
> and would like to see you in Heaven.
 
Mate, just fuck off already.
 
/Flibble
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jul 18 10:55AM -0700

On Monday, July 18, 2016 at 10:35:56 AM UTC-4, Öö Tiib wrote:
> > of God.
 
> Cite please. Where Jesus taught you that you should not answer questions
> about the claims that you just made?
 
I teach people. The things I've posted will educate you if you'll read
and receive them. But such information is not for everybody, but only
for those to whom it is given. It depends on whether or not the person
is in pursuit of the truth, or in pursuit of something else.
 
You're asking questions related to your existing understanding in the
flesh. You are like someone without eyes trying to understand what it's
like to see, but because you don't have eyes you have no frame of
reference which is valid, for seeing is not like hearing or tasting or
touching or smelling, but it is distinct. So it is for those things
which are spiritually discerned.
 
Focus on seeking an answer to those things I have posted and taught, and
you will understand if you are truly seeking because God Himself will
make them known to you.
 
> think that I am an idiot answering to your posts. In that post I
> asked several questions about your truths that you failed to answer
> in any way:
 
Well, it's simple. Your questions are argumentative. They do not
come from a place of trying to learn and understand the things of God,
but rather, you are trying to prove (through man's faulty reasoning)
that there is something amiss with God, with scripture, or both.
 
It is the work of the devil in your own head and mouth, because that's
what the nature of sin is in our lives. We think we originate our own
thoughts, but when they are sinful, harmful, of a false teaching that
is not inline with scripture, they are not coming from us, but are
coming from demons that are speaking into us those things which are of
the alternate explanation / theory / belief, the one which takes God
out of the equation and replaces it with any other thing.
 
God's word is spiritually discerned. No flesh will ever be able to
understand it as it truly is, but only at the most superficial levels,
and it is often purposefully crafted that way so as to deceive those
who will not seek the truth (Mark 4:12).
 
As such, no flesh will ever come to a saving knowledge of Jesus Christ,
or of the truth His Holy Spirit conveys, for all such knowledge is
spiritually discerned. And because God is spirit, those who worship
Him must do so in spirit and in truth, and not in other ways.
 
You are separate from the understanding of God because you will not
pursue the truth, but are pushing a pre-conceived agenda regarding
what you already believe. You will not receive the truth because you
are so sure you are right that you cannot receive His message of love,
of the nature of sin, and our need for forgiveness through His Son,
Jesus Christ.
 
It's hidden from you because you won't hear of any of it.
 
 
> You instead cut these questions out. Why you did cut the questions out?
> Did Jesus teach that too? If you do not know the answers then tell
> that you do not know.
 
When you are seeking the truth, you will be given answers, and not just
by someone like me, but God Himself (His Holy Spirit) will lead you into
all truth (when you begin pursuing truth in the first place).
 
The same happened to me beginning in 2003, and culminating in 2004. I
was on a journey to meet Jesus Christ, and did not even realize it, but
because I had set my true sights on coming to know the truth, I found
it, and even totally and completely to my surprise. I was dumbfounded
that such a change had happened to me. But, it did, and here I am now
12 years later changed in every possible way by Him from the inside out.
 
It requires that new birth to see it, and just as with your first birth,
that is only an act of God, not of your own doing. All you have to do
is set your sights on the truth, and God knows this, and then He does
the rest. He already knew in advance, by the way, who would do this,
which is why some people come into other people's lives for a time. God
is working out our salvation over decades in many cases.
 
Good luck to you in your pursuit. The answers you seek are all there.
Just press in and seek the truth and ALL OF THEM will be given to you,
and much more too.
 
Best regards,
Rick C. Hodgin
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jul 18 10:57AM -0700

On Monday, July 18, 2016 at 12:40:44 PM UTC-4, Mr Flibble wrote:
> > I will continue to pray for you, Leigh. I care about your eternal soul
> > and would like to see you in Heaven.
> Mate, just .. already.
 
You are a talented developer, Leigh. I have looked at your code and am
impressed. You have been given a great gift there, and it will serve
many people well.
 
My offer to you is that you can translate that offering into something
that will also serve you well ... in eternity ... and not just here on
the Earth in these ever-failing bodies (the result of sin).
 
Best regards,
Rick C. Hodgin
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Jul 18 07:27PM +0100

On 18/07/2016 18:57, Rick C. Hodgin wrote:
 
> My offer to you is that you can translate that offering into something
> that will also serve you well ... in eternity ... and not just here on
> the Earth in these ever-failing bodies (the result of sin).
 
You seem to be forgetting one thing: I am an atheist who is quite
settled in his beliefs.
 
Your preaching (most of which I don't bother reading btw) will not
change anything (and I couldn't care less that you "used to be an atheist").
 
And as far as your Abrahamic god is concerned I know for a fact that it
doesn't exist (this is knowledge NOT belief and has nothing to do with
atheism).
 
But I know this reply is futile because you are so fucking obtuse in
your fucktarded beliefs such as the Earth only being several thousand
years old rather than billions DESPITE OVERWHELMING EVIDENCE TO THE
CONTRARY.
 
/Flibble
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jul 18 11:33AM -0700

On Monday, July 18, 2016 at 2:27:49 PM UTC-4, Mr Flibble wrote:
> > the Earth in these ever-failing bodies (the result of sin).
 
> You seem to be forgetting one thing: I am an atheist who is quite
> settled in his beliefs.
 
I was too. And I was very good in my arguments against believers and
the Bible.
 
> your .. beliefs such as the Earth only being several thousand
> years old rather than billions DESPITE OVERWHELMING EVIDENCE TO THE
> CONTRARY.
 
I used to hold those beliefs, Leigh. The change that comes from the
born again nature is that powerful. It reveals the deception we're
under by teaching us the truth.
 
It's what I'm trying to teach you: you are literally being deceived by
an evil spirit teaching designed to do one thing: prevent you from ever
coming to saving knowledge of Jesus Christ.
 
Whether or not you remain there is entirely dependent upon whether or
not you will seek the truth, and pursue it, or not. There are no other
barriers preventing you from eternal life ... just you.
 
Best regards,
Rick C. Hodgin
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Jul 18 07:43PM +0100

On 18/07/2016 19:33, Rick C. Hodgin wrote:
 
> Whether or not you remain there is entirely dependent upon whether or
> not you will seek the truth, and pursue it, or not. There are no other
> barriers preventing you from eternal life ... just you.
 
Is that the best you've got? The devil is deceiving us? Bloody pathetic
mate.
 
/Flibble
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Jul 18 11:49AM -0700

On Monday, July 18, 2016 at 2:43:12 PM UTC-4, Mr Flibble wrote:
> > barriers preventing you from eternal life ... just you.
 
> Is that the best you've got? The devil is deceiving us? Bloody pathetic
> mate.
 
Yes. The absolute best I have is the truth. You can see it everywhere
in the world. In music. Pop culture. Television. Movies. Liberal
movements (and even in many "conservative" movements).
 
It's the result of sin, and our spiritual death from sin, so that we are
no longer able to discern spiritual things, but are only able to respond
to our physical things. Because these evil spirits are spirits, they
can exert and influence upon our flesh, as if "beaming in a signal" that
we then pick up on.
 
When we are born again, we are aware of that activity because then we can
see and know it. It becomes obvious, and the born again person will begin
to move away from the deception and toward the truth because God's Holy
Spirit is also there guiding us from within.
 
It is the best I have to offer you, Leigh: the truth. And there is much
more to this than this little bit. But you have to pursue it with a whole
full throttle effort. It can't be a thing you think maybe you might
consider doing a week from next Tuesday. It has to be of internal resolve
and a purposeful out loud statement, "You know what?! I /DO/ want to know
the truth. Even if it takes down my beliefs. Or builds them up even
stronger. Regardless of what I find in the end, I WANT THE TRUTH!"
 
Pursue it with that kind of vigor, and you will find it.
 
Best regards,
Rick C. Hodgin
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Jul 18 07:52PM +0100

On 18/07/2016 19:49, Rick C. Hodgin wrote:
> the truth. Even if it takes down my beliefs. Or builds them up even
> stronger. Regardless of what I find in the end, I WANT THE TRUTH!"
 
> Pursue it with that kind of vigor, and you will find it.
 
TLDR (and I wouldn't read it if I had the time BECAUSE IT IS OFF TOPIC
IN THIS FORUM). Now fuck off.
 
/Flibble
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Jul 18 07:22PM +0100

Hi!
 
I have just implemented sub-pixel text rendering in "neoGFX" my C++
game/GUI library (coming soon).
 
Screenshot:
 
http://neogfx.org/temp/subpixel.png
 
Source code:
 
https://github.com/FlibbleMr/neogfx
 
/Flibble
Juha Nieminen <nospam@thanks.invalid>: Jul 18 06:44AM


> The official explanation (not mine) is that C++ already has constructors
> for initializing objects. Adding even more ways would make the language
> even more complicated.
 
How would you use constructors to say that you want to explicitly initialize
certain members with some given values, and leave the remaining members with
their default values? You can't have default values in the middle of a
list of parameters to a function (ie. you can say, like "obj(10, , 30)".)
You can't have named constructors either (and even if you did, it would be
really laborious to have to write one constructor for every possible
combination of parameters that you might want to initialize).
 
I suppose something like this would be technically possible:
 
const S obj = S().a(10).c(30);
 
but it's awkward, and makes the implementation of S quite complicated,
requiring you to create methods for each member being initialized.
(It also requires for S to be copy-constructible. Not usually a problem,
but it adds an extra requirement.)
 
The standardization committee likes to go with what compilers support
(or don't support). This seems to be something that most compilers
already support. So why not?
 
--- news://freenews.netfront.net/ - complaints: news@netfront.net ---
woodbrian77@gmail.com: Jul 18 06:16AM -0700

On Monday, July 18, 2016 at 1:45:12 AM UTC-5, Juha Nieminen wrote:
> certain members with some given values, and leave the remaining members with
> their default values? You can't have default values in the middle of a
> list of parameters to a function (ie. you can say, like "obj(10, , 30)".)
 
I think you meant to say that you can't do that.
 
 
Brian
Ebenezer Enterprises - In G-d we trust.
http://webEbenezer.net
"Öö Tiib" <ootiib@hot.ee>: Jul 18 06:45AM -0700

On Monday, 18 July 2016 09:45:12 UTC+3, Juha Nieminen wrote:
> You can't have named constructors either (and even if you did, it would be
> really laborious to have to write one constructor for every possible
> combination of parameters that you might want to initialize).
 
We can have several constructors. Constructor can not be named
but can be "decorated" with arguments and template arguments.
In actual practice it may be confusing. It seems to be good idea
to have minimum needed constructors and no constructor templates
if possible.
 
If you really want to have named arguments then best what can be likely
achieved with current C++ is Boost.Parameter library. It burdens some
more declaring work on us, slows compilation down slightly and compilation error messages on case of typo may be funny. But there we are.
 
Initialization syntax of C++ is IMHO already too fragile and loose.
Bo Persson <bop@gmb.dk>: Jul 18 05:27PM +0200

On 2016-07-18 08:44, Juha Nieminen wrote:
 
> How would you use constructors to say that you want to explicitly initialize
> certain members with some given values, and leave the remaining members with
> their default values?
 
I think the idea is that the constructor should initialize the *object*,
and not any particular members. The class invariant is the
responsibility of the class itself, not of the initializer.
 
 
 
Bo Persson
Chris Vine <chris@cvine--nospam--.freeserve.co.uk>: Jul 18 12:33AM +0100

On Sun, 17 Jul 2016 15:13:02 -0700 (PDT)
 
> Chris, please don't swear here.
 
> Evolution and the age of the universe are
> discussed in this newsgroup.
 
Brian,
 
Please fuck off from here.
 
Evolution and the age of the universe should not be discussed here. Go
to a newsgroup where it is on topic if you feel personally compelled to
discuss those issues.
Ian Collins <ian-news@hotmail.com>: Jul 18 02:03PM +1200

> On Sunday, July 17, 2016 at 11:24:31 AM UTC-5, Chris Vine wrote:
 
> Chris, please don't swear here.
 
Your proselytising is way more offensive and annoying than schoolyard
swearing. Please stop.
 
> Evolution and the age of the universe are
> discussed in this newsgroup.
 
Only by fools.
 
C++ is discussed in this newsgroup.
 
--
Ian
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: