Muslims and Christmas

Muslims and Christmas

Every year close to Christmas you would see forums, blogs, chat rooms full of Muslims talking about how Christmas has nothing to do with Jesus and Christians are wrong to celebrate it, and how it is not mentioned in the Bible.

It is one thing to tell your fellow Muslims not to celebrate Christmas and not to say “Merry Christmas”, but to keep talking about how wrong of the Christians to celebrate this is just ridiculous. Even a Da’wah TV program called “The Deen Show” had an interview with some scholar about the fact that Santa is not in the Bible.

Obviously we cannot get our priorities right. There are far more pressing issues that we Muslims face as a community and on individual levels. Our people are starving, war is destroying our homes, corruption is ruining our countries, yet as soon as Christmas or Easter is close, the same war against Christmas beings.

I frequent a forum that most of the members are Muslim. Every year there are new threads about all or some of the issues such as putting decorative lights up in Christmas, Saying Merry Christmas to Christians, Christmas is pagan holiday, Santa is a marketing scheme, Valentine’s day is Haram, Easter is not Christian in origin and the list goes on.

I am not sure I understand this obsession, but I am certain there are more important things in life. I thought here I’d give a list of activities in no particular order to delve into, instead of wasting your time offending Christians on their festive day:

  1. Volunteer to clean your local Masjid
  2. Memorize some verses of Qur’an
  3. Pray Nawafil
  4. Organise a social Halal event for Muslims
  5. Plant a tree
  6. Collect donation for the needy
  7. Prepare meal for homeless
  8. Volunteer at a shelter
  9. Register for foster parenting (You will be amazed how many Muslim kids need foster parenting)
  10. Take your parents out for dinner
  11. Go to YouTube and listen to a lecture
  12. Update your blog
  13. Donate to a charity organisation of your choice
  14. Tutor your younger siblings
  15. Read a story to little kids
  16. Prepare a meal for your family
  17. Recite longer Surrahs in your prayer
  18. Pick up your phone and call a friend that you haven’t spoken for a while
  19. Visit your grand parents
  20. Visit the Blog Etcetera and leave a comment or two.
 

I had a discussion with a friend the other day about career development, capacity building and whether staying in one company specially in the same or similar capacity for too long makes one  unemployable and how long is too long for an IT professional to stay in one job.

I read somewhere that regardless of the industry if you are in an organisation for 3 – 5 years without being promoted, then it is time to move on. This fits my situation because I have been with my current employer for over 5 years now. Although it is a good company, people are nice and work conditions are great, it seems I have reached my limit in terms of learning and expanding my skills.  Not only that, due to the nature of our company, there is no position for me to ascend to. The only thing I can become is a senior developer, then a more senior developer and so on. Of course I can rely on my yearly review and expect some praise and some raise, but that will not keep anyone going on.

The other issue is  that the main technology we use is propitiatory and we are in a vertical market that has a fairly limited application. This in itself puts a limit in the on-job training and capacity building.

I have been keeping an open eye and looking into my options. IT job market is good at the moment and based on my skills, I can land on a job easily. However, I have been slacking and not getting the courage to leave my comfort zone. The options are there, the opportunities are there. I should be able to take the risk that the conditions in the next job may not be as good, people may not be as nice, and hours inconvenient, but as long as there is opportunity for career development and the pay is reasonably higher, I should not hesitate to take on the next opportunity.

Based on my experience, an IT professional should try to move on after maximum of 4 years in one place. This helps in career development and exposing oneself to different technologies and markets. Of  course unless you work for an organisation that is extremely dynamic and cater for different domains. I should listen to my own advice.

 

If you ever had to deal with PCL you would know that there is no command to centre the text. There are some printers that support HPGL command embedded in the PCL file, but not all. If we are printing a predefined text, we know the measurements and would set absolute positioning. But if we are dealing with data generated from a data source, then how can we centre the text? One way to do it is to know the width of every character in every font-family and when printing, calculate the width of the text in whatever unit we are using and then position the text accordingly. The other way is to write an email to your manager and tell them that unless they move to PostScript, there is no way you can centre the text correctly.

But if you really want to do it without having to dramatically change your code or moving away from PCL, there is a trick that you might or might not have figured it out or heard of it.

The trick is to print transparent text upside down in half the point size from the centre of the page. What you will print next will start exactly from where the last one ended. Now, change rotation back to normal, and print your text in regular size in black. This will work very well.

  1. Choose transparent color [ESC]*vo1T
  2. Rotate 180 degrees [ESC]&a180P
  3. Drop the font size by half (assume your normal text size is 12) [ESC](s1p6v0s0b5T
  4. Print your text
  5. Choose black color [ESC]*v1oT
  6. Change rotation back to normal [ESC]&a0P
  7. Choose the normal font size [ESC](s1p12v0s0b5T
  8. Print your text.

Note: Please refer to your printer manual for specific PCL commands, such as font sequence.

 
Perl

Image via Wikipedia

I am working on a data matching project. One organisation provides some data to match with data from another organisation.

Generally the data is provided in plain text delimited by a predefined characters (eg tab).
I used the split function to split the line into an array. One of the “features” of the split function is that if there is nothing after the last delimiter, it ignores it. So, if the record in question does not have any information in the last field, the size of the array becomes one less than the number of required fields to be matched. This caused a few issues because the program was written without keeping this in mind.

If you have a string like “This|is|for|test|” and you want to split it by the pipe character, then you will write the following code:

#!/usr/local/bin/perl
 
use strict;
use Data::Dumper;
 
my @myarray;
my $string;
 
$string = "This|is|for|test|";
 
@myarray = split(/\|/, $string);
 
print Dumper(\@myarray);

Output:

$VAR1 = [
          'This',
          'is',
          'for',
          'test'
        ];

Well, I don’t really want that. I want the last item in the array to be an empty string. Luckily, the split function takes an optional argument that specifies the limit on number of pieces we want to split the string by. See the example below:

#!/usr/local/bin/perl
 
use strict;
use Data::Dumper;
 
my @myarray;
my $string;
 
$string = "This|is|for|test|";
 
@myarray = split(/\|/, $string, 3);
 
print Dumper(\@myarray);

Output:

$VAR1 = [
          'This',
          'is',
          'for|test|'
        ];

So, if you pass 5 as the limit, you will get the following output:

$VAR1 = [
          'This',
          'is',
          'for',
          'test',
          ''
        ];

But what if you do not know the number of fields? Well, there are a few ways to find this out. My favorite method is to use Perl’s Regular Expression‘s ‘tr’ operator to count occurrences of the delimiter. The ‘tr’ operator or translation operator replaces occurrences of a character with another character or deletes them if the ‘d’ modifier is used. Please note that the substitute operator ‘s’ works differently.

For example:

#Replaces 'a' with 'u'
$string = "Let the cat out of the bag.";
$string =~ tr/a/u/;
print "1. " . $string . "\n";
 
#deletes 'a'
$string = "Let the cat out of the bag.";
$string =~ tr/a//d;
print "2. " . $string . "\n";
 
#does nothing
$string = "Let the cat out of the bag.";
$string =~ tr/a//;
print "3. " . $string . "\n";

Output:

1. Let the cut out of the bug.
2. Let the ct out of the bg.
3. Let the cat out of the bag.

Now that I have quickly gone through tr operator, let’s get back to the point. So, the tr operator also returns a count of replacements or deletions. Let’s check the above code with slight modification:

#Replace 'a' with 'u'
$string = "Let the cat out of the bag.";
$count = $string =~ tr/a/u/;
print "1. " . $count. " occurrences of 'a' were replaced with 'u'.
.\n";
 
#delete 'a'
$string = "Let the cat out of the bag.";
$count = $string =~ tr/a//d;
print "2. " . $count. "occurrences of 'a' were deleted.
 times . ".\n";
 
#do nothing
$string = "Let the cat out of the bag.";
$count = $string =~ tr/a//;
print "3. There are " . $count . " 'a' in the statement.\n";

Output:

1. 2 ccurrences of 'a' were replaced with 'u'.
2. 2 ccurrence of 'a' were deleted.
3. There are 2 'a' in the statement.

Now to the original problem.
Using ‘tr’ operator you can count the number of the delimiters, pipes in this case, in the string, then split it that many times plus one, like this:

#!/usr/local/bin/perl
 
use strict;
use Data::Dumper;
 
my @myarray;
my $string;
 
$string = "This|is|for|test|";
my $count = $string =~ tr/\|//;
@myarray = split(/\|/, $string, $count+1);
 
print Dumper(\@myarray);

Output:

$VAR1 = [
          'This',
          'is',
          'for',
          'test',
          ''
        ];

Well, that is it folks. I hope this is of any use to you. It is my first ever tutorial, so let me know if there are any errors in my explanation or code snippets.

 

Episode 8: A Short Time in Paradise (Plot Summary)

I am still watching Alphas. Slightly losing interest, but I am still watching. I like Gary.

Azita Ghanizada as Rachel Pirzad in Alphas

Azita Ghanizada as Rachel Pirzad in Alphas

So Rachel is going to her sister’s engagement party. She is trying to get herself a date to the party so she is not “auctioned off” to her “third cousins” and not having to go on “blind dates” with them.

Now, here is what happens to the majority of Afghan girls who turn in to their sister’s engagement party with a “date”. Well, it does not happen. It is unheard of except in very rare cases of, oh, so liberal families who probably have not much to do with the rest of Afghan community.

Let us say we all wake up one day it has become somewhat normal for an Afghan girl to take a white male co-worker as her “date”, she will definitely have to buy him a nice black suit and a tie that matches her top.

Let me also let you in on another secret about Afghans. Although marrying cousins is quite normal, not all of us marry our cousins. Surprisingly most of us in west marry from other families. Even in cases of arranged marriages, it is still outside own families. Probably mother of the guy sees a girl in a gathering. Then she calls few places to identify the girl, and then find someone who is close friend of that family and asked them if they could talk to the family and organise a visit.

Another thing, the girl’s family do not usually approach to a man or to his family or in Rachel’s terms “auction off” their daughter. In majority of cases, even if it is a love marriage and the two know each other, fell in love and all, when families get involved, the  man’s family would find out about the girl’s family. They then call and ask if they can visit, then they go to the girl’s house. Get to know them, talk about their son who is very respectful, educated and responsible who loves his family, etc. Similarly, the girl’s family would talk about how many other families are interested in their daughter, who is very pretty and educated and loves her siblings, etc. They never act desperate as shown in Rachel’s case.

Let us make one thing clear. It is not unheard of Afghan girl ending up with non-Afghan and non-Muslim guy, but generally nobody knows about such relationship until they are engaged and the guy supposedly converts to Islam and has a Muslim name. Yasin and Yousuf are in public demand. In addition, being in a premarital relationship is not something you would announce to everyone in your sister’s engagement. Therefore, when you turn up with a “date” people will talk about you. There is nothing surprising about it. You are an Afghan and supposedly a Muslim, so you should not engage in dating and whatever comes with it. Doing that and then announcing it in your sister’s engagement party is simply asking for negative attention and hurting and embarrassing your family. Unless, that is exactly your intention. Even those who date generally keep it a secret.

But the talk will not be “Oh I feel sorry for her mother.” or “Her poor mom.” It probably will come up, but in most cases, they will be like “Is that guy with Rachel? Oh man, he is in jeans. How embarrassing!” or comments like “Why is Rachel not wearing something fancy? After all it is her sister’s engagement.” “Is she dating an American now? What a shame!”

Here is another one, in an Afghan gathering the host family would try very hard not to make a scene. If Rachel tells her father that he needs to go to the doctor, the dad will probably say, “I will see”. Then Rachel will say, “Promise me you will, dad!” and then the dad will possibly get mad and without yelling, make an angry face saying, “Ok. I got it. I will. Now get out of my face with your crazy boyfriend.”

The rest of the Episode 8 was ok, I guess. It was those inaccuracies that got me thinking and wrote this. Perhaps, writers should do a little research before writing and making generalized statements.

 

 

The mosques of Allāh are only to be maintained by those who believe in Allāh and the Last Day and establish prayer and give zakāh and do not fear except Allāh, for it is expected that those will be of the [rightly] guided. –Al-Qur’an 9:18

Afghan Masjid

Afghan Masjid - Green Street view, Doveton

Afghan community in Melbourne has had a Masjid problem for a while now. The masjid is small and cannot accommodate the large number of congregation on Fridays, Tarawih prayer and Eids. Also there is not enough parking spaces which causes issues when there is a Fateha (ie the gatherings of people who come to pay respect for the family of a deceased person and make Du’a for the deceased and his/her family).

Building a new Masjid has always been a plan. However due to different reasons it has not been achieved. Recently the Masjid committee decided it was time to get moving and purchase a plot of land in Doveton to build the much needed Masjid & Community Centre. Alhamdulillah the community has pledged to help in every possible way to make this happen.

The task of designing the Masjid was given to my dear friend, Mr Homan Asiaee, who I must add has done a great job. The new Masjid will include a separate praying area for sisters and brothers. On the ground floor the main area will fit 650 worshipers. In the upper level, there is area for sister that will fit 250 people. There is also another small area on the ground floor for ladies. The masjid will have a lift for Muslimahs who may have problem walking up the stairs.

There is a multipurpose hall that can be joined with main praying area for the special congregation such as Eid prayers. The hall can accommodate up to 1000 people. The Masjid has a big car park and Inshallah the issues facing the community will no longer exist once the Masjid is built with the help of Allah (SWT) and generosity of the community members. All in all, it is a beauty!!!

 

I urge you, Muslim brothers and sisters to give generously for this house of Allah to be built and increase your Hasanaat. Rasulullah (May peace and blessing be upon him) said:

Whosoever builds a house (Masjid) for the pleasure of Allah, whether it be small or large, Allah builds for him a house in paradise. (at-Tirmidhi, Ibn Khuzaymah, Ibn Hibban, Abu Dawud, and Ahmad)

By providing a place to pray, one receives a reward for each prayer that is made and for any wayfarer who seeks shelter inside. The rewards for the prayer are multiplied each time someone performs their prayer.  Imagine if 1000 people pray in the Masjid every day, and from each of those prayers, people who contributed in building this Masjid will reap rewards.

May Allah make the initiator of this project successful and reward everyone who has and will contribute to building of this beautiful house of Allah.

 

Afghan Masjid Bank Account Details:
Commonwealth Bank of Australia
BSB: 063 427
Account Number: 10079059

To receive Masjid SMS news please text your name to 0428 030 619

Online donation is not available at the moment but as soon as it is, I will update these details

 
AFghan kid

Poor is getting poorer and rich is getting richer

First thing first, I do not like Karzai. I really don’t, but I can’t help feeling sorry for him at times. When he was offered the position of being a puppet of USA, he probably thought that he would go to Afghanistan, help NATO in capturing Osama and Mullah Omar, get some high-profile jobs and government contracts for his relatives, make some cash in the process from different sources, things will go better, US will leave and he would become the saviour of Afghans from whatever they thought they were fighting.

Didn’t work well for him, did it?! Well, he did most of those things, but now he is stuck in a situation that nobody likes him or trusts him. Northern alliance think he is helping Pakistan, Americans think he has a little too much sympathy for Taliban, Taliban know him as servant of America, people are sick of him because his government is very corrupt and incompetent. I would hate to be in his position right now!

He knows the issues and he knows that he is nobody’s favourite anymore. He tries to change things but it is too late for him. He constantly asks NATO to schedule a withdrawal of their troops, he encourages Taliban to make peace, he even once confronted his own brother about his illegal activities months before he was killed. But nothing seems to be going his way anymore. When I was in Kabul in 2002, I thought Karzai was doing some positive things and since he inherited a fairly peaceful Kabul city and surroundings, we didn’t believe American occupation would last this long.  At that time at least people in Kabul kind of liked him, because they copped it worst from Taliban’s social and recreational restrictions.

I am not a political analyst, but the way I see, the whole thing is one big mess. To be honest I do not see anything that is happening over there in a positive light. It is dim and grim; US  is supposedly staying until 2024 now, which by the way indicates how badly they have failed, insurgents have changed their strategy and are doing more targeted damage now and it is very clear from the recent assassinations that they are picking up momentum, corruption is through the roof, poor is getting poorer and rich is getting richer. Well, actually the last one is true about everywhere in the world.

Right now, I do not believe anyone has a solution for Afghanistan. It looks like they are letting chips fall wherever they may and nobody has a sense of direction. As a matter of fact there is no destination to have a sense of direction for. Walking blind and hoping the next step is the right one, or do we even care if the next step is the right one?

 

Afghan Bazaar, Dandenong

Dandenong is home of great diversity in Melbourne. Like other parts, there are people from different backgrounds living in this heavily multicultural suburb. Rightly so, it is known as the most culturally diverse suburb in Victoria.

Afghan businesses have flourished in Dandenong for the past 10 years or so. Specially, Thomas Street is home to many Afghan businesses including restaurants and takeaways, Afghan carpet and rugs stores, Afghan groceries and more. In 2009 after the successful precinct branding of Little India, the Afghan traders advocated for the development of a recognisable brand for Thomas Street. The project was implemented by the City of Greater Dandenong in 2009 and later on the Afghan Bazaar Tour was developed for tourists to have a taste of Afghan culture in the heart of Victoria.

Recently the City of Greater Dandenong has undertaken Afghan Bazaar Streetscape Enhancement Project in Thomas Street Dandenong. Many members of the community have shown interest in this project. There has been face-to-face meetings and workshops, and the City of Greater Dandenong has welcomed opinions from all member of Afghan community.

Some days ago, I received an SMS from a friend suggesting that some members of Afghan community are advocating for changing the name of Afghan Bazaar to something that is either more specific to one ethnic group or strangely enough “Boat Bazaar”. Initially I thought it was just a rumour but this was confirmed by other more active members of the community.

Afghans have been part of the diverse Australian community for over 200 years since the arrival of the cameleers. Contribution of Afghan community is not a new trend that started after arrival of “boat people” but it is well-documented in Australian history. As a matter of fact the rebranding of Thomas Street as Afghan Bazaar was to recognise the contribution of Afghans from the time of the cameleers to date and not that of a particular ethnic group. This is visible from the branding logo.

Afghan Bazaar

Afghan Bazaar Brand

It will be a sad day for Afghan community in Melbourne to lose this recognition to a particular group of people who are trying to score political point. Besides, entertaining the idea of rebranding Afghan Bazaar to “Boat Bazaar” is unethical. This will encourage the arrival of illegal migrants that has caused a lot of issues in the country whether due to unfortunate deaths of boat people or political controversies.

I have always voiced my concern about arrival of illegal migrants and the fact that many people undeservingly used the prosecution of certain ethnic groups in Afghanistan in their advantage to get residency status in Australia. I am not suggesting that all those people were lying about their situation in Afghanistan, but I know for a fact that many people arrived to Australia from Middle East or Pakistan who have used their background to gain sympathy from Australian government and now they are promoting a dangerous and ethnocentric ideology. No matter what ethnic group we belong to, we came to this country as Afghan migrants and anyone denying this fact has a personalised and political agenda.

I do not believe the City of Greater Dandenong will agree to changing the name, however to know that there are people in Australia who would promote such ideas is a cause for concern.

Images from  the City of Greater Dandenong

 
Ramadan

Ramadan a month for Transformation

I know some inspiring brothers and sisters who make being a practicing, obedient Muslim look so easy. But it is not. It takes constant struggle and for people like myself who are not very disciplined it is very hard to keep up the pace.

I know several brothers and sisters who decided to start practicing and become better Muslims, but after some time, the enthusiasm wore off and in some cases some are left in worse condition than before. It is a struggle to wake up for Fajr. It is a struggle to pray Isha because you have delayed it and now you are sleepy. It is hard.

Lucky for us, once a year we have this amazing month. The month that the doors of Jannah opens. There is something in this holy month that make obedience to Allah (SWT) so easy. As a friend of mine once said and I quote:

I don’t know about you, but fasting is easy. Some over-hyping it to their white friends making it seem like we are super humans for doing it when we are not.

Fasting is not that hard if it was about stopping eating only. But Ramadan is not just about not eating. Ramadan is the month of hope that we pray our previous sins are forgiven and hope that we stay on the path until next Ramadan.  It is a month that should be foundation for the rest of our lives. We establish our good deeds in this month and should build up on it even after Ramadan. This holy month should be used as a transition phase for becoming a better individual, more spiritual, more practicing. How you act in Ramadan should be how you act always.

Like any other year, this year, we fast, we break our fast, pray more Nawafil, pray Tarawih, repent for our past sins. What then after Ramadan? Obedience is not only for Ramadan. A Muslim should be in the state of obedience to Allah (SWT) all the time. Ramadan is an opportunity to be ceased so that we repent our past sins and do not go back to our old habits once Ramadan is over.

Ramadan will end this year like the year before, but our commitment to doing good deeds should not end. There is always voluntary fasting, there are always extra Nawafil prayers,   getting up for Tahajud and giving from your wealth to the needy. If sacrificed your needs for one month, sure you can sacrifice your wants after that.  I am not suggesting separating ourselves from the world completely. What I am suggesting is that sure we can limit our self-indulgences and instead focus on deeds that bring us closer to Allah in the times other than Ramadan. Who knows whether we will see the next Ramadan or not.

So getting back to the original point of this, not eating food during the day is not hard. Even stopping yourself from using bad language is not hard for one month; it is the commitment that makes it hard. Will we  take this challenge this year and see if we can stay committed to what Ramadan has transformed us until next Ramadan? I sure hope so.

Our Lord! Let not our hearts deviate (from the truth) after You have guided us, and grant us mercy from You. Truly, You are the Bestower.” [Al-Qur'an 3:8]

 

 
Azita Ghanizada in Alphas

Azita Ghanizada in Alphas

American TV Channel, Syfy, has recently started a new TV show, Alphas. It is about a group of people with extraordinary abilities.

Azita Ghanizada, an Afghan-American is playing the role of Rachel Pirzad, An Afghan girl whose superpower is magnifying her senses.

Rachel Pirzad is not an assertive woman. She is portrayed as a woman with this amazing superpower who is very passive. The show does not directly link her passiveness to her background but indirectly shows some relevance.

Her family considers her condition as an illness and feels that this illness may cause her to live alone for the rest of her life.  In the story, her mother is trying to arrange her marriage with someone that she has not met yet. It also shows that her parents are obsessed with her way of clothing. The first scene she appears in episode 1 she is telling her dad that her skirt covers her knees. Very typical, indeed!

First, when I watched the show, I was a little angry for stereotyping. I even found it insulting. However, later I realized that they had actually done this very accurately.

There you have a young educated Afghan woman, living with her parents. She wears western style cloths and is not fully covered, however she is required to get married with someone that her parents choose. She is allowed to stay out late, however she must not date….

The story of Rachel Pirzad is very typical of a “modern” Afghan. It is the story of all of us Afghans in west who are stuck between the three cultures. We have our Islamic values, Afghan traditions and newly discovered western trends that for most of us are dominating. Most of us find it very hard to manage all that.

The society that we live in is not compatible with most of our values. Obedience to parents and respect is seen as weakness. At the same time, parents are overly protective and inconsiderate towards their children. If you notice, Rachel is not disrespectful to her parents. She is trying to have a voice and make her own choices. Her parents are pushy indeed, but do not seem to be the cruel type. All they want for their daughter is to have a secure future with a decent man from a decent family.

In the latest episode, there is a guy who has the ability to make people around him angry to the extent that they start rioting. In one scene when he uses his ability where all Alpahs are present, Rachel is on the phone with her mother. She becomes angry, starts yelling and telling her mother to shut-up and that she hates her, and that she will move out; the worst things that you could say to your parents, especially if you are Afghan. It is not clear whether she has decided to leave home or she was kicked out (which I doubt). However, she says to Nina (Laura Mennell) that she will stay with her cousin. Nina offers her to move in with her.

I am not sure why so much attention was paid to her life outside Alpha team. So far I haven’t been able to see any relevance. I am not sure how they are going to shape Rachel’s story in later episodes. It seems that there will not be good relations between her parents and her in the next few episodes, which is sad, really. She didn’t intend for it to happen that way and her parents are not bad at all. It cannot be said whether she will meet the man her mother found for her, or whether she will move back with her parents. Alternatively, it could be that her moving out becomes a pivotal point in her life and she can fully focus on her power.

We will have to wait and see.

Enhanced by Zemanta
© 2011 The Blog Etcetera Suffusion theme by Sayontan Sinha