<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Basanta Thapa&#039;s Blog</title>
	<atom:link href="http://blog.basantathapa.com.np/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.basantathapa.com.np</link>
	<description>Mabimal (Expect The Unexpected) &#039;s Web log</description>
	<lastBuildDate>Sat, 28 Apr 2012 01:33:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>JavaSE 7 Certification</title>
		<link>http://blog.basantathapa.com.np/2012/04/javase-7-certification/</link>
		<comments>http://blog.basantathapa.com.np/2012/04/javase-7-certification/#comments</comments>
		<pubDate>Sat, 28 Apr 2012 01:33:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Awareness]]></category>

		<guid isPermaLink="false">http://blog.basantathapa.com.np/?p=195</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://player.vimeo.com/video/40159458" width="400" height="300" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.basantathapa.com.np/2012/04/javase-7-certification/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java Passes references by value</title>
		<link>http://blog.basantathapa.com.np/2012/03/java-passes-references-by-value/</link>
		<comments>http://blog.basantathapa.com.np/2012/03/java-passes-references-by-value/#comments</comments>
		<pubDate>Thu, 01 Mar 2012 11:26:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Nice and Copied Stuffs]]></category>

		<guid isPermaLink="false">http://blog.basantathapa.com.np/?p=187</guid>
		<description><![CDATA[How does Java pass arguments into a method? The short answer is “by value,” but the details are subtle. Recall that in C, C++, and other languages you can choose to pass either a “value” or to “pass a pointer to a value”. The first option is called “pass-by-value.” The second option is called “pass-by-reference.” [...]]]></description>
			<content:encoded><![CDATA[<p>How does Java pass arguments into a method?  The short answer is “by value,” but the details are subtle.  Recall that in C, C++, and other languages you can choose to pass either a “value” or to “pass a pointer to a value”.  The first option is called “pass-by-value.”  The second option is called “pass-by-reference.”  In Java, primitive variables are always passed by value.  In other words, a copy of the variable is passed into the method.  In other words, if you make a change to the variable within the method, then that change is not visible anywhere else.  For example, suppose we have</p>
<pre>

double d = 2.0;

changeMe(d);

System.out.println(d);     //prints 2.0
</pre>
<p>The printed value will be 2.0 no matter what happens inside the method changeMe.</p>
<pre>
public void changeMe(double d)

{

//this has no effect on d outside of this method!

d = 345.0;

}
</pre>
<p>On the other hand, Java objects appear to be passed by reference, but it’s a ruse.  All Java objects are pointers (we just don’t have to use the annoying pointer symbol * when we create them), so the pointer gets passed by value (oooh, subtle).  For example, suppose I create an object called Car that has methods called setSpeed() and getSpeed().</p>
<pre>
Car ferrari = new Car();

ferrari.setSpeed(65.0);

changeParameters(ferrari);

System.out.println(“The speed = “+ferrari.getSpeed());
</pre>
<p>So what gets printed out?  That depends on what happens inside the changeParameters method.  Suppose</p>
<pre>
public void changeParameters(Car c)

{

//changes the car’s speed outside this method!

c.setSpeed(200.0);

}
</pre>
<p>Then the code prints out 200.0.  Why?  Because the ferrari was a pointer to the object Car.  The ferrari got passed by value into the method.  So a copy of the pointer got passed into the method.  But a copy of a pointer still points to the same object, the ferrari!  So changes to the ferrari in the method are felt outside the method as well.</p>
<p>Here is one more subtlety.  Suppose we have</p>
<pre>
public void changeCar(Car c)

{

Car chevy = new Car();

//does not affect c outside this method

c = chevy;

}
</pre>
<p>And now we call</p>
<pre>

Car ferrari = new Car();

changeCar(ferrari);
</pre>
<p>Is the original ferrari object now a chevy (outside of the method)?  No!  Inside of changeCar we changed the original pointer to be a new pointer.  But the original pointer was passed by value, so changing the pointer within the method has no impact on the original pointer outside of the method.</p>
<p>Phew!</p>
<p>For those who doubt J, try the following code.  Recall that arrays are pointers in Java.  First let’s show that either a pointer or a copy of the pointer must be passed into a method.  We’ll resolve which one in a minute. (The next example shows that it is actually a copy.)</p>
<pre>
public class Example

{

public static void main(String[] args)

{

//”test” is a pointer.

int[] test = {1, 2, 3, 4};

//The original hex value of the pointer

System.out.println(test);

//Let’s pass test’s pointer into a method.

//The method changes some array values.

Example e = new Example();

e.modifyArray(test);

//This prints out “9 2 3 4”, not “1 2 3 4”

for(int i=0; i

{

System.out.print(test[i]+”  “);

}

}

public void modifyArray(int[] a)

{

a[0] = 9;

//Because “a” is a pointer to the array

//called “test”, this changes the first

//element of “test”.

}

}
</pre>
<p>See?  We passed in a pointer to the array, and then used that pointer to modify an element in the array. (But it was really a copy of the pointer!  See below.)</p>
<p>The following code shows that a copy of the array’s pointer is passed into a method.</p>
<pre>

public class Example

{

public static void main(String[] args)

{

//”test” is a pointer.

int[] test = {1, 2, 3, 4};

//The original hex value of the pointer

System.out.println(“test’s pointer: “+test);

//Let’s pass test’s pointer into a method.

//The method attempts to change test’s //pointer.

Example e = new Example();

e.modifyPointer(test);

//The method failed to change the pointer!

System.out.println(“test’s pointer: “+);

//This prints out “1 2 3 4”, not “9 9 9 9”

for(int i=0; i

{

System.out.print(test[i]+” “);

}

}

public void modifyPointer(int[] a)

{

//“b” is a new pointer.

int[] b = {9, 9, 9, 9};

//The hex value of b’s pointer

System.out.println(“b’s pointer: “+b);

//”a” now points to the same thing as “b”.

a = b;

//The hex value of a’s pointer

System.out.println(“a’s pointer: “+a);

//But this affects nothing outside the

//method. “test” does not point to “b”!

//Only “a” points to “b”.

}

}
</pre>
<p>If the actual pointer had been passed into the method, then “test” should have been changed to point to “b”.   That didn’t happen!</p>
<p>source : <a href="http://academic.regis.edu/dbahr/GeneralPages/IntroToProgramming/JavaPassByValue.htm">http://academic.regis.edu/dbahr/GeneralPages/IntroToProgramming/JavaPassByValue.htm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.basantathapa.com.np/2012/03/java-passes-references-by-value/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installer for Java Desktop App</title>
		<link>http://blog.basantathapa.com.np/2012/01/installer-for-java-desktop-app/</link>
		<comments>http://blog.basantathapa.com.np/2012/01/installer-for-java-desktop-app/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 04:55:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[installers]]></category>

		<guid isPermaLink="false">http://blog.basantathapa.com.np/?p=183</guid>
		<description><![CDATA[Java is a superb language. I have loved it ever since I wrote &#8220;Hello World&#8221; in it. My love for it increased even more when I put up a dialog of username and password using JDialog. Later I found Java has a big ecosystem on its own. Java SE, the core, Swing, Applet, Servlet, JSP, [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Java is a superb language. I have loved it ever since I wrote &#8220;Hello World&#8221; in it. My love for it increased even more when I put up a dialog of username and password using JDialog. Later I found Java has a big ecosystem on its own. Java SE, the core, Swing, Applet, Servlet, JSP, JSF, JMS, JavaMail, EJB and it continues. Each topic mentioned in the previous sentence can have a 500+ pages book.</p>
<p style="text-align: justify;">I have had the experience of desktop development, delivered applications as a JAR to clients, but still one thing that I would love to have is &#8220;Installer for Java Desktop Application&#8221;. Yes I found lots of them, among them Izpack along with launch4J is a wonderful combination. NSIS, JSmooth, EXEWrapper and all others are wonderful on their own but they all have a high learning curve. For understanding NSIS, one need to understand the NSIS&#8217;s style of scripts and for Izpack you need to know it&#8217;s XML structure and compilation issues. Despite the availability of the Installers and all being open source I am not comfortable with those installers. Is it because they have a some learning curve or Is it because the installers like things should have been provided by the language itself. Offcourse if I will be needing one, I should design one but question on my mind (Like the one facebook asks <img src='http://blog.basantathapa.com.np/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  me everytime ) is shouldn&#8217;t Oracle (previously SUN) have provided these things by default. What I found is beginners are having hell lots of problems with that. There are no good tutorials/blogs and official posts for any Installer related things from the company on it&#8217;s own. Why is that? In my opinion, introducing those things and having good articles/tutorials on these things would lure the beginners into Java world. These are the things that are not very convincing and because of these difficulties, many adapt the other. Why would a beginner trouble himself moving into Java if s/he can get easily with Visual Studio  (Though there is Netbeans a java alternative for Visual Studio, I am a big fan of it ever since it&#8217;s 4.0 release) for example.</p>
<p style="text-align: justify;">I wonder how Java/JavaSE7 installer itself is created. If you have the answer to this please write it in comments, I would love to see it. In my opinion, in an installer, basically there should be basic things like</p>
<ul style="text-align: justify;">
<li>Serial Key Generation technique for unique installation.</li>
<li>Prevention to the application if it&#8217;s copied to another device (it should be done by the application itself).</li>
<li>Providing Demo version for lets say we can open 50 times the application for Demo purpose, after reaching this, we should ask the serial key and continue with full feature.</li>
<li>Embedded DB installation, for making commercial application.</li>
<li>And the validation for the user inputs during installation.</li>
</ul>
<p style="text-align: justify;">in an installer.</p>
<p style="text-align: justify;">Netbeans Platform a very powerful rich client platform for JavaSE based on swing is a cool thing. I am going through it, but even though, it creates installers, there seems no tutorials/blogs for creating custom installer through Netbeans Platform 7.1.  I would love to see this article if there are any (If you know, please share). Will let you know if I found any special during my research and study by utilizing my free time. Thank you for now. <img src='http://blog.basantathapa.com.np/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.basantathapa.com.np/2012/01/installer-for-java-desktop-app/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Important Links for Learning Netbeans Platform</title>
		<link>http://blog.basantathapa.com.np/2011/12/important-links-for-learning-netbeans-platform/</link>
		<comments>http://blog.basantathapa.com.np/2011/12/important-links-for-learning-netbeans-platform/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 08:55:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Development Tools/Techonolgy]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Netbeans Platform]]></category>

		<guid isPermaLink="false">http://blog.basantathapa.com.np/?p=181</guid>
		<description><![CDATA[Recently I have gone through Netbeans Platform yet again after a long time. Though I have gone through it about a year ago it became a new technology for me. I again have to go through scratch, but the best part of it is that we can build installers of Java application starting Netbeans Platform [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I have gone through Netbeans Platform yet again after a long time. Though I have gone through it about a year ago it became a new technology for me. I again have to go through scratch, but the best part of it is that we can build installers of Java application starting Netbeans Platform 7.0. I have collected some important links for learning Netbeans Platform as follows.</p>
<p>Links for learning Netbeans Platform<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p><a href="http://mrtextminer.wordpress.com/2011/05/22/crud-netbeans-platform-application-with-embedded-javadb/" target="_blank">http://mrtextminer.wordpress.com/2011/05/22/crud-netbeans-platform-application-with-embedded-javadb/</a></p>
<p><a href="http://extremejava.tpk.com.br/2009/03/27/netbeans-platform-jpa-derby-embedded/" target="_blank">http://extremejava.tpk.com.br/2009/03/27/netbeans-platform-jpa-derby-embedded/</a></p>
<p><a href="http://netbeans.dzone.com/including-jre-in-nbi" target="_blank">http://netbeans.dzone.com/including-jre-in-nbi</a></p>
<p><a href="http://blogs.oracle.com/geertjan/entry/customizing_the_netbeans_platform_installer" target="_blank">http://blogs.oracle.com/geertjan/entry/customizing_the_netbeans_platform_installer</a></p>
<p><a href="http://platform.netbeans.org/tutorials/nbm-crud.html">http://platform.netbeans.org/tutorials/nbm-crud.html</a></p>
<p><a href="http://nb-platform.blogspot.com/">http://nb-platform.blogspot.com/</a></p>
<p><a href="http://blogs.oracle.com/geertjan/entry/debugging_the_netbeans_platform">http://blogs.oracle.com/geertjan/entry/debugging_the_netbeans_platform</a></p>
<p><a href="http://blogs.oracle.com/geertjan/entry/embedded_database_for_netbeans_platform">http://blogs.oracle.com/geertjan/entry/embedded_database_for_netbeans_platform</a></p>
<p><a href="http://netbeans.dzone.com/10-tips-4-porting-2-netbeans">http://netbeans.dzone.com/10-tips-4-porting-2-netbeans</a></p>
<p><a href="http://developmentality.wordpress.com/2010/04/01/netbeans-platform-lessons-learnedgotchas-part-1/" target="_blank">http://developmentality.wordpress.com/2010/04/01/netbeans-platform-lessons-learnedgotchas-part-1/</a></p>
<p><a href="http://wiki.netbeans.org/NetBeansDeveloperFAQ" target="_blank">http://wiki.netbeans.org/NetBeansDeveloperFAQ</a></p>
<p><a href="http://blogs.oracle.com/geertjan/entry/how_to_create_an_action" target="_blank">http://blogs.oracle.com/geertjan/entry/how_to_create_an_action</a></p>
<p>Please feel free to share other links if possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.basantathapa.com.np/2011/12/important-links-for-learning-netbeans-platform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Motivational Factors</title>
		<link>http://blog.basantathapa.com.np/2011/08/motivational-factors/</link>
		<comments>http://blog.basantathapa.com.np/2011/08/motivational-factors/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 11:08:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Awareness]]></category>

		<guid isPermaLink="false">http://blog.basantathapa.com.np/?p=178</guid>
		<description><![CDATA[What are the motivational factors?]]></description>
			<content:encoded><![CDATA[<p>What are the motivational factors?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.basantathapa.com.np/2011/08/motivational-factors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nepal Income Tax Rates for Individuals</title>
		<link>http://blog.basantathapa.com.np/2011/07/nepal-income-tax-rates-for-individuals/</link>
		<comments>http://blog.basantathapa.com.np/2011/07/nepal-income-tax-rates-for-individuals/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 04:43:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Economics]]></category>
		<category><![CDATA[tax rate]]></category>

		<guid isPermaLink="false">http://blog.basantathapa.com.np/?p=176</guid>
		<description><![CDATA[Nepal individual income tax rates are progressive to 25%. Tax exemption limit is Rs.160,000 for individuals and Rs.200,000 for couples: Tax rates for resident individuals Income (Rs.)                 Tax Rate 0 &#8211; 160,000                         1% 160,001 &#8211; 260,000          15% (+ Rs. 1,600) Above Rs. 260,000          25% [...]]]></description>
			<content:encoded><![CDATA[<p>Nepal individual income tax rates are progressive to <strong>25%</strong>. Tax exemption limit is Rs.160,000 for individuals and Rs.200,000 for couples:</p>
<p><strong>Tax rates for resident individuals</strong><br />
<strong>Income (Rs.)                 Tax Rate<br />
</strong>0 &#8211; 160,000                         1%<br />
160,001 &#8211; 260,000          15% (+ Rs. 1,600)<br />
Above Rs. 260,000          25% (+ Rs. 16,600)</p>
<p><strong>Tax rates for Married (including widow &amp; widower)</strong><br />
<strong>Income (Rs.)                 Tax Rate</strong><br />
0 &#8211; 200,000                    1%<br />
200,001 &#8211; 300,000          15% (+ Rs. 2,000)<br />
Above Rs. 300,000          25% (+ Rs. 17,000)</p>
<p><strong>Tax rates for Proprietorship Firm &#8211; single<br />
Income (Rs.)                 Tax Rate</strong><br />
0 &#8211; 160,000                         0%<br />
160,001 &#8211; 260,000          15%<br />
Above Rs. 260,000          25% (20% for Export Income and Income from Special Industry) + Rs. 15,000</p>
<p><strong>Tax rates for Proprietorship Firm &#8211; married<br />
Income (Rs.)                 Tax Rate</strong><br />
0 &#8211; 200,000                          0%<br />
200,001 &#8211; 300,000          15%<br />
Above Rs. 300,000          25% (20% for Export Income and Income from Special Industry) + Rs. 15,000</p>
<p>Having only Business Income with Annual Turnover up to Rs 20 Lacs and Annual Income up to Rs. 2 Lacs<br />
- In the Metropolitan or Sub Metropolitan Cities Rs. 5000<br />
- In the Municipalities Rs. 2500<br />
- In the rest of Nepal Rs. 1500</p>
<p>For further details: <a href="http://www.taxrates.cc/html/nepal-tax-rates.html">http://www.taxrates.cc/html/nepal-tax-rates.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.basantathapa.com.np/2011/07/nepal-income-tax-rates-for-individuals/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>+1 for google plus</title>
		<link>http://blog.basantathapa.com.np/2011/07/1-for-google-plus/</link>
		<comments>http://blog.basantathapa.com.np/2011/07/1-for-google-plus/#comments</comments>
		<pubDate>Wed, 13 Jul 2011 04:51:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Social Network]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[google plus]]></category>
		<category><![CDATA[social network]]></category>

		<guid isPermaLink="false">http://blog.basantathapa.com.np/?p=171</guid>
		<description><![CDATA[Today we cannot ignore the fact that social networking is an integral part of life as we almost everyone are using it at least once a day. The benefit of it, are all in front of us. We are using it, sharing our thoughts, posting minute details on it. Even an hourly activity update can [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Today we cannot ignore the fact that social networking is an integral part of life as we almost everyone are using it at least once a day. The benefit of it, are all in front of us. We are using it, sharing our thoughts, posting minute details on it. Even an hourly activity update can be seen in the social networking sites like facebook.  If we concentrate on facebook then facebook has been treated as marriage broker, follow up for criminal acts, it has connected the missing friends, it has produced joy for the parents looking their child’s picture/videos abroad, it has been used as the prime source for the latest notification for the events around you and lots more. The greatest disadvantage that it has for me is on every link/notification it distracts me from the thing I am doing. For example, let’s say I am commenting on a photo of my friend then one notification pops up, I will click on it then I will be on a different page, and on the new page I will be going through all the comments and add one new comment, during this I may forget the thing I left (i.e. I was about to comment on the picture before notification). This is a great distraction and time consuming as well.</p>
<p style="text-align: justify;">Google plus has minimized the level of distraction so well, we can even comment on the notification area, that’s a wonderful feature for me as I often get distracted easily moving on different page. Google+ has a video chat feature, known as hangouts, in which up to ten people can be included in a video call. With a G+ account, you get unlimited photo storage on Picasa, instead of the 1GB storage you get without a G+ account. Unlike Facebook, there are no advertisements displayed over Google&#8217;s social network site, making the load time faster and overall keeping Google+ users from getting confused.</p>
<p style="text-align: justify;">All these features and the entry of Google <strong>plus</strong> in the social networking area, suddenly makes the feature of facebook looks vulnerable. We all have lots and lots of friends added to facebook already, you may want to remove unwanted friends or just remove the one you have not met. Doing the manual task of removing the friends over a long list is really a waste of time. For this google+ might be a social reboot as well.</p>
<p style="text-align: justify;">In conclusion I have a +1 for google plus, though I will be using facebook in parallel for some definite period of time. For now it’s still under invitation based signup, but it is said that within a month it’s going public without invitation. You may try it out on the direct link <a href="https://plus.google.com" target="_blank">https://plus.google.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.basantathapa.com.np/2011/07/1-for-google-plus/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Method Size Limit in Java</title>
		<link>http://blog.basantathapa.com.np/2011/06/method-size-limit-in-java/</link>
		<comments>http://blog.basantathapa.com.np/2011/06/method-size-limit-in-java/#comments</comments>
		<pubDate>Wed, 15 Jun 2011 10:47:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Nice and Copied Stuffs]]></category>

		<guid isPermaLink="false">http://blog.basantathapa.com.np/?p=163</guid>
		<description><![CDATA[Though i have been handling error/exceptions on JAVA for about 5 years now from the day i started &#8220;Hello World!!!&#8221;, I never knew that there is a limit in JAVA for size of the method. And I never  got into a situation like &#8220;Code too large to compile&#8221; which is not a simple message rather [...]]]></description>
			<content:encoded><![CDATA[<div>
<p style="text-align: justify;">Though i have been handling error/exceptions on JAVA for about 5 years now from the day i started &#8220;Hello World!!!&#8221;, I never knew that there is a limit in JAVA for size of the method. And I never  got into a situation like &#8220;Code too large to compile&#8221; which is not a simple message rather its a compilation error in Java when you exceed the size limit of the method. Glad to read the <a title="Link" href="http://eblog.chrononsystems.com/method-size-limit-in-java">link</a> , it added more on my knowledge in Java.</p>
<p><strong>Java has a 64k limit on the size of methods.</strong></p>
<p style="text-align: justify;">I bet this is the least faced error/exception by any Java programmer. But though we face it or not IMHO this is a good point that Java put limit on the size of the method because if a single method would go beyond 64K limit then there would be minimal difference between a procedural and OO language and hence hard to maintain. Methods need to be very specific and solving only some dedicated tasks and you can imagine when it&#8217;s size goes beyond 64K, it goes towards generic concept. It&#8217;s my opinion but if you want to add your opinion then you are most welcome.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.basantathapa.com.np/2011/06/method-size-limit-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Five ways to motivate your development team.</title>
		<link>http://blog.basantathapa.com.np/2011/06/five-ways-to-motivate-your-development-team/</link>
		<comments>http://blog.basantathapa.com.np/2011/06/five-ways-to-motivate-your-development-team/#comments</comments>
		<pubDate>Tue, 07 Jun 2011 03:33:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Awareness]]></category>
		<category><![CDATA[Motivation]]></category>
		<category><![CDATA[Nice and Copied Stuffs]]></category>
		<category><![CDATA[development team]]></category>
		<category><![CDATA[motivation]]></category>

		<guid isPermaLink="false">http://blog.basantathapa.com.np/?p=160</guid>
		<description><![CDATA[It&#8217;s always a challenge keeping a team of application developers motivated. But if you want to bring that big project in on time, motivated is what your developers and programmers have to be. So how do you do it? How do you keep that development team of yours excited and engaged in their work? Silly [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s always a challenge keeping a team of application developers motivated. But if you want to bring that big project in on time, motivated is what your developers and programmers have to be. So how do you do it? How do you keep that development team of yours excited and engaged in their work?</p>
<p>Silly squeeze ball gifts, a free lunch on a sunny afternoon or allowing someone to leave early on a Friday isn’t going to keep the team motivated. Such gestures create goodwill and are important for maintaining a positive workplace environment. But keeping developers eager and excited about programming takes a little more than that. Here are five things you should think about doing:</p>
<p><strong>1. Give your developers the resources they need.</strong></p>
<p>If you’re paying your developers $100,000 salaries, why let them develop on machines that have 486 microprocessors in them? You can get a quad-core computer with four gigs of RAM in it for about four hundred bucks these days. Every developer complains that their software is slow, but they’ll be much more forgiving of a slow environment if they know their getting supported on the hardware side.</p>
<p><strong>2. Recognize a job well done<br />
</strong>Praise works wonders. Ego is an underestimated motivating factor. When milestones are hit and users are happy with the latest increment, recognize the work of the development team and make that recognition public so everyone knows who is responsible for the success.</p>
<p><strong>3. Get rid of dead wood<br />
</strong>When someone on the team is not producing, you have to get rid of them. On a long project, the determining factor of how fast a team can produce code is usually dictated by the person that is producing the least. Do not let a slacker determine where the low-water mark is in terms of production.</p>
<p><strong>4. Push for new software releases<br />
</strong>Programmers want to be developing in Java 7, not a seven year old version of Java. Knowing that they are using the latest technology is often motivation in itself for developers to stay late, learn something new, and apply new knowledge. Working on old software versions makes developers feel like they are getting rusty. Risk aversion always makes management reluctant to move to the newest release, but at the very least, a development team should know that the project manager is fighting to get the latest and greatest tools and technologies into the mix.</p>
<p><strong>5. Let developers develop<br />
</strong>Communicate, but don’t over communicate. Too often project managers who are insecure about their capabilities schedule too many meetings in an effort to &#8220;keep on top of things.&#8221; Eight developers in a room for an hour talking about nothing in particular is a full man-day of production lost. Communication is important, but over-communicating is wasteful. Schedule those meetings sparingly.</p>
<p>If you want to bring your projects in on time, you need to keep your developers motivated and enthusiastic about what they’re doing. These five tips will help you keep your team engaged, and help you to bring those tough and challenging projects in on time.</p>
<p>Source:<a href="http://www.theserverside.com/tip/Five-ways-to-motivate-your-development-team"> http://www.theserverside.com/tip/Five-ways-to-motivate-your-development-team</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.basantathapa.com.np/2011/06/five-ways-to-motivate-your-development-team/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Consider these while working from home.</title>
		<link>http://blog.basantathapa.com.np/2011/05/consider-these-while-working-from-home/</link>
		<comments>http://blog.basantathapa.com.np/2011/05/consider-these-while-working-from-home/#comments</comments>
		<pubDate>Fri, 27 May 2011 09:27:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Awareness]]></category>
		<category><![CDATA[Opinion]]></category>
		<category><![CDATA[best_articles]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[inspiration]]></category>
		<category><![CDATA[opinion]]></category>

		<guid isPermaLink="false">http://blog.basantathapa.com.np/?p=156</guid>
		<description><![CDATA[Here are some tips on how to stay focused as you move through the workday, while still enjoying all the unique benefits of working at home. 1. Respect Your Own Time When you work at an office, family and friends seem to naturally respect your schedule. But when you’re working from home, you’ll inevitably get [...]]]></description>
			<content:encoded><![CDATA[<p>Here are some tips on how to stay focused as you move through the workday, while still enjoying all the unique benefits of working at home.</p>
<hr size="1" /><strong>1. Respect Your Own Time</strong><strong> </strong></p>
<hr size="1" />When you work at an office, family and friends seem to naturally respect your schedule. But when you’re working from home, you’ll inevitably get calls at 11:00 a.m. or be expected to handle the daily errands. I’m not saying you shouldn’t wait for the cable appointment or chat on the phone, but be mindful of how easy it is to have time ripped from your workday.</p>
<p>It’s important to set boundaries, if needed. People will respect your schedule, only if you respect it first.</p>
<hr size="1" /><strong>2. Impose Time Limits on Specific Tasks</strong><strong> </strong></p>
<hr size="1" />It’s easy to become distracted, particularly when dealing with a task that’s challenging or a bit dull. If you find yourself losing focus, tell yourself to dedicate just 15 more minutes to the task on hand. Knowing there’s an end in sight might inject new energy into the project. And if not, move on to something else and return to it when you’re in a better mindset.</p>
<hr size="1" /><strong>3. Set Strict Deadlines</strong><strong> </strong></p>
<hr size="1" />Ever wonder why you’re ultra productive when facing a tight deadline, while a simple task can take hours to complete? You might chalk this up to working well under pressure, but it could also be <a href="http://en.wikipedia.org/wiki/Parkinson%27s_Law" target="_blank">Parkinsons Law</a>, which basically states that a task will expand to fill the time you can give it. Combat this phenomenon by imposing your own deadlines for specific tasks. These can be as complicated as finishing a proposal or as simple as responding to a client email.</p>
<hr size="1" /><strong>4. Log Off for “Power Productivity” Hours</strong><strong> </strong></p>
<hr size="1" />Digital distractions aren’t just limited to <a href="http://mashable.com/category/facebook/">Facebook</a> and <a href="http://mashable.com/category/youtube/">YouTube</a>. For most, the daily barrage of emails and IMs from friends and colleagues ends up being the day’s biggest time sink. If you’re stuck in your inbox, dedicate chunks of the day when you unplug from your phone and email to get work done. You can log back on afterward and power through the necessary responses.</p>
<hr size="1" /><strong>5. Delineate Your Workspace</strong><strong> </strong></p>
<hr size="2" />Ideally you can have an area dedicated as your office (and preferably with a door so you can shut out unwanted distractions). Creating boundaries not only helps you be more productive &#8220;at work,&#8221; but also helps you decompress during your personal time.</p>
<hr size="1" /><strong>6. Slowing Down? Change Your Environment</strong><strong> </strong></p>
<hr size="1" />If you find yourself stuck (and you’ve already tried the “just 15 more minutes” tactic), change your environment. Go work at the café for an hour, or brainstorm at the park. A change in scenery can spark new ideas and give you newfound focus.</p>
<hr size="1" /><strong>7. Conduct a Time Audit</strong><strong> </strong></p>
<hr size="1" />Ever finish up the day and wonder where your time went? If you’re self-employed, it’s important to understand exactly how you’re using your time. Every so often, conduct a detailed audit of your day and keep track of what you did and how long it took. These audits can reveal great insights into your daily workflow and can help you make adjustments where needed — whether it’s getting help for your bookkeeping, dropping an overly demanding client, or condensing multiple trips to the grocery store.</p>
<hr size="1" /><strong>8. Create Task Lists</strong><strong> </strong></p>
<hr size="1" />I tend to have multiple lists running at any given time. One list keeps track of longer term goals (for example, the projects I need to complete by the end of the week or month). Then each morning I also create a focused outline for the day’s tasks. Try to keep your daily list as realistic and uncluttered as possible. Nothing can sap your motivation like staring at an overly ambitious list full of items you can’t possibly complete.</p>
<hr size="1" /><strong>9. Make Your Breaks Count</strong><strong> </strong></p>
<hr size="1" />Whether you’re working at home or in the office, it’s not possible to stay focused for hours on end. Breaks are an integral part of the workday, but make sure your free time counts. Have you ever denied yourself a trip to the gym or lunch with a friend “because you’re too busy?”</p>
<p>Chances are that on that very same day, you spent well over an hour browsing eBay, watching TV, looking at Facebook, checking your online bank account, or organizing your medicine cabinet. Busy work doesn’t accomplish anything and won’t recharge your batteries. So take your dog for a hike, take an actual lunch, or do whatever you enjoy. You’ll not only end up being happier, but more productive as well.</p>
<p>Source: <a href="http://mashable.com/2011/05/26/work-from-home-productivity/">http://mashable.com/2011/05/26/work-from-home-productivity/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.basantathapa.com.np/2011/05/consider-these-while-working-from-home/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

