<?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>.zugiart</title>
	<atom:link href="http://www.zugiart.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zugiart.com</link>
	<description>Software Engineering, buddhism, and everything else in between.</description>
	<lastBuildDate>Sat, 28 Aug 2010 14:06:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<script type="text/javascript">

if (typeof Meebo == 'undefined') {

Meebo=function(){(Meebo._=Meebo._||[]).push(arguments)};
(function(q){

	var args = arguments;
	if (!document.body) { return setTimeout(function(){ args.callee.apply(this, args) }, 100); }
	var d=document, b=d.body, m=b.insertBefore(d.createElement('div'), b.firstChild); s=d.createElement('script');
	m.id='meebo'; m.style.display='none'; m.innerHTML='<iframe id="meebo-iframe"></iframe>';
	s.src='http'+(q.https?'s':'')+'://'+(q.stage?'stage-':'')+'cim.meebo.com/cim/cim.php?network='+q.network;
	b.insertBefore(s, b.firstChild);

})({network:'zugiartcom_se64ra'});	}</script>	<item>
		<title>The Day Turned</title>
		<link>http://www.zugiart.com/2010/08/lethe-bashar-dead-the-day-turned/</link>
		<comments>http://www.zugiart.com/2010/08/lethe-bashar-dead-the-day-turned/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 13:47:43 +0000</pubDate>
		<dc:creator>zen</dc:creator>
				<category><![CDATA[art]]></category>
		<category><![CDATA[thoughts]]></category>
		<category><![CDATA[buddhism]]></category>
		<category><![CDATA[death]]></category>
		<category><![CDATA[life]]></category>

		<guid isPermaLink="false">http://www.zugiart.com/?p=1370</guid>
		<description><![CDATA[I knew @blogofinnocence by his alias Lethe Bashar. I&#8217;m most inspired by his style, his honesty in articulating and expressing his views and analysis in art and life. In our brief time we converse through blog posts, comments, and poetry (he is the one person who get me really interested in poetry, to be honest). [...]]]></description>
			<content:encoded><![CDATA[<p>I knew <a href="http://twitter.com/blogofinnocence">@blogofinnocence</a> by his alias <a href="http://www.theblogofinnocence.com/">Lethe Bashar</a>. I&#8217;m most inspired by his style, his honesty in articulating and expressing his views and analysis in art and life. In our brief time we converse through blog posts, comments, and poetry (he is the one person who get me really interested in poetry, to be honest). As he connects to other through art, I  connected to him through buddhism &#8211; it is a very invigorating experience.</p>
<p>In the past few months, I have been wondering where he&#8217;d gone because he is usually very active on the net. I was a little bit afraid that the darkness would consume him as I feel that it was in there from our exchange of thoughts, but because I never knew him at personal level, I never asked the question. He left me a message before saying he will respond to my latest comment, but never did.</p>
<p>Weeks passed, and today I received a DM from his twitter account &#8211; <a href="http://twitter.com/vinamist">@VinaMist</a> notified me that <em>Chris</em> (lethe&#8217;s real name) had passed away a month ago. I was just at Taste Of Melbourne, in rapture after savouring the myriad of beautiful food and wine in that place. To receive news of death at such a joyous occasion is a new experience to me.</p>
<p>To be honest I feel for him, not many people connects to others with that amount of sincerity. He connects to people through his work &#8211; I feel that had he not died, he would have contributed greatly to the world of literature. He invited me once to converse over Skype, I wished I had taken that opportunity while it was still knocking on my door. But such is life, I guess.</p>
<p>I don&#8217;t think that the news ruined the experience. I accept that this is the nature of things, that for every beginning there is an end. At the back of my mind I wanted to know, how did he passed away? But for me who is on the other side of the world, this would be a no-question. This would be like asking whether the Dailai Lama owned  a pair of jeans or not.</p>
<p>For those who have no means to find out, it is a no-question. I will never know. And so I let go of the question and appreciate what little is left.</p>
<p>Lethe, this will be my final poetry for you. May you rest in peace, my friend.</p>
<blockquote><p><span style="text-decoration: underline;"><strong>The Day Turned</strong></span></p></blockquote>
<blockquote><p>With eyes open I stepped outside;<br />
on the pond was the moon,<br />
reflected.</p></blockquote>
<blockquote><p>Darkness falls, the day is gone<br />
and the sun&#8217;s warmth in my heart,<br />
remembered.</p></blockquote>
<img style='display:none' id="post-1370-blankimage" onload="Meebo('discoverSharable', {element: ((this.parentNode.className.match('post')) ? this.parentNode : this.parentNode.parentNode) ,url:'http://www.zugiart.com/2010/08/lethe-bashar-dead-the-day-turned/',title:'The Day Turned',tweet:'I knew @blogofinnocence by his alias Lethe Bashar. I&#8217;m most inspired by his style, his honesty',description:'I knew @blogofinnocence by his alias Lethe Bashar. I&#8217;m most inspired by his style, his honesty'})"><script type='text/javascript'>document.getElementById("post-1370-blankimage").onload();</script>]]></content:encoded>
			<wfw:commentRss>http://www.zugiart.com/2010/08/lethe-bashar-dead-the-day-turned/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Handling Oracle cursors in JDBC</title>
		<link>http://www.zugiart.com/2010/08/handling-oracle-cursors-in-jdbc/</link>
		<comments>http://www.zugiart.com/2010/08/handling-oracle-cursors-in-jdbc/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 00:54:22 +0000</pubDate>
		<dc:creator>zen</dc:creator>
				<category><![CDATA[geeky]]></category>
		<category><![CDATA[cursor]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jdbc]]></category>
		<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://www.zugiart.com/2010/08/handling-oracle-cursors-in-jdbc/</guid>
		<description><![CDATA[Summary It is common practice for Oracle stored procedure to pass cursors to calling client. The client then needs to guarantee that the cursors are handled and closed properly, otherwise overtime the open cursor will accumulate into an ORA-1000 error (&#8220;ORA-1000 Maximum Number of Cursors Exceeded&#8221;) In Java world, cursor translates as ResultSet. In the [...]]]></description>
			<content:encoded><![CDATA[<h2>Summary</h2>
<p>It is common practice for Oracle stored procedure to pass cursors to calling client. The client then needs to guarantee that the cursors are handled and closed properly, otherwise overtime the open cursor will accumulate into an <a href="http://www.google.com.au/search?q=ORA-1000">ORA-1000</a> error (&#8220;ORA-1000 Maximum Number of Cursors Exceeded&#8221;)</p>
<p>In Java world, cursor translates as ResultSet. In the case where an open cursor is passed from a stored procedure to a Java code (over JDBC), the code must work with the ResultSet and not forget to close() it after it&#8217;s done with it. However, this is often overlooked, because when ResultSet is garbage collected, the close() is not called and as a result, the open cursor remains open in the Oracle server.</p>
<p>This fault is surprisingly common amidst Java programmer &#8211; and the reason is because inexperienced Java programmers are usually spoiled by Garbage Collection, and many of them failed to develop the strict habit of clearing resource after they are used.</p>
<p>Therefore, Java programmers should always remember to explicitly close() any resource that is explicitly open such as file, and in this case, Oracle database cursors (ResultSet).</p>
<h2>Example</h2>
<p>This is an example of stored procedure using cursor:</p>
<pre class="code" lang="sql">PROCEDURE A_PROC(P_1 IN VARCHAR2, P_OUT_VAL OUT SYS_REFCURSOR) IS
    -- body of execution ---
    OPEN P_OUT_VAL ...
    -- exception handling --
    EXCEPTION WHEN OTHERS THEN
    -- don't forget to close cursor here
END A_PROC;
</pre>
<p>on stored procedures that passes cursor to the client, it is important to first agree on the way cursors will be handled on exception cases. The best case is usually for the stored procedure to close all open cursor that it can close in the case of exception. In the case where open cursor is successfully passed, the Java/JDBC code need to handle it like so:</p>
<pre class="code" lang="java">CallableStatement cstmt = conn.prepareCall("SQL...");
ResultSet rs = null;
try {
   rs = // obtain result set here
}catch(Exception ex){
   // handle exception here
}
finally{
   // ensure result set (cursors) are closed
   rs.close();
   // ensure statement is closed here
   cstmt.close();
}
</pre>
<h2>Offline ResultSet</h2>
<p>What if you need to use the result set outside the context of the operation? Then use <a href="http://download-llnw.oracle.com/javase/6/docs/api/javax/sql/rowset/CachedRowSet.html">CachedRowSet</a> &#8211; Oracle provide a concrete implementation that will work fine, called OracleCachedRowSet. Like so:</p>
<pre class="code" lang="java">// this is where the live cursor is
ResultSet rs;
// define offline container &amp; populate it.
CachedRowSet crs = new OracleCachedRowSet();
crs.populate(rs);
</pre>
<p>But beware:</p>
<ul>
<li>ResultSet can be huge, CachedRowSet is convenient but beware of extracting too many data into the cached rowset. That cache lives in memory, don&#8217;t blow it out.</li>
<li>ResultSet resource lifecycle still need to be maintained as per usual, close if when you&#8217;ve done reading.</li>
</ul>
<h2>Corner case: Cursor Spike</h2>
<p>It is also possible to encounter ORA-1000 error when a JDBC Connection (Oracle Session) is shared amongst multiple thread of execution. A cursor limit is usually imposed on a given Session &#8211; sometimes it is possible that due to high usage of the shared session, the cursor &#8216;spikes&#8217; and exceeded this limit.</p>
<p>This will give a false impression and could cause database developers and JDBC developers to go round chasing the cause for days, while in fact it is not a code problem, but rather <em>session capacity / provisioning</em> problem.</p>
<p>The solution to this is to implement good logging in both end (JDBC &amp; DB side) to isolate the cause, working with DBAs to categorically record session usage and seeing patterns in which the session is being used.</p>
<p>The ideal solution is to control the Connection sharing via Connection Pools.</p>
<div class="zemanta-pixie"></div>
<img style='display:none' id="post-1339-blankimage" onload="Meebo('discoverSharable', {element: ((this.parentNode.className.match('post')) ? this.parentNode : this.parentNode.parentNode) ,url:'http://www.zugiart.com/2010/08/handling-oracle-cursors-in-jdbc/',title:'Handling Oracle cursors in JDBC',tweet:'Summary It is common practice for Oracle stored procedure to pass cursors to calling client. The cli',description:'Summary It is common practice for Oracle stored procedure to pass cursors to calling client. The cli'})"><script type='text/javascript'>document.getElementById("post-1339-blankimage").onload();</script>]]></content:encoded>
			<wfw:commentRss>http://www.zugiart.com/2010/08/handling-oracle-cursors-in-jdbc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Middle Way</title>
		<link>http://www.zugiart.com/2010/08/the-middle-way/</link>
		<comments>http://www.zugiart.com/2010/08/the-middle-way/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 13:41:32 +0000</pubDate>
		<dc:creator>zen</dc:creator>
				<category><![CDATA[thoughts]]></category>
		<category><![CDATA[buddhism]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[middle way]]></category>

		<guid isPermaLink="false">http://www.zugiart.com/2010/08/the-middle-way/</guid>
		<description><![CDATA[One can be lost in Samsara as much as the Dharma.There is a reason why Buddhism is called the Middle Way. The middle way is not found in the fanaticsIt is also not found in the ignorant and non-believers. The middle way is not for the lazyIt is also not found in overwork. The middle [...]]]></description>
			<content:encoded><![CDATA[<p>One can be lost in Samsara as much as the Dharma.<br />There is a reason why Buddhism is called the Middle Way. </p>
<p>The middle way is not found in the fanatics<br />It is also not found in the ignorant and non-believers. </p>
<p>The middle way is not for the lazy<br />It is also not found in overwork. </p>
<p>The middle way is more subtle<br />than the hint of sweetness in a strong black coffee. </p>
<p>It is unimaginably difficult to perceive. <br />yet for those who have seen it, it can&#8217;t not be seen again.</p>
<p>As Buddha say in the lotus Sutra<br />&#8220;The Door to enlightenment is difficult to perceive and impossible to attain&#8221;</p>
<p>It is only with constant practice, and determined effort <br />can one understand one&#8217;s true nature</p>
<p>And it is only through understanding of the one true nature<br />that the universe is subdued. </p>
<p>When this done, <br />The way that is no way <br />will be in full play. </p>
<img style='display:none' id="post-1336-blankimage" onload="Meebo('discoverSharable', {element: ((this.parentNode.className.match('post')) ? this.parentNode : this.parentNode.parentNode) ,url:'http://www.zugiart.com/2010/08/the-middle-way/',title:'The Middle Way',tweet:'One can be lost in Samsara as much as the Dharma.There is a reason why Buddhism is called the Middle',description:'One can be lost in Samsara as much as the Dharma.There is a reason why Buddhism is called the Middle'})"><script type='text/javascript'>document.getElementById("post-1336-blankimage").onload();</script>]]></content:encoded>
			<wfw:commentRss>http://www.zugiart.com/2010/08/the-middle-way/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Test post via my n900</title>
		<link>http://www.zugiart.com/2010/08/test-post-via-my-n900/</link>
		<comments>http://www.zugiart.com/2010/08/test-post-via-my-n900/#comments</comments>
		<pubDate>Mon, 09 Aug 2010 08:06:53 +0000</pubDate>
		<dc:creator>zen</dc:creator>
				<category><![CDATA[geeky]]></category>
		<category><![CDATA[thoughts]]></category>
		<category><![CDATA[n900]]></category>
		<category><![CDATA[notes]]></category>

		<guid isPermaLink="false">http://www.zugiart.com/2010/08/test-post-via-my-n900/</guid>
		<description><![CDATA[This is a test post using my nokia n900, let&#8217;s see how we go :p this is a very good way of capturing notes on the go. This is done through an application called MaStory. Seriously, is there anything this phone can&#8217;t do!? Btw I am gathering notes on n900 configuration. It will be one [...]]]></description>
			<content:encoded><![CDATA[<p>This is a test post using my nokia n900, let&#8217;s see how we go :p</p>
<p>this is a very good way of capturing notes on the go. This is done through an application called MaStory. Seriously, is there anything this phone can&#8217;t do!?</p>
<p>Btw I am gathering notes on n900 configuration. It will be one hell of a guide once it&#8217;s done. <img src='http://www.zugiart.com/main/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img style='display:none' id="post-1228-blankimage" onload="Meebo('discoverSharable', {element: ((this.parentNode.className.match('post')) ? this.parentNode : this.parentNode.parentNode) ,url:'http://www.zugiart.com/2010/08/test-post-via-my-n900/',title:'Test post via my n900',tweet:'This is a test post using my nokia n900, let&#8217;s see how we go :p this is a very good way of cap',description:'This is a test post using my nokia n900, let&#8217;s see how we go :p this is a very good way of cap'})"><script type='text/javascript'>document.getElementById("post-1228-blankimage").onload();</script>]]></content:encoded>
			<wfw:commentRss>http://www.zugiart.com/2010/08/test-post-via-my-n900/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Response to the essay of Lethe</title>
		<link>http://www.zugiart.com/2010/07/response-to-the-essay-of-lethe/</link>
		<comments>http://www.zugiart.com/2010/07/response-to-the-essay-of-lethe/#comments</comments>
		<pubDate>Sat, 17 Jul 2010 09:18:52 +0000</pubDate>
		<dc:creator>zen</dc:creator>
				<category><![CDATA[art]]></category>

		<guid isPermaLink="false">http://www.zugiart.com/?p=1183</guid>
		<description><![CDATA[Long response to the essay of Lethe Bashar, author of Blog of Innocence]]></description>
			<content:encoded><![CDATA[<p>Lethe, I wrote this in reply to your great essay,  I thoroughly enjoyed reading it. So here is my response, a long one. It doesn&#8217;t fit into the damn comment box, so here it is on my blog, grouped by the theme/topic I found throughout your essay.</p>
<h3>On art &amp; reframing of context</h3>
<p>I agree with you &#8211; art is not the invention of an object. Art is the expression that captures the perception of the artist towards that object at that moment. In doing so, the work is imbued with the artist&#8217;s life state. Such work leaves us in awe because the better the expression, the clearer/easier it is for us to EXPERIENCE that imbued life state.</p>
<p>In doing so, great work of art inspires.</p>
<h3>Reflecting on the narrative of Basquat</h3>
<blockquote><p>My immediate emotion after watching the film was sadness.<br />
How is it that a certain narrative comes to define a person&#8217;s life?</p></blockquote>
<p>This is the nature of all phenomena: From thought comes intent. From intent, action. From action, interaction. From interaction, causes are made. From causes, effect/impact on the world.</p>
<p>Simply, our life is our ultimate work of art. That Basquiat&#8217;s life inspires sadness is proof that his mind works in that plane. It is very sad indeed because it is unnecessarily so.</p>
<h3>Success, Fame and the price you pay.</h3>
<p>&#8220;Success breeds disappointment, because success and failure are two sides of the same coin&#8221; &#8211; I disagree with this. I think we are not disappointed by our failure, but rather by our expectation to succeed being unfulfilled.</p>
<p>Basquiat aspires to be famous. He works his ass off to be famous. I imagine that he expect that if he does so, fame will follow. And if fame arrives, happiness will, too. But what if success didn&#8217;t come as he wish it to be? What if he is not famous? Well, in this case, he does, but at what cost?</p>
<p>People who base their happiness and &#8220;success&#8221; on how many of these expectation will materialize will live very unhappy life. Because we don&#8217;t control every single event that happens around us. It is such a dangerous and subtle trap. it is like having a hole in your attic. From this hole came one mouse to steal your food. And from where one came, many will follow.</p>
<p>This is why you say from Fame comes Isolation, Impact on one&#8217;s character, beliefs and mindset and the terrible fate that awaits the successful artist who can not handle the weight of his own glory.</p>
<p>But the weight and devastation comes not from the fame. It comes from the subtle trap.</p>
<p>So here is a little bit of my buddhism dump. Hope you like it <img src='http://www.zugiart.com/main/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h3><strong>Cause and Effect<br />
</strong></h3>
<blockquote><p>Those who yearn for fame and success,<br />
believing it will bring them happiness<br />
is like an unlit candle who yearn to be<br />
the warmth and illumination in a cold dark room.</p>
<p>Warmth and illumination<br />
are simply by-products of FIRE.<br />
When the fire is alight,<br />
warmth and illumination will follow.</p>
<p>This is the law of cause and effect.<br />
It is very simply, plain common sense.<br />
So focus on the cause, not on the effect.<br />
and light the fire within.</p>
<p>In this way, come what may,<br />
success or no success,<br />
fame or no fame,<br />
acceptance or rejection,</p>
<p>The artist will retain his beauty.<br />
the work will retain his originality.<br />
and his life, his ultimate work of art,<br />
will be sublime.</p></blockquote>
<h3>Oh, and click play here:</h3>
<p><!--copy and paste--><object with="600" height="400"><param name="wmode" value="transparent"></param><param name="bgColor" value="#ffffff"></param><param name="flashvars" value="vu=http://video.ted.com/talks/dynamic/ElizabethGilbert_2009-medium.flv&#038;su=http://images.ted.com/images/ted/tedindex/embed-posters/ElizabethGilbert_2009.embed_thumbnail.jpg&#038;vw=432&#038;vh=240&#038;ap=0&#038;ti=453&#038;introDuration=15330&#038;adDuration=4000&#038;postAdDuration=830&#038;adKeys=talk=elizabeth_gilbert_on_genius;year=2009;theme=the_creative_spark;theme=speaking_at_ted2009;theme=words_about_words;event=TED2009;&#038;preAdTag=tconf.ted/embed;tile=1;sz=512x288;" /><embed src="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" pluginspace="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" bgColor="#ffffff" width="446" height="326" allowFullScreen="true" allowScriptAccess="always" flashvars="vu=http://video.ted.com/talks/dynamic/ElizabethGilbert_2009-medium.flv&#038;su=http://images.ted.com/images/ted/tedindex/embed-posters/ElizabethGilbert_2009.embed_thumbnail.jpg&#038;vw=432&#038;vh=240&#038;ap=0&#038;ti=453&#038;introDuration=15330&#038;adDuration=4000&#038;postAdDuration=830&#038;adKeys=talk=elizabeth_gilbert_on_genius;year=2009;theme=the_creative_spark;theme=speaking_at_ted2009;theme=words_about_words;event=TED2009;"></embed></object></p>
<img style='display:none' id="post-1183-blankimage" onload="Meebo('discoverSharable', {element: ((this.parentNode.className.match('post')) ? this.parentNode : this.parentNode.parentNode) ,url:'http://www.zugiart.com/2010/07/response-to-the-essay-of-lethe/',title:'Response to the essay of Lethe',tweet:'Lethe, I wrote this in reply to your great essay,  I thoroughly enjoyed reading it. So here is my r',description:'Lethe, I wrote this in reply to your great essay,  I thoroughly enjoyed reading it. So here is my r'})"><script type='text/javascript'>document.getElementById("post-1183-blankimage").onload();</script>]]></content:encoded>
			<wfw:commentRss>http://www.zugiart.com/2010/07/response-to-the-essay-of-lethe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debugging a remote java application with Eclipse</title>
		<link>http://www.zugiart.com/2010/07/debugging-a-remote-java-application-with-eclipse/</link>
		<comments>http://www.zugiart.com/2010/07/debugging-a-remote-java-application-with-eclipse/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 01:26:46 +0000</pubDate>
		<dc:creator>zen</dc:creator>
				<category><![CDATA[notes]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[remote]]></category>

		<guid isPermaLink="false">http://www.zugiart.com/2010/07/debugging-a-remote-java-application-with-eclipse/</guid>
		<description><![CDATA[You can remotely debug a java application by first starting it like below. java -Xdebug -Xrunjdwp:transport=dt_socket,address=8888,server=y .... Then, any decent IDE (such as Eclipse) with facility to remote debug a java application will be able to attach into the running process under the specified port (in this case, 8888). in Eclipse: Run &#62; debug configurations [...]]]></description>
			<content:encoded><![CDATA[<p>You can remotely debug a java application by first starting it like below.</p>

<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;">java -Xdebug -Xrunjdwp:transport=dt_socket,address=8888,server=y ....</pre></div></div>

<p>Then, any decent IDE (such as Eclipse) with facility to remote debug a java application will be able to attach into the running process under the specified port (in this case, 8888).</p>
<p>in Eclipse: </p>
<ul>
<li>Run &gt; debug configurations &gt; remote java application</li>
<li>Use standard (socket attach), specify the port</li>
<li>Attach the project source code</li>
<li>start debugging</li>
</ul>
<p>Not a netbeans fan so I don&#8217;t know how to work netbeans to do remote debug, but I imagine similar facility should be available.</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=e1fea1ab-653a-8df6-b199-8d417ff2e921" /></div>
<img style='display:none' id="post-1179-blankimage" onload="Meebo('discoverSharable', {element: ((this.parentNode.className.match('post')) ? this.parentNode : this.parentNode.parentNode) ,url:'http://www.zugiart.com/2010/07/debugging-a-remote-java-application-with-eclipse/',title:'Debugging a remote java application with Eclipse',tweet:'You can remotely debug a java application by first starting it like below. d25be2a27b94f203fda5ef4d3',description:'You can remotely debug a java application by first starting it like below. d25be2a27b94f203fda5ef4d3'})"><script type='text/javascript'>document.getElementById("post-1179-blankimage").onload();</script>]]></content:encoded>
			<wfw:commentRss>http://www.zugiart.com/2010/07/debugging-a-remote-java-application-with-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wept The Autumn Wind</title>
		<link>http://www.zugiart.com/2010/06/wept-the-autumn-wind/</link>
		<comments>http://www.zugiart.com/2010/06/wept-the-autumn-wind/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 23:14:46 +0000</pubDate>
		<dc:creator>zen</dc:creator>
				<category><![CDATA[art]]></category>
		<category><![CDATA[thoughts]]></category>

		<guid isPermaLink="false">http://www.zugiart.com/?p=1161</guid>
		<description><![CDATA[A poetry I wrote in response to one written by Lethe Bashar called 'The theatre is self-contained']]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" src="http://dsphotographic.com/g2/10366-3/Cherry+Blossoms+-+001.jpg" alt="" width="349" height="525" /></p>
<p>Wept  the Autumn Wind<br />
and all, hundred-thousand<br />
cherry blossom petals,<br />
rains  upon the ground.</p>
<p>In awe and admiration,<br />
I observe this change  of season.<br />
Oh, heavenly orchestration!<br />
How did you become?</p>
<p>My  own self dies<br />
as I realize<br />
the &#8220;I&#8221;<br />
that was never there</p>
<p>Beautiful  is<br />
the heart that appreciates,<br />
the eye that sees<br />
the world as  is.</p>
<p>-</p>
<p>written in response to one by Lethe Bashar called &#8216;<a href="http://www.theblogofinnocence.com/2010/06/theater-is-self-contained.html">The  theatre is self-contained</a>&#8216;. Note: tree image is found through  google, I didn&#8217;t take this picture.</p>
<img style='display:none' id="post-1161-blankimage" onload="Meebo('discoverSharable', {element: ((this.parentNode.className.match('post')) ? this.parentNode : this.parentNode.parentNode) ,url:'http://www.zugiart.com/2010/06/wept-the-autumn-wind/',title:'Wept The Autumn Wind',tweet:' Wept  the Autumn Wind and all, hundred-thousand cherry blossom petals, rains  upon the ground. In a',description:' Wept  the Autumn Wind and all, hundred-thousand cherry blossom petals, rains  upon the ground. In a'})"><script type='text/javascript'>document.getElementById("post-1161-blankimage").onload();</script>]]></content:encoded>
			<wfw:commentRss>http://www.zugiart.com/2010/06/wept-the-autumn-wind/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Ten Factors</title>
		<link>http://www.zugiart.com/2010/05/ten-factors-of-life/</link>
		<comments>http://www.zugiart.com/2010/05/ten-factors-of-life/#comments</comments>
		<pubDate>Wed, 26 May 2010 13:58:41 +0000</pubDate>
		<dc:creator>zen</dc:creator>
				<category><![CDATA[notes]]></category>

		<guid isPermaLink="false">http://www.zugiart.com/?p=1151</guid>
		<description><![CDATA[Essay on the 10 factors of life (10-nyoze) a model of representing a life condition according to Nichiren Buddhism]]></description>
			<content:encoded><![CDATA[<h2>Introduction</h2>
<p>The Ten Factors (10-nyoze)  is a model for conceptualizing the law of cause and effect as expounded by Gautama Buddha in the 2nd chapter of the Lotus Sutra. This note covers my study on understanding its meaning.</p>
<p>To me, to understand Cause and Effect is to understand the very fundamental aspect of this universe. There is not a single atom or particle in this world that does not interact with any other entity. If there is, then such an entity will be unknown to us.</p>
<h2>Lotus Sutra &#8211; Cause and Effect.</h2>
<p>The Lotus Sutra is the final sermon given by Gautama Buddha &#8211; unlike other Sutra who is preached by Buddha to answer a given problem, the Lotus Sutra seeks out to enlighten its audience to the ultimate truth. Lotus embodies Cause and Effect due to its nature &#8211; it blossoms and plant it seeds at the same time. This signifies that when a Cause is made, the Effect is <em>determined</em> at the same instant.</p>
<p>The law of cause and effect is NOT a system created by Gautama Buddha &#8211; he simply realizes it. And to this day, I have not found anything that defies this law.</p>
<h2>Ten Factors</h2>
<p style="text-align: center;"><img title="nichiren-sgi-buddhism-life10factor" src="http://www.zugiart.com/main/wp-content/uploads/2009/09/nichiren-sgi-buddhism-life10factor.png" alt="Nichiren, SGI, !0 Factors of Life" width="523" height="414" /></p>
<p>They are:</p>
<ol>
<li>Appearance: the external look that is seen by others, the physical aspect of our entity.</li>
<li>Nature: our temperament, likes and dislikes and so on &#8211; non-physical aspect of our entity.</li>
<li>Entity: a complete representation of our life as a being, a combination of (1) and (2).</li>
<li>Energy: the internal drive within that propels it to act.</li>
<li>Influence: the impact exerted by an entity as a result of the action taken</li>
<li>Internal Cause: Is the possibility inherent in our life</li>
<li>External Cause: Manifestation of that possibility through an action (thus creating a tangible cause)</li>
<li>Latent Effect: Is the effect of the causes made in (7) &#8211; that is still unmanifest</li>
<li>Manifest Effect: Is manifestation of (8) when it becomes tangible</li>
<li>Consistency from beginning to end: a consistent representation of 1-9 at any given moment, embodying the integrity of the law.</li>
</ol>
<h2>Elaboration through example</h2>
<h3>Character: Appearance, Nature, and Entity.</h3>
<p>let&#8217;s take a look at this picture (which I obtained from Google Images by querying: &#8216;kids playing&#8217;)</p>
<p><img src="http://bluemooncandles.files.wordpress.com/2009/06/kids_playing.jpg" alt="" width="630" height="486" /></p>
<p><strong>Appearance</strong> (1st factor) is simply the aspect of how one living being appears to other living being who can see/hear/feel it. Here, we can see many children holding hands and playing on a grassy playground, under a blue sky. The one on the left, wearing a red jumper, is smiling and appears to be very happy. This is appearance &#8211; very simple. But just by looking alone, can you tell his nature? Why is he wearing a red jumper, as opposed to a blue one? Why is he playing with others, as oppose to staying with his parents?</p>
<p>To understand this is to understand the boy&#8217;s <strong>Nature </strong>(2nd factor). Does the boy like to throw tantrum, or will he listen, respect, and learn from his parents? Does he likes playing in the outdoor, is he social, or is he more of the shy type, who shuns other and prefers the company of their parents? These are aspect of an entity that you can not perceive by just looking at them alone. True, some of us have the gift to perceive a lot of information from just the appearance, but this is why we have the term &#8220;appearance can be deceiving&#8221;.</p>
<p>Now if you have perceived the boy&#8217;s Appearance &#8211; and if you have spoken to the boy and understood his Nature, then it can be said that you have understood the boy&#8217;s <strong>Entity</strong> (3rd factor).</p>
<p>In summary: My head, my face, my body, by clothes, my glasses are some of the things that made up my appearance. My fashion taste is part of my nature that made me buy the clothes I am wearing today. My mood and preference is what made me wear those clothes today. So you can say that to understand these 2 factors is to understand my entity, or my character.</p>
<h3>Action: Energy, Influence</h3>
<p>Made up of the following factors: (4) energy, (5) influence</p>
<p>No living being can stop taking action. It is impossible to NOT take action, unless, you are dead. To hold your breath, or to breathe is an action. In fact, if you are facing a crisis and you decide that you don&#8217;t want to take any action &#8211; that in itself is an action!</p>
<p>We are not a puppet that is controlled and moved by something outside ourselves. We move our own body. We decide what we want to do and we do what we do.<strong> Energy </strong>(4th factor) is the fuel that drives a living entity to <em>live</em>. You can also call this <em>Free Will</em>.</p>
<p>When you act, you interact with the world. When you type, your hand touches the keyboard &#8211; when you take a glass, drank water, and put it down on the table, your hand interact with the glass, and the glass interacts with the table. This interaction causes things around you to change. In other words, your <strong>Action</strong>, carried as you are fuelled by the <strong>Energy</strong> within, have caused an <strong>Influence</strong> (5th factor) to the things around you.</p>
<p>Thus defines your existence in this world.</p>
<h3>Cause</h3>
<p>Imagine, for example, that you are born into a family with a history of being prone to a particular disease, such as cancer or high blood pressure (Scientist attributes such things to genes).</p>
<p>As you grew up, from a very young age you are raised in an environment that really provokes your interest in music. We can then say that such a person, at any given moment, have the possibility of developing cancer, as well as becoming a rock musician. This possibility is driven by our blueprints, as well as by our everyday life. This possibility is factor (6) &#8211; Internal Cause.</p>
<p>These internal cause affects our day to day action. If I have lived a life of negligence and ignorance, I would perhaps not worry about my health at all, and all the more reason to pursue a life of sex, drugs and rock and roll!!</p>
<p>This internal cause of negligence and ignorance would perhaps manifest itself in my decision to take a particular action of drowning myself in drinkin way more than I should drink in a day. But perhaps it would also increases my creativity, and thus my ability to produce better rock music.</p>
<p>When this possibility is manifest in an action, the external cause &#8211; factor (7) &#8211; is made. And when a cause is made, the effect will follow.</p>
<h3>Effect</h3>
<p>Let&#8217;s follow through from the example set in the section above (cause) . Obviously concerned friends and family members would gave sound advice to my over-drinking life, to take it easy and not drink so much. But the moment I decided that I don&#8217;t want to listen to them and I want to drink as much as I want to, when I want to, then the inherent effect (factor <img src='http://www.zugiart.com/main/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> is already made. No human can calculate what this inherent effect will be &#8211; if you can, then perhaps you have attained enlightenment (in which case, congrats!)</p>
<p>Perhaps one day my liver will blow, or perhaps I will get into an accident from drink-driving. All of this are inhenrent, they have not happened yet. But sooner or later it will &#8211; it is only a matter of time.</p>
<p>When the inherent effect DID manifest &#8211; then it is called the Manifest Event, which is factor number (9). At here, you can say that I have reaped the effect of the cause I have mad ein the past: a life full of over-drinking and not listening to sound advice from friends and family!</p>
<img style='display:none' id="post-1151-blankimage" onload="Meebo('discoverSharable', {element: ((this.parentNode.className.match('post')) ? this.parentNode : this.parentNode.parentNode) ,url:'http://www.zugiart.com/2010/05/ten-factors-of-life/',title:'The Ten Factors',tweet:'Introduction The Ten Factors (10-nyoze)  is a model for conceptualizing the law of cause and effect',description:'Introduction The Ten Factors (10-nyoze)  is a model for conceptualizing the law of cause and effect'})"><script type='text/javascript'>document.getElementById("post-1151-blankimage").onload();</script>]]></content:encoded>
			<wfw:commentRss>http://www.zugiart.com/2010/05/ten-factors-of-life/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Way of The General</title>
		<link>http://www.zugiart.com/2010/05/zhuge-liang/</link>
		<comments>http://www.zugiart.com/2010/05/zhuge-liang/#comments</comments>
		<pubDate>Mon, 17 May 2010 07:05:48 +0000</pubDate>
		<dc:creator>zen</dc:creator>
				<category><![CDATA[notes]]></category>
		<category><![CDATA[leadership]]></category>
		<category><![CDATA[strategy]]></category>
		<category><![CDATA[zhuge liang]]></category>

		<guid isPermaLink="false">http://www.zugiart.com/?p=1140</guid>
		<description><![CDATA[Studying the Way Of The Generals, by Zhuge Kong Ming and the principles behind his work.]]></description>
			<content:encoded><![CDATA[<h3>The Practice Of a Cultivated Man</h3>
<p>Is to refine himself by quietude,<br />
and develop virtue by frugality.<br />
Without detachment there is no way to clarify the will;<br />
without serenity there is no way to get far.</p>
<p>Talent requires study,<br />
study requires calm,<br />
Without study there is no way to expand talent,<br />
without calm there is no way to accomplish study.</p>
<p>If you laze, you cannot do thorough research;<br />
if you are impulsive, you cannot govern your nature.<br />
If your will is not strong,<br />
if your thought does not oppose injustice,</p>
<p>You will fritter away, your life stuck in the commonplace,<br />
silently submitting to the bonds of emotion,<br />
forever cowering before mediocrities,<br />
never escaping the downward flow.</p>
<p>Aspiration should remain lofty and far-sighted,<br />
look to the precedents of the wise;<br />
Be patient in tight situations as well as easy one,<br />
eliminate all pettiness!</p>
<p>Seek knowledge by questioning widely,<br />
set aside aversion and reluctance.</p>
<p>What loss is there in dignity,<br />
what worry is there of failure?</p>
<h3>Zhuge Liang and the essay</h3>
<p><img src="http://www.artoftheprint.com/jpegimages/kuniyoshi_ichiyasai_fulllengthportraitofanoblemanwithafan.jpg" alt="" width="250" height="396" /></p>
<blockquote><p>Wikipedia Entry:</p>
<p><strong>Zhuge Liang</strong> (<a title="Traditional Chinese characters" href="http://en.wikipedia.org/wiki/Traditional_Chinese_characters">traditional  Chinese</a>: <span lang="zh-Hant" xml:lang="zh-Hant"><a title="wikt:諸" href="http://en.wiktionary.org/wiki/%E8%AB%B8">諸</a><a title="wikt:葛" href="http://en.wiktionary.org/wiki/%E8%91%9B">葛</a><a title="wikt:亮" href="http://en.wiktionary.org/wiki/%E4%BA%AE">亮</a></span>; <a title="Simplified Chinese characters" href="http://en.wikipedia.org/wiki/Simplified_Chinese_characters">simplified  Chinese</a>: <span lang="zh-Hans" xml:lang="zh-Hans"><a title="wikt:诸" href="http://en.wiktionary.org/wiki/%E8%AF%B8">诸</a><a title="wikt:葛" href="http://en.wiktionary.org/wiki/%E8%91%9B">葛</a><a title="wikt:亮" href="http://en.wiktionary.org/wiki/%E4%BA%AE">亮</a></span>; <a title="Pinyin" href="http://en.wikipedia.org/wiki/Pinyin">pinyin</a>: <em><a title="wikt:Zhū" href="http://en.wiktionary.org/wiki/Zh%C5%AB">Zhū</a><a title="wikt:gě" href="http://en.wiktionary.org/wiki/g%C4%9B">gě</a> <a title="wikt:Liàng" href="http://en.wiktionary.org/wiki/Li%C3%A0ng">Liàng</a></em>,  181–234) was <a title="Chancellor of China" href="http://en.wikipedia.org/wiki/Chancellor_of_China">Chancellor</a> of <a title="Shu Han" href="http://en.wikipedia.org/wiki/Shu_Han">Shu Han</a> during the <a title="Three Kingdoms" href="http://en.wikipedia.org/wiki/Three_Kingdoms">Three Kingdoms</a> period of China. He is often  recognised as the greatest and most  accomplished strategist of his era.<sup id="cite_ref-jade_0-0"><a href="http://en.wikipedia.org/wiki/Zhuge_Liang#cite_note-jade-0"><span>[</span>1<span>]</span></a></sup></p>
<p>Often depicted wearing a robe and holding a fan made of crane   feathers,<sup id="cite_ref-c-har_1-0"><a href="http://en.wikipedia.org/wiki/Zhuge_Liang#cite_note-c-har-1"><span>[</span>2<span>]</span></a></sup> Zhuge was not only an important military strategist and statesman; he   was also an accomplished scholar and inventor. His reputation as an   intelligent and learned scholar grew even while he was living in   relative seclusion, earning him the nickname &#8220;Wòlóng&#8221; (臥龍, or &#8220;Sleeping   Dragon&#8221;).</p>
<p><a title="Zhuge" href="http://en.wikipedia.org/wiki/Zhuge">Zhuge</a> is an uncommon  two-character <a title="Chinese compound surname" href="http://en.wikipedia.org/wiki/Chinese_compound_surname">compound  family name</a>. His name –  even his surname alone – has become  synonymous with intelligence and  tactics in <a title="Chinese culture" href="http://en.wikipedia.org/wiki/Chinese_culture">Chinese culture</a>.</p></blockquote>
<p>The &#8216;poetry&#8217; above is an appendage of two letters that are sent out  by Zhuge Liang to his nephew and his son on his dying days (which I found in the intro to <a href="http://kongming.net/novel/writings/wotg/">The Way Of The Generals)</a></p>
<p>Combining  the two letters together and rearranging the sentences and prose, I  ended up with a poetry whose title is derived from the first line in the  letter,&#8217;the practice of a cultivated man&#8217;.</p>
<img style='display:none' id="post-1140-blankimage" onload="Meebo('discoverSharable', {element: ((this.parentNode.className.match('post')) ? this.parentNode : this.parentNode.parentNode) ,url:'http://www.zugiart.com/2010/05/zhuge-liang/',title:'The Way of The General',tweet:'The Practice Of a Cultivated Man Is to refine himself by quietude, and develop virtue by frugality. ',description:'The Practice Of a Cultivated Man Is to refine himself by quietude, and develop virtue by frugality. '})"><script type='text/javascript'>document.getElementById("post-1140-blankimage").onload();</script>]]></content:encoded>
			<wfw:commentRss>http://www.zugiart.com/2010/05/zhuge-liang/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>In Search Of Happiness</title>
		<link>http://www.zugiart.com/2010/04/in-search-of-happiness/</link>
		<comments>http://www.zugiart.com/2010/04/in-search-of-happiness/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 12:39:14 +0000</pubDate>
		<dc:creator>zen</dc:creator>
				<category><![CDATA[notes]]></category>

		<guid isPermaLink="false">http://www.zugiart.com/?p=1129</guid>
		<description><![CDATA[The six fundamental factor of attaining absolute happiness.]]></description>
			<content:encoded><![CDATA[<p>This is my notes on finding true happiness, which is the topic of discussion in SGI group discussion on 20 Aug 2009 in Cate’s place that I attended.</p>
<p>As usual, we started with chanting daimoku for 30 minutes, and then moved into Cate’s living room, sit around in circle, get cozy, nibble some chocolates and chips while sipping tea (A ritual I thoroughly enjoyed)</p>
<p>The discussion begins with talk of problems that affects our happiness in live, and with one case raised we all started to identify ourselves and a pattern seems to emerge: that true, lasting happiness is not determined by career, wealth, fame, and so on. Although it is agreed that these things contributes to make us happy they are not the primary determining factor.<br />
The question</p>
<blockquote><p>How can we attain true happiness, especially when we are not happy with our current life conditions?</p></blockquote>
<p>How can we be happy if our loved ones are suffering (whether that be your children, lovers, parents, or close friends). This discussion leads to the question : so what makes us truly happy? What are the key factors to finding true, lasting happiness?</p>
<h2>The 6 Foundation of Happiness</h2>
<p>I don’t know from which book this is, but I believe the message it is trying to convey is true. Tony took photocopy of 6 pages off this book and gave the copies to us for reading material.</p>
<p>The six foundations are:</p>
<ul>
<li>A sense of fulfillment</li>
<li>Posessing a profound philosophy</li>
<li>Holding fast to one&#8217;s conviction</li>
<li>A Positive view of life</li>
<li>Living with Courage</li>
<li>(and) Tolerance/Compassion</li>
</ul>
<p>Food for thought indeed. I will list the conditions here each under a sub section, with relevant paragraph (if not the whole section itself) quoted from the text.</p>
<h2>A sense of fulfillment</h2>
<blockquote><p>Where on earth is happiness found? How can we become happy? These are fundamental questions of life, and human beings are no doubt destined to pursue them eternally. The teaching of Buddhism, faith in the mystic Law, provide fundamental answers to these questions.</p>
<p>Ultimately, happiness rests on how we establish a solid sense of self or being. Happiness based on such externals as possessing a fine house or a good reputation is “relative happiness”. It is not a firm, unchanging “absolute happiness”. One can be in apparently the most fortunate circumstances, but if that persons feels only emptiness and pain, then he or she cannot be considered happy.</p>
<p>Some people live in truly splendid houses yet do nothing but fight in them. Some people work for famous companies and enjoy a prestige that many envy yet are always being shouted at by their superiors, left exhausted from the heavy workloads and rendered sick and weary of life.</p>
<p>Happiness does not lie in outward appearances nor in vanity, it is a matter of what you feel inside; it is a deep resonance in our lives. I would venture that the first condition for happiness is fulfilment.</p>
<p>To be filled each day with a rewarding sense of exhilaration and purpose, a sense of tasks accomplished and deep fulfilment – people who feel this way are happy. Those who have this sense of satisfaction even if they are extremely busy are much happier than those who have free time on their hands but feel empty inside.</p></blockquote>
<p>Note: This passage is the whole untouched section, it is so good I feel that I must note the whole thing as is.</p>
<h2>Possessing a profound philosophy</h2>
<p>Posessing a profound philosophy and living it, to me, is to walk the path of Buddhism. In doing so contentment, balance and peace is found, while at the same time contributing great value to the people around you.</p>
<blockquote><p>Gongyo (chanting) is a solemn ceremony in which we are at a dialogue with the universe. Doing Gongyo (chanting) in the morning represent the dawn, the start of a new day, in our lives. It is the sun rising, it gives us a profound sense of contentment in the depths of our being that nothing can surpass. Even on this point alone we are truly fortunate.</p>
<p>In addition, each of you (in SGI) is striving to do your best in your job or other responsibilities and to win in all areas of life while using your spare time to study the Law, work for people’s happiness and for the welfare of the society.</p>
<p>In this Latter Day of the Law teeming with perverse individuals, you are exerting yourselves energtically, often amid many hardships and obstacles, chanting for other’s happiness, travelling long distances to talk with friends and show them warm concern and understanding.</p>
<p>You are truly Bodhisattvas. There is no nobler life, no life based on a loftier philosophy. Each of you is translating this unsurpassed philosophy into action. To possess a philosophy of such profound value is itself the greatest fortune.</p>
<p>Accordingly, the second condition for happiness is possessing such a profound philosophy.</p></blockquote>
<h2>Holding fast to one’s convictions</h2>
<blockquote><p>We live in an age in which people can no longer clearly distinguish what is right or wrong, good or evil. This is a global trend. If things continue in this way, humanity is destined for chaos and moral decay. In the midst of such times, you uphold a teaching and way of life of profound philosophy: the teaching of Nichiren Daishonin’s buddhism.</p>
<p>In the “Opening of th Eyes” the Daishonin writes: “This I will state. Let the gods forsake me. Let all persecutions assail me. Still I will give my life for the sake of the Law” (WND-I,280).  In this same gosho, he instructs his believers not to be swayed by temptations or threats (distractions) however great – such as being offered the rulership of Japan or being told that one’s parents will be beheaded.</p>
<p>The important thing is to hold on resolutely to one’s convictions, come what may, just as the Daishonin teaches. People who possess such unwavering conviction are definitely on the path of attaining true happiness.</p></blockquote>
<p>A note to avoid misinterpretation, ‘giving your life for the sake of the law’ does not mean to forsake everything you have and uphold the Law only. To do that, in fact, would be to forsake the Law itself.</p>
<p>What this passage means is to possess strong conviction on the Law and to embody that spirit in our character. It is through this that our eyes can be opened and see the values and teaching in this ‘lofty philosophy’ (IMO that’s why the Gosho is titled, ‘The opening of the eyes’) – through it we will be able to attain other foundations of happiness: a positive spirit, courage and tolerance.</p>
<h2>A positivie view of life</h2>
<blockquote><p>Those who are always complaining and grumbling make not only themselves but everyone else around them miserable and unhappy.</p>
<p>By contrast, those who always live positively and filled with enthusiasm, who possess a cheerful and sunny disposition that lifts the spirits and brightens the hearts of all they meet are not only happy themselves bu6 are a source of hope and inspiration for others.</p>
<p>Such individuals can view even a scolding by a loved one (such as spouse or partner) as sweet music to their ears – to be able to view events such as this on a positive light cultivates wisdom and cheerfulness that accompanies such attitude, leading to happiness.</p>
<p>To regard everything in a positive light or with a spirit of goodwill, however, does not mean being foolishly gullible and allowing people to take advantage of your good nature. It means having wisdom and perception to actually move things in a positive direction by seeing things in their best light, while all the time keeping our eyes firmly focused on reality.</p>
<p>Faith and the teachings of Buddhism enable us to develop that kind of character. The acquisition of such character is a priceless treasure surpassing any other (material) possesion.</p></blockquote>
<h2>Courage and Tolerance</h2>
<blockquote><p>Courageous people can overcome anything. The cowardly, on the other hand, because of their lack of courage, fail to savour the true, profound joys of life. This is truly unfortunate.</p>
<p>Those who are tolerant and broad-minded can make people feel comfortable and at ease. Narrow and intolerant people who berate others for the slightest thing, or who make a great commotion each time some problem arises, just exhaust everyone and inspire fear.</p>
<p>Leaders must not intimidate or exhaust others. They must be tolerant and have a warm approachability that makes people feel relaxed and comfortable. Not only are those who possess a heart as wide as the ocean happy themselves, but all those around them are happy too.</p></blockquote>
<p>Courage and Tolerance is the fifth and sixth condition of attaining true happiness.</p>
<p>Note that “leaders” here does not means only people who are in management / leadership position, but I believe it also refers to people who are leading a life of leadership / possessing a leading character.</p>
<p>These individuals usually attains leadership role within their circle (work, life) but might not be so. However, these people are the ones who are there making a difference, day by day. Courage is the primary ingredient of a leading character – but to be able to lead well, tolerance is very important. In attaining both we can forge ourselves a very fine leading character.</p>
<p>If life is a journey of a ship in the sea, a leading character must be like having a steering wheel on a very strong ship that you can use to control the direction of your vessel. Jack Sparrow (of the Pirates Of the Carribean movie) remarked that the Black Pearl represents freedom. I say that ultimately, a leading character manifests a very fortunate side effect in our life – freedom to live and control our destiny. In it, surely, happiness will be found!</p>
<h2>Concluding remark</h2>
<p>This is a very huge topic, and one that took us 2 meetings to complete.</p>
<p>But the teaching being discussed here is very profound, and in a way it is a model that you can use to measure yourself – how far am I from attaining a life of true, absolute happiness?</p>
<img style='display:none' id="post-1129-blankimage" onload="Meebo('discoverSharable', {element: ((this.parentNode.className.match('post')) ? this.parentNode : this.parentNode.parentNode) ,url:'http://www.zugiart.com/2010/04/in-search-of-happiness/',title:'In Search Of Happiness',tweet:'This is my notes on finding true happiness, which is the topic of discussion in SGI group discussion',description:'This is my notes on finding true happiness, which is the topic of discussion in SGI group discussion'})"><script type='text/javascript'>document.getElementById("post-1129-blankimage").onload();</script>]]></content:encoded>
			<wfw:commentRss>http://www.zugiart.com/2010/04/in-search-of-happiness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
