Wednesday, December 29, 2010

Memorizing The Periodic Table

Memorizing the periodic table is always a very difficult task, even if we are able to memorize, we wont be able to recall them later on. Hence, it will be a useless investment.
Here I would like to share one method with which I memorized the periodic table. It uses the science of mnemonics.

Using this technique, I am able to recall the first 20 elements of the periodic table in order without any difficulty, even after a period of 8 years.
I am going to write down a story/poem and you just need to memorize that. Memorizing the story/poem would not take more than 5 mins for you. But by processing each word in the story/poem you can recall an element.

I learnt this technique from my Chemistry teacher in the 9th grade. His name is Mr. Errol Fernando. He teaches Chemistry at St. Patrick's High school, Karachi.


POEM


Hey Hello!!!!!
Little Benny Boy Caught,
Naughty Ossy Fooling,
Nelly Nancy Maggie,
All Sisters Prepared,
Sugar Chocolate,
Arnold killed Cat


POEM WITH ASSOCIATED ELEMENTS



Hey : H:Hydrogen
Hello:He:Helium

Little:Li:Lithium
Benny:Be:Beryllium
Boy:B:Boron
Caught:C:Carbon

Naughty:N:Nitrogen
Ossy:O:Oxygen
Fooling:F:Fluorine

Nelly:Ne:Neon
Nancy:
Na:Natrium(Sodium)
Maggie:Mg:Magnesium

All:Al:Aluminum
Sisters:Si:Silicon
Prepared:P:Phosphorous

Sugar:S:Sulphur
Chocolate:Cl:Chlorine

Arnold:Ar:Argon
Killed:K:Kalium(Potassium)
Cat:Ca:Calcium








Difference between Class And Object

Well, Classes and Objects are the backbone of Object Oriented Programming (OOP). You would often hear the word while you are reading a book on any programming language that is Object Oriented in nature. The unfortunate fact is that many folks who can actually write simple programs using an Object Oriented language are yet not sure about the difference between a class and an object. In this article, I will try to explain this concept using everyday life examples. The reason why I am emphasizing on using everyday life examples is because, this whole world in Object Oriented in nature. We have classes and we have objects. Whatever you can see moving around you is an Object and the qualities, behavior, attributes that defines its existence is its class. Its a bit vague but lets elaborate it. Consider, yourself, who are you? You are Mr. XYZ. Or to be more general, you are a human being. I am also a human being. We both are Particular human beings. We possess a specific behavior, hair color, ethnicity, gender, height, psyche, etc. What makes us human beings? Its because we possess qualities that makes us human. We are objects, of the class called human beings. We are one instance of the class called human beings. The figure shown below explains this scenario.







In the above figure, to the left you can see a class called human beings. It is just a dummy class showing attributes a human would possess. As you can see a class has no existence. Instead objects have an existence. A class jsut defines what properties and behavior an object of its type would bear. You can see two objects being defined here. As you can see that the objects supply particular values to each attribute of its class. Consider for example one of the objects,

Name: Bilal

Ethnicity: Asian
Gender: Male

Age: 22

Hair color: Brown

As you can see that this object of class human beings has supplied particular values to the attributes that human beings possess. He has a particular name, a particular ethnicity, a particular gender , age and a specific hair color.


Now lets get specific to programming and implement this class called human beings. In the class we can define attributes and behavior that an object(Instance) of its type would possess.

C# is the language being used here.


Class Human_Beings
{

public string name;

public string Ethnicity;
public string Gender;
public int Age;
public
string Hair_Color;

//these are some randomly specified attributes

// now lets define some behavior in terms of methods(functions)


public void Talk()
{
.....
}


public void Walk()
{
.....
}

}// class ends here


Now lets create an object of this class, just like when we define any variable of type INT we name the variable such as int x, int count, etc. In a similar fashion an object being a variable of the class that defines it needs to have a variable name or an Object reference.


When type is int:
int x;

When type is Human_beings:

Human_beings obj1;


Initialize the int:

x=10;

For objects having so many attributes, we instead call a function called Constructor that does the initialization for us,

obj1 = new Human_beings();

// lets define the attributes

obj1.Name="Bilal";
obj1.Ethnicity="Asian";
obj1.Gender="Male";
obj1.Age=21;
obj1.Hair_color="Brown";

/*now the above code has created an object of type Human_beings pointed to by reference called "obj1" and having the attributes as defined above*/

I hope this article helps the beginners in understanding the basic difference between a class and an object.
Thank you for your time.

















Sunday, December 26, 2010

Repentence In Islam

The scholars state that there are three conditions for the validity of taubah (repentance):

1) Leaving the sin

2) Regretting committing the sin

3) Making a firm intention not to commit the sin again.

If one did not offer salat, fast, give zakat etc, the sin of leaving these obligatory acts will be forgiven inshallah by sincerely doing taubah with all its conditions. However, one will still have to offer the qadha of the missed salat and fast, and he will still have to give the zakat for each year that he missed. And if any kaffarah became necessary on him, he will still have to give/offer the kaffarah. In short, the sin of leaving the obligatory act itself will be forgiven by the taubah, however the qadha and kaffarah will still need to be offered.

If one wrongfully took another person’s right such as money etc. then there is an additional condition: that he returns the right to its owner or that he seeks his forgiveness.

If any of the above conditions are not fulfilled then the taubah will not be valid. If one fulfills all the conditions then inshallah he/she will be forgiven, for Allah is the Most Merciful, the Compassionate. After the taubah, if one happens to commit the same sin again, he should do taubah again. As long as he does taubah sincerely with the above conditions, Allah will forgive him.

حدثنا إسحاق أخبرنا حبان حدثنا همام حدثنا قتادة حدثنا أنس بن مالك عن النبي صلى الله عليه وسلم و حدثنا هدبة حدثنا همام حدثنا قتادة عن أنس رضي الله عنه قال قال رسول الله صلى الله عليه وسلم الله أفرح بتوبة عبده من أحدكم سقط على بعيره وقد أضله في أرض فلاة ( رواه البخاري الرقم: 6309 )

Anas bin Malik (Radiyallahu Anhu) narrates that Rasulullah (Sallallaahu Alaihi Wa Sallam) said, “Allah is more happy with the repentance of his slave than one of you (would be happy) if he suddenly stumbled upon (i.e. found) his camel after having lost it in a desert (and given up any hope).” (Bukhari #6309)

قال الحافظ ابن حجر: والتوبة ترك الذنب على أحد الأوجه.وفي الشرع ترك الذنب لقبحه، والندم على فعله، والعزم على عدم العود، ورد المظلمة إن كانت أو طلب البراءة من صاحبها ( فتح الباري: ج 14 ص 123 – دار الكتب العلمية )

What Islam says About the Beard

This pamphlet is to emphasize the importance and the length of the beard. Many Muslims have queried regarding this point. I have also found that people prefer keeping a beard in imitation of what's in vogue rather than that prescribed by Nabi (Sallallahu Alayhi Wasallam). A compilation of this nature has become important because the impact of the western way of life seems to be luring unwary Muslims into such a craze that the importance of the beard itself is being doubted and scoffed at.
To those who feel the issue is trivial to worry about, may ALLAH guide him. But to those who genuinely wish to learn and practice what is right, here are sufficient proofs from the Qur'an, Ahadeeth, and learned scholars.
Concerning Adherence to the Sunnah in the Holy Qur'an:

"O ye who believe! Obey Allah, and obey the Messenger, and those charged with authority among you." (Quran 4:59)

"O ye who believe! Obey Allah and His Messenger, and turn not away from him when ye hear (him speak)." (Quran 8:20)

"O ye who believe! give your response to Allah and His Messenger, when He calleth you to that which will give you life; and know that Allah cometh in between a man and his heart, and that it is He to Whom ye shall (all) be gathered."(Quran 8:24)

"Ye have indeed in the Messenger of Allah an excellent exempler for him who hopes in Allah and the Final Day, and who remembers Allah." (Quran 33:21)

"What Allah has bestowed on His Messenger (and taken away) from the people of the townships,- belongs to Allah,- to His Messenger and to kindred and orphans, the needy and the wayfarer; in order that it may not (merely) make a circuit between the wealthy among you. So take what the Messenger gives you, and refrain from what he prohibits you. And fear Allah: for Allah is strict in Punishment." (Quran 59:7)

Importance of the Beard in the words of Rasulullah (Sallallahu Alayhi Wasallam):
    (1) Rasulullah (Sallallahu Alayhi Wasallam) said "I have no connection iwth one who shaves, shouts and tears his clothing eg. in grief or affication."
    - Reported by Abu Darda (R.A.) in Muslim, Hadith no. 501

    (2) The teachings of Hadhrat Ammar Bin Yaasir, Abdullah Ibn Umar, Sayyidina Umar, Abu Hurairah and Jaabir (R.A.), indicate that ALL used to keep beards that were one fist length or more. Hadhrat Jaabir (R.A.) had said: "We used to grow long beards and only during Hajj and Umrah did we trim them to the required length (i.e. fist length)."
    (3) Hadhrat Abdullah Ibn Umar (R.A.) relates that: "He who imitates the kuffar (non-believers) and dies in that state, he will be raised up with them on the Day of Qiyamat (Judgement)."
    (4) Rasulullah (Sallallahu Alayhi Wasallam) says: "Trim closely the moustache, and let the beard flow (Grow)."
    - Narrated Ibn Umar (R.A.) in Muslim, Hadith no. 498

    (5) "Rasulullah (Sallallahu Alayhi Wasallam) ordered us to trim the moustache closely and spare the beard" says Ibn Umar.
    - Muslim, Hadith no. 449

    (6) Rasulullah (Sallallahu Alayhi Wasallam)said: "Act against contrary to the polythesists, trim closely the moustache and grow the beard."
    - Reported by Ibn Umar (R.A.) in Muslim, Hadith no. 500

    (7) Rasulullah (Sallallahu Alayhi Wasallam) said "Trim closely the moustache and grow the beard."
    - Reported by Abu Hurairah (R.A.) in Muslim, Hadith no. 501

    (8) Rasulullah (Sallallahu Alayhi Wasallam) said: "Anyone who shaves has no claim to the mercy of Allah"
    - Reported by Ibn Abbas (R.A.) in Tibrabi

    (9) Hadhrat Abdullah Ibn Umar (R.A.) used to cut that portion (which exceeds the grip of the hand) of the beard.
    - Tirmidhi

The Beard according to the Great Imams of Jurisprudence
Hanafi
Imam Muhammed (R.A.) writes in his book "Kitabul Aathaar" where he relates from Imam Abu Hanifa (R.A.) who relates from Hadhrat Haytham (R.A.) who relates from Ibn Umar (R.A.) that he (Ibn Umar) used to hold his beard in his hand and cut off which was longer. Imam Muhammed (R.A.) says that this is what we follow and this was the decision of Imam Abu Hanifa. Therefore, according to Hanafies, to shorten the beard less than a FIST LENGTH is HARAAM and on this is IJMA (concensus of opinion).
Shafi'i
Imam Shafi (R.A.) in his Kitabul Umm states, "To shave the beard is HARAAM." (Shari Minhaj dar Shara Fasl Aqueeqa).
Maaliki
Shekh Ahmad Nafarawi Maliki in the commentary of Imam Abu Zayed's booklet states, "to shave the beard is without doubt haraam according to all Imams." It is also mention in "Tamheed" which is a commentary of "Muatta" (Sunnan Imam Malik (R.A.)) that to shave the beard is HARAAM and among males the only ones to resort to this practice (of shaving) are the HERMAPHRODITES (persons who possess both male and female features and characteristics).
Hanbali
The Hanbalies in the famous Al-Khanie'a Hanbali Fatawa Kitab state that "to grow the beard is essential and to shave it is HARAAM." Also in the Hanbali Mathab books "Sharahul Muntahaa" and "Sharr Manzoomatul Aadaab", it is stated "The most accepted view is that it is HARAAM (prohibited to shave the beard)."
Also note, according to scholars of Islam: "To shave off the beard is unlawful (haraam) and one who shaves his beard is legally speaking an unrighteous fellow (FASIQ); hence, it is NOT PERMISSIBLE to appoint such a man as an Imam. To say Taraweeh behind such an Imam is MAKRUH-E-TAHRIMI (near prohibition)" (Shami Vol.1, p.523)
The Durre-Mukhtar states: "No one has called it permissible to trim it (the beard) less than FIST-LENGTH as is being done by some westernized Muslims and hermaphrodites." (Vol. 2, p. 155). Also, "It is forbidden (haraam) for a man to cut off another's beard." (Vol. 5, p. 359).
Conclusion
Thus, a Muslim who shaves or shortens his beard is like a hermaphrodite, his Imamate near prohibition, his evidence is not valid, he will not have the right to vote or being voted for. Shaving and shortening the beard is the action of non-believers. Imam Ghazzali (RA) says: "Know that the key to total bliss (Saadah) lies in following the Sunnah and in emulating the life of Rasulullah (Sallallahu Alayhi Wasallam) in ALL that issues from him, and in ALL his doings even if it concerns the manner of his eating, rising, sleeping, and speaking. I do say thisin relation to rituals in worship ONLY because ther is no way neglecting the Sunnah reported of him in such matters - but what I say INCLUDES EVERY ASPECT of his daily life." (Kitab al Arbain Addin, Cairo 1344, p. 89). Furthermore, in the Holy Qur'an, Allah told Rasulullah (Sallallahu Alayhi Wasallam) to say:

"Say: "If ye do love Allah, Follow me: Allah will love you and forgive you your sins: For Allah is Oft-Forgiving, Most Merciful." (Quran 3:31)

The daily recitation of a band of angels of Allah is "Holy is the Being who adorned men with beards and women with braids" (Takmela e Bahr al Raiq, Vol. 3, p. 331)
Lastly, Allah Ta'ala says in the Holy Qur'an: "And when the true believers are called to Allah and His Rasul (Sallallahu Alayhi Wasallam) [to accept and practice the law and commands of Allah and His Rasul (Sallallahu Alayhi Wasallam)] that he may pass judgement upon them, their ONLY reply is 'We hear and obey.' Such men shall surely prosper." (24:51)
THE CALL IS TO GROW A FIST LENGTH BEARD, LET US HEAR AND OBEY TO PROSPER.

The Blessed Beard... Grow it, what's so hard to understand?

Muslims are overcome with western influence in their lives and it's easy to forget, nay, neglect the Sunnah of the Prophet Muhammad (Peace Be Upon Him). Little do these Muslims realize the magnitude of their actions in imitating Kufaar (see Hadith section). This is a truly shocking! Hopefully the information presented herein will enlighten those. And then there are others who claim that the matters concerning beards is a "little" issue not worthy of mention nor practice. To them I say get off the denial bandwagon, you're a Muslim! Follow the Prophet (Peace be upon him) in all aspects of life, for he was the best of examples. I couldn't tell you how many times I've mistaken a Muslim brother (outside of the Masjid) for a kaafir on account of his clean-shaven, well oiled, face. How can I say "Assalaamu Alaikum Brother!" when I do not know if he is a Muslim. Yet that very brother then wonders why he was ignored! Sure, he can tell if others are Muslim on account of their beard, but what about himself? From one brother to another, I say: "Grow a beard, then, since it also promotes Brotherhood in the real world. Stand with your Brothers, be one. We know you think you are handsome without it (a beard), but who cares? What matters is how Allah (S.W.T.) sees you. And when you do grow a beard, don't mock the Sunnah, please grow it correctly, i.e. FIST LENGTH. That is the prescribed length and no shorter (see Hadeeth section)..." Peace.

Friday, December 10, 2010

Signs Of Judgment Day Islam With Referenced Ahadith

This article will shed light on some of the Signs of the Final Hour we can experience in this present world. Belief in the Day Of Judgment is one of the fundamental pillars of faith in Islam. All of us will be resurrected and presented before Allah. We'll be held accountable for the deeds we have been doing in this world. It is regarded as 'Judgment Day' cause justice will prevail that day. Allah Almighty will do justice. The vice and virtue will be separated. Many people don't believe on this day, they think nothing once dead can be brought to life again. But sadly, they have forgotten that Allah created them when they were nothing. It is easy for Allah.

"Are they waiting for anything except the Hour, to come to them suddenly? But its Signs have already come!" (Al-Qur’an, Surah Muhammad)



SIGN:
Naked, destitute, barefoot shepherds will compete in building tall buildings. (Sahih Bukhari Volume 1, Book 2, Number 47)


HADITH:

Narrated Abu Huraira:
One day while the Prophet was s
itting in the company of some people, (The angel) Gabriel came and asked, "What is faith?" Allah's Apostle replied, 'Faith is to believe in Allah, His angels, (the) meeting with Him, His Apostles, and to believe in Resurrection." Then he further asked, "What is Islam?" Allah's Apostle replied, "To worship Allah Alone and none else, to offer prayers perfectly to pay the compulsory charity (Zakat) and to observe fasts during the month of Ramadan." Then he further asked, "What is Ihsan (perfection)?" Allah's Apostle replied, "To worship Allah as if you see Him, and if you cannot achieve this state of devotion then you must consider that He is looking at you." Then he further asked, "When will the Hour be established?" Allah's Apostle replied, "The answerer has no better knowledge than the questioner. But I will inform you about its portents. 1. When a slave (lady) gives birth to her master. 2. When the shepherds of black camels start boasting and competing with others in the construction of higher buildings. And the Hour is one of five things which nobody knows except Allah. The Prophet then recited: "Verily, with Allah (Alone) is the knowledge of the Hour--." (31. 34) Then that man (Gabriel) left and the Prophet asked his companions to call him back, but they could not see him. Then the Prophet said, "That was Gabriel who came to teach the people their religion." Abu 'Abdullah said: He (the Prophet) considered all that as a part of faith.



SIGN:
A trial will enter every Arab household, there will be various diseases, wealth would be in abundance, the conquest of Jerusalem (Sahih Bukhari Volume 4, Book 53, Number 401)


HADITH:

Narrated Auf bin Mali:
I went to the Prophet during the Ghazwa of Tabuk while he was sitting in a leather tent. He said, "Count six signs that indicate the approach of the Hour: my death, the conquest of Jerusalem, a plague that will afflict you (and kill you in great numbers) as the plague that afflicts sheep, the increase of wealth to such an extent that even if one is given one hundred Dinars, he will not be satisfied; then an affliction which no Arab house will escape, and then a truce between you and Bani Al-Asfar (i.e. the Byzantines) who will betray you and attack you under eighty flags. Under each flag will be twelve thousand soldiers.



SIGN:
Knowledge will be taken away (by the death of people of knowledge), and ignorance will prevail. Illegal sex, wines will be consumed in large number (Sahih Bukhari Volume 1, Book 3, Number 80)



HADITH:

Narrated Anas: Allah's Apostle said, "From among the portents of the Hour are (the following): 1. Religious knowledge will be taken away (by the death of Religious learned men). 2. (Religious) ignorance will prevail. 3. Drinking of Alcoholic drinks (will be very common). 4. There will be prevalence of open illegal sexual intercourse.



SIGN:
Earthquakes will increase,money will overflow,distress(lack of peace),massacre(massive killing) (Sahih Bukhari Volume 2, Book 17, Number 146)






HADITH:

Narrated Abu Huraira:
The Prophet said, "The Hour (Last Day) will not be established until (religious) knowledge will be taken away (by the death of religious learned men), earthquakes will be very frequent, time will pass quickly, afflictions will appear, murders will increase and money will overflow amongst you." (Se
e Hadith No. 85 Vol 1).


http://www.youtube.com/watch?v=SE
OGbROqbfo




SIGN:
A man will pass by the grave of another and wish he was in the latter’s place. (Sahih Bukhari Volume 9, Book 88, Number 237)



HADITH:

Narrated Abu Huraira: Allah's Apostle said, "The Hour will not be established (1) till two big groups fight each other whereupon there will be a great number of casualties on both sides and they will be following one and the same religious doctrine, (2) till about thirty Dajjals (liars) appear, and each one of them will claim that he is Allah's Apostle, (3) till the religious knowledge is taken away (by the death of Religious scholars) (4) earthquakes will increase in number (5) time will pass quickly, (6) afflictions will appear, (7) Al-Harj, (i.e., killing) will increase, (8) till wealth will be in abundance ---- so abundant that a wealthy person will worry lest nobody should accept his Zakat, and whenever he will present it to someone, that person (to whom it will be offered) will say, 'I am not in need of it, (9) till the people compete with one another in constructing high buildings, (10) till a man when passing by a grave of someone will say, 'Would that I were in his place (11) and till the sun rises from the West. So when the sun will rise and the people will see it (rising from the West) they will all believe (embrace Islam) but that will be the time when: (As Allah said,) 'No good will it do to a soul to believe then, if it believed not before, nor earned good (by deeds of righteousness) through its Faith.' (6.158) And the Hour will be established while two men spreading a garment in front of them but they will not be able to sell it, nor fold it up; and the Hour will be established when a man has milked his she-camel and has taken away the milk but he will not be able to drink it; and the Hour will be established before a man repairing a tank (for his livestock) is able to water (his animals) in it; and the Hour will be established when a person has raised a morsel (of food) to his mouth but will not be able to eat it."




SIGN:
Trustworthiness will be lost, i.e. when authority is given to those who do not deserve it. (Sahih Bukhari Volume 1, Book 3, Number 56)





HADITH:

Narrated Abu Huraira: While the Prophet was saying something in a gathering, a Bedouin came and asked him, "When would the Hour (Doomsday) take place?" Allah's Apostle continued his talk, so some people said that Allah's Apostle had heard the question, but did not like what that Bedouin had asked. Some of them said that Alllah's Apostle had not heard it. When the Prophet finished his speech, he said, "Where is the questioner, who enquired about the Hour (Doomsday)?" The Bedouin said, "I am here, O Allah's Apostle ." Then the Prophet said, "When honesty is lost, then wait for the Hour (Doomsday)." The Bedouin said, "How will that be lost?" The Prophet said, "When the power or authority comes in the hands of unfit persons, then wait for the Hour (Doomsday.)"