ঘোড়ার ডিমের ফোন ব্যাংকিং – তারচেয়ে আমি বরং মুড়ি খাই বসে বসে

এইচএসবিসির এটিএম বুথ গুলোতে সবসময়ই একজন এক্সিকিউটিভ থাকেন। আমি ফোন ব্যাংকিং সার্ভিস সেটআপ করতে গেলাম কয়েকদিন আগে – দেখা গেল ফর্ম নেই, ভাল কথা – তা না থাকতেই পারে। আমাকে বলা হল পরের দিন খোঁজ নিতে – আমি আবার গেলাম পরের দিন। এবারও দেখা গেল ফর্ম নেই । এক্সিকিউটিভ যিনি ছিলেন তিনি একজন গার্ড কে ডেকে পাঠালেন ব্যাংক থেকে ফর্ম নিয়ে আসতে, আর আমাকে বলা হল মিনিট পনেরো মত বসে থাকতে। উনি ফোনেও ব্যাংকের কার সাথে যেন কথা বলে বললেন ফর্ম দিয়ে দিতে। মজার এবং একাধারে বিরক্তিকর ব্যপার ঘটল গার্ড যখন ফিরলম তখন, তার হাতে এক বান্ডিল ফোন ব্যাংকিং এর ফ্লেয়ার/লিফলেট – ফর্ম না। মেজাজ আমার তখন খুবই খারাপ, শালা সময়ের কি কোনই দাম নাই নাকি! পরপর দুদিন ঘুরলাম। আমাকে অনেক স্যরি টরি বলে বলা হল পরেরদিন আসতে – পরেরদিন গিয়ে অবশ্য ফর্ম পেলাম।

এর কয়েকদিন পরে ইন্সট্রাকশন আর পিন কোড সহ কাগজ পত্র হাতে পাবার পর আমি শুরু করলাম সার্ভিসটা সেটআপ করতে। কাগজপত্রে বলা আছে কিভাবে কি করতে হবে। ফোন করলাম, যান্ত্রিক কন্ঠ আমাকে বলল কি কি করতে হবে, সবই স্বয়ংক্রিয়। কিন্তু যখনই আমি আমার অ্যাকাউন্ট নাম্বার (ফোন ব্যাংকিং নাম্বার) ইনপুট করি ওপাশ থেকে আমাকে বলা হয় অনুগ্রহ করে কিছুক্ষন অপেক্ষা করুন, আপনাকে আমাদের কাস্টোমার কেয়ার রিপ্রেজেন্টেটিভের কাছে ফরোয়ার্ড করা হচ্ছে। আরে আজিব! আমি বেশ কয়েকবার ট্রাই করলাম কিন্তু প্রত্যেকবার একই কথা। সেদিন বাদ দিয়ে ঠিক করলাম আগামীকাল ট্রাই করব আবার।
পরেরদিনও একই ব্যপার – আজিব, আমি ঠিক করলাম ঠিক আছে তাহলে কথা বলা যাক – ওমা – ফরোয়ার্ড করতে যতক্ষন লাগে ততক্ষন আমাকে বেশ কয়েকটা অ্যাড শুনতে হল, প্রোডাক্ট প্রোমোশনাল

ওপাশ থেকে কেউ একজন (ছেলে) ধরে বলল “গুড আফটারনুন স্যার, কিভাবে আপনাকে সাহায্য করতে পারি” আমি তাকে বললাম যে আমার ফোন ব্যাংকিং সার্ভিসটা সেটআপ করা দরকার। এইবার সে আমাকে বলল “অনুগ্রহ করে আপনি আমাদের কল সেন্টারের সাথে কথা বলুন”। মেজাজ আমার আবার খারাপ, যদি আমাকে কল সেন্টারেই কথা বলা লাগবে তাহলে কাস্টোমার কেয়ার রিপ্রেজেন্টেটিভের কাছে ফরোয়ার্ড করা হল কেন? – আমি তাকে বললাম যে “ভাল কথা ব্রাদার, আমাকে কল সেন্টারের নাম্বারটা দিন”

এবার শুরু হল কলসেন্টারে কল করার পালা। সবগুলো নাম্বার বিজি, কোনো অটো হান্টিং সিস্টেম নেই। কিছুক্ষন পর পর আমি ট্রাই করেই যাচ্ছি। তো বেশ কিছুক্ষন পরে কপালগুনে কল ঢুকল – এইবার শুরু হল ইন্টারেসটিং পর্যায়। কোন এক তরুনী কল ধরে বলল “গুড আফটারনুন, দিস ইজ অমুক-তমুক ফ্রম এইচএসবিসি, হাউ মে আই হেল্প ইউ?”

আমি: আমার ফোনব্যাংকিং সার্ভিস টা সেটআপ করা লাগবে, সো কাইন্ডলি আমাকে অ্যাসিস্ট করুন কিভাবে কি করব
তরুনী: স্যরি স্যার?
আমি: ফোন ব্যাংকিং সার্ভিস টা সেটআপ করা লাগবে
তরূনী: ফোন ব্যাংকিং সার্ভিস?
আমি (আমার তখন মেজাজ খারাপ): আই’ভ গট অল দ্য নেসেসারি পেপারস অ্যান্ড ট্রাইং টু ইনিশিয়েট ফোন ব্যাংকিং সার্ভিস, আর ইউ ক্লিয়ার অর নট?
তরুনী: জি স্যার, আপনি কি ফোন ব্যাংকিং সার্ভিস নাম্বারে কল করেছেন?
আমি: হ্যা করেছি, সবগুলো ইন্সট্রাকশন ফলো করেছি ঠিক মত কিন্তু যখনই ফোন ব্যাংকিং নম্বর চাচ্ছে, ইনপুট দেয়ার পর আমাকে কাস্টোমার কেয়ার রিপ্রেজেন্টেটিভের কাছে ফরোয়ার্ড করে দেয়া হচ্ছে।
তরূনী: ওকে স্যার, আপনি কি আপনার ফোন ব্যাংকিং নাম্বার টা সঠিক ভাবে ইনপুট করেছেন?
আমি: হ্যাঁ, প্রথম নয়টা ডিজিট এবং শেষে এক। শুন্য শুন্য বাদ দিয়ে।
তরুনী: কারেক্ট স্যার, আপনি কি যখন আপনার কাছ থেকে নাম্বারটি চাওয়া হচ্ছে তখন ইনপুট করেছেন নাকি আগে?
আমি: পরে
তরূনী: ওকে স্যার আমি দেখছি
আমি: আপনি কাইন্ডলি আমাকে দেখে একটু জানান কি প্রবলেম
কিছুক্ষন পর: স্যার আমি দেখছি, তবে আপনি আজকে আর ট্রাই না করে আগামীকাল একবার ট্রাই করুন।
আমি: আমি অলরেডী গতকাল ট্রাই করেছি, আজকে আবার করলাম, কিন্তু সেম রেজাল্ট।
তরুনী: স্যার আপনার অ্যাকাউন্ট সংক্রান্ত আর কোনো কোয়েরী আছে?
আমি: স্যরি?
তরুনী: আপনার যদি অ্যাকাউন্ট সংক্রান্ত আর কোনো কোয়েরী থাকে তাহলে আমি আপনাকে সাহায্য করতে পারি
আমি: কাইন্ডলি আপনি আমার এই প্রবলেমটি আগে সলভ করুন
তরুনী: জি স্যার আমি দেখছি, আপনার ফোন নাম্বার টা দেবেন প্লিজ, এবং অ্যাকাউন্ট নাম্বার – আমি কিছুক্ষন পরে আপনাকে কল করে আপডেট দিচ্ছি

আমি তখন আমার নাম্বার দিলাম, অ্যাকাউন্ট নাম্বার ও দিলাম

তরুনী: আপনার নামটা স্যার?
আমি: হাসিন হায়দার

কল শেষ, এর পরে অনেক্ষন ওয়েট করলাম কলের জন্য – কল আর আসলো না। ঘোড়ার ডিমের কল! ঘোড়ার ডিমের সার্ভিস, ঘোড়ার ডিমের কাস্টোমার কেয়ার। যত্তসব স্টুপিড গুলারে বসায় রাখে কল সেন্টারে!

মেজাজ আমার এখন খুবই খারাপ – বসে বসে মুড়ি খাওয়া ছাড়া কিছুই করার নাই!

seven things, you may not know about me

originally started by tony bibbs it is a funny thing indeed. okay, everyone knows what the seven things is. i was tagged by emran and here goes my seven things

1. i eat too much chocolate and candy all the time :-s
2. i wrote my first commercial code in 2002, sold for $4500, but unfortunately i got only 300 🙂 – it was a localized transliterator and developed using VBS and VB 🙂
3. i started learning php in early 2003
4. i am an extreme fan of toys (specially cars and animals)
5. i suffer from severe multiple-ambition-disorder
6. i can’t sleep at night :-s it’s my work time. i goto bed at 5 and usually wake up at 11
7. i will not do any full time or regular job after i am 35

here are 7 people i would like to read seven things about them

1. manchu mahara
2. junal rahman
3. ehab
4. rayhan
5. shiplu
6. nurul ferdous
7. saidur rahman

And here goes the rules:

– Link your original tagger(s), and list these rules on your blog.
– Share seven facts about yourself in the post – some random, some weird.
– Tag seven people at the end of your post by leaving their names and the links to their blogs.
– Let them know they’ve been tagged by leaving a comment on their blogs and/or Twitter.

yo man, your browser has just been totaled!

funny, huh! but that was my case when i found all at a sudden every applications started working different in firefox 3.0.6. gmail loads in a very classic 80’s look. i tried installing firefox again but the problem remains the same. and the funniest thing happened when i tried to download the latest version of firefox from mozilla’s store/ mozilla said they don’t support mac os 9. ahem! – my one is mac os x 10.5.6

i was in the middle of developing a fbconnect application which one also stopped working. i was cluseless for an hour what actually happened. there must be something wrong with my browser agent. so i check ir and it was saying “Undefined Google ToolbarBB” – WTF!!

ok, soon after a while i remember that i had installed “Google Bookmarks Button” extension in afternoon. and i searched couple of places how to solve this problem. the solution is comparatively easy – just go to your “about:config” section and type “general.useragent” and you will find an entry with that value “google toolbarBB”. i’ve found that entry and just restored it to default.

later, to make sure of it – i opened the source code of Google Bookmark Button and i found the code where it was changing the value of default user agent! WTF!

so man, if your browser is totaled, relax and have a coffee and blame yourself for installing stupid extensions! i did!

browsing from a “totaled” browser is funny! DIY – lol!

started writing on facebook cookbook blog

facebook cookbook, what is that? well first thing first – this is not something related with “facebook cookbook” published by o’reilly. usually you know cookbook is a term commonly used to describe books which focus mainly on problems and their solutions. these cookbooks contains quick solutions of common and frequently used programming problems.

so i am planning to star writing an open book (right now it is a blog, when we will have thousands or recipes we will make it a book) which will follow cookbook approach for facebook application developers. i will highlight common problems (there are numbers of problems with no solutions in their wikis) and their solutions which i’ve learned in my last one and half year journey as an application developer on facebook platform.

so the journey began, i’ve started writing on facebook cookbook. you will find it at http://fbcookbook.ofhas.in

if you are interested to participate and share your snippets or right an article for the rest of us, you are very welcome.

check out Facebook Cookbook at http://fbcookbook.ofhas.in

hats off to those of you who were behind the scene

to those who are never forgotten and played a very important role through out my career (beside my family members)

hasinur reza topu: we went to school together. i met him again while studying in undergrad and he helped me all the time providing information about latest trends (most of the time out of the box and about gaming, yeah). we spent lots of afternoon together sitting in tea-stalls and discussing to develop something unique. he was definitely one of those who had inspired me a lot. topu is now working as the lead game programmer in game-dev wing in trippertlabs.

mahbub sohag: i met sohag and sunny while working on a bangla translator project in 2001. just after a while i’d found they were just genius. almost all the time they were busy solving complex logical problems and coding their erp in visual basic. yeah, vb was our language those days to make our living. we had done some short projects together and they were just awesome. both sohag and sunny are now working as lecturer in rajshahi university. oh did i mention about my first php book (beginning php by wrox) ? it was a gift from sohag on 2002 🙂

masudur rahman: masud was my roomie in fourth year and one of the very best friends in my undergrad course. and also we had spent lots of sleepless nights together under the open sky. since the first day in my undergrad works, we started our journey together. masud was (he is infact) a great organiser, debater (several times national debate champion) and a very good friend. during the days when i had no computer and money, masud helped me a lot by lending his computer and money. i am grateful to him forever. hats off!

masud is currently working as a specialist in steel structure in a civil engineering firm. and oh i forgot, he and his friend dipak brought me the book “php4 bible”

jitendranath roy: jiten da was totally out of the box and a genius one. he was from mechanical 94 and helped me a lot to understand SQL. he was a SQL guru. jiten da was a VB magician and always helped me to understand problems from inside. he is currently working as a phd student in a japanese university (i forgot the name, sorry, they are always too hard to remember) holding a scholarship on mechanical engineering.

emran hossain: another soulmate, emran bhai was from 95 batch mechanical. he was a network specialist and almost all the time spent his time configuring hardware. he was known as the network-guru in ruet. emran bhai was the man who helped everyone with a cute smile on his face. beside networking, emran bhai was a fan of java. after graduation, emran bhai currently working he sets up his own air-conditioner frenchise company. emran bhai bought a nice pajero few months ago 🙂 (hats off to you guru, i never forgot how had you helped me with your java and networking skills in those old days)

faisal: faisal is also from mechanical 97 and he was my partner in all the evil-genius type works. heh heh, we together wrote a trojan in those old days which attacked lots of machine in our LAN and created some annoyance (like shutting down monitor, opening cd tray and closing it continuously) and displayed some annoying messages. faisal was my partner in most of these evil works. he is currently working as an executive engineer in novo pharmaceuticals. well, faisal was a linux guru that time and helped me a lot to adopt it 🙂 – and he is the one who crashed my HDD while setting up RH7 in 2001. heh heh

golam sarwar: he is mainly my brother in law and a senior chemical engineer in karnaphuli paper mill. he gifted me a nice programmable calculator after hist visit in norway in 1995. that calculator was a nice thing those days for numerical analysis. and he is the one who always inspired me about programing 🙂

towfiq ul alam: towfiq bhai is also my brother in law and si the first one in our family who bought a computer in 99. it is his machine where i learned visual basic and spent most of the time those days. he is currently serving as a specialist in radiology


kazi khairul anam aka kki
: kki sir took our electronics-I and II in my first year undergrad course. and he always inspired us about being someone to help others. kki sir was a big hit in ruet and he was a genius. so how did he played his role in my career? he liked me very much and just for improving my numerical analysis skill, he often flooded me with complex problems on numerical analysis (mainly multi dimensional equations using matrix). i solved most of those in fortran or visual basic (for better input). hats off to him. kki sir is currently working as head of the department of eee in IUT.

rashidul hasan suhel: he was my mentor in 2003. he helped me getting my first official job and employed me in his company (systech digital) in 2003. suhel bhai helped me to learn flash that time and also the one who inspired my works on localization. beside that, suhel bhai is the one who gifted me my first laptop. suhel bhai is still in systech digital. hats off to you, guru

omi azad: here comes the mugambo, one of my very best friends. he holds 5 times successive MVP award from microsoft and is a guru in localization. we met together in 2000 in a mail thread (about bangla unicode) in bios forum. later we both found that we have similar interest on localization. he is a very good project manager, an empathetic friend in need. we have worked in many localized projects together and released all of them under open source licenses from ekushey dot org.

beside his vast knowledge in localization, omi is a great fan of gadgets and a hardware guru himself 🙂 – he helped me buying my first macbook in 2007.

arild klokkerhaug: my mentor in 2005. arild is my employer and ceo of somewherein. during my two years in somewherein, arild helped me to learn how to be more productive, how to always evaluate the passion and most of all, how to build colorful moments for clients. i like this guy very much for his incredible help to change my view on career. hats off!

arild is still leading somewherein and also managing escenic bangladesh.

ashikuzzaman fahim: this is the one whom i mention as my “all time guru”. i met with ashik bhai in 2001 in some java related threads in a forum. ashik bhai was a java guru and setup the first java group in bangladesh. he is the one who helped us arranging our workshops and seminars in different universities. beside his skill in java, ashik bhai holds international ranking in chess. ashik bhai helped me understand xml and xsl those days and also inspired me to learn java.

ashik bhai is currently working as a sr software engineer in salesforce.

nur hasan md tanveer: here comes another genius who has played a very important role in my career. i met hasan in 2002 in a php forum ( he was working on curl that time and i was stuck) and later we met face to face in 2003 in systech digital. hasan is someone who never cares about programming languages ( which means he can code in anything virtually). i have never seen someone who can learn new technologies so fast! – hasan practices software engineering most of his time. he is currently working as a CTO in somewherein and coding in ruby.

hasan and we were key speakers together in many workshops and seminars. he is also a scrum master.

omar al zabir misho: misho was mainly a child prodigy in bangladesh and started programming since his early days in school. he wrote excellent articles in different IT magazines and i was the collector. He was always a whizkid to me. We met face to face in 2005 in a get together of our phpexperts forum. And then we also worked together in somewherein for a year. Later misho found pageflakes which was a world wide hit and for almost a year, i have worked with him in pageflakes.

misho also played a very important role in career being a target to reach. and while working with him in somewherein and pageflakes – I learned lots of scalability techniques.

emran hasan: he is my friend in need and soulmate since 2005. i met him first in my job in somewherein and we have worked together in lots of localized product those days. emran helped me most of the times with his amazing UI design and javascript skills. emran also helped me buying my dell inspiron laptop.

oh btw, i’ve also learned how to write project spec from him – he is just a guru in writing specifications 😀

anupom syam: anupom helped me getting my job in trippertlabs and later this job helped me change my career in a total different track. anupom is a nice guy who practices software engineering most of his time and wrote a book on cake php. currently anupom is leading the local branch of trippert labs here in bangladesh

i will update this post with other names very soon. but i must include another name who inspired me all the time – she is also from mechanical 97 batch and my wife, ayesha.

see you guys around and thanks a lot for the roles u played in my life.

lookback 2008

2008 was like ice-cream, with a chocolate syrup topping. heh heh, long story short, it was exciting for me. important fact throughout the year were the followings

1. stopped using windows in my pc, switched to ubuntu and then switched again to mac. now i am stable on it.
2. wrote a book on facebook application development which became obsolete due to the complete redesign of facebook profile and api
3. left trippertlabs , became a family guy
4. facebook application development became the source of my living
5. found some real assholes and some saints around me 🙂
6. developed prothom alo blog, another major localized blogging platform for bangladeshis.
7. joined i2we incorporation as a sr software engineer and helped setting up it’s devstudio in bangladesh.
8. started working on python (still a noob)
9. became 29 yrs old 🙂
10. most of my dream came true, bought a motorbike and an imac

develop your own gtalk/jabber/aim/yahoo bot using imified API

i’ve found http://bot.im (imified) few days ago and it’s a nice free service for creating your own messenger bots. it provides excellent API to develop bots for various platform like AIM/Yahoo/Gtalk/Jabber and interact with your bot users. To ease developing bots, I have written a wrapper class of imified API for php developers and made it open source under BSD license. You can download the wrapper from below

Download the wrapper with example

To see the example bots developed using this wrapper, please add “[email protected]” in your gtalk/jabber client or “storytellerbot” in your YM client. then type help and TADA!

please note that processing “help” is different. you need to type the response of “help” command in your bot settings page. also bots allows only one HTML tag which is <br>

example [the callback of this bot is set to http://bot.ofhas.in]

include_once("class.imified.php");
if(!isset($_REQUEST['msg']))
{
die ("This is Hasin's personal bot [email protected] to demonstrate the imified API - please add this bot from your gtalk/jabber client Or add [email protected] in your YM client. Source code is available from hasin's personal blog at http://hasin.wordpress.com");
}
//initiate
$im = new ImifiedHelper("7DCDECB6-C895-9643-909CDC85CBF09954 ","[email protected]","Oye!MyPassword!");
//callback
$im->setCallback("callback");
function callback($message, $step, $network, $userKey)
{
global $im;
$message = strtolower($message);
if("whois"==$message)
{
echo "about me";
}
else if("work"==$message)
{
echo "about my work";
}
elseif("status"==$message)
{
echo "my status";
}
elseif("quit"==$message)
{
echo "ok, bye";
}
else
{
echo "Sorry, I dont understand hierogliphics @^#%@*&#(&!*&@^!*&@#!!!";
}
$im->resetStep();
}

This class also supports fetching user info and sending message to a group of bot users. Check it out

Happy bot development

host your <wordpress.com> blog anywhere, using this 10 lines of proxy script

q1. why the hell someone would do that?
a1. if you bought some interesting domain like i do (heh heh) http://blog.ofhas.in and want your existing blog to be available there as well, without spending hours to move data and to give it same look-n-feel – here’s your time-saving wizard. and beside that, i also dont want to lose my existing blog but i just want to avoid the hassle of re-hosting/migrating 🙂

q2. oh really?? how can I do that?
a2. here you go

<?php
$dataurl =$primaryurl = "http://hasin.wordpress.com";//old domain
$secondaryurl = "http://blog.ofhas.in"; //new domain
$path =array_keys($_GET);
if(!empty($path[0])) $dataurl = "{$primaryurl}/{$path[0]}";
$data = file_get_contents($dataurl);
$pattern = "~{$primaryurl}/([\d\S\/]+)~";
$data = preg_replace($pattern,"{$secondaryurl}/$1",$data);
$data = str_replace(array("<a href=\"{$primaryurl}","<form action=\"{$secondaryurl}"),array("<a href=\"{$secondaryurl}","<form action=\"{$primaryurl}"),$data);
echo $data;
?>

q3. is that all?
a3. nope, you need to modify/write .htaccess file in the root of this new domain


RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{QUERY_STRING} (.+)
RewriteRule ^(.*)$ index.php?$1&%{QUERY_STRING}


RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?$1

this script will also change the urls of all your post and pagination, behaves exactly same as you have hosted your blog in this new url. only drawback is submitting a comment will take you to your original domain, but you can easily fix that but simulating a POST request using curl/stream wrapper/fopen. there is one more vital drawback which is you may lose some IP specific traffic data

have a look at my actual blog http://hasin.wordpress.com and new one at http://blog.ofhas.in

happy weekend!

wrapper for google static map api

google maps is one of the very best mapping services available these days. using their api you can embed interactive maps of different types in your web pages. and there are many plugins to make your life easier to embed such maps in your web pages and applications.

to embed interactive google map, you need to include some external javascript files first. now when you are using some hosted solutions like wordpress, they may not allow you to include external javascript files in your blog/pages for different security pre-cautions. this is where google static map api comes handy.

google static maps api takes latitude and longitude of some places as parameter, along with other optional formatting params and delivers a static image in your expected image format (default is gif, but you can choose among gif, png and jpeg). so you dont need to bother about permission of including any other javascript files in your pages and you can embed such static maps by specifying the url as a “src” attribute of <img> tag.

there is still one problem that might knock you down. for example if you want to display “dhaka”, the capital or bangladesh in your static map, you need to know it’s latitude and longitude. so not everyone of us speaks in a language of ‘latitude’ and ‘longitude’ but onle the name of the places. like we all know about “university of berkeley” but only very few can figure out it’s lat-lon or they have to find it out from existing geocoding services.

yesterday night i was studying about this static map api and decided to build a geocoding wrapper so that you can pass only the name of a place and my wrapper class will convert it to latitude and longitude using geociding services and then generate a static map image for you. the whole wrapper will work around two objects – geocoding service and google static map api. for geocoding i prefer to use google because of it’s amazing precision but i must say that yahoo’s geocoding service is also pretty good.

here is my wrapper class and i am sure you can find it useful. now you can use it to embed google map to anywhere you would like to :). this class is released under LGPL.

there is a sample usage file (gmap.php which you will make use of) and a source object “staticgmap.php”. this class became a part of orchid framework and prothom alo blog. if you enjoy/use this class, dont forget to drop a line here in this post. the class and usage file is moderately commented, so you will not face any problem to understand. however the usage file is also pretty fine working.

please download the class from this page
download: http://svnpg.net/gmap/

supported features
1. geocoding service, both yahoo and google (default is yahoo)
2. support of zooming (0-19, default is 12)
3. support of image format (gif, jpeg and png. default is GIF)
4. maptype support (roadmap, satellite, mobile, hybrid and terrain where default is roadmap)
5. support of markers (just as plain location name)
6. variable dimension support (default size is 400×400)

sample maps

locate dhaka and moti jheel
http://svnpg.net/gmap/gmap.php?location=dhaka&markers=dhaka,moti jheel
dhaka and motijheel marked on a static google map

locate berkeley and emeryvlle
http://svnpg.net/gmap/gmap.php?location=berkeley&markers=berkeley,emeryville&zoom=11
berkeley and emeryville marked on google static map


place where i live – uttara 14 with custom zoom level and custom size

http://svnpg.net/gmap/gmap.php?location=uttara 14&zoom=16&size=400×300

uttara 14

আমার আমি নাই রে আমার আমি নাই

আজকে সকালটা একটু অন্যরকম, আজকে কাজের লোড অনেক কম।

শুরুটা একদম হঠাৎ করেই, প্রথম আলোর ব্লগ ইঞ্জিনের কাজটা নেয়ার তেমন কোন প্ল্যান ছিল না। মাহবুব ভাইয়ের সাথে মাঝে মাঝে কথা বার্তা হত সাজেশন হিসেবে। এর মাঝেই ট্রিপার্ট ছাড়লাম জুলাই এর শেষে। এর পরের দুই মাস ভেবেছিলাম রেস্ট নিব, কিন্তু বেকার বসে থাকার চেয়ে প্রথম আলোর ব্লগের কাজটা করা ভাল। কারন কাজটা যাবে একদম রুট লেভেলে, তৃনমুল পর্যায়ে। ইহাব খুবই ভাল কাজ করেছে আমার ব্লগের, মারাত্মক কাজ হয়েছে একটা, কিন্তু সুশান্তর কিছু কমেন্ট দেখে মন খারাপ হল। অ্যাডমিন সুলভ কমেন্ট নয় মোটেও। সুশান্তর নিশ্চিতভাবেই জানা থাকা দরকার আমি বা ইমরান (সুশান্ত, প্লিজ নোট করুন নামটা ইমরান, ইম্রান না) কোনো প্ল্যাটফর্মের কোড মারি না। আর ওপেনসোর্স কোন প্রজেক্টে কোড রিইউজ করা কে কিন্তু কোড মারা বলে না – যতক্ষন আপনি তাদের লাইসেন্সের টার্ম গুলো মেনে চলেন। সচলায়তন নিশ্চিতভাবেই বেশ ভাল একটা মডিফিকেশন ড্রুপালের উপরে, প্যাঁচালীও ভাল, খুব বেশী ঘুরে দেখা হয়নি। একবার রেজিস্ট্রেশন করতে গিয়েছিলাম কিন্তু আমার নিকটা এনাবল করে নাই এরা। আমি অনেক করে মেইল দিয়েছিলাম কি ব্যাপার, এরা জানালো কোন সমস্যা নাই, কিন্তু আমি লগ ইন করতে পারি নাই।

তো যাই হোক, আমি লিখতে বসেছি আমাকে নিয়ে। প্রথম আলোর কাজটা আমার জন্য অনেকটা সম্মাননাও বটে, কারন এর সাথে আমার এবং ইমরানের নামটাও জড়িয়ে থাকবে। সামহোয়্যারইন ব্লগের শুরুটাও ইমরান আর আমাকে দিয়েই, এখনও অনেকেই সেটা মনে রেখেছে। পরে মিজান, লাভলু,হাসান, আরিল, জানা এবং মোর্শেদের দুর্দান্ত পরিশ্রম আজকে সামহোয়্যারইন ব্লগকে নিয়ে এসেছে আজকের এই অবস্থায়। ধন্যবাদ তাদেরকে, সামহোয়্যারইন ব্লগ এখন অনেক স্ট্যাবল এবং ঈর্ষনীয় একটা ডেভেলপমেন্ট প্ল্যাটফর্ম।

ট্রিপার্ট ছাড়ার পর প্রথম আলো ব্লগের কাজ নিয়ে ব্যস্ত ছিলাম বেশ কয়েকদিন। এরপর লোভনীয় চাকরীর অফার ফিরিয়ে না দেয়াই বুদ্ধিমানের কাজ হবে এই ভাবনা থেকে আইটুউই এর কাজ টা নিয়ে নিলাম। বাংলাদেশে সঙ্গী হিসেবে পেলাম শাহিদ এবং শোয়েব কে। খুব দ্রুতই মিজান (সামহোয়্যারইনের মিজান) আসল আমাদের গ্রুপে। আমি খুবই খুশী। শাহিদ, শোয়েব এবং মিজানের পারফরম্যান্স এবং স্কিল এক কথায় অতূলনীয়।

ধ্যাৎ, বার বার মেইনস্ট্রিম থেকে সরে যাচ্ছি। প্রথম আলোর কাজ টা করার পেছনে যে আসলে ব্যাপারটা কাজ করেছে আমার মাঝে সেটা বললাম। পুরো কাজটার বিভিন্ন সময়ে আমাকে সাহায্য করেছে মানচু (সবুজ কুন্ডু), অমি আযাদ, আনিস (আরবিএস এর), সাইদুর বিজন (আরবিএস এর) এবং ইমরান (নোট এগেইন, নামটা ইমরান, ইম্রান নয়), তাপস (ট্রিপার্ট ল্যাবস) এবং জাহিদ। মাহবুব মোর্শেদ ভাই পুরো কাজটা কোঅর্ডিনেট করেছেন দারুনভাবে। ওনার সাথে আমার সম্পর্কটা ঠিক বিজনেস ডেলিগেট এর মত নয়, অনেকদিন একসাথে কাজ করার জন্য ভেতরের চমৎকার মানুষটার সাথে সম্পর্কটা অনেকটা বন্ধুস্থানীয়। প্রথম আলোর এই কাজটার সুবাদেই পরিচয় হয়েছে আরো কিছু চমৎকার এবং শ্রদ্ধেয় মানুষের সাথে – তাঁদের মাঝে মতিউর রহমান, সাজ্জাদ শরীফ, হাফিজুর রহমানের কথা না বললেই না। সাজ্জাদ ভাই এর ভীষন ঠান্ডা ব্যবহার আমাকে বানিয়েছে তার ভক্ত।

আজকে মাথা আউলা হয়ে আছে বলে মনে হচ্ছে। আবোল তাবোল বেশি বকলাম। বকেই যখন ফেলেছি তখন আরো কতক্ষন বকা যাক। এই কয়দিনে আমি ছিলাম একদম বিচ্ছিন – একদম। সকাল ৪টায় ঘুমাই, ১১ টায় উঠি, সন্ধ্যা পর্যন্ত প্রথম আলোর কাজ করি, রাত্রে কাজ করি আইটুউই এর কাজ। অপরাধবোধ কাজ করে দুইভাবে। না পারছি অফিসের কাজে ঠিক মত সময় দিতে, না পারছি প্রথম আলোর কাজ করতে। আল্লাহর অশেষ রহমতে ডেডলাইন মিস করি নাই কোনখানেই। শাহিদের প্রতি বিশেষ কৃতজ্ঞতা, অসাধারন কাজের জন্য।

ওহ আরেকটা জিনিস কিনেছি, যেটা লেনিন এবং ফেরদৌসের সাহায্য ছাড়া সম্ভব হত না কখনোই। একটা ১৫০ সিসি বাজাজ পালসার কিনেছি – আর এই দুইজন পুরো সময়টা আমাকে সাহায্য করেছে কাগজপত্র রেডী করার জন্য এবং সবশেষে ফেরদৌস বাইক টা চালিয়ে আমাদের নিয়ে এসেছে বাসা পর্যন্ত। ফেরদৌস আর আমানের এই ব্যাপারটা আমাকে মুগ্ধ করে খুব – আমান ছিল জিডি পাইলট, আর ফেরদৌস ছিল র‍্যাব এ – এখন দুজনেই পুরোদস্তুর ডেভেলপার। জটিল ডেডিকেশন, জটিলস!!

আফিফকে সময় দেয়া হয় নাই এই কয়দিনে। আমি যেন জাস্ট গুহাবাসী হয়ে গিয়েছিলাম এই কয়দিন। আমার রুমই হয়ে গিয়েছিল সবকিছু। খাওয়ার জন্য শুধু নিচে নেমেছি – আর মাঝে মাঝে নেমেছি এটিএম মেশিন থেকে টাকা তোলার জন্য, হেহ হেহ। আজ ভাল লাগছে খুব বেশী। এবার শুধু আইটুউই আর ফ্যামিলি। টাইম টু এনজয় সাম ফ্রি আওয়ারস।

ধন্যবাদ আমার বউ সুমিকে- অনেক। পুরো সময় টাই সাপোর্ট দিয়েছে আমাকে। আবার মাঝে মাঝে ডিস্ট্রাক্ট করেছে ঝগড়া করে সময় না দেয়ার জন্য – হেহ হেহ

বেশ কয়েকজনকে নতুন করে চিনলাম এই কয়দিনে। আনিস, শাহিদ, ইউনুস (আরবিএস), সুহৃদ সরকার, মিজান, সুহৃদ সরকার, জুনাল, জুয়েল, মাহমুদ,আমান, মানজিল, সাফায়েত, রাজু, রানা, অমি আজাদ, লেনিন এবং ফেরদৌস কে ধন্যবাদ আমাকে সঙ্গ দেয়ার জন্য। রুমে কাজ করতে করতে বোর হয়ে গেলে এদের সাথে আড্ডা মারতে ভালই লাগত।

প্রথম আলো ব্লগ আরো একটা কারনে আমার কাছে খুবই ইমপর্ট্যান্সী পেয়েছে। সেটা হল এটা আমার তৈরী করা ফ্রেমওয়ার্ক অর্কিডের প্রথম ফ্ল্যাগশিপ প্রোডাক্ট। এটা করতে গিয়েই অর্কিডকে অনেক ইমপ্রুভ করতে হয়েছে। অর্কিড হয়েছে অনেক ম্যাচিউর। আর ধন্যবাদ ইমরান এবং আনিসকে অর্কিডে কন্ট্রিবিউট করার জন্য।

আসছে মাসগুলোতে অফিসের পাশাপাশি আমি কাজ করব জেকোয়েরী-ট্যাগ-লাইব্রেরী নামে এখটা ওপেন সোর্স প্রজেক্টে। এটা আপাতত আমি আর মাহমুদ মিলে শুরু করেছি। এটা নিয়ে পরে একদিন বিস্তারিত লিখব। প্যাক্ট থেকে আর কোনো বই লিখব না আপাতত। এপ্রিল সিলভার নামের একজন লেখিকা ওয়ার্ডপ্রেসের নতুন এডিশনটা লিখছে, আমি না লেখায় ওয়ার্ডপ্রেসে আমার রেভিনিউ ১২% থেকে কমে হয়ে গেল ৬% – ইসসস – কিন্তু আর লিখতে ইচ্ছা করে না। খুবই পরিশ্রমের কাজ।

ওরে বাবা, পুরো উপন্যাস লিখে ফেললাম। আজকে থাক, অনেক কাজ পড়ে আছে হাতে।

ওল্ড টেস্টামেন্টের একটা লাইন আমার খুবই পছন্দ, জেনেসিসের – “লেট দেয়ার বি লাইট”

কোরান শরীফের আরেকটা লাইন আমার দারুন পছন্দ, অর্থটাও খুবই সুন্দর – ফাবি আইয়্যি আলায়্যি রাব্বিকুমা তুকাজ্জিবান। তোমার কোন নিদর্শনই অস্বীকার করার কোনো উপায় নেই, মহানুভব। আমার প্রতিটা দিনের জন্যই, আমাকে কাজ করার সামর্থ দেয়ার জন্য, আমাকে আজকের এই আমি বানানোর জন্য এবং আমার বেশিরভাগ চাওয়া কে পূর্র্র্ণতা দেয়ার জন্য আমি তোমার কাছে কৃতজ্ঞ। আরেকটু সময় দাও আমাকে হাতের কাজটুকু শেষ করার জন্য, তাহলে আর কোনো আফসোসই থাকবে না 🙂