<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Ferdiansyah Dolot</title>
	<atom:link href="http://ferdidolot.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ferdidolot.wordpress.com</link>
	<description>Knowledge is Not Everything, but Everything is Knowledge</description>
	<lastBuildDate>Sat, 24 Dec 2011 07:55:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ferdidolot.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/cd5d2a26377a7b68e0f2705d801c2339?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Ferdiansyah Dolot</title>
		<link>http://ferdidolot.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ferdidolot.wordpress.com/osd.xml" title="Ferdiansyah Dolot" />
	<atom:link rel='hub' href='http://ferdidolot.wordpress.com/?pushpress=hub'/>
		<item>
		<title>WhatsApp FIX on CyanogenMod-6.1.1-Spica-a8.4 &#8211; NextGeneration</title>
		<link>http://ferdidolot.wordpress.com/2011/12/23/whatsapp-fix-on-cyanogenmod-6-1-1-spica-a8-4-nextgeneration/</link>
		<comments>http://ferdidolot.wordpress.com/2011/12/23/whatsapp-fix-on-cyanogenmod-6-1-1-spica-a8-4-nextgeneration/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 15:58:00 +0000</pubDate>
		<dc:creator>Ferdiansyah Dolot</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Cyanogen]]></category>
		<category><![CDATA[libsqlite.so]]></category>
		<category><![CDATA[mount system]]></category>
		<category><![CDATA[Ngoprek]]></category>
		<category><![CDATA[WhatsApp Fix]]></category>

		<guid isPermaLink="false">http://ferdidolot.wordpress.com/?p=179</guid>
		<description><![CDATA[Today is the first day I flashed, rooted, and install new ROM (CyanogenMod-6.1.1-Spica-a8.4 &#8211; NextGeneration) on my Galaxy Spice I5700 phone. (Ah finally, my PM at office showed me how to do it easily.  Thank you Mas Ade). First impression is, WOW my phone is much better than before and it really saves battery energy. The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ferdidolot.wordpress.com&amp;blog=2041221&amp;post=179&amp;subd=ferdidolot&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Today is the first day I flashed, rooted, and install new ROM (<a title="Cyanogen Next Generation" href="http://forum.samdroid.net/f53/cyanogenmod-6-1-1-spica-a8-4-nextgeneration-4764/">CyanogenMod-6.1.1-Spica-a8.4 &#8211; NextGeneration</a>) on my Galaxy Spice I5700 phone. (Ah finally, my PM at office showed me how to do it easily.  Thank you Mas Ade). First impression is, WOW my phone is much better than before and it really saves battery energy.</p>
<p style="text-align:justify;">The problem came when I installed WhatsApp from Market. At first it was good, until it came to screen registration (where you put the username), then tap &#8216;OK button&#8217;, I got force close and I couldn&#8217;t step to the next stage of WhatsApp registration.</p>
<p style="text-align:justify;">I really thank to Internet and forum because after around several hours reading, summarizing, trying a lot of ways, one of them is WORKING! There is a thread in samdroid forum (<a href="http://forum.samdroid.net/f56/discussion-cyanogenmod-6-1-1-spica-a8-4-nextgeneration-4765/index18.html">http://forum.samdroid.net/f56/discussion-cyanogenmod-6-1-1-spica-a8-4-nextgeneration-4765/index18.html</a>). One of the member  mention that he replace the libsqlite.so in /system/lib path and it worked for him. Then I try this way too. (PLEASE READ. Before replacing /system/lib/libsqlite.so file, please do a backup. Please know what you do to your phone)<br />
To do this, you need the file <a href="http://attachments.xda-developers.com/attachment.php?attachmentid=679663&amp;d=1312655528">libsqlite.so</a> (thanks to xna-developers senior member who patch this) and do several command line using adb (Android Debug Bridge).</p>
<blockquote><p>adb shell &#8220;mount -o remount,rw /dev/block/stl9 /system&#8221;</p></blockquote>
<p style="text-align:justify;">Command above is used to mount the system file so that you can copy file into the system. To replace the /system/lib/libsqlite.so, you will need to type this command:</p>
<blockquote><p>adb push [yourPCpath/libsqlite.so] /system/lib</p></blockquote>
<p style="text-align:justify;">After you&#8217;ve finished, do reboot by typing</p>
<blockquote><p>adb reboot</p></blockquote>
<p style="text-align:justify;">Try access your WhatsApp again, and It is working! If you have any trouble, just leave comment here. But mine is working perfectly now.</p>
<p style="text-align:justify;">Have fun.</p>
<p style="text-align:justify;">-ferdidolot-</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ferdidolot.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ferdidolot.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ferdidolot.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ferdidolot.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ferdidolot.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ferdidolot.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ferdidolot.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ferdidolot.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ferdidolot.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ferdidolot.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ferdidolot.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ferdidolot.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ferdidolot.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ferdidolot.wordpress.com/179/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ferdidolot.wordpress.com&amp;blog=2041221&amp;post=179&amp;subd=ferdidolot&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ferdidolot.wordpress.com/2011/12/23/whatsapp-fix-on-cyanogenmod-6-1-1-spica-a8-4-nextgeneration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Ferdi</media:title>
		</media:content>
	</item>
		<item>
		<title>Google Translate using Perl</title>
		<link>http://ferdidolot.wordpress.com/2010/12/19/google-translate-using-perl/</link>
		<comments>http://ferdidolot.wordpress.com/2010/12/19/google-translate-using-perl/#comments</comments>
		<pubDate>Sat, 18 Dec 2010 18:14:39 +0000</pubDate>
		<dc:creator>Ferdiansyah Dolot</dc:creator>
				<category><![CDATA[Perl]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://ferdidolot.wordpress.com/?p=156</guid>
		<description><![CDATA[In perl, there is a package called WebService::Google. You can use this package to translate from one language to any. The use on this package is simple, just like when you are translating your language in http://translate.google.com. In this article, I&#8217;ll give an explain how to use WebService::Google package to translate from any language to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ferdidolot.wordpress.com&amp;blog=2041221&amp;post=156&amp;subd=ferdidolot&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">In perl, there is a package called <strong>WebService::Google</strong>. You can use this package to translate from one language to any.</p>
<p style="text-align:justify;">The use on this package is simple, just like when you are translating your language in http://translate.google.com. In this article, I&#8217;ll give an explain how to use WebService::Google package to translate from any language to <strong>English.</strong></p>
<p style="text-align:justify;">In your package manager, install the WebService::Google package. Then in your code, add following line :</p>
<blockquote><p>use WebService::Google::Language;</p></blockquote>
<p style="text-align:justify;">For testing, we will just translate the word using command prompt by typing</p>
<blockquote>
<p style="text-align:justify;">perl filename.pl word1 word2 word3 &#8230;</p>
</blockquote>
<p style="text-align:justify;">First, we configure the service. We can specify the language to translate at the configuration of the service, or we can also just let the service detect the language. If you wish to detect language, you can use this configuration to the service :</p>
<blockquote>
<p style="text-align:justify;">$service = WebService::Google::Language-&gt;new(  &#8217;referer&#8217; =&gt; &#8216;http://translator.local/&#8217; ,  &#8217;src&#8217;  =&gt; &#8221;,  &#8217;dest&#8217;    =&gt; &#8216;en&#8217;,);</p>
</blockquote>
<p style="text-align:justify;">As we can see, the source language is not specified, so the service must detect the language on its own. If you want to specify, just define the src. For example, I want to translate from Indonesia to English, so my configuration is :</p>
<blockquote>
<p style="text-align:justify;">$service = WebService::Google::Language-&gt;new( &#8216;referer&#8217; =&gt; &#8216;http://translator.local/&#8217;, &#8216;src&#8217;     =&gt; &#8216;id&#8217;,    &#8217;dest&#8217;    =&gt; &#8216;en&#8217;,);</p>
</blockquote>
<p style="text-align:justify;">Then the service will translate the word from Indonesia to English.</p>
<p style="text-align:justify;">Then we loop for each word in @ARGV ( the arguments when we run perl ). The Code will look like this :</p>
<pre>foreach $s (@ARGV){

	$result = $service-&gt;translate( $s );
	if ($result-&gt;error) {
		printf "Error code: %s\n", $result-&gt;code;
		printf "Message:    %s\n", $result-&gt;message;
	}
	else {
		print "We are translating ".$result-&gt;language . " to English \n";
		print "Query : ".$s . "\n";
		print "Translation : ".$result-&gt;translation . "\n";
	}
}</pre>
<p style="text-align:justify;">Take a look at the code. We loop every word in ARGV then we translate each of them. If you not specify the language source, then &#8221; <em>$result -&gt; language</em> &#8221; will return any detected language. The result of the translation can be seen on<em> $result -&gt; translation.</em></p>
<p style="text-align:justify;">Enjoy!</p>
<p style="text-align:justify;">I Recommend Perl Book :</p>
<p style="text-align:justify;"><a href="http://www.amazon.com/gp/product/0672320355?ie=UTF8&amp;tag=ferdidolot-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0672320355"><img class="alignnone size-thumbnail wp-image-165" title="samsperl" src="http://ferdidolot.files.wordpress.com/2010/12/samsperl.jpg?w=150&#038;h=150" alt="" width="150" height="150" /></a></p>
<p><img src="http://www.diet-fatloss.co.cc/image3.jpg" alt="" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ferdidolot.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ferdidolot.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ferdidolot.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ferdidolot.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ferdidolot.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ferdidolot.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ferdidolot.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ferdidolot.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ferdidolot.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ferdidolot.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ferdidolot.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ferdidolot.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ferdidolot.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ferdidolot.wordpress.com/156/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ferdidolot.wordpress.com&amp;blog=2041221&amp;post=156&amp;subd=ferdidolot&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ferdidolot.wordpress.com/2010/12/19/google-translate-using-perl/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Ferdi</media:title>
		</media:content>

		<media:content url="http://ferdidolot.files.wordpress.com/2010/12/samsperl.jpg?w=150" medium="image">
			<media:title type="html">samsperl</media:title>
		</media:content>

		<media:content url="http://www.diet-fatloss.co.cc/image3.jpg" medium="image" />
	</item>
		<item>
		<title>JavaApplet MySQL JDBC Tutorial Using Netbeans</title>
		<link>http://ferdidolot.wordpress.com/2009/08/10/javaapplet-mysql-jdbc-tutorial-using-netbeans/</link>
		<comments>http://ferdidolot.wordpress.com/2009/08/10/javaapplet-mysql-jdbc-tutorial-using-netbeans/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 00:01:11 +0000</pubDate>
		<dc:creator>Ferdiansyah Dolot</dc:creator>
				<category><![CDATA[Logic]]></category>

		<guid isPermaLink="false">http://ferdidolot.wordpress.com/?p=130</guid>
		<description><![CDATA[Java Applet is a Java Program that can be embedded in HTML documents. Usually, we use an applet viewer  to show the result of our program. For java applet, we must create an HTML documents that specifies which applet class to execute. We will learn by making the applet class and making the simple HTML [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ferdidolot.wordpress.com&amp;blog=2041221&amp;post=130&amp;subd=ferdidolot&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Java Applet is a Java Program that can be embedded in HTML documents. Usually, we use an applet viewer  to show the result of our program. For java applet, we must create an HTML documents that specifies which applet class to execute. We will learn by making the applet class and making the simple HTML code that can embed our program.</p>
<p style="text-align:justify;">This time, I only use the simple JApplet program, just to make sure that in Applet we can also make a connection to MySQL Database. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p style="text-align:justify;">In this Tutorial, we will use 2 class that we have created in past tutorial, Connect.java and Sqlstatement.java.</p>
<p style="text-align:justify;">First, make sure that the webserver has been started. I use XAMPP 1.6.6a, and I use the database that we&#8217;ve made in the past JDBC tutorial.</p>
<p style="text-align:justify;">Then, Create your java library Project from Netbeans :</p>
<p style="text-align:justify;"><a href="http://ferdidolot.files.wordpress.com/2009/08/javaclasslibrary.jpg"><img class="alignnone size-full wp-image-131" title="JavaClassLibrary" src="http://ferdidolot.files.wordpress.com/2009/08/javaclasslibrary.jpg?w=630" alt="JavaClassLibrary"   /></a></p>
<p style="text-align:justify;">After that, add the MySQL JDBC :</p>
<p style="text-align:justify;"><a href="http://ferdidolot.files.wordpress.com/2009/06/addlibrary.jpg"><img class="alignnone size-full wp-image-77" title="addLibrary" src="http://ferdidolot.files.wordpress.com/2009/06/addlibrary.jpg?w=630" alt="addLibrary"   /></a></p>
<p style="text-align:justify;"><a href="http://ferdidolot.files.wordpress.com/2009/06/addlib.jpg"><img class="alignnone size-full wp-image-78" title="addLib" src="http://ferdidolot.files.wordpress.com/2009/06/addlib.jpg?w=630" alt="addLib"   /></a></p>
<p style="text-align:justify;">Then add a class named Blablabla.java, for this tutorial I use Welcome.java. This class in functioned as an Applet. The content is look like this :</p>
<pre>import javax.swing.JApplet;
import javax.swing.JOptionPane;
import java.awt.Graphics;
/**
 *
 * @author ferdiansyah.dolot
 */
public class Welcome extends JApplet{
    String connection = "";
    String insertion ="";
    public void init(){

        try{
            Connect c = new Connect();
            connection = "Connection Established";
            Sqlstatement s = new Sqlstatement();
            s.insert("Dolot",3);
            s.insert("Gery",4);
            insertion = "Success";
        }
        catch(Exception e){
            insertion="Failed";
            connection="Connection Failed";
        }
    }
    public void paint(Graphics g){
		super.paint(g);
		g.drawString(connection,25,25);
                g.drawString(insertion,25,45);
	}
}</pre>
<p style="text-align:justify;">Samples method that we use in applet program above are  init ()  and paint(Graphics g). The applet container first called init() method when applet is loaded for exection, after that paint(Graphics g) method is executed. More about JavaApplet you can read here : <a href="http://java.sun.com/applets/">http://java.sun.com/applets/ </a>. The two method init() and paint(Graphics g) are JApplet life-cycle method that are called by an applet container during an applet&#8217;s execution. About JApplet life-cycle you can read them here : <a href="http://java.sun.com/docs/books/tutorial/deployment/applet/lifeCycle.html">http://java.sun.com/docs/books/tutorial/deployment/applet/lifeCycle.html</a></p>
<p style="text-align:justify;">After making the Applet class, then we must make the HTML file to specify which applet class we use. The simple HTML code is look like this :</p>
<p style="text-align:justify;">&lt;html&gt;<br />
&lt;applet code=&#8221;Welcome.class&#8221; width=&#8221;250&#8243; height=&#8221;80&#8243;&gt;&lt;/applet&gt;<br />
&lt;/html&gt;</p>
<p style="text-align:justify;">In HTML above, we specify the width of applet viewer is 250 and the height is 80, and we use Welcome class. Save this HTML document in the same folder of src in your Netbeans Project folder (example : &#8230;\NetBeansProjects\Project1\src), put the HTML code in src folder.</p>
<p style="text-align:justify;">After that, run the Welcome class in Netbeans, then it works.</p>
<p style="text-align:justify;"><a href="http://ferdidolot.files.wordpress.com/2009/08/applet.jpg"><img class="alignnone size-full wp-image-132" title="Applet" src="http://ferdidolot.files.wordpress.com/2009/08/applet.jpg?w=630" alt="Applet"   /></a></p>
<p style="text-align:justify;">Then&#8217; It&#8217;s possible to use applet with JDBC. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p style="text-align:justify;">Thanks for reading.</p>
<p style="text-align:justify;">Past Tutorial to find the Java Past Program that we use in this tutorial :</p>
<p style="text-align:justify;"><a href="http://ferdidolot.wordpress.com/2009/06/18/java-mysql-jdbc-tutorial-using-netbeans-part-2/">Java MySQL JDBC Tutorial Using Netbeans Part 2</a></p>
<p style="text-align:justify;"><a href="http://ferdidolot.wordpress.com/2009/06/14/java-mysql-jdbc-tutorial-using-netbeans-part-1/">Java MySQL JDBC Tutorial Using Netbeans Part 1</a></p>
<p style="text-align:justify;">Recomended Books :</p>
<p style="text-align:justify;"><a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.com%2Fs%3Fie%3DUTF8%26x%3D0%26ref_%3Dnb_sb_noss%26y%3D0%26field-keywords%3DJava%2520database%26url%3Dsearch-alias%253Dstripbooks&amp;tag=ferdidolot-20&amp;linkCode=ur2&amp;camp=1789&amp;creative=390957">Java JDBC Programming</a><img style="border:none!important;margin:0!important;" src="https://www.assoc-amazon.com/e/ir?t=ferdidolot-20&amp;l=ur2&amp;o=1" border="0" alt="" width="1" height="1" /></p>
<p style="text-align:justify;"><a href="http://www.amazon.com/gp/product/1565926161?ie=UTF8&amp;tag=ferdidolot-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1565926161">Database Programming with JDBC and Java</a><img style="border:none!important;margin:0!important;" src="http://www.assoc-amazon.com/e/ir?t=ferdidolot-20&amp;l=as2&amp;o=1&amp;a=1565926161" border="0" alt="" width="1" height="1" /><br />
<img src="http://www.diet-fatloss.co.cc/image1.jpg" alt="Book 1" /><br />
<img src="http://www.diet-fatloss.co.cc/image2.jpg" alt="Book 2" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ferdidolot.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ferdidolot.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ferdidolot.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ferdidolot.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ferdidolot.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ferdidolot.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ferdidolot.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ferdidolot.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ferdidolot.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ferdidolot.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ferdidolot.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ferdidolot.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ferdidolot.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ferdidolot.wordpress.com/130/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ferdidolot.wordpress.com&amp;blog=2041221&amp;post=130&amp;subd=ferdidolot&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ferdidolot.wordpress.com/2009/08/10/javaapplet-mysql-jdbc-tutorial-using-netbeans/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Ferdi</media:title>
		</media:content>

		<media:content url="http://ferdidolot.files.wordpress.com/2009/08/javaclasslibrary.jpg" medium="image">
			<media:title type="html">JavaClassLibrary</media:title>
		</media:content>

		<media:content url="http://ferdidolot.files.wordpress.com/2009/06/addlibrary.jpg" medium="image">
			<media:title type="html">addLibrary</media:title>
		</media:content>

		<media:content url="http://ferdidolot.files.wordpress.com/2009/06/addlib.jpg" medium="image">
			<media:title type="html">addLib</media:title>
		</media:content>

		<media:content url="http://ferdidolot.files.wordpress.com/2009/08/applet.jpg" medium="image">
			<media:title type="html">Applet</media:title>
		</media:content>

		<media:content url="https://www.assoc-amazon.com/e/ir?t=ferdidolot-20&#38;l=ur2&#38;o=1" medium="image" />

		<media:content url="http://www.assoc-amazon.com/e/ir?t=ferdidolot-20&#38;l=as2&#38;o=1&#38;a=1565926161" medium="image" />

		<media:content url="http://www.diet-fatloss.co.cc/image1.jpg" medium="image">
			<media:title type="html">Book 1</media:title>
		</media:content>

		<media:content url="http://www.diet-fatloss.co.cc/image2.jpg" medium="image">
			<media:title type="html">Book 2</media:title>
		</media:content>
	</item>
		<item>
		<title>Java MySQL JDBC Tutorial using NetBeans (Part 2)</title>
		<link>http://ferdidolot.wordpress.com/2009/06/18/java-mysql-jdbc-tutorial-using-netbeans-part-2/</link>
		<comments>http://ferdidolot.wordpress.com/2009/06/18/java-mysql-jdbc-tutorial-using-netbeans-part-2/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 13:54:53 +0000</pubDate>
		<dc:creator>Ferdiansyah Dolot</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[insert query]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[java.sql]]></category>
		<category><![CDATA[jdbc]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://ferdidolot.wordpress.com/?p=104</guid>
		<description><![CDATA[In first part, we have already established connection to MySQL using Java. Now, we will discuss about how to modify the record of the database from program we make. Make sure that you have read the previous part of the tutorial. In this tutorial, we will use Project that we have created in previous tutorial and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ferdidolot.wordpress.com&amp;blog=2041221&amp;post=104&amp;subd=ferdidolot&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">In first part, we have already established connection to MySQL using Java. Now, we will discuss about how to modify the record of the database from program we make.</p>
<p style="text-align:justify;">Make sure that you have read the <a href="http://ferdidolot.wordpress.com/2009/06/14/java-mysql-jdbc-tutorial-using-netbeans-part-1/">previous part of the tutorial</a>. In this tutorial, we will use Project that we have created in previous tutorial and <em>Statement</em> interface from <em>java.sql.Statement</em>.</p>
<p style="text-align:justify;">First we must have a database and a table in MySQL. For example, we create a database school with attribute <em>name </em>and<em> number </em>(student number). Start your MySQL and make such database and table using this command :</p>
<blockquote><p>create database school;<br />
use school;<br />
create table student (name varchar(30), number int);</p></blockquote>
<p style="text-align:justify;">Set student number to be the primary key on this table:</p>
<blockquote><p>alter table student add constraint primary key (number);</p></blockquote>
<p style="text-align:justify;">After finishing with database, we move to our Java program.</p>
<p style="text-align:justify;">In Statement interface, we can execute any SQL statemnt using our Java program. First, make a class named Sqlstatement in our previous tutorial Project. The content of Sqlstatement.java is :</p>
<pre>package javasql;
import java.sql.*;
/**
 *
 * @author ferdiansyah.dolot
 */
public class Sqlstatement {
    private Statement statement;
    public Sqlstatement() throws SQLException{
        makeStatement();
    }
    public Statement makeStatement() throws SQLException{
        Connect c = new Connect();
        Connection conn = c.makeConnection();
        statement = conn.createStatement();
        return statement;
    }
    public void insert(String nama,int npm)throws SQLException{
        statement.execute("insert into student values(\""+name+"\",
                          "+number+")");
    }
    public static void main(String arg[]){
        try {
            Sqlstatement s = new Sqlstatement();
            s.insert("Ferdi",1);
            s.insert("Anca",2);
            System.out.println("Success");
        }
        catch(SQLException e){
            System.out.println("Failed");
            e.printStackTrace();
        }
    }
}</pre>
<p style="text-align:justify;">In class above, we use the <em>Connect class </em>that we have created in <a href="http://ferdidolot.wordpress.com/2009/06/14/java-mysql-jdbc-tutorial-using-netbeans-part-1/">previous tutorial.</a></p>
<p style="text-align:justify;">On this part :</p>
<blockquote><p>statement = conn.createStatement();</p></blockquote>
<p style="text-align:justify;">Variable conn is instance of <em>Connect class </em>that we have made in the <a href="http://ferdidolot.wordpress.com/2009/06/14/java-mysql-jdbc-tutorial-using-netbeans-part-1/">previous tutorial</a>. After the connection has estabished, the conn call method createStatement(). The method returns <em>Statement </em>that we will use to send SQL statements to database.</p>
<p style="text-align:justify;">To execute any SQL statement using our Java program, we use <em>execute(String sqlstatement) </em>in interface <em>Statement. </em>In our program above, the execution of the SQL statement can be seen on this part :</p>
<blockquote><p>statement.execute(&#8220;insert into student values(\&#8221;"+name+&#8221;\&#8221;,&#8221;+number+&#8221;)&#8221;);</p></blockquote>
<p style="text-align:justify;">After that, run the Sqlstatement program ( in Netbeans, press <em>Shift+ </em>F6). See what happened in you database record. You can see values in your database and table using command :</p>
<blockquote><p>select * from student;</p></blockquote>
<p style="text-align:justify;">You can see the value you insert using Sqlstatment class will be in table values.</p>
<p style="text-align:justify;">API for Statement interface in Java can be seen on <a href="http://java.sun.com/javase/6/docs/api/java/sql/Statement.html">http://java.sun.com/javase/6/docs/api/java/sql/Statement.html</a>.</p>
<p style="text-align:justify;">Recomended Books :</p>
<p style="text-align:justify;"><a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.com%2Fs%3Fie%3DUTF8%26x%3D0%26ref_%3Dnb_sb_noss%26y%3D0%26field-keywords%3DJava%2520database%26url%3Dsearch-alias%253Dstripbooks&amp;tag=ferdidolot-20&amp;linkCode=ur2&amp;camp=1789&amp;creative=390957">Java JDBC Programming</a><img style="border:none!important;margin:0!important;" src="https://www.assoc-amazon.com/e/ir?t=ferdidolot-20&amp;l=ur2&amp;o=1" border="0" alt="" width="1" height="1" /></p>
<p style="text-align:justify;"><a href="http://www.amazon.com/gp/product/1565926161?ie=UTF8&amp;tag=ferdidolot-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1565926161">Database Programming with JDBC and Java</a><img style="border:none!important;margin:0!important;" src="http://www.assoc-amazon.com/e/ir?t=ferdidolot-20&amp;l=as2&amp;o=1&amp;a=1565926161" border="0" alt="" width="1" height="1" /><br />
<img src="http://www.diet-fatloss.co.cc/image1.jpg" alt="Book 1" /><br />
<img src="http://www.diet-fatloss.co.cc/image2.jpg" alt="Book 2" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ferdidolot.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ferdidolot.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ferdidolot.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ferdidolot.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ferdidolot.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ferdidolot.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ferdidolot.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ferdidolot.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ferdidolot.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ferdidolot.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ferdidolot.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ferdidolot.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ferdidolot.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ferdidolot.wordpress.com/104/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ferdidolot.wordpress.com&amp;blog=2041221&amp;post=104&amp;subd=ferdidolot&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ferdidolot.wordpress.com/2009/06/18/java-mysql-jdbc-tutorial-using-netbeans-part-2/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Ferdi</media:title>
		</media:content>

		<media:content url="https://www.assoc-amazon.com/e/ir?t=ferdidolot-20&#38;l=ur2&#38;o=1" medium="image" />

		<media:content url="http://www.assoc-amazon.com/e/ir?t=ferdidolot-20&#38;l=as2&#38;o=1&#38;a=1565926161" medium="image" />

		<media:content url="http://www.diet-fatloss.co.cc/image1.jpg" medium="image">
			<media:title type="html">Book 1</media:title>
		</media:content>

		<media:content url="http://www.diet-fatloss.co.cc/image2.jpg" medium="image">
			<media:title type="html">Book 2</media:title>
		</media:content>
	</item>
		<item>
		<title>JavaFX Documentation CHM Version</title>
		<link>http://ferdidolot.wordpress.com/2009/06/17/javafx-documentation-chm-version/</link>
		<comments>http://ferdidolot.wordpress.com/2009/06/17/javafx-documentation-chm-version/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 15:08:05 +0000</pubDate>
		<dc:creator>Ferdiansyah Dolot</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[javafx]]></category>

		<guid isPermaLink="false">http://ferdidolot.wordpress.com/?p=98</guid>
		<description><![CDATA[Bagi anda yang sedang mempelajari JavaFX, akan lebih nyaman jika dokumentasi yang anda baca merupakan format CHM, yaitu Microsoft Compiled HTML Help. Berikut terdapat File Dokumentasi JavaFX dalam format CHM. Silahkan diunduh disini : javafxdoc.chm Note : Setelah anda mengunduh file tersebut, rubah formatnya menjadi .chm saja (jangan .doc. Hal ini saya lakukan karena tidak [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ferdidolot.wordpress.com&amp;blog=2041221&amp;post=98&amp;subd=ferdidolot&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Bagi anda yang sedang mempelajari JavaFX, akan lebih nyaman jika dokumentasi yang anda baca merupakan format <a href="http://en.wikipedia.org/wiki/.CHM">CHM</a>, yaitu Microsoft Compiled HTML Help.</p>
<p style="text-align:justify;">Berikut terdapat File Dokumentasi JavaFX dalam format CHM. Silahkan diunduh disini : <a href="../files/2009/06/javafxdoc-chm.doc"></a></p>
<p style="text-align:justify;"><a href="../files/2009/06/javafxdoc-chm.doc">javafxdoc.chm</a></p>
<p style="text-align:justify;">Note : Setelah anda mengunduh file tersebut, rubah formatnya menjadi .chm saja (jangan .doc. Hal ini saya lakukan karena tidak dapat mengunggah file berformat .chm di wordpress). Kemudian, klik kanan file tersebut, lalu pilih <em>Unblock</em> agar file tersebut dapat berjalan dengan baik.</p>
<p style="text-align:justify;">~feel free to distribute this file, enjoy ^_^</p>
<p style="text-align:justify;">sumber : <a href="http://geekycoder.wordpress.com/2008/08/03/chm-version-of-javafx-documentation/">http://geekycoder.wordpress.com/2008/08/03/chm-version-of-javafx-documentation/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ferdidolot.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ferdidolot.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ferdidolot.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ferdidolot.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ferdidolot.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ferdidolot.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ferdidolot.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ferdidolot.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ferdidolot.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ferdidolot.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ferdidolot.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ferdidolot.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ferdidolot.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ferdidolot.wordpress.com/98/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ferdidolot.wordpress.com&amp;blog=2041221&amp;post=98&amp;subd=ferdidolot&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ferdidolot.wordpress.com/2009/06/17/javafx-documentation-chm-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Ferdi</media:title>
		</media:content>
	</item>
		<item>
		<title>Install Windows, Ubuntu hilang?</title>
		<link>http://ferdidolot.wordpress.com/2009/06/15/install-windows-ubuntu-hilang/</link>
		<comments>http://ferdidolot.wordpress.com/2009/06/15/install-windows-ubuntu-hilang/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 10:28:39 +0000</pubDate>
		<dc:creator>Ferdiansyah Dolot</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[grub loader]]></category>
		<category><![CDATA[reinstall grub]]></category>

		<guid isPermaLink="false">http://ferdidolot.wordpress.com/?p=90</guid>
		<description><![CDATA[Ya, jika anda melakukan instalasi windows pada komputer anda yang sudah terinstall Linux didalamnya (misalnya Ubuntu), akan terkesan seolah-olah Ubuntu yang sudah anda install menghilang. Sebenarnya, Ubuntu yang anda install masih terdapat pada partisinya, tapi mengapa kita tidak dapat masuk ke dalam nya? grub Ya, sebenarnya, anda tidak dapat mengakses ubuntu karena grub loader menghilang [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ferdidolot.wordpress.com&amp;blog=2041221&amp;post=90&amp;subd=ferdidolot&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Ya, jika anda melakukan instalasi windows pada komputer anda yang sudah terinstall Linux didalamnya (misalnya Ubuntu), akan terkesan seolah-olah Ubuntu yang sudah anda install menghilang.</p>
<p style="text-align:justify;">Sebenarnya, Ubuntu yang anda install masih terdapat pada partisinya, tapi mengapa kita tidak dapat masuk ke dalam nya?</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img class="size-full wp-image-91" title="grub" src="http://ferdidolot.files.wordpress.com/2009/06/grub4ktbu0.jpg?w=630" alt="grub"   /></dt>
<dd class="wp-caption-dd">grub</dd>
</dl>
</div>
<p style="text-align:justify;">Ya, sebenarnya, anda tidak dapat mengakses ubuntu karena grub loader menghilang setelah instalasi dari windows.</p>
<p style="text-align:justify;">Untuk dapat menggunakan linux seperti sedia kala, anda hanya perlu untuk menginstall kembali grub loader . Hal ini dapat dilakukan dengan cara sebagai berikut:</p>
<p style="text-align:justify;">1. Boot menggunakan live CD</p>
<p style="text-align:justify;">2. Masuk ke terminal (Application -&gt; Accessoris -&gt;Terminal ).</p>
<p style="text-align:justify;">3. Setelah itu ketikkan perintah ini pada terminal:</p>
<blockquote><p>sudo grub</p></blockquote>
<p style="text-align:justify;">4. Anda akan berada pada grub prompt,</p>
<blockquote><p>[ Minimal BASH-like line editing is supported.   For<br />
the   first   word,  TAB  lists  possible  command<br />
completions.  Anywhere else TAB lists the possible<br />
completions of a device/filename. ]</p>
<p>grub&gt;</p></blockquote>
<p style="text-align:justify;">5. Untuk menemukan root partision, ketikkan perintah berikut</p>
<blockquote><p>grub&gt; find /boot/grub/stage1</p></blockquote>
<p style="text-align:justify;">6. Kemudian ketikkan perintah :</p>
<blockquote><p>grub&gt; root (hd<strong>M</strong>,<strong>N</strong>)</p>
<p>nilai dari M dan N didapatkan setelah melakukan eksekusi perintah No. 5</p></blockquote>
<p style="text-align:justify;">7. Lalu tulis perintah:</p>
<blockquote><p>grub&gt; setup (hd0)</p>
<p>grub&gt; quit</p></blockquote>
<p style="text-align:justify;">8. Restart ulang komputer anda dan insya Allah grub loader akan kembali seperti sedia kala. ^_^</p>
<p style="text-align:justify;">referensi : <a href="https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows">https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ferdidolot.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ferdidolot.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ferdidolot.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ferdidolot.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ferdidolot.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ferdidolot.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ferdidolot.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ferdidolot.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ferdidolot.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ferdidolot.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ferdidolot.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ferdidolot.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ferdidolot.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ferdidolot.wordpress.com/90/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ferdidolot.wordpress.com&amp;blog=2041221&amp;post=90&amp;subd=ferdidolot&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ferdidolot.wordpress.com/2009/06/15/install-windows-ubuntu-hilang/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Ferdi</media:title>
		</media:content>

		<media:content url="http://ferdidolot.files.wordpress.com/2009/06/grub4ktbu0.jpg" medium="image">
			<media:title type="html">grub</media:title>
		</media:content>
	</item>
		<item>
		<title>Java MySQL JDBC Tutorial using NetBeans (Part 1)</title>
		<link>http://ferdidolot.wordpress.com/2009/06/14/java-mysql-jdbc-tutorial-using-netbeans-part-1/</link>
		<comments>http://ferdidolot.wordpress.com/2009/06/14/java-mysql-jdbc-tutorial-using-netbeans-part-1/#comments</comments>
		<pubDate>Sun, 14 Jun 2009 08:05:25 +0000</pubDate>
		<dc:creator>Ferdiansyah Dolot</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jdbc]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://ferdidolot.wordpress.com/?p=73</guid>
		<description><![CDATA[Are you asking &#8216;Could I connect Java application/applet to database like MySQL?&#8217; and the answer is definitely Yes. You can use JDBC (Java Database Connectivity) to connect your Java application/applet with database. So Let&#8217;s start. First, Create new Project named anything you want, for example Javasql by click File-&#62;New Project. newProject then you&#8217;ll be on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ferdidolot.wordpress.com&amp;blog=2041221&amp;post=73&amp;subd=ferdidolot&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Are you asking &#8216;Could I connect Java application/applet to database like MySQL?&#8217; and the answer is definitely Yes.</p>
<p style="text-align:justify;">You can use JDBC (Java Database Connectivity) to connect your Java application/applet with database. So Let&#8217;s start.</p>
<p style="text-align:justify;">First, Create new Project named anything you want, for example Javasql by click File-&gt;New Project.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img class="size-full wp-image-74" title="newProject" src="http://ferdidolot.files.wordpress.com/2009/06/newproject.jpg?w=630" alt="newProject"   /></dt>
<dd class="wp-caption-dd">newProject</dd>
</dl>
</div>
<p style="text-align:justify;">then you&#8217;ll be on this frame</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img class="size-full wp-image-76" title="javaapps" src="http://ferdidolot.files.wordpress.com/2009/06/javaapps.jpg?w=630" alt="javaapps"   /></dt>
<dd class="wp-caption-dd">javaapps</dd>
</dl>
</div>
<p style="text-align:justify;">then click next,  then give Project Name and set Project Localtion</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img class="size-full wp-image-75" title="nameProject" src="http://ferdidolot.files.wordpress.com/2009/06/nameproject.jpg?w=630" alt="nameProject"   /></dt>
<dd class="wp-caption-dd">nameProject</dd>
</dl>
</div>
<p style="text-align:justify;">then finish.</p>
<p style="text-align:justify;">Second, you must have JDBC MySQL Driver before you can start to connect your Java program to database. But since we use Netbeans , this has been done. Just simply add the library to your project library. Right click in Library on the Project you use. <img class="alignnone size-full wp-image-77" title="addLibrary" src="http://ferdidolot.files.wordpress.com/2009/06/addlibrary.jpg?w=630" alt="addLibrary"   /></p>
<p style="text-align:justify;">Then choose MySQL JDBC Driver</p>
<p style="text-align:justify;"><img class="alignnone size-full wp-image-78" title="addLib" src="http://ferdidolot.files.wordpress.com/2009/06/addlib.jpg?w=630" alt="addLib"   /></p>
<p style="text-align:justify;">Then Click Add Libary.</p>
<p style="text-align:justify;">So now we can connect to MySQL database. Here is the example how you can connect to MySQL.</p>
<p style="text-align:justify;">Here, we use interface Connection.</p>
<pre>package javasql;
import com.mysql.jdbc.Driver;
import java.sql.*;
/**
 *
 * @author Ferdiansyah Dolot
 */
public class Connect {
    public Connect() throws SQLException{
        makeConnection();
    } 

    private Connection koneksi;  

     public  Connection makeConnection() throws SQLException {
        if (koneksi == null) {
             new Driver();
            // buat koneksi
             koneksi = DriverManager.getConnection(
                       "jdbc:mysql://localhost/databasename",
                       "username",
                       "password");
         }
         return koneksi;
     }  

     public static void main(String args[]) {
         try {
             Connect c = new Connect();
             System.out.println("Connection established");
         }
         catch (SQLException e) {
             e.printStackTrace();
             System.err.println("Connection Failure");
         }  

    }
}</pre>
<p style="text-align:justify;">In example above we create connection to MySQL from creating object of Driver and get connection from DriverManager (get Connection will return <em>Connection</em> Object type), with parameter the url, username, and password. The url above means the database is located in localhost and the name is databasename.You can also add port for MySQL so the url looks : &#8220;jdbc:mysql://localhost:3306/databasename&#8221;. (See <a href="http://www.linklogger.com/TCP3306.htm">port 3306</a>).<br />
So now we can make a connection to MySQL database. Now, how can we do SQL statement like update, delete, insert, etc?</p>
<p style="text-align:justify;">We will discuss this in Java MySQL JDBC Tutorial using NetBeans (Part 2).</p>
<p style="text-align:justify;">Recomended Books :</p>
<p style="text-align:justify;"><a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.com%2Fs%3Fie%3DUTF8%26x%3D0%26ref_%3Dnb_sb_noss%26y%3D0%26field-keywords%3DJava%2520database%26url%3Dsearch-alias%253Dstripbooks&amp;tag=ferdidolot-20&amp;linkCode=ur2&amp;camp=1789&amp;creative=390957">Java JDBC Programming</a><img style="border:none!important;margin:0!important;" src="https://www.assoc-amazon.com/e/ir?t=ferdidolot-20&amp;l=ur2&amp;o=1" border="0" alt="" width="1" height="1" /></p>
<p style="text-align:justify;"><a href="http://www.amazon.com/gp/product/1555583296?ie=UTF8&amp;tag=ferdidolot-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1555583296"><img src="http://ferdidolot.files.wordpress.com/2009/06/51xvco268l-_bo2204203200_pisitb-sticker-arrow-clicktopright35-76_aa300_sh20_ou01_.jpg?w=150&#038;h=150" alt="" width="150" height="150" /></a></p>
<p style="text-align:justify;"><img src="http://www.diet-fatloss.co.cc/image1.jpg" alt="Book 1" /><br />
<img src="http://www.diet-fatloss.co.cc/image2.jpg" alt="Book 2" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ferdidolot.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ferdidolot.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ferdidolot.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ferdidolot.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ferdidolot.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ferdidolot.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ferdidolot.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ferdidolot.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ferdidolot.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ferdidolot.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ferdidolot.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ferdidolot.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ferdidolot.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ferdidolot.wordpress.com/73/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ferdidolot.wordpress.com&amp;blog=2041221&amp;post=73&amp;subd=ferdidolot&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ferdidolot.wordpress.com/2009/06/14/java-mysql-jdbc-tutorial-using-netbeans-part-1/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Ferdi</media:title>
		</media:content>

		<media:content url="http://ferdidolot.files.wordpress.com/2009/06/newproject.jpg" medium="image">
			<media:title type="html">newProject</media:title>
		</media:content>

		<media:content url="http://ferdidolot.files.wordpress.com/2009/06/javaapps.jpg" medium="image">
			<media:title type="html">javaapps</media:title>
		</media:content>

		<media:content url="http://ferdidolot.files.wordpress.com/2009/06/nameproject.jpg" medium="image">
			<media:title type="html">nameProject</media:title>
		</media:content>

		<media:content url="http://ferdidolot.files.wordpress.com/2009/06/addlibrary.jpg" medium="image">
			<media:title type="html">addLibrary</media:title>
		</media:content>

		<media:content url="http://ferdidolot.files.wordpress.com/2009/06/addlib.jpg" medium="image">
			<media:title type="html">addLib</media:title>
		</media:content>

		<media:content url="https://www.assoc-amazon.com/e/ir?t=ferdidolot-20&#38;l=ur2&#38;o=1" medium="image" />

		<media:content url="http://ferdidolot.files.wordpress.com/2009/06/51xvco268l-_bo2204203200_pisitb-sticker-arrow-clicktopright35-76_aa300_sh20_ou01_.jpg" medium="image" />

		<media:content url="http://www.diet-fatloss.co.cc/image1.jpg" medium="image">
			<media:title type="html">Book 1</media:title>
		</media:content>

		<media:content url="http://www.diet-fatloss.co.cc/image2.jpg" medium="image">
			<media:title type="html">Book 2</media:title>
		</media:content>
	</item>
		<item>
		<title>Change Serial Number in XP</title>
		<link>http://ferdidolot.wordpress.com/2008/12/07/change-serial-number-in-xp/</link>
		<comments>http://ferdidolot.wordpress.com/2008/12/07/change-serial-number-in-xp/#comments</comments>
		<pubDate>Sun, 07 Dec 2008 15:05:43 +0000</pubDate>
		<dc:creator>Ferdiansyah Dolot</dc:creator>
				<category><![CDATA[Info]]></category>
		<category><![CDATA[change]]></category>
		<category><![CDATA[change serial number]]></category>
		<category><![CDATA[windows xp]]></category>
		<category><![CDATA[windows xp serial number]]></category>
		<category><![CDATA[xp]]></category>

		<guid isPermaLink="false">http://ferdidolot.wordpress.com/?p=58</guid>
		<description><![CDATA[This is the simplest way I ever known to change your Serial number in Windows XP. Get the tools to change your license key by clicking here. Then just follow the installation of the tools, then change your XP Serial Number. (You just only need a legal XP serial number .) I have tried this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ferdidolot.wordpress.com&amp;blog=2041221&amp;post=58&amp;subd=ferdidolot&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is the simplest way I ever known to change your Serial number in Windows XP.</p>
<p>Get the tools to change your license key by clicking <a href="http://download.microsoft.com/download/5/2/4/5242c0ea-4a56-46ef-a19b-b55e43bd31a6/KeyUpdateTool_enu.exe">here</a>.</p>
<p>Then just follow the installation of the tools, then change your XP Serial Number. (You just only need a legal XP serial number .)</p>
<p>I have tried this and it works perfectly. ^_^ (thanks to <a href="http://www.mrbobswebdesign.com/">Mr.Bob Douglas</a>)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ferdidolot.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ferdidolot.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ferdidolot.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ferdidolot.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ferdidolot.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ferdidolot.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ferdidolot.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ferdidolot.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ferdidolot.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ferdidolot.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ferdidolot.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ferdidolot.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ferdidolot.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ferdidolot.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ferdidolot.wordpress.com&amp;blog=2041221&amp;post=58&amp;subd=ferdidolot&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ferdidolot.wordpress.com/2008/12/07/change-serial-number-in-xp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Ferdi</media:title>
		</media:content>
	</item>
		<item>
		<title>Logika Implikasi</title>
		<link>http://ferdidolot.wordpress.com/2008/09/28/logika-implikasi/</link>
		<comments>http://ferdidolot.wordpress.com/2008/09/28/logika-implikasi/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 07:01:03 +0000</pubDate>
		<dc:creator>Ferdiansyah Dolot</dc:creator>
				<category><![CDATA[Logic]]></category>
		<category><![CDATA[implikasi]]></category>

		<guid isPermaLink="false">http://ferdidolot.wordpress.com/?p=53</guid>
		<description><![CDATA[Jumat kemarin, seorang teman saya bertanya kepada teman saya yang lain. Pertayaannya adalah sebagai berikut : &#8220;Jika saya kasih uang satu juta rupiah ke kamu, maka kamu hanya kasih uang seribu rupiah ke saya, sepakat gak?&#8221; Teman saya yang lain merasa heran , dan bertanya : B:  &#8220;Bohong ya, serius gak nih?&#8221; A:  &#8220;Serius!&#8221; B: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ferdidolot.wordpress.com&amp;blog=2041221&amp;post=53&amp;subd=ferdidolot&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Jumat kemarin, seorang teman saya bertanya kepada teman saya yang lain. Pertayaannya adalah sebagai berikut :</p>
<p><em>&#8220;Jika saya kasih uang satu juta rupiah ke kamu, maka kamu hanya kasih uang seribu rupiah ke saya, sepakat gak?&#8221;</em></p>
<p>Teman saya yang lain merasa heran , dan bertanya :</p>
<p><em>B:  &#8220;Bohong ya, serius gak nih?&#8221;</em></p>
<p><em>A:  &#8220;Serius!&#8221;</em></p>
<p><em>B: &#8220;Terus?&#8221;</em></p>
<p><em>A:  &#8220;Ya udah, seribu nya dulu sini&#8221;</em></p>
<p>Saya yang kebetulan duduk diantara mereka berdua mulai menyadari kalimat yang diucapkan teman saya tersebut, sampai akhirnya teman saya itu bertanya :</p>
<p>&#8220;<em>Kamu sudah tahu kan arah pertanyaan saya?</em>&#8220;</p>
<p>&#8220;Ya&#8221;, jawab saya.</p>
<p>Maksud dari pertanyaan tersebut adalah logika implikasi. Dalam buku Kenneth H. Rossen, Discrete Mathematics, Bab Logika Preposisi, disebutkan bahwa:</p>
<p>p -&gt; q == ~q-&gt;~p , namun p-&gt;q !=q-&gt;p</p>
<p>Jadi, jika si B memberi seribu, si A tidak wajib memberi 1 juta. (got it? )^_^</p>
<p>Jadi, lebih waspada ya terhadap kata-kata. ^_^</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ferdidolot.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ferdidolot.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ferdidolot.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ferdidolot.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ferdidolot.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ferdidolot.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ferdidolot.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ferdidolot.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ferdidolot.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ferdidolot.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ferdidolot.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ferdidolot.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ferdidolot.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ferdidolot.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ferdidolot.wordpress.com&amp;blog=2041221&amp;post=53&amp;subd=ferdidolot&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ferdidolot.wordpress.com/2008/09/28/logika-implikasi/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Ferdi</media:title>
		</media:content>
	</item>
		<item>
		<title>Teori Dasar Diatonis</title>
		<link>http://ferdidolot.wordpress.com/2008/07/05/teori-dasar-diatonis/</link>
		<comments>http://ferdidolot.wordpress.com/2008/07/05/teori-dasar-diatonis/#comments</comments>
		<pubDate>Sat, 05 Jul 2008 09:31:39 +0000</pubDate>
		<dc:creator>Ferdiansyah Dolot</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[diatonis]]></category>
		<category><![CDATA[diatonis mayor]]></category>
		<category><![CDATA[diatonis minor]]></category>
		<category><![CDATA[kres]]></category>
		<category><![CDATA[mol]]></category>
		<category><![CDATA[tangga nada]]></category>
		<category><![CDATA[teori diatonis]]></category>

		<guid isPermaLink="false">http://ferdidolot.wordpress.com/?p=49</guid>
		<description><![CDATA[Tangga nada diatonis biasa dikenal dengan : do re mi fa sol la si do. Skala diatonik disusun oleh delapan not dalam satu inteval tertentu. 1. Diatonis Mayor Tangga nada mayor dalam teori musik adalah tangga nada yang tersusun dari 8 not dalam 1 interval tertentu. Jarak antara not-not yang berurutan dalam tangga nada mayor [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ferdidolot.wordpress.com&amp;blog=2041221&amp;post=49&amp;subd=ferdidolot&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Tangga nada diatonis biasa dikenal dengan : do re mi fa sol la si do.<br />
<a href="http://ferdidolot.files.wordpress.com/2008/07/200px-circle-of-fifths.png"></a><br />
Skala diatonik disusun oleh delapan not dalam satu inteval tertentu.</p>
<p>1. Diatonis Mayor</p>
<p>Tangga nada mayor dalam teori musik adalah tangga nada yang tersusun dari 8 not dalam 1 interval tertentu. Jarak antara not-not yang berurutan dalam tangga nada mayor (intervalnya) adalah : <strong>1 &#8211; 1 &#8211;  1/2 &#8211; 1 &#8211; 1 &#8211; 1 &#8211; 1/2</strong></p>
<p>Dalam tangga nada ,terdapat notasi &#8216;#&#8217; (baca: kres) dan &#8216;b&#8217; (baca :mol, maaf terpaksa memakai huruf b).</p>
<p><em>Tangga Nada Kres (&#8216;#&#8217;) dalam Diatonis Mayor</em></p>
<p>Waktu saya menduduki bangku SLTP, Ibu Leidemina Siregar (guru seni musik saya), fungsi tanda kres adalah untuk menaikkan nada sebanyak setengah. 0# atau biasa disebut&#8217; C = do&#8217; (mayor mode), memiliki tangga nada: <strong>C &#8211; D- E &#8211; F -G &#8211; A &#8211; B &#8211; C.</strong></p>
<p>Kemudian , terdapat juga 1# atau biasa disebut G = do. Kok bisa tau G=do? Untuk mencari tangga nada 1#, ambil nada ke-5 dari 0#, posisikan sebagai nada pertama (dari sini didapat G=do), kemudian pada nada ke-7 naikkan setengah nada (biasanya dengan menambahkan imbuhan &#8220;is&#8221; atau tanda &#8216;#&#8217; dibelakangnya). Maka tangga nada 1# adalah: <strong>G &#8211; A &#8211; B &#8211; C &#8211; D &#8211; E &#8211; Fis &#8211; G</strong></p>
<p>Untuk mencari tangga nada 2#, ambil nada ke-5 dari 1# dan posisikan pada nada pertama ( didapat D=do), lalu nada ke-7 naikkan setengah nada. Maka tangga nada 2# adalah: D=do ; <strong>D &#8211; E &#8211; Fis &#8211; G &#8211; A &#8211; B &#8211; Cis &#8211; D<br />
</strong><br />
Proses ini bisa dibilang berlangsung rekursif , dalam artian 3# harus mengambil dari 2# , 4# harus mengambil dari 3#, dan seterusnya.</p>
<p>Maka tangga Nada Kres dalam diatonis mayor:</p>
<p>0# ; C=do : C-D-E-F-G-A-B-C<br />
1# ; G=do : G-A-B-C-D-E-Fis-G<br />
2# ; D=do : D-E-Fis-G-A-B-Cis-D<br />
3# ; A=do : A-B-Cis-D-E-Fis-Gis-A<br />
4# ; E=do : E-Fis-Gis-A-B-Cis-Dis-E<br />
5# ; B=do : B-Cis-Dis-E-Fis-Gis-Ais-B<br />
6# ; Fis=do : Fis-Gis-Ais-B-Cis-Dis-Eis-Fis<br />
7# ; Cis=do : Cis-Dis-Eis-Fis-Gis-Ais-Bis-Cis</p>
<p><em>Tangga Nada Mol (&#8216;b&#8217;) dalam Diatonis Mayor</em></p>
<p>Tanda Mol berfungsi untuk menurunkan sebanyak setengah nada (ini juga kata-katanya Ibu Leidemina Siregar , ^_^ ,makasih ya Bu..). Dalam pencarian tangga nada mol , metode yang digunakan berbeda dengan mencari tangga nada kres.</p>
<p>Dalam tangga nada mol : 0b ; C=do : C &#8211; D &#8211; E &#8211; <strong>F</strong> -G &#8211; A &#8211; B &#8211; C</p>
<p>Untuk mencari 1b, ambil nada ke-4 dari 0b, kemudian nada ke-4 pada 1b diturunkan setengah. Maka tangga nadanya : 1b ; F=do :<strong>F</strong> &#8211; G &#8211; A &#8211; <strong>Bes </strong>- C &#8211; D &#8211; E &#8211; F</p>
<p>Untuk 2b,3b dan seterusnya dapat dicari dengan cara yang sama seperti cara diatas.</p>
<p>0b ; C=do : C-D-E-F-G-A-B-C<br />
1b ; F=do : F-G-A-Bes-C-D-E-F<br />
2b ; Bes=do : Bes-C-D-Es-F-G-A-Bes<br />
3b ; Es=do : Es-F-G-Aes-Bes-C-D-Es<br />
4b ; Aes=do : Aes-Bes-C-Des-Es-F-G-Aes<br />
5b ; Des=do : Des-Es-F-Ges-Aes-Bes-C-Des<br />
6b ; Ges=do : Ges-Aes-Bes-Ces-Des-Es-F-Ges<br />
7b ; Ces=do : Ces-Des-Es-Fes-Ges-Aes-Bes-Ces</p>
<p>2. Diatonis minor</p>
<p>Yang membedakan nada Diatonis minor dan nada Diatonis Mayor adalah jarak not yang berurutan dalam satu tangga nada (interval).Interval pada tangga nada mayor berjarak:<strong> 1 &#8211; 1/2 &#8211; 1 &#8211; 1 &#8211; 1/2 &#8211; 1 &#8211; 1</strong><br />
Contoh, pada A=La (minor mode, menekankan pada nada minor) ; A-B-C-D-E-F-G-A. Jarak interval pada tangga nada tersebut sesuai dengan jarak interval diatas.</p>
<p style="text-align:center;"><img class="size-medium wp-image-50 aligncenter" src="http://ferdidolot.files.wordpress.com/2008/07/200px-circle-of-fifths.png?w=200&#038;h=200" alt="" width="200" height="200" /></p>
<p>Jika kita tinjau pada gambar, terdapat kesamaan antara tangga nada mayor dan minor. Huruf besar berwarna merah menyatakan Mayor, sedangkan huruf kecil berwarna biru menyatakan minor. Nada tangga nada C mayor dianggap sama dengan A minor. Jika kita liat, pembentuk nada dasar C mayor memang sama dengan pembentuk nada A minor. Pada tangga nada minor biasanya ditulis dengan A=La karena memiliki interval yang berbeda dengan tangga nada mayor dan interval pada tangga nada minor mengharuskan agar dimulai dari nada La sehingga syarat interval minor dapat terpenuhi. Oleh karena itu, jika ingin mencari nada minor, cukup mulai dengan nada La pada tangga nada mayor.<br />
Contoh:<br />
4# pada Mayor ; E=do : E-Fis-Gis-A-B-<strong>Cis</strong>-Dis-E<br />
Maka:<br />
4# pada minor ; Cis=do :<strong> Cis</strong>-Dis-E-Fis-Gis-A-B-Cis<br />
Terlihat pada gambar, E dan Cis terdapat dalam 1 area. Silahkan dicoba pada alat musik, implementasinya akan lebih nyata. ^_^.</p>
<p>Mohon Koreksinya Jika ada Kesalahan.<br />
Salam.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ferdidolot.wordpress.com/49/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ferdidolot.wordpress.com/49/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ferdidolot.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ferdidolot.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ferdidolot.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ferdidolot.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ferdidolot.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ferdidolot.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ferdidolot.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ferdidolot.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ferdidolot.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ferdidolot.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ferdidolot.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ferdidolot.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ferdidolot.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ferdidolot.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ferdidolot.wordpress.com&amp;blog=2041221&amp;post=49&amp;subd=ferdidolot&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ferdidolot.wordpress.com/2008/07/05/teori-dasar-diatonis/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Ferdi</media:title>
		</media:content>

		<media:content url="http://ferdidolot.files.wordpress.com/2008/07/200px-circle-of-fifths.png?w=200" medium="image" />
	</item>
	</channel>
</rss>
