skip to main |
skip to sidebar
RSS Feeds
Nope. nothing .. just some random thoughts come to my mind ...
Nope. nothing .. just some random thoughts come to my mind ...
6:54 PM | Sunday, January 3, 2016
Posted by harshadura

5:25 PM | Tuesday, April 30, 2013
Posted by harshadura
There are three main families of free software licenses:
> permissive, weak copyleft and strong copyleft.
Permissive licenses (MIT, BSD and Apache in your list) allow use of
your code in proprietary projects without sharing back either their code
or your code, if they modified it.
Weak copyleft licenses (LGPL, MPL in your list) allow use of your
code in proprietary projects, but they should share back your code under
the same license if they modified it.
Strong copyleft licenses (GPL) require that they distribute their own code under the same license (GPL here).
Free and Open Source software doesnt need to be distrbuted for Free
Understand the concept like this: Think of “free speech”, not “free beer” ("Free" means "Freedom" not "Zero Cost")
The word “free” has two legitimate general meanings; it can refer
either to freedom or to price. When we speak of “free software”,
we're talking about freedom, not price. (Think of “free speech”,
not “free beer”.) Specifically, it means that a user is free to run
the program, change the program, and redistribute the program with or
without changes.
References:
10:39 PM | Tuesday, March 5, 2013
Posted by harshadura
12:29 PM | Tuesday, February 5, 2013
Posted by harshadura

1:42 PM | Sunday, February 3, 2013
Posted by harshadura
mvn clean install -DskipTests" command to skip the junit test cases. First time you need to build with test cases so you need to use the "mvn clean install" command.8:18 AM | Friday, December 21, 2012
Posted by harshadura
The most important fact Google Summer of Code taught me is the value of Open Source. And the value developing of Open Source software for the world, for the sake of people who lives on it. Open Source is simply altruism. For whom we code like this? Not for anyone, Just for the well being of ourselves. Simple as that! I was worked for OpenMRS in last summer at GSoC. So the programs I have contributed may be using in actual hospitals, clinics some day. People may love those program. They may get the maximum use out of it. But still those software's are Free. Not commercial ones. Worth Millions but my Organization OpenMRS giving the Software for Free. See how awesome it is. For the sake of humanity, for the sake of entire world that invaluable software giving for free!
I totally love this concept by now, So I am trying to get involve with Open Source as much as I can. (even at my office time breaks i tend to do it.) Do whatever you can, They dont ask donations or other support. Just simple workforce can effect a lot value for the Community.
Being an Open Source enthusiast, Last week I have attended for an Open Source Event Organized by Computer Engineering faculty of University of Peradeniya, Kandy, Sri Lanka.
7:52 AM | Monday, December 17, 2012
Posted by harshadura


8:32 AM | Tuesday, October 23, 2012
Posted by harshadura


------------------------------------------------- Ralapanawa.Mobile.Module - README ------------------------------------------------- Android Derivative of the Ralapanawa Centralized Web Service Released Under: MIT License 2012 Harsha Siriwardena @authors: harshadura, dewmal Download App from Google Play Market: https://play.google.com/store/apps/details?id=org.ralapanawa.mobile.android For more info visit project blog: http://www.ralapanawa.org/

1:39 PM | Sunday, August 19, 2012
Posted by harshadura


11:03 PM | Friday, May 25, 2012
Posted by harshadura
9:37 AM | Saturday, January 14, 2012
Posted by harshadura
හරි අපි මේ මහා පුණයකර්මය ආරම්භ කරන්නයි යන්නෙ..
වැඩේ ගැන ඔයා තවම හරියට දැනුවත් නැත්තම් මේක මුලින් කියවල එන්න.
මම දැන් කියන්නම් මේ වැඩේ අපි කරං යන විදිය ගැන..
අපි දැන් මේ සෙට් කරල තීන විදියට වෙබ් බේස්ඩ් Document එකක් තීන්නෙ..
ඒ නිසා ඕනි වෙලාවක ඕනිම කෙනෙක්ට සැරෙන් සැරේට උනත් ඇවිත් වචන කීපයක් ලියල දායක වෙන්න පුලුවන්
[01] Document එක ගැන..
-----------------------------
මේක Programming languages වල නිතර වෙනස් වෙන Values දාලා තියෙන Document එකක්.. ඒකට සාමානයෙන් කියන්නෙ Property File 1ක් කියලයි.
ඔය කියන Property Files වල තීන්නෙ කොටස් 2යි. එකක් Key එක, අනික Value එක ඒ දෙක වෙන් වෙන්නෙ සමාන ලකුණකින්. key එක තමයි කෝඩ් එකෙ Variables ව්ලදි පාවිච්චි කරන්නෙ.. ඒ නිසා ආයි පස්සෙ කාලෙකදි ලේබල් එකෙ නම වෙනස් කරනවනම් Value එකෙ වෙනස් කරාම හරිනෙ. ඔන්න ඕකයි Property file එහෙක තියෙන වාසිය.
උදා:
key=value
user.code=User Name
pass.code=Password
මෙන්න මේ වගේ ගොඩාරියක් එකතු වෙලා තමයි Property file 1ක් හැදෙන්නෙ.
හරි දැන් මට කියන්න ඕනි මේකයි.
අපි Java Code එකක් ගහනකොට තිතයි කොමාව, බ්රැකට් මේන්ටේන් කරන්න ඕනිනෙ හරියට. නැත්තම් පස්සෙ ලෙඩ දෙනවානෙ.. ඒවගේම තමයි මේකෙත්. Property File එකක් තීන්න ඕනි විදියට තිබ්බෙ නැත්තම් ආයි ලෙඩ දෙනව. ඒක නිසා අපි පුලුවන් තරම් හරිම ක්රමේට කරන්න බැලුවොත් ලේසිවෙයි ලෙඩ අඩුකරගන්න.
Property files වලදි Single Line comment කරන්න පුලුවන් # ලකුණින්.
ඒ කියන්නෙ
උදා:
Navigation.home = නිවස
#Navigation.home = Home
මේකෙ Home කියන එක කොමෙන්ට් එකක්.
හරි ක්රමේ.
Navigation.home = නිවස
#Navigation.home = Home
වැරදි ක්රමේ.
Navigation.home = නිවස #Navigation.home = Home
උඩ තීන විදිය වැරදිය. මොකො Propert file එහෙක සමාන ලකුණ එහා පැත්තෙන් තීන ඔක්කොම ඌ Value එකට ගන්නව. තව ඔය පෙරලි කොමා උදා: ["ටෙස්ට්"], තනි කොමා උදා: ['ටෙස්ට්'] දැමීමෙනුත් වැඩේ කෙලවෙනව..
ඒව දාන්නෙ නැතුව වැඩේ කරන්න මහන්සි ගන්න.
[2] Comment දැමීම අනිවාර්යයි.
-----------------------------------
මම් කලින් කිව්ව නේද Property Files වල Comment දාන විදිය ගැන. ඔව් # එක ඊලට පේලියෙ තියල තමයි. මේ වැඩේ කරන්න ඕනි මොකද පස්සෙ Recheck කරද්දි මට බලාගන්න පුලුවන්නෙ මේ ලියල තීන සිංහල පරිවර්තනය කලින් තිබිච්ච ඉංග්රීසි වචනෙත් එක්කහරියට පරිවර්තනය වීමක් සිදු වෙලාද කියල. ඒක නිසා පරිවර්තනය කරන්න කලින් අර තිබිච්ච එක කොමෙන්ට් කරල යටට දාන්න.
මෙන්න මේ වගෙ..
කලින් තියෙන්නෙ මේ වගෙ
forgotPassword.title=OpenMRS - Forgot Password
පරිවර්තනයෙන් පසුව
forgotPassword.title=OpenMRS - මුරපදය අමතක වුනා
#forgotPassword.title=OpenMRS - Forgot Password
කොමෙන්ට් කරපු ඉංග්රීසි වචනෙ තීන පේලියයි, පරිවර්තනය කරපු පේලියයි වෙන් කරන්න හොදට ඉඩ කඩ තියන්න Enter එකෙන් ඔබල මෙන්න මේ වගෙ. එතකොට පැහැදිලිනෙ හුගක්.
#index.title=OpenMRS - Home
index.title=OpenMRS -නිවස
#login.title=OpenMRS - Login
login.title=OpenMRS - ඇතුලුවීම
#forgotPassword.title=OpenMRS - Forgot Passwordක්
forgotPassword.title=OpenMRS - මුරපදය අමතක වුනා
[3] Parameters සමග එකගොඩේ ලිවීමේදි උපදෙස්
---------------------------------------------------
general.displayingXtoYofZ=Displaying {0} to {1} of {2}
මෙවැනි වචනයක් පරිවර්තනය කරද්දි ගොඩක් ප්රවේසම් වෙන්න ඕනි.
මොකද ඔය {} දාල තීන්නෙ Parameters වගයක් Code එකෙන් පාස් කරන.
Java වල Command line arguments වගෙ සීන් එකක්.. ඒ නිසා ඕව කපන්නෙ නැතුව ගැලපෙන තැන් වලට සෙට් කර කර හදන්න.
මෙන්න මේ වගෙ
#general.displayingXtoYofZ=Displaying {0} to {1} of {2}
general.displayingXtoYofZ=දැන් පෙන්වන්නේ {0} සිට {1} දක්වා {2} මෙයයි
[4] HTML Tags තියෙ නම් එහෙමම තියන්න. කලින් අර Parameters සීන් එක විදියටම ක්රියාත්මක වන්න.
උදා :
#general.notYetImplemented=<font color='red'>Not Yet Implemented</font>
general.notYetImplemented=<font color='red'>මෙය තාම යොදාගෙන නැහැ</font>
---------------------------------------
දැනට නම් මට මෙච්චරයි විශේෂයෙන් සදහන් කරන්න දේවල් තීන්නෙ.. මොනා හරි අවුල් තැනක් තිබ්බොත් මට කියන්න. නැත්තම් මැසේජ් එකක් දාන්න..
සිංහලෙන් කොටන්න දන්නෙ නැති අයට
--------------------------------------------
RSinglish තමයි මං යූස් කරන Tool එකෙ නම. තව ඒව ගොඩක් තීනව.
මොනා හරි කමක් නෑ සිංහල යුනිකෝඩ් වලින් ටයිප් වෙන්නයි ඕනි.
Rsinglish වෙබ් අඩවිය : [http://www.madurax86.com/rsinglish]
මේක නම් හෙන ලේසි පාවිච්චි කරන්න.
මේකෙන් අපි ලියනවත් එක්කම සිංහලෙන් කොටන්න පුලුවන්.
Scroll Lock එකෙන් තමයි සිංහල/ඉංග්රීසි switch වෙන්නෙ..
මුලින් මේක Download කරගෙන Install කරගන්න.
ඊට පස්සෙ Scroll eka එක ඔබල මොනා හරි කොටන්න. ඔයාට පෙනේවි සිංහල අකුරු.
ආයි ඉංග්රීසියට මාරු වෙන්න ආයි Scroll lock එක ඔබන්න. වැඩේ හෙන ලෙසි.
ඔයාට "අම්මා" කියල ටයිප් කරන්න ඕනි නම් Keyboard එකෙ "amma" කියල ටයිප් කරාම හරි.
Notes.
බිංදුව එන්නෙ q එකෙන්. තව Shift එකෙන් දීර්ග ඇලපිලි ආදිය පුලුවන්.
ටයිප් කරන ආකාර ගැන වැඩි විස්තර සදහා [http://www.madurax86.com/rsinglish] බලන්න.
----------------------------
සිංහලයට පරිවර්තනය කරද්දි පුලුවන් තරම් ලංකාවෙ තොරතුරු තාක්ෂණයට නඹුරු වෙච්ච වචන භාවිත කරන්න උත්සුක වෙනවානම් වටිනව.
පලමු අදියර විදියට මම වචන 500 List එකක් Web Based Document එහෙක දාල තීනව. මේක Web based Collaborative Writing Tool එකක්.. ඒ නිසා Online කීප දෙනෙක්ට එක සැරේ උනත් මේ Document එක Edit කරන්න පුලුවනි.
ටිකක් ඈතින් ඈතින් ඔයා ටයිප් කරගෙන යන්න.. කොහොමත් අනික් කෙනා ටයිප් කරන දේ පෙනෙන නිසා ලොකු ගැටුලුවක් මතු වෙයි කියල මම හිතන්නෙ නැහැ.
හරි එහෙනම් අපි වැඩේ පටන් ගමු!
6:41 PM | Friday, January 13, 2012
Posted by harshadura
4:00 PM | Saturday, October 8, 2011
Posted by harshadura
This is a Project which I have done with few of my colleagues specifically for SLIIT ITP Subject.
I have open sourced the Full source Code at github and rest of the project gonna Open sourced at Sourceforge FOSS home.
I am really thankful to Roshan Ayya, Dr. Dikaz Sheriff at Western Hospital, Colombo for giving lots of helps to make this Product a Success.
The ripen is a lil intro on whats it? and how it works.
visit the official project web portal to see more.thx

8:47 PM | Wednesday, September 28, 2011
Posted by harshadura
Here is my latest project. Its a Credit Management System using JavaSE.
For this project I have used Jasper IReports for the reporting part. And other look and feel components as well.
Full free open source coding can be found in git :
https://github.com/harshadura/