Saturday, September 29, 2007

Ahmedinejad Intervew

I liked this interview, it was very productive I think... it wasn't the standard ahmedinejad-bashing that goes on on fox news, cnn, etc... where they constantly look for where he messes up instead of listening to what he has to say.

Also, the lady translating most of the interview is doing a pretty good job compared to other translators. FWIW of course, i don't speak farsi, but i can still kinda tell that she's better.

And btw, isn't Viddler awesome, soo soo much better than youtube. The only pain is that, and this is a really big deal, that it doesn't work in Firefox all the time, and I haven't checked Safari at the time of this writing.

If you want to skip around, at the bottom click on "progressive". This will change it to streaming, and you could seek to anywhere in the video. Dude, viddler is awesome.

Good stuff:

Tuesday, September 25, 2007

Man this guy's hilarious

Russel Peters... I've seen his other video about the desi guy buying something from the chinese guy at a flea market, but i had never seen these. Good stuff.

(If you're on facebook you have to click "View Original Post" above to see it)









Here's another one:
http://www.youtube.com/watch?v=3OhIAAKFGws

Tuesday, September 18, 2007

Going for Hajj this year?

Well, i've got some tips for you. My wife and I went for hajj last year alhamdulillah. We went with "hilal hajj and umrah" ( hajjpriceline.com )... don't go with them, haha. Seriously, don't. You can e-mail me if you need more info. My email addy is sonyplaystation at the website excite.com (so replace the words "at the website" with the @ sign).

Who should you go with?

After talking with other hajjis, and while at hajj, I have found that the best hajj groups are:

  • Al Madinah (or is it El Madinah, or (E|A)l M(a|e)dina(h?) in regular expressions), not sure, but this is imam tahir anwar's group. If i were to do hajj again, i'd go with imam tahir's group. In fact i would have, but the hajj schedule wasn't matching mine.
  • Airlink, this is khalid qureshi's group. the group that went with shaykh mukhtar magroui last year (2006)
  • Dar us salaam. This is the luxury group. IMO, too much luxury. But if u go with them, shouldn't be any harm. After all, you could choose to sleep on the floor on the days of hajj if you want to.
Who not to go with?

Hilal Hajj and Umrah. There's some other chicago-based hajj group associated with them, don't go with them either. I'm not going to give details publicly.

What to look for in a Hajj group?
Make sure, make sure, make sure!!!! that you drill your hajj group provider with these questions before you commit. You should also get it in writing, maybe print out their website or something.

  • Exactly which hotels will you be staying in. I highly recommend Makkah Hilton or Makkah Hilton Towers (sometimes simply known as "Makkah Towers", but double check anyway). They're both the same basically, the first one is slightly more luxurious, but who cares. Here are some other good close hotels: (note to self: update this later, i think it was al meridian).
  • Make sure the hotel is within a block or two of the haram. A further hotel means possibly missing a prayer at the haram, each prayer is with 100,000 times the reward, this is not small peanuts.
  • Make sure the hotel has "american toilets" and not a hole in the ground in the bathroom.
  • When they say that the hotel is X-star, subtract one or two in your head. U're not there for fun, so a 4-star or 3-star should be fine.
  • Same goes for the hotel in madinah, the hotel we stayed in was the "ansar diamond". It was great. There are also two more, they're named like "ansar gold" and like "ansar silver" or something, they look fine from the outside, but that isn't much info. Imam tahir's group, and Airlink stayed at Saffir or Safir or something, that was great too. Here are some others that seem to be good too in that area: hilton and movenpick. There's basically a square half mile or so of very nice hotels, they should all be fine. There's one that's really big and simple, i think its called "tayyibah", it's simple and has american toilets. My wife's relatives from PK stayed there, we went in, it was nice, not fancy, but nice. If I haven't mentioned your goup's hotel, at least ask them if they are in the same area as the hotels i mentioned. These hotels are BEHIND the haram, so if you were to enter on a full day, you'd get the last row and not have to walk around? the opposite side of the kiblah, you'd face the kibla. The prophet's (pbuh) grave is on the opposite side. get it?
  • This is EXTREMELY IMPORTANT: ASK YOUR HAJJ LEADER: "Where will our tents at minnah be?" ESPECIALLY if you will have an elder with you. There are only two possible places: One is RIGHT BY jamarat, i think they call them the "luxury tents". The other is way in the heck on the other side, it's the furthest place possible, its at the border of muzdalifah. If your hajj group says that it's a "45 minute walk", do not go with them. I think it was more than 45 minutes, but that's a good paki-round-off. We're talking about a 3+ mile walk twice a day for 3-5 days, plus super long tawafs and safa marwah, plus all the walking u'd have to do to get to the haram cuz ur bus driver drops you off far away. On top of that, its VERY difficult to navigate through minnah, so that 3+ mile walk can easily turn into a 5+ mile walk. I've heard of people getting CRAAZY lost, if ur that far away, this is very possible. This bullet point is the most important of all. If you have heard of how far the Paki/Indian tents are, well this is further. That being said, it's not the end of the world if you do end up in one of these tents, u'll come back alive inshAllah, haha. Basically all the hajj groups i have heard of that go from the US get the tents right by jamarat, except very few cheapo ones.
  • Ask about food. Who pays for food? is food included? which days? If they say only on the days of hajj, you shouldn't go with them IMO. Normally for decent hajj groups, they say its the "hotel buffet", this is good. These hotel buffets are too luxurious, but its better than the alternative: 3 weeks of fast food. I actually gained weight because of this, despite all the walking. You don't have much of a choice on the street, its all super oily. I mean alhamdulillah, but still. I remember the food being very different from when i went there as a kid, as a kid i remember all the different cultures selling authentic cultural food. It was the best. Now it's like McCultural food.
  • Muzdalifah: some of the hajj groups, such as I think dar us salaam, don't have you spend the entire night at muzdalifah, instead they make u spend half the night there. Your are supposed to spend the night at muzdalifah, unless you TRUELY have an excuse. I'm not going to state a ruling on this, so ask a proper scholar, shaykh hussain covers it in the lecture series. You should double check this. Imam Tahir's group and Airlink definitely spent the night there. Alhamdulillah, my group did too.
Take a really good sleeping bag
My memon-ness kept me from getting a good one. That was one of the most difficult parts of hajj for me, and it was all my fault. Sleeping bags have like a temperature number on them when you buy one, that tells you how much temp ur sleeping bag could handle. Get one that could handle like 40 degrees or less (less is more). Some people had one that could handle like -100 degrees, and they were sleeping like babies while i was freezing all night. Mine said like 60 degrees, that was the cheapest $15 dollar one, and that didn't cut it.

Soap:
People make a big deal about not being able to find soap here that's TRUELY scentless for the days of hajj, its true, its not truely scentless at like walgreens. But at the Bin Dawood mall there, they sell scentless soap, it really does seem scentless to me, you could check it urself. I asked imam tahir about cetaphil, and he said it has a scent too.

Ur immunization records:
You know how you have to submit them for ur visa. Well I did, and they lost them. Make sure u make copies. Make copies of everything.

How to prepare religiously for Hajj:
Shaykh Hussain Abdul Sattar has a lecture series on Hajj:
http://www.sacredlearning.org/classrooms/hajj/index.htm
It is ABSOLUTELY EXCELLENT. Seriously, it is UNBEATABLE. He is extremely detailed. My wife took detailed notes on his lectures, let me know if you want it. It is around 10-15 hours of lecturing, you should listen to it all. If you need to, buy an MP3 player, and consider it a hajj expense, it will be worth it iA.

Doing "Number 2" during the days of hajj:
I think even the "luxury" tents have this problem: The toilets are the hole-in-the-ground kind. So either you learn how to use one of those, or you hold it in for 5 days (ouch!), or you do this:
When the bus driver drops you off during hajj for your fardh tawaf at Makkah, they usually drop you off at the same place: The opposite side of baab abdul aziz / baab ul fahad / bin dawud / around where safa/marwah is. Right there is a fancy looking hotel, i forgot the name, but it has a black sign with gold writing. You go inside, make a right, and then a left. And there are bathrooms. Good, clean, american toilets. Oh yes. Use the bathroom then, do yourself a favor. Either that or learn how to use a hole-in-the-ground, which is a valuable technique to learn by the way.

A very useful tool to check up on your Hajj group
Go to http://www.archive.org and enter your prospective hajj group's website. You will be able to see their website as it looked in the past. So for example, here's hilal hajj's website when I went:
http://web.archive.org/web/20061223024310/hajjpriceline.com/index.asp
And here it is today:
http://hajjpriceline.com/index.asp

Just from that you see that there is a $1200 price difference this year (as is the case with many/all other hajj groups i hear... I think they are making up for the massive losses they incurred last year because of the delay in visa approval). You can also see many other things, such as a difference in amenities.

Now that i've scared you straight:
Even though my group leader was horrible, it was still an experience of a lifetime. It was amazing, and my wife and I strongly look forward to going for umrah one day. To see the ka'bah in real life, to see the muslims from all over the world, to see how soft we've become compared to the rest of the world, to be in a place where the reward is so high, to be in the place where the Prophet pbuh was, where his sahabas (ra) where, where basically all top ulema have been. It's really really really something to look forward to. May Allah accept your hajj.

Wednesday, September 12, 2007

I did it in Java using Blinkenlight's JID3 library

(see my post below)

The python libraries didn't cut it for me so i wrote it all in java.

It's very simple, here's how it works:


for each file or subdirectory in ./ call myFn(file)

myFn(file):
for each file/folder f:
if f is a folder call myFn(f)
if its a file and an mp3:
update the ID3 tags using JID3 // there are very simple f.setArtist(), f.setTitle() APIs in there



(funny how my pseudo code looks more like python now, i think i'm falling in love with a new language... but i guess Muslim guys are allowed to be married to 4 programming languages, hyuck hyuck)

and i parameterized it so taht i could use it for other lectures... this is a very common task that i often have to do, i have like > 10GB of islamic lectures that need organizing. Until now i have been using the simple folder/subfolder/filename technique.

only problem with all this is that it's slow... i think the JID3 libraries read in the entire track as a stream -- which stinks cuz islamic lecture tracks can be like 1.5 hours long.

Here it is, and it includes the actual binary, source code, the JIDE3 library, and the Ant build.xml:

http://www.savefile.com/files/1052896

(click the orange "Download" button, it kinda looks like an Ad but it isn't)

Here's how you use it, you put Id3Tool.jar and JID3.jar in the folder where you want to modify the tagging of the MP3s. So for example i have a "suhaib webb" folder, and in it i have a "purification of the soul" folder. In the "purification of the soul" folder i have a bunch of folders representing CDs so like CD01, CD02, etc

So i would put it in the "purification of the soul" folder and run this via commandline:

java -jar Id3Tool.jar "suhaib webb" "purification of the soul"

Instead of running it via commandline you could edit the .bat file in a text editor, and that'll do the trick as well.

Oh and if it gives you a weird "incorrect version in class files" error, i think its cuz i'm using JDK 6 and compiling for the Java 5 format -- it should work, i think its a bug in the JDK 6. To fix this, either recompile using JDK5 or just get JRE 6 from java.sun.com. I ran into the same problem when working on one of our internal apps, trying to deploy onto an instance of Tomcat running on JRE 5. I use Java generics which are new to Java , and love them, so if u have like Java 1.4, it's time u upgrade :-)

Monday, September 10, 2007

Python and ID3 tags

What's a brother gotta do to get a decent MP3 ID3 tag python library.

So i was prepping for ramadan right... i got this "purification of the soul" by imam suhaib lec series and the "code of the scholars: usul al fiqh" by muhammad alshareef one as well... i wanted to put it on my iRiver and iPod so my wife could listen to it.

But the problem is that those pieces of crap go by ID3 tag, not filename (like my handy dandy PDA)... so i set out on a journey to write some code to dynamically populate the ID3 tags on all my mp3s based on the folder/file names ... y'know so that they could run in order and be grouped properly... instead of everything being under the "unititled" artist/album.

So i churn out my python code, and it looked fine. Nothing fancy, simple os.listdir's etc. And i get an ID3 python library -- the first one that pops up on google. Look up the docs, seems straightforward, and i'm on my way.

i wrote all the code, the code did all the tagging, and it was all great

until i put it all in windows media player that is.

it turns out that the library i was using was for ID3 version 1.2 (the first hit for "python id3"), and what's out now is version 2 or 2.3 and that's waht all the media players use, i think even the flash player. So crap, what a waste of time.

I did more googling, but only found out there is no good id3 v2 library. There's one called like ID3v2, but it's crap... its too low level, i don't have time to worry about byte placement stuff. I want simple id3info.title = "hi" kinda stuff.

but yeah, frustrated. What's a brother gotta do to get a good ID3 python library.

Well anyway, i did see an excellent java ID3 library, i think i'll give it a try

Friday, September 07, 2007

A Cheesy fatwa

And a cheesy blog title........... ok, i'll stop with the puns

http://muslimmatters.org/2007/07/09/of-mice-and-men-the-cheese-factor

Shaykh Yasir Qadhi gave this fatwa, it's REALLY REALLY good. At first when i started reading it, i was very skeptical.... but after reading the whole thing i'm completely convinced.

It also reminds me of Shaykh Hussain Abdul Sattar's "Pearls of Purity" where he discusses the purity of water and the ability to use it for wudhu, ghusl, etc. ( http://www.sacredlearning.org/classrooms/pearls/index.htm )

Wednesday, September 05, 2007

Mufti Mudassir on "weak" ahadith

Mufti Mudassir Owais from Fremont, CA gave a really good lecture on this topic. It is TOTALLY worth listening to.

I was looking for a good explanation of this topic, the only good explanation i had heard was by imam zaid at a deen intensive where he was specifically covering hadith science, but unfortunately it wasn't recorded (as far as I know). Muslims really need to understand the whole "prescription-strength" versus "over-the-counter" hadith situation, there are a lot of really ignorant ppl going around bashing "weak" ahadith and causing all kinds of trouble.

it's in Urdu:

http://www.bayaans.org/akhirat/akhirat_dars23.mp3

you can also get to it from this page: http://www.bayaans.org/akhirat_aur_uski_manzilien.html

and click on: "Akhirat Dars - 23 (Hadith Ki Qismein - Dhaeef Hadith Ki Haqeeqat Aur Tafseel)"


Or you could click on my Odeo player: