<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-7832831</atom:id><lastBuildDate>Fri, 24 Jul 2026 05:54:35 +0000</lastBuildDate><category>Life</category><category>Photo</category><category>blog</category><category>Work</category><category>Politics</category><category>Tools</category><category>Technical</category><category>Friends</category><category>Video</category><category>How to</category><category>war</category><category>.NET</category><category>Humour</category><category>Cinema</category><category>Drive</category><category>Agile</category><category>Linux</category><category>Visual Studio</category><category>Flooding</category><title>Mahasen does blogging</title><description>Reflections of mind - weaved with text and decorated with images</description><link>http://mahasen.blogspot.com/</link><managingEditor>noreply@blogger.com (Mahasen)</managingEditor><generator>Blogger</generator><openSearch:totalResults>554</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7832831.post-4481303144272645102</guid><pubDate>Mon, 19 Aug 2013 15:47:00 +0000</pubDate><atom:updated>2013-08-20T02:44:18.239-04:00</atom:updated><title>Sri Lankan Software Industry: Hiring Fresh Software Engineering Graduates, the IPL style</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; line-height: 1.15; white-space: pre-wrap;&quot;&gt;Year over year, Sri Lankan IT companies are getting into a bidding battle with each other to hire fresh graduates from our local universities. Mostly from University of Moratuwa.&lt;/span&gt;&lt;/div&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;This year, the average salary offer for a fresh graduate from University of Moratuwa has been 80K rupees, and the news is, the batch top received offers in excess of 150K rupees! In comparison, average senior software engineers with more than couple of years of experience in the industry today are getting salaries in the range of 80K and there are technical leads with 5+ years of experience who are earning less than 150K.&lt;/span&gt;&lt;/div&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;So, a natural question to ask, does it worth hiring a fresh graduate for 80K as oppose to someone with experience? Don’t forget, these 80K engineers have completed their degrees few years back - it’s not like they don’t hold university degrees!&lt;/span&gt;&lt;/div&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;To answer that, we need to look at what makes a good software engineer.&lt;/span&gt;&lt;/div&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Ability to identify software responsibilities and encapsulate them in the appropriate abstraction:&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; This is the core skill of a software craftsman. It requires understanding of software engineering principles, understanding of the business domain, understanding of the language and tech-stack in use and the skill to see what would trigger a change and what’s more likely to change - all in different levels of details and interests.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;While this skill require intelligence and good IQ, it is a skill that should be mastered through exposure and practice. While some fresh graduates would outsmart some senior engineers in a good design, that’s an anomaly than the norm. Exposure to a business domain and mentorship from a seasoned software craftsman are things that’s hard to come by in Sri Lankan universities.&lt;/span&gt;&lt;/div&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Good analytical skills:&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; This is the ability to understand a problem and solve it in a sustainable manner. Needs understanding of how a given environment work and how the business requirements are mapped. Should be able to see beyond others mistakes, yet understand them and still see a solution, not necessarily idealistic, but practical and sustainable in the given context.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Again, while good IQ helps, to master good analytical skills, one need exposure and practice.&lt;/span&gt;&lt;/div&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Competency in a given tech-stack&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;: The knowledge what’s at disposal to use and the wit to use only what’s needed. Ability to see what’s sustainable and what’s not. Maturity to resist using every possible new technology in favor of building a sustainable solution.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;While this is definitely something that doesn’t demand a lot of experience, it does help in making mature choices.&lt;/span&gt;&lt;/div&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: bold; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Software Development Process and SCM:&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; Unfortunately, this is something that even the most experienced in our industry struggle with, even those who preach good process practices, don’t follow them. Even though this is something that could be taught, it’s a different beast in practice. Each of us over the years have practiced different processes and seen many fail - mostly not because of the shortcomings of the process but because of how people practice.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;It is arguable in this sense that no experience in practicing a process is better than bad practices that are hard to let go of. But, in my opinion, those who are experienced really know what could go wrong and how to mitigate the risks in the process. And when a new process is proposed they are more likely to understand the benefits than someone without experience.&lt;/span&gt;&lt;/div&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.15; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;In that analysis, I think we could safely conclude that for the same salary, hiring an engineer with experience is always a better choice than hiring a fresh graduate, to get the job done.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;

&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;div style=&quot;line-height: 1.15;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Now, the question is then, why are companies willing to pay more than their worth to these fresh graduates, taking the risk of losing the loyalty of their current employees who will become underpaid, compared to the new graduates?&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 1.15;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 17px; white-space: pre-wrap;&quot;&gt;P. S. Further reading: &lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://butunclebob.com/ArticleS.MicahMartin.SoftwareApprenticeship&quot;&gt;http://butunclebob.com/ArticleS.MicahMartin.SoftwareApprenticeship&lt;/a&gt;&lt;/div&gt;
</description><link>http://mahasen.blogspot.com/2013/08/sri-lankan-software-industry-hiring.html</link><author>noreply@blogger.com (Mahasen)</author><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7832831.post-365449182167243378</guid><pubDate>Tue, 22 Jan 2013 03:43:00 +0000</pubDate><atom:updated>2013-01-21T22:43:32.266-05:00</atom:updated><title>Adopt this lovely puppy - please share the infomation</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTUWcbXOMvtDsDCEq_Oi7rztZ6OM6NeSCr2_UMDxFA20K5LQuUiZDSyCUZILRNfFfFBGUQPrJW3iLbwTLZ7rdxXLXAN8s9P6b9dvop1jcQhDm1k7MlAzRQ0jh17XEBfB-Y6XIwjA/s1600/hope-for-home.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot;  src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTUWcbXOMvtDsDCEq_Oi7rztZ6OM6NeSCr2_UMDxFA20K5LQuUiZDSyCUZILRNfFfFBGUQPrJW3iLbwTLZ7rdxXLXAN8s9P6b9dvop1jcQhDm1k7MlAzRQ0jh17XEBfB-Y6XIwjA/s640/hope-for-home.jpg&quot; width=&quot;800&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
</description><link>http://mahasen.blogspot.com/2013/01/adopt-this-lovely-puppy-please-share.html</link><author>noreply@blogger.com (Mahasen)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTUWcbXOMvtDsDCEq_Oi7rztZ6OM6NeSCr2_UMDxFA20K5LQuUiZDSyCUZILRNfFfFBGUQPrJW3iLbwTLZ7rdxXLXAN8s9P6b9dvop1jcQhDm1k7MlAzRQ0jh17XEBfB-Y6XIwjA/s72-c/hope-for-home.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7832831.post-1570862258248396162</guid><pubDate>Thu, 11 Oct 2012 03:41:00 +0000</pubDate><atom:updated>2012-10-10T23:41:58.266-04:00</atom:updated><title>Bridal Shoot</title><description>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/8069874970/&quot; title=&quot;_PMB9669.jpg by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;_PMB9669.jpg&quot; height=&quot;800&quot; src=&quot;http://farm9.staticflickr.com/8038/8069874970_c24e150970_c.jpg&quot; width=&quot;532&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/8070237473/&quot; title=&quot;_PMB9724.jpg by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;_PMB9724.jpg&quot; height=&quot;800&quot; src=&quot;http://farm9.staticflickr.com/8174/8070237473_ed36164e44_c.jpg&quot; width=&quot;532&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/8070239303/&quot; title=&quot;_PMB9780.jpg by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;_PMB9780.jpg&quot; height=&quot;800&quot; src=&quot;http://farm9.staticflickr.com/8180/8070239303_b036abab96_c.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/8070035138/&quot; title=&quot;_PMB9707.jpg by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;_PMB9707.jpg&quot; height=&quot;800&quot; src=&quot;http://farm9.staticflickr.com/8462/8070035138_c72c449c6c_c.jpg&quot; width=&quot;532&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
</description><link>http://mahasen.blogspot.com/2012/10/bridal-shoot.html</link><author>noreply@blogger.com (Mahasen)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7832831.post-1534239914026451771</guid><pubDate>Tue, 25 Sep 2012 02:48:00 +0000</pubDate><atom:updated>2012-09-24T22:48:42.971-04:00</atom:updated><title>Government vs. Scholars vs. The Opposition.</title><description>So, every political party, except for the ruling party is walking with FUTA, saying they&#39;d have done the right thing and given more funds to education... but the government is like hell bent over on not even having an intelligent discussions...&lt;br /&gt;
&lt;br /&gt;
I&#39;m willing to bet, those politicians who are walking with FUTA too are with the government on this one; this is the next big frontier for them to fight with the government and they really don&#39;t want this resolved until they come in to power - even if they really want it resolved - which again, I&#39;m in doubt.&lt;br /&gt;
&lt;br /&gt;
FUTA needs to be politically independent and gain more support from the general public. When there&#39;s political affiliations, it is easy for the government to portray to the public that this is politically motivated. Because, at the end, this would be about with whom the masses stand with.&lt;br /&gt;
&lt;br /&gt;
It should be government vs. scholars and not government vs. the opposition.&lt;br /&gt;
&lt;br /&gt;
What if scholars become an&amp;nbsp;independent&amp;nbsp;political movement and the public stand with them? Having educated people in power would be really nice for a change IMO.</description><link>http://mahasen.blogspot.com/2012/09/government-vs-scholars-vs-opposition.html</link><author>noreply@blogger.com (Mahasen)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7832831.post-7144834118882414363</guid><pubDate>Tue, 28 Aug 2012 13:24:00 +0000</pubDate><atom:updated>2012-08-28T09:24:54.949-04:00</atom:updated><title>My take on current issues in local educational system</title><description>&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Teachers and Lecturers of government schools and universities should get salaries in par with leading schools and universities of the world.&lt;/li&gt;
&lt;li&gt;Government Universities and Schools should charge at least a nominal fee, so that students and their parents would value the education they receive&lt;/li&gt;
&lt;li&gt;Student loans and partial scholarships should be provided by the government for those who can&#39;t afford education&lt;/li&gt;
&lt;li&gt;Scholarships should be granted for students who excel in sports and research&lt;/li&gt;
&lt;li&gt;Students should look positively at part time work&lt;/li&gt;
&lt;li&gt;Standards of the lecturers and university facilities should be constantly validated and updated&lt;/li&gt;
&lt;li&gt;Private educational institutes should be established with proper standards and a framework to validate the standards&lt;/li&gt;
&lt;li&gt;Schools and Universities (government owned) should be financially independent - i. e. They should operate with funds they earn&lt;/li&gt;
&lt;li&gt;Government&#39;s involvement should be to maintain uniform standards across universities and to provide scholarships and educational loans - universities could grant their own scholarships and loans too&lt;/li&gt;
&lt;li&gt;People should stop expecting politicians - who are often uneducated and incompetent - to solve every problem of this country&lt;/li&gt;
&lt;li&gt;People should accept the fact that politicians are a representation of the general public - including in general competency and education, we cannot expect either party to improve over-night&lt;/li&gt;
&lt;li&gt;People should understand the dyversity of university lecturers from competant, upto-date people who are&amp;nbsp;truly&amp;nbsp;committed to educating our next generation to those scum bags who haven&#39;t updated their syllabuses from the last century and are there only so that they could get involved in lucrative side projects.&lt;/li&gt;
&lt;li&gt;There&#39;s no free lunch.&lt;/li&gt;
&lt;li&gt;No one party could change the system&lt;/li&gt;
&lt;li&gt;No one is perfect&lt;/li&gt;
&lt;li&gt;Excellence should be achieved one step at a time&lt;/li&gt;
&lt;li&gt;Much of the things going on right now is more politics and less problem solving - from all the camps&lt;/li&gt;
&lt;li&gt;Solution should come from these exact people - everyone involved should put their ego and political agendas behind&lt;/li&gt;
&lt;li&gt;If everyone commit to this, we&#39;d have a proper system in less than a decade&lt;/li&gt;
&lt;li&gt;But it would never happen in my lifetime.&lt;/li&gt;
&lt;/ol&gt;
</description><link>http://mahasen.blogspot.com/2012/08/my-take-on-current-issues-in-local.html</link><author>noreply@blogger.com (Mahasen)</author><thr:total>4</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7832831.post-642274162132284146</guid><pubDate>Tue, 28 Aug 2012 09:02:00 +0000</pubDate><atom:updated>2012-08-28T05:18:22.463-04:00</atom:updated><title>දළ දේශීය නිෂ්පාදනයෙන් 6% තිබ්බොත් අධ්‍යාපණේ ගොඩ ගන්න පුලුවන් ද?</title><description>සීයට 6න් නම් බෑ... ලංකාවේ තියෙන ප්‍රධාන පාසල් එකක් වත් ආණ්ඩුවේ සල්ලි වලින් නඩත්තු වෙන්නෙ නෑ... ඒ ඉස්කෝල වල ආදි ශිෂ්‍ය ශිෂ්‍යාවන් ගේ සහ දරුවන් ගේ දෙමාපියන් දෙන පරිත්‍යග වලින් තමය් ඒ ඉස්කෝල ඉදිරියට ඇවිත් තියෙන්නේ.&lt;br /&gt;
&lt;br /&gt;
නිදහස් අධ්‍යාපනේ ඇත්තටම ඕනේ අයට විතරක් දීලා, මුදල් අය කරන්න පුලුවන් අයගෙන් මුදල් අය කරන ක්‍රමයක් ඕනේ අධ්‍යාපනේ ඇත්තටම ගොඩ ගන්න නම්.&lt;br /&gt;
&lt;br /&gt;
ටික දෙනෙකුට දෙන නිදහස් අධ්‍යාපණේට වඩා, හැමෝටම අධ්‍යාපණේ ලබන්න අයිතිය දෙන එක වැදගත්.&lt;br /&gt;
&lt;br /&gt;
හැමෝටම නොමිලේ උගන්නන්න පුලුවන් නම් ඒක තමයි හොඳම. ඒත්, අපේ රටේ ආර්ථිකේ එක්ක, තියෙන ගසා කෑම් එක්ක ඒක කරන්න බෑ කියන එක පිලිගන්න ඕනේ.&lt;br /&gt;
&lt;br /&gt;
අධ්‍යාපණේ වෙනුවෙන් වියදම් කරන්න පුලුවන්, වියදම් කරන මධ්‍යම පංතියක් අපේ රටේ ඉන්නවා. මම කතා කරන්නේ රට යවලා ලමයින්ට උගන්වන ධනපතියෝ ගැන නෙවෙයි. ශාන්ත තෝමස්, රෝයල්, ආනන්ද, මියුසියස් වගේ ඉස්කෝල ගැන. ඒවගෙන් සමහර ඉස්කෝල පෞද්ගලික ඉස්කෝල, ආණ්ඩුවේ විෂය නිර්දේෂ උගන්වන. සමහර ඒවා ආණ්ඩුවේ ඉස්කෝල. ඒත් ඒවා ගමේ ගොඩේ ඉස්කෝල වගේ නෙවෙයි. ඒවට යන්න මිනිස්සු කැමැත්තෙන් විශාල ආධාර දෙනවා පාසල් අරමුදලට.&lt;br /&gt;
&lt;br /&gt;
හැබැයි ඒ සල්ලි ගුරුවරුන්ට ලැබෙන්නේ නෑ. අයතා ක්‍රමේකට ගත්තේ නැත්තම්. වෙනත් පාසල් වලට ලැබෙන්නෙත් නෑ. ඉතින් ඔය ක්‍රමේ වෙනුවට, ඒ ඒ පාසලේ තියෙන පහසුකම් අනූව හරි, දිස්ත්‍රික්කේ අනූව හරි කොහොම හරි, එක් ආර්ථික මට්ටමකට වඩා උඩින් ඉන්න පවුල් වල දරුවන් ගෙන් මුදලක් අය කරලා ඉගැන්නුවොත්, ඒ මුදල දුෂ්කර පාසල් දියුණු කරන්නත්, ගුරුවරුන්ගේ පඩි වැඩි කරන්නත් යොදවන්න පුලුවන් නේද?&lt;br /&gt;
&lt;br /&gt;
විශ්ව විද්‍යාල පද්ධතියටත් මේ ක්‍රමේට සමාන දෙයක් කරන්න පුලුවන්. විශ්ව විද්‍යාල සිසුන්ට අර්ධ කාලීන රැකියා කරන්නත්, අධ්‍යාපණ වියදම් සඳහා අඩු පොලී ණය ලබා ගන්නත් ආණ්ඩුව පහසුකම් සපයා දෙන්න ඕනේ... ඒ ණය රැකියා කරන කාලේක ගෙවන්න. එහෙම කරලා, විශ්ව විද්‍යාල අධ්‍යාපණේට සාධාරණ මුදලක් අය කරාට කමක් නෑ. දැනටත් ආණ්ඩුවේ විශ්ව විද්‍යාල හැම එකකම පශ්චාත් උපාධි සඳහා අයකිරීම් කරනවා - ඒක සාධාරණ අය කිරීමක්.&lt;br /&gt;
&lt;br /&gt;
එහෙම කරොත්, විශ්ව විද්‍යාල ප්‍රවේශයට සුදුසු කම් ලබන හැමෝටම ඒ සඳහා අවකාශ සලසන්න පුලුවන් වේවි. දැනට ඒ සඳහා අවකාශ ලැබෙන්නේ 16% විතර පමණයි.&lt;br /&gt;
&lt;br /&gt;
මේ 6% ඉල්ලීම, දැනට තියෙන මඩ ගොහොරුව තවත් මඩ කිරීමක් මිසක් අධ්‍යාපණ ප්‍රශ්නෙට විසඳුමක් විදිහට මම දකින්නේ නෑ.&lt;br /&gt;
&lt;br /&gt;
මේ 1800 ගනන් වල රුසියාව නොවෙයි, සමාජයේ දුප්පතුන් සහ පොහොසතුන් පමණක් සිටිය.. මේ සමාජයේ සැලකිය යුතු ප්‍රමාණයක් මධ්‍යම පාණ්තිකයින්, භාණ්ඩ හා සේවා සඳහා සාධාරණ මිලක් ගෙවිය හැකි සහ එසේ ගෙවීමට කැමති...</description><link>http://mahasen.blogspot.com/2012/08/6.html</link><author>noreply@blogger.com (Mahasen)</author><thr:total>4</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7832831.post-2667295593864444336</guid><pubDate>Fri, 20 Jul 2012 10:18:00 +0000</pubDate><atom:updated>2012-07-20T06:22:49.970-04:00</atom:updated><title>Some recent photos</title><description>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/7488773836/&quot; style=&quot;background-color: white;&quot; title=&quot;Life, love and music by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Life, love and music&quot; height=&quot;320&quot; src=&quot;http://farm9.staticflickr.com/8159/7488773836_045f5c25d8_n.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/7605119290/&quot; title=&quot;Imperfect by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Imperfect&quot; height=&quot;213&quot; src=&quot;http://farm9.staticflickr.com/8026/7605119290_baf5bbf90a_n.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/7540892638/&quot; style=&quot;background-color: white;&quot; title=&quot;Cinnamon Lodge, Habarana by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Cinnamon Lodge, Habarana&quot; height=&quot;213&quot; src=&quot;http://farm9.staticflickr.com/8160/7540892638_0c4cf13c81_n.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/7488785442/&quot; title=&quot;Cinnamon Lodge, Habarana by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Cinnamon Lodge, Habarana&quot; height=&quot;213&quot; src=&quot;http://farm8.staticflickr.com/7130/7488785442_46b650fa3f_n.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://mahasen.blogspot.com/2012/07/some-recent-photos.html</link><author>noreply@blogger.com (Mahasen)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7832831.post-2129507439220074636</guid><pubDate>Tue, 17 Jul 2012 11:30:00 +0000</pubDate><atom:updated>2012-07-17T07:30:55.051-04:00</atom:updated><title>What&#39;s on the news?</title><description>Couple of years ago news was on banning internet porn, raided porn rental joints, busted happy ending massage parlors and prostitution rigs etc.&lt;br /&gt;
&lt;br /&gt;
Now, the news is on pedophiles, rapists, molesters and generally sexual crimes being on the high.&lt;br /&gt;
&lt;br /&gt;
I’m just saying…&lt;br /&gt;
&lt;br /&gt;
nah… no point in wasting my time writing this...&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://blog.icloneable.com/2010/11/prostitution-and-porn.html&quot;&gt;http://blog.icloneable.com/2010/11/prostitution-and-porn.html&lt;/a&gt;</description><link>http://mahasen.blogspot.com/2012/07/whats-on-news.html</link><author>noreply@blogger.com (Mahasen)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7832831.post-2356948870613575709</guid><pubDate>Fri, 11 May 2012 05:09:00 +0000</pubDate><atom:updated>2012-05-11T01:23:58.628-04:00</atom:updated><title>Thoughts, dreams and consciousness of self</title><description>What we perceive as self is essentially a continuous flow of thoughts, leading from one to another, and awareness of stimuli that come through the senses... that includes senses within as well, on top of the five external. (i. e. things like hunger, sex drive, need to pee etc. etc.)&lt;br /&gt;
&lt;br /&gt;
In different beliefs, this is called soul, spirit (chi?) etc. and is thought to be independent of the body itself. Thus, we hear out of body experiences, life after death, re-incarnation, going to hell or heaven and all that... that’s believing that our consciousness of self, would survive after death.&lt;br /&gt;
&lt;br /&gt;
I believe that is not the case. There’s so much evidence in front of us, which supports that to be a fact. But we simply ignore them and go out looking for proof of life after death and re-incarnation. Because that’s what we really want to believe. We don’t want to die and that to be the end. We need to live beyond the death of out body; find an answer to the ultimate questions of life, suffering and universe.&lt;br /&gt;
&lt;br /&gt;
A simple observation would&amp;nbsp;show you&amp;nbsp;weakened or lost awareness of self of those who have suffered brain damage or got Alzheimer&#39;s decease or other conditions that weakens or kills the brain. A patient under anesthesia doesn’t feel a thing even when doctors open&amp;nbsp;the rib cage;&amp;nbsp;patient&amp;nbsp;only start to suffer, when his brain is awake again. When we are in deep sleep, we don’t have a flow of thoughts going on, nor are we aware of stimuli of the senses.&lt;br /&gt;
&lt;br /&gt;
Another good point is that if our consciousness really is independent of the body, we should be able to think even while our body is sleeping. But as we fall asleep, we lose our awareness of self, because the brain sleeps too.&lt;br /&gt;
&lt;br /&gt;
People argue that dreams are proof of our consciousness being active while we sleep. But firstly, if that’s the case, instead of experiencing nightmares and fantasy we should really be thinking, the same way we think while we are awake.&lt;br /&gt;
&lt;br /&gt;
Secondly and most importantly, studies show that we dream only when we are close to being awake, not when we are in deep sleep. During a night’s sleep, we pass several dreaming stages, when the brain come closer to be awake, but goes back to sleep. When we wake up, we only remember the last dream we were having, not any between. Unless we were waken, and fell back in to sleep.&lt;br /&gt;
&lt;a href=&quot;http://www.luciddreamexplorers.com/dreamscience/&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;383&quot; src=&quot;http://www.luciddreamexplorers.com/dreamscience/sleep_cycle_REM_8_hour_graph.gif&quot; width=&quot;569&quot; /&gt;&lt;span id=&quot;goog_1931636704&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_1931636701&quot;&gt;&lt;/a&gt;&lt;br /&gt;
It may be disheartening to believe that when the brain is dead, that’s the end of being; given that all of our culture is developed around the idea of karma, samsara and re-incarnation. But, I simply think, we’ve been ignoring the facts much too long, and death really is the end of everything.&lt;br /&gt;
&lt;br /&gt;
So, what then of moral values, happiness and other feelings? I&#39;d write about them too in my next post, and explain why meditation still is a good idea...&lt;span id=&quot;goog_1931636692&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_1931636693&quot;&gt;&lt;/span&gt;&lt;a href=&quot;http://draft.blogger.com/&quot;&gt;&lt;/a&gt;&lt;/span&gt;</description><link>http://mahasen.blogspot.com/2012/05/thoughts-dreams-and-consciousness-of.html</link><author>noreply@blogger.com (Mahasen)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7832831.post-1769220306665055551</guid><pubDate>Tue, 08 May 2012 07:22:00 +0000</pubDate><atom:updated>2012-05-08T03:57:24.822-04:00</atom:updated><title>Consciousness of self, death and religion</title><description>&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/7149231689/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; title=&quot;The one that stands out by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;The one that stands out&quot; src=&quot;http://farm8.staticflickr.com/7230/7149231689_26fb48295b.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Consciousness of self is a manifestation of the brain, brain weakens – your awareness of self weakens, brain dies – you die. Period. There’s nothing going to hell or heaven, nor gets re-born. Accept that and you don’t need a religion to pamper you.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;But, your brain wouldn’t want you believing that would it? It’s, much like any other organism, wants to last for as long as possible so that it could re-produce its kind as much as possible.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;It tells you that YOU are independent of YOUR body. It’s about YOU… &lt;span style=&quot;font-size: large;&quot;&gt;YOU&lt;/span&gt;!&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;...and then; you get the question, when you die, you lose your body… what will happen to YOU then? (Because you believe that you exists&amp;nbsp;independent&amp;nbsp;of your brain!)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;There’s no way of knowing… you are scared of the unknown (This is a survival strategy BTW..., not really meant for this particular problem, but unavoidably it comes to this.). You freak out.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;And there comes someone, who has no clue of the fact any more than you do, telling you some bullshit of a creator or stopping of a cycle or that kind of a story, which gives you an answer to the question &quot;what happens to ME after I die?&quot;… and some other baggage along with that. If you take for granted that you exist&amp;nbsp;independent&amp;nbsp;of your physical body and refuse to believe that your consciousness is a result of bio chemical /&amp;nbsp;magnetic reaction (or whatever the shit that goes in the brain, I&#39;m no medical doctor)&amp;nbsp;then, you really need an answer to calm yourself down of the fear of death. So, you&#39;d buy whatever the story is most accessible or sounds most plausible to you.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Either way is fine; but the problem is… most religions don’t stop at explaining what happens after death. Probably because those who’ve been preaching them realized that once they have a good grip of the masses with the explanation of death, they could get them to do anything for them.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Some chose to kill their enemies, some chose to earn more money, and some very few actually chose to do good to the man kind...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Anyways,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;If you really have to find answers, the most important question to ask should be, why the fuck does every fucking organism re-produce and want to live as long as possible? I mean, even the smallest organism without brains do that right? So, that for me is the most&amp;nbsp;mysterious&amp;nbsp;question.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;Really… why? They die eventually, and leaving behind offspring doesn’t serve them any good after that.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana,sans-serif;&quot;&gt;(Don’t get me started on having kids so that they would look after you when you are old – that’s just bullshit - I&#39;ll write something on that later)&lt;/span&gt;</description><link>http://mahasen.blogspot.com/2012/05/consciousness-of-self-is-manifestation.html</link><author>noreply@blogger.com (Mahasen)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7832831.post-9164245298146461946</guid><pubDate>Thu, 19 Apr 2012 11:09:00 +0000</pubDate><atom:updated>2012-04-19T07:09:36.959-04:00</atom:updated><title>Entrance</title><description>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/6941796010/&quot; title=&quot;Temple of the tooth, entrance by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Temple of the tooth, entrance&quot; height=&quot;800&quot; src=&quot;http://farm6.staticflickr.com/5459/6941796010_03e54c85c3_c.jpg&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
I always wanted to capture this entrance passage without any person in it, but given that I don&#39;t visit the temple of tooth often enough and it&#39;s always crowded, it wasn&#39;t easy getting the shot.&lt;br /&gt;
&lt;br /&gt;
On the day of Sinhala avurudu though, I had my chance - for about 10 seconds. Wish the two people at the end of the passage were family, but they are not.&lt;/div&gt;</description><link>http://mahasen.blogspot.com/2012/04/entrance.html</link><author>noreply@blogger.com (Mahasen)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7832831.post-9142850939243517483</guid><pubDate>Thu, 05 Apr 2012 14:25:00 +0000</pubDate><atom:updated>2012-04-05T10:25:14.676-04:00</atom:updated><title>I&#39;m speaking at CSSL next month about SOLID principles</title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrFmI7pGmzfPL00YqgrHDcDaNJzZt6Q-lk0JANuMMot42iS-VW4OC3JvOsWRrA68CJBuRavddvfqFGvVTen57yBS5rqBnv-cJ5rxiua60dQO457wGPrQyODS5QcLyfjR4WSx5qmA/s1600/Flyer+-+SD+2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrFmI7pGmzfPL00YqgrHDcDaNJzZt6Q-lk0JANuMMot42iS-VW4OC3JvOsWRrA68CJBuRavddvfqFGvVTen57yBS5rqBnv-cJ5rxiua60dQO457wGPrQyODS5QcLyfjR4WSx5qmA/s640/Flyer+-+SD+2.png&quot; width=&quot;452&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;</description><link>http://mahasen.blogspot.com/2012/04/im-speaking-at-cssl-next-month-about.html</link><author>noreply@blogger.com (Mahasen)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrFmI7pGmzfPL00YqgrHDcDaNJzZt6Q-lk0JANuMMot42iS-VW4OC3JvOsWRrA68CJBuRavddvfqFGvVTen57yBS5rqBnv-cJ5rxiua60dQO457wGPrQyODS5QcLyfjR4WSx5qmA/s72-c/Flyer+-+SD+2.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7832831.post-8308300649332084008</guid><pubDate>Thu, 23 Feb 2012 17:31:00 +0000</pubDate><atom:updated>2012-02-23T12:31:43.408-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Photo</category><title>Dul</title><description>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/6923686205/&quot; title=&quot;Dul by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Dul&quot; height=&quot;512&quot; src=&quot;http://farm8.staticflickr.com/7046/6923686205_9f71fdb8d3_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/6777570738/&quot; title=&quot;Dul by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Dul&quot; height=&quot;640&quot; src=&quot;http://farm8.staticflickr.com/7058/6777570738_a5fdc73f46_z.jpg&quot; width=&quot;512&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/6923684137/&quot; title=&quot;Dul by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Dul&quot; height=&quot;512&quot; src=&quot;http://farm8.staticflickr.com/7192/6923684137_95f907b5db_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/6777568514/&quot; title=&quot;Dul by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Dul&quot; height=&quot;512&quot; src=&quot;http://farm8.staticflickr.com/7208/6777568514_ccbc2f6649_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://mahasen.blogspot.com/2012/02/dul.html</link><author>noreply@blogger.com (Mahasen)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7832831.post-639389238399557557</guid><pubDate>Fri, 13 Jan 2012 18:15:00 +0000</pubDate><atom:updated>2012-01-13T13:15:00.057-05:00</atom:updated><title>Clean up your Island first!</title><description>&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;[This was received through email, addressed to all Sri Lankans]&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;I am a regular visitor to Sri Lanka and for the past 10 years I have enjoyed coming here for both work and leisure; currently I am here on holiday and have covered quite a sizeable chunk of the Island in my pursuit of the stunning landscapes and fascinating wildlife that Sri Lanka has to offer, but I now feel I need to criticise your attitude towards tourism. Firstly, why don’t you clean up your Island – it’s beautiful as nature intended, it doesn’t need pink and blue plastic lunch wraps, plastic bags, cans, rags and packaging strewn all over the beaches and carried wherever the wind or rain chooses. It looks so unsightly and the biggest culprits of disseminating the litter are the day trippers from Colombo and the big cities who come to spend a day on the beach with friends and family. Perhaps they should take their rubbish home with them or better still, decent rubbish bins should be provided and regularly cleared. Why are there large and small chunks of concrete rubble on walkways and beach paths each piece acting as a trap for more litter? In the West, garbage is big business. We spend billions on disposal of rubbish. Householders need to divide their garbage into three or four different containers, ready for re-cycling so we are very aware, we’ve been brainwashed and it offends. Do you really want to be known as a dirty Island? I am generalizing. Some areas are absolutely pristine, there is no trash anywhere, there is obviously a system in place in some areas; compare the popular beach of MIrissa which looks like a garbage dump (the locals should be ashamed of themselves), with the spotless main road past Unawatuna.&lt;/span&gt;&lt;br style=&quot;background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;The other complaint is your dogs; I know I’m not the first, but is it really so difficult to keep your dog population healthy and happy? Nobody takes responsibility for the street dogs, but they do get fed and so enjoy a fairly happy and sociable existence, but why can’t there be regular neutering? Why do your dogs have to walk around with limps and mange? Why are they always scratching? You have no idea what a turn-off this is for the foreign tourist, who probably comes from a country where dogs enjoy the same medical perks as humans and irresponsible owners are taken to court - we do notice but we are polite and say nothing. There is no need for culling, just a realistic attitude to the status quo.&lt;/span&gt;&lt;br style=&quot;background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;I usually travel with my partner or with a group of tourists but a few times recently I have been on my own and was unhappy about the number of men who approached me asking inane questions regarding my marital status and where I was staying, do Sri Lankan women have this experience? One of Sri Lanka’s big attractions for all visitors is the friendliness of the inhabitants - they make you feel welcome - but there is a fine line between friendliness and imposition.&lt;/span&gt;&lt;br style=&quot;background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;On reading this, you may well say, well don’t come if you don’t like it. Of course that is true, but do you want more tourists or don’t you?&lt;/span&gt;&lt;br style=&quot;background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;The decision is yours.&lt;/span&gt;&lt;br style=&quot;background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot; /&gt;&lt;br style=&quot;background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;W. S. Bryden,&lt;/span&gt;&lt;br style=&quot;background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: rgba(255, 255, 255, 0.917969); color: #222222; font-family: arial, sans-serif; font-size: 13px;&quot;&gt;UK.&lt;/span&gt;</description><link>http://mahasen.blogspot.com/2012/01/clean-up-your-island-first.html</link><author>noreply@blogger.com (Mahasen)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7832831.post-6945448861736510269</guid><pubDate>Sun, 01 Jan 2012 06:40:00 +0000</pubDate><atom:updated>2012-01-01T01:40:52.370-05:00</atom:updated><title></title><description>&lt;a href=&quot;http://www.flickr.com/photos/mahasen/6610694927/&quot; title=&quot;Ammai Appachchiy by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Ammai Appachchiy&quot; height=&quot;512&quot; src=&quot;http://farm8.staticflickr.com/7004/6610694927_d43edf61c5_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/6610694109/&quot; title=&quot;Ammai Appachchiy by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Ammai Appachchiy&quot; height=&quot;427&quot; src=&quot;http://farm8.staticflickr.com/7024/6610694109_131ed5f8e5_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/6610693361/&quot; title=&quot;Ammai Appachchiy by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Ammai Appachchiy&quot; height=&quot;512&quot; src=&quot;http://farm8.staticflickr.com/7173/6610693361_40bf860f94_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/6610692407/&quot; title=&quot;Ammai Appachchiy by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Ammai Appachchiy&quot; height=&quot;512&quot; src=&quot;http://farm8.staticflickr.com/7020/6610692407_a19b9629c7_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/6610691505/&quot; title=&quot;Ammai Appachchiy by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Ammai Appachchiy&quot; height=&quot;512&quot; src=&quot;http://farm8.staticflickr.com/7030/6610691505_1b69c080c6_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/6610690535/&quot; title=&quot;Ammai Appachchiy by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Ammai Appachchiy&quot; height=&quot;512&quot; src=&quot;http://farm8.staticflickr.com/7146/6610690535_291725df73_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/6610689745/&quot; title=&quot;Ammai Appachchiy by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Ammai Appachchiy&quot; height=&quot;512&quot; src=&quot;http://farm8.staticflickr.com/7003/6610689745_8f57b0f89d_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;</description><link>http://mahasen.blogspot.com/2012/01/ammai-appachchiy-by-mahasen-on-flickr.html</link><author>noreply@blogger.com (Mahasen)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7832831.post-1665989858284439980</guid><pubDate>Sun, 18 Dec 2011 10:52:00 +0000</pubDate><atom:updated>2011-12-18T05:54:13.581-05:00</atom:updated><title></title><description>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/6530280293/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; title=&quot;Amma by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Amma&quot; height=&quot;640&quot; src=&quot;http://farm8.staticflickr.com/7032/6530280293_fe96314e2e_z.jpg&quot; width=&quot;512&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://mahasen.blogspot.com/2011/12/amma-by-mahasen-on-flickr.html</link><author>noreply@blogger.com (Mahasen)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7832831.post-1636374881280812042</guid><pubDate>Sun, 13 Nov 2011 15:01:00 +0000</pubDate><atom:updated>2011-11-13T10:04:41.478-05:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Photo</category><title>Some old memories worth publishing...</title><description>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/6338446127/&quot; title=&quot;Girl waiting at the Grand Central by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Girl waiting at the Grand Central&quot; height=&quot;434&quot; src=&quot;http://farm7.static.flickr.com/6114/6338446127_e2d02f9967_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/6338447465/&quot; title=&quot;Grand Central Dome by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Grand Central Dome&quot; height=&quot;428&quot; src=&quot;http://farm7.static.flickr.com/6220/6338447465_27eb4e8d03_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/6339200570/&quot; title=&quot;Brooklyn Bridge by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Brooklyn Bridge&quot; height=&quot;428&quot; src=&quot;http://farm7.static.flickr.com/6212/6339200570_584bf88b94_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/6339201746/&quot; title=&quot;Brooklyn Bridge by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Brooklyn Bridge&quot; height=&quot;428&quot; src=&quot;http://farm7.static.flickr.com/6098/6339201746_396f771888_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://mahasen.blogspot.com/2011/11/some-old-memories-worth-publishing.html</link><author>noreply@blogger.com (Mahasen)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://farm7.static.flickr.com/6114/6338446127_e2d02f9967_t.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7832831.post-8805360991937001422</guid><pubDate>Wed, 12 Oct 2011 17:22:00 +0000</pubDate><atom:updated>2011-10-13T09:30:12.863-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Life</category><category domain="http://www.blogger.com/atom/ns#">Politics</category><category domain="http://www.blogger.com/atom/ns#">war</category><title>On the shoot-out</title><description>So here’s what I think (knowing that nobody cares what I think).  &lt;br /&gt;
&lt;br /&gt;
In 2009 Mahinda really wanted to win the western provincial council election big, specifically he wanted to win Colombo district big. This was at the very late stages of the war, a strong election win was needed for him to show the world that people approve the war. A big win in UNP stronghold Colombo would have created good news, and also made good grounds for the upcoming parliamentary elections (Presidential elections were probably not planned then).&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
The previous election results for Colombo wasn’t that good. The win was marginal; and that too at a weak period of UNP with people starting to reject the cease fire agreement. worst of all, there weren’t any strong candidates for UPFA in Colombo.  &lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;2004 Provincial Council Elections, Colombo District | Votes&lt;/u&gt;&lt;br /&gt;
&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;1&quot; style=&quot;width: 600px;&quot;&gt; &lt;tbody&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;283&quot;&gt;&lt;strong&gt;POLITICAL PARTY&lt;/strong&gt;&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;122&quot;&gt;&lt;strong&gt;VOTES&lt;/strong&gt;&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;98&quot;&gt;&lt;strong&gt;%&lt;/strong&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; width=&quot;90&quot;&gt;&lt;strong&gt;&amp;nbsp;SEATS&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;283&quot;&gt;UNITED PEOPLE&#39;S FREEDOM ALLIANCE&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;122&quot;&gt;322,653&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;98&quot;&gt;49.11&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;90&quot;&gt;25&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;283&quot;&gt;UNITED NATIONAL PARTY&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;122&quot;&gt;276,759&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;98&quot;&gt;42.12&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;90&quot;&gt;15&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;br /&gt;
&lt;u&gt;2004 Provincial Council Elections, Colombo District | Top candidates of UPFA&lt;/u&gt;&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;2&quot; cellspacing=&quot;5&quot; style=&quot;width: 453px;&quot;&gt; &lt;tbody&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;219&quot;&gt;&lt;b&gt;Candidate&lt;/b&gt;&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;217&quot;&gt;&lt;b&gt;Preferential votes&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;219&quot;&gt;Aruna Hemapala&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;217&quot;&gt;36,029&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;219&quot;&gt;Andarage Don Gamini Thilakasiri&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;217&quot;&gt;34,992&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;219&quot;&gt;H. Kanchana Peiris&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;217&quot;&gt;34,658&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
So, Mahinda did what he does the best, bought a couple of candidates from the UNP, not with money, but with power! Duminda Silva and Thilanga Sumathipala. These two had enough money of their own for them to be bought with money, what they lacked while in opposition is power, and that’s what Mahinda had to offer them. The deal probably was win me Colombo and I’ll give you parliamentary tickets and organizer posts.&lt;br /&gt;
&lt;br /&gt;
Results were quite clear, win they did. They literally bought votes for themselves spending insane amounts of money.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;2009 Provincial Council Elections, Colombo District | Votes&lt;/u&gt;&lt;br /&gt;
&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;1&quot; style=&quot;width: 587px;&quot;&gt; &lt;tbody&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;277&quot;&gt;&lt;b&gt;POLITICAL PARTY&lt;/b&gt;&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;124&quot;&gt;&lt;b&gt;VOTES&lt;/b&gt;&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;91&quot;&gt;&lt;b&gt;%&lt;/b&gt;&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;88&quot;&gt;&lt;b&gt;SEATS&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;277&quot;&gt;UNITED PEOPLE&#39;S FREEDOM ALLIANCE&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;124&quot;&gt;530,370&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;91&quot;&gt;57.78&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;88&quot;&gt;25&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;277&quot;&gt;UNITED NATIONAL PARTY&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;124&quot;&gt;327,571&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;91&quot;&gt;35.69&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;88&quot;&gt;15&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;br /&gt;
&lt;u&gt;2009 Provincial Council Elections, Colombo District | Top candidates of UPFA&lt;/u&gt;&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;2&quot; cellspacing=&quot;5&quot; style=&quot;width: 453px;&quot;&gt; &lt;tbody&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;323&quot;&gt;&lt;b&gt;Candidate&lt;/b&gt;&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;217&quot;&gt;&lt;b&gt;Preferential votes&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;323&quot;&gt;Arumadura Lorence Romelo Duminda Silva&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;217&quot;&gt;165,128&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;323&quot;&gt;Uduwatuwage Janathpriya Thilanga Sumathipala&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;217&quot;&gt;159,603&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td valign=&quot;top&quot; width=&quot;323&quot;&gt;Udaya Prabhath Gammanpila&lt;/td&gt; &lt;td valign=&quot;top&quot; width=&quot;217&quot;&gt;116,144&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
So, Duminda and Thilanga got their parliamentary election tickets and organizer posts as promised. But, unfortunately, that meant someone else lost their organizer post and possibly election tickets. To compensate for this, Mahinda offered Bharatha some other posts including the presidential advisor post.&lt;br /&gt;
&lt;br /&gt;
For Duminda, the electoral seat doesn’t matter. He buys votes – literally. So he could go in to any area, throw some cash around, muscle out any resistance and get voted. But for someone like Bharatha, getting voted depends a lot on relationship building and small scale spending&#39;s over a lifetime. And giving his electoral seat to Duminda meant the end of his active political career; presidential advisor post didn’t really compensated for that. Thus started the battle between Duminda and Bharatha.&lt;br /&gt;
&lt;br /&gt;
Where did Duminda get his money from? I don’t know. His brother owns few radio stations and they probably have other businesses. Some say it’s drugs. Can’t rule that out, but it’s highly unlikely that Rajapaksha’s would get a drug dealer in to the defense secretariat. Most claim drugs because they don’t know people could actually make an insane amount of money with legit businesses. And all they could think of is drugs.&lt;br /&gt;
&lt;br /&gt;
There are no black or white characters, they are all shades of grey. Duminda had lot of thugs surrounding him, and I wouldn’t believe if someone said Bharatha didn’t. And most of all, I don’t think either of these two had got into a fight of this nature where the other party responded in the same way. They are probably so used to going in with brute force and shooting away the opponents.&lt;br /&gt;
&lt;br /&gt;
So, when the first to get out of the vehicles – be it Duminda or Bharatha – started waving the guns around, probably didn’t expect the other party to do the same. And they didn’t know what to do next. They either had to pack-up and leave, or shoot. Alcohol probably stopped them from making the wise move and shoot they did. The ones with most guns, made the most kills. But I don’t think Bharatha’s group didn’t shoot back, or Duminda didn’t get shot, as some bloggers claim. With three bullets in the head, I’d be really surprised if he’s not vegetable now.&lt;br /&gt;
&lt;br /&gt;
So, is this Mahinda’s fault for bringing in a thug from UNP to muscle out – and kill&amp;nbsp; in this instance - the old SLFPers who helped him vin the elections? It’s obviously a consequence of a series of incidents, but I don’t think it could be directly attributed to bringing Duminda and Thilanga in to SLFP. Mahinda is just another grey character, with good and bad, making decisions which he thinks is right for him, his family, his friends and after some more items in that list, the country (hopefully).&lt;br /&gt;
&lt;br /&gt;
Related:&amp;nbsp;&lt;a href=&quot;http://indi.ca/2011/10/hearsay-about-duminda-silva/&quot;&gt;http://indi.ca/2011/10/hearsay-about-duminda-silva/&lt;/a&gt;</description><link>http://mahasen.blogspot.com/2011/10/on-shoot-out.html</link><author>noreply@blogger.com (Mahasen)</author><thr:total>4</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7832831.post-8694322893990633590</guid><pubDate>Sun, 18 Sep 2011 21:08:00 +0000</pubDate><atom:updated>2011-10-12T13:32:42.556-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Photo</category><title>A quick recap on the weekend in Trinco..</title><description>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/6159754551/&quot; title=&quot;Trinco by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Trinco&quot; height=&quot;312&quot; src=&quot;http://farm7.static.flickr.com/6175/6159754551_4825024493_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/6159755689/&quot; title=&quot;Trinco by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Trinco&quot; height=&quot;359&quot; src=&quot;http://farm7.static.flickr.com/6210/6159755689_8e0fa2bd10_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/6160297480/&quot; title=&quot;Trinco - Prima factory from sea by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Trinco - Prima factory from sea&quot; height=&quot;428&quot; src=&quot;http://farm7.static.flickr.com/6196/6160297480_b6d70274c2_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.flickr.com/photos/mahasen/6159758659/&quot; title=&quot;Trinco - Sunsent at pigeon island by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Trinco - Sunsent at pigeon island&quot; height=&quot;640&quot; src=&quot;http://farm7.static.flickr.com/6161/6159758659_92962df400_z.jpg&quot; width=&quot;428&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://mahasen.blogspot.com/2011/09/quick-recap-on-weekend-in-trinco.html</link><author>noreply@blogger.com (Mahasen)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://farm7.static.flickr.com/6175/6159754551_4825024493_t.jpg" height="72" width="72"/><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7832831.post-2370778406015419332</guid><pubDate>Fri, 05 Aug 2011 18:11:00 +0000</pubDate><atom:updated>2011-08-05T14:12:03.106-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Life</category><title>ඇයට කුමක් වීද?</title><description>&lt;br /&gt;
2007 වසරේ මාව ඇමෙරිකාවට යැව්වා ඒ කාලේ මම වැඩ කරපු ඔපීසියෙන්. මුලින් විස්කොන්සින් ප්‍රාන්තයේ මිල්වූකී වල මට මාස පහක් විතර ඉන්න උණා. මට නම් මිල්වූකි මෙලෝ රහක් නැති පලාතක්. මම එහෙට ගියේ 2007 දෙසැම්බර් පළමුදා, එදා එහෙට හිම කුණාටුවක්. මම එහෙන් ආවේ 2008 අප්‍රේල් මැද, එදත් හිම කුණාටුවක්. එහේ හිටිය මාස පහ හමාරම, හිම හිම හිම.&lt;br /&gt;
&lt;br /&gt;
එහේ අපේ කණ්තෝරුවෙම තව අය හිටියත් මම නැවතිලා හිටියේ තනියෙන් අපාර්ට්මන්ට් එකක් අරන්, මම පෞද්ගලිකත්වයටත් නිදහසටත් කැමති නිසා.&lt;br /&gt;
&lt;br /&gt;
කොහොමින් හරි අප්‍රේල් වල මම ගියා නිව්යෝක් නගරයට. එහේ මම වැඩ කලාට අපාර්ට්මන්ට් එකක් ගත්තේ නිව් ජර්සි වල. එහෙත් ඔෆිස් එකේ අය හිටියාට මම නැවතුනේ තනියෙන්. මම එහේ ඉඳලා නිව්යෝක් වල වැඩට ගියේ ආවේ බස් එකේ.&lt;br /&gt;
&lt;br /&gt;
වසන්තය ඉවර වෙන කාලේ විතර, එක සෙනසුරාදාවක, මම නිව්යෝක් නගරයේ රස්තියාදුවක් යන්න හිතාගෙන ගිහින් බස් හෝල්ට් එකට වෙලා හිටියා. ගෙදර ඉන්න කම්මැලි හිතුනම මම ඒ දවස් වල කරන්නේ ඒක. මම බස් සීසන් ගන්නේ මාසෙටම, ඉතින් ගමනට වැඩිපුර වියදම් වෙන්නේ නෑ. අනික නිව්යෝක් නගරේ බලන්න ජාති හෙන ගොඩයි. ඇවිදලා කෙලවරක් කර ගන්න බැරි උනා මට එහේ අවුරුද්දක් විතර ඉඳලත්.&lt;br /&gt;
&lt;br /&gt;
ඉතින් ඔය බස් හෝල්ට් එකේ තියෙනව බංකු තුනක්. මම යද්දී දෙන්නෙක් ඉඳගෙන හිටියා. ඉතුරු එකේ මම ඉඳ ගත්තා. සෙනසුරාදා ඉරිදා දවස් වලට බස් යන්නේ පැය දෙකෙන් දෙකට විතර. ඉතින් මට කලින් බස් එක මිස් වෙලා තිබ්බ නිසා සෑහෙන වෙලාවක් ඔතන ඉන්න උනා. ඔහොම ඉද්දී ඔතෙන්ට ආව සෑහෙන වයස සුදු නෝනා කෙනෙක්. ඉතින් එයා හිටන් ඉද්දි මට පුලුවනෑ ඉඳන් ඉන්න, ඉතින් මම නැගිටලා දුන්නා පුටුව. එයාට හෙන පුදුමයි. ඉතින් එයා මගේ රට තොට අහලා මාත් එක්ක කතාවට වැටුනා. එයා නැගෙනහිර යුරෝපීය රටක. පොඩි කාලෙම ඇමෙරිකාවට ඇවිත්, එහෙන් කසාද බැඳලා නැවතිලා. දැන් මහත්තයා නෑ, ළමයි රටේ ඈතට ගිහින්. එයා තනියම, මම ඉන්න අපාර්ට්මන්ට් වලම නැවතිලා ඉන්නේ.&lt;br /&gt;
&lt;br /&gt;
එදයින් පස්සේ, ඉඳලා හිටලා අපි බස් හෝල්ට් එකේ දි හම්බුණා. බස් එකේ එක ලඟ ඉඳගෙන අපි අපේ රටවල් ගැන, ළමා කාලේ ගැන, ඇමෙරිකාව ගැන කතා කරා. ඇගේ ගෙදර ඇවිත් යන්න කියලා ඈ මට ආරාධනා කරත්, මම ගියේ නෑ. මම මිනිස්සු එක්ක බොහොම සීමිත සම්භන්ද කම් පවත්වන කෙනෙක්..&lt;br /&gt;
&lt;br /&gt;
කොහොම හරි, මම ලංකාවට එන්න දවස් දෙකකට කලින් මට ඈව හම්බුණා. මම ඈට කිව්වා, මම ලංකාවට යන බව. මම සතුටින්ද දුකෙන්ද යන්නේ කියා ඈ අහුවා. මම කිව්ව මගේ අම්මලා අප්පච්චිලා දකින්න මම ආසාවෙන් ඉන්නවා කියලා. ඈ මට සුභ පතලා, වෙන විස්තර කතා කරා.&lt;br /&gt;
&lt;br /&gt;
අපි වෙන් වෙන මොහොතේ ඈ මගේ අතින් අල්ලගෙන කිව්ව &quot;ඔබ ආයේ ඇමෙරිකාවට ආවත්, ඔබව දකින්න මම ජීවතුන් අතර ඉන්න එකක් නෑ, ඔබ බොහොම හොඳ ළමයෙක්, ඔබට දෙවි පිහිටයි&quot; කියලා. ඇගේ වයසක දෑසින් කඳුලු හෝ ගාලා ගලාගෙන ගියා.&lt;br /&gt;
&lt;br /&gt;
නොදන්න රටක, නොදන්න අම්මා කෙනෙක්, මාව ආයේ දකින්න වෙන්නේ නෑ කියලා ඒ විදිහට දුක් වෙලා අඬයි කියලා මම බලාපොරොත්තු උනේ නෑ. මගේ ඇහෙනුත් ඉබේටම කඳුලක් වැටුණා.&lt;br /&gt;
&lt;br /&gt;
ඇයගේ ඊමේල් ලිපිනයක් වත්, දුරකථන අංකයක් වත් මට ඉල්ල ගන්න බැරි උනා. අඩුම තරමින් ඇගේ නම වත් මට හරියට මතක හිටලා තිබෙබේ නෑ. ඈ නම නම් මුල් දවසේ කිව්ව. හුරු නමක් නෙවෙයි මතක හිටින්න.&lt;br /&gt;
&lt;br /&gt;
දැන් මම ලංකාවට ඇවිත් සෑහෙන කල්. ඒත් ඉඳලා හිටලා මට තාම ඒ වයසක මණුස්සයාව මතක් වෙනවා. ඒ වෙනකොටත් එයාට අසූව පැනලා. දැන් ඉන්නවා ද දන්නෙත් නෑ. පව්..&lt;br /&gt;
</description><link>http://mahasen.blogspot.com/2011/08/blog-post.html</link><author>noreply@blogger.com (Mahasen)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7832831.post-3215650100927490328</guid><pubDate>Thu, 16 Jun 2011 16:49:00 +0000</pubDate><atom:updated>2011-06-16T12:56:08.346-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Agile</category><category domain="http://www.blogger.com/atom/ns#">Technical</category><category domain="http://www.blogger.com/atom/ns#">Tools</category><title>Advocating and Opposing Agile for the wrong reasons</title><description>Development processes have fundamental problems they address, a philosophy by which they try to solve that problem and methods by which they implement that philosophy.&lt;br /&gt;
&lt;br /&gt;
Problem that Agile solves is ever changing requirements of enterprise applications.&lt;br /&gt;
&lt;br /&gt;
There are those who &lt;a href=&quot;http://www.youtube.com/watch?v=UZq4sZz56qM&quot;&gt;laugh at Agile for how awfully it would fail in building an air plane&lt;/a&gt; (technically speaking, proper agile will not fail, but it’s not at all the correct process to use there) and then go try to make an information system to a&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/Zaphod_Beeblebrox&quot;&gt;galactic government&lt;/a&gt; using a formal process and fail even more miserably. (I wanted to say kite, but wanted to emphasize size is not the problem). And this goes vice versa.&lt;br /&gt;
&lt;br /&gt;
Smart project teams chose the right process for the right project. They don’t brand themselves as agile or formal. They are simply good engineers who are good at applying proper solution for the problem at hand right from the process itself.</description><link>http://mahasen.blogspot.com/2011/06/advocating-and-opposing-agile-for-wrong.html</link><author>noreply@blogger.com (Mahasen)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7832831.post-5719788286758065076</guid><pubDate>Tue, 14 Jun 2011 09:40:00 +0000</pubDate><atom:updated>2011-06-14T05:40:21.070-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Agile</category><category domain="http://www.blogger.com/atom/ns#">How to</category><category domain="http://www.blogger.com/atom/ns#">Technical</category><category domain="http://www.blogger.com/atom/ns#">Tools</category><category domain="http://www.blogger.com/atom/ns#">Work</category><title>How’s your agile process working for you?</title><description>Are you practicing an agile process in your team? Do you still find your team working through the night? Do you still find your software to be rigid, fragile and immobile? Do you still find changes of requirements to be nightmares to the developers? How do you suppose those situations are possible with an Agile process?&lt;br /&gt;
&lt;br /&gt;
Unfortunately, this is the situation in almost all Agile practicing and Agile preaching companies we have around in Sri Lanka. I’ve crossed my paths with quite a few developers from these companies and they all have the same story to tell; agile for them, is the same old cycle, without the documentation and without a designing phase - which makes their development life worse. Non-technical project managers are still around, being called by other names, and to add to the misery, now the customers bring the pressure directly to the developer - because it’s “Agile”.&lt;br /&gt;
&lt;br /&gt;
Is Agile a bad idea? What’s going wrong? Why can’t we make it work? Have you seen the list of names in the Agile manifesto at http://agilemanifesto.org/? Do you think those are the kind of people who would invest on a failing process? Besides, they’ve been practicing and teaching it for over a decade now. So if there’s anything wrong with Agile, it’s more likely in the way we practice it.&lt;br /&gt;
&lt;br /&gt;
Management elements such as deadlines, budgets and sucking up to customers’ aside, we developers too need to change some fundamental ideologies towards development in order to make Agile, well Agile. It is not to say that the operational model doesn’t matter, indeed, that’s what makes Agile possible. Someone should be available to the team to represent the customer, acceptance tests should be automated and made available to the developers when feature requests / changes are made; team should be responding to changes than follow a plan; team should be able focus on getting a working product out instead of documenting etc. etc. which all agile gurus will tell you; but the part they don’t speak about; the part the folks came up with agile manifesto took for granted; the part that is responsible for more than half the agile failures in Sri Lanka is with the developers.&lt;br /&gt;
&lt;br /&gt;
One misconception most developers in Sri Lanka have about Agile development is, it is coding without design or documentation. The other misconception is to think getting software to “work” means getting the functionality out one way or another. The Agile philosophy has very different interpretations for these and is defined with the implied expectation of strong object oriented concepts and design principles of the developers.&lt;br /&gt;
&lt;br /&gt;
By the term “a working product” what’s meant is a functional, testable and maintainable product. Not just functional. If a piece of code provides the functionality required, but only the developer himself could read and understand how it does that, it is not a working product by Agile definitions. Developers are to get the code to work and then refactor till it’s readable, not duplicating code and as simple as it could be but not simpler.&lt;br /&gt;
Refactoring to make code readable, non-duplicative, simple and free of unused design complexities and code is a constant practice that developers are expected to follow whenever they code something.&lt;br /&gt;
&lt;br /&gt;
The design focus of Agile is much more implied than explicit. In each iteration, Agile focus on getting a working product to the customer. The team narrows their focus only on the features that are planned for that iteration making it as simple and expressive as possible; yet not losing the overall picture - or at least what exist of it at the time. This practice makes sure that the design never gets complicated than necessary and serves to the problem at hand than expected (but volatile) problems of the future. One of the problems in designing the whole application at once is that the architect is force to foresee requirements of the future; with requirements ever changing and little understanding of them to begin with; this is not a task someone could get 100% right. That’s why Agile promotes this simplistic approach which could accommodate changes more easily.&lt;br /&gt;
&lt;br /&gt;
Unit Tests for agile developers are a design practice than a verification step. Writing the non-compiling unit test is defining the contract for a component. Developer should do due diligence and consider who are the consumers and think how the consumers would want to use a class. Note that the tests are written for the public interface of the class, the tests care only about the functionality exposed through that. Once the developer get the unit tests to pass, he can then go on refactoring his code to be simple, readable and non-duplicative - one step at a time - without worrying about breaking the functionality unknowingly; because the tests are there to guard against that.&lt;br /&gt;
&lt;br /&gt;
The next aspect of design developers ignore in Agile is how exactly the changes are accommodated. Remember that agile designs are as simple as possible meaning that when code is first written, it is not accommodating flexibility for “potential” change. But when the first change comes, the developers should follow the object oriented design principles and separate the changing elements of code from the non-changing elements of code, evolving the design in that part, so that a second change in the same area would be easier and simpler than the first. This practice prevents the code becoming stale over repeated changes, still keeping the code as simple as possible.&lt;br /&gt;
&lt;br /&gt;
As always, developers should keep themselves up to date not only with the new technologies but of the time proven concepts; and the organizations who wish to harness the benefits of any methodology should invest on getting their developers in par with that methodology.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&lt;u&gt;References&lt;/u&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;b&gt;Agile Principles, Patterns, and Practices in C#&lt;/b&gt; By Robert C. Martin, Micah Martin&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;b&gt;Agile Software Development: The Cooperative Game&lt;/b&gt;, Second Edition By Alistair Cockburn&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;b&gt;Test-Driven Development&lt;/b&gt; By Example By Kent Beck&lt;/i&gt;</description><link>http://mahasen.blogspot.com/2011/06/hows-your-agile-process-working-for-you.html</link><author>noreply@blogger.com (Mahasen)</author><thr:total>4</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7832831.post-2462513293281943483</guid><pubDate>Sun, 12 Jun 2011 10:56:00 +0000</pubDate><atom:updated>2011-06-12T06:56:20.221-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Photo</category><title>Yellow, Orange and Green</title><description>&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://www.flickr.com/photos/mahasen/5824191926/&quot; title=&quot;Yellow Orange and Green by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Yellow Orange and Green&quot; height=&quot;428&quot; src=&quot;http://farm4.static.flickr.com/3620/5824191926_f651ccaf07_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://www.flickr.com/photos/mahasen/5824193072/&quot; title=&quot;Yellow Orange and Green by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Yellow Orange and Green&quot; height=&quot;640&quot; src=&quot;http://farm6.static.flickr.com/5196/5824193072_e83b63bb6d_z.jpg&quot; width=&quot;428&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://www.flickr.com/photos/mahasen/5823631841/&quot; title=&quot;Yellow Orange and Green by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Yellow Orange and Green&quot; height=&quot;640&quot; src=&quot;http://farm4.static.flickr.com/3466/5823631841_ae183bf1ff_z.jpg&quot; width=&quot;428&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://www.flickr.com/photos/mahasen/5824194934/&quot; title=&quot;Yellow Orange and Green by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Yellow Orange and Green&quot; height=&quot;640&quot; src=&quot;http://farm4.static.flickr.com/3560/5824194934_893cb68a20_z.jpg&quot; width=&quot;428&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://mahasen.blogspot.com/2011/06/yellow-orange-and-green.html</link><author>noreply@blogger.com (Mahasen)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://farm4.static.flickr.com/3620/5824191926_f651ccaf07_t.jpg" height="72" width="72"/><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7832831.post-7895028922111419916</guid><pubDate>Sun, 29 May 2011 11:28:00 +0000</pubDate><atom:updated>2011-05-29T07:28:58.136-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Photo</category><title>Kandyan Dancer</title><description>&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://www.flickr.com/photos/mahasen/5771464902/&quot; title=&quot;Kandyan Dancer by mahasen, on Flickr&quot;&gt;&lt;img alt=&quot;Kandyan Dancer&quot; height=&quot;428&quot; src=&quot;http://farm4.static.flickr.com/3143/5771464902_b1e50a635e_z.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://mahasen.blogspot.com/2011/05/kandyan-dancer.html</link><author>noreply@blogger.com (Mahasen)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://farm4.static.flickr.com/3143/5771464902_b1e50a635e_t.jpg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-7832831.post-4493536039357314921</guid><pubDate>Sat, 28 May 2011 21:13:00 +0000</pubDate><atom:updated>2011-05-28T17:13:08.233-04:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">How to</category><category domain="http://www.blogger.com/atom/ns#">Technical</category><title>The specification of a method</title><description>Sometime back I read Alan Shalloway’s wonderful book “&lt;a href=&quot;http://www.amazon.com/Design-Patterns-Explained-Perspective-Object-Oriented/dp/0321247140?ie=UTF8&amp;amp;tag=mahasendoesbl-20&amp;amp;link_code=btl&amp;amp;camp=213689&amp;amp;creative=392969&quot; target=&quot;_blank&quot;&gt;Design Patterns Explained: A New Perspective on Object-Oriented Design&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;http://www.assoc-amazon.com/e/ir?t=mahasendoesbl-20&amp;amp;l=btl&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=0321247140&quot; style=&quot;border: none !important; margin: 0px !important; padding: 0px !important;&quot; width=&quot;1&quot; /&gt;” which I think makes a wonderful pre-read for anyone who’s going to read the GoF design patterns book. But even if you’ve already read the GoF, like I had, Alan’s book still is a good read.&lt;br /&gt;
&lt;br /&gt;
In that book, Alan brings the point that any object oriented software component should be looked at in three different perspectives,&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Concept - which is the responsibility of that particular component (i.e. what it’s supposed to do)&lt;/li&gt;
&lt;li&gt;Specification - which is the contract with the external entities (i.e. how it would be used)&lt;/li&gt;
&lt;li&gt;Implementation - which is how that component is actually going to get the job done.&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
At any given level of abstraction - application | component | package | class | method - this stands true and is very important to separate these concerns in designing at each level.&lt;br /&gt;
&lt;br /&gt;
I&#39;d like to give a thought on how this is applicable at the level of a method.&amp;nbsp;Let’s take an example to make things easier to understand. &lt;i&gt;A method that converts a string to a number&lt;/i&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;What is the responsibility?&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
Convert a string to a number of cause, but does that statement describe everything?&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;What’s the contract?&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
Defining the contract is the step which is going to make the responsibility of the method more explicit, and define the explicit usage of the method.&lt;br /&gt;
&lt;br /&gt;
What are the parameters the method would take? Just the string to be converted? Should it get control parameters?&lt;br /&gt;
&lt;br /&gt;
What’s the format of the string should be?&lt;br /&gt;
&lt;br /&gt;
What would the method return if the format is incorrect? Would it return a default value? Would it throw an exception (what type of exception) or would it return null?&lt;br /&gt;
&lt;br /&gt;
What type is the number? Integer or float? Could it be both? If so, how would the method return it?&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;What’s the implementation?&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
We should only get at this once we have the answers to the above two questions. And our implementation should depend on them, the responsibility or the contract should not change by our implementation - remember the &lt;a href=&quot;http://en.wikipedia.org/wiki/Dependency_inversion_principle&quot;&gt;dependency inversion principle&lt;/a&gt;!&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;i&gt;So why is this post called “The specification of a method”?&amp;nbsp;&lt;/i&gt;&lt;/b&gt;Because that’s where I’d like to focus for the rest of this post. That’s where I see room for a lot of improvements.&lt;br /&gt;
&lt;br /&gt;
How exactly do we define the contract for a method after we do have the answers to the questions like what we saw above? It should all end up in the method signature. But, most languages only allow us to specify parameters and return types; so how do we communicate exceptions and whether a method would return null or not?&lt;br /&gt;
&lt;br /&gt;
Java is a language that goes one step further and offer checked exceptions that allow us to express in the method signature what type of exceptions are thrown by the method; which I learned to appreciate only very recently. That’s a feature which make sure an application will not ever crash due to an unhandled exception, by making method contracts explicit.&lt;br /&gt;
&lt;br /&gt;
That’s one good example that making the contract explicit contributes directly towards application stability and better coding practice. (But there are debates on whether this is a good thing or a bad thing - I think it is good.)&lt;br /&gt;
&lt;br /&gt;
How do we do this in .NET? We could add the exception details in the XML comment documentation. But that’s not as good as the compiler mandate of java.&lt;br /&gt;
&lt;br /&gt;
The other part of the signature which we miss a lot is conveying the fact whether a method would return null or not. We see quite a few null reference exceptions and quite a few null checks on methods that do not return nulls than we would like to in our day-today life. Some argue that it’s a “good” practice to check null even if a return value cannot be null. But that’s a pretty lame claim isn&#39;t it?&lt;br /&gt;
&lt;br /&gt;
There are two ways that I could think of to overcome this. Obviously we can comment if a null value is returned by the method. But there’s no guarantee that someone someday would forget the comment and would not check null. The much thoughtful approach is to implement the &lt;a href=&quot;http://martinfowler.com/eaaCatalog/specialCase.html&quot;&gt;Special Case pattern&lt;/a&gt; (&lt;a href=&quot;http://www.amazon.com/Patterns-Enterprise-Application-Architecture-Martin/dp/0321127420?ie=UTF8&amp;amp;tag=mahasendoesbl-20&amp;amp;link_code=btl&amp;amp;camp=213689&amp;amp;creative=392969&quot; target=&quot;_blank&quot;&gt;PoEAA&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;1&quot; src=&quot;http://www.assoc-amazon.com/e/ir?t=mahasendoesbl-20&amp;amp;l=btl&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=0321127420&quot; style=&quot;border: none !important; margin: 0px !important; padding: 0px !important;&quot; width=&quot;1&quot; /&gt;). In which, separate implementations are given to such anomalies as null for the same interface, so that the consumer need not worry about exceptions. But, it’s a design decision that has to be taken much earlier than you start to design method signatures.&lt;br /&gt;
&lt;br /&gt;
Regardless of how we are going to handle these information in the method signatures, if we do define them upfront and communicate to the consumers of the method (and of cause stick to that contract within the implementation) we are bound to improve stability and the quality of code in our applications.</description><link>http://mahasen.blogspot.com/2011/05/specification-of-method.html</link><author>noreply@blogger.com (Mahasen)</author><thr:total>0</thr:total></item></channel></rss>