<?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>GD's blog</title>
	<atom:link href="http://gdfan1114.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://gdfan1114.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Fri, 30 Oct 2009 06:00:40 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>zh-tw</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='gdfan1114.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/6a8e489d804ac411873037b75eb92c4a?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>GD's blog</title>
		<link>http://gdfan1114.wordpress.com</link>
	</image>
			<item>
		<title>vmware player 3.0 configure network interface mapping</title>
		<link>http://gdfan1114.wordpress.com/2009/10/30/vmware-player-3-0-configure-network-interface-mapping/</link>
		<comments>http://gdfan1114.wordpress.com/2009/10/30/vmware-player-3-0-configure-network-interface-mapping/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 06:00:18 +0000</pubDate>
		<dc:creator>GD</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://gdfan1114.wordpress.com/?p=637</guid>
		<description><![CDATA[vmware player 3.0 released on 2009/10/27. This version allow users to create new virtual machines in vmware player. In previous version, this function is only available in vmware server. By the way, when I used the vmware player 2.x series, I created a new virtual machine through Eazyvmx web site. 
I downloaded this version yesterday, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gdfan1114.wordpress.com&blog=1017581&post=637&subd=gdfan1114&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>vmware player 3.0 released on 2009/10/27. This version allow users to create new virtual machines in vmware player. In previous version, this function is only available in vmware server. By the way, when I used the vmware player 2.x series, I created a new virtual machine through <a href="http://www.easyvmx.com/">Eazyvmx</a> web site. </p>
<p>I downloaded this version yesterday, and I found that there was a vmnetcfg.exe in previous version, but this program do not present in vmware player 3.0. vmnetcfg.exe is a utility that users can use to configure the vmware bridge interface would map to which interface in host OS. This is very useful in the situation that you have multiple network interfaces installed in your host OS.</p>
<p>Actually, the vmnetcfg.exe is included in the vmware player installation package, but you need to know some tip to extract this program from the package. <a href="http://communities.vmware.com/message/1397634">This discussion</a> provide detail steps. thanks the guy ascella provides this method.</p>
<blockquote><p>
1. Run the installer with /e option. For example:<br />
VMware-player-3.0.0-197124.exe /e .\extract<br />
All contents will be extracted to &#8220;extract&#8221; folder.</p>
<p>2. Open &#8220;network.cab&#8221; and copy vmnetcfg.exe to your installation folder,<br />
typically &#8220;C:\Program Files\VMware\VMware Player\&#8221;.
</p></blockquote>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gdfan1114.wordpress.com/637/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gdfan1114.wordpress.com/637/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gdfan1114.wordpress.com/637/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gdfan1114.wordpress.com/637/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gdfan1114.wordpress.com/637/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gdfan1114.wordpress.com/637/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gdfan1114.wordpress.com/637/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gdfan1114.wordpress.com/637/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gdfan1114.wordpress.com/637/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gdfan1114.wordpress.com/637/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gdfan1114.wordpress.com&blog=1017581&post=637&subd=gdfan1114&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://gdfan1114.wordpress.com/2009/10/30/vmware-player-3-0-configure-network-interface-mapping/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0719db81f95a60f1fd971ab80d5dd0c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">GD</media:title>
		</media:content>
	</item>
		<item>
		<title>install array30 ibus input method on Ubuntu 9.10 beta</title>
		<link>http://gdfan1114.wordpress.com/2009/10/05/install-array30-ibs-input-method-on-ubuntu-9-10-beta/</link>
		<comments>http://gdfan1114.wordpress.com/2009/10/05/install-array30-ibs-input-method-on-ubuntu-9-10-beta/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 03:57:15 +0000</pubDate>
		<dc:creator>GD</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://gdfan1114.wordpress.com/?p=634</guid>
		<description><![CDATA[在 ubuntu 9.10 beta 上安裝ibus 的行列輸入法
在 ubuntu 9.10 上，預設的輸入法框架是使用 ibus, 但是 ibus 在安裝完成之後，卻沒有行列輸入法的表格，所以無法使用行列輸入法。
我在 ibus 主網站的Download區 中，看到 array30的table 還是 unstable 版本的，也許這個就是為什麼 ubuntu 還沒有正式加入 ibus-table-array30 這個套件的原因。如果有加入這個套件，要安裝行列輸入法，只要打上 sudo apt-get install ibus-table-array30 就可以安裝好了，但是目前看來要多花幾個步驟才行安裝了。
首先在 ubuntu 中，使用 browser 先下載 array30 的 source code. 另外，確定有安裝 gcc 和 cmake,沒有的話，可以執行 sudo apt-get install cmake build-essential 進行編譯器環境的安裝。
解開下載回來的 tar.gz 檔案，閱讀其中的 INSTALL 檔案，按照上面的步驟進行 array30 的安裝，安裝完之後再重新啟動 ibus 或是重開機，就可以從 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gdfan1114.wordpress.com&blog=1017581&post=634&subd=gdfan1114&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>在 ubuntu 9.10 beta 上安裝ibus 的行列輸入法</p>
<p>在 ubuntu 9.10 上，預設的輸入法框架是使用 ibus, 但是 ibus 在安裝完成之後，卻沒有行列輸入法的表格，所以無法使用行列輸入法。</p>
<p>我在 <a href="http://code.google.com/p/ibus/downloads/list">ibus 主網站的Download區</a> 中，看到 array30的table 還是 unstable 版本的，也許這個就是為什麼 ubuntu 還沒有正式加入 ibus-table-array30 這個套件的原因。如果有加入這個套件，要安裝行列輸入法，只要打上 sudo apt-get install ibus-table-array30 就可以安裝好了，但是目前看來要多花幾個步驟才行安裝了。</p>
<p>首先在 ubuntu 中，使用 browser 先下載 array30 的 source code. 另外，確定有安裝 gcc 和 cmake,沒有的話，可以執行 sudo apt-get install cmake build-essential 進行編譯器環境的安裝。</p>
<p>解開下載回來的 tar.gz 檔案，閱讀其中的 INSTALL 檔案，按照上面的步驟進行 array30 的安裝，安裝完之後再重新啟動 ibus 或是重開機，就可以從 ibus 的設定介面，手動增加行列輸入法了。</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gdfan1114.wordpress.com/634/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gdfan1114.wordpress.com/634/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gdfan1114.wordpress.com/634/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gdfan1114.wordpress.com/634/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gdfan1114.wordpress.com/634/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gdfan1114.wordpress.com/634/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gdfan1114.wordpress.com/634/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gdfan1114.wordpress.com/634/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gdfan1114.wordpress.com/634/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gdfan1114.wordpress.com/634/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gdfan1114.wordpress.com&blog=1017581&post=634&subd=gdfan1114&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://gdfan1114.wordpress.com/2009/10/05/install-array30-ibs-input-method-on-ubuntu-9-10-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0719db81f95a60f1fd971ab80d5dd0c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">GD</media:title>
		</media:content>
	</item>
		<item>
		<title>Browser 在不同 doctype 下運作的模式</title>
		<link>http://gdfan1114.wordpress.com/2009/09/18/browser-%e5%9c%a8%e4%b8%8d%e5%90%8c-doctype-%e4%b8%8b%e9%81%8b%e4%bd%9c%e7%9a%84%e6%a8%a1%e5%bc%8f/</link>
		<comments>http://gdfan1114.wordpress.com/2009/09/18/browser-%e5%9c%a8%e4%b8%8d%e5%90%8c-doctype-%e4%b8%8b%e9%81%8b%e4%bd%9c%e7%9a%84%e6%a8%a1%e5%bc%8f/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 11:58:13 +0000</pubDate>
		<dc:creator>GD</dc:creator>
				<category><![CDATA[網路]]></category>

		<guid isPermaLink="false">http://gdfan1114.wordpress.com/?p=632</guid>
		<description><![CDATA[Activating Browser Modes with Doctype 文章中，說明了 browser 在不同的 doctype 時，會使用的顯示模式，同時還做出了列表，非常棒的參考資料。
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gdfan1114.wordpress.com&blog=1017581&post=632&subd=gdfan1114&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://hsivonen.iki.fi/doctype/">Activating Browser Modes with Doctype</a> 文章中，說明了 browser 在不同的 doctype 時，會使用的顯示模式，同時還做出了列表，非常棒的參考資料。</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gdfan1114.wordpress.com/632/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gdfan1114.wordpress.com/632/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gdfan1114.wordpress.com/632/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gdfan1114.wordpress.com/632/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gdfan1114.wordpress.com/632/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gdfan1114.wordpress.com/632/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gdfan1114.wordpress.com/632/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gdfan1114.wordpress.com/632/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gdfan1114.wordpress.com/632/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gdfan1114.wordpress.com/632/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gdfan1114.wordpress.com&blog=1017581&post=632&subd=gdfan1114&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://gdfan1114.wordpress.com/2009/09/18/browser-%e5%9c%a8%e4%b8%8d%e5%90%8c-doctype-%e4%b8%8b%e9%81%8b%e4%bd%9c%e7%9a%84%e6%a8%a1%e5%bc%8f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0719db81f95a60f1fd971ab80d5dd0c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">GD</media:title>
		</media:content>
	</item>
		<item>
		<title>debugger version Flash player</title>
		<link>http://gdfan1114.wordpress.com/2009/09/02/debugger-vision-flash-player/</link>
		<comments>http://gdfan1114.wordpress.com/2009/09/02/debugger-vision-flash-player/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 12:25:41 +0000</pubDate>
		<dc:creator>GD</dc:creator>
				<category><![CDATA[其他]]></category>

		<guid isPermaLink="false">http://gdfan1114.wordpress.com/?p=629</guid>
		<description><![CDATA[最近在找資料的時候看到的。
若你希望在 flash player 播放時，將一些執行期間中發生的錯誤訊息記錄下來的話，可以到adobe 網站上去下載 debugger version flash player，同時可以參考 Configure the debugger version of Flash Player 這篇文章，設定好你的執行環境，可以使用了。
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gdfan1114.wordpress.com&blog=1017581&post=629&subd=gdfan1114&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>最近在找資料的時候看到的。</p>
<p>若你希望在 flash player 播放時，將一些執行期間中發生的錯誤訊息記錄下來的話，可以到adobe 網站上去下載 <a href="http://www.adobe.com/support/flashplayer/downloads.html">debugger version flash player</a>，同時可以參考 <a href="http://kb2.adobe.com/cps/403/kb403009.html">Configure the debugger version of Flash Player</a> 這篇文章，設定好你的執行環境，可以使用了。</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gdfan1114.wordpress.com/629/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gdfan1114.wordpress.com/629/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gdfan1114.wordpress.com/629/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gdfan1114.wordpress.com/629/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gdfan1114.wordpress.com/629/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gdfan1114.wordpress.com/629/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gdfan1114.wordpress.com/629/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gdfan1114.wordpress.com/629/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gdfan1114.wordpress.com/629/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gdfan1114.wordpress.com/629/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gdfan1114.wordpress.com&blog=1017581&post=629&subd=gdfan1114&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://gdfan1114.wordpress.com/2009/09/02/debugger-vision-flash-player/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0719db81f95a60f1fd971ab80d5dd0c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">GD</media:title>
		</media:content>
	</item>
		<item>
		<title>如何在 wls 上建立 library</title>
		<link>http://gdfan1114.wordpress.com/2009/07/23/%e5%a6%82%e4%bd%95%e5%9c%a8-wls-%e4%b8%8a%e5%bb%ba%e7%ab%8b-library/</link>
		<comments>http://gdfan1114.wordpress.com/2009/07/23/%e5%a6%82%e4%bd%95%e5%9c%a8-wls-%e4%b8%8a%e5%bb%ba%e7%ab%8b-library/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 06:31:26 +0000</pubDate>
		<dc:creator>GD</dc:creator>
				<category><![CDATA[JAVA]]></category>
		<category><![CDATA[筆記]]></category>

		<guid isPermaLink="false">http://gdfan1114.wordpress.com/?p=627</guid>
		<description><![CDATA[想要在 wls 上建立 library, 主要的參考資料是
Creating Shared J2EE Libraries
主要的步驟是建一個 war 檔，修改 MANIFEST.MF 檔案，增加一些特定的屬性，標明這是一個 library ，再 zip 打包起來，就可以 deploy 到機器上了。
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gdfan1114.wordpress.com&blog=1017581&post=627&subd=gdfan1114&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>想要在 wls 上建立 library, 主要的參考資料是<br />
<a href="http://download.oracle.com/docs/cd/E13222_01/wls/docs92/programming/libraries.html#wp1065473">Creating Shared J2EE Libraries</a></p>
<p>主要的步驟是建一個 war 檔，修改 MANIFEST.MF 檔案，增加一些特定的屬性，標明這是一個 library ，再 zip 打包起來，就可以 deploy 到機器上了。</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gdfan1114.wordpress.com/627/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gdfan1114.wordpress.com/627/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gdfan1114.wordpress.com/627/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gdfan1114.wordpress.com/627/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gdfan1114.wordpress.com/627/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gdfan1114.wordpress.com/627/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gdfan1114.wordpress.com/627/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gdfan1114.wordpress.com/627/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gdfan1114.wordpress.com/627/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gdfan1114.wordpress.com/627/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gdfan1114.wordpress.com&blog=1017581&post=627&subd=gdfan1114&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://gdfan1114.wordpress.com/2009/07/23/%e5%a6%82%e4%bd%95%e5%9c%a8-wls-%e4%b8%8a%e5%bb%ba%e7%ab%8b-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0719db81f95a60f1fd971ab80d5dd0c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">GD</media:title>
		</media:content>
	</item>
		<item>
		<title>GNU screen stop/start terminal problem</title>
		<link>http://gdfan1114.wordpress.com/2009/07/16/gnu-screen-stopstart-terminal-problem/</link>
		<comments>http://gdfan1114.wordpress.com/2009/07/16/gnu-screen-stopstart-terminal-problem/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 08:18:39 +0000</pubDate>
		<dc:creator>GD</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://gdfan1114.wordpress.com/?p=625</guid>
		<description><![CDATA[最近在使用 screen 程式時，有時候會不小心按到 ctrl+s 這個 stop terminal 的組合鍵，在一般的 terminal 下，會產生螢幕上的畫面完全暫停，而且不管你輸入什麼按鍵都沒有反應的情況，這個時候，只要按下 ctrl+q 發出 start terminal 的信號，就會回復正常。
但是在這 2 個組合鍵在配合 GNU screen 程式運作時，有時候會發生 按到 ctrl+s 但是再按 ctrl+q ，卻沒有辦法讓 terminal 回復操作模式的情況。
找到可以使用 stty -ixon 指令，停止 terminal 接受 stop/start terminal 信號，讓這 2 個信號不會發生作用，這樣就可以防止這個問題了
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gdfan1114.wordpress.com&blog=1017581&post=625&subd=gdfan1114&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>最近在使用 screen 程式時，有時候會不小心按到 ctrl+s 這個 stop terminal 的組合鍵，在一般的 terminal 下，會產生螢幕上的畫面完全暫停，而且不管你輸入什麼按鍵都沒有反應的情況，這個時候，只要按下 ctrl+q 發出 start terminal 的信號，就會回復正常。</p>
<p>但是在這 2 個組合鍵在配合 GNU screen 程式運作時，有時候會發生 按到 ctrl+s 但是再按 ctrl+q ，卻沒有辦法讓 terminal 回復操作模式的情況。</p>
<p>找到可以使用 stty -ixon 指令，停止 terminal 接受 stop/start terminal 信號，讓這 2 個信號不會發生作用，這樣就可以防止這個問題了</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gdfan1114.wordpress.com/625/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gdfan1114.wordpress.com/625/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gdfan1114.wordpress.com/625/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gdfan1114.wordpress.com/625/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gdfan1114.wordpress.com/625/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gdfan1114.wordpress.com/625/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gdfan1114.wordpress.com/625/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gdfan1114.wordpress.com/625/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gdfan1114.wordpress.com/625/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gdfan1114.wordpress.com/625/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gdfan1114.wordpress.com&blog=1017581&post=625&subd=gdfan1114&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://gdfan1114.wordpress.com/2009/07/16/gnu-screen-stopstart-terminal-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0719db81f95a60f1fd971ab80d5dd0c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">GD</media:title>
		</media:content>
	</item>
		<item>
		<title>DBCP testOnBorrow()</title>
		<link>http://gdfan1114.wordpress.com/2009/07/16/dbcp-testonborrow/</link>
		<comments>http://gdfan1114.wordpress.com/2009/07/16/dbcp-testonborrow/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 08:12:24 +0000</pubDate>
		<dc:creator>GD</dc:creator>
				<category><![CDATA[JAVA]]></category>

		<guid isPermaLink="false">http://gdfan1114.wordpress.com/?p=622</guid>
		<description><![CDATA[最近在使用 Apache DBCP connection pool 時，發現過了一段很長的時間，MySQL 資料庫的連線就會中斷，導致在使用 SQL Query 時，發現查詢發生錯誤。
檢查的結果是 MySQL 的 wait_timeout 參數，預設值是 8 小時，過了 8 小時沒有 sql query，MySQL server 會自動中斷資料庫的連線，但是在 connection pool 這裡，卻不知道 connection 已經中斷，所以在使用這一個 connection 時，會發生錯誤。
目前的解決方法是使用 BasicDataSource 類別提供的 testOnBorrow()，配合設定 validationQuery() 為 SELECT 1，在每次取得 DataSource 時，就會先進行測試，確定資料庫的連線沒有問題之後，才會讓 Application 取得 DataSource。
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gdfan1114.wordpress.com&blog=1017581&post=622&subd=gdfan1114&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>最近在使用 <a href="http://commons.apache.org/dbcp/">Apache DBCP</a> connection pool 時，發現過了一段很長的時間，MySQL 資料庫的連線就會中斷，導致在使用 SQL Query 時，發現查詢發生錯誤。</p>
<p>檢查的結果是 MySQL 的 wait_timeout 參數，預設值是 8 小時，過了 8 小時沒有 sql query，MySQL server 會自動中斷資料庫的連線，但是在 connection pool 這裡，卻不知道 connection 已經中斷，所以在使用這一個 connection 時，會發生錯誤。</p>
<p>目前的解決方法是使用 BasicDataSource 類別提供的 testOnBorrow()，配合設定 validationQuery() 為 SELECT 1，在每次取得 DataSource 時，就會先進行測試，確定資料庫的連線沒有問題之後，才會讓 Application 取得 DataSource。</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gdfan1114.wordpress.com/622/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gdfan1114.wordpress.com/622/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gdfan1114.wordpress.com/622/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gdfan1114.wordpress.com/622/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gdfan1114.wordpress.com/622/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gdfan1114.wordpress.com/622/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gdfan1114.wordpress.com/622/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gdfan1114.wordpress.com/622/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gdfan1114.wordpress.com/622/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gdfan1114.wordpress.com/622/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gdfan1114.wordpress.com&blog=1017581&post=622&subd=gdfan1114&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://gdfan1114.wordpress.com/2009/07/16/dbcp-testonborrow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0719db81f95a60f1fd971ab80d5dd0c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">GD</media:title>
		</media:content>
	</item>
		<item>
		<title>如何預先 compile jsp page</title>
		<link>http://gdfan1114.wordpress.com/2009/06/23/%e5%a6%82%e4%bd%95%e9%a0%90%e5%85%88-compile-jsp-page/</link>
		<comments>http://gdfan1114.wordpress.com/2009/06/23/%e5%a6%82%e4%bd%95%e9%a0%90%e5%85%88-compile-jsp-page/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 06:51:33 +0000</pubDate>
		<dc:creator>GD</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://gdfan1114.wordpress.com/?p=620</guid>
		<description><![CDATA[有時候在進行程式 debug 的時候，會想先進行 jsp page precompile ，先得知是否有錯誤，修正錯誤之後，才正式的執行 jsp 程式。
可能各家不同的 jsp container 會有不同的方式可以預先 compile jsp page，但是在 JAVA Servlet 的標準中，提到可以在 jsp page 後面加上 jsp_precompile 這個參數，讓 container compile jsp page，但是不執行 jsp 程式。
例如：
http://localhost:8080/test.jsp?jsp_precompile
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gdfan1114.wordpress.com&blog=1017581&post=620&subd=gdfan1114&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>有時候在進行程式 debug 的時候，會想先進行 jsp page precompile ，先得知是否有錯誤，修正錯誤之後，才正式的執行 jsp 程式。</p>
<p>可能各家不同的 jsp container 會有不同的方式可以預先 compile jsp page，但是在 JAVA Servlet 的標準中，提到可以在 jsp page 後面加上 jsp_precompile 這個參數，讓 container compile jsp page，但是不執行 jsp 程式。</p>
<p>例如：<br />
http://localhost:8080/test.jsp?jsp_precompile</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gdfan1114.wordpress.com/620/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gdfan1114.wordpress.com/620/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gdfan1114.wordpress.com/620/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gdfan1114.wordpress.com/620/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gdfan1114.wordpress.com/620/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gdfan1114.wordpress.com/620/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gdfan1114.wordpress.com/620/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gdfan1114.wordpress.com/620/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gdfan1114.wordpress.com/620/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gdfan1114.wordpress.com/620/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gdfan1114.wordpress.com&blog=1017581&post=620&subd=gdfan1114&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://gdfan1114.wordpress.com/2009/06/23/%e5%a6%82%e4%bd%95%e9%a0%90%e5%85%88-compile-jsp-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0719db81f95a60f1fd971ab80d5dd0c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">GD</media:title>
		</media:content>
	</item>
		<item>
		<title>將 ubuntu 放在 usb 隨身碟上</title>
		<link>http://gdfan1114.wordpress.com/2009/06/10/%e5%b0%87-ubuntu-%e6%94%be%e5%9c%a8-usb-%e9%9a%a8%e8%ba%ab%e7%a2%9f%e4%b8%8a/</link>
		<comments>http://gdfan1114.wordpress.com/2009/06/10/%e5%b0%87-ubuntu-%e6%94%be%e5%9c%a8-usb-%e9%9a%a8%e8%ba%ab%e7%a2%9f%e4%b8%8a/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 03:50:55 +0000</pubDate>
		<dc:creator>GD</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://gdfan1114.wordpress.com/?p=618</guid>
		<description><![CDATA[按照網路上找的文參考文章資料，我透過 ubuntu 的安裝程式，將ubuntu 安裝在 4G 的隨身碟上。
安裝的過程，就像是一般將 ubuntu 安裝在硬碟上一樣，只是要注意將 grub 安裝在隨身碟所在的磁碟代號上，因為到時候，我們要用隨身碟開機，另外，在安裝過程中，大概因為是寫入很多小檔案到隨身碟上，所以我安裝花費了差不多一個小時半，非常的久。
安裝完成之後，使用隨身碟開機，就可以開始使用 usb 中的 ubuntu 了。
參考文章：如何把ubuntu 7.04(完整Linux系統，非Live CD)裝入隨身碟中(傻瓜必勝版)
目前我做了一些小調整：
1.安裝了 gcin ，因為我用的行列輸入法，在 gcin 上用起來比較順手，scim 的行列在打滿 4 個字根之後，會自動上字，讓用習慣 windows 的我，常常會多按了一次空白鍵，另外 gcin 的簡碼字根和 windows 的比較接近。參考文章 Ubuntu(六) gcin中文輸入法
2.安裝了 pcmanx-gtk，常常上 bbs 的我，當然需要好用的 pcman 了，第一次啟動程式的時候，看到的字都是亂碼，這個只要修改 pcman 使用的字型為 AR PL Kai 就可以顯示中文了
3.如果和 windows 做 dual boot 的話，因為 ubuntu 會把 hardware clock 設為使用 UTC，所以和 taiwan 差 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gdfan1114.wordpress.com&blog=1017581&post=618&subd=gdfan1114&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>按照網路上找的文參考文章資料，我透過 ubuntu 的安裝程式，將ubuntu 安裝在 4G 的隨身碟上。</p>
<p>安裝的過程，就像是一般將 ubuntu 安裝在硬碟上一樣，只是要注意將 grub 安裝在隨身碟所在的磁碟代號上，因為到時候，我們要用隨身碟開機，另外，在安裝過程中，大概因為是寫入很多小檔案到隨身碟上，所以我安裝花費了差不多一個小時半，非常的久。</p>
<p>安裝完成之後，使用隨身碟開機，就可以開始使用 usb 中的 ubuntu 了。<br />
參考文章：<a href="http://www.wretch.cc/blog/billypan101/8891814">如何把ubuntu 7.04(完整Linux系統，非Live CD)裝入隨身碟中(傻瓜必勝版)</a></p>
<p>目前我做了一些小調整：<br />
1.安裝了 gcin ，因為我用的行列輸入法，在 gcin 上用起來比較順手，scim 的行列在打滿 4 個字根之後，會自動上字，讓用習慣 windows 的我，常常會多按了一次空白鍵，另外 gcin 的簡碼字根和 windows 的比較接近。參考文章 <a href="http://gordon168.tw/?p=64">Ubuntu(六) gcin中文輸入法</a></p>
<p>2.安裝了 <a href="http://pcmanx.csie.net/">pcmanx-gtk</a>，常常上 bbs 的我，當然需要好用的 pcman 了，第一次啟動程式的時候，看到的字都是亂碼，這個只要修改 pcman 使用的字型為 AR PL Kai 就可以顯示中文了</p>
<p>3.如果和 windows 做 dual boot 的話，因為 ubuntu 會把 hardware clock 設為使用 UTC，所以和 taiwan 差 8 個小時，如果開機回 windows 就會看到時間亂了，方法是修改 /etc/default/rcS，參考文章 <a href="https://help.ubuntu.com/community/UbuntuTime">Ubuntu Time Management</a></p>
<p>4.因為將 ubuntu 安裝在隨身碟中，要修改一下系統的設定，讓系統不要頻繁的讀寫隨身碟，延長隨身碟的壽命，可以參考文件 <a href="http://dp.tsh.ttu.edu.tw/tshweblog/post/82/1655">安裝 Ubuntu 到 USB 隨身碟中</a> 進行修改，把一些資料放到 tmpfs (ramdisk) 中</p>
<p>5.可以直接透過 ubuntu 掛載 NTFS 的分割區，所以之前在 windows 上的資料都可以讀/寫，非常的方便，所以 ubuntu 的 live cd 也可當作是 windows 的救援光碟來使用，在系統掛點的時候，可以把 windows 中的資料備份出來。</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gdfan1114.wordpress.com/618/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gdfan1114.wordpress.com/618/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gdfan1114.wordpress.com/618/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gdfan1114.wordpress.com/618/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gdfan1114.wordpress.com/618/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gdfan1114.wordpress.com/618/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gdfan1114.wordpress.com/618/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gdfan1114.wordpress.com/618/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gdfan1114.wordpress.com/618/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gdfan1114.wordpress.com/618/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gdfan1114.wordpress.com&blog=1017581&post=618&subd=gdfan1114&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://gdfan1114.wordpress.com/2009/06/10/%e5%b0%87-ubuntu-%e6%94%be%e5%9c%a8-usb-%e9%9a%a8%e8%ba%ab%e7%a2%9f%e4%b8%8a/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0719db81f95a60f1fd971ab80d5dd0c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">GD</media:title>
		</media:content>
	</item>
		<item>
		<title>家裡水管漏水修理</title>
		<link>http://gdfan1114.wordpress.com/2009/05/24/%e5%ae%b6%e8%a3%a1%e6%b0%b4%e7%ae%a1%e6%bc%8f%e6%b0%b4%e4%bf%ae%e7%90%86/</link>
		<comments>http://gdfan1114.wordpress.com/2009/05/24/%e5%ae%b6%e8%a3%a1%e6%b0%b4%e7%ae%a1%e6%bc%8f%e6%b0%b4%e4%bf%ae%e7%90%86/#comments</comments>
		<pubDate>Sun, 24 May 2009 13:20:01 +0000</pubDate>
		<dc:creator>GD</dc:creator>
				<category><![CDATA[心情札記]]></category>

		<guid isPermaLink="false">http://gdfan1114.wordpress.com/?p=616</guid>
		<description><![CDATA[家裡的埋在地下的水管，不知道哪裡有漏水，漏出來的水會滲到一樓去，老爸終於下定決心，請人來把地板挖開來，找看看哪裡漏水了
今天工人在家裡忙了一天，總算是找到漏水的點，重新接過水管，希望完全解決這個漏水的問題了。
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gdfan1114.wordpress.com&blog=1017581&post=616&subd=gdfan1114&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>家裡的埋在地下的水管，不知道哪裡有漏水，漏出來的水會滲到一樓去，老爸終於下定決心，請人來把地板挖開來，找看看哪裡漏水了</p>
<p>今天工人在家裡忙了一天，總算是找到漏水的點，重新接過水管，希望完全解決這個漏水的問題了。</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gdfan1114.wordpress.com/616/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gdfan1114.wordpress.com/616/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gdfan1114.wordpress.com/616/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gdfan1114.wordpress.com/616/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gdfan1114.wordpress.com/616/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gdfan1114.wordpress.com/616/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gdfan1114.wordpress.com/616/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gdfan1114.wordpress.com/616/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gdfan1114.wordpress.com/616/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gdfan1114.wordpress.com/616/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gdfan1114.wordpress.com&blog=1017581&post=616&subd=gdfan1114&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://gdfan1114.wordpress.com/2009/05/24/%e5%ae%b6%e8%a3%a1%e6%b0%b4%e7%ae%a1%e6%bc%8f%e6%b0%b4%e4%bf%ae%e7%90%86/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0719db81f95a60f1fd971ab80d5dd0c6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">GD</media:title>
		</media:content>
	</item>
	</channel>
</rss>