November 21, 2007 at 6:38 am · Filed under Recent News
কবে তা মনে নাই, কিন্তূ গানটা অনেক ভালো লেগেছিলো প্রথমবার শোনার পর। সানজিব চৌধুরী আর বাপ্পা মাজুমদার এর গাওয়া গানটা মন ছুয়ে যাওয়ার মত। আজ বিকালে অফিস থেকে আসার পর তিথী যখন বল্লো যে “গাড়ী চলে না” গান যে গেয়েছে ও মারা গেছে, মনে করেছি যে হয়তো অন্য কারোর কথা বলছে। পরে অনেক খুঁজে bdnews24.com থেকে জানতে পারলাম যে ঘটোনা সত্যি।
মানুষের জীবনের গাড়ী যে কখন চলা শুরু করে চিরতরে অনেক দূরে চলে যাবে তা কেউ জানে না। সানজিব চৌধুরীর পরিবারের প্রতি রইল আমাদের গভীর সমবেদনা আর ওনার আত্তার প্রতি আমাদের শ্রদ্ধা।
November 8, 2007 at 8:29 am · Filed under Thoughts
কতদিন হলো দেখি না তোকে,
পাই না তোকে হাতের নাগালে
দীর্ঘশ্বাস ফেলে কাটে দিন,
আছিস লুকিয়ে চোখের আঁড়ালে
কতদিন হলো এই মন কাঁদে,
যদি ফিরে পাই সেই দিনটাকে
খোলা বাতাসে আকাশের নীচে,
নিশাচোর হোয়ে সারা রাত জেগে
কতদিন হল পাইনা যে খুঁজে,
সেই চেনা ডাক কানে ভেসে আসে
সেই প্রিয়ো মুখ দুটি চোখে ভেঁসে ওঠে,
রাতের আঁধারে স্বপ্নের ভূবনে
কতদিন হল পারিনি তো বুঝাতে,
এভাবে কি জীবন চেয়েছি সাজাতে
আছে সবি ভালো,
তবুও কি জেনো পিছু ডাকে আমারে
October 25, 2007 at 10:04 pm · Filed under Thoughts
কাঁদা মাখা জীবন
কাঁদা মাখা মন,
কাঁদা মাটি আঁকড়ে ধরে
চেয়ে থাকে মন।
October 5, 2007 at 11:06 pm · Filed under Codes
While developing the web applications with PHP I have made my own small function library. In this library I have few functions that I use very frequently. One of the functions that is used more often is echo_d(). The purpose of this function is to check a variable to see if it is empty or not set; then based on the check result it either prints a default value or the value of the variable.
This is a simple function that saves me a lot of time and keeps my main codes cleaner. So here it is.
function echo_d($var, $def)
{
$var = trim($var);
echo ((isset($var)) && (!empty($var))) ? $var : $def;
}
When to use this function? One of the most common places I use this function is in the reports. When I am generating reports for anything I always have to check whether certain value is in the database; it prints a default value if it cannot find one. The usage of this function in the scenario is something like:
$lastLoginDate = $rowsFromDB['last_login_date'];
echo_d($lastLoginDate, “—”);
This function can be expanded to make it more versatile but I have found this tiny little function very useful.
–
Thank you.
September 27, 2007 at 9:18 pm · Filed under Personal News

Well it is that time of the year again!
On one side it is the joy of the day and on the other side is the sorrow of loosing another precious year from my life.
When I was in Bangladesh I used to take this day off to spend the day with my family and Tithi. In the morning I would have gone out with Tithi, may be buy a cake and cut it in my car. Celebrating the time together. Later in the day my mother used to cook some nice dishes for everyone. Last year, in Canada, I spent all day in office - my new job at that time. Later in the day I cut a cake at my brother’s house.
This year my parents and Tithi are with me. Last night at 12AM we all ate a cake bar. Today my mother and Tithi will be cooking Biriyani which we will eat after Iftar. I am now in the office. Writing this blog entry. I have some documents to prepare for my office project. Growing old every minute. The feelings are not same as it used to be. May be I have changed over last year, the way I look at life.
Somewhere I read that the life is like a chocolate. It is tasty and more you taste it the more it will finish. As soon as it is all gone you will feel “Oh I wish I had more!”
I don’t know how long I shall live. I hope as long as I do, I will make everyone around me happy.
Now I lay me down to sleep
Pray the lord my soul to keep
If I die before I wake
Pray the lord my soul to take
– Enter Sandman (Metallica)
I treasure every moment of my life and I would like to thank every person I have come to know so far in my life. I hope next year I will be still be here to share my thoughts with you all.
At my mid twenties….I’m one step closer to the eternity….
–
Thank you.
August 31, 2007 at 11:51 am · Filed under Resources
It is called Image Menu and uses Moo Tools. I found this example on AjaxRain.com which is a vault for Ajax, Javascript and DHTML examples. The demo is located at PhatFusion.net and it also lists the features, usages and options.
After I downloaded the Javascript and CSS I changed the menu of my own site. With the new funky looking menu, I’ve decided to change the whole theme of the site and now it looks like this. I am not sure how long this will last, as I’ve tried many funky stuff before but eventually I turn back to my old and simple looking site. Try it yourself and have fun.
August 31, 2007 at 11:32 am · Filed under Interest, Playground, Resources
Today my new class LinkMeIn was released on PHPClasses.org. I have developed this class about couple of months back but did not have enough time to sit and arrange the files to upload on PHPClasses.org. After Grab Yahoo and MySpace Profile Updater classes this is my third class for same type. This class allows any registered LinkedIn.com user to enter their login information and get the contact list. The list is returned as an array or RSS 2.0 format.
I will update LinkMeIn class in future to add more functionalities to it. For the time being if you want to test it, please visit the LinkMeIn Demo location. To report any bug please use PHPClasses.org Support Forum and if you want to contact me directly please go to the Contact section.
–
Thank you
August 24, 2007 at 10:07 pm · Filed under Interest, Playground, Resources
I have added a new functionality for the Grab Yahoo class. Soon after I released the patch, I figured out that I could add this new functionality which did not take me much time to implement. This new feature will allow you to grab your Yahoo! Calendar in an array format.
Using Yahoo’s calendar export feature, I grab the CSV file and parse it to form an array. This was a very simple addition as it uses same method as Address Book parsing. Only thing that was different was the way I had to parse the CSV, which Yahoo creates for Outlook. I don’t have any further plan to upgrade this class but do have other plans to build similar web service based classes.
Please download the latest version of grab yahoo class (v.1.3) here.
–
Thank you.
August 20, 2007 at 10:57 pm · Filed under Interest, Playground, Resources
Last week suddenly my Grab Yahoo class stopped working for Address Book section. After Mr Mandy Singh reported the bug on phpclasses.org discussion board I started digging to resolve the issue.
When requesting the address book CSV from Yahoo a value for the key “crumb” is sent in the query string. Earlier Yahoo never checked for the validity of the variable but they have changed the way it is used. Now they check if the value for “crumb” is valid or not. As my script was using a predefined value and it has expired, Yahoo server could not validate. Yahoo was showing an error stating “Invalid or missing crumb”.
I modified my class so that it first loads the page from where request for the CSV is made. From the source of the page, it locates the latest value for crumb assigned by Yahoo and uses that value to send request for the address book CSV file. It is now working as expected. If you find any bug please report it on phpclasses.org discussion board.
Please download the latest version of Grab Yahoo class (v. 1.2.1) here.
–
Thank you.
July 28, 2007 at 2:13 am · Filed under Recent News
Today I was reading news on The Daily Ittefaq site and when I scrolled down to IT Corner section the first article caught my eyes. It was titled “Hariye gelo cyber jouno oporadhider tothho” (Cyber sex offenders’ data was lost). I was on Google News this morning and I could not recall reading such news there.
After I read the article I searched for a long time on Google, BBC News and everywhere I could but could not find such news! In short TDI reported that out of 29,000 sex offenders found on MySpace.com profile data of 700 offenders were lost. It also reports that it was published more than four times in past two months on the company’s website.
From what I have found so far is some relevance with the numbers mentioned in the article. From BBC, Google, MSN and few other places I have found that MySpace.com has barred 29,000 sex offenders found on their social networking site. This number is four times higher than it was reported about couple of months earlier. Previously in May the site found 7,000 offenders.
I did not try to match every bits and pieces of the report made by TDI but so far only only number of offenders matches against the report made by worldwide media. It is really sad to see such bad reporting. Even though I could not find anything relevant that TDI reports, I will be happy to see anything that proves their report is correct. I do not know the editorial process of our newspaper and who approves all these news without making sure it is correct but it is really bad for people in our country! They are given wrong information and that is just not because someone found it wrong. But the person failed to translate or understand what was being reported on millions of news sites and newspapers.
All these raises a question “What is our news reporters’ standard?” I am not being rude to anyone and I know there are many excellent news reporters in our country who are giving their 100% effort in finding the correct news for Bangladeshi people. But these kind of weired and wrong news really puts a bad impression.
Please improve the quality of news published and let people know the right thing. Do not just publish for the sake of running your business!
« Previous entries ·
Next entries »