<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6872743</id><updated>2011-10-11T04:02:38.691-05:00</updated><title type='text'>Henry Chen</title><subtitle type='html'>Where there is a will, there's a way...&lt;br&gt;
Life is not about knowledge, it is about action.&lt;br&gt;
自古不谋万世者,不足谋一时；不谋全局者，不足谋一域。</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>41</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6872743.post-111240859768213871</id><published>2005-04-01T20:23:00.000-06:00</published><updated>2005-04-01T20:23:17.683-06:00</updated><title type='text'>jTDS JDBC driver</title><content type='html'>I was using MS jdbc driver for hibernate and encountered an "cannot re-read" error when performing query. Google it, found it is a microsoft bug. Recommended jdbc driver is jTDS, the most performanced one. The company just contribute it to SourceForge.&lt;br /&gt;&lt;br /&gt;NOTE: setting in the jdbc, example&lt;br /&gt;&lt;br /&gt;jdbc.driverClassName=net.sourceforge.jtds.jdbc.Driver&lt;br /&gt;jdbc.url=jdbc:jtds:sqlserver://hchen:1433;DatabaseName=SGMDB&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-111240859768213871?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/111240859768213871/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=111240859768213871' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111240859768213871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111240859768213871'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/04/jtds-jdbc-driver.html' title='jTDS JDBC driver'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-111240857129151448</id><published>2005-04-01T20:22:00.000-06:00</published><updated>2005-04-01T20:22:51.290-06:00</updated><title type='text'></title><content type='html'>I was using MS jdbc driver for hibernate and encountered an "cannot re-read" error when performing query. Google it, found it is a microsoft bug. Recommended jdbc driver is jTDS, the most performanced one. The company just contribute it to SourceForge.&lt;br /&gt;&lt;br /&gt;NOTE: setting in the jdbc, example&lt;br /&gt;&lt;br /&gt;jdbc.driverClassName=net.sourceforge.jtds.jdbc.Driver&lt;br /&gt;jdbc.url=jdbc:jtds:sqlserver://hchen:1433;DatabaseName=SGMDB&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-111240857129151448?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/111240857129151448/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=111240857129151448' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111240857129151448'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111240857129151448'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/04/i-was-using-ms-jdbc-driver-for.html' title=''/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-111210508156267213</id><published>2005-03-29T08:04:00.000-06:00</published><updated>2005-03-29T08:04:41.563-06:00</updated><title type='text'>Log4j.properties </title><content type='html'>To run tomcat in Eclipse enviroment, the Log4j.properties file has to be put under the /WEB-INF/classes folder directly. Have a classpath pointed to the file in eclipse has no use.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-111210508156267213?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/111210508156267213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=111210508156267213' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111210508156267213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111210508156267213'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/03/log4jproperties.html' title='Log4j.properties '/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-111170686624006583</id><published>2005-03-24T17:27:00.000-06:00</published><updated>2005-03-24T17:27:46.240-06:00</updated><title type='text'>Name based Virtual host on IIS6</title><content type='html'>To do this, we need:&lt;br /&gt;&lt;br /&gt;1.  Create a new website with the wizard.&lt;br /&gt;2.  When asked for an IP address, specify one that is already being used by other website, say www.domain.com.&lt;br /&gt;3   When asked for the host header, enter the www.domain2.com of the site.&lt;br /&gt;&lt;br /&gt;Now we can have both www.domain.com and www.domain2.com accessed at the same ip address.&lt;br /&gt;Note: The key is the "host header". It can be changed by clicking on "Advanced" to the right of the IP address.  &lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-111170686624006583?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/111170686624006583/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=111170686624006583' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111170686624006583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111170686624006583'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/03/name-based-virtual-host-on-iis6.html' title='Name based Virtual host on IIS6'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-111155065408092324</id><published>2005-03-22T22:04:00.000-06:00</published><updated>2005-03-22T22:17:24.286-06:00</updated><title type='text'>Character Encoding in Tapestry</title><content type='html'>I need to output CHinese on webpage and gb2312 is required. I was testing for a night and didn't find a way to do this untill I saw &lt;a href="http://mail-archives.eu.apache.org/mod_mbox/jakarta-tapestry-user/200410.mbox/%3c008301c4b0f8$de3faef0$8d00a8c0@mindbridge%3e"&gt;this&lt;/a&gt; post on mailinglist.&lt;br /&gt;&lt;br /&gt;In short, should add something like this:&lt;br /&gt;&lt;br /&gt;&lt;property name="org.apache.tapestry.template-encoding" value="UTF-8"/&gt;&lt;br /&gt;&lt;br /&gt;to the .application file or to the relevant .page files and the templateswould use the UTF-8 encoding.&lt;br /&gt;&lt;br /&gt;and then extends BasePage like this:&lt;br /&gt;&lt;br /&gt;    public IMarkupWriter getResponseWriter(OutputStream out) {&lt;br /&gt;        HTMLWriter writer = new HTMLWriter("text/html; charset=GB2312",&lt;br /&gt;                out);&lt;br /&gt;        //getPage().getEngine().setLocale(Locale.CHINESE);&lt;br /&gt;        return writer;&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;&lt;a href="http://jakarta.apache.org/tapestry/doc/TapestryUsersGuide/configuration.character-sets.html"&gt;Encoding&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-111155065408092324?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/111155065408092324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=111155065408092324' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111155065408092324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111155065408092324'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/03/character-encoding-in-tapestry.html' title='Character Encoding in Tapestry'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-111152746745600966</id><published>2005-03-22T15:37:00.000-06:00</published><updated>2005-03-22T15:49:49.400-06:00</updated><title type='text'>Recover SVN</title><content type='html'>When accessing SVN, froze and no response. Shutdown the service didn't help. Do this:&lt;br /&gt;&lt;br /&gt;1. Shutdown apache2, svnserver.&lt;br /&gt;2. svnadmin recover REPOS_PATH&lt;br /&gt;3. Finally if you don't change the permission of REPOS_PAH/db to apache:apache. You got the following:&lt;br /&gt;&lt;br /&gt;svn: Berkeley DB error while opening environment for filesystem /var/svn/buzzsponge-dev/db:&lt;br /&gt;Permission denied&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-111152746745600966?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/111152746745600966/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=111152746745600966' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111152746745600966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111152746745600966'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/03/recover-svn.html' title='Recover SVN'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-111152258177910792</id><published>2005-03-22T14:16:00.000-06:00</published><updated>2005-03-22T14:16:21.780-06:00</updated><title type='text'>MSSQL install </title><content type='html'>I was struggling for a whole day to get MS SQL DEV installed on my machine. The processes were run but with no reponse. After shutdown the services one by one, finally got the source of the problem. It is caused by an IBM service QCTray. After terminating this service, the installer ran successfully.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-111152258177910792?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/111152258177910792/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=111152258177910792' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111152258177910792'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111152258177910792'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/03/mssql-install.html' title='MSSQL install '/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-111151432325261403</id><published>2005-03-22T11:58:00.000-06:00</published><updated>2005-03-22T11:58:43.253-06:00</updated><title type='text'>Reverse DNS </title><content type='html'>I knew today that if the mailserver don't have reserse DNS resolve for ip address. Most ISP will refuse the emails sent by it. My server is of this kind. &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-111151432325261403?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/111151432325261403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=111151432325261403' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111151432325261403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111151432325261403'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/03/reverse-dns.html' title='Reverse DNS '/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-111144154706864242</id><published>2005-03-21T15:45:00.000-06:00</published><updated>2005-03-21T15:45:47.070-06:00</updated><title type='text'>SQL server problem</title><content type='html'>I installed/reinstalled MSSQl 2000 developer Edition for 3 times with the following error every time.&lt;br /&gt;&lt;br /&gt;Encountered an unexpected error while checking the sector size for file 'd:\Microsoft SQL Server\MSSQL\data\tempdb.mdf'.&lt;br /&gt;&lt;br /&gt;Finally found the problem is the permission. System and administrators should be assigned to the installation folder with full access permission. MS explains &lt;a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;Q313702"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-111144154706864242?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/111144154706864242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=111144154706864242' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111144154706864242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111144154706864242'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/03/sql-server-problem.html' title='SQL server problem'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-111142041423091223</id><published>2005-03-21T09:53:00.000-06:00</published><updated>2005-03-21T09:53:34.230-06:00</updated><title type='text'>Uninstalling MSSQL</title><content type='html'>appwiz.cpl failed to use uninstall MSSQL. Have to do it manually. Besides all the files under the installation folder. We also need to delete some entries in registry:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer&lt;br /&gt;2. HKEY_LOCAL_MACHINES\System\CurrentControlSet\Services\MSDTC &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-111142041423091223?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/111142041423091223/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=111142041423091223' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111142041423091223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111142041423091223'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/03/uninstalling-mssql.html' title='Uninstalling MSSQL'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-111090572125476506</id><published>2005-03-15T10:55:00.000-06:00</published><updated>2005-03-15T10:55:21.253-06:00</updated><title type='text'>Backup all database on SQLserver</title><content type='html'>I found the sp below is useful. Originated from &lt;a href="http://sqljunkies.com/WebLog/roman/archive/2005/01/13/6280.aspx"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;USE master&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;CREATE PROCEDURE sp_QuickBackup&lt;br /&gt;AS&lt;br /&gt;EXEC sp_MSForEachDB  'IF ''?'' &lt;&gt; ''tempdb'' BACKUP DATABASE [?] TO&lt;br /&gt;    DISK = ''c:\SQL Backups\?.bak'''&lt;br /&gt;GO&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-111090572125476506?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/111090572125476506/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=111090572125476506' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111090572125476506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111090572125476506'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/03/backup-all-database-on-sqlserver.html' title='Backup all database on SQLserver'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-111084521952921056</id><published>2005-03-14T18:06:00.000-06:00</published><updated>2005-03-14T18:06:59.530-06:00</updated><title type='text'>SMTP problem</title><content type='html'>Can't send any email out on ChinaAutoMarket mail server. Windows event shows things like this:&lt;br /&gt;&lt;br /&gt;由于原因 Unable to bind to the destination server in DNS. &lt;br /&gt;，向远程域 'gmail.com' 传递邮件失败。 &lt;br /&gt;&lt;br /&gt;Seeking reason and solution...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-111084521952921056?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/111084521952921056/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=111084521952921056' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111084521952921056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111084521952921056'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/03/smtp-problem.html' title='SMTP problem'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-111067012855832653</id><published>2005-03-12T17:28:00.000-06:00</published><updated>2005-03-12T22:38:01.383-06:00</updated><title type='text'>Unicode problem for MySQL clients</title><content type='html'>After trying various MySQL client tools such as &lt;a href="http://www.navicat.com/"&gt;Navicat&lt;/a&gt;, &lt;a href="http://www.webyog.com/index.php"&gt;sqlyog&lt;/a&gt; and &lt;a href="http://www.mysql.com/products/mysqlcc/"&gt;MySQL Control Center&lt;/a&gt;, to my supprise, none of them supports UTF8 completely. Finally I tried phpMyAdmin and it displayed All chinese utf8 characters correctly, inserts are correctly done too.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Import data from Access2002 via MyODBC3.51 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Texts in Access are store as unicode but turned into latin1 after import. &lt;br /&gt;2. Migration from latin1 to utf8:&lt;br /&gt;(a) Alter table xxx character set GBK; (The content saved in latin1 field is actually GBK encoded. --don't know why)&lt;br /&gt;(b) Alter table xxx modify column1 varbinary(40);&lt;br /&gt;   or Alter table xxx modify column1 binary(40);&lt;br /&gt;   or Alter table xxx modify column1 blob;&lt;br /&gt;   (because no conversion is done when change from/to binary data)&lt;br /&gt;(c) Alter table xxx modify column1 varchar(40) character set GBK; or else...&lt;br /&gt;(d) Repeat step (b)&amp;(c) with all other text columns (char, varchar, text)&lt;br /&gt;(c) Alter table xxx convert to character set utf8; (We need to convert GBK to utf8)&lt;br /&gt;&lt;br /&gt;This is very lengthy and boring. I hope there is some other smarter conversion from access to MySQL 4.1 out there.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-111067012855832653?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/111067012855832653/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=111067012855832653' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111067012855832653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111067012855832653'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/03/unicode-problem-for-mysql-clients.html' title='Unicode problem for MySQL clients'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-111057984706077356</id><published>2005-03-11T16:24:00.000-06:00</published><updated>2005-03-11T16:58:16.603-06:00</updated><title type='text'>Runtime</title><content type='html'>For windows:&lt;br /&gt;need to add "cmd /c"&lt;br /&gt;Runtime.getRuntime().exec("cmd /c dir /s")&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-111057984706077356?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/111057984706077356/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=111057984706077356' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111057984706077356'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111057984706077356'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/03/runtime.html' title='Runtime'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-111049590492743888</id><published>2005-03-10T17:05:00.000-06:00</published><updated>2005-03-10T17:30:52.926-06:00</updated><title type='text'>IIS time logging</title><content type='html'>Time found in IIS W3C log file is set to GMT. So AWstats shows logs in GMT, very weird. Google it, find the explanation &lt;a href="http://awstats.sourceforge.net/docs/awstats_faq.html"&gt;here&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;br /&gt;FAQ-COM300 : DIFFERENCE BETWEEN LOCAL HOURS AND AWSTATS REPORTED HOURS&lt;br /&gt;PROBLEM:&lt;br /&gt;I use IIS and there's a difference between local hour and AWStats reported hour. For example I made a hit on a page at 4:00 and AWStats report I hit it at 2:00.&lt;br /&gt;SOLUTION:&lt;br /&gt;This is not a problem of time in your local client host. AWStats use only time reported in logs by your server and all time are related to server hour. The problem is that IIS in some foreign versions puts GMT time in its log file (and not local time). So, you have also GMT time in your statistics.&lt;br /&gt;You can wait that Microsoft change this in next IIS versions. However, Microsoft sheet Q271196 "IIS Log File Entries Have the Incorrect Date and Time Stamp" says:&lt;br /&gt;The selected log file format is the W3C Extended Log File Format. The extended log file format is defined in the W3C Working Draft WD-logfile-960323 specification by Phillip M. Hallam-Baker and Brian Behlendorf. This document defines the Date and Time files to always be in GMT. This behavior is by design.&lt;br /&gt;So this means this way of working might never be changed, so another chance is to use the AWStats plugin 'timezone'. Warning, this plugin need the perl module Time::Local and it reduces seriously AWStats speed.&lt;br /&gt;To enable the plugin, uncomment the following line in your config file.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;font color=red&gt;LoadPlugin="timezone TZ"&lt;/font&gt;&lt;/span&gt;&lt;br /&gt;where TZ is value of your signed timezone (+2 for Paris, -8 for ...)&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-111049590492743888?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/111049590492743888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=111049590492743888' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111049590492743888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111049590492743888'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/03/iis-time-logging.html' title='IIS time logging'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-111049115745614030</id><published>2005-03-10T15:45:00.000-06:00</published><updated>2005-03-10T15:45:57.456-06:00</updated><title type='text'>AWStats</title><content type='html'>Get &lt;a href="http://awstats.sourceforge.net/#DOWNLOAD"&gt;AWStats&lt;/a&gt; Installed. But when tried to parse log from IIS, all entries were dropped. Finally found the reason is wrong sequence in "LogFormat" directive in the .conf file. Can't just c&amp;p the setting from the installation guide. The sequence is identified at the top of the log file that IIS created.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-111049115745614030?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/111049115745614030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=111049115745614030' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111049115745614030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111049115745614030'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/03/awstats.html' title='AWStats'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-111041367216192535</id><published>2005-03-09T18:14:00.000-06:00</published><updated>2005-03-10T08:19:11.790-06:00</updated><title type='text'>ACCESS -&gt; MySQL</title><content type='html'>Use MySQL ODBC connector to do this. Very smooth. But one problem.&lt;br /&gt; &lt;br /&gt;If I create the MySQL database as utf8, then each Chinese character being takes 4-bytes space. UTF8 use 3-bytes for Chinese character, that is weird. But if the MySQL database is created using default (latin1). Then each Chinese character takes 2 bytes. in both cases, they are correctly displayed in mysql client tool.&lt;br /&gt;&lt;br /&gt;Finally I found the problem is because myodbc-3.51 doesn't support Unicode yet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-111041367216192535?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/111041367216192535/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=111041367216192535' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111041367216192535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111041367216192535'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/03/access-mysql.html' title='ACCESS -&gt; MySQL'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-111041256910240875</id><published>2005-03-09T17:56:00.000-06:00</published><updated>2005-03-09T17:56:09.103-06:00</updated><title type='text'>MySQL UTF8</title><content type='html'>Character set problem again!&lt;br /&gt;&lt;br /&gt;I think MySQL 4.1 does a really good job in character set issue. But I think the documentation can be better. I understand the concept of character_set_client, character_set_connection, character_set_results. But it doesn't work on me. Here is what I've tried out.&lt;br /&gt;&lt;br /&gt;Default_character_set = utf8&lt;br /&gt;(1) Enter mysql prompt, do nothing, select a table. The Chinese characters are shown corrrectly. No matter the character_set of the database is set to utf8 or the default latin1&lt;br /&gt;&lt;br /&gt;(2)mysql&gt; set NAMES utf8; (or set character_set_client= utf8; set character_set_connection= utf8; set character_set_result= utf8)&lt;br /&gt;    mysql&gt; select * from comp_type;&lt;br /&gt;&lt;br /&gt;All Chinese characters are corrupted.&lt;br /&gt;&lt;br /&gt;(3) set NAMES utf8;&lt;br /&gt;     set character_set_result= latin1;&lt;br /&gt;&lt;br /&gt;All Chinese are correctly shown.&lt;br /&gt;&lt;br /&gt;Here is the &lt;a href="http://dev.mysql.com/doc/mysql/en/charset-connection.html"&gt;explaination&lt;/a&gt; of character set from MySQL website.&lt;br /&gt;Why this happens?&lt;br /&gt;&lt;br /&gt;This doesn't really hurt because I can use latin1 instead of utf8(the database is still utf8) but just don't understand. :(&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-111041256910240875?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/111041256910240875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=111041256910240875' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111041256910240875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111041256910240875'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/03/mysql-utf8.html' title='MySQL UTF8'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-111041182146831489</id><published>2005-03-09T17:43:00.000-06:00</published><updated>2005-03-09T17:43:41.466-06:00</updated><title type='text'>Upgrading chinaautomarket.com</title><content type='html'>Now have to spend some time to think about replacing the outdated access database for chinaautomarket.com. I first migrated the whole database to MSSQL, but the performance is shocking--slow! I don't know where the problem is. I built the nonclustered indexes for tables. But it didn't help much. The database is about 300M big, the biggest table is about 120M, when I do a full text search in sql analyzer, it took me over 30 seconds constantly! I have 1G memory on that server and the memory usage was at around 800M. Then I tried mysql 4.1 on the same machine, it is better but still far away from satisfaction - about 20s. I tried it on my desktop at home. The speed was amazing - less than 1 sec. I'm so confused. WHy? I used the smallest configuration -64M memory for MySQL. I 'm going to try more and see why it differs this much.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-111041182146831489?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/111041182146831489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=111041182146831489' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111041182146831489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/111041182146831489'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/03/upgrading-chinaautomarketcom.html' title='Upgrading chinaautomarket.com'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-110936408845363308</id><published>2005-02-25T14:41:00.000-06:00</published><updated>2005-02-25T14:41:28.453-06:00</updated><title type='text'></title><content type='html'>自古不谋万世者,不足谋一时；不谋全局者，不足谋一域。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-110936408845363308?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/110936408845363308/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=110936408845363308' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110936408845363308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110936408845363308'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/02/blog-post_25.html' title=''/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-110911680045934706</id><published>2005-02-22T18:00:00.000-06:00</published><updated>2005-02-22T18:00:45.216-06:00</updated><title type='text'>IIS</title><content type='html'>&lt;span style="font-weight:bold;"&gt;1. In order to use ssi on IIS for .html and .htm, have to do the following:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; - Start up Internet Service Manager&lt;br /&gt; - Select the web site you want to do the processing on&lt;br /&gt; - Right click on it and select Properties&lt;br /&gt; - Select Home Directory&lt;br /&gt; - If necessary, create an application&lt;br /&gt; - Press Configuration&lt;br /&gt; - Select .shtml and press Edit&lt;br /&gt; - Copy down the information in the dialog&lt;br /&gt; - Press Cancel&lt;br /&gt; - Press Add&lt;br /&gt; - Use the file extension .htm and .html, use all the other information that you copied down&lt;br /&gt; - Restart IIS for good measure&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-110911680045934706?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/110911680045934706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=110911680045934706' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110911680045934706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110911680045934706'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/02/iis.html' title='IIS'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-110901328592435008</id><published>2005-02-21T13:14:00.000-06:00</published><updated>2005-02-21T14:25:13.496-06:00</updated><title type='text'>Gentoo update</title><content type='html'>&lt;span style="font-weight:bold;"&gt;1. php 5 can't compile due to GCC 3.5&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;grep: /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory&lt;br /&gt;/bin/sed: can't read /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory&lt;br /&gt;libtool: link: `/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.la' is not a valid libtool archive&lt;br /&gt;make: *** [libphp5.la] Error 1&lt;br /&gt;make: *** Waiting for unfinished jobs....&lt;br /&gt;libtool: link: cannot find the library `/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.la'&lt;br /&gt;make: *** [sapi/cli/php] Error 1&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Fix it: &lt;br /&gt;fix_libtool_files.sh 3.3.4&lt;br /&gt;or&lt;br /&gt;gcc-config 1&lt;br /&gt;&lt;br /&gt;Related discussion &lt;a href="http://forums.gentoo.org/viewtopic.php?t=278673"&gt;here.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2. Can't merge mailbase&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt; * Checking for possible file collisions...&lt;br /&gt; * //etc/pam.d/pop3 exists and wasn't provided by mailbase&lt;br /&gt; * //etc/pam.d/imap exists and wasn't provided by mailbase&lt;br /&gt;&lt;br /&gt; * Those files listed above have to be removed in order to&lt;br /&gt; *  install this version of mailbase.&lt;br /&gt;&lt;br /&gt; * If you edited them, remember to backup and when restoring make&lt;br /&gt; *  sure the first line in each file is:&lt;br /&gt; * # Provided by mailbase (dont remove this line!)&lt;br /&gt;&lt;br /&gt;!!! ERROR: net-mail/mailbase-0.00-r8 failed.&lt;br /&gt;!!! Function pkg_setup, Line 50, Exitcode 0&lt;br /&gt;!!! Can't be installed, files will collide&lt;br /&gt;!!! If you need support, post the topmost build error, NOT this status message.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Realted discussion &lt;a href="http://forums.gentoo.org/viewtopic-t-297107-highlight-error+netmail+mailbase0+00r8.html"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-110901328592435008?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/110901328592435008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=110901328592435008' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110901328592435008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110901328592435008'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/02/gentoo-update.html' title='Gentoo update'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-110852017338180303</id><published>2005-02-15T20:16:00.000-06:00</published><updated>2005-02-15T20:16:44.816-06:00</updated><title type='text'>Oh My God!</title><content type='html'>Just talked to my friend in &lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;China &lt;/span&gt;and mentioned my blog. Now matter how he tried, he cant visit my blog, not only mine, none of the whole Google Blogger. It seems the IP address is blocked by the govenment. Damn it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-110852017338180303?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/110852017338180303/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=110852017338180303' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110852017338180303'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110852017338180303'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/02/oh-my-god.html' title='Oh My God!'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-110851820518103218</id><published>2005-02-15T19:43:00.000-06:00</published><updated>2005-02-15T19:52:11.423-06:00</updated><title type='text'>Nokia + Microsoft</title><content type='html'>&lt;a href="http://www.nytimes.com/2005/02/15/technology/15music.html?ex=1266210000&amp;en=ec148cebfbb18fbf&amp;amp;ei=5088&amp;amp;partner=rssnyt"&gt;Nokia Makes Deal to Use Microsoft's Music Formats&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Nokia Makes Deal to Use Microsoft's Music Formats. They are gonna use it on their mobilephones. This reminds us that the multimedia age of mobile devices has arrived. Both Audio or Video content will spread around on our cellphones. For young people, it would be exciting to send a self made audio/video over internet to their significants' cellphone.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-110851820518103218?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/110851820518103218/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=110851820518103218' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110851820518103218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110851820518103218'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/02/nokia-microsoft.html' title='Nokia + Microsoft'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-110841928560911807</id><published>2005-02-14T16:14:00.000-06:00</published><updated>2005-02-14T16:14:45.610-06:00</updated><title type='text'>CTUAAA 2005</title><content type='html'>2005 Chiao-Tung University North America Alumni Association (CTUAAA) 2005 Reunion in Chicago&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.ctuaaa.org/2005reunion/2005reunion.asp"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It seems the organizer is from Taiwan?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-110841928560911807?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/110841928560911807/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=110841928560911807' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110841928560911807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110841928560911807'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/02/ctuaaa-2005.html' title='CTUAAA 2005'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-110841916909932974</id><published>2005-02-14T16:12:00.000-06:00</published><updated>2005-02-14T16:12:49.100-06:00</updated><title type='text'>CW will text you your voicemails</title><content type='html'>&lt;a href="http://www.theregister.co.uk/2005/02/14/carphone_talking_voicemail/"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is very good idea! Just not sure how they fix the accuracy and performance problem. Maybe it could be better if it is sent to email.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-110841916909932974?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/110841916909932974/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=110841916909932974' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110841916909932974'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110841916909932974'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/02/cw-will-text-you-your-voicemails.html' title='CW will text you your voicemails'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-110806737312642982</id><published>2005-02-10T14:29:00.000-06:00</published><updated>2005-02-10T14:30:16.370-06:00</updated><title type='text'>Wallop</title><content type='html'>Just got a refer from my friend and tried Microsoft &lt;a href="http://mywallop.com"&gt;wallop &lt;/a&gt;out. It is fancy. The look and feel and the effects when you click and move your mouse. But more supprisingly, I found everything is Flash! It's unbelievable and remove all my excitements. Hmm...Microsoft should develop their own way...no activeX. Maybe they realize it is too dangerous.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-110806737312642982?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/110806737312642982/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=110806737312642982' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110806737312642982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110806737312642982'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/02/wallop.html' title='Wallop'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-110805472517056129</id><published>2005-02-10T10:58:00.000-06:00</published><updated>2005-02-10T11:07:17.803-06:00</updated><title type='text'>Apache URL</title><content type='html'>Avoid case sensitive in URL:&lt;br /&gt;&lt;br /&gt;For Gentoo,&lt;br /&gt;1. First make sure in /etc/apache2/conf/apache2.conf, mod_speling.so is loaded that is:&lt;br /&gt;&lt;br /&gt;   LoadModule speling_module                modules/mod_speling.so&lt;br /&gt;&lt;br /&gt;2. In /etc/apache2/conf/commonapache2.conf, add the following&lt;br /&gt;  &lt;br /&gt;    CheckSpelling        on&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It will disable case sensitive in URL and check the spelling as well. This will slow down apache too.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-110805472517056129?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/110805472517056129/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=110805472517056129' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110805472517056129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110805472517056129'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/02/apache-url.html' title='Apache URL'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-110788671960912509</id><published>2005-02-08T12:18:00.000-06:00</published><updated>2005-02-08T12:18:39.610-06:00</updated><title type='text'>鸡年快乐！</title><content type='html'>上午给家里打了一个小时的电话，给GF打了一个小时的电话。发现线路居然完全没有我想象中的拥挤。在北京时间12点左右打得，先试了OneSuite,接入号码都打不进去，试了几次以后改用擎天电讯，拨了三次就通了。看来擎天的质量确实不错。春节大家都挺无聊的。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-110788671960912509?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/110788671960912509/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=110788671960912509' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110788671960912509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110788671960912509'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/02/blog-post.html' title='鸡年快乐！'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-110788590408646431</id><published>2005-02-08T12:05:00.000-06:00</published><updated>2005-02-08T12:05:04.086-06:00</updated><title type='text'>Digital Painting</title><content type='html'>Put LCD in a wood frame and show people art works. Sounds like ridiculous but people are now trying to push it to the market. I saw the  samples today in a Focus group. It looks not bad. Much better than I've imagined. But a little bit pricier, $1500 for a 19 inches big "picture", and picture is charged at $100 for each (Photo format is proprietary and protected by copy rights). They now use flash memory to hold the picture, one for each. In the future they want to network them and management of hotel or such can replace the hanging pictures without physically moving them. &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-110788590408646431?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/110788590408646431/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=110788590408646431' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110788590408646431'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110788590408646431'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/02/digital-painting.html' title='Digital Painting'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-110771536224457592</id><published>2005-02-06T13:42:00.000-06:00</published><updated>2005-02-06T12:46:14.833-06:00</updated><title type='text'>Acegi Authentication</title><content type='html'>Thanks for Matt Raible's comment which pointed me to Acegi. When I was reading &lt;a href="http://www.javalobby.org/articles/acegisecurity/part1.jsp"&gt;Securing Your Java Applications - Acegi Security Style&lt;/a&gt;, I found and browsed to the author - Matthew E. Porter's company's website. To my suprise, a window poped up and Matt said hello to me when I was reading their solution. He is a great guy and we talked about the Acegi solution - his company is using it on internal system and customer portal. I had a question on How to authenticate using existed user db. He said Acegi can do such by implementing AthenticationDAO. It is very helpful. Seems I have to pick up Acegi now. He sponsors the &lt;a href="http://forums.springframework.org/"&gt;Forums of Acegi&lt;/a&gt;.  And his &lt;a href="http://www.porterhome.com/blog/matthew"&gt;Blogger.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-110771536224457592?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/110771536224457592/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=110771536224457592' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110771536224457592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110771536224457592'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/02/acegi-authentication.html' title='Acegi Authentication'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-110766958607560011</id><published>2005-02-05T23:59:00.000-06:00</published><updated>2005-02-05T23:59:46.076-06:00</updated><title type='text'>Happy Chinese Luna New Year!</title><content type='html'>今天在朱涛家里吃晚饭，算是年夜饭了:)&lt;br /&gt;还有两个浙江公派出来到IIT读MPA(Master of Public Admistration)的朋友。聊得挺开心。发现现在国内做美国学校中介的好像油水挺多。而且这种留学走的是J1签证，很容易过，她们说到目前为止没有被拒签的。美国professional教育向中国开放还没有多久，宣传作的也不够，看来这里面大有文章可做。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-110766958607560011?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/110766958607560011/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=110766958607560011' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110766958607560011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110766958607560011'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/02/happy-chinese-luna-new-year.html' title='Happy Chinese Luna New Year!'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-110762898376399409</id><published>2005-02-05T12:43:00.000-06:00</published><updated>2005-02-05T12:43:42.720-06:00</updated><title type='text'>Use webservices in Flash MX</title><content type='html'>&lt;a href="%20http://www.onjava.com/pub/a/onjava/2003/02/26/flash_remoting.html?page=3"&gt;Flash Remoting for J2EE Developers&lt;/a&gt;&lt;br /&gt;This article talks about how to connect Flash MX from client to server webservices. Very helpful for solving the problem of submitting data from Flash to backend db. Since constructing url in Tapestry is a headache.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.blogger.com/app/%20http://www.onjava.com/pub/a/onjava/2003/02/26/flash_remoting.html?page=3"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-110762898376399409?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/110762898376399409/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=110762898376399409' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110762898376399409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110762898376399409'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/02/use-webservices-in-flash-mx.html' title='Use webservices in Flash MX'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-110755591074239094</id><published>2005-02-04T16:21:00.000-06:00</published><updated>2005-02-04T16:25:10.743-06:00</updated><title type='text'>JRoller</title><content type='html'>JRoller doesn't support unicode? I cant type chinese.... Painful. I try to install our own rollerweblog on gentoo box. It requires mysql 4.1 or up to support unicode, but gentoo mysql 4.1 ebuild is still Masked. I don't want to risk it. How many ppl are using mysql 4.1 for production under Gentoo?&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-110755591074239094?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/110755591074239094/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=110755591074239094' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110755591074239094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110755591074239094'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/02/jroller.html' title='JRoller'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-110753863004466313</id><published>2005-02-04T12:31:00.000-06:00</published><updated>2005-02-04T12:53:34.563-06:00</updated><title type='text'>Tapestry+Sping+Hibernate</title><content type='html'>After carefully research on the net, we finally decided to choose Tapestry+Sping+Hibernate. There is alot to learn. I've kinda experience of Hibernate but know nothing about Tapestry and Spring. I found Appfuse is a good base to kick off, but seems Raible is much more interested in Struts than Tapestry....but it is still a good tuitorial for Spring+Hibernate.&lt;br /&gt;Also, downloaded the petshop example for study. Hopefully I can get through quickly.&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-110753863004466313?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/110753863004466313/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=110753863004466313' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110753863004466313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/110753863004466313'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2005/02/tapestryspinghibernate.html' title='Tapestry+Sping+Hibernate'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-109771455104778637</id><published>2004-10-13T19:40:00.000-05:00</published><updated>2005-02-04T12:06:17.706-06:00</updated><title type='text'>phpBB installation</title><content type='html'>1. Install phpBB on Gentoo, when run install.php, gave an error mesg:&lt;br /&gt;&lt;br /&gt;The PHP configuration on your server doesn't support the database type that you chose&lt;br /&gt;&lt;br /&gt;Solved:&lt;br /&gt;Failtal emerge mod_php, run:&lt;br /&gt;&lt;span class="postbody"&gt;&lt;br /&gt;USE="mysql" emerge mod_php&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-109771455104778637?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/109771455104778637/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=109771455104778637' title='92 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/109771455104778637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/109771455104778637'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2004/10/phpbb-installation.html' title='phpBB installation'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>92</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-108571823315279584</id><published>2004-05-27T23:23:00.000-05:00</published><updated>2004-05-27T23:24:43.833-05:00</updated><title type='text'></title><content type='html'>&lt;a href="http://tech.ccidnet.com/pub/disp/Article?columnID=314&amp;articleID=9388&amp;pageNO=1"&gt;C++ VS. JAVA&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-108571823315279584?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/108571823315279584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=108571823315279584' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/108571823315279584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/108571823315279584'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2004/05/c-vs.html' title=''/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-108492519966860568</id><published>2004-05-18T19:05:00.000-05:00</published><updated>2005-02-04T12:07:53.006-06:00</updated><title type='text'>Gentoo Emerge Usage</title><content type='html'>emerge -pv mod_perl&lt;br /&gt;emerge esync&lt;br /&gt;&lt;br /&gt;cd /usr/portage/app-portage/&lt;br /&gt;emerge app-portage/esearch&lt;br /&gt;&lt;br /&gt;eupdatedb&lt;br /&gt;esync&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-108492519966860568?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/108492519966860568/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=108492519966860568' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/108492519966860568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/108492519966860568'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2004/05/gentoo-emerge-usage.html' title='Gentoo Emerge Usage'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-108490884219055003</id><published>2004-05-18T14:32:00.000-05:00</published><updated>2005-02-04T12:07:36.946-06:00</updated><title type='text'>Eclipse Trainning</title><content type='html'>1. Preference-&gt;Java-&gt;Code Style-&gt;Code Templates-&gt;Comments-&gt;Types&lt;br /&gt;Change {$user} -&gt; Henry Chen&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-108490884219055003?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/108490884219055003/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=108490884219055003' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/108490884219055003'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/108490884219055003'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2004/05/eclipse-trainning.html' title='Eclipse Trainning'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-108490796899134255</id><published>2004-05-18T14:14:00.000-05:00</published><updated>2005-02-04T12:09:05.593-06:00</updated><title type='text'>Bugzilla installation</title><content type='html'>&lt;strong&gt;&lt;span style="color:red;"&gt;The Solution:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Alias /bugzilla /var/www/bugzilla&lt;br /&gt;&lt;ifmodule c=""&gt;&lt;br /&gt;#PerlModule Apache2::ModPerl::Registry&lt;br /&gt;&lt;directory&gt;&lt;br /&gt;       #SetHandler perl-script&lt;br /&gt;       #PerlHandler ModPerl::Registry::handler&lt;br /&gt;&lt;br /&gt;       Options +ExecCGI +FollowSymLinks&lt;br /&gt;       AllowOverride Limit&lt;br /&gt;       &lt;ifmodule c=""&gt;&lt;br /&gt;         Order Allow,Deny&lt;br /&gt;         Allow from 128.2.0.0/16 128.237.0.0/16&lt;br /&gt;       &lt;/ifmodule&gt;&lt;br /&gt;&lt;/directory&gt;&lt;br /&gt;&lt;/ifmodule&gt;&lt;br /&gt;------------------&lt;br /&gt;LoadModule perl_module /usr/lib/apache2-extramodules/mod_perl.so&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:red;"&gt;Problems in Installing Bugzilla&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Mod_Perl&lt;/strong&gt;&lt;br /&gt;* perl -e '$"="\n";print "@INC\n";'&lt;br /&gt;* in commonapache2.conf add: PerlSwitches -Mlib=/var/www/Bugzilla&lt;br /&gt;* chmod +x +r *.pl&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;MySQL&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;GRANT SELECT,INSERT,UPDATE,DELETE,INDEX,ALTER,CREATE,&lt;br /&gt;        DROP,REFERENCES ON bugs.* TO bugs@localhost&lt;br /&gt;        IDENTIFIED BY '$db_pass';&lt;br /&gt;&lt;br /&gt;should have 'LOCK TABLES' privilege as well.&lt;br /&gt;&lt;br /&gt;GRANT SELECT,INSERT,UPDATE,DELETE,INDEX,ALTER,CREATE,&lt;br /&gt;        DROP,REFERENCES,LOCK TABLES ON bugs.* TO bugs@localhost&lt;br /&gt;        IDENTIFIED BY '$db_pass';&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-108490796899134255?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/108490796899134255/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=108490796899134255' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/108490796899134255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/108490796899134255'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2004/05/bugzilla-installation.html' title='Bugzilla installation'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6872743.post-108489202475514656</id><published>2004-05-18T09:50:00.000-05:00</published><updated>2005-02-04T12:09:48.250-06:00</updated><title type='text'>Gentoo Emerge Usage</title><content type='html'>&lt;a href="http://forums.gentoo.org/viewtopic.php?t=148415"&gt;Good link&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I have been using Gentoo for about a year now, and either I've been doing things wrong, or things have changed&lt;br /&gt;&lt;br /&gt;What I used to do: (This means don't do it this way)&lt;br /&gt;&lt;br /&gt;To update all packages on the system:&lt;br /&gt;Code:&lt;br /&gt;emerge sync&lt;br /&gt;emerge -upv world&lt;br /&gt;emerge -u world&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To install a ~x86 package on a x86 system:&lt;br /&gt;Code:&lt;br /&gt;ACCEPT_KEYWORDS=~x86 emerge samba&lt;br /&gt;emerge -i net-fs/samba-2.2.8a&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To clean up unwanted packages on your system:&lt;br /&gt;Code:&lt;br /&gt;cd /var/db/pkg&lt;br /&gt;ls&lt;br /&gt;#look through each directory for packages that aren't needed&lt;br /&gt;emerge unmerge [package]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;What I do now:&lt;br /&gt;&lt;br /&gt;I've done a lot of reading today in these forums, and found out I was doing it all wrong! I think I'm not the only one, so here is what I have learned:&lt;br /&gt;&lt;br /&gt;To update all packages on your system:&lt;br /&gt;Code:&lt;br /&gt;emerge sync&lt;br /&gt;emerge -uDpv world&lt;br /&gt;emerge -uDv world&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6872743-108489202475514656?l=wildleaf.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wildleaf.blogspot.com/feeds/108489202475514656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6872743&amp;postID=108489202475514656' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/108489202475514656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6872743/posts/default/108489202475514656'/><link rel='alternate' type='text/html' href='http://wildleaf.blogspot.com/2004/05/gentoo-emerge-usage_18.html' title='Gentoo Emerge Usage'/><author><name>Henry</name><uri>http://www.blogger.com/profile/03918104315012998525</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='http://images.ofoto.com/photos1132/3/50/7/23/25/0/25230750307_0_ALB.jpg'/></author><thr:total>0</thr:total></entry></feed>
