<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.3" -->
<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/"
	>

<channel>
	<title>Tony Du's Blog</title>
	<link>http://www.tonydu.com</link>
	<description>The stories along the path of my life...</description>
	<pubDate>Tue, 11 Nov 2008 13:26:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<item>
		<title>My Running Routes</title>
		<link>http://www.tonydu.com/?p=102</link>
		<comments>http://www.tonydu.com/?p=102#comments</comments>
		<pubDate>Mon, 10 Nov 2008 21:23:03 +0000</pubDate>
		<dc:creator>tonydu</dc:creator>
		
		<category><![CDATA[Training &amp; Workout]]></category>

		<guid isPermaLink="false">http://www.tonydu.com/?p=102</guid>
		<description><![CDATA[Running around the town is way better than on the boring treadmill if only the weather doesn&#8217;t go down to much :/
8 Miles RunFind more Runs in East Haven, Connecticut
]]></description>
			<content:encoded><![CDATA[<p>Running around the town is way better than on the boring treadmill if only the weather doesn&#8217;t go down to much :/<br />
<iframe src="http://js.mapmyfitness.com/embed/blogview.html?r=430821b183beab3d1241aaa43ea70236&#038;u=e&#038;t=run" height="700px" width="100%" frameborder="0"><a href="http://www.mapmyrun.com/run/united-states/ct/east-haven/630390512954">8 Miles Run</a><br/><a href="http://www.mapmyrun.com/find-run/united-states/ct/east-haven">Find more Runs in East Haven, Connecticut</a></iframe><!-- MMF PARTNER TOOL --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tonydu.com/?feed=rss2&amp;p=102</wfw:commentRss>
		</item>
		<item>
		<title>Google&#8217;s Chrome</title>
		<link>http://www.tonydu.com/?p=99</link>
		<comments>http://www.tonydu.com/?p=99#comments</comments>
		<pubDate>Wed, 03 Sep 2008 02:59:23 +0000</pubDate>
		<dc:creator>tonydu</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.tonydu.com/?p=99</guid>
		<description><![CDATA[So I just installed Google Chrome on my machine at home just to give it a try. My first impression with the browser is fast, fast, fast. This is the fastest browser I&#8217;ve ever used. Although I was able to make it crash from watching flash video on youtube and access to a bunch of [...]]]></description>
			<content:encoded><![CDATA[<p>So I just installed Google Chrome on my machine at home just to give it a try. My first impression with the browser is fast, fast, fast. This is the fastest browser I&#8217;ve ever used. Although I was able to make it crash from watching flash video on youtube and access to a bunch of sites are broken as well (for example, I can&#8217;t log-in into my Zimbra web mail client). Overtime, as it becomes more stable, this will be a great browser so Internet Explorer and Mozilla Firefox need to watch out :). </p>
<p>Anyway, try <a href="http://www.google.com/chrome">Google Chrome</a> for yourself (no Linux support yet <img src='http://www.tonydu.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> )</p>
<p>Update:<br />
Many people probably notice by now but it seem that Chrome create a new instance for every tab. I tried to use it extensively today instead of Firefox and after while, I see significant slow down on my machine. When I look on my taskmgr and I saw 15 instances of chrome.exe.  Urgh! so much for small memory usage. I&#8217;ll switch back to firefox for now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tonydu.com/?feed=rss2&amp;p=99</wfw:commentRss>
		</item>
		<item>
		<title>Water drawing - pretty awesome!</title>
		<link>http://www.tonydu.com/?p=98</link>
		<comments>http://www.tonydu.com/?p=98#comments</comments>
		<pubDate>Tue, 02 Sep 2008 02:10:03 +0000</pubDate>
		<dc:creator>tonydu</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.tonydu.com/?p=98</guid>
		<description><![CDATA[




Water Writing @ Yahoo! Video
Wonder if the writing and drawing are from water release at timing or just projection on the water? If it&#8217;s the first case ,which most likely is from the sound of the water being released, it&#8217;s freaking awesome
]]></description>
			<content:encoded><![CDATA[<div><object width="512" height="322">
<param name="movie" value="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.18.2" />
<param name="allowFullScreen" value="true" />
<param name="AllowScriptAccess" VALUE="always" />
<param name="bgcolor" value="#000000" />
<param name="flashVars" value="id=9337650&#038;vid=3323955&#038;lang=en-us&#038;intl=us&#038;thumbUrl=http%3A//us.i1.yimg.com/us.yimg.com/i/us/sch/cn/video05/3323955_rnd514dbc33_19.jpg&#038;embed=1" /><embed src="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.18.2" type="application/x-shockwave-flash" width="512" height="322" allowFullScreen="true" AllowScriptAccess="always" bgcolor="#000000" flashVars="id=9337650&#038;vid=3323955&#038;lang=en-us&#038;intl=us&#038;thumbUrl=http%3A//us.i1.yimg.com/us.yimg.com/i/us/sch/cn/video05/3323955_rnd514dbc33_19.jpg&#038;embed=1" ></embed></object><br /><a href="http://video.yahoo.com/watch/3323955/9337650">Water Writing</a> @ <a href="http://video.yahoo.com" >Yahoo! Video</a></div>
<p>Wonder if the writing and drawing are from water release at timing or just projection on the water? If it&#8217;s the first case ,which most likely is from the sound of the water being released, it&#8217;s freaking awesome</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tonydu.com/?feed=rss2&amp;p=98</wfw:commentRss>
		</item>
		<item>
		<title>Awesome Shadow Performance</title>
		<link>http://www.tonydu.com/?p=97</link>
		<comments>http://www.tonydu.com/?p=97#comments</comments>
		<pubDate>Fri, 22 Aug 2008 14:14:53 +0000</pubDate>
		<dc:creator>tonydu</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.tonydu.com/?p=97</guid>
		<description><![CDATA[

Awesome Shadow Performance - Watch more free videos
]]></description>
			<content:encoded><![CDATA[<p><object width="464" height="392">
<param name="movie" value="http://embed.break.com/NTU3OTQ2"></param>
<param name="allowScriptAccess" value="always"></param><embed src="http://embed.break.com/NTU3OTQ2" type="application/x-shockwave-flash" allowScriptAccess=always width="464" height="392"></embed></object><br /><font size=1><a href="http://www.break.com/usercontent/2008/8/Awesome-Shadow-Performance-557946.html">Awesome Shadow Performance</a> - Watch more <a href="http://www.break.com/">free videos</a></font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tonydu.com/?feed=rss2&amp;p=97</wfw:commentRss>
		</item>
		<item>
		<title>The Guinea Pig Olympics</title>
		<link>http://www.tonydu.com/?p=96</link>
		<comments>http://www.tonydu.com/?p=96#comments</comments>
		<pubDate>Mon, 18 Aug 2008 16:53:31 +0000</pubDate>
		<dc:creator>tonydu</dc:creator>
		
		<category><![CDATA[fun]]></category>

		<guid isPermaLink="false">http://www.tonydu.com/?p=96</guid>
		<description><![CDATA[In the spirit of the current summer Olympic, I&#8217;m posting some these ultra cute pictures of the Guinea Pig Olympics I found on an UK website (click on the pic for bigger version)

Source
]]></description>
			<content:encoded><![CDATA[<p>In the spirit of the current summer Olympic, I&#8217;m posting some these ultra cute pictures of the Guinea Pig Olympics I found on an UK website (click on the pic for bigger version)</p>
<p><a href="http://www.tonydu.com/wp-images/images/ARCHERY-GP.jpg" rel="lightbox[GPO]" title="Archery"><img src="http://www.tonydu.com/wp-images/images/ARCHERY-GP.jpg" height="99" hspace="10" vspace="10" width="150" /></a><a href="http://www.tonydu.com/wp-images/images/BOXING-GP.jpg" rel="lightbox[GPO]" title="Boxing"><img src="http://www.tonydu.com/wp-images/images/BOXING-GP.jpg" height="99" hspace="10" vspace="10" width="150" /></a><a href="http://www.tonydu.com/wp-images/images/CYCLING-GP.jpg" rel="lightbox[GPO]" title="Cycling"><img src="http://www.tonydu.com/wp-images/images/CYCLING-GP.jpg" height="99" hspace="10" vspace="10" width="150" /></a><a href="http://www.tonydu.com/wp-images/images/FENCING-GP.jpg" rel="lightbox[GPO]" title="Fencing"><img src="http://www.tonydu.com/wp-images/images/FENCING-GP.jpg" height="99" hspace="10" vspace="10" width="150" /></a><a href="http://www.tonydu.com/wp-images/images/HURDLES-GP.jpg" rel="lightbox[GPO]" title="Hurdles"><img src="http://www.tonydu.com/wp-images/images/HURDLES-GP.jpg" height="99" hspace="10" vspace="10" width="150" /></a><a href="http://www.tonydu.com/wp-images/images/PING-PONG-GP.jpg" rel="lightbox[GPO]" title="Ping pong"><img src="http://www.tonydu.com/wp-images/images/PING-PONG-GP.jpg" height="99" hspace="10" vspace="10" width="150" /></a><a href="http://www.tonydu.com/wp-images/images/POLE-VAULT-GP.jpg" rel="lightbox[GPO]" title="Pole vault"><img src="http://www.tonydu.com/wp-images/images/POLE-VAULT-GP.jpg" height="99" hspace="10" vspace="10" width="150" /></a><a href="http://www.tonydu.com/wp-images/images/ROWING-GP.jpg" rel="lightbox[GPO]" title="Rowing"><img src="http://www.tonydu.com/wp-images/images/ROWING-GP.jpg" height="99" hspace="10" vspace="10" width="150" /></a><a href="http://www.tonydu.com/wp-images/images/RUNNING-GP.jpg" rel="lightbox[GPO]" title="Running"><img src="http://www.tonydu.com/wp-images/images/RUNNING-GP.jpg" height="99" hspace="10" vspace="10" width="150" /></a><a href="http://www.tonydu.com/wp-images/images/SQUASH-GP.jpg" rel="lightbox[GPO]" title="Squash"><img src="http://www.tonydu.com/wp-images/images/SQUASH-GP.jpg" height="99" hspace="10" vspace="10" width="150" /></a><a href="http://www.tonydu.com/wp-images/images/SWIMMING-GP.jpg" rel="lightbox[GPO]" title="Swimming"><img src="http://www.tonydu.com/wp-images/images/SWIMMING-GP.jpg" height="99" hspace="10" vspace="10" width="150" /></a><a href="http://www.tonydu.com/wp-images/images/WEIGHT-GP.jpg" rel="lightbox[GPO]" title="Weight lifting"><img src="http://www.tonydu.com/wp-images/images/WEIGHT-GP.jpg" height="99" hspace="10" vspace="10" width="150" /></a></p>
<p><a href="http://www.telegraph.co.uk/news/picturegalleries/howaboutthat/2510906/The-Guinea-Pig-Olympics.html">Source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tonydu.com/?feed=rss2&amp;p=96</wfw:commentRss>
		</item>
		<item>
		<title>My nephew :)</title>
		<link>http://www.tonydu.com/?p=94</link>
		<comments>http://www.tonydu.com/?p=94#comments</comments>
		<pubDate>Mon, 04 Aug 2008 03:06:26 +0000</pubDate>
		<dc:creator>tonydu</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.tonydu.com/?p=94</guid>
		<description><![CDATA[Download My nephew
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.tonydu.com/wp-content/videos/MVI_2551_480x360.flv" title="My nephew - Totti"><em>Download</em></a> My nephew</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tonydu.com/?feed=rss2&amp;p=94</wfw:commentRss>
		</item>
		<item>
		<title>Install printer Lexmark X5150 on Xubuntu 7.10</title>
		<link>http://www.tonydu.com/?p=93</link>
		<comments>http://www.tonydu.com/?p=93#comments</comments>
		<pubDate>Sat, 26 Jul 2008 21:03:57 +0000</pubDate>
		<dc:creator>tonydu</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.tonydu.com/?p=93</guid>
		<description><![CDATA[I found this direction from Ubuntu forum but want to have the instruction on my site so that i can quickly reference in the future
sudo apt-get install alien
sudo apt-get install libstdc++5
cd Desktop
mkdir "lexmark z55 - remove me"
cd "lexmark z55 - remove me"
wget http://www.downloaddelivery.com/srfilecache/CJLZ55LE-CUPS-1.0-1.TAR.GZ
tar -xvzf CJLZ55LE-CUPS-1.0-1.TAR.GZ
tail -n +143 lexmarkz55-CUPS-1.0-1.gz.sh > install.tar.gz
tar -xvzf install.tar.gz
sudo alien -t lexmarkz55-CUPS-1.0-1.i386.rpm
sudo [...]]]></description>
			<content:encoded><![CDATA[<p>I found this direction from <a href="http://ubuntuforums.org/showthread.php?t=481213">Ubuntu forum</a> but want to have the instruction on my site so that i can quickly reference in the future</p>
<p><code>sudo apt-get install alien<br />
sudo apt-get install libstdc++5</code></p>
<p><code>cd Desktop<br />
mkdir "lexmark z55 - remove me"<br />
cd "lexmark z55 - remove me"<br />
wget http://www.downloaddelivery.com/srfilecache/CJLZ55LE-CUPS-1.0-1.TAR.GZ</code></p>
<p><code>tar -xvzf CJLZ55LE-CUPS-1.0-1.TAR.GZ<br />
tail -n +143 lexmarkz55-CUPS-1.0-1.gz.sh > install.tar.gz<br />
tar -xvzf install.tar.gz<br />
sudo alien -t lexmarkz55-CUPS-1.0-1.i386.rpm<br />
sudo alien -t z55llpddk-2.0-2.i386.rpm<br />
sudo tar xvzf z55llpddk-2.0.tgz -C /<br />
sudo tar xvzf lexmarkz55-CUPS-1.0.tgz -C /<br />
sudo ldconfig<br />
cd /usr/share/cups/model<br />
sudo gunzip Lexmark-Z55-lxz55cj-cups.ppd.gz<br />
sudo /etc/rc2.d/S19cupsys restart</code></p>
<p>Then you&#8217;ll have to go and install the driver: menu System -> Administration -> Printers, double-click on the &#8220;install printer&#8221; icon, select your printer, and at the second step, choose &#8220;install driver&#8221;. Browse to &#8220;/usr/share/cups/model&#8221; and select the file &#8220;Lexmark-Z55-lxz55cj-cups.ppd&#8221;.</p>
<p>Note: The scanner doesn&#8217;t work</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tonydu.com/?feed=rss2&amp;p=93</wfw:commentRss>
		</item>
		<item>
		<title>Our new dog JJ</title>
		<link>http://www.tonydu.com/?p=92</link>
		<comments>http://www.tonydu.com/?p=92#comments</comments>
		<pubDate>Tue, 22 Jul 2008 17:27:13 +0000</pubDate>
		<dc:creator>tonydu</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.tonydu.com/?p=92</guid>
		<description><![CDATA[This post is for our new dog - JJ. We got him for almost a month now from the North shore animal shelter. He&#8217;s one year old dog of mixed type Cocker Spaniel and Poodle. He&#8217;s a very smart dog however he&#8217;s not housebroken yet  so it&#8217;s a bit of a pain to train [...]]]></description>
			<content:encoded><![CDATA[<p>This post is for our new dog - JJ. We got him for almost a month now from the North shore animal shelter. He&#8217;s one year old dog of mixed type Cocker Spaniel and Poodle. He&#8217;s a very smart dog however he&#8217;s not housebroken yet  so it&#8217;s a bit of a pain to train him in the beginning. Now, he&#8217;s getting so much better with &#8220;doing his business&#8221; outside when we walk him. Probably the worst problem with him is that he can&#8217;t be alone at home at all. He&#8217;ll go berserk. He was even able to jump over the fence that we got when he&#8217;s home by himself :/. Hopeful, overtime, we&#8217;ll be able to train him on this :). He&#8217;s staying at Chrissy place so I&#8217;m only helping out during the weekend <img src='http://www.tonydu.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p><a href="http://www.tonydu.com/wp-images/images/jj1.jpg" rel="lightbox[JJ]" title="JJ"><img src="http://www.tonydu.com/wp-images/images/jj1.jpg" height="99" hspace="10" vspace="10" width="150" /></a><a href="http://www.tonydu.com/wp-images/images/jj2.jpg" rel="lightbox[JJ]" title="JJ"><img src="http://www.tonydu.com/wp-images/images/jj2.jpg" height="99" hspace="10" vspace="10" width="150" /></a></p>
<p>You can see <a href="http://www.tonydu.com/gallery/main.php?g2_itemId=15617">more pictures of him here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tonydu.com/?feed=rss2&amp;p=92</wfw:commentRss>
		</item>
		<item>
		<title>Chi Hang&#8217;s Wedding Video openings</title>
		<link>http://www.tonydu.com/?p=91</link>
		<comments>http://www.tonydu.com/?p=91#comments</comments>
		<pubDate>Wed, 16 Apr 2008 04:01:59 +0000</pubDate>
		<dc:creator>tonydu</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.tonydu.com/?p=91</guid>
		<description><![CDATA[Download First openinng
Download Second opening
Download The wedding 
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.tonydu.com/wp-content/videos/ChiHangWedding2_480x270.flv" title="Anarchy Media Player - Right click to download file"><em>Download</em></a> First openinng</p>
<p><a href="http://www.tonydu.com/wp-content/videos/ChiHangWedding1_480x270.flv" title="Anarchy Media Player - Right click to download file"><em>Download</em></a> Second opening</p>
<p><a href="http://www.tonydu.com/wp-content/videos/ChiHangWedding3_480x360.flv" title="Anarchy Media Player - Right click to download file"><em>Download</em></a> The wedding <img src='http://www.tonydu.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tonydu.com/?feed=rss2&amp;p=91</wfw:commentRss>
		</item>
		<item>
		<title>My first experience with Axis2 1.3</title>
		<link>http://www.tonydu.com/?p=88</link>
		<comments>http://www.tonydu.com/?p=88#comments</comments>
		<pubDate>Mon, 14 Apr 2008 14:50:55 +0000</pubDate>
		<dc:creator>tonydu</dc:creator>
		
		<category><![CDATA[Tech]]></category>

		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.tonydu.com/?p=88</guid>
		<description><![CDATA[So for work, i have to write a .Net web service along with an Axis2 client which will consume the web service. One of the requirement for the project is that they have to have the ability to transfer data with each other using MTOM. The whole project/idea seem fun and easy enough. Since I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>So for work, i have to write a .Net web service along with an Axis2 client which will consume the web service. One of the requirement for the project is that they have to have the ability to transfer data with each other using MTOM. The whole project/idea seem fun and easy enough. Since I&#8217;ve never used/programmed with Axis before, I wanted to start with a very simple web service and client (hello world, echo). After having my environment set up, I went on with the code. I quickly wrote up the web service and client and everything worked as expected. I then moved on to MTOM portion of the code. I changed the web service to a simple file transfer service (download/upload) using MTOM (WSE3).  Then, i wrote up the client portion of the code.  Things seemed to go very smoothly but when I tried to test the code, I kept on getting 400: Bad Request response and Axis Fault exception from my client code. Thinking that i probably made a mistake in my code, I went through the code again and again. However, i can&#8217;t see what cause the issue. Google search on the exception and it seemd that some people also has similar issue/exception so i tried to use their method to debug:</p>
<p>- Use TCPMON/HTTPAnalyzer to check the header and content of the SOAP message : everything is good! (checked)<br />
- Client stub are generated using WSDL2JAVA using :<br />
+ XMLBeans (checked)<br />
+ADB (checked)<br />
- Create the SOAP message  using  AXIOM and  (checked)</p>
<p>The issue was still there and I still didn&#8217;t know what the heck was wrong. So then I was thinking that probably something wrong with my .NET web service. I decided to write a C# client instead. However, with the C# client, everything worked perfectly. I was able to transfer (upload/download files) to/from the web service.  The whole day went by and i still didn&#8217;t know what was wrong and how to fix it.</p>
<p>The next day, I took a look again at the SOAP message header and compare them between C# client and AXIS2 Java client.  By then, I noticed that the &#8220;start&#8221; attribute for the java client doesn&#8217;t match with the &#8220;content-id&#8221; and it&#8217;s also missing a &#8220;&lt;&#8221; . So on to the Google search &#8220;.NET web service, AXIS2, MTOM, start missing &lt;&#8221; and the first search result lead me to this <a href="http://www.mail-archive.com/axis-dev@ws.apache.org/msg37411.html">link </a>which then lead me to this <a href="https://issues.apache.org/jira/browse/AXIS2-3196">AXIS2 1.3 BUG 3196</a>. Follow the solution, i replace the Axiom-api jar with the latest one and everything work as expected.</p>
<p>I don&#8217;t understand how this issue was found and fixed in early Oct, 2007 and the fixed is still not in the distributed zip file on Axis website. If it was updated, it would save me and probably many others who are new to AXIS/AXIS2 a lot of trouble debug and research for solution.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tonydu.com/?feed=rss2&amp;p=88</wfw:commentRss>
		</item>
	</channel>
</rss>
