Thursday, September 25, 2014

Digest for comp.lang.c++@googlegroups.com - 16 updates in 6 topics

comp.lang.c++@googlegroups.com Google Groups
Unsure why you received this message? You previously subscribed to digests from this group, but we haven't been sending them for a while. We fixed that, but if you don't want to get these messages, send an email to comp.lang.c+++unsubscribe@googlegroups.com.
legalize+jeeves@mail.xmission.com (Richard): Sep 25 05:45AM

[Please do not mail me a copy of your followup]
 
Robert Hutchings <rm.hutchings@gmail.com> spake the secret code
 
>SOME employers like "certs"...are there any for C++? What is the best?
 
Speaking as someone who has interviewed many programmer candidates in
the past 3 years, I would recommend that you contribute to an open
source project instead of working towards a certification.
 
If you contribute to OSS, it becomes part of your public portfolio
that anyone can browse to learn about your programming abilities.
Usually when you work at a company, the software you write is their
intellectual property and you are unable to share it with potential
future employers. (You may be lucky enough to have an employer that
pays you to improve OSS, in which case you get the best of both.)
 
If you contribute to the right OSS project (like a library that is
part of Boost or plans to be submitted to the ISO standards committee),
it could be a serious feather in your cap. It could open employment
opportunities simply because you wrote the library/application. Where
I work we wanted to use some OSS and extend it in specific directions
that would help our hardware product. The easiest way to achieve that
was to hire the main contributor to the OSS and pay them to work on
the extensions we wanted.
--
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
The Computer Graphics Museum <http://computergraphicsmuseum.org>
The Terminals Wiki <http://terminals.classiccmp.org>
Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>
Robert Hutchings <rm.hutchings@gmail.com>: Sep 25 06:42AM -0500

On 9/25/2014 12:45 AM, Richard wrote:
> that would help our hardware product. The easiest way to achieve that
> was to hire the main contributor to the OSS and pay them to work on
> the extensions we wanted.
 
I think this is an excellent suggestion! Thanks Richard...
woodbrian77@gmail.com: Sep 25 11:10AM -0700

On Thursday, September 25, 2014 6:43:26 AM UTC-5, Robert Hutchings wrote:
> > was to hire the main contributor to the OSS and pay them to work on
> > the extensions we wanted.
 
> I think this is an excellent suggestion! Thanks Richard...
 
I suggest you consider a hybrid approach where you have
some open source and some closed. That's the approach
I've taken. If you are a super-genius, you might be
able to make Richard's suggestion work. But if, like me,
you are not so smart, I think you will have a better chance
of making it with a hybrid approach.
 
Brian
Ebenezer Enterprises - In G-d we trust.
http://webEbenezer.net
legalize+jeeves@mail.xmission.com (Richard): Sep 25 07:56PM

[Please do not mail me a copy of your followup]
 
woodbrian77@gmail.com spake the secret code
>able to make Richard's suggestion work. But if, like me,
>you are not so smart, I think you will have a better chance
>of making it with a hybrid approach.
 
Most places will pay you to work on their intellectual property, i.e.
closed source software. This is valuable experience, but it's not
something that you can share with anyone else other than what you
write on your resume.
 
Besides open source, another thing that is useful is to offer to pair
program with the people on the team of your prospective employer.
There are many more factors to consider in a candidate beyond the
resume. The resume is just the starting point and only scratches the
surface.
 
Looking at someone's contributions to open source tells me a lot more
about their programming ability than anything on a resume. In fact,
if someone's resume was just a list of their open source projects and
the username under which they made commits, that would be fine with
me.
 
Beyond technical ability and knowledge is how well you would fit into
the team. Unless it is a very small company, the likelihood is very
high you will be working on a team with other engineers, UX designers,
testers and so-on. If you pair program with the team for a day you
will both get a feel for how well you are going to fit into that team.
--
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
The Computer Graphics Museum <http://computergraphicsmuseum.org>
The Terminals Wiki <http://terminals.classiccmp.org>
Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>
Jorgen Grahn <grahn+nntp@snipabacken.se>: Sep 25 08:04PM

> able to make Richard's suggestion work. But if, like me,
> you are not so smart, I think you will have a better chance
> of making it with a hybrid approach.
 
Based on your earlier postings, I think you're talking about making a
living writing (partly) open source software. That's not what they're
talking about.
 
/Jorgen
 
--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .
Christopher Pisz <nospam@notanaddress.com>: Sep 25 03:25PM -0500

On 9/25/2014 2:56 PM, Richard wrote:
>>> On 9/25/2014 12:45 AM, Richard wrote:
 
>>>> Robert Hutchings <rm.hutchings@gmail.com> spake the secret code
>>>> <lvul7c$qhd$1@dont-email.me> thusly:
 
SNIP
> if someone's resume was just a list of their open source projects and
> the username under which they made commits, that would be fine with
> me.
 
SNIP
 
 
How would you ever be able to tell while looking at open source whether
the candidate wrote the lines in question or if someone else did, or if
it was edited? At least without spending hours in their source control
system.
bleachbot <bleachbot@httrack.com>: Sep 25 10:23PM +0200

bv4bv4bv4@gmail.com: Sep 25 01:03PM -0700

The Description of the Barrier Between Two Seas
Oceanographers, in the wake of the scientific progress in this age, have discovered the barrier between two seas. They have found that a barrier separates two neighboring seas. The barrier moves between them, and it is called by scientists "a front" compared to the front between two armies. By virtue of this barrier each sea retains its own characteristics which Allah (SWT) has assigned to it and which are suitable for the organisms living in that environment.
 

 
Because of this barrier, the two neighboring seas mingle so slowly that the amount of water that passes from one sea to the other acquires the characteristics of the other sea while crossing the barrier which overturns the waters crossing from one sea to the other, keeping each sea with its own characteristics.
 
The gradual progress of human knowledge about the fact of the differences between seawater masses and the existence of barriers between them :
 
Oceanographers discovered that there were certain differences between water samples taken from various seas in 1284 AH/1873 AD, by the British Marine Scientific Expedition of the Challenger Voyage. It was discovered that masses of sea water vary in their composition, in respect of salinity, water temperature, density and types of marine organisms. The data were obtained from 362 oceanographic stations. The report of the expedition filled 29,500 pages in 50 volumes and took 23 years to complete. One of the great achievements of scientific exploration, the expedition also showed how little man knew about the sea.
 
After 1933 AD another American expedition set out in the Mexican Gulf and installed hundreds of sea stations to study the characteristics of seas. It found out that a large number of stations in a certain area gave similar information about the characteristics of the water in that area, whether in respect of salinity, density, temperature, marine organisms or solubility of oxygen in water, while another group of stations in another area gave a different set of data about that area. So, oceanographers concluded that there were two distinctive seas with different characteristics, and not just limited samples as the Expedition of Challenger showed.
 
Man installed hundreds of marine stations to study the characteristics of various seas. Scientists have found out that the differences in these characteristics distinguished one sea from another. But why do these seas not mix and become homogeneous in spite of the effect of tide and ebb that moves sea water twice a day, and causes seas to move forward and backward turbulently, besides other factors that cause sea water to be in continuous movement and turbulence, such as surface and internal waves and sea currents?
 
The answer appeared for the first time in scientific books in 1361 AH/1942 AD. Extensive studies of marine characteristics revealed that there are water barriers separating neighboring seas and maintaining the distinctive properties of each sea with respect to density, salinity, marine life, temperature and solubility of oxygen in water.
 
 
 
There are large waves, strong currents, and tides in the Mediterranean Sea and the Atlantic Ocean. Mediterranean Sea water enters the Atlantic by Gibraltar. But their temperature, salinity, and densities do not change, because of the barrier that separates them.
 
After 1962 AD there was known the role of sea barriers in modifying the properties of the water masses that pass from one sea to another, to prevent one sea from overwhelming the other. So salty seas retain their own properties and boundaries by virtue of these barriers.
 
A field study comparing the waters of Oman Gulf and those of the Arabian Gulf has shown the difference between them regarding their chemical properties, the prevalent vegetation and the barrier separating them.
 
About a hundred years of research and study has been required to discover the fact of the existence of barriers between sea water masses and their role in making each sea retain its own properties. Hundred of researchers took part and numerous precise scientific instruments and equipment were used to achieve that.
 
Fourteen centuries ago the Holy Qur'an revealed this fact.
 
Allah (SWT) says: (He has let free (MARAJA) the two sees meeting together. Between them is a barrier that they do not transgress. Then which of the Blessings of your Lord will you both (Jinn and men) deny? Out of them both come out pearls and carol." (LV: 19-22) Allah (SWT) also says: "And He made a barrier between the two seas.)(XXVII: 61)
 
Linguistic meanings and the commentators' sayings:
 
Maraja (let free):
 
Ibn Faris said: "'maraja': The consonants m, r and j form a root indicating a movement of going and coming and turbulence."
 
Al-Bahrayn (the two seas):
 
Al-Asfahani said: "Some say that the word "bahr" (sea) is usually used to mean salt water rather than fresh water."
 
Ibn Manzursaid: "'Bahr' is more frequently used to describe salt water than fresh water."
 
If the word "bahr" is used without qualification it means salt water; otherwise, it means the thing qualified." The Holy Qur'an uses "nahr" (river) to indicate abundant running fresh water, while it uses "bahr" (sea) to indicate salt water. Allah (SWT) says: (And He has made the ships to be of
 
service to you that they may sail through the sea by His Command; and He has made rivers (also) to be of service to you.)(XIV: 32)
In the hadith, "bahr" (sea) is also used to mean salt water. Allah's Messenger (Peace be upon him) was asked by a man who said: "O Allah's Messenger! We travel by sea and carry with us a little fresh water. If we should use it forwudu (ablution) we would get thirsty. May we use seawater for wudu? Allah' Messenger (Peace be upon him) said:"Its water is pure and its dead (animals) are lawful (to eat)."
 
Al-Barzakh: It is the barrier. Most commentatorssuggest that it is invisible.
 
Al-baghi: Ibn Manzur said: "'Al-Baghi' means transgression, exceeding the limits."
 
Al-Jawhari and Al-Asfahani said the same.
 
Al-Marjan: Ibn Al-Jawzi said: "Al-Qadi Abu Ya'li says that Al-Marjan is a kind of bar-like pearls. Al-Zajjajsaid: "Al-Marjan is white, very white." Ibn Mas'ud said: "Al-Marjan is red beads." Abu Hayyan said that to some people Al-Marjan is red stone. Al-Qurtubi said: "It is said that Al-Marjan is the big pearls. The same is also said by 'Ali and Ibn 'Abbas (May Allah bestow His Mercy on them both). The small pieces of Marjan are the small pearls. It is also reported on their authority the opposite: the big pieces are called pearls and the smaller are called Marjan. Al-Dahhak and Qatadah said the same."
 
Al-Alusi said: "If we take into consideration the connotation of brilliance and glitter which the Arabic word "pearls" carries, and the connotation of movement and mixing that the word "Marjan" carries, we can say that "pearls" is used for big pieces and "Marjan" for small ones."
 
Anyhow, Marjan is a kind of ornament that is found in various colors: white and red. It may be in big or small pieces. It is bar-like stone. In the Verse it is something other than pearls, for the conjunction "and" implies talking bout two different things. Marjan (carol), however, is found in salt seas only.
 
The Verse shows us the minute secrets which oceanography has revealed only recently. They describe the meeting between salt seas. Following is the evidence to that:
 
First: The Verse uses the word "bahrayn" (two seas) without any qualification. This means that salt seas are intended here.
 
Second: The Verses in Surat Al-Rahman show that the two seas yield pearls and "Marjan"(carol). It has become evident that Marjan is found in salt seas only. This indicates that the Verse is referring to two salt seas. Allah (SWT) says: "Out of them both come out pearls and carol," i.e. out of each of them.
 
Who knew in the past that salt seas differ in many respects in spite of their apparent similarity to the observer? (They all taste salt, look blue, have waves, contain fish, etc.) How can they differ although they meet each other? We know that when two amounts of water are mixed in a container they get homogenous. How can seas remain differentiated even in the presence of the factors of mixing, such as the ebb and flow of the sea, currents and storms?
 
The Verse mentions the meeting of two salt seas that differ from one another. If the two seas were similar to one another, they would be one sea. However, differentiating between them in the Qur'anic utterance implies the difference between them although they are both salt.
 
(He has let free (Maraja) the two seas meeting together) means that the two seas are mixed; they are in the state of backward and forward movements, of mixing and turbulence at the site of the meeting, as is understood from the literal meaning of "Maraja". This is the fact that science has discovered, that is to say, the barrier is described as being zigzag or wavy and shifting in position during the various seasons because of the tide and winds.
 
This Verse by itself implies the presence of so much mixing and merging between these seas as would deprive them of their distinctive properties. But Allah (SWT), the All-Knower, shows in the following Verse that "between them is a barrier which they do not transgress", i.e. In spite of this state of merging and turbulence that characterizes the seas there is a barrier between them preventing them from transgressing or exceeding their limits.
 
This is what man has discovered as a result of the advances achieved in his sciences and instruments. It has been found that a third water mass separates the two seas and it has such properties as are different from those of each of the two seas separated by it.
 
Yet, in spite of the presence of the barrier, the waters of the two adjacent seas mix very slowly without one sea encroaching upon the other through carrying over its own properties to it, for the barrier zone is a region for changing the water crossing from one sea to the other so that it gradually acquires the properties of the sea that is going to enter and loses the properties of the sea it has come form. Thus neither of the two seas transgresses by carrying its own properties to the other, although they mix during the process of meeting. How truthful is Allah's Saying: (He has let free (maraja) the two seas meeting together. Between them is a barrier which they do not transgress.)
 
Most commentators suggest that the barrier that separates the two seas referred to here is an invisible barrier created by Allah. Some commentators find it difficult to reconcile the idea of the seas being merging and the presence of a barrier at the same time, for the presence of a barrier entails the prevention of merging. So the mention of merging (maraja) entails the absence of a barrier. This apparent contradiction has been resolved by discovering the secrets of the seas.
 
The Miraculous Aspects of the Previous Verses:
 
We can conclude the following from the discussion above:
 
The Holy Qur'an, which was revealed more than 14 centuries ago, includes very precise pieces of information and knowledge about marine phenomena that have been discovered only recently by means of very sophisticated equipment. An instance in this respect is the existence of water barriers between seas. Allah (SWT) says: (He has let free (maraja) the two seas meeting together. Between them is a barrier which they do not transgress.)
 
The historical development of Oceanography shows that no precise information had been available on seas before Challenger Expedition (in 1873 AD), let alone at the time when the Holy Qur'an was being revealed 14 centuries ago to an illiterate Prophet that lived in a desert environment and never traveled by sea.
 
Oceanography has witnessed no advances except in the last two centuries, particularly in the latter half of the twentieth century. Prior to that a sea was considered as something fearful and mysterious. Myths and superstitions were fabricated about it. Sea voyagers were only interested in their own safety and how to find the correct routes during their long journeys. Man discovered that salt seas are different only in the thirties of the twentieth century, after thousands of marine stations had been established by researchers to analyze samples of sea water to measure the differences between the degrees of temperature, salinity, density and oxygen dissolubility in the sea water recorded at all those stations, and then realize that salt seas are different.
 
Man did not know anything about the barrier that separates between salt seas till the establishment of the aforesaid stations, and after spending a long time tracing these wavy moving barriers that change their geographical locations with the change of seasons.
 
Man did not know that the water masses of the two seas are separated by a water barrier and are mixed at the same time till he started studying with his ships and equipment the water movement in the meeting region of the seas and analyzing the water masses in those regions.
 
Man did not apply this rule to all seas that meet together except after vast scientific surveying, investigation and verification of this phenomenon, which occurs between each pair of adjacent seas in the world.
 
Now then, did Allah's Messenger (Peace be upon him) own stations and equipment for analyzing water and the ability to trace the movement of various water masses? Did he carry out a comprehensive surveying process, although he never sailed the sea and lived at a time when superstitions were prevalent, particularly in the field of seas? Were, at the time of Allah's Messenger (Peace be upon him) such researches, instruments and studies as are available for the oceanographers of today who have discovered all these secrets by means of research and study?
 
This knowledge, which the Qur'an came with, included a precise description of the subtlest secrets at a time when humanity could never have known them, which indicates that its source is Divine, as Allah (SWT) says: (Say: "the (Qur'an) was sent down by Him Who knows the secret (that is) in the heavens and the earth: Verily He is Oft-Forgiving, Most Merciful.) (XXV: 6)
 
It also indicates that the one to whom the Book was sent down was a Messenger inspired. Allah (SWT) but says the Truth in the Verse: (Soon will We show Our Signs in the Universe and in their own selves, until it becomes manifest to them that this the Truth. Is it not sufficient that your Lord does witness all things?)
 
 
 
http://www.quran-m.com/firas/en1/index.php/universe/253-the-description-of-the-barrier-between-two-seas.html
 
 
 
Thank you
legalize+jeeves@mail.xmission.com (Richard): Sep 25 05:37AM

[Please do not mail me a copy of your followup]
 
Ian Collins <ian-news@hotmail.com> spake the secret code
>>> Stick to C++ here, preach elsewhere.
 
><more OT nonsense>
 
>Welcome to my kill file.
 
Me too. When I saw so many messages on this thread, I was hoping that
I was going to learn something cool about IDEs that could help me
refactor my C++ code and instead I got a bunch of off topic stuff.
 
I think I remember now why I gave up on this newsgroup and was only
subscribed to the moderated group.
--
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
The Computer Graphics Museum <http://computergraphicsmuseum.org>
The Terminals Wiki <http://terminals.classiccmp.org>
Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>
Ian Collins <ian-news@hotmail.com>: Sep 25 05:50PM +1200

Richard wrote:
 
> I think I remember now why I gave up on this newsgroup and was only
> subscribed to the moderated group.
 
This one's OK so long as you have an up to date kill file...
 
--
Ian Collins
Juha Nieminen <nospam@thanks.invalid>: Sep 25 01:00PM

> I can't say it more clearly. If you will not hear the Truth, then
> you stand already, right now, as you "live" and breathe, eternally
> condemned to a fiery Hell, the second Death.
 
What a loving god that is.
 
If he were a person, someone who tortures his own children in a torture
cellar he himself built, for the sole reason that his children don't
love him the right way, we would call that person a mentally sick
monster.
 
But if a god does that exact same thing, even a million times worse,
we call him perfect and all-benevolent and all-loving?
 
--- news://freenews.netfront.net/ - complaints: news@netfront.net ---
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Sep 25 06:46AM -0700

On Thursday, September 25, 2014 9:00:59 AM UTC-4, Juha Nieminen wrote:
> monster.
 
> But if a god does that exact same thing, even a million times worse,
> we call him perfect and all-benevolent and all-loving?
 
It is sin that caused our death, not God. God Himself made a way out
of that death through His Son, Jesus Christ. He came here to die in
our place, to take the punishment due us in our place. He came here
to save that which was lost through sin.
 
It is sin that is the enemy. It is the falseness that comes with sin.
 
Consider all of creation ... an orchestrated mechanism. Everything
works perfectly, harmoniously together. Everywhere the laws of
physics persist, things hold on exactly as they are and were created
to be ... except where God has given free will over to His creation.
And there, because of sin, the nature of His designed perfection is
perverted into falseness, and a God who is perfect, has created
perfection, and operates only and entirely in perfection, cannot have
imperfection operating in His creation. As such, He built Hell to
put away all sin. Hell was also originally only created for Satan
and his demons, but because men have been puffed up with pride, and
are unwilling to hear the truth, they too will enter into Hell.
 
God has made a way out. It is free. There is nothing a person must
do except believe that Jesus came to save them. And only those
people who are willing to hear the truth will believe this. Everyone
else will only believe and follow falseness, because of the way they
embrace sin and falseness in their lives. They themselves will be
the reason they go to Hell. It is not because of anything related
to God because He has done everything to save everyone who will hear.
 
The loving God that we have took on the entirety of sin upon Himself
at the cross. He died in our place, taking our punishment, that we
will never know that Death, that we will never know that end. It is
free. It is available to every person on the planet. Is is a true
demonstration of His Love for us, that while we were yet sinners, He
died to save us when He would've been justified in letting all of us
die due to our sin nature.
 
If you can hear the truth, answer His call. He calls out to people
to save them, so that they will not enter into Hell. And He calls
out to all people everywhere continually throughout their life.
 
He's calling out to you right now. Answer Him.
 
Best regards,
Rick C. Hodgin
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Sep 25 06:48PM +0100

On 25/09/2014 14:46, Rick C. Hodgin wrote:
 
[snip]
 
 
> He's calling out to you right now. Answer Him.
 
Those ringing noises you are hearing in your head are a symptom of
psychosis mate; "He" doesn't exist, evolution is proof of that.
 
/Flibble
woodbrian77@gmail.com: Sep 24 07:18PM -0700

On Sunday, September 21, 2014 8:48:59 PM UTC-5, Richard wrote:
> <http://www.meetup.com/Utah-Cpp-Programmers/>
 
> Follow related evens on the Utah C++ Users Group blog:
> <http://utahcpp.wordpress.com>
 
Best wishes with that. My effort to start a similar
group in the St. Paul/Minneapolis area hasn't been
successful yet. I'm thinking of relocating to a
more traditional and down-to-earth state. Since I'm
kind of in limbo as far as where I will be living in
the future, I haven't been trying hard to start a
group here.
 
 
Brian
Ebenezer Enterprises - If children don't deserve to
have a father and a mother, who does?
 
http://webEbenezer.net
legalize+jeeves@mail.xmission.com (Richard): Sep 25 05:40AM

[Please do not mail me a copy of your followup]
 
woodbrian77@gmail.com spake the secret code
 
>Best wishes with that.
 
Thanks! I don't think such a group would succeed in Delaware, my
birth state. But there is a lot of C/C++ development going on in Utah.
It seems every place I've worked in the last 25 years did either some
C++ or only C++. We used to have a Utah C User's Group, but it died
out. I think we're going to be OK reviving it again. There's lots to
learn with C++11 and to a lesser extent C++14. If modules make it
into C++17 then there will be even more excitement with the language.
--
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
The Computer Graphics Museum <http://computergraphicsmuseum.org>
The Terminals Wiki <http://terminals.classiccmp.org>
Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>
markus <markus@addr.is.invalid>: Sep 23 09:22AM +0200

On Windows wchar_t, char16_t and unsigned short/uint16_t all use the
same underlying type uint16_t. According the C++11 standard they are all
distinct types.
 
Looking at the Firefox source, they are (reinterpret)casting between
char/char16_t/wchar_t.
 
Looking at the Qt source, depending on the platform they are happily
casting between uint16_t/wchar_t or uint32_t/wchar_t.
 
From what I can tell, this does violate the aliasing rules. Am I
missing something? Do GCC/Visual C++ make some special guarantees that
this will work?
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: