Category: General

hot in hottDhaka

I’ve recently came by hottDhaka developed by hott media. it’s basically a community driven social networking application focusing currently on restaurants. if you want to check a new hott dish or sizzlings, or a new restaurant to spend your evening, you should first check hottDhaka for a review. hottDhaka features excellent reviews, sample copy of menu available from each of these restaurants and provides you a nice interface to share your opinions. may be making friends with similar taste? why not!

overall i really like this site for their slick look-n-feel, soothing colors and nice ui. i must say its a nice addition to bangla community. cool! they are still in beta and i hope the final release is coming with some real cool features.

Bug in twitter prevents you from updating your status

I’ve found it last night while trying to update my status in twitter. these days I am too much twittering and I was redirected to an url while exploring twitter. while trying to update my status, it failed repeatedly and then i’ve found that bug – lol

the url that reproduces the bug is http://explore.twitter.com/home – which looks similar to your actual twitter home (http://twitter.com/home) and it also shows you a twit box to update your status. but you cannot update your status from http://explore.twitter.com/home

check what was returned after the ajax request (u have firebug, right? do it yourself)

403 Forbidden: The server understood the request, but is refusing to fulfill it. If you are posting from an API tool please ensure that the HTTP_REFERER header is not set.

try before they fix it 🙂 interesting usability bug indeed.

One Month in I2We

One month passed in I2we, a Berkeley based social networking firm. Here is my team. and I am proud to be a part of it

I2we team in berkeley
I2we team in berkeley

Standing in back, Sean, Karel and Huey
Jessica and Bemi are in sitting in front

🙂

What a day!!

……….

……..zzzzzzzzzzzzz…….

whoops!! it is 11 AM

trying to restore apache2 when it was corrupted after a system update last evening

grrrrrrrrrrr – what the hell!! – mod-php5 is not working at all!

grrrrrrrrrrrrrrrrr

…zzzzzzzzzzzzzzz….

…whoops its 5PM

raju came with his new laptop, failed to setup his EST-610U EDGE card on Ubuntu, Modprobe was not working with even a vendor and a product id

its 6PM – went to north tower and had some mango juice

around 6:30 PM, ahsan and anupom came and gave me a copy of their new book, CakePHP

7:30 manzil, junal, ahsan and anupom came and we enjoyed the movie “Death Sentence” together

10 PM, I went to Omi Azad‘s apartment with Ayesha and Afif – had two scoops of icecream…. yummy!!

11PM – came to home and start setting up xampp – found that xampp is set to use it’s own mysql socket instead of the system default. so edited the bundled php.ini and set the following line to use my previous mysql installation properly
mysql.default_socket = /var/run/mysqld/mysqld.sock

sometime later 11PM, xampp is now working, setup postgreSQL addon and mod_python. the python addon was not working becoz of the version conflict of mod_python.so. So I’ve installed “libapache2-mod-python” and copied the /usr/lib/apache2/modules/mod_python.so to /opt/lampp/modules/ folder – python is now working

around 12, Ayesha and I had our dinner.

1AM to 3AM, playing with GPG and setup a new key pair. My new public key is 2FD0F9E9

3:08AM – wrote this blog post and preparing to sleep. must be a busy day tomorrow!

whoops!!

10 signs you are ruining your career as a web app developer

Heh Heh, well – this is an article just highlighting some of experience in last couple of months. I am sometime too much annoyed because of the the attitude of some people, sometime I feel that they are annoyed on me. And I think I should write them down. Signs indicate that you are ruining your career

1. You’ve started implementing (or started believing in) popular (?) asshole driven development in your company (or in your team)
2. You are one of the biggest jerk who’s thinking that you are no more suitable for a “developer” position and you always want to be the PM or tech lead. LOL
3. You cannot find any topic to study this evening
4. You are so busy in development that your last blog post was about 2 or 3 months ago
5. You haven’t contributed in any single open source project yet, WTF!!
6. You are spending time to write a 7 page resume
7. You are not using any RSS aggregator (LOL)
8. You’ve never heard of any framework, nor using any
9. You’re neither member nor active in any online tech forum
10. WAMP is still the development platform for your LAMP app.

Running on Ubuntu Hardy Heron

Last night I’d migrated from gutsy to the latest release of ubuntu series, Hardy Heron. At a glance it looks really nice to me. Here is a comprehensive list of pros and cons that I’d encountered

Pros
* Clear look with new Human theme
* More support for drivers, it has detected my dell BCM 4328 card automatically
* It has detected appropriate and maximum screen resolution for my laptop automatically which I had to do in gutsy by installing proprietary xorg fglrx driver. But I installed fglrx driver to use the maximum 3D output from my ATI Radeon 1400. I can also use compiz fusion now.
* Blazing fast, really!
* Integration of Wubi (Well, ubuntu is my primary OS and I have only one OS in my machine, but it is very good for those who want to give it a try from windows)

Cons
* so far there is only one con and that is it comes with Firefox 3 beta 5. I really dont like this version of firefox caus all my favorite extensions breaks in it.

So in overall I am very happy to using the new ubuntu Hardy Heron. Give it a try.

facebook data storage api can really be the replacement of memcache

why not! all you need is a fast-n-furious caching storage for your facebook application which stores values against a key, same like a hash table. facebook data storage api does the same for you. using the batch api in facebook rest client you can seriously think it as an alternative of memcache. there are many developers who cache the data using memcache. memcache is definitely the state of the art caching solution for those who can afford hosting their application in a dedicated or vps server and knows how to install and successfully manage it. it. in other hand, facebook’s data storage api is an excellent solution for those who really want to make use of this awesome development platform without minimum hassle. all you have to do is remember some api and thats it.

lets see how you can use the facebook data storage api.

1. create the object manually (not using api)
an object in data storage api stands for something like a table. it contains some properties (columns) and their values(field values) stored against a key (think about a primary id). using the application control panel you can easily create such an object.

a. visit http://www.facebook.com/developers/apps.php?ret=2
b. select your application and click the link “http://www.facebook.com/developers/dsadmin.php?app_id={your application id}”

from this page you can create an object and create the properties. lets consider that the object name is ‘comics’ and the properties are “comicname[string]” and “comicurl[text/blob]”.

2. insert data into this object
using the storage api you can insert data into this object against a hash value. for example, lets have a look at the following piece of code

<?php
//after initializing the app client
//set value to the properties in a batch process
$facebook_api_client->begin_batch();
$facebook_api_client->data_setHashValue("comics","nancy","Nancy And Sluggo","comicname");
$facebook_api_client->data_setHashValue("comics","nancy","http://url_of_this_comic","comicurl");
$facebook_api_client->end_batch();
?>

the example showed above will set the value of two properties in “comics” object against the common key “nancy”.

setting up the values to the properties of an object in a batch process will speed up your application execution time by running all the api calls in that batch at once. the same thing applies if you want to retrieve the values of those properties.

3. retrieve the values
now when you need to re use the value of that object in your facebook application, you can do it like this

<?php
//retrieve the values of two properties "comicname" and 'comicurl"
$facebook_api_client->begin_batch();
$comicname = $facebook_api_client->data_getHashValue("comics","nancy","comicname");
$comicurl = $facebook_api_client->data_getHashValue("comics","nancy","comicurl");
$facebook_api_client->end_batch();
?>

thats a tiny introduction to the storage api of facebook. there are lots more you can do by defining associations (much like table relations between two tables) and other available apis in this category. i will focus some of them in my upcoming blog posts.

before ending, revise the title of this blog post as “facebook data storage can really be the replacement of memcache for facebook application developers”.

উইন্ডোজ ছাড়া এক মাস+

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

ফটোশপের বিকল্প ‌হিসেবে ব্যবহার করছি জিম্পশপ
ইলাস্ট্রেটরের বিকল্প ইংকস্কেপ
সিডি/ডিভিডি রাইট করার জন্য কেথ্রিবি (k3b)
ওপেন অফিস – আমার ওয়ার্ড প্রসেসিং, স্প্রেডশিট এবং প্রেজেন্টেশন তৈরীর কাজে
ফাইলজিলা আমার ভাল লাগে না – তাই এসএফটিপির জন্য ব্যবহার করি উইনএসসিপি (WinSCP) এবং সাধারন এফটিপির জন্য টোটাল কমান্ডার
ভিডিও দেখার কাজে ভিএলসি প্লেয়ার
গান শোনার জন্য রিদমবক্স
চ্যাট করার জন্য পিজিন
ব্রাউজার ‌হিসেবে কি ইউজ করি তা কি আবার বলা লাগবে? অবশ্যই ফায়ারফক্স এবং অপেরা
ডাউনলোড অ্যাকসেলারেটর ‌হিসেবে মাল্টিগেট (Multiget)
কোডলেখার জন্য জিনি (Geany), জেন্ড স্টুডিও, নেটবিনস এবং এসপিকেট আইডিই (SPket IDE)
ইংলিশ টু ইংলিশ ডিকশনারীর জন্য ইউজ করি জালিংগো (Jalingo)
পেজমেকার ‌হিসেবে স্ক্রাইবাস
সিএই‌চএম (CHM) ফাইল পড়ার কাজে এক্সসিএইচএম (xCHM)
পিডিএফ ফাইল পড়ার জন্য এভিন্স (Evince)
মাইএসকিউএল জিইউআই ফ্রন্টএন্ড ‌হিসেবে এসকিউএল ইয়োগ (SQLYog)

আর কখনোই উইন্ডোজে ফেরা হবে না আমার 😀 – আফিফ (আমার ছেলে) ও ছোটবেলা থেকেই লিনাক্সেই কাজ করবে ইনশাল্লাহ।

Its all about a kiss

Just finished watching “Just my luck” – a nice movie where a lucky girl kissed a very unlucky boy and their luck just switched to each other. As a result funny things started happening. I must agree a very nice movie.

I just wanna know what your thinking
I’ve got a mission
it’s all about a kiss

And i just wanna know if your feeling
better than dreaming
it’s all about a kiss

now your infront of me
suddenly it’s clear to see
it was you really you all along

blue skys and rainy days
etheir way it feels ok
cause starting now we’re gunna share it all

I just wanna know what your thinking
I’ve got a mission
it’s all about a kiss

And i just wanna know if your feeling
better than dreaming
it’s all about a kiss