<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-25845959</id><updated>2012-02-16T04:47:34.284-08:00</updated><category term='pydev'/><category term='subscript'/><category term='synergy'/><category term='icons'/><category term='news'/><category term='kalani'/><category term='cubicles'/><category term='XML canonicalization'/><category term='maven'/><category term='unrar'/><category term='hadoop'/><category term='firefox'/><category term='mouse'/><category term='sinhala'/><category term='copy'/><category term='word 2007'/><category term='ecny'/><category term='drink'/><category term='shortcuts'/><category term='Dell'/><category term='keyboard'/><category term='rampart2'/><category term='repair'/><category term='sri lanka'/><category term='mashup'/><category term='Services'/><category term='c++'/><category term='work'/><category term='laptop'/><category term='notebook'/><category term='resharper'/><category term='Fibonacci'/><category term='Huawei'/><category term='steganography'/><category term='scheme'/><category term='CDMA'/><category term='AVI'/><category term='threads'/><category term='C development'/><category term='java'/><category term='example'/><category term='byte output'/><category term='XML'/><category term='HPC'/><category term='equations'/><category term='2007'/><category term='intellij'/><category term='UoM'/><category term='IIS'/><category term='webservice'/><category term='visual studio'/><category term='sony vaio'/><category term='Axiom'/><category term='movie'/><category term='indiana university'/><category term='carbon'/><category term='desktop'/><category term='XPath'/><category term='color'/><category term='Eclipse'/><category term='network'/><category term='jython'/><category term='vista'/><category term='.NET'/><category term='google'/><category term='Python'/><category term='yahoo'/><category term='gsoc'/><category term='MapReduce'/><category term='ESB'/><category term='pidgin'/><category term='ports'/><category term='woodwork'/><category term='SOA'/><category term='WSO2'/><category term='string'/><category term='3g'/><category term='CDT'/><category term='functional'/><category term='windows'/><category term='imagemagick'/><category term='DVD'/><category term='miniKanren'/><category term='thunderbird'/><category term='split view'/><category term='axis2'/><category term='rar'/><category term='hardware'/><category term='poems'/><category term='friends'/><category term='share'/><category term='linux'/><category term='apache'/><category term='non recursive'/><category term='JBoss'/><category term='x1300'/><category term='on line file converter'/><category term='OSGi'/><category term='tool'/><category term='english'/><category term='lambda calculus'/><category term='relational'/><category term='vgnfe855e'/><category term='programming'/><category term='tutorial'/><category term='ssh'/><category term='award'/><category term='life'/><category term='C#'/><category term='matlab'/><category term='regex'/><category term='TCPMon'/><category term='blueproximity'/><category term='bluetooth'/><category term='free convert'/><category term='terminal'/><category term='WCF'/><category term='OutputFormat'/><category term='entertainment'/><category term='ATI'/><category term='superscript'/><category term='6.10'/><category term='windows7'/><category term='Ubuntu'/><category term='clipboard'/><category term='wikimapia'/><category term='e1505'/><title type='text'>Saliya's Blogs</title><subtitle type='html'>Mostly technical stuff with some interesting moments of life</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default?start-index=101&amp;max-results=100'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>109</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-25845959.post-7122379411934140061</id><published>2012-02-03T21:37:00.000-08:00</published><updated>2012-02-03T22:02:37.505-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lambda calculus'/><category scheme='http://www.blogger.com/atom/ns#' term='indiana university'/><title type='text'>A Small Contribution: Substitution in The World of Lambda</title><content type='html'>Feeling a humble joy for being able to make a small contribution to a great resource: &lt;a href="http://mitpress.mit.edu/catalog/item/default.asp?ttype=2&amp;amp;tid=11885"&gt;Semantics Engineering with PLT Redex&lt;/a&gt;, errata on &lt;a href="http://redex.racket-lang.org/errata.html"&gt;substitution&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Thank you &lt;a href="http://www.ccs.neu.edu/people/faculty/matthias.html"&gt;Professor &lt;strong style="font-weight: normal;"&gt;Matthias Felleisen&lt;/strong&gt;&lt;/a&gt; for posting it and &lt;a href="https://www.cs.indiana.edu/%7Esabry/"&gt;Professor Amr Sabry&lt;/a&gt; at &lt;a href="http://www.indiana.edu"&gt;Indiana University&lt;/a&gt;  for the inspiring course on B522 - Foundations in Programming Languages, which made this possible. &lt;span style="text-decoration: underline;"&gt;&lt;/span&gt;&lt;a href="http://www.ccs.neu.edu/people/faculty/matthias.html"&gt;&lt;strong style="font-weight: normal;"&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-7122379411934140061?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/7122379411934140061/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=7122379411934140061' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7122379411934140061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7122379411934140061'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2012/02/small-contribution-substitution-in.html' title='A Small Contribution: Substitution in The World of Lambda'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-6019653195944675711</id><published>2012-01-27T22:39:00.001-08:00</published><updated>2012-01-27T22:46:06.675-08:00</updated><title type='text'>SugarSync Public Link: Direct Download</title><content type='html'>SugarSync public links are great, but unfortunately they've added an intermediate download page instead of the direct download that used to be there (see more on this at &lt;a href="http://www.sugarsync.com/blog/2012/01/10/if-you-love-your-public-links-set-them-free/"&gt;http://www.sugarsync.com/blog/2012/01/10/if-you-love-your-public-links-set-them-free&lt;/a&gt;/). &lt;br /&gt;&lt;br /&gt;May be it was done with good intentions, but it broke all the image links we had in our Web site. Anyway, it seems there's a way around to get images working back in your Web pages without much hassle. &lt;br /&gt;&lt;br /&gt;The solution is just add the following to the end of each image link (I know it's bit work too, but way better than having copy images to a local folder and linking them again manually).&lt;br /&gt;&lt;br /&gt;old-link?directDownload=true&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-6019653195944675711?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/6019653195944675711/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=6019653195944675711' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/6019653195944675711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/6019653195944675711'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2012/01/sugarsync-public-link-direct-download.html' title='SugarSync Public Link: Direct Download'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-7985007580157574790</id><published>2011-05-25T08:17:00.000-07:00</published><updated>2011-05-25T08:33:07.884-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='english'/><title type='text'>Either "either", "or","and" or "and/or"?</title><content type='html'>http://en.wikipedia.org/wiki/And/or&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-7985007580157574790?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/7985007580157574790/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=7985007580157574790' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7985007580157574790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7985007580157574790'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2011/05/either-either-orand-or-andor.html' title='Either &quot;either&quot;, &quot;or&quot;,&quot;and&quot; or &quot;and/or&quot;?'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-7503823764519858618</id><published>2011-03-17T13:30:00.000-07:00</published><updated>2011-03-17T13:33:08.788-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='clipboard'/><category scheme='http://www.blogger.com/atom/ns#' term='copy'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>Copy Path to Clipboard : Another Life Saver</title><content type='html'>Want to copy the path of a file to clipboard in Windows without having to open properties window? Just try Copy Path to Clipboard v 1.00 (http://www.softpedia.com/get/System/OS-Enhancements/Copy-Path-To-Clipboard-JA.shtml). It's a pretty neat tool that saves quite a bit of human I/O time :D&lt;br /&gt;&lt;br /&gt;Note. It works fine with Windows 7 as well.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-7503823764519858618?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/7503823764519858618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=7503823764519858618' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7503823764519858618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7503823764519858618'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2011/03/copy-path-to-clipboard-another-life.html' title='Copy Path to Clipboard : Another Life Saver'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-7180046084493204559</id><published>2011-03-17T13:16:00.000-07:00</published><updated>2011-03-17T13:27:56.776-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='visual studio'/><category scheme='http://www.blogger.com/atom/ns#' term='intellij'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='resharper'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>ReSharper: Life Saver for Visual Studio Users</title><content type='html'>If you are using Visual Studio for application development then most probably you may have noticed the lack of built-in refactoring support. At least for me it was so obvious, probably because I was used to the rich environment provided by IntelliJIDEA (http://www.jetbrains.com/idea/) for Java development. So finally did some search to see if there's any third party plug-in for Visual Studio on this aspect and guess what! The same guys who build IntelliJIDEA has a plug-in called ReSharper (http://www.jetbrains.com/resharper/). I had no second thoughts to use it based on my experience and it sure changed my clumsy feeling towards Visual Studio :)&lt;br /&gt;&lt;br /&gt;Unfortunately it's not free, but if you are doing open source development they give you it for free. Anyway, the cost isn't sky-high to purchase as well.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-7180046084493204559?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/7180046084493204559/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=7180046084493204559' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7180046084493204559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7180046084493204559'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2011/03/resharper-life-saver-for-visual-studio.html' title='ReSharper: Life Saver for Visual Studio Users'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-8773429832459875226</id><published>2011-02-22T08:20:00.000-08:00</published><updated>2011-02-22T08:21:01.700-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>It's Cold Again</title><content type='html'>අඳුරු වළා ලං වුනා ද &lt;br /&gt;එලිය නුඹේ නැති වුනා ද&lt;br /&gt;සීත අහසෙ රජ වුනා ද &lt;br /&gt;නුඹ ආයෙත් සැඟ වුනා ද&lt;br /&gt;&lt;br /&gt;2/22/11&lt;br /&gt;&lt;br /&gt;(C) Saliya Ekanayake&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-8773429832459875226?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/8773429832459875226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=8773429832459875226' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/8773429832459875226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/8773429832459875226'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2011/02/its-cold-again.html' title='It&apos;s Cold Again'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-6099768713463921227</id><published>2011-02-04T16:51:00.000-08:00</published><updated>2011-02-04T16:55:43.383-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='superscript'/><category scheme='http://www.blogger.com/atom/ns#' term='word 2007'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='subscript'/><category scheme='http://www.blogger.com/atom/ns#' term='equations'/><title type='text'>Subscript and Superscript with MS Word 2007 Equations</title><content type='html'>If you happen to use MS Word 2007 for equations and wonders why the heck there isn't a shortcut to subscript and superscript then you will like what I just found couple of minutes ago.&lt;br /&gt;&lt;br /&gt;If you want to type e1 with 1 as subscript just type e_1. The moment you hit space it will become what you want. To make 1 superscript type e^1 and space. Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-6099768713463921227?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/6099768713463921227/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=6099768713463921227' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/6099768713463921227'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/6099768713463921227'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2011/02/subscript-and-superscript-with-ms-word.html' title='Subscript and Superscript with MS Word 2007 Equations'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-3367380199112020727</id><published>2010-12-03T08:51:00.000-08:00</published><updated>2010-12-03T09:11:51.694-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cubicles'/><category scheme='http://www.blogger.com/atom/ns#' term='work'/><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>Open Cubicles and Work</title><content type='html'>I wanted to blog about this for a long time and finally it's out today. If you are in the computer science world working in some company or doing research, cubicles will not be a new thing for you. A large room partitioned into blocks of small cubicles and two or more people working nearby are the typical nature of these work areas. &lt;br /&gt;&lt;br /&gt;Honestly, I really really don't like this setting. I wonder who came up with this idea of having people sit nearby in the open and work. May be people are thinking that having open cubicles give more freedom to people because they are not physically constrained by walls or doors. But have they ever thought the effect on mind? Does physical boundaries affect the same way to mind? In fact, I think it's totally the other way around. You cannot think effectively when you are in open with others. Essentially what happens is that you are physically free, but mentally constrained. &lt;br /&gt;&lt;br /&gt;The truth with everyone, no matter how much they don't like to show it, is that they have unique ways of working optimally. This may include things like clapping and rubbing the hands when your code works and say "Oh! Sh*t" when it doesn't. Not to mention the luxury of thinking silently. How much of these can you do when you are in a professional setting surrounded by others? Also, how much actions of others can you tolerate. Here's one of my personal experience. A person who sat next to me used to sip his coffee so loud and end each sip with the sound "aah". I understand that it's how he likes to enjoy his coffee. That's perfectly fine, but for me that sipping was annoying and disturbing. &lt;br /&gt;&lt;br /&gt;So in my view, if you want to work effectively specially when you have to think, open cubicles are nothing but jail to your mind. If you think I am crazy, think of &lt;a href="http://www.guardian.co.uk/books/2009/sep/19/books-written-in-prison"&gt;theses&lt;/a&gt; (http://www.guardian.co.uk/books/2009/sep/19/books-written-in-prison). These guys were in prison physically, but they had all the "space" in mind to think. No I am not suggesting to go to prison to work :D.&lt;br /&gt;&lt;br /&gt;Anyway, another good video on "Why work doesn't happen at work", by Jason Fried from one the TED talks can be found from &lt;a href="http://www.ted.com/talks/jason_fried_why_work_doesn_t_happen_at_work.html"&gt;here&lt;/a&gt; (http://www.ted.com/talks/jason_fried_why_work_doesn_t_happen_at_work.html).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-3367380199112020727?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/3367380199112020727/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=3367380199112020727' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/3367380199112020727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/3367380199112020727'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2010/12/open-cubicles-and-work.html' title='Open Cubicles and Work'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-798159326544328141</id><published>2010-08-12T09:41:00.000-07:00</published><updated>2010-08-12T09:45:46.426-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MapReduce'/><category scheme='http://www.blogger.com/atom/ns#' term='life'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>Great Feedback: MapReduce In Simple Terms</title><content type='html'>My &lt;a href="http://www.slideshare.net/esaliya/mapreduce-in-simple-terms"&gt;presentation on MapReduce&lt;/a&gt; has received some great feedback via &lt;a href="http://pragmaticintegration.blogspot.com/2010/08/mapreduce-in-simple-terms.html"&gt;Pragmatic Integration&lt;/a&gt;. Isn't it really nice to see how somebody who you don't even know benefits from something you have?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-798159326544328141?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/798159326544328141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=798159326544328141' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/798159326544328141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/798159326544328141'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2010/08/great-feedback-mapreduce-in-simple.html' title='Great Feedback: MapReduce In Simple Terms'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-8238942814803387307</id><published>2010-05-13T09:57:00.000-07:00</published><updated>2010-05-13T10:04:44.899-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows7'/><category scheme='http://www.blogger.com/atom/ns#' term='IIS'/><category scheme='http://www.blogger.com/atom/ns#' term='WCF'/><category scheme='http://www.blogger.com/atom/ns#' term='Services'/><title type='text'>WCF Hosting with IIS7</title><content type='html'>I started working with services in Windows world recently and got stuck pretty badly when I tried to host a WCF service in IIS 7. I was receiving errors no matter what solution I tried with Googling. All of them mentioned that I may not have installed ASP.NET properly, but I have installed it properly. &lt;br /&gt;&lt;br /&gt;So I was clueless for a while, but luckily found this &lt;a href="http://blogs.msdn.com/wcftoolsteamblog/archive/2010/04/02/common-setup-issues-and-their-resolutions-when-publishing-wcf-service-to-local-iis.aspx"&gt;great article&lt;/a&gt; in &lt;a href="http://blogs.msdn.com/wcftoolsteamblog/default.aspx"&gt;WCF Tools team's blog&lt;/a&gt;, which mentioned that it may be because I installed Visual Studio prior to installing IIS. I did the simple command mentioned there and wow! it worked.&lt;br /&gt;&lt;br /&gt;I will post a step-by-step guide in a later post on how to deploy your WCF Service in IIS7.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-8238942814803387307?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/8238942814803387307/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=8238942814803387307' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/8238942814803387307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/8238942814803387307'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2010/05/wcf-hosting-with-iis7.html' title='WCF Hosting with IIS7'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-252173348707397717</id><published>2010-04-01T10:49:00.001-07:00</published><updated>2010-04-01T13:32:13.308-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MapReduce'/><category scheme='http://www.blogger.com/atom/ns#' term='OutputFormat'/><category scheme='http://www.blogger.com/atom/ns#' term='byte output'/><category scheme='http://www.blogger.com/atom/ns#' term='hadoop'/><title type='text'>Hadoop: Writing Byte Output</title><content type='html'>Recently, I wanted to write the set of value bytes (only them; no key) from the Reduce task of a &lt;span style="font-weight:bold;"&gt;Hadoop&lt;/span&gt; &lt;span style="font-weight:bold;"&gt;MapReduce&lt;/span&gt; program. The signature of the reduce function looked like this.&lt;br /&gt;&lt;pre name="code" class="Java"&gt;&lt;br /&gt;public void reduce(Text text, Iterator&amp;lt;byteswritable&amp;gt; itr, OutputCollector&amp;lt;text,&amp;gt; output, Reporter reporter)&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;In the main method I used SequenceFileOutputFormat as the output format. But it turned out that this way I get output as a SequenceFile, which I cannot later read by a separate Java program to extract out the values. May be I am wrong here, but as far as my searching went on, I couldn't find a way to &lt;span style="font-weight:bold;"&gt;easily&lt;/span&gt; do this.&lt;br /&gt;&lt;br /&gt;After being fed up with searching I thought of writing a custom FileOutputFormat just to suit my job. So I wrote this ByteOutputFormat class, which simply writes the value bytes as a binary file. So later I can read it using a normal (non Hadoop aware) Java program to extract the bytes.&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="Java"&gt;&lt;br /&gt;import org.apache.hadoop.fs.FSDataOutputStream;&lt;br /&gt;import org.apache.hadoop.fs.FileSystem;&lt;br /&gt;import org.apache.hadoop.fs.Path;&lt;br /&gt;import org.apache.hadoop.io.BytesWritable;&lt;br /&gt;import org.apache.hadoop.io.NullWritable;&lt;br /&gt;import org.apache.hadoop.io.compress.CompressionCodec;&lt;br /&gt;import org.apache.hadoop.io.compress.DefaultCodec;&lt;br /&gt;import org.apache.hadoop.mapred.FileOutputFormat;&lt;br /&gt;import org.apache.hadoop.mapred.JobConf;&lt;br /&gt;import org.apache.hadoop.mapred.RecordWriter;&lt;br /&gt;import org.apache.hadoop.mapred.Reporter;&lt;br /&gt;import org.apache.hadoop.util.Progressable;&lt;br /&gt;import org.apache.hadoop.util.ReflectionUtils;&lt;br /&gt;&lt;br /&gt;import java.io.DataOutputStream;&lt;br /&gt;import java.io.IOException;&lt;br /&gt;&lt;br /&gt;/**&lt;br /&gt; * @author Saliya Ekanayake&lt;br /&gt; */&lt;br /&gt;public class ByteOutputFormat&amp;lt;K, V&amp;gt; extends FileOutputFormat {&lt;br /&gt;    protected static class ByteRecordWriter&amp;lt;K, V&amp;gt; implements RecordWriter&amp;lt;K, V&amp;gt; {&lt;br /&gt;        private DataOutputStream out;&lt;br /&gt;&lt;br /&gt;        public ByteRecordWriter(DataOutputStream out) {&lt;br /&gt;            this.out = out;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        public void write(K key, V value) throws IOException {&lt;br /&gt;            boolean nullValue = value == null || value instanceof NullWritable;&lt;br /&gt;            if (!nullValue) {&lt;br /&gt;                BytesWritable bw = (BytesWritable) value;&lt;br /&gt;                out.write(bw.get(), 0, bw.getSize());&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        public synchronized void close(Reporter reporter) throws IOException {&lt;br /&gt;            out.close();&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    @Override&lt;br /&gt;    public RecordWriter&amp;lt;K, V&amp;gt; getRecordWriter(FileSystem ignored, JobConf job, String name, Progressable progress)&lt;br /&gt;            throws IOException {&lt;br /&gt;        if (!getCompressOutput(job)) {&lt;br /&gt;            Path file = FileOutputFormat.getTaskOutputPath(job, name);&lt;br /&gt;            FileSystem fs = file.getFileSystem(job);&lt;br /&gt;            FSDataOutputStream fileOut = fs.create(file, progress);&lt;br /&gt;            return new ByteRecordWriter&amp;lt;K, V&amp;gt;(fileOut);&lt;br /&gt;        } else {&lt;br /&gt;            Class codecClass = getOutputCompressorClass(job, DefaultCodec.class);&lt;br /&gt;            CompressionCodec codec = (CompressionCodec) ReflectionUtils.newInstance(codecClass, job);&lt;br /&gt;            Path file = FileOutputFormat.getTaskOutputPath(job, name + codec.getDefaultExtension());&lt;br /&gt;            FileSystem fs = file.getFileSystem(job);&lt;br /&gt;            FSDataOutputStream fileOut = fs.create(file, progress);&lt;br /&gt;            return new ByteRecordWriter&amp;lt;K, V&amp;gt;(new DataOutputStream(codec.createOutputStream(fileOut)));&lt;br /&gt;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Hope this would be helpful for you as well.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-252173348707397717?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/252173348707397717/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=252173348707397717' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/252173348707397717'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/252173348707397717'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2010/04/hadoop-writing-byte-output.html' title='Hadoop: Writing Byte Output'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-3301197955712760109</id><published>2010-03-29T10:08:00.001-07:00</published><updated>2010-03-29T10:12:01.669-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='HPC'/><category scheme='http://www.blogger.com/atom/ns#' term='MapReduce'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>MapReduce: Explained Simply as The Story of Sam</title><content type='html'>Couple of days back I made a presentation I made to explain the concept of MapReduce simply. I have attached the slides here for anyone interested. Please note, this doesn't include animations. If you want to get a better feeling feel free to download the original version of this &lt;a href="http://www.cs.indiana.edu/%7Esekanaya/MapReduce.pptx"&gt;MapReduce presentation&lt;/a&gt;.&lt;div style="width: 425px;" id="__ss_3586114"&gt;&lt;strong style="display: block; margin: 12px 0pt 4px;"&gt;&lt;a href="http://www.slideshare.net/esaliya/mapreduce-in-simple-terms" title="MapReduce in Simple Terms"&gt;MapReduce in Simple Terms&lt;/a&gt;&lt;/strong&gt;&lt;object width="425" height="355"&gt;&lt;param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=mapreduce-100329102056-phpapp02&amp;amp;stripped_title=mapreduce-in-simple-terms"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=mapreduce-100329102056-phpapp02&amp;amp;stripped_title=mapreduce-in-simple-terms" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style="padding: 5px 0pt 12px;"&gt;View more &lt;a href="http://www.slideshare.net/"&gt;presentations&lt;/a&gt; from &lt;a href="http://www.slideshare.net/esaliya"&gt;esaliya&lt;/a&gt;.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-3301197955712760109?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/3301197955712760109/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=3301197955712760109' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/3301197955712760109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/3301197955712760109'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2010/03/mapreduce-explained-simply-as-story-of.html' title='MapReduce: Explained Simply as The Story of Sam'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-811715185473424557</id><published>2010-03-10T23:07:00.000-08:00</published><updated>2010-03-10T23:08:30.302-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>.NET Naming Conventions</title><content type='html'>A good place to learn about &lt;a href="http://www.irritatedvowel.com/Programming/Standards.aspx"&gt;.NET naming conventions&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-811715185473424557?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/811715185473424557/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=811715185473424557' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/811715185473424557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/811715185473424557'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2010/03/net-naming-conventions.html' title='.NET Naming Conventions'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-3292465000503626892</id><published>2010-03-05T13:11:00.001-08:00</published><updated>2010-03-05T13:19:14.206-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows7'/><category scheme='http://www.blogger.com/atom/ns#' term='color'/><category scheme='http://www.blogger.com/atom/ns#' term='terminal'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Command Line: Relaxing Colors</title><content type='html'>I have been using a color theme for the command line in both Windows and Ubuntu for sometime now and it has been really comfortable for the eyes. So if you feel tired or bored using the white on black try these.&lt;br /&gt;&lt;br /&gt;Background Color: #3A4237 (in RGB this is 58,66,55)&lt;br /&gt;Text Color: White&lt;br /&gt;&lt;br /&gt;It will give you this feeling of a good old chalk board. Here's a screen capture of how it looks.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_XviwBoAyHOQ/S5F1Mm_oZTI/AAAAAAAABKg/WgChYLQoDsU/s1600-h/color.png"&gt;&lt;img style="cursor: pointer; width: 188px; height: 320px;" src="http://2.bp.blogspot.com/_XviwBoAyHOQ/S5F1Mm_oZTI/AAAAAAAABKg/WgChYLQoDsU/s320/color.png" alt="" id="BLOGGER_PHOTO_ID_5445262283953956146" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-3292465000503626892?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/3292465000503626892/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=3292465000503626892' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/3292465000503626892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/3292465000503626892'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2010/03/command-line-relaxing-colors.html' title='Command Line: Relaxing Colors'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_XviwBoAyHOQ/S5F1Mm_oZTI/AAAAAAAABKg/WgChYLQoDsU/s72-c/color.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-74542740751660510</id><published>2010-02-22T22:01:00.000-08:00</published><updated>2010-02-22T22:07:13.557-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='kalani'/><category scheme='http://www.blogger.com/atom/ns#' term='sinhala'/><category scheme='http://www.blogger.com/atom/ns#' term='poems'/><title type='text'>Sinhala Poems by My Wife</title><content type='html'>My wife, &lt;a href="http://kalani.ruwanpathirana.org"&gt;Kalani&lt;/a&gt;, has started a blog to post her &lt;a href="http://poems.ruwanpathirana.org"&gt;Sinhala poems&lt;/a&gt;. It's nice to see her archive of poems are finally coming up online.&lt;br /&gt;&lt;br /&gt;I am waiting to see the poem written for me :D&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-74542740751660510?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/74542740751660510/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=74542740751660510' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/74542740751660510'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/74542740751660510'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2010/02/sinhala-poems-by-my-wife.html' title='Sinhala Poems by My Wife'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-4615467971381446741</id><published>2010-02-16T13:37:00.000-08:00</published><updated>2010-02-16T13:44:17.743-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='share'/><category scheme='http://www.blogger.com/atom/ns#' term='keyboard'/><category scheme='http://www.blogger.com/atom/ns#' term='mouse'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='synergy'/><title type='text'>Synergy: Share Keyboard and Mouse</title><content type='html'>I wanted to use two computers running separate OSs, yet use the same keyboard and mouse. After searching a bit I found &lt;a href="http://synergy2.sourceforge.net/index.html"&gt;Synergy&lt;/a&gt; (http://synergy2.sourceforge.net/index.html). I should say it's one of the most easy-to-use software I have ever encountered. Here are the quick steps (you can read more on their &lt;a href="http://synergy2.sourceforge.net/running.html"&gt;user's guide&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;1. Install Synergy on both machines.&lt;br /&gt;2. Setup one machine as the server.&lt;br /&gt;3. Add the machines left, right, top, and bottom of the server (if any).&lt;br /&gt;4. Start synergy as client on those other machines.&lt;br /&gt;&lt;br /&gt;That's it and it's working. Only thing is that all machines should be in the same network.&lt;br /&gt;&lt;br /&gt;One cool thing is that clipboards of all machines are shared. So copy from one machine and paste in the other is possible. Also it enables you to activate screen saver on all machines at once.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-4615467971381446741?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/4615467971381446741/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=4615467971381446741' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4615467971381446741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4615467971381446741'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2010/02/synergy-share-keyboard-and-mouse.html' title='Synergy: Share Keyboard and Mouse'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-6657818375777302499</id><published>2010-01-30T07:21:00.000-08:00</published><updated>2010-01-30T07:27:02.043-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='split view'/><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>Split View in Firefox</title><content type='html'>After being able to &lt;a href="http://esaliya.blogspot.com/2010/01/split-view-in-eclipse.html"&gt;split the Eclipse&lt;/a&gt; windows, I felt the need to split Firefox. Luckily I came across this &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/4287"&gt;add-on&lt;/a&gt; called "Split Browser", which simply does this for you. It enables you to split tabs both horizontally and vertically. Here's a screenshot of this.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_XviwBoAyHOQ/S2RPpBMrKdI/AAAAAAAABJE/kun1WqHWjpw/s1600-h/Screenshot.png"&gt;&lt;img style="cursor: pointer; width: 320px; height: 200px;" src="http://2.bp.blogspot.com/_XviwBoAyHOQ/S2RPpBMrKdI/AAAAAAAABJE/kun1WqHWjpw/s320/Screenshot.png" alt="" id="BLOGGER_PHOTO_ID_5432554616630487506" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-6657818375777302499?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/6657818375777302499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=6657818375777302499' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/6657818375777302499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/6657818375777302499'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2010/01/split-view-in-firefox.html' title='Split View in Firefox'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_XviwBoAyHOQ/S2RPpBMrKdI/AAAAAAAABJE/kun1WqHWjpw/s72-c/Screenshot.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-5948821778720474016</id><published>2010-01-29T18:06:00.000-08:00</published><updated>2010-01-29T18:14:17.636-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='split view'/><category scheme='http://www.blogger.com/atom/ns#' term='Eclipse'/><title type='text'>Split View in Eclipse</title><content type='html'>I really wanted the split view feature to be in Eclipse as with most of the other IDEs. In fact, Eclipse has this feature, but doesn't give a visible menu/tool option to do it. The simplest way is to drag the tab containing the source until you can see an arrow mark. Then it will split the view as soon as you let go of the mouse. Here's a nice video I found on how to do this.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://addisu.taddese.com/blog/split-windowview-using-eclipse/"&gt;http://addisu.taddese.com/blog/split-windowview-using-eclipse/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here's a screenshot of how it looks.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_XviwBoAyHOQ/S2OV7c9ZIII/AAAAAAAABI8/ApLu0pfkQoo/s1600-h/Screenshot.png"&gt;&lt;img style="cursor: pointer; width: 320px; height: 194px;" src="http://4.bp.blogspot.com/_XviwBoAyHOQ/S2OV7c9ZIII/AAAAAAAABI8/ApLu0pfkQoo/s320/Screenshot.png" alt="" id="BLOGGER_PHOTO_ID_5432350424157462658" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_XviwBoAyHOQ/S2OVd1QJWFI/AAAAAAAABI0/MALQFyqUp6o/s1600-h/Screenshot.png"&gt;&lt;br /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-5948821778720474016?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/5948821778720474016/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=5948821778720474016' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/5948821778720474016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/5948821778720474016'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2010/01/split-view-in-eclipse.html' title='Split View in Eclipse'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_XviwBoAyHOQ/S2OV7c9ZIII/AAAAAAAABI8/ApLu0pfkQoo/s72-c/Screenshot.png' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-3067810507822280657</id><published>2010-01-17T10:25:00.001-08:00</published><updated>2010-01-17T10:28:04.782-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='keyboard'/><category scheme='http://www.blogger.com/atom/ns#' term='shortcuts'/><title type='text'>FireFox Keyboard Shortcuts</title><content type='html'>Great! Now I can stop using mouse for the most part of browsing.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://support.mozilla.com/en-US/kb/Keyboard+shortcuts"&gt;http://support.mozilla.com/en-US/kb/Keyboard+shortcuts&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-3067810507822280657?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/3067810507822280657/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=3067810507822280657' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/3067810507822280657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/3067810507822280657'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2010/01/firefox-keyboard-shortcuts.html' title='FireFox Keyboard Shortcuts'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-1233861862942254416</id><published>2009-12-15T17:39:00.001-08:00</published><updated>2009-12-15T17:45:20.013-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>Internet Speed: Isn't this nice?</title><content type='html'>In Sri Lanka, I used to connect to Internet using dial-up connection before ADSL came in. Then I felt "wow! ADSL is fast". But today here in IU, I would say "WOW! what a speed". See the picture below to see why I say this.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_XviwBoAyHOQ/Syg7oc_oH5I/AAAAAAAABG8/zdhDokciMpI/s1600-h/ispeed.png"&gt;&lt;img src="http://4.bp.blogspot.com/_XviwBoAyHOQ/Syg7oc_oH5I/AAAAAAAABG8/zdhDokciMpI/s320/ispeed.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5415644118076891026" style="cursor: pointer; width: 320px; height: 204px; " /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-1233861862942254416?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/1233861862942254416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=1233861862942254416' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/1233861862942254416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/1233861862942254416'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/12/internet-speed-isnt-this-nice.html' title='Internet Speed: Isn&apos;t this nice?'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_XviwBoAyHOQ/Syg7oc_oH5I/AAAAAAAABG8/zdhDokciMpI/s72-c/ispeed.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-6814236568995983099</id><published>2009-12-15T17:35:00.000-08:00</published><updated>2009-12-15T17:39:07.129-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='icons'/><category scheme='http://www.blogger.com/atom/ns#' term='windows7'/><category scheme='http://www.blogger.com/atom/ns#' term='desktop'/><title type='text'>Windows7: Desktop Icons: CTRL + Wheel</title><content type='html'>I wanted to change the size of the icons in Windows7 desktop as they were bit larger than I like. The solution was a simple one, though I had to do some Googling to find it out.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Just scroll the mouse wheel while pressing CTRL key. That's easy :). In fact, it can be used in many other places like in windows explorer to change the way how items are showed. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-6814236568995983099?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/6814236568995983099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=6814236568995983099' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/6814236568995983099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/6814236568995983099'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/12/windows7-desktop-icons-ctrl-wheel.html' title='Windows7: Desktop Icons: CTRL + Wheel'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-2225392929129612009</id><published>2009-12-13T21:27:00.000-08:00</published><updated>2009-12-13T21:33:50.595-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dell'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Windows7 and Ubuntu 9.10</title><content type='html'>I just wiped out my Dell Insipiron E1505 notebook and installed Windows7 Professional and Ubuntu 9.10. I had enough of the Windows XP Media Center Edition. I thought of moving to Ubuntu 9.10 as well, just feel the fun.&lt;br /&gt;&lt;br /&gt;Unlike in the previous experience with Windows, the Windows 7 performs really well. Regarding Ubuntu, it's better than 9.04 (I was happy with 9.04 as well). The only funny thing is that I had to find drivers and manually install my ATI Raedon X1300 VGA for Windows7. Earlier I used to do this for Ubuntu installations :)&lt;br /&gt;&lt;br /&gt;For the moment, these two OSs seems to be a great combination if you are planning to get the best of both worlds.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-2225392929129612009?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/2225392929129612009/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=2225392929129612009' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/2225392929129612009'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/2225392929129612009'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/12/windows7-and-ubuntu-910.html' title='Windows7 and Ubuntu 9.10'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-8231035901045776990</id><published>2009-11-25T22:06:00.000-08:00</published><updated>2009-11-25T22:53:34.798-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='pidgin'/><category scheme='http://www.blogger.com/atom/ns#' term='yahoo'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>Pidgin: Unable to Connect to Yahoo</title><content type='html'>Pidgin was giving trouble when connecting to my Yahoo account since recently. Today I got to know that it's because of &lt;a href="http://www.celticwolf.com/useful-information/faqs/26-pidgin-yahoo"&gt;this (http://www.celticwolf.com/useful-information/faqs/26-pidgin-yahoo)&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Then I wanted to install a latest version of pidgin on my Ubuntu 9.04. I tried the "how to" given in the official &lt;a href="http://www.pidgin.im/download/ubuntu/"&gt;pidgin site (http://www.pidgin.im/download/ubuntu/)&lt;/a&gt;, but it was unsuccessful. Then I came across these &lt;a href="http://linux.softpedia.com/progDownload/Pidgin-Download-6.html"&gt;debs (http://linux.softpedia.com/progDownload/Pidgin-Download-6.html)&lt;/a&gt; which solved the issue.&lt;br /&gt;&lt;br /&gt;Just a quick how-to:&lt;br /&gt;&lt;br /&gt;1. Download the i386 (or amd 64) debs&lt;br /&gt;2. Download the two DEB ALL debs&lt;br /&gt;3. Use dpkg -i to install the debs. Start with &lt;a href="http://85.114.135.53/ubuntu/jaunty/li/libpurple-bin_2.6.3-1%7Egetdeb1_all.deb"&gt;libpurple-bin_2.6.3-1~getdeb1_all.deb&lt;/a&gt;.&lt;br /&gt;    Then &lt;a href="http://85.114.135.53/ubuntu/jaunty/li/libpurple0_2.6.3-1%7Egetdeb1_i386.deb"&gt;libpurple0_2.6.3-1~getdeb1_i386.deb&lt;/a&gt; (or &lt;a href="http://85.114.135.53/ubuntu/jaunty/li/libpurple0_2.6.3-1%7Egetdeb1_amd64.deb"&gt;amd 64 one&lt;/a&gt;).&lt;br /&gt;    Now move ahead with &lt;a href="http://85.114.135.53/ubuntu/jaunty/pi/pidgin-data_2.6.3-1%7Egetdeb1_all.deb%5C"&gt;pidgin-data_2.6.3-1~getdeb1_all.deb&lt;/a&gt;.&lt;br /&gt;    Next &lt;a href="http://85.114.135.53/ubuntu/jaunty/pi/pidgin_2.6.3-1%7Egetdeb1_i386.deb"&gt;pidgin_2.6.3-1~getdeb1_i386.deb&lt;/a&gt; (or &lt;a href="http://85.114.135.53/ubuntu/jaunty/pi/pidgin_2.6.3-1%7Egetdeb1_amd64.deb"&gt;amd 64 one&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;That's it! no more troubles with Yahoo ;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-8231035901045776990?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/8231035901045776990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=8231035901045776990' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/8231035901045776990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/8231035901045776990'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/11/pidgin-unable-to-connect-to-yahoo.html' title='Pidgin: Unable to Connect to Yahoo'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-3612707096928976813</id><published>2009-11-25T22:01:00.000-08:00</published><updated>2009-11-25T22:06:03.796-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dell'/><category scheme='http://www.blogger.com/atom/ns#' term='e1505'/><title type='text'>Design Defect: Dell E1505</title><content type='html'>See what has happened to the paint and you can understand the defect. Dell, you really need to think more on the paint material :)&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_XviwBoAyHOQ/Sw4apMZ-G5I/AAAAAAAABCE/vjYqe8pUksQ/s1600/dscn0115.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_XviwBoAyHOQ/Sw4apMZ-G5I/AAAAAAAABCE/vjYqe8pUksQ/s320/dscn0115.jpg" alt="" id="BLOGGER_PHOTO_ID_5408289497525656466" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-3612707096928976813?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/3612707096928976813/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=3612707096928976813' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/3612707096928976813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/3612707096928976813'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/11/design-defect-dell-e1505.html' title='Design Defect: Dell E1505'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_XviwBoAyHOQ/Sw4apMZ-G5I/AAAAAAAABCE/vjYqe8pUksQ/s72-c/dscn0115.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-8091743201863736475</id><published>2009-11-25T21:40:00.000-08:00</published><updated>2009-11-25T22:01:14.599-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='functional'/><category scheme='http://www.blogger.com/atom/ns#' term='miniKanren'/><category scheme='http://www.blogger.com/atom/ns#' term='programming'/><category scheme='http://www.blogger.com/atom/ns#' term='relational'/><title type='text'>Functional Vs Relational</title><content type='html'>After sweating my brain over functional programming in &lt;a href="http://www.cs.indiana.edu/%7Edfried"&gt;Prof. Daniel Friedman's&lt;/a&gt; &lt;a href="http://cs.indiana.edu/classes/b521"&gt;class&lt;/a&gt; over the past several weeks, I got the chance to play with relational programming with &lt;a href="http://kanren.sourceforge.net/"&gt;miniKanren&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;It took me some time to adjust my brain to accept the difference. Finally, I told myself&lt;br /&gt;&lt;br /&gt;"Going to the grocer and paying for what you got is functional programming, but going to the grocer and handing over 10$ asking to give whatever that fits is logic programming"&lt;br /&gt;&lt;br /&gt;Just a thought :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-8091743201863736475?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/8091743201863736475/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=8091743201863736475' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/8091743201863736475'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/8091743201863736475'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/11/functional-vs-relational.html' title='Functional Vs Relational'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-6729294506696290592</id><published>2009-11-25T21:36:00.000-08:00</published><updated>2009-11-25T21:39:48.057-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ports'/><category scheme='http://www.blogger.com/atom/ns#' term='laptop'/><category scheme='http://www.blogger.com/atom/ns#' term='hardware'/><title type='text'>Identify Ports: Weird Holes in Your Laptop</title><content type='html'>Ever wondered what is the purpose of a weird shape hole in your laptop? I did and luckily I found this nice &lt;a href="http://techplore.com/technology/know-your-connectors-ports-a-visual-guide/"&gt;site (http://techplore.com/technology/know-your-connectors-ports-a-visual-guide/)&lt;/a&gt; with all the info I needed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-6729294506696290592?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/6729294506696290592/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=6729294506696290592' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/6729294506696290592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/6729294506696290592'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/11/identify-ports-weird-holes-in-your.html' title='Identify Ports: Weird Holes in Your Laptop'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-1768498047003393017</id><published>2009-10-28T12:55:00.000-07:00</published><updated>2009-10-28T12:55:31.744-07:00</updated><title type='text'>Internet Explorer 8: Replacement for Chrome</title><content type='html'>After installing Windows7 on my machine, I went on installing my usual set of software including &lt;a href="http://www.google.com/chrome"&gt;Google Chrome&lt;/a&gt;. But, I wanted to test InternetExplorer 8, which is the default browser, as well. So why wait, I started using it. Wow! I have to admit that it's cooler than Chrome. Why I say this mostly because it has a nice set of customizable accelartors. Also so far it is reliable than Chrome in Windows7. Moreover, it's way better than IE 7, which I consider as a pretty bad version of IE.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.microsoft.com/windows/internet-explorer/default.aspx?WT.srch=1"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-1768498047003393017?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.microsoft.com/windows/internet-explorer/default.aspx?WT.srch=1' title='Internet Explorer 8: Replacement for Chrome'/><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/1768498047003393017/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=1768498047003393017' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/1768498047003393017'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/1768498047003393017'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/10/internet-explorer-8-replacement-for.html' title='Internet Explorer 8: Replacement for Chrome'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-6840827600417198362</id><published>2009-10-07T06:38:00.000-07:00</published><updated>2009-10-07T06:53:56.241-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='axis2'/><category scheme='http://www.blogger.com/atom/ns#' term='webservice'/><category scheme='http://www.blogger.com/atom/ns#' term='jython'/><category scheme='http://www.blogger.com/atom/ns#' term='friends'/><title type='text'>Jython Web Service Framework</title><content type='html'>My friend, &lt;a href="http://heshans.blogspot.com"&gt;Heshan&lt;/a&gt;, has done an interesting work to provide a framework extension to Axis2 which enables Jython based Web services and clients. Read more on his &lt;a href="http://www.ibm.com/developerworks/web/library/wa-jython/"&gt;article (http://www.ibm.com/developerworks/web/library/wa-jython/) &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-6840827600417198362?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/6840827600417198362/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=6840827600417198362' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/6840827600417198362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/6840827600417198362'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/10/jython-web-service-framework.html' title='Jython Web Service Framework'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-2163825342188200478</id><published>2009-10-06T14:06:00.000-07:00</published><updated>2009-10-06T14:09:06.239-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='scheme'/><title type='text'>Record Scheme Sessions: Transcript</title><content type='html'>Ever wanted to save what you type in your Scheme interpreter? I wanted :). So after a small Google search I found these nice two commands.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To start recording type,&lt;/div&gt;&lt;div&gt;(transcript-on "filename")&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To end recording type,&lt;/div&gt;&lt;div&gt;(transcript off)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;That's it. Now your session is saved in the file given by you.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-2163825342188200478?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/2163825342188200478/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=2163825342188200478' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/2163825342188200478'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/2163825342188200478'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/10/record-scheme-sessions-transcript.html' title='Record Scheme Sessions: Transcript'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-4133865490980101170</id><published>2009-09-24T22:08:00.000-07:00</published><updated>2009-09-24T22:12:16.693-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>BGT: The Humble Peformer</title><content type='html'>I've been watching Britain Got Talent (BGT) for some time now and I've never come across a performer so humble like &lt;a href="http://www.youtube.com/watch?v=dxTY5mn8YTM"&gt;Eugene&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Really touching video, yet happy for his courage to come forward.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-4133865490980101170?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/4133865490980101170/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=4133865490980101170' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4133865490980101170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4133865490980101170'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/09/bgt-humble-peformance.html' title='BGT: The Humble Peformer'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-7623961685625360129</id><published>2009-09-22T20:53:00.000-07:00</published><updated>2009-09-22T21:01:47.798-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ssh'/><category scheme='http://www.blogger.com/atom/ns#' term='matlab'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Running Matlab Remotely: ssh -X</title><content type='html'>I wanted to run Matlab by logging into the university account remotely from my machine. Everything went fine except for the graphics. Matlab started in no graphics mode.&lt;br /&gt;&lt;br /&gt;After bit of a search I found the solution. You have to set the X11 forwarding in you ssh configuration file. Here's how to do it.&lt;br /&gt;&lt;br /&gt;1. cd /etc/ssh&lt;br /&gt;2. sudo vi ssh_config&lt;br /&gt;3. uncomment the lines "ForwardAgent" and "ForwardX11". Set their values to "yes"&lt;br /&gt;4. sudo vi sshd_config&lt;br /&gt;5. uncomment "X11Forwarding" and set it value to "yes" as well.&lt;br /&gt;&lt;br /&gt;that's it and you are good to go.&lt;br /&gt;&lt;br /&gt;Type ssh -X username@domain&lt;br /&gt;&lt;br /&gt;To test if everything works fine try running xclock once you log in. It should open up a graphical clock window.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-7623961685625360129?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/7623961685625360129/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=7623961685625360129' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7623961685625360129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7623961685625360129'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/09/running-matlab-remotely-ssh-x.html' title='Running Matlab Remotely: ssh -X'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-5469429876872916796</id><published>2009-09-22T12:27:00.000-07:00</published><updated>2010-01-13T21:18:20.852-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Funny Infinite Loop with C#</title><content type='html'>&lt;div&gt;What will happen when you run the following C# code? It's a never ending loop. Oh! really? yea, note the "Name" inside set method. I have used uppercase N. Now it will call setter recursively.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Interesting isn't it? :)&lt;/div&gt;&lt;br /&gt;&lt;pre name="code" class="CSharp"&gt;&lt;br /&gt;public class Person&lt;br /&gt;{&lt;br /&gt;private String name;&lt;br /&gt;public String Name&lt;br /&gt;{&lt;br /&gt;set&lt;br /&gt;{&lt;br /&gt;System.Console.WriteLine("assigning wow");&lt;br /&gt;Name = value;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;public class Hello&lt;br /&gt;{&lt;br /&gt;static void Main()&lt;br /&gt;{&lt;br /&gt;Person person = new Person();&lt;br /&gt;person.Name = "wow";&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-5469429876872916796?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/5469429876872916796/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=5469429876872916796' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/5469429876872916796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/5469429876872916796'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/09/funny-infinite-loop-with-c.html' title='Funny Infinite Loop with C#'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-4320467851953530791</id><published>2009-09-21T13:23:00.000-07:00</published><updated>2009-09-21T13:51:30.718-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='scheme'/><title type='text'>Scheme Way: Eclipse Plug-in</title><content type='html'>I thought of searching for an IDE for &lt;a href="http://en.wikipedia.org/wiki/Scheme_(programming_language)"&gt;Scheme&lt;/a&gt;, after being bit lazy to learn &lt;a href="http://www.gnu.org/software/emacs/"&gt;Emacs&lt;/a&gt;. Lucky enough I found a nice plugin for &lt;a href="http://www.eclipse.org/"&gt;Eclipse&lt;/a&gt; named &lt;a href="http://sourceforge.net/projects/schemeway/"&gt;SchemeWay&lt;/a&gt;. It took me a bit of time, however, to configure and set up the plug-in to work as I like.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you are struggling to set it up (as I did) here are few steps to help you with.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1. Download Eclipse from &lt;a href="http://www.eclipse.org/downloads/"&gt;http://www.eclipse.org/downloads/&lt;/a&gt;. I chose the classic version&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2. Download SchemeWay update pack from &lt;/div&gt;&lt;div&gt;&lt;a href="http://sourceforge.net/projects/schemeway/files/Update%20Site/1.3.0%20alpha%207/UpdateSite-1.3.0.alpha7.zip/download"&gt;http://sourceforge.net/projects/schemeway/files/Update%20Site/1.3.0%20alpha%207/UpdateSite-1.3.0.alpha7.zip/download&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3. Unpack the UpdateSite-1.3.0.alpha7.zip and copy the stuff inside plugins and features folders to eclipse features and plugins folders. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4. Start Eclipse and go to Help --&gt; Install New Software.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;5. Click Add on the on the Install window you get. It will give you a small window with two text boxes.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;6. Click Local next to the Name text box. Now you can browse to your extracted folder of the SchemeWay update pack.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;7. After couple of Ok presses Eclipse will show that it found the SchemeWay plugin. Then go ahead and install it.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;8. Once everything is done, you can switch to the Scheme perspective from Window --&gt; Open Perspective --&gt; Other --&gt; Scheme&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;9. Next task is to set the Scheme interpreter. I use the free version of Chez Scheme (i.e. Petite). So I have to set my interpreter as an external interpreter. To do this click Scheme --&gt; Select Interpreter --&gt; External Interpreter.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;10. Now you have to give the necessary parameters to the plug-in to start your interpreter. To do this click Window --&gt; Preferences. It will show you the preference window. On the left hand side of it you can expand the Scheme configurations. Select the External Interpreter configurations from there and set the necessary parameters.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Great! now you are good to go. Just create a new project and add a new Scheme source file. Then once you are done with typing your code, you can load it to the interpreter using CTRL+SHIFT+L.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You can play around a bit and get use to many other key short cuts. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;One thing to note: you will have to set the indentation for some definitions to suit your style. You can do this by going to the same scheme configuration from Window --&gt; Preferences.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-4320467851953530791?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/4320467851953530791/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=4320467851953530791' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4320467851953530791'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4320467851953530791'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/09/scheme-way-eclipse-plug-in.html' title='Scheme Way: Eclipse Plug-in'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-7926189631473678714</id><published>2009-09-21T10:47:00.000-07:00</published><updated>2009-09-21T11:07:44.028-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Ubuntu 9.04: Way better than 8.10</title><content type='html'>I have used Ubuntu since it's version 6.04 simply because I felt that it is easy to work with. Anyway, for me, the versions x.04 never gave a good impression. So I used to say "hey! if it's not a x.10 version then it's not what I like". Interestingly, I am finding it is hard to say with Ubuntu 9.04.&lt;br /&gt;&lt;br /&gt;Here's a list of things I felt really cool with 9.04.&lt;br /&gt;&lt;br /&gt;1. No configuration necessary for the ATI drivers. Yea I had a really fun time configuring stuff with &lt;a href="http://esaliya.blogspot.com/2008/06/ati-x1300-with-ubuntu-8.html"&gt;8.04&lt;/a&gt;, &lt;a href="http://esaliya.blogspot.com/2007/12/ati-x1300-with-ubuntu-gusty-7.html"&gt;7.10&lt;/a&gt;, and &lt;a href="http://esaliya.blogspot.com/2007/01/installing-ati-x1300-raedon-mobility.html"&gt;6.10&lt;/a&gt; (Um, I can't remember what I did with 6.04).&lt;br /&gt;&lt;br /&gt;2. External display detection is really awesome. It can even arrange the displays in any order I like (e.g. external one on top of default one).&lt;br /&gt;&lt;br /&gt;3. Intel wireless card works like a charm.&lt;br /&gt;&lt;br /&gt;4. Easy configurations for printers; hmm, I should really admire this.&lt;br /&gt;&lt;br /&gt;5. Reliable (so far). Didn't crash, didn't reboot with errors, and most interestingly hibernate seems to work better than in previous versions.&lt;br /&gt;&lt;br /&gt;6. Improved graphics.&lt;br /&gt;&lt;br /&gt;In summary, I am beginning to like x.04 s as well :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-7926189631473678714?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/7926189631473678714/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=7926189631473678714' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7926189631473678714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7926189631473678714'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/09/ubuntu-904-way-better-than-810.html' title='Ubuntu 9.04: Way better than 8.10'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-817858425005485469</id><published>2009-09-11T21:07:00.000-07:00</published><updated>2009-09-11T21:12:24.494-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='scheme'/><title type='text'>Scheme: Trace Functions</title><content type='html'>I found this really useful command in Scheme which helps to trace the function calls, while playing around it.&lt;br /&gt;&lt;br /&gt;Say you have define a function named func. Now if you want to trace how it works when you invoke it, just type this.&lt;br /&gt;&lt;br /&gt;&gt; (trace func)&lt;br /&gt;&lt;br /&gt;The next time you invoke func you will see the trace of function calls.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-817858425005485469?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/817858425005485469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=817858425005485469' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/817858425005485469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/817858425005485469'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/09/scheme-trace-functions.html' title='Scheme: Trace Functions'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-2703355448576291979</id><published>2009-09-11T12:38:00.000-07:00</published><updated>2009-09-11T12:50:40.321-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gsoc'/><category scheme='http://www.blogger.com/atom/ns#' term='UoM'/><title type='text'>GSoC and UoM: Who let the "sharks" out</title><content type='html'>&lt;a href="http://google-opensource.blogspot.com/2009/09/tasty-new-google-summer-of-code-stats.html"&gt;"...University of Moratuwa in Sri Lanka continues to dominate the field with 22 students accepted."&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Wow! am I not happy to see this line in the Internet? I truly am. As a former student of &lt;a href="http://www.mrt.ac.lk"&gt;University of Moratuwa&lt;/a&gt;, Sri Lanka, I am really happy to see the continuous achievement of its student in &lt;a href="http://code.google.com/soc"&gt;Google Summer of Code&lt;/a&gt;. To think of the fact that I too was a &lt;a href="http://esaliya.blogspot.com/2007/04/google-summer-of-code-2007-my-proposal.html"&gt;contributor&lt;/a&gt; to this success, makes me happy even more.&lt;br /&gt;&lt;br /&gt;Keep up the good work "sharks"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-2703355448576291979?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/2703355448576291979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=2703355448576291979' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/2703355448576291979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/2703355448576291979'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/09/gsoc-and-uom-who-let-sharks-out.html' title='GSoC and UoM: Who let the &quot;sharks&quot; out'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-7013601677072597521</id><published>2009-09-01T18:43:00.000-07:00</published><updated>2009-09-01T18:46:07.036-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='scheme'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Running Scheme on Ubuntu 8.04</title><content type='html'>Just hitting "scheme" in the console does no good if you are in Ubuntu 8.04. A workaround is explained &lt;a href="http://ubuntuforums.org/showthread.php?p=4868292"&gt;here (http://ubuntuforums.org/showthread.php?p=4868292&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;Here's the solution in brief:&lt;br /&gt;&lt;br /&gt;    sudo sysctl -w vm.mmap_min_addr=0&lt;br /&gt;&lt;br /&gt;Now run scheme&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-7013601677072597521?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/7013601677072597521/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=7013601677072597521' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7013601677072597521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7013601677072597521'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/09/running-scheme-on-ubuntu-804.html' title='Running Scheme on Ubuntu 8.04'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-5365925066243293362</id><published>2009-07-09T04:01:00.000-07:00</published><updated>2009-07-09T04:44:47.893-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WSO2'/><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>Last Day at WSO2</title><content type='html'>It has been nearly 14 months since I joined &lt;a href="http://wso2.org"&gt;WSO2&lt;/a&gt;. Gosh! I feel I joined just yesterday and I strongly believe that it is the wonderful community at WSO2 which made it so pleasant. Today, the time has come to say good bye, yet I am wondering how. It is hard to let go of a place you like. &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I am truely grateful to &lt;a href="http://sanjiva.weerawarana.org/"&gt;Dr. Sanjiva Weerawarana&lt;/a&gt; for giving me the opportunity to work at WSO2 and supporting me to prepare for my future endeavors. &lt;a href="http://ruwansblog.blogspot.com/"&gt;Mr. Ruwan Linton&lt;/a&gt; played an invaluable role as my team lead and gave the confidence to move forward. &lt;a href="http://adroitlogic.org/"&gt;Mr. Asankha Perara&lt;/a&gt; too did the same prior to Ruwan. My heartiest thanks for you two. I would like to give my sincere gratitude to the rest of the WSO2 team as well for being very much supportive throughout this time. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;WSO2 a place like no other!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-5365925066243293362?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/5365925066243293362/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=5365925066243293362' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/5365925066243293362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/5365925066243293362'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/07/last-day-at-wso2.html' title='Last Day at WSO2'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-6930186375508515568</id><published>2009-06-11T02:33:00.000-07:00</published><updated>2009-06-11T02:47:14.573-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Ubuntu: Resizing Partitions</title><content type='html'>"No space left on device": Damn, how did this happen?, I told my self. I am pretty sure that I gave enough space for my home partition to carry on with Maven builds at WSO2. Out of curiosity, I issued &lt;span style="font-style: italic;"&gt;df -h&lt;/span&gt; to see the partitions. Gee, I have accidentally assigned the larger partition to / (root) and smaller one for the home. The only solution is to resize the partitions. After a while, I remembered the great tool that comes with Ubuntu distribution, i.e. gparted.&lt;br /&gt;&lt;br /&gt;I booted my machine using an Ubuntu CD and ran gparted. I was very much pleased with its graphical view and was done with my problem in just minutes. Initially my paritions were like,&lt;br /&gt;&lt;br /&gt;|------------home----------|--------------/ (root)---------------------------------------------|&lt;br /&gt;&lt;br /&gt;After resizing it looked like,&lt;br /&gt;&lt;br /&gt;|----------------home----------------------------------------|----------------/ (root)---------|&lt;br /&gt;&lt;br /&gt;I was pretty happy with this little tool since it saved me from one hell of a trouble.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-6930186375508515568?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/6930186375508515568/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=6930186375508515568' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/6930186375508515568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/6930186375508515568'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/06/ubuntu-resizing-partitions.html' title='Ubuntu: Resizing Partitions'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-7681542665890573586</id><published>2009-06-07T07:27:00.000-07:00</published><updated>2009-06-07T07:51:28.075-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>Marriage: A Step Forward</title><content type='html'>&lt;a href="http://kalanir.blogspot.com/"&gt;Kalani&lt;/a&gt; and I got married on 29th May 2009 after being in love with for nearly five years.&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img src="http://3.bp.blogspot.com/_XviwBoAyHOQ/SivTGmrje-I/AAAAAAAAA7g/h2vICOMA9SA/s320/n763974691_2791364_1559056.jpg" style="cursor:pointer; cursor:hand;width: 320px; height: 213px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5344597493221129186" /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_XviwBoAyHOQ/SivTtMwwvpI/AAAAAAAAA7w/Wqsca-kRxZ4/s1600-h/4723_112838474691_763974691_2791417_6647604_n.jpg"&gt;&lt;img src="http://2.bp.blogspot.com/_XviwBoAyHOQ/SivTtMwwvpI/AAAAAAAAA7w/Wqsca-kRxZ4/s320/4723_112838474691_763974691_2791417_6647604_n.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5344598156278546066" style="cursor: pointer; width: 214px; height: 320px; " /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-7681542665890573586?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/7681542665890573586/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=7681542665890573586' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7681542665890573586'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7681542665890573586'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/06/marriage-step-forward.html' title='Marriage: A Step Forward'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_XviwBoAyHOQ/SivTGmrje-I/AAAAAAAAA7g/h2vICOMA9SA/s72-c/n763974691_2791364_1559056.jpg' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-3541595608740042694</id><published>2009-05-23T14:04:00.001-07:00</published><updated>2009-05-23T14:08:02.652-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WSO2'/><category scheme='http://www.blogger.com/atom/ns#' term='mashup'/><category scheme='http://www.blogger.com/atom/ns#' term='ESB'/><title type='text'>Flash Demo: WSO2 ESB, Mashup Server</title><content type='html'>&lt;a href="http://wso2.org"&gt;WSO2&lt;/a&gt; &lt;a href="http://wso2.org/projects/esb/java"&gt;ESB&lt;/a&gt; is a feature rich light weight Enterprise Service Bus. If you are new to what it has to offer, just see the 4 minute flash &lt;a href="http://wso2.org/library/demonstrations/flash-demo-wso2-enterprise-service-bus-wso2-esb"&gt;demo&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;WSO2 Mashup Server is another cool product which let you instantly create mashups. See &lt;a href="http://wso2.org/library/demonstrations/flash-demo-wso2-enterprise-service-bus-wso2-esb"&gt;demo&lt;/a&gt; for this too.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-3541595608740042694?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/3541595608740042694/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=3541595608740042694' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/3541595608740042694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/3541595608740042694'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/05/flash-demo-wso2-esb-mashup-server.html' title='Flash Demo: WSO2 ESB, Mashup Server'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-1134947644684818070</id><published>2009-05-19T08:56:00.000-07:00</published><updated>2009-05-19T08:59:55.437-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><category scheme='http://www.blogger.com/atom/ns#' term='entertainment'/><title type='text'>11 Year Old to Shake the Floor: Aiden Davis</title><content type='html'>I was astonished to see this &lt;a href="http://www.youtube.com/watch?v=0AsqauX6SV4&amp;amp;feature=related"&gt;video&lt;/a&gt; of Aiden Davis performing on &lt;a href="http://talent.itv.com/"&gt;BGT&lt;/a&gt; 2009. I really liked &lt;a href="http://www.youtube.com/watch?v=kyDnYeUnT7w"&gt;George Sampson&lt;/a&gt; on last year BGT. Aiden simply is better than him in dancing. Wow! I was thrilled&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-1134947644684818070?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/1134947644684818070/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=1134947644684818070' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/1134947644684818070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/1134947644684818070'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/05/11-year-old-to-shake-floor-aiden-davis.html' title='11 Year Old to Shake the Floor: Aiden Davis'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-4013612454518722890</id><published>2009-05-18T08:02:00.000-07:00</published><updated>2009-05-18T08:40:48.178-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sri lanka'/><title type='text'>Second Independence: A Day to Remember</title><content type='html'>LTTE brought terror for the last 30+ years in Sri Lanka. They claimed to represent Tamils, but it is a lie to protect their acts of violence. They gave no peace for the Tamils nor for Sri Lankans. The cowardly acts of suicide bombing, child soldiers, and killing of innocent civillians revealed us just one thing about LTTE, i.e. their hatred towards peace.&lt;br /&gt;&lt;br /&gt;It is of great pleasure to hear that SL forces have put an end to all this terror by killing the leader of LTTE, the coward Velupillai Prabhakaran. This is the second independence day that we should celebrate.&lt;br /&gt;&lt;br /&gt;All the blessings and thanks should go to the brave soldiers and the leader, the President Mahinda Rajapakha for giving hope which eventually became the reality.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-4013612454518722890?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/4013612454518722890/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=4013612454518722890' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4013612454518722890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4013612454518722890'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/05/day-to-remember.html' title='Second Independence: A Day to Remember'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-9126101744073926432</id><published>2009-05-16T09:29:00.000-07:00</published><updated>2009-05-16T09:31:37.850-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>Label Cloud</title><content type='html'>I just added a nice label cloud to my blog. Gosh! I now understand that I should have organized my labeling properly :)&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Here is the link: &lt;a href="http://phy3blog.googlepages.com/Beta-Blogger-Label-Cloud.html"&gt;http://phy3blog.googlepages.com/Beta-Blogger-Label-Cloud.html&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-9126101744073926432?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/9126101744073926432/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=9126101744073926432' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/9126101744073926432'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/9126101744073926432'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/05/label-cloud.html' title='Label Cloud'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-8283770412067227766</id><published>2009-05-10T20:53:00.000-07:00</published><updated>2009-05-16T09:33:04.731-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WSO2'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='JBoss'/><category scheme='http://www.blogger.com/atom/ns#' term='ESB'/><title type='text'>Deploying WSO2 ESB in JBoss 5.0 GA</title><content type='html'>It is nice to users themselves trying out new things with &lt;a href="http://wso2.org/"&gt;WSO2&lt;/a&gt; &lt;a href="http://wso2.org/projects/esb/java"&gt;ESB&lt;/a&gt;. Now, &lt;a href="http://wso2.org/blog/ramanathan/"&gt;Ramanathan&lt;/a&gt; has found the steps necessary to deploy WSO2 ESB in &lt;a href="http://sourceforge.net/project/showfiles.php?group_id=22866&amp;amp;package_id=16942&amp;amp;release_id=645033"&gt;JBoss 5.0 GA&lt;/a&gt;. Here is the link to his &lt;a href="http://wso2.org/blog/ramanathan/5318"&gt;blog entry (http://wso2.org/blog/ramanathan/5318)&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-8283770412067227766?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/8283770412067227766/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=8283770412067227766' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/8283770412067227766'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/8283770412067227766'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/05/deploying-wso2-esb-in-jboss-50-ga.html' title='Deploying WSO2 ESB in JBoss 5.0 GA'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-5603463456834340872</id><published>2009-05-07T01:36:00.000-07:00</published><updated>2009-05-07T01:42:29.995-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WSO2'/><category scheme='http://www.blogger.com/atom/ns#' term='wikimapia'/><title type='text'>WSO2 in Wikimapia</title><content type='html'>I just saw &lt;a href="http://wso2.org"&gt;WSO2 Inc.&lt;/a&gt; in &lt;a href="http://wikimapia.org/5865356/Wso2-Inc"&gt;Wikimapia&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-5603463456834340872?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/5603463456834340872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=5603463456834340872' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/5603463456834340872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/5603463456834340872'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/05/wso2-in-wikimapia.html' title='WSO2 in Wikimapia'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-4952089618915798968</id><published>2009-04-21T02:33:00.000-07:00</published><updated>2009-05-16T09:33:40.147-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='intellij'/><title type='text'>IntelliJIDEA: A Feature I Like to See</title><content type='html'>Recently I was doing some tiresome debugging with Java using IntelliJIDEA. It was then that I thought that there is a great improvement we can do. This is totally my imagination, so I am not sure on any implementations in the Internet (yet).&lt;br /&gt;&lt;br /&gt;The IDEA enables you to put debug points. These debug points may serve in creating a virtual path to traverse through the code. Thus, you are able to quickly jump to the next important point of code by just hitting F9. All this works really well for your debugging scenario. Now, what if you want to debug a different scenario, yet do not want to remove the older debug points? Then you have no option other than to add any new break points for the new scenario along with the older break points. This works okay, but makes the life bit hard since F9 will jump to points which are useless for the new scenario.&lt;br /&gt;&lt;br /&gt;So what I suggest is to have a mechanism to define break points separately for each debugging scenario. So when you place a break point you can give it a scenario ID and inform the debugger to follow the break points for the relevant ID. It will be like layers that you find in Adobe Photoshop. You can on/off layers. Similarly we can deactivate a set of debug points based on their ID.&lt;br /&gt;&lt;br /&gt;I wonder what JetBrains would think about this :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-4952089618915798968?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/4952089618915798968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=4952089618915798968' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4952089618915798968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4952089618915798968'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/04/intellijidea-feature-i-like-to-see.html' title='IntelliJIDEA: A Feature I Like to See'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-6977732371918521038</id><published>2009-04-18T21:16:00.000-07:00</published><updated>2009-05-16T09:34:23.680-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Huawei'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='3g'/><title type='text'>Huawei E160 on Ubuntu 8.04</title><content type='html'>Recently, I subscribed to a 3G Internet connection provided by &lt;a href="http://www.mobitellanka.com/"&gt;Mobitel&lt;/a&gt;. The modem I purchased is Huawei E160. Just like the most other plug-n-play devices this gadget did not include drivers for Ubuntu :). Anyway, I decided to give a try to set it up and voila! it worked.&lt;br /&gt;&lt;br /&gt;E160 has two modes of operation. It can act as a GSM modem and a data storage. So when you plug it in under Ubuntu it will attach it under one of these modes. If your network manager is older than version 0.97 then you it will normally get attached as a data storage device. You can see info on this by reading the kernel ring buffer with &lt;span style="font-style: italic;"&gt;dmesg -c &lt;/span&gt;command (you will need root privileges, i.e. &lt;span style="font-style: italic;"&gt;sudo dmesg -c&lt;/span&gt;). If it get attached as an storage device use &lt;span style="font-style: italic;"&gt;&lt;a href="http://www.draisberghof.de/usb_modeswitch/"&gt;usb_modeswitch&lt;/a&gt; &lt;/span&gt;to change its mode to a GSM modem.&lt;br /&gt;&lt;br /&gt;If everything went well then the rest is pretty easy. You will need to install &lt;span style="font-style: italic;"&gt;wvdial&lt;/span&gt; (&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;i.e. &lt;span style="font-style: italic;"&gt;sudo apt-get install wvdial&lt;/span&gt;). Then edit the &lt;span style="font-style: italic;"&gt;/etc/wvdial.conf&lt;/span&gt; file to include the following settings. &lt;span style="font-weight: bold;"&gt;Note: these are valid only with Mobitel M3 service in Sri Lanka. You may have to change some settings depending on your service prvoider&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;[Dialer Defaults]&lt;br /&gt;Modem = /dev/ttyUSB0&lt;br /&gt;Baud = 3600000&lt;br /&gt;Init1 = ATZ&lt;br /&gt;Init2 = ATQ0 V1 E1 S0=0 &amp;amp;C1 &amp;amp;D2&lt;br /&gt;Init3 =&lt;br /&gt;Area Code =&lt;br /&gt;Phone = *99#&lt;br /&gt;Username = ppp&lt;br /&gt;Password = ppp&lt;br /&gt;Ask Password = 0&lt;br /&gt;Dial Command = ATDT&lt;br /&gt;Stupid Mode = 1&lt;br /&gt;Compuserve = 0&lt;br /&gt;Force Address =&lt;br /&gt;Idle Seconds = 0&lt;br /&gt;DialMessage1 =&lt;br /&gt;DialMessage2 =&lt;br /&gt;ISDN = 0&lt;br /&gt;Auto DNS = 1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now execute &lt;span style="font-style: italic;"&gt;sudo wvdial&lt;/span&gt; and that's it. You are ready to go online with E160 :D&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-6977732371918521038?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/6977732371918521038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=6977732371918521038' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/6977732371918521038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/6977732371918521038'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/04/huawei-e160-on-ubuntu-804.html' title='Huawei E160 on Ubuntu 8.04'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-5599273767485367361</id><published>2009-04-14T21:25:00.000-07:00</published><updated>2009-05-16T09:35:26.535-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>Unlock Toyota Corolla 141</title><content type='html'>On the eve of the &lt;a href="http://en.wikipedia.org/wiki/Sinhalese_New_Year"&gt;Sinahala New Year&lt;/a&gt;, I was with my parents in our village. All the members of my mother's family were there to enjoy the occassion. Everything went fine until I accidently locked the car while the key was inside. The situation got worse when we found out that the extra key was inside the car as well. &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;After trying out things in "&lt;a href="http://www.imdb.com/title/tt0187078/"&gt;Gone in 60 Seconds&lt;/a&gt;" I realized that they were not going to work. One of my relatives, however, found the dust hole cap of the driver's seat and tried to push the carpet hoping to create an entrance into the car. Aha! luck strucked, the carpet elevated the trunk opener and trunk popped. We were, yet, no way near to any of the keys in the car. Then I thought I could slide my hand through the joint of the back seat to grab the extra key. Oh! boy it was hard. So left with no hope, we searched for other ways to get in. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The elder son of my aunt, however, was able to slide his hand without getting stucked and finally was able to grab the extra key, which was on the back seat. So much fun for the New Year :)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;So here are few tips to avoid yourself getting into this situation.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1. Keep the extra key at home&lt;/div&gt;&lt;div&gt;2. Check the key before locking the car&lt;/div&gt;&lt;div&gt;3. If your key has a tag number keep it written in your pocket (this number can be used to cut an extra key for your car from the dealer)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Now the bottom line is that things in your trunk are not safe since it can easily be popped ;)&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-5599273767485367361?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/5599273767485367361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=5599273767485367361' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/5599273767485367361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/5599273767485367361'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/04/unlock-toyota-corolla-141.html' title='Unlock Toyota Corolla 141'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-900313396096373460</id><published>2009-04-13T08:07:00.000-07:00</published><updated>2009-05-16T09:35:55.558-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><category scheme='http://www.blogger.com/atom/ns#' term='drink'/><title type='text'>New Year Drink: Mango</title><content type='html'>Just before the &lt;a href="http://en.wikipedia.org/wiki/Sinhalese_New_Year"&gt;Sinhala New Year&lt;/a&gt; I got the chance to taste a raw mango with salt and pepper. If you have not tried this before then my advice is do it today itself. Yep, the taste is awesome :)&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Anyway, while eating I wanted something to drink as well. Um, so why not try a mango drink, I felt. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;What you need:&lt;/div&gt;&lt;div&gt;1. A raw mango (&lt;span class="Apple-style-span" style="font-style: italic;"&gt;gira amba, rata amba, pol amba&lt;/span&gt;) except for &lt;span class="Apple-style-span" style="font-style: italic;"&gt;karthakolomban&lt;/span&gt;&lt;/div&gt;&lt;div&gt;2. A mug (yea, who wants to get satisfied with just a cup of water) of water&lt;/div&gt;&lt;div&gt;3. Two table spoons of sugar (depends on your likeness)&lt;/div&gt;&lt;div&gt;4. Salt (very little)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;How to:&lt;/div&gt;&lt;div&gt;1. Clean and peel the mango&lt;/div&gt;&lt;div&gt;2. Slice the peeled mango into small sections&lt;/div&gt;&lt;div&gt;3. Put the mango pieces into a blender and add water&lt;/div&gt;&lt;div&gt;4. Blend the mixture till you get a nice light greenish color&lt;/div&gt;&lt;div&gt;5. Filter the final mixuture to a jug and add sugar and salt as you like&lt;/div&gt;&lt;div&gt;6. Add two ice cubes and drink it.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Enjoy the drink while you wait for the New Year !&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-900313396096373460?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/900313396096373460/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=900313396096373460' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/900313396096373460'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/900313396096373460'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/04/new-year-drink-mango.html' title='New Year Drink: Mango'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-7286162146333070305</id><published>2009-04-11T02:48:00.000-07:00</published><updated>2009-05-16T09:36:18.438-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Huawei'/><category scheme='http://www.blogger.com/atom/ns#' term='3g'/><title type='text'>3G Experience with Mobitel M3: Huawei E 160</title><content type='html'>After relocating ourselves back to the village, I missed the luxury of Sri Lanka Telecom's (SLT) ADSL broadband connection. CDMA was the saviour till yesterday. Suntel, thogh charge a little bit than other providers, gave a fairly good connection (note: fairly good is w.r.t. the available connection speeds in Sri Lanka). &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Anyway, the need for a high speed connection grew pretty quickly. I tried Dialog, but it seems they do not have the 3G coverage out here. Taking bit of a risk, I decided to purchase a Mobitel connection. Honestly, their customer service was great. The only thing I did not like is the vendor locking of the 3G modem. I mean, the modem is from Huawei, so why do they want it to be locked only for Mobitel SIMs?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Regardless, of the vendor locking the connection was satisfactory with 3.6Mbps. I had to purchase a separate antenna for better reception, yet it is worth the price.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-7286162146333070305?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/7286162146333070305/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=7286162146333070305' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7286162146333070305'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7286162146333070305'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/04/3g-experience-with-mobitel-m3-huawei-e.html' title='3G Experience with Mobitel M3: Huawei E 160'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-7491332439064492902</id><published>2009-04-05T22:23:00.000-07:00</published><updated>2009-05-16T09:43:12.874-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WSO2'/><category scheme='http://www.blogger.com/atom/ns#' term='carbon'/><category scheme='http://www.blogger.com/atom/ns#' term='ESB'/><title type='text'>WSO2 Carbon: Feature Packs</title><content type='html'>I just realized the flexibility of &lt;a href="http://wso2.org/projects/carbon"&gt;WSO2 Carbon&lt;/a&gt; when I tried to install Business Process capability into &lt;a href="http://wso2.org/projects/esb"&gt;WSO2 ESB&lt;/a&gt;, which is based on WSO2 Carbon.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Simply extracting and copying the bundles in the feature pack does the job. Try it out at &lt;a href="http://wso2.org/downloads/carbon/feature_packs"&gt;http://wso2.org/downloads/carbon/feature_packs&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-7491332439064492902?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/7491332439064492902/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=7491332439064492902' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7491332439064492902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7491332439064492902'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/04/wso2-carbon-feature-packs.html' title='WSO2 Carbon: Feature Packs'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-6996549537637757181</id><published>2009-04-02T11:18:00.000-07:00</published><updated>2009-05-16T09:39:04.419-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gsoc'/><category scheme='http://www.blogger.com/atom/ns#' term='sri lanka'/><title type='text'>Sri Lanka and GSoC</title><content type='html'>Sri Lankan students gave a huge impact on Google Summer of Code 2008. This is a &lt;a href="http://heshans.blogspot.com/2009/04/nenapiyasa-tv-program-on-itn.html"&gt;video&lt;/a&gt; by ICTA on that where my good friend &lt;a href="http://heshans.blogspot.com/"&gt;Heshan&lt;/a&gt; and others giving out there idea on GSoC.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-6996549537637757181?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/6996549537637757181/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=6996549537637757181' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/6996549537637757181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/6996549537637757181'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/04/sri-lanka-and-gsoc.html' title='Sri Lanka and GSoC'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-7387070706050154876</id><published>2009-04-01T03:27:00.000-07:00</published><updated>2009-05-16T09:40:31.306-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='regex'/><title type='text'>Java Regex: Check for non word characters</title><content type='html'>I wanted to test a given string to see if it contains any non word characters in Java. Initially I came up with a lengthy version ;) Then after a bit of search I could simply shorten it.&lt;br /&gt;&lt;br /&gt;Version1: regular expression&lt;br /&gt;&lt;br /&gt;"\\p{Alnum}*[~!@#$%^&amp;amp;*()\\+=\\-:;&lt;&gt;\\s?\\[\\]{},/\\\\\"]+\\p{Alnum}*"&lt;br /&gt;&lt;br /&gt;Version2: regular expression&lt;br /&gt;&lt;br /&gt;"\\p{Alnum}*\\W+\\p{Alnum}*"&lt;br /&gt;&lt;br /&gt;Here's a nice &lt;a href="http://java.sun.com/docs/books/tutorial/essential/regex/index.html"&gt;guide&lt;/a&gt; (http://java.sun.com/docs/books/tutorial/essential/regex/index.html) to start with Java regular expressions&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-7387070706050154876?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/7387070706050154876/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=7387070706050154876' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7387070706050154876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7387070706050154876'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/04/java-regex-check-for-non-word.html' title='Java Regex: Check for non word characters'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-105953072707932286</id><published>2009-03-31T01:10:00.000-07:00</published><updated>2009-05-16T09:40:08.156-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='threads'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>Java Threads and Concurrency</title><content type='html'>The Sun's &lt;a href="http://java.sun.com/docs/books/tutorial/essential/concurrency/index.html"&gt;tutorial&lt;/a&gt; (http://java.sun.com/docs/books/tutorial/essential/concurrency/index.html) on concurrency with Java is a great place to start with multi-threading.&lt;br /&gt;&lt;br /&gt;Have fun with threads :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-105953072707932286?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/105953072707932286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=105953072707932286' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/105953072707932286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/105953072707932286'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/03/java-threads-and-concurrency.html' title='Java Threads and Concurrency'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-3087786951584291553</id><published>2009-03-26T10:39:00.000-07:00</published><updated>2009-05-16T09:40:57.113-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='imagemagick'/><title type='text'>Batch Resize Images</title><content type='html'>I was searching for a tool to scale images batch wise in Ubuntu and it seems that &lt;a href="http://www.imagemagick.org/script/index.php"&gt;ImageMagick&lt;/a&gt; is just the one for it. Here's how you can get it working as well.&lt;br /&gt;&lt;br /&gt;Step1: install ImageMagick&lt;br /&gt;&lt;br /&gt;$ sudo apt-get install imagemagick&lt;br /&gt;&lt;br /&gt;Step2: go to the images folder and type&lt;br /&gt;&lt;br /&gt;$ mogrify -sample 1280 x 800 *.JPG&lt;br /&gt;&lt;br /&gt;Here 1280 x 800 is the final size you want and *.JPG is the file set.&lt;br /&gt;&lt;br /&gt;To get more info on command options, visit &lt;a href="http://linuxuser32.wordpress.com/2007/06/16/batch-image-convert-scale-thumbnail-jpegs-pdf/"&gt;http://linuxuser32.wordpress.com/2007/06/16/batch-image-convert-scale-thumbnail-jpegs-pdf/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-3087786951584291553?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/3087786951584291553/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=3087786951584291553' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/3087786951584291553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/3087786951584291553'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/03/batch-resize-images.html' title='Batch Resize Images'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-4009686876768844502</id><published>2009-03-24T05:10:00.000-07:00</published><updated>2009-05-16T09:41:31.130-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bluetooth'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='blueproximity'/><title type='text'>Playing with BlueProximity</title><content type='html'>I recently came across this nice &lt;a href="http://www.janitha.com/"&gt;blog&lt;/a&gt; which had a &lt;a href="http://www.janitha.com/archives/110"&gt;post&lt;/a&gt; on locking the screen automatically. Anyway after seeing the comments I found it will be interesting to use Bluetooth to achieve this. I wanted to write some script on my own to get it done. Anyway as an initial step I tried BlueProximity which comes with Ubuntu. Here is a list of steps to get everything working.&lt;br /&gt;&lt;br /&gt;1. Install blueproximity:&lt;br /&gt;   $ sudo apt-get install blueproximity&lt;br /&gt;&lt;br /&gt;2. Pair up your computer with your phone using Bluetooth. You can use System -&gt; Preferences -&gt; Bluetooth      to do so.&lt;br /&gt;&lt;br /&gt;3. start blueproximity:&lt;br /&gt;   $ blueproximity &amp;amp;&lt;br /&gt; &lt;br /&gt;   You will see the blueproximity icon appearing on your system panel.&lt;br /&gt;&lt;br /&gt;4. Configure blueproximity to suit your likings, i.e. the distance after which your screen will get locked, time     duration, etc.&lt;br /&gt;&lt;br /&gt;That's it.&lt;br /&gt;&lt;br /&gt;Anyway it is not kicking unless I can write my own code :D&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-4009686876768844502?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/4009686876768844502/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=4009686876768844502' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4009686876768844502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4009686876768844502'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/03/playing-with-blueproximity.html' title='Playing with BlueProximity'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-4703195110412687537</id><published>2009-03-17T14:23:00.000-07:00</published><updated>2009-05-16T09:42:17.158-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><category scheme='http://www.blogger.com/atom/ns#' term='UoM'/><title type='text'>Lectures at UoM</title><content type='html'>I started lecturing Data Structures and Algorithms to Level 2 students of the &lt;a href="http://www.cse.mrt.ac.lk/"&gt;Dept. of Computer Science and Engineering&lt;/a&gt;, &lt;a href="http://www.mrt.ac.lk/"&gt;University of Moratuwa&lt;/a&gt;, Sri Lanka. Overall, it is a great experience and I really enjoy it. The bottom line that I understand is that it is only when you start teaching that you understand that you have to learn more ;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-4703195110412687537?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/4703195110412687537/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=4703195110412687537' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4703195110412687537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4703195110412687537'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/03/lectures-at-uom.html' title='Lectures at UoM'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-8572699610062780205</id><published>2009-01-29T21:56:00.000-08:00</published><updated>2009-01-29T22:03:04.916-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OSGi'/><category scheme='http://www.blogger.com/atom/ns#' term='WSO2'/><category scheme='http://www.blogger.com/atom/ns#' term='SOA'/><category scheme='http://www.blogger.com/atom/ns#' term='carbon'/><title type='text'>Build Your Own SOA Middleware</title><content type='html'>If what comes out of the box does not suit your way of SOA requirements then try out WSO2 Carbon. The ebook (&lt;a href="http://wso2.org/project/carbon/making_good_soa_great.pdf"&gt;http://wso2.org/project/carbon/making_good_soa_great.pdf&lt;/a&gt;) says it all.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-8572699610062780205?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/8572699610062780205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=8572699610062780205' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/8572699610062780205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/8572699610062780205'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/01/build-your-own-soa-middleware.html' title='Build Your Own SOA Middleware'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-4981979650272783180</id><published>2009-01-25T05:46:00.000-08:00</published><updated>2009-01-26T02:07:34.689-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sri lanka'/><title type='text'>Beautiful Sri Lanka</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_XviwBoAyHOQ/SXxuFEW-0II/AAAAAAAAA3E/zh7aH7xGsqo/s1600-h/beach.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_XviwBoAyHOQ/SXxuFEW-0II/AAAAAAAAA3E/zh7aH7xGsqo/s320/beach.jpg" alt="" id="BLOGGER_PHOTO_ID_5295228295229395074" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-4981979650272783180?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/4981979650272783180/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=4981979650272783180' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4981979650272783180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4981979650272783180'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2009/01/beautiful-sri-lanka.html' title='Beautiful Sri Lanka'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_XviwBoAyHOQ/SXxuFEW-0II/AAAAAAAAA3E/zh7aH7xGsqo/s72-c/beach.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-4563259782880487033</id><published>2008-12-30T08:39:00.001-08:00</published><updated>2009-05-16T09:44:30.360-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='vista'/><title type='text'>Access Vista from Ubuntu</title><content type='html'>Ever tried accessing a shared folder in Vista from Ubuntu? Here are the simple step I followed.&lt;br /&gt;&lt;br /&gt;For this example say your Vista user account is &lt;span style="font-weight: bold;"&gt;vista-pc&lt;/span&gt; and password is &lt;span style="font-weight: bold;"&gt;vista-pw&lt;/span&gt;. Also say the IP is &lt;span style="font-weight: bold;"&gt;192.168.1.2&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;----Do the following in your Vista machine----&lt;br /&gt;1. Start/Run secpol.msc&lt;br /&gt;2. Open Local Policies/Security Options, find "Network Security: LAN Manager"&lt;br /&gt;3. Change it to "Send LM &amp;amp; NTLM"&lt;br /&gt;4. share the folder that you want (say movies)&lt;br /&gt;&lt;br /&gt;---Do the following in your Ubuntu machine---&lt;br /&gt;1. sudo apt-get install smbfs&lt;br /&gt;2. sudo apt-get install smbclient&lt;br /&gt;3. sudo mkdir /mnt/hd&lt;br /&gt;4. sudo mount -t smbfs -o username=vista-pc,password=vista-pw //192.168.1.2/movies /mnt/hd&lt;br /&gt;&lt;br /&gt;That's it :) You can now access the shared Vista folder from /mnt/hd&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-4563259782880487033?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/4563259782880487033/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=4563259782880487033' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4563259782880487033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4563259782880487033'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2008/12/access-vista-from-ubuntu.html' title='Access Vista from Ubuntu'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-8325699880628371180</id><published>2008-10-20T02:19:00.000-07:00</published><updated>2009-05-16T09:45:02.553-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='maven'/><title type='text'>Increase Java Heap Memory for Maven</title><content type='html'>If you ever encounter an error saying Java heap is not enough, while building a project using Maven, the following content will help to get out of it. Thanks &lt;a href="http://charithaka.blogspot.com/2008/09/how-to-avoid-outofmemory-error-when.html"&gt;Charitha&lt;/a&gt; for finding this.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Set the MAVEN_OPTS system property,&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;e.g. &lt;span class="Apple-style-span"   style="color: rgb(51, 51, 51);   font-style: italic; line-height: 19px; font-family:Verdana;font-size:13px;"&gt;MAVEN_OPTS=-Xmx1024m  &lt;/span&gt;&lt;span class="Apple-style-span"   style="color: rgb(51, 51, 51);   line-height: 19px; font-family:Verdana;font-size:13px;"&gt;will give you 1024 Mb heap&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-8325699880628371180?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/8325699880628371180/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=8325699880628371180' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/8325699880628371180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/8325699880628371180'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2008/10/increase-java-heap-memory-for-maven.html' title='Increase Java Heap Memory for Maven'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-4707337957223940853</id><published>2008-10-20T01:04:00.000-07:00</published><updated>2009-05-16T09:46:16.889-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='axis2'/><category scheme='http://www.blogger.com/atom/ns#' term='award'/><category scheme='http://www.blogger.com/atom/ns#' term='rampart2'/><title type='text'>NBQSA Merit Award for Rampart2</title><content type='html'>Sameera, &lt;a href="http://kalanir.blogspot.com/"&gt;Kalani&lt;/a&gt;, Isuru and I developed a Web services security module for the well known &lt;a href="http://ws.apache.org/axis2"&gt;Apache Axi2&lt;/a&gt; middleware. The existing security module, &lt;a href="http://ws.apache.org/rampart"&gt;Rampart&lt;/a&gt;, has issues concerning performance. Therefore, our solution mainly focused on high performance. We used the code name Rampart2 to refer our project, though it is not part of Apache yet. The performance comparison of Rampart and Rampart2 can be found &lt;a href="http://wssecforaxis2.blogspot.com/2008/10/axis2-performance-with-ws-security.html"&gt;here&lt;/a&gt;.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.bcs.org/"&gt;BCSLanka&lt;/a&gt; organizes a competition named &lt;a href="http://www.nbqsasrilanka.org/"&gt;National Best Quality Software&lt;/a&gt; each year. Rampart2 got selected and was given a merit award in this year's competition. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;We are happy with our achievement and are waiting for more good news on Rampart2.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-4707337957223940853?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/4707337957223940853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=4707337957223940853' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4707337957223940853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4707337957223940853'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2008/10/nbqsa-merit-award-for-rampart2.html' title='NBQSA Merit Award for Rampart2'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-2555547754803853710</id><published>2008-10-02T00:10:00.000-07:00</published><updated>2008-10-02T00:33:47.963-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>Hard Times</title><content type='html'>&lt;p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;I broke my spectacles and got a new pair from &lt;a href="http://www.ggoptic.com/contact.html"&gt;&lt;span style="color:blue"&gt;George Gooneratne Optometrists.&lt;/span&gt;&lt;/a&gt; Guess what? They have taken wrong measurements and I had to visit them again to replace the glasses with correct measurements. After spending about two hours at their lab I finally got my sparkling shiny spectacles. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;The day after I was playing &lt;a href="http://www.new.facebook.com/album.php?aid=40353&amp;amp;id=670403527"&gt;&lt;span style="color:blue"&gt;basket ball&lt;/span&gt;&lt;/a&gt; at &lt;a href="http://wso2.org/"&gt;&lt;span style="color:blue"&gt;WSO2&lt;/span&gt;&lt;/a&gt; when I got hit by the ball right on my face at a most unexpected time. I was actually catching my breath and I look up only to see something crashing on to me. The shiny new spectacles were broken into pieces and my nose got wounded. The wounds were not that serious and I was lucky not to bleed internally. I found the broken frame of my spectacles and thought, hey that's not too bad because I still have the frame to which I can get a pair of glasses fixed. I put all the pieces into my bag and came home. The next day I was getting ready to go and get new glasses fixed. I collected broken frame and believe me, one side arm was missing. What the hell? I told myself. I searched every possible place I could look into but came up with nothing. Hmm, that's life, I thought and went to optometrist and get a new spectacle fixed. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;The next day I was happy with my new spectacles and spent the day peacefully at WSO2. The entire day I was in a meeting and later in the evening I and the others were invited to dinner at an Indian restaurant. The food was okay, but it didn't sound right for me. The next morning I woke up to find that I am suffering from a very bad stomach ache. I spent the entire day at home unable to do anything. The medication came to effect only in the evening. Today is the second day of the very unpleasant "Digesting Error", and there is yet another day to go to end the week. I am expecting what next :)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-2555547754803853710?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/2555547754803853710/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=2555547754803853710' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/2555547754803853710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/2555547754803853710'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2008/10/hard-times.html' title='Hard Times'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-9081763660502286679</id><published>2008-09-03T23:13:00.000-07:00</published><updated>2009-05-16T09:46:49.830-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='news'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><title type='text'>Google Chrome - Fast and Elegant</title><content type='html'>I had couple of issues with IE and FF3 in Windows and I decided to give it a try with the Buzz: Google Chrome. Amazingly, it's pretty fast than I expected. The next thing I like about chrome is it's simplicity, no stupid buttons hanging all over your browser :). &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I like the concept of having processes for each tab. I am wondering that browser technology is going to be much like the OSs. I mean the comic book is filled with many OS concepts I have learnt :). &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Kudos to Chrome !!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-9081763660502286679?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/9081763660502286679/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=9081763660502286679' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/9081763660502286679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/9081763660502286679'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2008/09/google-chrome-fast-and-elegant.html' title='Google Chrome - Fast and Elegant'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-4894564303638620441</id><published>2008-08-26T10:15:00.000-07:00</published><updated>2009-05-16T09:47:21.632-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='string'/><title type='text'>Java Strings: literal.equals(param) OR param.equals(literal)</title><content type='html'>Comparing strings is bit tricky :) Say for an example you want to test a String reference against the literal "hello". In simple terms you have a String (say helloStr) and you want to see if the content of that is equals to "hello". You have two choices here,&lt;br /&gt;&lt;br /&gt;1. helloStr.equals("hello")&lt;br /&gt;&lt;br /&gt;2. "hello".equals(helloStr)&lt;br /&gt;&lt;br /&gt;Both will do fine, but which is the better one? I've been using the second form but never thought of the difference (hmm, that's bad ;) anyway people do remember certain things bit later). In one of the code reviews at &lt;a href="http://www.wso2.org/"&gt;WSO2&lt;/a&gt; it was revealed. The first form can lead to a Null pointer exception in the case when the helloStr is null. The second option will save you from this since the literal "hello" is not null always and you are invoking a method of a not null object. In this case even if the helloStr is actually null it doesn't matter because it'll only cause the program to check "hello" against null which results false.&lt;br /&gt;&lt;br /&gt;If you are checking two String references then you have no option, but always try to invoke the equals() from the most probably not null reference.&lt;br /&gt;&lt;br /&gt;Little things do matter :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-4894564303638620441?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/4894564303638620441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=4894564303638620441' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4894564303638620441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4894564303638620441'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2008/08/java-strings-literalequalsparam-or.html' title='Java Strings: literal.equals(param) OR param.equals(literal)'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-5440235516248481817</id><published>2008-08-08T00:55:00.000-07:00</published><updated>2009-05-16T09:47:49.099-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pidgin'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>Setup Browser in Pidgin</title><content type='html'>After installing FF2 because I was fed up with FF3 I had to setup the default browser in Thunderbird (see my &lt;a href="http://esaliya.blogspot.com/2008/08/default-browser-settings-in-thunderbird.html"&gt;previous post&lt;/a&gt;). I was happy after that but today I found that I cannot open any links from Pidgin messenger as well. Argh! I was unhappy again :-/&lt;br /&gt;&lt;br /&gt;Fixing this issue, however, was pretty much easy ;) Open Pidgin, go to Tools --&gt; Preferences --&gt; Network. Then you can find a button saying Configure Browser. You'll get a tool window where you can set the command you want to execute in order to open up the browser. In my case FF2 can be started by issuing firefox-2 %s&lt;br /&gt;&lt;br /&gt;Just that. It works fine :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-5440235516248481817?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/5440235516248481817/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=5440235516248481817' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/5440235516248481817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/5440235516248481817'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2008/08/setup-browser-in-pidgin.html' title='Setup Browser in Pidgin'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-4147250211967827199</id><published>2008-08-06T23:07:00.000-07:00</published><updated>2009-05-16T09:49:09.964-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><category scheme='http://www.blogger.com/atom/ns#' term='TCPMon'/><title type='text'>Apache TCP Monitor - How To?</title><content type='html'>If you are searching for a tool to monitor messages that are exchanged between a client and a server, then Apache TCPMon is one of the best easy-to-use utilities available at zero cost. You can download three different flavors of this utility, i.e. standalone, IntelliJIDEA plug-in, and Eclipse plug-in. To get an in depth knowledge on how to use this nice tool see my &lt;a href="http://wso2.org/blog/saliya/3938"&gt;blog post &lt;/a&gt;at &lt;a href="http://www.wso2.org/"&gt;wso2.org&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The following blog posts too give an insight into this tool.&lt;br /&gt;&lt;br /&gt;http://charithaka.blogspot.com/2008/08/how-to-use-tcpmon-inside-eclipse.html&lt;br /&gt;http://www.keith-chapman.org/2008/07/using-tcp-monitor-to-debug-web-service.html&lt;br /&gt;&lt;span style="text-decoration: underline;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-4147250211967827199?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/4147250211967827199/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=4147250211967827199' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4147250211967827199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4147250211967827199'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2008/08/apache-tcp-monitor-how-to.html' title='Apache TCP Monitor - How To?'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-4536870754627373302</id><published>2008-08-06T21:05:00.000-07:00</published><updated>2009-05-16T09:50:09.697-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><title type='text'>Internet in Two Machines</title><content type='html'>I wanted to get the Internet connection to my notebook. The Internet facility is given by a CDMA service. So it's one machine only thing. That's bad because I need it to be given to two machines. Luckily I found this &lt;a href="http://sanjiva.weerawarana.org/2008/07/connectivity-technology-confluence-gsm.html"&gt;nice way&lt;/a&gt; of doing it from &lt;a href="http://sanjiva.weerawarana.org/"&gt;Dr. Sanjiva's&lt;/a&gt; blog. I'll try to find a pocket router similar to the one he has used and give it a go soon.&lt;br /&gt;&lt;br /&gt;Anyway if you want to know about how to setup IP forwarding see the following links.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.ducea.com/2006/08/01/how-to-enable-ip-forwarding-in-linux/"&gt;http://www.ducea.com/2006/08/01/how-to-enable-ip-forwarding-in-linux/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.linuxforums.org/forum/linux-networking/64083-simple-ip-forwarding.html"&gt;http://www.linuxforums.org/forum/linux-networking/64083-simple-ip-forwarding.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-4536870754627373302?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/4536870754627373302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=4536870754627373302' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4536870754627373302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4536870754627373302'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2008/08/internet-in-two-machines.html' title='Internet in Two Machines'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-7507215484074869816</id><published>2008-08-04T03:52:00.000-07:00</published><updated>2009-05-16T09:50:35.738-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='thunderbird'/><title type='text'>Default Browser Settings in Thunderbird</title><content type='html'>I wanted to remove FF3 (Firefox 3) and install FF2 in Ubuntu because some of the web applications didn't work well in FF3. After doing a apt-get remove for FF3 and an apt-get install for FF2 I noticed that in Thunderbird when clicked on a link in a mail, will not open up a browser tab. So the hunt began :)&lt;br /&gt;&lt;br /&gt;The solution was to tell Thunderbird the path of the browser to open. You need to create &lt;span style="font-weight: bold;"&gt;user.js &lt;/span&gt;file inside your ~/.mozilla-thunderbird/xxx.default/ (the xxx means any weird set of letters and numbers, e.g. 20art4c7). Type (or edit the path as to suit your browser) the following lines into that file and save it.&lt;br /&gt;&lt;br /&gt;user_pref("network.protocol-handler.app.ftp","/usr/bin/firefox-2");&lt;br /&gt;user_pref("network.protocol-handler.app.http","/usr/bin/firefox-2");&lt;br /&gt;user_pref("network.protocol-handler.app.https","/usr/bin/firefox-2");&lt;br /&gt;&lt;br /&gt;That's it :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-7507215484074869816?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/7507215484074869816/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=7507215484074869816' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7507215484074869816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7507215484074869816'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2008/08/default-browser-settings-in-thunderbird.html' title='Default Browser Settings in Thunderbird'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-2992449609014302729</id><published>2008-07-24T09:34:00.000-07:00</published><updated>2009-05-16T09:51:14.019-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Axiom'/><category scheme='http://www.blogger.com/atom/ns#' term='XPath'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><category scheme='http://www.blogger.com/atom/ns#' term='apache'/><title type='text'>XPath with Axiom</title><content type='html'>&lt;a href="http://ws.apache.org/commons/axiom"&gt;Apache Axiom&lt;/a&gt;, which is the popular open source StAX based XML infoset model, supports &lt;a href="http://www.w3schools.com/Xpath/"&gt;XPath&lt;/a&gt; out of the box. If you ever want to know how to use this feature, &lt;a href="http://www.wso2.org/"&gt;WSO2 Oxygentank&lt;/a&gt; has a very nice &lt;a href="http://wso2.org/library/265"&gt;tutorial&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The tricky part is, how to work with Namespaces? To get an idea on to the matter consider the following XML document.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_XviwBoAyHOQ/SIi035BnNwI/AAAAAAAAAi0/VOh5d8ZkOkg/s1600-h/samplexml.png"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_XviwBoAyHOQ/SIi035BnNwI/AAAAAAAAAi0/VOh5d8ZkOkg/s320/samplexml.png" alt="" id="BLOGGER_PHOTO_ID_5226626239856850690" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The following code fragment will retrieve the &lt;span style="font-weight: bold;"&gt;ns1:c1&lt;/span&gt; element and the two &lt;span style="font-weight: bold;"&gt;ns2:color&lt;/span&gt; attributes of each element.&lt;br /&gt;&lt;br /&gt;      // root is the document&lt;br /&gt;      OMElement root = builder.getDocumentElement();&lt;br /&gt;&lt;br /&gt;      AXIOMXPath xpath = new AXIOMXPath("//a:c1");&lt;br /&gt;      xpath.addNamespace("a", "http://namespace1.com");&lt;br /&gt;      OMElement c1 = (OMElement)xpath.selectSingleNode(root);&lt;br /&gt;      System.out.println(c1);&lt;br /&gt;&lt;br /&gt;      xpath = new AXIOMXPath("//@b:color");&lt;br /&gt;      xpath.addNamespace("b", "http://namespace2.com");&lt;br /&gt;      List &lt;omattribute&gt; colors = xpath.selectNodes(root);&lt;br /&gt;      System.out.println(colors.get(0).getAttributeValue());&lt;br /&gt;      System.out.println(colors.get(1).getAttributeValue());&lt;br /&gt;&lt;br /&gt;The important line in this code is the &lt;span style="font-weight: bold;"&gt;xpath.addNamespace(prefix, uri)&lt;/span&gt; method. This prefix doesn't have to be the exact prefix used in the actual document (which in fact is not known in most cases).&lt;br /&gt;&lt;br /&gt;That's it, have fun with Axiom :)&lt;/omattribute&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-2992449609014302729?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/2992449609014302729/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=2992449609014302729' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/2992449609014302729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/2992449609014302729'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2008/07/xppath-with-axiom.html' title='XPath with Axiom'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_XviwBoAyHOQ/SIi035BnNwI/AAAAAAAAAi0/VOh5d8ZkOkg/s72-c/samplexml.png' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-755963148869953174</id><published>2008-06-05T01:15:00.000-07:00</published><updated>2009-05-16T09:58:50.644-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='x1300'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='ATI'/><title type='text'>ATI X1300 with Ubuntu 8.04 (Hardy)</title><content type='html'>In one of my previous posts I mentioned how to setup ATI X1300 graphics card in Ubuntu Gusty. Recently I installed Ubuntu Hardy because Gusty came up with couple of bugs. Unfortunately I had to set up my graphics card again :(&lt;br /&gt;&lt;br /&gt;So I tried with the &lt;a href="http://wiki.cchtml.com/index.php/Main_Page"&gt;Unofficial ATI Wiki&lt;/a&gt; and it worked just as expected. Try method 2 mentioned &lt;a href="http://wiki.cchtml.com/index.php/Main_Page"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The great news is hibernation works with it :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-755963148869953174?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/755963148869953174/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=755963148869953174' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/755963148869953174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/755963148869953174'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2008/06/ati-x1300-with-ubuntu-8.html' title='ATI X1300 with Ubuntu 8.04 (Hardy)'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-7653364986031894534</id><published>2008-05-27T22:30:00.000-07:00</published><updated>2009-05-16T09:53:19.393-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='string'/><title type='text'>Convert ByteArrayInputStream to String</title><content type='html'>Recently one of my friends wanted to get the string contained in a ByteArrayInputStream in Java. The method do this was bit tricky and I thought it'd be nice to share it.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;ByteArrayInputStream bais = // get your ByteArrayInputStream instance&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;int length = bais.available();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;byte [] buff = new byte[length];&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;bais.read(buff);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;That's it!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-7653364986031894534?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/7653364986031894534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=7653364986031894534' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7653364986031894534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7653364986031894534'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2008/05/convert-bytearrayinputstream-to-string.html' title='Convert ByteArrayInputStream to String'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-5925396435176762804</id><published>2008-05-13T21:07:00.000-07:00</published><updated>2009-05-16T09:54:56.638-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WSO2'/><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'>@ WSO2, Inc.</title><content type='html'>The university life ended last Wednesday (7th May) and it was time to move into my first job in life :)&lt;br /&gt;&lt;br /&gt;I joined WSO2 Inc. on 12th May and it has been few busy days until today :). I am waiting for some build to complete and thought to jump in and blog on this.&lt;br /&gt;&lt;br /&gt;I feel life has changed a bit compared with the life at the university, yet it is the same old me sitting in front of the computer :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-5925396435176762804?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/5925396435176762804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=5925396435176762804' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/5925396435176762804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/5925396435176762804'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2008/05/wso2-inc.html' title='@ WSO2, Inc.'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-1411495854867409657</id><published>2008-04-22T08:57:00.000-07:00</published><updated>2009-05-16T09:55:46.412-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='repair'/><category scheme='http://www.blogger.com/atom/ns#' term='laptop'/><category scheme='http://www.blogger.com/atom/ns#' term='keyboard'/><category scheme='http://www.blogger.com/atom/ns#' term='notebook'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='vgnfe855e'/><category scheme='http://www.blogger.com/atom/ns#' term='sony vaio'/><title type='text'>Repair Sony VAIO VGN FE855E Keyboard</title><content type='html'>My girlfriend's notebook was "attacked" by ants recently. This is the famous attack of eating the rubber membrane of the keyboard. They have eaten the contact material of the rubber button and several keys were not working after that. The following picture gives you the model number of the notebook.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_XviwBoAyHOQ/SA4RZMgsYfI/AAAAAAAAAfs/coMuoHor6OQ/s1600-h/DSCN1879_resize.JPG"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_XviwBoAyHOQ/SA4RZMgsYfI/AAAAAAAAAfs/coMuoHor6OQ/s320/DSCN1879_resize.JPG" alt="" id="BLOGGER_PHOTO_ID_5192106544957514226" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I searched for keyboard replacements and found that they are expensive (Sony service require 169$ to replace a keyboard). There are refurbished keyboards available in e-bay for prices around 70$, but I couldn't get one since I live in Sri Lanka. The price and tax is too much if I deliver something from US. So I gave a go by myself. Bottom line is I fixed all the keys for a price just around 1$ (one dollar :)&lt;br /&gt;&lt;br /&gt;I thought of giving the steps I followed in case if some one else is in trouble like me.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Step 1: Identify the not working keys.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You can simply use a text pad to type the keys and identify the ones that doesn't work. To test function keys you can do many things. The easiest thing I did was to run a program in command line and then to press function keys in the same shell (note you should not run the particular program you chose as a background process). There each time you press a function key some kind of symbols appear. So you can see if it works or not. See this is a very primitive way but it works.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Step 2: Removing the plastic plate of the key&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In notebook keyboards the plastic key plate is clipped to an underlying plastic support mechanism. See the following picture (the bad key in this case is F11)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_XviwBoAyHOQ/SA4Wo8gsYhI/AAAAAAAAAf4/JLK-wCiGnzA/s1600-h/DSCN1880_resize.JPG"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_XviwBoAyHOQ/SA4Wo8gsYhI/AAAAAAAAAf4/JLK-wCiGnzA/s320/DSCN1880_resize.JPG" alt="" id="BLOGGER_PHOTO_ID_5192112313098592786" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_XviwBoAyHOQ/SA4XG8gsYiI/AAAAAAAAAgA/NCpr96LrYfM/s1600-h/DSCN1881_resize.JPG"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_XviwBoAyHOQ/SA4XG8gsYiI/AAAAAAAAAgA/NCpr96LrYfM/s320/DSCN1881_resize.JPG" alt="" id="BLOGGER_PHOTO_ID_5192112828494668322" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Use a small flat screw driver to lift the plastic plate from top left corner and bottom left corner. Note: If you are trying to remove normal keys (like A, B, etc.) then you need to lift from bottom left and bottom right corners of the key plate. Once removed you can see it as follows.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_XviwBoAyHOQ/SBAQ9sgsYjI/AAAAAAAAAgI/RKVTLfQdx-c/s1600-h/DSCN1882_resize.JPG"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_XviwBoAyHOQ/SBAQ9sgsYjI/AAAAAAAAAgI/RKVTLfQdx-c/s320/DSCN1882_resize.JPG" alt="" id="BLOGGER_PHOTO_ID_5192669022464533042" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;Step 3: Removing the plastic hinges&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;You can use the same screw driver to remove the white plastic hinges. See &lt;a href="http://www.iraqigeek.com/2006/07/19/repairing-a-laptop-keyboard/"&gt;IraqiGeek's blog&lt;/a&gt; to see more information. One advice is that don't force too much on these small plastic items as they tend to break easily. Once removed you will see something similar to the pictures given below.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_XviwBoAyHOQ/SBAT68gsYkI/AAAAAAAAAgQ/_u5SJL4oFiw/s1600-h/DSCN1883_resize.JPG"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_XviwBoAyHOQ/SBAT68gsYkI/AAAAAAAAAgQ/_u5SJL4oFiw/s320/DSCN1883_resize.JPG" alt="" id="BLOGGER_PHOTO_ID_5192672273754776130" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_XviwBoAyHOQ/SBAUfMgsYlI/AAAAAAAAAgY/WYOMy1SQ2Fk/s1600-h/DSCN1884_resize.JPG"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_XviwBoAyHOQ/SBAUfMgsYlI/AAAAAAAAAgY/WYOMy1SQ2Fk/s320/DSCN1884_resize.JPG" alt="" id="BLOGGER_PHOTO_ID_5192672896525034066" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Step 4: Peeling off the rubber button&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;The next step is removing the rubber button. It is little bit hard and needs lots of patience. The rubber button is fixed to the same plastic sheet which contains the touch points. So it is virtually irreplaceable :). The option I selected was to cut off the rubber button. You need a sharp blade to do this. I used a razor blade. Once again, be careful when you cut because a single mistake could damage the underlying carbon contact lines, leaving no option other than to replace the entire keyboard. Once you cut it off you can see it as follows (the second image shows another bad key, i.e. Esc key).&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_XviwBoAyHOQ/SBCmksgsYoI/AAAAAAAAAgw/LXWa47uXm1E/s1600-h/DSCN1896_resize.JPG"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_XviwBoAyHOQ/SBCmksgsYoI/AAAAAAAAAgw/LXWa47uXm1E/s320/DSCN1896_resize.JPG" alt="" id="BLOGGER_PHOTO_ID_5192833519711969922" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_XviwBoAyHOQ/SBClgcgsYnI/AAAAAAAAAgo/6WLQZPSMTjE/s1600-h/DSCN1898_resize.JPG"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_XviwBoAyHOQ/SBClgcgsYnI/AAAAAAAAAgo/6WLQZPSMTjE/s320/DSCN1898_resize.JPG" alt="" id="BLOGGER_PHOTO_ID_5192832347185898098" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Step 5: Finding a replacement rubber button&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you can get away with this step then you are basically done with repairing. If you see the two images above you can clearly see the carbon touch plats (see the thin white "s" shape in the place where the rubber button is taken off. That is the margin separating the two carbon plates). The keyboard simply works if you can somehow find a button which will contact these two plates when pressed. There are numerous solutions you can find in day to day stuff which can be used as a replacement. The one I found was a simple push button. You can easily find a similar type of thing any electronic parts seller. See the images given below.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_XviwBoAyHOQ/SBCo68gsYpI/AAAAAAAAAg4/yrrKmRW58fQ/s1600-h/DSCN1890_resize.JPG"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_XviwBoAyHOQ/SBCo68gsYpI/AAAAAAAAAg4/yrrKmRW58fQ/s320/DSCN1890_resize.JPG" alt="" id="BLOGGER_PHOTO_ID_5192836100987314834" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_XviwBoAyHOQ/SBCpIMgsYqI/AAAAAAAAAhA/WLmGyXa5u-M/s1600-h/DSCN1891_resize.JPG"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_XviwBoAyHOQ/SBCpIMgsYqI/AAAAAAAAAhA/WLmGyXa5u-M/s320/DSCN1891_resize.JPG" alt="" id="BLOGGER_PHOTO_ID_5192836328620581538" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_XviwBoAyHOQ/SBCpTMgsYrI/AAAAAAAAAhI/DsiUfz-nteo/s1600-h/DSCN1892_resize.JPG"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_XviwBoAyHOQ/SBCpTMgsYrI/AAAAAAAAAhI/DsiUfz-nteo/s320/DSCN1892_resize.JPG" alt="" id="BLOGGER_PHOTO_ID_5192836517599142578" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The first image shows the small switch I found and the next one shows the rubber button of it removed. You can remove it simply by pulling off gently from the sides of the rubber button (Note: be careful not to tear it off). The third one shows the underside of the rubber button and you can clearly see the carbon dot in it. This is the one which get pressed on to the carbon plates of the keyboard. The side view of this button is given below (in fact this is the same side view of the original notebook's rubber button as well).&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_XviwBoAyHOQ/SBCu-sgsYsI/AAAAAAAAAhQ/01u6y_cuNhA/s1600-h/architecture.JPG"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_XviwBoAyHOQ/SBCu-sgsYsI/AAAAAAAAAhQ/01u6y_cuNhA/s320/architecture.JPG" alt="" id="BLOGGER_PHOTO_ID_5192842762481590978" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The replacement button I found had this problem that the distance of pressing is smaller than that is of the original button. So when you fix the key plate it acts much like a touch button. I didn't like that feeling. So I simply shorten the rubber cylinder by removing a part of it and gluing the two parts. This is though seems simple requires a lot of patience. So drink lot of water before you do this :D and take a deep breath. Ah! one thing I forgot to tell was that not all type of glues can be used to bond rubber. So better to find a super glue which can bond rubber. In my case I found a cheap Indian made super glue (I think the name was Evlico or something like that).&lt;br /&gt;&lt;br /&gt;Once you adjust the pressing distance and the button is ready to go you need to one more thing. The rubber button used here acts as a vacuum when pressed and sticks to the key board's plastic sheet. So I made two tiny holes symmetrically. That way it becomes very easy to press and feels much like the original button. See the images given below. I think you can see the tiny holes.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_XviwBoAyHOQ/SBCzZcgsYuI/AAAAAAAAAhc/fLREZaqeKxY/s1600-h/DSCN1900_resize.JPG"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_XviwBoAyHOQ/SBCzZcgsYuI/AAAAAAAAAhc/fLREZaqeKxY/s320/DSCN1900_resize.JPG" alt="" id="BLOGGER_PHOTO_ID_5192847620089602786" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_XviwBoAyHOQ/SBCznsgsYvI/AAAAAAAAAhk/TVgyWDAKhrQ/s1600-h/DSCN1902_resize.JPG"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_XviwBoAyHOQ/SBCznsgsYvI/AAAAAAAAAhk/TVgyWDAKhrQ/s320/DSCN1902_resize.JPG" alt="" id="BLOGGER_PHOTO_ID_5192847864902738674" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Step 6: Replacing the key plate&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;First replace the plastic hinges. I think you can do it by yourself. The advice here is don't push too much if the thing isn't attaching. You may probably trying to fit it wrongly. Then place the key plate on top of the rubber button and gently push from four corners (you can hear the "tick" sound as you press which indicates the correct fitting of the plate).&lt;br /&gt;&lt;br /&gt;This completes the repair and following is a list of additional rubber button replacements you can use.&lt;br /&gt;&lt;br /&gt;1. The calculator touch pads have a nice a rubber membrane with touch switches similar to the one I used.&lt;br /&gt;&lt;br /&gt;2. TV / VCR remote controllers too have nice rubber buttons inside.&lt;br /&gt;&lt;br /&gt;3. There are various types of rubber push buttons available in the market. So better to find a similar one that suits your machine.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you have any doubt on the matter just drop a reply to this post.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="text-decoration: underline;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-1411495854867409657?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/1411495854867409657/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=1411495854867409657' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/1411495854867409657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/1411495854867409657'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2008/04/repair-sony-vaio-vgn-fe855e-keyboard-my.html' title='Repair Sony VAIO VGN FE855E Keyboard'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_XviwBoAyHOQ/SA4RZMgsYfI/AAAAAAAAAfs/coMuoHor6OQ/s72-c/DSCN1879_resize.JPG' height='72' width='72'/><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-6940498397695585049</id><published>2008-02-04T07:52:00.000-08:00</published><updated>2009-05-16T09:56:16.405-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>How to Access Linux (Ext2) Partitions from Windows OS</title><content type='html'>I've been using &lt;a href="http://www.chrysocome.net/explore2fs"&gt;Explore2fs&lt;/a&gt; for sometime to access my Linux partition from Windows OS. But it was very boring to copy files from Ext2 partition all the time when I wanted to access them. So I decided to search for a better option. So here it is, &lt;a href="http://www.fs-driver.org/index.html"&gt;Ext2 installable file system&lt;/a&gt;. It's very cool. You can even write to Ext2 partition. Here is the &lt;a href="http://www.howtoforge.com/access-linux-partitions-from-windows"&gt;good article&lt;/a&gt; where I found these stuff.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-6940498397695585049?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/6940498397695585049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=6940498397695585049' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/6940498397695585049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/6940498397695585049'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2008/02/how-to-access-linux-ext2-partitions.html' title='How to Access Linux (Ext2) Partitions from Windows OS'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-2878544695972151962</id><published>2008-02-03T12:36:00.000-08:00</published><updated>2009-05-16T09:56:35.413-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sri lanka'/><title type='text'></title><content type='html'>&lt;span style="font-weight: bold;"&gt;60th Independence Day&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;Today is the 60th independence day of Sri Lanka. &lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-2878544695972151962?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/2878544695972151962/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=2878544695972151962' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/2878544695972151962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/2878544695972151962'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2008/02/60th-independence-day-today-is-60th.html' title=''/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-8778761689149211193</id><published>2008-01-31T09:07:00.000-08:00</published><updated>2009-05-16T09:56:55.024-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><category scheme='http://www.blogger.com/atom/ns#' term='woodwork'/><title type='text'>My Woodwork</title><content type='html'>I wanted to add an extension to my desk so that I can keep my laptop on that. The laptop when put on the desk forms a very bad position. It's basically not ergonomic. So I decided to do bit of carpentry and the result was amazing. I really  like it. The finished work is shown in the picture.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_XviwBoAyHOQ/R6ICXMumXxI/AAAAAAAAALc/woe4QfzWREY/s1600-h/table.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_XviwBoAyHOQ/R6ICXMumXxI/AAAAAAAAALc/woe4QfzWREY/s320/table.jpg" alt="" id="BLOGGER_PHOTO_ID_5161690720496934674" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-8778761689149211193?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/8778761689149211193/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=8778761689149211193' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/8778761689149211193'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/8778761689149211193'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2008/01/my-woodwork-i-wanted-to-add-extension.html' title='My Woodwork'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_XviwBoAyHOQ/R6ICXMumXxI/AAAAAAAAALc/woe4QfzWREY/s72-c/table.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-2575535979238131363</id><published>2008-01-22T09:57:00.000-08:00</published><updated>2009-05-16T09:57:27.105-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='news'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><title type='text'>Google Pages</title><content type='html'>Google always come up with cool ideas. This is not boasting but they really do. I recently came across this idea of &lt;a href="http://pages.google.com/"&gt;Google pages&lt;/a&gt;. I was searching for a place to share some of my files with others. It's then I found this and it was more than a place to share files. I gave it a try and here is my &lt;a href="http://esaliya.googlepages.com/home"&gt;hOme&lt;/a&gt; up and running :)&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-2575535979238131363?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/2575535979238131363/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=2575535979238131363' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/2575535979238131363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/2575535979238131363'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2008/01/google-pages-google-always-come-up-with.html' title='Google Pages'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-173300878000472947</id><published>2007-12-14T10:57:00.000-08:00</published><updated>2009-05-16T09:58:08.413-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><title type='text'></title><content type='html'>&lt;span style="font-weight: bold;"&gt;Brain and Your Fist&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;This is some nice fact I've noticed but it may not mean anything. Have you seen a diagram of the brain from side view? I guess you probably have. Now try to keep your fingers in the right hand as if you are going for a fight (fisted). Then see your fist from side view. You will see a similar shape to that of brain. Isn't that interesting?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-173300878000472947?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/173300878000472947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=173300878000472947' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/173300878000472947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/173300878000472947'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2007/12/brain-and-your-fist-this-is-some-nice.html' title=''/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-836921546228922938</id><published>2007-12-06T05:35:00.000-08:00</published><updated>2009-05-16T09:58:34.345-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='x1300'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='ATI'/><title type='text'>ATI x1300 with Ubuntu Gusty (7.10)</title><content type='html'>Ah! I had to give another fight to get my x1300 ATI card working properly with Ubuntu Gusty. The restricted driver that comes by default would correct the wide screen problem but video quality is changed. You will find lot of illuminant people while watching a film in totem.&lt;br /&gt;&lt;br /&gt;So &lt;a href="http://wiki.cchtml.com/index.php/Ubuntu_Gutsy_Installation_Guide#Method_1:_Install_the_Driver_the_Ubuntu_Way"&gt;here&lt;/a&gt; goes the answer&lt;br /&gt;&lt;br /&gt;Good luck and have fun :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-836921546228922938?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/836921546228922938/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=836921546228922938' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/836921546228922938'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/836921546228922938'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2007/12/ati-x1300-with-ubuntu-gusty-7.html' title='ATI x1300 with Ubuntu Gusty (7.10)'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-8620984953315574453</id><published>2007-12-04T04:46:00.000-08:00</published><updated>2009-05-16T10:01:34.820-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='life'/><category scheme='http://www.blogger.com/atom/ns#' term='UoM'/><title type='text'>Something to Remember</title><content type='html'>It's great to remember sweet moments in our past. But I never thought it would be as sweet as &lt;a href="http://www.youtube.com/watch?v=Dd9CowrF4x0"&gt;this&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Big hug my &lt;a href="http://kalanir.blogspot.com/"&gt;dear&lt;/a&gt; for this lovely creation.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-8620984953315574453?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/8620984953315574453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=8620984953315574453' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/8620984953315574453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/8620984953315574453'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2007/12/something-to-remember-its-great-to.html' title='Something to Remember'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-5095784643488632144</id><published>2007-11-27T12:00:00.000-08:00</published><updated>2009-05-16T10:00:20.312-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='news'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Dell'/><category scheme='http://www.blogger.com/atom/ns#' term='e1505'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Ubuntu 7.10 on DELL E1505 Notebook</title><content type='html'>I installed Ubuntu (Gusty Gibbon) on my Dell notebook and I felt the beauty of it from the very beginning.&lt;br /&gt;&lt;br /&gt;The two most interesting features I see:&lt;br /&gt;1. Read/Write facility to NTFS (Windows) partitions&lt;br /&gt;2. Easy configuration of restricted drivers (no need to worry about setting up your ATI video card :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-5095784643488632144?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/5095784643488632144/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=5095784643488632144' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/5095784643488632144'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/5095784643488632144'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2007/11/ubuntu-7.html' title='Ubuntu 7.10 on DELL E1505 Notebook'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-6987034486856253694</id><published>2007-11-05T21:10:00.000-08:00</published><updated>2009-05-16T10:02:04.082-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='UoM'/><title type='text'></title><content type='html'>&lt;span style="font-weight: bold;"&gt;Perceptron in Java&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;I'm following Neural Networks class for my final year and I felt it's a cool subject. I'm still a newbie in this field. But I gave a try to implement a simple perceptron to train few logic gates. It was a cool experience. &lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-6987034486856253694?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/6987034486856253694/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=6987034486856253694' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/6987034486856253694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/6987034486856253694'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2007/11/perceptron-in-java-im-following-neural.html' title=''/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-8794500328221300213</id><published>2007-11-02T09:53:00.000-07:00</published><updated>2009-05-16T10:02:25.066-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Huawei'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='CDMA'/><title type='text'></title><content type='html'>&lt;span style="font-weight: bold;"&gt;HUAWEI ETS 2251 with Ubuntu 6.10&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;We recently purchased a CDMA data phone and I wanted to connect to the Internet with Linux (Ubuntu 6.10). Try the following steps:&lt;br /&gt;&lt;br /&gt;1. plug-in the USB cable (your cable should be Serial (phone side) to USB one).&lt;br /&gt;2. sudo dmesg -c&lt;br /&gt;&lt;br /&gt;you should see the following at the bottom&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;ti_usb_3410_5052 2-1:2.0: TI USB 3410 1 port adapter converter detected&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;if you see &lt;span class="postbody"&gt; &lt;span style="font-style: italic;"&gt;ti_usb_3410_5052: probe of 1-1:1.0 failed with error -5&lt;/span&gt; after the above line then copy the following lines,&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic;" class="postbody"&gt; #TI USB 3410&lt;br /&gt;&lt;br /&gt;SUBSYSTEM=="usb_device" ACTION=="add" SYSFS{idVendor}=="0451",SYSFS{idProduct}=="3410" \&lt;br /&gt;&lt;br /&gt;SYSFS{bNumConfigurations}=="2" \&lt;br /&gt;&lt;br /&gt;SYSFS{bConfigurationValue}=="1" \&lt;br /&gt;&lt;br /&gt;RUN+="/bin/sh -c 'echo 2 &gt; /sys%p/device/bConfigurationValue'"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="postbody"&gt;and save them as &lt;span style="font-style: italic;"&gt;/etc/udev/rules.d/&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;" class="postbody"&gt;026_ti_usb_3410.rules&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="postbody"&gt;Now run sudo dmesg -c again and you'll see the following two lines,&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic;" class="postbody"&gt;ti_usb_3410_5052 1-1:2.0: TI USB 3410 1 port adapter converter detected&lt;br /&gt;usb 1-1: TI USB 3410 1 port adapter converter now attached to /dev/ttyUSB0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="postbody"&gt;3. Now configure the /etc/wvdial.conf as follows, please note that you need to replace your given username, password and phone number with my configuration (abc@prepaid, 1234, #777) given here.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;[Dialer suntel]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Modem = /dev/ttyUSB0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Baud = 230400&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Phone = #777&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Init1 = ATZ&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Stupid Mode = 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Dial Command = ATDT&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Username = abc@prepaid&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Password = 1234&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="postbody"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;4. Now type sudo wvdial suntel and enjoy the Internet. If you can't browse then plese add the DNS addresses to /etc/resolv.conf (these DNS addresses can be found in the command line while connecting).&lt;br /&gt;&lt;br /&gt;Thanks &lt;a href="http://www.linuxpakistan.net/forum/viewtopic.php?p=35754&amp;amp;sid=cd4f03551f18d491a7f085e7ac83813e"&gt;Farhan Naeem&lt;/a&gt; for sharing knowledge on this matter&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-8794500328221300213?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/8794500328221300213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=8794500328221300213' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/8794500328221300213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/8794500328221300213'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2007/11/huawei-ets-2251-with-ubuntu-6.html' title=''/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-8753199050088980156</id><published>2007-10-17T12:24:00.000-07:00</published><updated>2009-05-16T10:03:04.982-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='movie'/><title type='text'></title><content type='html'>&lt;span style="font-weight: bold;"&gt;The Notebook&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;If a film can touch someone's heart so deeply, &lt;a href="http://imdb.com/title/tt0332280/"&gt;The Notebook&lt;/a&gt; did it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-8753199050088980156?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/8753199050088980156/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=8753199050088980156' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/8753199050088980156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/8753199050088980156'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2007/10/notebook-if-film-can-touch-someones.html' title=''/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-2711366403846833527</id><published>2007-09-22T08:00:00.000-07:00</published><updated>2007-09-22T08:02:03.921-07:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight: bold;"&gt;TMNT Two Thumbs Up!!&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;I loved watching Teenage Mutant Ninja Turtles cartoon when I was a little kid and now I got hand on the movie. I really like it, two thumbs up TMNT!!&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-2711366403846833527?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/2711366403846833527/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=2711366403846833527' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/2711366403846833527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/2711366403846833527'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2007/09/tmnt-two-thumbs-up-i-loved-watching.html' title=''/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-6856555555902797987</id><published>2007-09-20T00:55:00.000-07:00</published><updated>2007-09-20T01:00:30.011-07:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight: bold;"&gt;Advanced OS Paper - Nightmare&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;Oh! boy, today we had our Advanced Operating Systems paper. It was one hello of a paper.&lt;br /&gt;&lt;br /&gt;Anyway may be things happen for good. That's all I know :)&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-6856555555902797987?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/6856555555902797987/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=6856555555902797987' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/6856555555902797987'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/6856555555902797987'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2007/09/advanced-os-paper-nightmare-oh-boy.html' title=''/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-5884532825107194381</id><published>2007-09-20T00:46:00.000-07:00</published><updated>2007-09-20T00:54:54.154-07:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;Sri Lanka Telecom &lt;/span&gt;ADSL Service Sucks&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;I and my roommate took an ADSL Internet connection to the boarding from Sri Lanka Telecom. It was great in the first few months. But now it sucks. We bought the package which advertises 512Kbit/s (kilo bits per second) down load speed and 128Kbit/s upload speed. But the damn thing won't support even 100Kbit/s download speed. Damn, that sucks.&lt;br /&gt;&lt;br /&gt;The most funny thing is that their customer service guy came and inspect the system and said that he feels it's normal. Can you believe it? He even says if we don't like it then we better disconnect it. Yea that's what we wanted as a solution, yikes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-5884532825107194381?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/5884532825107194381/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=5884532825107194381' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/5884532825107194381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/5884532825107194381'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2007/09/sri-lanka-telecom-adsl-service-sucks-i.html' title=''/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-1301726764562280676</id><published>2007-09-04T13:45:00.000-07:00</published><updated>2007-09-04T13:49:48.849-07:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight: bold;"&gt;Mailing list is much like Instant Messaging&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;Google announce that code submission for GSOC 2007 is available few minutes before. The student's mailing list got fired with the news :) Everybody (including myself) was posting questions telling that link for the submission doesn't work. Oh! Leslie (at google) must have had a nightmare replying to those emails and we really appreciate your kind and speedy responses.&lt;br /&gt;&lt;br /&gt;The mailing list became like a chat room with mails flying within seconds :)&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-1301726764562280676?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/1301726764562280676/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=1301726764562280676' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/1301726764562280676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/1301726764562280676'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2007/09/mailing-list-is-much-like-instant.html' title=''/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-7718267936738663052</id><published>2007-07-25T06:52:00.000-07:00</published><updated>2008-07-27T21:46:34.275-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pydev'/><category scheme='http://www.blogger.com/atom/ns#' term='Eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='Python'/><title type='text'>PyDev - Python Development Plug-in for Eclipse</title><content type='html'>Oh! yes,  I'm loving this Eclipse!  Now I can use it to develop python programs.  Use  &lt;a href="http://sourceforge.net/projects/pydev/"&gt;pydev&lt;/a&gt; plug-in and you can really give a go with it :) Here is a nice &lt;a href="http://www.fabioz.com/pydev/manual_101_root.html"&gt;tutorial&lt;/a&gt; explaining step by step on how to use the plug-in.&lt;br /&gt;&lt;br /&gt;Tip for Linux users:  When you go to configure the python interpreter use /usr/bin/python  (the tutorial explains only for Windows users )&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-7718267936738663052?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/7718267936738663052/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=7718267936738663052' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7718267936738663052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7718267936738663052'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2007/07/pydev-python-development-plug-in-for.html' title='PyDev - Python Development Plug-in for Eclipse'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-2892861223943406417</id><published>2007-07-19T08:05:00.000-07:00</published><updated>2007-07-19T08:27:00.660-07:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight: bold;"&gt;Fire on Ice&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;Is it a miracle that I'm going to talk about? No, it came to life on 17th July 2007 at CS&amp;ES (Computer Science &amp;amp; Engineering Society) AGM (Anual General Meeting).&lt;br /&gt;&lt;br /&gt;I was asked to display fire on a block of ice for the AGM. Yea, I did it at the end and it was better than expected. The simple theory behind was burning Trimethylbenzene (a.k.a. paint thinner) on top of ice. Hmm, it's easy to say than do. There were several challenges to face, i.e. what happens when ice melt down due to heat, how to stop spreading fire, how to ignite thinner automatically, how to make an ice cube with a carving to fill thinner, etc. Oh! boy it was a night mare to think all of this.&lt;br /&gt;&lt;br /&gt;I tried with few prototypes and they all worked fine. The most interesting part was the igniter. I used two clutch pencil leads touching together with applied voltage of 12V to ignite a match stick. I created a simple stand to hold the thing (unfortunately it was burnt with the fire before I could take a picture) so that giving the power would do the job.&lt;br /&gt;&lt;br /&gt;I'm greatly disappointed  because no one had taken a picture of the burning ice. Anyway it was a great experience and I'm really happy with the success.&lt;br /&gt;&lt;br /&gt;I need to mention few of my friends who helped me to make it a success. They are &lt;a href="http://rajikacc.blogspot.com"&gt;Rajika&lt;/a&gt; (one big thank to this guy), Dinesh (it was his idea to burn ice), Charith, Malaka and Tharindu (they helped me with the final touches).&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-2892861223943406417?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/2892861223943406417/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=2892861223943406417' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/2892861223943406417'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/2892861223943406417'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2007/07/fire-on-ice-is-it-miracle-that-im-going.html' title=''/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-1938684290144761519</id><published>2007-06-27T07:02:00.000-07:00</published><updated>2008-07-27T21:47:18.524-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='c++'/><category scheme='http://www.blogger.com/atom/ns#' term='non recursive'/><category scheme='http://www.blogger.com/atom/ns#' term='Fibonacci'/><title type='text'>Fibonacci Calculator in Visual C++</title><content type='html'>#include "stdafx.h"&lt;br /&gt;#include &lt;iostream&gt;&lt;br /&gt;&lt;br /&gt;using namespace std;&lt;br /&gt;&lt;br /&gt;int calculate_fibonacci(int n);&lt;br /&gt;&lt;br /&gt;int main(int argc, char* argv[])&lt;br /&gt;{&lt;br /&gt;   int n;&lt;br /&gt;   cout &lt;&lt; "Enter n: ";     cin &gt;&gt; n;&lt;br /&gt;   cout &lt;&lt; "Fibonacci of " &lt;&lt; int="" b="1," bb="0," return="" else="" if="" n="="&gt; 1) {&lt;br /&gt;       for (i = 1; i &lt; result =" 0;" bb =" b;" b =" result;"&gt;&lt;br /&gt;&lt;/iostream&gt;&lt;/endl;&gt;&lt;/iostream&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-1938684290144761519?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/1938684290144761519/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=1938684290144761519' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/1938684290144761519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/1938684290144761519'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2007/06/fibonacci-calculation-in-visual-c.html' title='Fibonacci Calculator in Visual C++'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-2782327337598892845</id><published>2007-06-19T09:14:00.000-07:00</published><updated>2008-07-27T21:48:13.894-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='CDT'/><category scheme='http://www.blogger.com/atom/ns#' term='C development'/><title type='text'>C plug-in for Eclipse - CDT</title><content type='html'>Ever thought of using an IDE in Linux to type C? For pure C guys this is not a problem because they have the nice little VI or VIM. Yea it's very true that you can do a great lot of things with VI. The only problem for me was that I used to do a lot with Java using Eclipse. So suddenly when I wanted to use C for one of my assignments I found it very difficult to adapt with it.&lt;br /&gt;&lt;br /&gt;Little bit of googling came up with this wonderful tool, &lt;a href="http://www.eclipse.org/cdt/"&gt;CDT&lt;/a&gt;. It's a plug-in for Eclipse and you can do a great lot of things with C with rich IDE features. Try this &lt;a href="http://linuxdevices.com/articles/AT8349506804.html"&gt;tutorial&lt;/a&gt; to learn about the plug-in.&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-2782327337598892845?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/2782327337598892845/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=2782327337598892845' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/2782327337598892845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/2782327337598892845'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2007/06/c-plug-in-for-eclipse-cdt-ever-thought.html' title='C plug-in for Eclipse - CDT'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-4073144166411626395</id><published>2007-06-12T01:49:00.000-07:00</published><updated>2007-06-12T01:58:10.480-07:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight: bold;"&gt;Dr. D. A. I. Munidradasa has Passed Away&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;He was one of the great lecturers in the University of Moratuwa and it's my great condolence to mention that he has passed away today. He taught us the principles of Electronics and he showed his expertise throughout his teaching, yet he was a very kind teacher.&lt;br /&gt;&lt;br /&gt;He left us with a blank which would hardly get filled in the near future. May you attain nibbana dear sir!&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-4073144166411626395?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/4073144166411626395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=4073144166411626395' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4073144166411626395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/4073144166411626395'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2007/06/dr.html' title=''/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-1148984190612219303</id><published>2007-05-31T01:27:00.000-07:00</published><updated>2007-05-31T01:34:29.063-07:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight: bold;"&gt;Innovative Tools&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Did you ever think about automatic level tools. Hmm, Black and Decker has thought about it and has given &lt;a href="http://www.blackanddecker.com/ProductGuide/CategoryOverview.aspx?cPath=1717.1721"&gt;this&lt;/a&gt; wonderful laser level, Bulls Eye. The demo is really cool. I also like their &lt;a href="http://www.blackanddecker.com/ProductGuide/Product-Details.aspx?ProductID=15523"&gt;Handisaw&lt;/a&gt;. I've used several Black and Decker products (can opener, vacuum cleaner, iron and toaster) and all of them were of great quality. Hmm I wish I could buy one of those Handisaws from Sri Lanka :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-1148984190612219303?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/1148984190612219303/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=1148984190612219303' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/1148984190612219303'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/1148984190612219303'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2007/05/innovative-tools-did-you-ever-think.html' title=''/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-8763692056807561319</id><published>2007-05-28T06:57:00.000-07:00</published><updated>2007-05-28T07:09:16.583-07:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight: bold;"&gt;CSE Formula&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;The &lt;a href="http://www.cse.mrt.ac.lk"&gt;Department of Computer Science &amp; Engineering&lt;/a&gt; organizes a toy car race each year for the new comers. The first year entrants to the department are grouped and given the task of creating a remote controlled (not RF controlled actually, hmm I wonder why it is ?) toy vehicle which is to be powered by a 12V DC power source. Eventual grading (not GPA) includes a test run of each vehicle on a track made with few obstacles.&lt;br /&gt;&lt;br /&gt;This event is really cool. Bad thing I miss this chance since this event with the batch junior to us. Anyway I'm really interested in such events because I personally believe that students should have some skills to build things rather to design them in papers. Yet it is little bit pathetic to see the construction of vehicles of some groups. One student has tried to give the power of the motor directly to the wheel. I wonder why such situations arise because even they know that it is not the case in any toy. They need to use gear wheels.  I hope things would get corrected with time as students begin to like the event.&lt;br /&gt;&lt;br /&gt;Good work CSE :)&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-8763692056807561319?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/8763692056807561319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=8763692056807561319' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/8763692056807561319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/8763692056807561319'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2007/05/cse-formula-department-of-computer.html' title=''/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-117234537911969734</id><published>2007-05-25T11:02:00.000-07:00</published><updated>2008-07-27T21:49:16.804-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='steganography'/><category scheme='http://www.blogger.com/atom/ns#' term='ecny'/><title type='text'>Ency</title><content type='html'>I have developed a little tool to embed text messages inside image files using Java called Ency. I'm really interested in this steganography and security stuff. Ency is in its primary stage. It needs more modifications to step into maturity. I found &lt;a href="http://www.developer.com/java/other/article.php/3530866"&gt;this&lt;/a&gt; nice link explaining about steganography while trying to improve Ency. Enjoy hidden messaging with Java ;-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-117234537911969734?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/117234537911969734/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=117234537911969734' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/117234537911969734'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/117234537911969734'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2007/05/ency-i-have-developed-little-tool-to.html' title='Ency'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-7560017684357174412</id><published>2007-04-19T10:43:00.000-07:00</published><updated>2008-07-27T21:50:01.308-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XML canonicalization'/><category scheme='http://www.blogger.com/atom/ns#' term='gsoc'/><category scheme='http://www.blogger.com/atom/ns#' term='2007'/><title type='text'>Google Summer of Code 2007</title><content type='html'>My &lt;a href="http://wiki.apache.org/general/SaliyaEkanayake/GSoC2007Proposal/AXIOM-C14N"&gt;proposal&lt;/a&gt; on implementing C14N based on Axiom for Google Summer of Code 2007 has been accepted.  Wow! I really feel excited. Thanks specially for &lt;a href="http://www.ruchith.org/"&gt;Ruchith Fernando&lt;/a&gt; for being the mentor of this project. Thanks for everyone else as well who thought to give a vote for the proposal. &lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-7560017684357174412?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/7560017684357174412/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=7560017684357174412' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7560017684357174412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/7560017684357174412'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2007/04/google-summer-of-code-2007-my-proposal.html' title='Google Summer of Code 2007'/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25845959.post-840170887738023780</id><published>2007-04-19T10:35:00.000-07:00</published><updated>2007-04-19T10:43:38.424-07:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight: bold;"&gt;ADSL is Up and Running&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Ah! I was able to configure the ADSL router at last. The username and password provided by the ISP did not work. Can you believe it? I was astonished when I received the "authentication failed" error. The 24hr help center, however, gave me the clue to change the password. Luckily I had a dial-up connection as well. At last it worked. Gosh! what a fun it is to play with something new.&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25845959-840170887738023780?l=esaliya.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://esaliya.blogspot.com/feeds/840170887738023780/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25845959&amp;postID=840170887738023780' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/840170887738023780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25845959/posts/default/840170887738023780'/><link rel='alternate' type='text/html' href='http://esaliya.blogspot.com/2007/04/adsl-is-up-and-running-ah-i-was-able-to.html' title=''/><author><name>Saliya Ekanayake</name><uri>http://www.blogger.com/profile/10281589417412608237</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp0.blogger.com/_XviwBoAyHOQ/RoJ0EgXS10I/AAAAAAAAABA/7I0jF6pIktY/s320/saliya.jpg'/></author><thr:total>0</thr:total></entry></feed>
