Ehsanul Haque

Welcome to my personal site & blog

12 January
0Comments

Grab Yahoo class is in “coma”

Grab Yahoo class was one of my works that has been used by many people around the world. Since I released this class I did  not have a single month without comments or questions or suggestion about this class. Some people have copied the class, released it under their name (simply taking out my comments and added their own) to increase traffic to their site probably. But more importantly this class was appreciated by many. This was one of my finest contribution to the open source world.

How did I come up with this idea?

Well, I cannot remember which user group but in one of the groups I participate in had a discussion over if PHP can pull data off from places like Yahoo and use it for some purpose. Users on the group said this can be done (easily) with Java, but cannot be done with PHP. So I started researching over it. I found the cURL extension for PHP which seemed the good candidate to do the job. So I started working on it. After days of coding I finally wrote a script that will allow someone to login to their Yahoo account and fetch data from their address book. Initially I simply had a script but then I converted it to a Class allowing people to grab their address book, messenger list, number of new emails and calendar data.

What is happening now?

As per the title of this post this class is in “coma”. The reason is the update to Yahoo address book export mechanism. They have placed a CAPTCHA validation page in the export feature and, therefore, my Grab Yahoo class cannot go any further to grab the content it needs. Same thing happened with the LinkMeIn class which stopped working after LinkedIn added the CAPTCHA validation.

Why is this class in “coma”?

I have looked at the Yahoo address book export feature and found the CAPTCHA validation which will not allow the class to work. But I’ve not done my complete research on it yet, to make sure there is no other way to make this class functional. So, for the time being, this class is in “coma”. If I fail to revive this class I will probably officially pronounce it “dead”.

Can you help?

Yes, of course, you can. I hardly have time, these days, to sit with these side projects. If anyone from the community has time to research and help me revive this class it will be appreciated. Your name will go into the credit section of the class, well that is all I can offer!

30 November
0Comments

Import contacts from Blackberry to iPhone 3GS

If you are switching from Blackberry to iPhone 3GS, you must be trying to import all your Blackberry contacts to iPhone 3GS. When I switched to other phones before I always copied all my contacts to SIM and import them to the new phone. Most of the time the format would be different for the phones so you will end up editing the contacts. But with Blackberry to iPhone 3GS the process was really simple and clean.

I downloaded Blackberry Desktop Manager on my Mac Book Pro. After installing the BDM I had to reboot my Mac. After Mac restarted I plugged in my Blackberry on USB and started BDM (Blackberry Desktop Manager). Synced the contact with my Mac Address Book. After it was done I plugged in my iPhone 3GS with Mac and synced it using iTunes.

In few minutes and with few easy steps I’ve all my contacts on iPhone 3GS from Blackberry. I didn’t try to do it on my PC but I believe the process will be close to Mac, if not similar.

Enjoy!

22 June
0Comments

How to delete a locked file in Windows?

Sometimes when you try to delete a file on Windows it says file cannot be delete as it is used by another program; you must close the program to delete the file. Well, almost all the time you actually know which program to close in order to delete the file (also rename the file). But today when I tried to delete a file (which was not open in any program nor did I use this file for over three months) Windows was showing the message. You cannot really say which program or process is using it. So I downloaded Process Explorer from Microsoft’s site which you can use to see which process or program is using the file you are trying to delete.

After you run the Process Explorer go to “Find” menu and click on “Find Handle or DLL …” (Ctrl+F). Type in the file name (full or partial) you are having trouble deleting or renaming and hit Search. Process Explorer will list all the processes or programs using this file. When I searched for the file I was having problem with it showed that the “Explorer” is using it! So what can I do in that case?

From “Task Manager” if I kill the “Explorer” process I cannot browse to the folder so using “Task Manager” I ran “Command Prompt” and from command line I changed directory to the desired location. Typed the command to delete the file “del filename.ext”. I was able to delete the file and then using “Task Manager” I started “Explorer” again. It was easy but “Process Manager” made it easy to find the process. So many hidden stuff that we have on Windows!

22 January
3Comments

Congratulations to Shakib Al Hasan

This is one of the great moments for Bangladeshi cricket as Shakib Al Hasan has topped the list of ICC’s Top 10 ODI all-rounders. Bangladeshi crickets have made their ways in the ICC top ten list for both ODI and Test in past but this is the first time someone is ranked number 1.

Shakib Al Hasan ranking #1 on ICC's ODI top ten all-rounders list

Courtesy – ICC Cricket Ranking (http://www.icc-cricketrankings.com/)

As you can see (screenshot taken from ICC’s official website) Shakib is ranked with 380 points followed by New Zealand’s Jacob Oram and England’s Andrew Flintoff. Shakib also ranks 10 in the list of top 10 Test all-rounders, which is not bad at all. He is younge and performing really well for Bangladesh. I really hope that he keeps up the performance and do the best things for Bangladesh cricket team. I wish him all the best and congratulations.

22 August
1Comment

Photography

It has been a long time since I posted something. Anyway, for past few months I have grown a new hobby – photography. Last year when I went to Bangladesh, I bought a Fujifilm FinePix S9600 SLR camera. I have not had too many chances to use it until I went to Québec City. I enjoyed shooting photos there, but the picture quality wasn’t that good. Since then I started reading the manual whenever I could; try the tricks and tips on the camera.

My creation

I am still learning and sharing my photos on different groups on Flickr. My photo gallery is http://www.flickr.com/photos/ehsanul/ and I have joined few groups related to Bangladeshi photographers. These days people are making comments on my pictures, tagging my pictures as their favorite etc. These are really inspiring.

Trying to learn more from the pictures everyone uploads. It is nice to see how people openly share their creativity with the world and the power of internet has brought us closer. We can now share, learn, teach and do everything, which was probably impossible about 15 or 20 years ago.

Photography has become my hobby, and feel that it will become my passion very soon. Whenever I go out, I try to take my camera with me. I also have a point and shoot camera so that I can carry it wherever I am going. But overall the experience is cool. When I take a good shoot, it makes me feel great. Sometimes one or two pictures turn out good among ten or fifteen shots I take. Even that feels great, because one good shot pays off.

18 June
0Comments

24 Hours and 8,587,342 Firefox 3 Downloads

The Download Day for Mozilla’s Firefox 3 is officially over and the total downloads of Firefox 3 at 3.16PM ET on 18th June 2008 was 8,587,342 despite the initial hiccup. Due to the technical problem Mozilla had yesterday the official start time of the Download Day was moved to 3.16PM ET of 17th June 2008.

Mozilla will now wait for Guinness to review the attempt. It may take few days before we all know if the record was officially entered as Guinness World Record.

17 June
1Comment

Can Mozilla set the Guinness World Record on Firefox 3 Download Day?

It was kind of an excitement to participate in Download Day for Firefox 3. The download was scheduled to start at 1PM ET on 17th June 2008. The hype was so huge that it basically overwhelmed the web server. The main or parent Mozilla site was out of reach for about 20 or 30 minutes after 1PM ET, and the Spread Firefox site is still down (at 3.10PM ET) since the official release time.

I was able to go to Mozilla site to download the latest version. I installed it without any problem, although many have reported that FF3 crashed after installation and had to roll back to FF2. I subscribed to participate in Mozilla’s attempt to set a Guinness World Record. I received the email notification to download FF3 at 3PM. Although I’d already downloaded FF3, I wanted to see if there’s anything different at the link provided in the notification email. The site was unreachable for few minutes, but when I finally got into the page it was showing FF2 logo and link. I downloaded FF3 from the same link, about 15 minutes before I clicked on the link again from the email. The page rolled back to the FF2 download page. I could not stop myself from hitting refresh and the page that loaded after 2 minutes of wait time had Firefox 2 logo, link to download FF3, CSS was broken and all sort of messed up information.

I am sure Mozilla have planned for scalability to adopt to the load, but unfortunately that wasn’t enough. Spread Firefox site is still down. I saw on that site that Mozilla had download parties page, encouraging people to help set the record. I think that has also gone down. I had the feeling this will happen, but was really hopping it wouldn’t.

I hope Mozilla can set the record. If it does, I would know I was part of it. :)

20 July
3Comments

Where have I been?

It has been a long time since I last posted anything on the blog. Thanks to those who cared to email me for not writing anything. Well I have been very busy for last few months. In May I was preparing to go to Bangladesh. Initially my parents were supposed to go back to Bangladesh but unfortunately they could not go. Due to the accident that my father had few moths back doctor asked him to stay for few more months. Well I left on June 9th with my eldest brother, who migrated to Canada with us (my parents and me) last year.

After a shocking and disappointing 41 hours flight back to Bangladesh on Etihad Airways I had to start shopping from very next day! I didn’t even have time to contact anyone. Everyone had to come and wait for me at Kolahal (my house’s name in Dhaka). I would like to apologize to many of you whom I should have contacted and met. I promise to do so next time I visit.

Well on 22nd June a reception party was held. Some pictures from the party is on my Flickr.com account. After that Tithi (my wife), Shakhhar (my cousin), Pia (Shakkhar’s wife) and Mishuk (my another cousin) decided to visit our village at Shahjadpur. We had only one night to stay there and two whole days to spend. We had most out of our time there. Took around 832 pictures during that trip. Few of the pictures are on Flickr.com now.

Well as we all know time goes by just like that. It was a good trip, yet was so short. I feel I should have done a lot more than what I have done this time. I wish I had more time to spend there. On 3rd July I took the flight back to Canada with Tithi. Now she is here with me. She is doing good here but misses her family, friends and funs. Hope we can fulfill our hopes and dreams.

It was really good to be back to my own land. I hope to return to it for good, very soon!

10 May
10Comments

All Time Best Bangla Songs

BBC Bangla has recetnly announced The All Time 20 Best Bengali Songs.

BBC Bangla listeners nominated their 5 choices for the top list. Based on the nominations BBC Bangla created the top 20 list.

Visit the News page of BBC Bangla to listen to the songs. Here is the list of the 20 songs.

1. Amar Shonar Bangla
Author: Rabindra Nath Thakur

2. Manush Manush er Jonne
Original Author/Composer/Singer: Vupen Hazarika
Translated to Bengali by: Shibdash Benarjee

3. Amar Vai er Rokte Rangano Ekushe February
Singer: Abdul Gaffar Chowdhuri
Composer: Altaf Mahmud

4. Coffee House er Shei Adda ta aaj aar nei
Singer: Manna De
Author: Gouriproshonno Mazumdar
Composer: Shupornokanti Ghosh

5. Ek Shagor Rokte er Binimoye Banglar Shadhinota Anlo Zara
Composer: Apple Mahmud
Author: Gobindo Haldar

6. Ami Banglai Gaan Gai
Lyricist & Composer: Protul Mukharjee
Author: Mahmuduzzaman Babu

7. Mora Ekti Fulke Bachabo Bole Judhho Kori
Author: Gobindo Haldar
Composer & Singer: Apple Mahmud

8. Tumi Aaj Koto Dur
Singer: Jogonmoi Mitro
Author: Pranab Roy
Composer: Shubol Dash Gupta

9. Ek Nodi Rokto Periye
Author & Composer: Khan Ataur Rahman
Composer: Shahnaz Rahmatulla

10. Dhono Dhanno Pushpe Bhora
Author & Composer: Dijendhrolal Roy

11. Muse Jawa Din Gulo Amay Je Pisu Daake
Singer & Composer: Hemanta Mukharjee
Author: Gouriproshonno Mazumdar

12. Salam Salam Hazar Salam
Singer: Mohammad Abdul Zabbar
Author: Fazle Huda

13. Joy Bangla Banglar Joy
Author: Mazharul Anwar
Composer: Anwar Parvez

14. Khachar Bhitor Ochin Pakhi
Author: Lalon Shah
Singer: Farida Parvin

15. Ekbar Jete De Na Amar Sotto Shonar Gaaye
Singer: Shahnaz Rahmatullah
Author: Mazharul Anwar
Composer: Anwar Parvez

16. Karar Oi Louho Kopat
Author: Kazi Najrul Islam

17. Ai Padma Ai Meghna
Singer: Farida Parvin
Author & Composer: Abu Zafar

18. Chaal Chaal Chaal Urdhogogone Baaje Madol
Author: Kazi Najrul Islam

19. Ek Tara Tui Desher Kotha Bol
Singer: Shahnaz Rahmatullah
Author: Gazi Mazharul Anwar
Composer: Anwar Parvez


20. Tumi Ki Dekheso Kobhu Jiboner Porajoy
Singer: Mohammad Abdul Zabbar

Source: “Shorbo Kaaler Shorbo Sreshtho Bangla Gaan” BBCBengali.com 3rd May 2006 BBC Bangla http://www.bbc.co.uk/ben…..sheragaan.shtml

Among the list of 20 personally I like “Ami Banglai Gaan Gai”; ranked 6th in the list. No matter how many times I listen to the song, I never get bored of it. If I were to submit my favorite 5 songs, my list would have been:

1. Ami Banglai Gaan Gai
2. Coffee House er Shei Adda ta aaj aar nei
3. Muse Jawa Din Gulo Amay Je Pisu Daake
4. Bashi Shune Aar Kaaj Nai
(not in this list)
5. Manush Manush er Jonne

~~~EnJoY~~~