<?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>Tue, 17 Jan 2012 04:56:47 +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>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>
		<item>
		<title>Encoding Password using MD5 or SHA in java</title>
		<link>http://blog.basantathapa.com.np/2011/05/encoding-password-using-md5-or-sha-in-java/</link>
		<comments>http://blog.basantathapa.com.np/2011/05/encoding-password-using-md5-or-sha-in-java/#comments</comments>
		<pubDate>Mon, 09 May 2011 06:11:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://blog.basantathapa.com.np/?p=152</guid>
		<description><![CDATA[You may be wondering how to encode plain text password and save it on DB so that if somebody authorized person(like manager, admin) wants to see your password from his/her account or even directly on DB then that person shouldn&#8217;t get any username&#8217;s password then you can use following techniques to encrypt/encode password using MD5/SHA [...]]]></description>
			<content:encoded><![CDATA[<p>You may be wondering how to encode plain text password and save it on DB so that if somebody authorized person(like manager, admin) wants to see your password from his/her account or even directly on DB then that person shouldn&#8217;t get any username&#8217;s password then you can use following techniques to encrypt/encode password using MD5/SHA in Java. This is just a once way encoding technique. For comparing the user&#8217;s password again you need to encode the password submitted by user and compare it with the value stored in Database and can authenticate the user.</p>
<pre>
import java.security.*;

public class MD5
{
public static void main(String[] args) throws Exception
{

String password=  md5("useThisAsASalt" + args[0]);
System.out.println(password);
}

public static String md5(String str) throws Exception
{
StringBuilder sb = new StringBuilder();
for (byte b : md5(str.getBytes()))
sb.append(Integer.toHexString(0x100 + (b &amp; 0xff)).substring(1));
return sb.toString();
}

public static byte[] md5(byte[] data) throws Exception
{
//MessageDigest md5 = MessageDigest.getInstance("MD5");
//md5.update(data);
//return md5.digest();
MessageDigest sha = MessageDigest.getInstance("SHA");
sha.update(data);
return sha.digest();

}
}
</pre>
<p>In the above code, i have also used the concept of salt (i saw it being implemented in spring-security). The concept of salt is to reduce password guessing as we will be having hard-coded string appended with the password, which reduces the chances of password guessing.</p>
<p>Hope this helps you in doing some encoding in Java for passwords.</p>
<p>Keep up the good works!!!!!.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.basantathapa.com.np/2011/05/encoding-password-using-md5-or-sha-in-java/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>“Solving problem: Better and Quicker approach”</title>
		<link>http://blog.basantathapa.com.np/2011/05/%e2%80%9csolving-problem-better-and-quicker-approach%e2%80%9d/</link>
		<comments>http://blog.basantathapa.com.np/2011/05/%e2%80%9csolving-problem-better-and-quicker-approach%e2%80%9d/#comments</comments>
		<pubDate>Mon, 02 May 2011 06:12:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Guest Post]]></category>
		<category><![CDATA[guest post]]></category>

		<guid isPermaLink="false">http://blog.basantathapa.com.np/?p=147</guid>
		<description><![CDATA[Author: Sudan Gautam (Guest Post) Last week I was meandering around my locality, to the places that I had never been. I was trying to expose myself to the positive randomness and take advantage of it. To my surprise, I found the first day very exciting as I came up with a thought that left [...]]]></description>
			<content:encoded><![CDATA[<p>Author: <a title="Sudan Gautam" href="http://www.facebook.com/sudan.gautam" target="_blank">Sudan Gautam</a> (Guest Post)</p>
<p>Last week I was meandering around my locality, to the places that I had never been. I was trying to expose myself to the positive randomness and take advantage of it. To my surprise, I found the first day very exciting as I came up with a thought that left me to think and research more on it. I am not sure how many of you might have realized that when we try to solve our problem we get stuck on it. We hardly come up with the solutions that make us feel proud. While on the other hand when someone else has got a problem and asks us for a help we quickly find out solutions and surprisingly those ideas are far better than what we could have imagined. Why is it so?</p>
<p>Is it because we don’t take much concern about ourselves as much as we do to others? OR Is it because we get more freedom to think and find solutions for others comparative to ourselves? OR Is it because we perform better when we try to impress someone else who matters to us? OR Is it just a psychological phenomenon that I was unaware of?<br />
When we are better to solve someone else problem, shouldn’t we think about solving our problem in the same manner? After much thought on it, I came up with these strategies which might be helpful for you too.</p>
<p>1.	Share your problem with your tribe rather than wasting your time thinking on it. You will realize that a problem shared is problem half solved. When someone else can come up with better solutions and within a short span of time why waste your time thinking over it? (Think but don&#8217;t overdo it).</p>
<p>2.	What if your tribe can’t help and you are the only one who is bound to find out the solution within a given deadline? Don’t worry there is a way. Try doing that particular task as if you were doing for your loved ones or someone who matters you a lot.  I have realized this many times that when I am doing her assignment my focus is too sharp and the solutions are far better than I could imagine. It won’t be as easy as said. In the beginning you will struggle to set up this mind frame and solve the problem but with practice you will start enjoying it.</p>
<p><strong> Bonus Tips:</strong> Personally I think about the problem while taking my shower or while I am cooking or washing my dishes. I quickly jot down those random but helpful ideas on my sticky pad or notepad for the future purposes.</p>
<p>Now it’s your turn. What do you do to get your problem solved? Do you have a different but better approach? Please share so that we could give it a try. Remember: Sharing is caring…..</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.basantathapa.com.np/2011/05/%e2%80%9csolving-problem-better-and-quicker-approach%e2%80%9d/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

