<?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>HollyGhozi &#187; Programming</title>
	<atom:link href="http://hollyghozi.com/index.php/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://hollyghozi.com</link>
	<description>is another Javanese Indonesian fellow blog</description>
	<lastBuildDate>Mon, 12 Dec 2011 01:52:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>LD_ASSUME_KERNEL to set thread library that will be used by JVM</title>
		<link>http://hollyghozi.com/index.php/2009/07/ld_assume_kernel-to-set-thread-library-that-will-be-used-by-jvm/</link>
		<comments>http://hollyghozi.com/index.php/2009/07/ld_assume_kernel-to-set-thread-library-that-will-be-used-by-jvm/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 16:16:48 +0000</pubDate>
		<dc:creator>hollyghozi</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://hollyghozi.com/?p=181</guid>
		<description><![CDATA[My first aquintance with this environment variables when I was installing Oracle 9i. The notes that written by Werner Puschitz is my oracle installation guidance, back on my early days. Now, I&#8217;ve to deal with the same environment variable again. As a reminder to myself, the LD_ASSUME_KERNEL should be set as: # Set the LD_ASSUME_KERNEL [...]]]></description>
			<content:encoded><![CDATA[<p>My first aquintance with this environment variables when I was installing Oracle 9i. The notes that written by <a href="http://www.puschitz.com/InstallingOracle9i.shtml">Werner Puschitz</a> is my oracle installation guidance, back on my early days. Now, I&#8217;ve to deal with the same environment variable again.</p>
<p>As a reminder to myself, the LD_ASSUME_KERNEL should be set as:<br />
<code># Set the LD_ASSUME_KERNEL environment variable only for Red Hat 9,<br />
# RHEL AS 3, and RHEL AS 4 !!<br />
# Use the "Linuxthreads with floating stacks" implementation instead of NPTL:<br />
export LD_ASSUME_KERNEL=2.4.1    # for RH 9 and RHEL AS 3<br />
export LD_ASSUME_KERNEL=export LD_ASSUME_KERNEL=2.4.19   # for RHEL AS 4</code><br />
Honestly, I don&#8217;t know why we have to set differently between RH9 &#038; RHEL AS 3 vs RHEL AS 4. I&#8217;ll do it anyway.</p>
<p>As I read from the <a href="http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/release-notes/as-x86/">Red Hat Release Notes</a>, it says:<br />
<code>export LD_ASSUME_KERNEL=2.4.19 — Linuxthreads with floating stacks<br />
export LD_ASSUME_KERNEL=2.2.5 — Linuxthreads without floating stacks</code></p>
<p>Once we set the environment, we can check which thread library that active, we can use &#8216;getconf GNU_LIBPTHREAD_VERSION&#8217; command as follow:<br />
<code>bash-3.00$ unset LD_ASSUME_KERNEL<br />
bash-3.00$ getconf GNU_LIBPTHREAD_VERSION<br />
NPTL 2.3.4<br />
bash-3.00$ export LD_ASSUME_KERNEL=2.4.1<br />
bash-3.00$ getconf GNU_LIBPTHREAD_VERSION<br />
linuxthreads-0.10<br />
bash-3.00$ export LD_ASSUME_KERNEL=2.4.19<br />
bash-3.00$ getconf GNU_LIBPTHREAD_VERSION<br />
linuxthreads-0.10<br />
bash-3.00$ export LD_ASSUME_KERNEL=2.5.2<br />
bash-3.00$ getconf GNU_LIBPTHREAD_VERSION<br />
NPTL 2.3.4<br />
bash-3.00$ unset LD_ASSUME_KERNEL<br />
bash-3.00$ getconf GNU_LIBPTHREAD_VERSION<br />
NPTL 2.3.4</code></p>
<p>Information about NPTL can be found in <a href="http://en.wikipedia.org/wiki/LinuxThreads">wikipedia</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://hollyghozi.com/index.php/2009/07/ld_assume_kernel-to-set-thread-library-that-will-be-used-by-jvm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java: SCJP certified me as Java-nese!</title>
		<link>http://hollyghozi.com/index.php/2009/07/java-scjp-certified-me-as-java-nese/</link>
		<comments>http://hollyghozi.com/index.php/2009/07/java-scjp-certified-me-as-java-nese/#comments</comments>
		<pubDate>Sun, 05 Jul 2009 16:05:04 +0000</pubDate>
		<dc:creator>hollyghozi</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[certification]]></category>

		<guid isPermaLink="false">http://hollyghozi.com/?p=175</guid>
		<description><![CDATA[It&#8217;s been quite some time since I haven&#8217;t updated my blog. I need to prepare myself for my SCJP Exam Test. After months of studying, I finally passed the SJCP exam test. Now, with the Java Certification in my hand, I&#8217;m officially javanese that not only speak Java natively but also do Java programming! Yiihaa! [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been quite some time since I haven&#8217;t updated my blog. I need to prepare myself for my SCJP Exam Test. After months of studying, I finally passed the SJCP exam test. Now, with the Java Certification in my hand, I&#8217;m officially javanese that not only speak Java natively but also do Java programming! Yiihaa! <img src='http://hollyghozi.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;ve to confess that I don&#8217;t have enough experience in Java Programming nor enough time to study. And it&#8217;s completely different beast compare to my other certifications (<a href="https://www.redhat.com/training/certification/verify/?rhce_cert_display:certno=804006876122575&#038;rhce_cert_display:verify_cb=Verify">RHCE</a> and <a href="http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=151">OCP DBA</a>) that merely IT infrastructure exams. </p>
<p>What I&#8217;ve done to get the certification is:<br />
1. Learn about the <a href="http://www.sun.com/training/catalog/courses/CX-310-065.xml">SCJP </a>it self. I print the page, and nail it to my office wall. So I can read the it whenever I&#8217;m in office.<br />
2. Browse Amazon, try to find the best SCJP book available. Based on its reviews, I decided to buy <a href="http://amzn.com/0071591060">Katherine Sierra SCJP Book</a>. Because, I reside in The Netherlands, I ordered the book via <a href="http://www.bol.com/nl/index.html">bol.com</a>, and received the book within 3 days.<br />
3. Followed the book suggestion, I photo-copied the review part of each chapter. I read this when I&#8217;m on the tram on the way to and from office. I started to do this since October 2008.<br />
4. On January 2009, I read the book completely. Finally!<br />
5. But, my confident level still didn&#8217;t increase. Until, there&#8217;s information in the sun website that if we buy the voucher before June 2008, we&#8217;ll have a free retake exam. This boost my guts and also my learn.<br />
6. I bought the Voucher from <a href="https://www.suntrainingcatalogue.com/eduserv/client/loadCourse.do?coCourseCode=CX-310-065">Sun NL</a>. It cost 235 EUR + VAT.<br />
7. I go to <a href="http://2test.com">Prometric </a>website, to register the exam. I chose the nearest exam location, which is 500 meter away from my office.<br />
8. A day before the exam, I took a good night sleep. In the morning, I felt my self fresh, and went to exam location.<br />
9. It&#8217;s a long exam, 3.5 hours! I used this full long time to do the exam 9 passes, until I ran out of time. After click finish, it didn&#8217;t show my result on the computer screen. It&#8217;s different with my OCP, that show the result as soon as you click finish. I went to the admin, and she congratulated me that I passed the exam. I still couldn&#8217;t believe it! Alhamdulillah! </p>
<p>Now, since I&#8217;ve passed the exam. I feel lighter, seems that the whole burden that I&#8217;d carried over years has gone. I need to decide for my next goal. I would like to get back to academic things, but I still don&#8217;t know how to do it, any idea?</p>
]]></content:encoded>
			<wfw:commentRss>http://hollyghozi.com/index.php/2009/07/java-scjp-certified-me-as-java-nese/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bash: Send HTML Email from Linux Command Line</title>
		<link>http://hollyghozi.com/index.php/2009/05/bash-send-html-email-from-linux-command-line/</link>
		<comments>http://hollyghozi.com/index.php/2009/05/bash-send-html-email-from-linux-command-line/#comments</comments>
		<pubDate>Thu, 14 May 2009 18:07:55 +0000</pubDate>
		<dc:creator>hollyghozi</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hollyghozi.com/?p=158</guid>
		<description><![CDATA[I&#8217;m trying to send an HTML formatted email from Linux Command line. Previously, I use mailx to send the email, but it&#8217;s only allow us to send plain text email. Luckily, I came across to &#8216;sendmail&#8217;. After testing couple of time, I&#8217;m finally able to send HTML formatted email. The code as follow: (cat &#60;&#60;EOCAT [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m trying to send an HTML formatted email from Linux Command line. Previously, I use mailx to send the email, but it&#8217;s only allow us to send plain text email. Luckily, I came across to &#8216;sendmail&#8217;. After testing couple of time, I&#8217;m finally able to send HTML formatted email. The code as follow:<br />
<code>(cat &lt;&lt;EOCAT<br />
Subject: Title of the email<br />
MIME-Version: 1.0<br />
Content-Type: text/html<br />
Content-Disposition: inline<br />
EOCAT<br />
cat htmlfile.html) | sendmail toemail@hollyghozi.com</code><br />
As you see in my code above, there&#8217;re two parts of the email that I combine into one and send using &#8216;sendmail&#8217;.<br />
- Header: the first &#8216;cat&#8217;<br />
- Body: the second &#8216;cat&#8217; is reading ordinary HTML file<br />
and both redirect to sendmail that will send an HTML to recipient.</p>
]]></content:encoded>
			<wfw:commentRss>http://hollyghozi.com/index.php/2009/05/bash-send-html-email-from-linux-command-line/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>XSL: Accessing child or parent node</title>
		<link>http://hollyghozi.com/index.php/2007/06/xsl-accessing-child-or-parent-node/</link>
		<comments>http://hollyghozi.com/index.php/2007/06/xsl-accessing-child-or-parent-node/#comments</comments>
		<pubDate>Sun, 17 Jun 2007 13:49:00 +0000</pubDate>
		<dc:creator>Holly</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[xsl]]></category>

		<guid isPermaLink="false">http://hollyghozi.wordpress.com/2007/06/17/xsl-accessing-child-or-parent-node/</guid>
		<description><![CDATA[For example, accessing the child node which the column_node_01 equal to &#8216;a&#8217; : &#60;xsl value="parent_node[child_column_node_01='a']/child_column_node_02"/&#62; From child node, accessing the parent node, as easy as :&#60;xsl value="../../parent_column_node_01"/&#62;It&#8217;s easy playing with XML/XSL&#8230;.]]></description>
			<content:encoded><![CDATA[<p>For example, accessing the child node which the column_node_01 equal to &#8216;a&#8217; :<br />
<code><b>&lt;xsl value="parent_node[child_column_node_01='a']/child_column_node_02"/&gt;</b></code><br />
From child node, accessing the parent node, as easy as :<code><b>&lt;xsl value="../../parent_column_node_01"/&gt;<br /></b></code>It&#8217;s easy playing with XML/XSL&#8230;. <img src='http://hollyghozi.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://hollyghozi.com/index.php/2007/06/xsl-accessing-child-or-parent-node/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

