Marriott in Maldives


10:08pm, November 30th, 2007

It’s Christmas time !

It’s last month of the year and it’s the best time in the year. From my childhood I’m nostalgic for this time of the year. I love that sweet morning chills. Yeah! It signifies this the Christmas time ! Dear God, please give us a peaceful mind to celebrate Christmas this year ! That’s what all [...]

3:54pm, November 30th, 2007

24 ways

Web hacking tips for holiday season. Will kick-off in couple of hours for the 3rd consecutive year.

3:30pm, November 30th, 2007

Facebook Thrift

Create distributed web services with mixing languages in client and server.

7:38am, November 30th, 2007

Australia Set to Say ‘Sorry’ to the Aboriginals


6:48am, November 30th, 2007

Kissing goodbye

"Flames to dust... lovers to friends.... why do all good things come to an end... come to an end..." I just walked into my office humming one of my favorite Nelly Furtado songs and yes, one good (or best rather) thing in my life is about to end today. Although this is not a secret among my best friends, for all the others who've been reading this blog; today I'm retiring from thinktecture family. IMG_6804 

It has been a wonderful ride through out the past three years or so and I'm truly gifted to work with a fantastic team like this. At thinktecture for the first time in my professional life I could find things I like to live with. 

However, just being a part of this rapidly changing world, lately I found that it's time for me to say good bye. So I'm leaving this virtual desk with lot of remarkable memories (And I only have good memories at tt Wink).

I wish all the best to thinktecture and I'm certainly looking forward to seeing them in our future encounters very soon Wink.

DSCN0025 Last but definitely not least during the past few years I and my family made really good family friends and that will remain unchanged for the rest of our life.

thinktecture Rocks!

 

 

 

PS: About next stop in my professional career: I really hope that it deserves a dedicated post in my new blog (http://geeksdiary.com) as it's also going be full of escapades!!!


5:05am, November 30th, 2007

Case based reasoning

Just completed my case-base reasoning assignment. It was an interesting one.
First I wrote a code to solve the 8-puzzle using both informed and un-informed search. In this case, I should either adapt a case from the knowledge base or if not, find a solution from the sratch.

For a novice reader this is how it works. You are given the initial state and the goal state and also a knowledgebase which contains  solutions to some cases. We need to find a solution to the new problem, either adapting a case from the knowledgebase or solving from the scratch.
Adapting a case from the kb was tricky. First we need to find a "similar case" to the current problem. I defined the similarity as the manhattan distance.
For each case, case, in the kb
   (let ((score1 (similarity-score current-problem-init-state case-init-state))
         
(score2 (similarity-score current-problem-goal-state case-goal-state))

if score1+score2 < some threshold
  adapt that case
else
 try next case

If there is no case within the given threshold, start from scratch.

This was interesting because, this is how we find solutions to some software problem also. When there is a problem at hand, first we are used to google (which is the knowledgebase) and find for a "similar problem" with a solution. If found we try to adapt it. Else we solve it from the scratch. How many times you cursed yourself for searching the web for a solution, wasting time, rather than implementing on your own? This is the same challenge with case-base reasoning (CBR) as well.
Searching from the scratch is expensive. At the same time, having searched all over the KB, if you can not find a similar case, then we need to search from scratch anyway.
We need to tweak the parameters to get the best result. One can improve these using a better similarity measure, having a better method to store and retrieve similar cases, better ways for case adaptation, etc.,

See for yourself a sample output from my code.

I spent whole lot of time, tweaking params, rather than completing the assignment. This is really interesting even more than watching  Prison Break :).


   

4:49am, November 30th, 2007

?Merry Month of May?

A

9:55pm, November 29th, 2007

Add Twitter & Facebook status updates to your WordPress(.com) blog.

A

5:33pm, November 29th, 2007

Wasgamuwa Trip


5:19am, November 29th, 2007

Young brothers, it’s your chance to get high with Google

When I was in college, I envy Google Summer of Code for being only open to university students. Maybe it might have indirectly influenced me to get into the university ;). Anyway I ended my envy later by participating in GSOC. If you are also a college/high school student under 18 years and have such [...]

8:44pm, November 28th, 2007

SilverStripe 2.2 released! Redesigned interface and double the features…

Try once you'll never look back!

6:25pm, November 28th, 2007

My contributions released officially !

Yesterday along with its feature rich 2.2 release, SilverStripe has officially released the 3 modules I worked in the GSOC. This is a great achievement for me than successfully completing GSOC project itself. It’s a great pleasure to see people around the globe consuming the my code to get the things done. The 3 modules [...]

6:17pm, November 28th, 2007

What am I doing?

http://www.nazly.net/imgs/twitter.jpg

Most of you will already know what Twitter is but for starters its a service that asks you the question "What are you doing?" and we simply have to send our updates via Instant Messaging, Email or even by SMS. Its a micro-blogging service coz the updates cannot exceed 140 characters. So it has to be very short and sweet. The service has been around for sometime but I got kinda addicted to it almost a month back when I saw Bud updating his Twitter using his iPod Touch at the MySQL South East Asia Roadshow 2007. I like this micro-blogging idea even though I have a blog coz I can send in little tweets when I don't want to write a big post about day to day activities. You can follow someone on Twitter so that you can receive updates about this person via the Twitter website, Instant Messaging, Email, RSS or SMS. All these can be configured quite easily. I mainly use GoogleTalk Instant Messaging and SMS for sending updates. SMS updates can be really handy when I'm on the move.

Now I have added a Twitter widget on my blog. It will show you my latest Twitter updates. So you can keep in track of what I'm up to :D[BigGrin]. The HTML/Javascript widget can easily be customized with CSS and thanks a lot to Asanga, my design buddy for sharing his extensive knowledge in CSS which helped me to get it nicely placed on my blog. Also I have added the Twitter Application on Facebook. So that it shows my latest Twitter update. Adding more to that you can let the Twitter Application update your Facebook status. This way I only have to update Twitter which will update my Facebook status as well. There is another Facebook Application called TwitterSync which is only designed to update the Facebook status. So there are enough options available.

If you need more info about Twitter read this The Big Juicy Twitter Guide

Follow me on Twitter

3:49am, November 28th, 2007

Conversation with My Cousin

A

11:57pm, November 27th, 2007

What is the advantage of running the virtual user as thread?


2:52pm, November 27th, 2007

Regarding testing techniques in the field of space research


2:49pm, November 27th, 2007

DbFit 0.92: Better error reporting and easier regression tests


2:25pm, November 27th, 2007

Collecting for Design

How to collect for inspiration - (I guess this is helpful for code too, not just design)

11:41am, November 27th, 2007

Hundred Things to do before you die!

A

10:36am, November 27th, 2007

« Previous Entries