Friday, January 24, 2014

comp.lang.c++ - 26 new messages in 3 topics - digest

comp.lang.c++
http://groups.google.com/group/comp.lang.c++?hl=en

comp.lang.c++@googlegroups.com

Today's topics:

* Boost - 14 messages, 8 authors
http://groups.google.com/group/comp.lang.c++/t/81738d66827a11c8?hl=en
* STL::MAP: Printing values only once .. - 4 messages, 4 authors
http://groups.google.com/group/comp.lang.c++/t/671080d0fc07abda?hl=en
* The Beauties of Islam - 8 messages, 5 authors
http://groups.google.com/group/comp.lang.c++/t/b79532a504d8f51e?hl=en

==============================================================================
TOPIC: Boost
http://groups.google.com/group/comp.lang.c++/t/81738d66827a11c8?hl=en
==============================================================================

== 1 of 14 ==
Date: Mon, Jan 20 2014 9:15 am
From: scott@slp53.sl.home (Scott Lurndal)


drew@furrfu.invalid (Drew Lawson) writes:
>In article <lbjg4b$nsh$2@speranza.aioe.org>
> Herman Viracocha <hermv@idioqm.org> writes:
>>Drew Lawson wrote:
>>
>>> Anyway, it was no particular problem. We just told new people (or
>>> people with new machines) to start it before leaving for the day.
>>>
>>>
>>> (FWIW, I think the OP is yet another usenet performance artist.)
>>
>>You agree with him that it takes hours then still call him "performance
>>artist".
>>
>>What sort of performance artist are you?
>
>Having trouble reading?

I think you missed the double entendre.

scott




== 2 of 14 ==
Date: Mon, Jan 20 2014 9:27 am
From: Jorgen Grahn


On Mon, 2014-01-20, Scott Lurndal wrote:
> Nick Baumbach <nich@iwqoc.org> writes:
>>Ian Collins oratorically vehemently insists
>>
>>> On a more up to date machine with gcc:
>>>
>>> time ./b2 -j 32
>>>
>>> <stuff>
>>>
>>> The Boost C++ Libraries were successfully built!
>>>
>>> real 1m2.319s user 27m57.961s sys 1m49.214s
>>
>>Wow, -j 32 !! Say no more. Where did you find that 32 since at most I only
>>can find 16, as 2 threads per core. Actually thread core, not real core.
>>An i7 is still a 4 core, not sure how that threaded core is embedded into
>>the hardware.
>>
>>Please elaborate
>
> Many larger systems are available. Not too many years ago, I was running
> -j384 compiles regularly on a 192-core shared memory system.

Part of the point being: it's sometimes optimal to use more make
processes than the number of CPUs. (A coworker pointed that out to me
15 years ago or so.)

/Jorgen

--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .




== 3 of 14 ==
Date: Mon, Jan 20 2014 9:34 am
From: Bob Hammerman


Scott Lurndal wrote:

>>Moreover, if the code is not properly granulated for shared memory
>>distribution systems, that -j384 makes no sense.
>
> If you have one source file, then yes, the obvious is obvious. If you
> have thousands of source files, well, then.... Try building oracle11i,
> or glibc, or linux, or a custom hypervisor instead of hello world
> sometime.

Not sure at all, remember, shared memory, if the threads or processes are
interrelated, threads are, then they will wait in whatever queue for ready
data.

Back to the point. Are you implying that Boost is good only for high-ends
since it compiles faster. I don't need a 192 core for coding in C/C++.

It looks like no one knows why Boost would be good to anything.




== 4 of 14 ==
Date: Mon, Jan 20 2014 10:15 am
From: Victor Bazarov


On 1/20/2014 12:34 PM, Bob Hammerman wrote:
> Scott Lurndal wrote:
>
>>> Moreover, if the code is not properly granulated for shared memory
>>> distribution systems, that -j384 makes no sense.
>>
>> If you have one source file, then yes, the obvious is obvious. If you
>> have thousands of source files, well, then.... Try building oracle11i,
>> or glibc, or linux, or a custom hypervisor instead of hello world
>> sometime.
>
> Not sure at all, remember, shared memory, if the threads or processes are
> interrelated, threads are, then they will wait in whatever queue for ready
> data.
>
> Back to the point. Are you implying that Boost is good only for high-ends
> since it compiles faster. I don't need a 192 core for coding in C/C++.
>
> It looks like no one knows why Boost would be good to anything.

It's "good to" Usenet trolling, as your example clearly shows. ;-)

V
--
I do not respond to top-posted replies, please don't ask




== 5 of 14 ==
Date: Mon, Jan 20 2014 10:52 am
From: Bob Hammerman


Scott Lurndal wrote:

>>Moreover, if the code is not properly granulated for shared memory
>>distribution systems, that -j384 makes no sense.
>
> If you have one source file, then yes, the obvious is obvious. If you
> have thousands of source files, well, then.... Try building oracle11i,
> or glibc, or linux, or a custom hypervisor instead of hello world
> sometime.

I did compiled linux kernel years ago all the time. It took merely a 10 min
on a i386 and similar.




== 6 of 14 ==
Date: Mon, Jan 20 2014 12:20 pm
From: Ian Collins


Jorgen Grahn wrote:
> On Mon, 2014-01-20, Scott Lurndal wrote:
>> Nick Baumbach <nich@iwqoc.org> writes:
>>> Ian Collins oratorically vehemently insists
>>>
>>>> On a more up to date machine with gcc:
>>>>
>>>> time ./b2 -j 32
>>>>
>>>> <stuff>
>>>>
>>>> The Boost C++ Libraries were successfully built!
>>>>
>>>> real 1m2.319s user 27m57.961s sys 1m49.214s
>>>
>>> Wow, -j 32 !! Say no more. Where did you find that 32 since at most I only
>>> can find 16, as 2 threads per core. Actually thread core, not real core.
>>> An i7 is still a 4 core, not sure how that threaded core is embedded into
>>> the hardware.
>>>
>>> Please elaborate
>>
>> Many larger systems are available. Not too many years ago, I was running
>> -j384 compiles regularly on a 192-core shared memory system.
>
> Part of the point being: it's sometimes optimal to use more make
> processes than the number of CPUs. (A coworker pointed that out to me
> 15 years ago or so.)

That's right. With adequate RAM, 2x the physical cores is about right
for C++ on most x86/64 processors.

--
Ian Collins




== 7 of 14 ==
Date: Mon, Jan 20 2014 12:27 pm
From: "J. Clarke"


In article <lbjk1b$49l$1@speranza.aioe.org>, wprof@fj3dee.org says...
>
> J. Clarke wrote:
>
> >> >Wow, -j 32 !! Say no more. Where did you find that 32 since at most I
> >> >only can find 16, as 2 threads per core. Actually thread core, not
> >> >real core. An i7 is still a 4 core, not sure how that threaded core is
> >> >embedded into the hardware.
> >> >
> >> >Please elaborate
> >>
> >> Many larger systems are available. Not too many years ago, I was
> >> running -j384 compiles regularly on a 192-core shared memory system.
> >
> > People tend to assume that the consumer processors are the high end and
> > ignore the existence of the Xeon and Opteron lines. Using off-the-shelf
> > parts from Amazon you can build a 64-core machine with a terabyte of
> > RAM.
> > Not _cheap_ but doable.
>
> What off-the-shelf from Amazon are you talking about. Are you sure what
> distributed shared memory is all about?

Supermicro H8QG7 board, four AMD6274 processors, maxing out the RAM you
have to go outside of Amazon to get 32 sticks of Samsung M386B4G70BM0-
YK0. Power supply, case, etc I'll leave you to find on your own.

You're going to have about $50,000 sunk in the machine by the time it's
finished--like I said, it's not going to be cheap.

> You seemingly agree in something that is stupid. The most on usenet are
> using what is outhere available. Thus for now a 4 core / 8 threads are is
> th best buy.

It's only "stupid" to people who don't have a clue what hardware is
currently available or its limitations. If you can buy it off of Amazon
then it's "out here avaiable". That most of us can't afford it is a
separate issue.

> Moreover, if the code is not properly granulated for shared memory
> distribution systems, that -j384 makes no sense.

In that case any use of memory makes no sense because all multicore
processors use shared memory, whether the cores are on a single chip or
spread across four or more.

You seem to be stuck in the 32-bit era when addressing anything beyond 4
GB meant using smoke and mirrors. While NUMA is a worthwhile
performance booster in some cases, it is certainly not _necessary_ in
order to to gain improved compilation times vs using smaller amounts of
RAM.





== 8 of 14 ==
Date: Mon, Jan 20 2014 12:34 pm
From: "J. Clarke"


In article <lbjmnr$bi9$1@speranza.aioe.org>, bobhaa@djea.org says...
>
> Scott Lurndal wrote:
>
> >>Moreover, if the code is not properly granulated for shared memory
> >>distribution systems, that -j384 makes no sense.
> >
> > If you have one source file, then yes, the obvious is obvious. If you
> > have thousands of source files, well, then.... Try building oracle11i,
> > or glibc, or linux, or a custom hypervisor instead of hello world
> > sometime.
>
> Not sure at all, remember, shared memory, if the threads or processes are
> interrelated, threads are, then they will wait in whatever queue for ready
> data.
>
> Back to the point. Are you implying that Boost is good only for high-ends
> since it compiles faster. I don't need a 192 core for coding in C/C++.
>
> It looks like no one knows why Boost would be good to anything.

If compilation time was a showstopper then Linux would not be good for
anything but "high ends"--it can take days to build, as anybody who has
set up a gentoo system knows.

What it's good for is avoiding reinventing the wheel. If you have a
tested library already available that provides the function that you
need with acceptable performance, why rewrite it?







== 9 of 14 ==
Date: Mon, Jan 20 2014 12:36 pm
From: Bob Hammerman


J. Clarke wrote:

> You seem to be stuck in the 32-bit era when addressing anything beyond 4
> GB meant using smoke and mirrors. While NUMA is a worthwhile
> performance booster in some cases, it is certainly not _necessary_ in
> order to to gain improved compilation times vs using smaller amounts of
> RAM.

Is about code granulation able to make use of the multicores. You looks
like an idiot not knowing his ass what he is talking about.

Then "out there" means you go out down town and buy something like that,
not crap on Amazon and such. I bet I did run code on super computers at a
time you were not even born.

Please leave this thread, you do not contribute in any way.




== 10 of 14 ==
Date: Mon, Jan 20 2014 12:41 pm
From: Bob Hammerman


J. Clarke wrote:

> What it's good for is avoiding reinventing the wheel. If you have a
> tested library already available that provides the function that you
> need with acceptable performance, why rewrite it?

I don't know, but going through reverse engineering other peoples craps is
more time demanding than going through own crap. Don't you know it, where
have you been?

You seems to be a new beginner in computing, having a big mouth.




== 11 of 14 ==
Date: Mon, Jan 20 2014 1:37 pm
From: "J. Clarke"


In article <lbk1c9$8sl$1@speranza.aioe.org>, bobhaa@djea.org says...
>
> J. Clarke wrote:
>
> > You seem to be stuck in the 32-bit era when addressing anything beyond 4
> > GB meant using smoke and mirrors. While NUMA is a worthwhile
> > performance booster in some cases, it is certainly not _necessary_ in
> > order to to gain improved compilation times vs using smaller amounts of
> > RAM.
>
> Is about code granulation able to make use of the multicores.

If you would actually write sentences that contained subjects and verbs
you might actually learn how to communicate with others. You may be
trying to communicate something meaningful here but you have failed to
do so.

> You looks
> like an idiot not knowing his ass what he is talking about.

I will be plonking you after I finish commenting on your puerile post.

> Then "out there" means you go out down town and buy something like that,
> not crap on Amazon and such. I bet I did run code on super computers at a
> time you were not even born.

I see. So if it's not in stock in some "down town" store it does not
exist?

As for your "betting you did run code on super computers at time when I
was not even born", since one cannnot now and has never been able to "go
out down town and buy" a supercomputer, by your logic they are not "out
there" and thus you by your own logic could not possibly have used one.

> Please leave this thread, you do not contribute in any way.

<plonk>






== 12 of 14 ==
Date: Mon, Jan 20 2014 1:39 pm
From: "J. Clarke"


In article <lbk1ld$8sl$2@speranza.aioe.org>, bobhaa@djea.org says...
>
> J. Clarke wrote:
>
> > What it's good for is avoiding reinventing the wheel. If you have a
> > tested library already available that provides the function that you
> > need with acceptable performance, why rewrite it?
>
> I don't know, but going through reverse engineering other peoples craps is
> more time demanding than going through own crap. Don't you know it, where
> have you been?

Why would you want to reverse engineer a stock library? Are you trying
to pirate it or something?

> You seems to be a new beginner in computing, having a big mouth.

Yep, <plonk> was the right decision.






== 13 of 14 ==
Date: Tues, Jan 21 2014 1:26 am
From: Juha Nieminen


Herman Viracocha <hermv@idioqm.org> wrote:
> Juha Nieminen wrote:
>
>> Nick Baumbach <nich@iwqoc.org> wrote:
>>> I mean, it has to make things easier, but it does not looks like, since
>>> it takes hours to compile.
>>
>> It does not make things easier because it takes hours to compile?
>
> No? Definitely is not easier. Are you sure you clearly understand "hours
> to compile"?

I'm sure that something like g++ takes quite a long time to compile.
However, that doesn't make it less useful.

--- news://freenews.netfront.net/ - complaints: news@netfront.net ---




== 14 of 14 ==
Date: Tues, Jan 21 2014 2:52 am
From: Öö Tiib


On Monday, 20 January 2014 23:37:32 UTC+2, J. Clarke wrote:

>
> In article <lbk1c9$8sl$1@speranza.aioe.org>, bobhaa@djea.org says...

No. Such person does not exist so he can say nothing. So far it is just

Random Male Name <random letters@random letters.org>

See examples like Herman Viracocha, Bob Hammermann or Nick Baumbach.

> <plonk>

Good luck filling your killfile with random troll-generated names and addresses
and announcing it every time.





==============================================================================
TOPIC: STL::MAP: Printing values only once ..
http://groups.google.com/group/comp.lang.c++/t/671080d0fc07abda?hl=en
==============================================================================

== 1 of 4 ==
Date: Mon, Jan 20 2014 11:22 am
From: Martijn Lievaart


On Mon, 20 Jan 2014 17:01:36 +0000, Jorgen Grahn wrote:

>> Above requirement can be met with
>>
>> awk -d'|' '{print $1, $7}'
>
> There was a "for three lines" requirement too, but it can be met by
> piping things through 'sed 3q'. Or Perl, or possibly Awk itself.

awk -d'|' '{print $1, $7; if (NR>2) {exit}}'
awk -d'|' '{print $1, $7}' | head -n 3

I'm a big Perl fan myself, but sometimes awk is better. In this case,
it's not a big difference. The Perl equivalent:

perl -p -F'|' -e 'print "$F[0] $F[6]"; exit if $.>2;'

>
>> which is more or less guarenteed to be simpler than any C++ program
>> doing the same task. :-)
>
> Yes. And next best is a C++ program using the same approach.
> I got the impression that the original sucked up the whole input file
> before extracting the information it wanted; that's slower and IME more
> troublesome (harder to report syntax errors and so on).

AFAIK splitting a string is still not in the standard library, so any C++
solution is not as simple as a language that has a split/explode. (Please
correct me if I'm wrong!)

M4




== 2 of 4 ==
Date: Mon, Jan 20 2014 1:02 pm
From: Jorgen Grahn


On Mon, 2014-01-20, Martijn Lievaart wrote:
> On Mon, 20 Jan 2014 17:01:36 +0000, Jorgen Grahn wrote:
...
>>> which is more or less guarenteed to be simpler than any C++ program
>>> doing the same task. :-)
>>
>> Yes. And next best is a C++ program using the same approach.
>> I got the impression that the original sucked up the whole input file
>> before extracting the information it wanted; that's slower and IME more
>> troublesome (harder to report syntax errors and so on).
>
> AFAIK splitting a string is still not in the standard library, so any C++
> solution is not as simple as a language that has a split/explode. (Please
> correct me if I'm wrong!)

I expect <regex> to have such things, but haven't checked. I keep my
own string splitter and some of the other Perl things I use the most,
e.g. 'while(<>)'.

Anyway, my comment above was not really about split; more about the
idiom of line-by-line text filters, versus pulling it all into some
data structure and /then/ processing it.

/Jorgen

--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .




== 3 of 4 ==
Date: Mon, Jan 20 2014 2:01 pm
From: woodbrian77@gmail.com


On Friday, January 17, 2014 9:24:27 PM UTC-6, Alf P. Steinbach wrote:
>
>
> Using Boost is generally a good idea when you have it available,

I wouldn't go that far, but I do think parts of
Boost are great.

Brian
Ebenezer Enterprises -
http://webEbenezer.net





== 4 of 4 ==
Date: Mon, Jan 20 2014 9:30 pm
From: Seungbeom Kim


On 2014-01-20 11:22, Martijn Lievaart wrote:
> The Perl equivalent:
>
> perl -p -F'|' -e 'print "$F[0] $F[6]"; exit if $.>2;'

OT, but let me correct some obvious errors:

perl -nl -aF'\|' -e 'print "$F[0] $F[6]"; exit if $.>2;'

--
Seungbeom Kim





==============================================================================
TOPIC: The Beauties of Islam
http://groups.google.com/group/comp.lang.c++/t/b79532a504d8f51e?hl=en
==============================================================================

== 1 of 8 ==
Date: Mon, Jan 20 2014 12:07 pm
From: BV BV


The Beauties of Islam


At this time in Islam's history, when the entire religion is being judged by the actions of a few, it is appropriate to step back from the glare of the media spotlight and examine the beauties that infuse the way of life known as Islam. There is greatness and splendour in Islam that is often overshadowed by actions that have no place in Islam or by people who speak about topics they only vaguely understand. Islam is a religion, a way of life that inspires Muslims to try harder, reach farther and act in a manner that is pleasing to those around them and most importantly pleasing to their Creator.

The beauties of Islam are those things that are part of the religion and make Islam stand out. Islam answers all of humankind's eternal questions. Where did I come from? Why am I here? Is this really all there is? It answers these questions with clarity and in a beautiful way. So then, let us begin our journey and discover and ponder over the beauties of Islam.

1. The answers to all your questions about life are in the Quran
The Quran is a book detailing the glory of God and the wonder of His creation; it is also a testament to His Mercy and Justice. It is not a history book, a storybook, or a scientific textbook, although it does contain all of those genres and more. The Quran is God's greatest gift to humanity - it is a book like no other, for it contains the answers to the mysteries of life. It answers the questions and asks us to look beyond materialism and see that this life is little more than a transient stop on the way to everlasting life. Islam gives a clear aim and purpose to life.

"And I (God) created not the jinn and humankind, except to worship Me (Alone)." (Quran 51:56)

Thus it is the most important book and Muslims have no doubt that it is exactly the same today as it was when it was first revealed to Prophet Muhammad, may God praise him. When we ask those most important questions, we want to be sure that the answers we receive are the truth. Knowing that the answers are coming from a book which is the unchanged Word of God, gives comfort and solace. When God revealed the Quran, He promised to preserve it. The words we read today are the same as those memorised and written down by the companions of Prophet Muhammad.

"It is We Who have sent down the remembrance (i.e. the Quran) and surely, We will guard it from corruption." (Quran 15:9)

2. True Happiness can be found in Islam
Rejoice and be happy, remain positive and be at peace. [1] This is what Islam teaches us, for all God's commandments aim to bring happiness to the individual. The key to happiness is in understanding and worshipping God. This worship serves as a reminder of Him and keeps us always conscious of Him and hence we stay away from evil, committing injustices and oppression. It elevates us to being righteous and of good character. By following His commands, we lead a life that guides us to the best in all our affairs. When we lead such a meaningful life, then and only then are we able to see happiness all around us, at any given moment and even on the darkest of times. It is even there in the touch of a hand, in the smell of rain or newly mown grass, it is in a warm fire on a cold night or a cool breeze on a hot day. Simple pleasures can make our hearts truly happy because they are manifestations of God's Mercy and Love.

The nature of the human condition means that amongst great sorrow can be moments of joy and sometimes in moments of despair we can find an anchor in the things that bring us happiness. Prophet Muhammad said, "Indeed amazing are the affairs of a believer! They are all for his benefit. If he is granted ease then he is thankful, and this is good for him. And if he is afflicted with a hardship, he perseveres, and this is good for him." [2]

3. In Islam we can easily communicate with God at any time of day or night
Every member of the human race is born innately knowing that God is One. However those who do not know how to communicate with God or establish a relationship with Him tend to find their existence puzzling and sometimes even distressing. Learning to communicate with God and worshiping Him gives life a whole new meaning.

According to Islam, God is accessible at any time and in any place. We need only call on Him and He will answer the call. Prophet Muhammad advised us to call on God often. He told us that God said,

"I am just as My slave thinks I am, (i.e. I am able to do for him what he thinks I can do for him) and I am with him if He remembers Me. If he remembers Me in himself, I too, remember him in Myself; and if he remembers Me in a group of people, I remember him in a group that is better than they; and if he comes one span nearer to Me, I go one cubit nearer to him; and if he comes one cubit nearer to Me, I go a distance of two outstretched arms nearer to him; and if he comes to me walking, I go to him running." [3]

In the Quran God says, "Remember Me and I will remember you..." (Quran2:152)

Believers call on God in any language, at any time and in any place. They supplicate to Him, and give thanks. Muslims also pray in a more ritualised way five times every day and interestingly the Arabic word for prayer is 'salah', which means a connection. Muslims are connected to God and can communicate with Him easily. We are never alone or far from God's Mercy, Forgiveness and Love.

4. Islam gives us real peace
The words Islam, Muslim and salaam (peace) all come from the Arabic root word "Sa - la - ma". It denotes peace, security, and safety. When a person submits to the will of God he or she experiences an innate sense of security and peacefulness. Salaam is a descriptive word that entails more than tranquillity and calmness; it also encompasses the concepts of safety, security and submission. In fact, Islam in the complete sense means submission to the One God who grants us safety, security, peace and harmony. This is real peace. Muslims greet each other with the words 'Assalam Alaikum'. These Arabic words mean 'May God grant you protection and security (real and lasting peace)'. These brief Arabic words let Muslims know that they are among friends, not strangers. This greeting encourages believers to be a worldwide community unencumbered by tribal or nationalistic loyalties and bound together by peace and unity. Islam itself is inherently associated with inner peace and tranquillity.

"And those who believed (in the Oneness of God and His Messengers and whatever they brought) and did righteous deeds, will be made to enter Gardens under which rivers flow, - to dwell therein for ever (i.e. in Paradise), with the Permission of their Lord. Their greeting therein will be, salaam!" (Quran 14:23)

5. Islam allows us to know God
The first principle and focal point of Islam is belief in one God, and the whole of the Quran is dedicated to this. It speaks directly about God and His Essence, Names, Attributes and Actions. Prayer connects us to God, however truly knowing and understanding the Names and Attributes of God is an important and unique opportunity, one that is only available in Islam. Those who do not make the effort to really know God may find the nature of their existence puzzling or even distressing. A Muslim is encouraged to remember God and be grateful to Him and a person can do this by contemplating and understanding God's beautiful Names and Attributes. It is through this that we are able to know our Creator.

"God! (None has the right to be worshipped but He)! To Him belong the Best Names." (Quran 20:8)

"And (all) the Most Beautiful Names belong to God, so call on Him by them, and leave the company of those who belie or deny (or utter impious speech against) His Names..." (Quran 7:180)

6. Islam teaches us how to care for the environment
Islam recognises that human beings are the custodians of the earth and all that is on it, including vegetation, animals, oceans, rivers, deserts, and fertile land. God provides us with the things we need to survive successfully and flourish, but we are obligated to care for them and preserve them for future generations.

In 1986 Prince Phillip the then president of the World Wildlife Fund invited the leaders of the world's five major religions to meet in the Italian city of Assisi. They met to discuss how faith could help save the natural world, the environment. What follows is from the Muslim statement in the Assisi Declarations on Nature:

Muslims say that Islam is the middle path and we will be answerable for how we have walked this path, how we have maintained balance and harmony in the whole of creation around us.

It is these values which led Muhammad, the Prophet of Islam, to say: 'Whoever plants a tree and diligently looks after it until it matures and bears fruit is rewarded.'

For all these reasons Muslims see themselves as having a responsibility towards the world and the environment, all of which are the creations of Allah.

Unlike many other religions, Muslims do not have any specific festivals in which they give thanks for the harvest or the world. Instead they give thanks to Allah regularly for his creation. [4]

7. Islam is respect
Another beautiful aspect of Islam is respect for humanity and the universe in which we live. Islam states clearly that it is the responsibility of each member of the human race to treat creation with respect, honour and dignity. The most deserving of respect is the Creator Himself and of course respect begins with loving and obeying His commandments. Total respect for God allows all the manners and high standards of morality that are inherent in Islam to flow into our lives and the lives of those around us. Because Islam binds respect to peace, love and compassion this involves respecting the honour, reputation and privacy of others. Respect involves staying completely away from the major sins of backbiting, lying, slander, and gossip. It means avoiding sins that will sow discord among the people or lead to destruction.

Respect also includes loving for our brothers and sisters what we love for ourselves. It involves treating others the way we expect to be treated and the way we hope God will treat us - with compassion, love and mercy. Major sins put a barrier between humanity and God's Mercy and cause all the torment, misery and evil in this world and the hereafter. God commands us to stay away from sin and to strive against our own destructive character flaws. We live in an age where we often demand respect from others but may not respect those around us. One beauty of Islam is that it allows us to regain lost respect by submitting wholeheartedly to the will of God. However if we do not understand how and why we surrender to God's will we cannot gain respect we want and need. Islam teaches us and God reminds us in the Quran that our sole purpose in life is to worship Him.


8. The Equality of men and women
Quran states that all believers are equal and that only righteous deeds elevate one person above another. Believers therefore have an immense respect for pious men and women and Islamic history also tells us that both men and women served and showed righteousness in all areas. A woman, like a man, is obligated to worship God and fulfill the duties upon her. It is thus required that every woman testify that there is none deserving worship but God, and that Muhammad, may God praise him, is His Messenger; to pray; to give charity; to fast; and to perform the pilgrimage to God's House if she has the means and ability to do so. It is also required that every woman to believe in God, His angels, His scriptures, His Messengers, the Last Day, and to believe in God's decree. It is also required that every woman worship God as if she sees Him.

"And whoever does righteous good deeds, male or female, and is a (true) believer in the Oneness of God such will enter Paradise and not the least injustice, even to the size of a speck on the back of a date-stone, will be done to them." (Quran 2:124)

Islam however recognizes that equality does not mean that men and women are the same. It takes into account their differences in physiology, nature and temperament. It is not a question of superiority or inferiority, rather a question of natural abilities and having different roles in life. The laws of Islam are just and fair and take these aspects into consideration. Men have been assigned the duty to work and provide for their family and women have been assigned the role of motherhood and homemaking. Islam states however that that the roles are not exclusive nor are they inflexible. Women can work or serve society and men are able to take responsibility for their children or their household. It is interesting to note that where women choose to work the money they earn is their own however a man must provide financially for the whole family.

9. Humankind is able to regret past actions and reform
Muslims believe that all members of humankind are able to reform; in addition they believe that the possibility of successful reform is greater than the probability of failure. This belief is derived from the fact that God has given humankind the means to reform, not once but over and over again right up until close to the Day of Judgement. God sent Messengers and Prophets to each and every nation. Some we know from the Quran and the traditions of Prophet Muhammad, others are known only to God.

"And for every community or nation there is a Messenger; when their Messenger comes, the matter will be judged between them with justice, and they will not be wronged." (Quran 10:47)

God does not hold any person responsible until he has been clearly shown the right way.

"...And We never punish until We have sent a Messenger. " (Quran 17:15)

At the same time we are responsible to search for the truth and upon finding it we should accept it and reform our lives accordingly. The past bad actions can be left behind. There is no sin that cannot be forgiven!

"Say, 'O My servants who have transgressed against themselves [by sinning], do not despair of the mercy of God. Indeed, God forgives all sins. Indeed, it is He who is the Forgiving, the Merciful.'" (Quran 39:53)

A person should take advantage of God's mercy by sincerely repenting for the past or if one is not a believer, by converting to the religion of Islam. Every person must work towards his salvation by combining faith, belief and action.

10. God loves beauty in all its forms
Prophet Muhammad said, "No one will enter Paradise who has an ant's weight of pride in his heart." A man said, "What if a man likes his clothes to look good and his shoes to look good?" He said, "God is beautiful and loves beauty. Pride means denying the truth and looking down on people." [5]

Beauty is the opposite of ugliness. The beauty that exists in creation attests to God's beauty as well as His power. He who created beauty is the most entitled to beauty. And indeed Paradise is adorned with beauty beyond imagining. God is beautiful and this is why the greatest of all pleasures in Paradise is to look upon God's Face. God says,

"[Some] faces, that Day, will be radiant; looking to their Lord." (Quran 75: 22-23)

He refers to His names as being the Most Beautiful:

"And the Most Beautiful Names belong to God, so call on Him by them..." (Quran 7:180)

Noted Islamic scholar Ibn al-Qayyim, may Allah have mercy on him, had the following to say about beauty in Islam:

"God is to be acknowledged for beauty that bears no resemblance to anything else, and He is to be worshipped by means of the beauty which He loves in words, deeds and attitudes. He loves His slaves to beautify their tongues with the truth, to beautify their hearts with sincere devotion, love, repentance and trust in Him, to beautify their faculties with obedience, and to beautify their bodies by showing His blessings upon them in their clothing and by keeping them pure and free of any filth, dirt or impurity, by removing the hairs which should be removed, by circumcision, and by clipping the nails. Thus they recognize God through these qualities of beauty and seek to draw close to Him through beautiful words, deeds and attitudes. They acknowledge Him for the beauty which is His attribute and they worship Him through the beauty which He has prescribed and His religion." [6]


[1] Al Qarni, Aaidh Ibn Abdullah, (2003), Don't be sad. International Islamic Publishing House, Saudi Arabia.
[2] Saheeh Muslim
[3] Saheeh Al-Bukhari, Saheeh Muslim
[4]http://www.bbc.co.uk/schools/gcsebitesize/rs/environment/isstewardshiprev2.shtml
[5] Saheeh Muslim
[6] al-Fawaa'id (1/185)
-------------------------------------------------
http://www.islamhouse.com/425320/en/en/articles/The_Beauties_of_Islam

Thank you




== 2 of 8 ==
Date: Mon, Jan 20 2014 2:56 pm
From: woodbrian77@gmail.com



The C++ Middleware Writer is based on Judeo/Christian roots.
I'm not aware of C++ work based on Islamic roots.

Brian
Ebenezer Enterprises - In G-d we trust.
http://webEbenezer.net




== 3 of 8 ==
Date: Mon, Jan 20 2014 4:48 pm
From: Mr Flibble


On 20/01/2014 22:56, woodbrian77@gmail.com wrote:
>
> The C++ Middleware Writer is based on Judeo/Christian roots.
> I'm not aware of C++ work based on Islamic roots.
>
> Brian
> Ebenezer Enterprises - In G-d we trust.

What a load of bollocks mate.

/Flibble





== 4 of 8 ==
Date: Mon, Jan 20 2014 4:49 pm
From: Mr Flibble


On 21/01/2014 00:48, Mr Flibble wrote:
> On 20/01/2014 22:56, woodbrian77@gmail.com wrote:
>>
>> The C++ Middleware Writer is based on Judeo/Christian roots.
>> I'm not aware of C++ work based on Islamic roots.
>>
>> Brian
>> Ebenezer Enterprises - In G-d we trust.
>
> What a load of bollocks mate.

Specifically Judaism is no less fucktarded than any other religion.

/Flibble





== 5 of 8 ==
Date: Mon, Jan 20 2014 5:37 pm
From: woodbrian77@gmail.com


On Monday, January 20, 2014 6:49:58 PM UTC-6, Mr Flibble wrote:

Please don't swear here.

Brian
Ebenezer Enterprises - The fool has said in his heart,
"There is no G-d." Psalms 14:1




== 6 of 8 ==
Date: Mon, Jan 20 2014 5:55 pm
From: woodbrian77@gmail.com


On Monday, January 20, 2014 7:37:50 PM UTC-6, woodb...@gmail.com wrote:
> On Monday, January 20, 2014 6:49:58 PM UTC-6, Mr Flibble wrote:
>
> Please don't swear here.
>

http://www.desiringGod.org/interviews/can-christians-cuss-to-prove-a-point#full-audio

https://www.youtube.com/watch?v=_mFaRD3OPHE




== 7 of 8 ==
Date: Tues, Jan 21 2014 1:27 am
From: Juha Nieminen


woodbrian77@gmail.com wrote:
> The C++ Middleware Writer is based on Judeo/Christian roots.
> I'm not aware of C++ work based on Islamic roots.

I think there's something wrong in your brain. Maybe you should have
it checked.

--- news://freenews.netfront.net/ - complaints: news@netfront.net ---




== 8 of 8 ==
Date: Tues, Jan 21 2014 2:23 am
From: "Qu0ll"


wrote in message
news:c2f415a8-d26c-412e-b137-fdacfa93951c@googlegroups.com...

> The C++ Middleware Writer is based on Judeo/Christian roots.
> I'm not aware of C++ work based on Islamic roots.

Brian, we both may identify ourselves as Christians but my response to that
is definitely a big WTF???

--
And loving it,

-Qu0ll (Rare, not extinct)
_________________________________________________
Qu0llSixFour@gmail.com
[Replace the "SixFour" with numbers to email me]





==============================================================================

You received this message because you are subscribed to the Google Groups "comp.lang.c++"
group.

To post to this group, visit http://groups.google.com/group/comp.lang.c++?hl=en

To unsubscribe from this group, send email to comp.lang.c+++unsubscribe@googlegroups.com

To change the way you get mail from this group, visit:
http://groups.google.com/group/comp.lang.c++/subscribe?hl=en

To report abuse, send email explaining the problem to abuse@googlegroups.com

==============================================================================
Google Groups: http://groups.google.com/?hl=en

No comments: