<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Shang Liang</title>
	
	<link>http://shang-liang.com/blog</link>
	<description>Life in a Flash</description>
	<pubDate>Thu, 02 Jul 2009 10:55:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/shang-liang/feed" type="application/rss+xml" /><item>
		<title>Algorithm for adding leading zeros</title>
		<link>http://feedproxy.google.com/~r/shang-liang/feed/~3/RPdMc3utddg/</link>
		<comments>http://shang-liang.com/blog/algorithm-for-adding-leading-zeros/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 06:42:10 +0000</pubDate>
		<dc:creator>5566</dc:creator>
		
		<category><![CDATA[Others]]></category>

		<guid isPermaLink="false">http://shang-liang.com/blog/?p=143</guid>
		<description><![CDATA[I&#8217;ve always been writing this.

		function addZero(n:int):String {
			if (n < 10) {
				return "0" + n;
			}else {
				return "" + n;
			}
		}

The function adds one leading 0 quite well but if two 0 is needed, it&#8217;s quite bad to write all the conditions to check whether it&#8217;s less than 100 or 10. I think the following code is more [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve always been writing this.</p>
<pre>
		function addZero(n:int):String {
			if (n < 10) {
				return "0" + n;
			}else {
				return "" + n;
			}
		}
</pre>
<p>The function adds one leading 0 quite well but if two 0 is needed, it&#8217;s quite bad to write all the conditions to check whether it&#8217;s less than 100 or 10. I think the following code is more efficient. </p>
<pre>

		function addZero(n:int, numZeros:int = 1):String {
			var str:String = n + "";
			while (str.length&lt;numZeros+1)
			{
				str = "0" + str;
			}
			return str;
		}
</pre>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=RPdMc3utddg:QQamcO5imDM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=RPdMc3utddg:QQamcO5imDM:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=RPdMc3utddg:QQamcO5imDM:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=RPdMc3utddg:QQamcO5imDM:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=RPdMc3utddg:QQamcO5imDM:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=RPdMc3utddg:QQamcO5imDM:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=RPdMc3utddg:QQamcO5imDM:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/shang-liang/feed/~4/RPdMc3utddg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://shang-liang.com/blog/algorithm-for-adding-leading-zeros/feed/</wfw:commentRss>
		<feedburner:origLink>http://shang-liang.com/blog/algorithm-for-adding-leading-zeros/</feedburner:origLink></item>
		<item>
		<title>A new trick to make pixel fonts clear in Flash</title>
		<link>http://feedproxy.google.com/~r/shang-liang/feed/~3/tt0pphCpl8k/</link>
		<comments>http://shang-liang.com/blog/a-new-trick-to-make-pixel-fonts-clear-in-flash/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 05:14:20 +0000</pubDate>
		<dc:creator>5566</dc:creator>
		
		<category><![CDATA[Others]]></category>

		<guid isPermaLink="false">http://shang-liang.com/blog/a-new-trick-to-make-pixel-fonts-clear-in-flash/</guid>
		<description><![CDATA[Pixel fonts tend to get blur in Flash. Most of the time the problem can be solved by setting the textfield&#8217;s coordinates (x,y) into integers but sometimes it fails to work. I&#8217;ve found a new trick to solve this problem. If you check the option of the textfield to be selectable, the texts appear clear [...]]]></description>
			<content:encoded><![CDATA[<p>Pixel fonts tend to get blur in Flash. Most of the time the problem can be solved by setting the textfield&#8217;s coordinates (x,y) into integers but sometimes it fails to work. I&#8217;ve found a new trick to solve this problem. If you check the option of the textfield to be selectable, the texts appear clear no matter what their x and y are.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=tt0pphCpl8k:FxN9mY_FAOU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=tt0pphCpl8k:FxN9mY_FAOU:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=tt0pphCpl8k:FxN9mY_FAOU:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=tt0pphCpl8k:FxN9mY_FAOU:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=tt0pphCpl8k:FxN9mY_FAOU:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=tt0pphCpl8k:FxN9mY_FAOU:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=tt0pphCpl8k:FxN9mY_FAOU:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/shang-liang/feed/~4/tt0pphCpl8k" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://shang-liang.com/blog/a-new-trick-to-make-pixel-fonts-clear-in-flash/feed/</wfw:commentRss>
		<feedburner:origLink>http://shang-liang.com/blog/a-new-trick-to-make-pixel-fonts-clear-in-flash/</feedburner:origLink></item>
		<item>
		<title>Glyphs Helper - A small tool to extract unique glyphs from text</title>
		<link>http://feedproxy.google.com/~r/shang-liang/feed/~3/pFjZbl1qXCM/</link>
		<comments>http://shang-liang.com/blog/glyphs-helper-a-small-tool-to-extract-unique-glyphs-from-text/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 03:46:34 +0000</pubDate>
		<dc:creator>5566</dc:creator>
		
		<category><![CDATA[Others]]></category>

		<guid isPermaLink="false">http://shang-liang.com/blog/?p=138</guid>
		<description><![CDATA[Useful for Flash users and more useful for Flex users to geenerate the glyph ranges. Built with JavaScript.
&#62;&#62;enjoy&#60;&#60;
]]></description>
			<content:encoded><![CDATA[<p>Useful for Flash users and more useful for Flex users to geenerate the glyph ranges. Built with JavaScript.<br />
<a title="glyphs helper" href="http://www.shang-liang.com/collaborations/shang/glyphs" target="_blank">&gt;&gt;enjoy&lt;&lt;</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=pFjZbl1qXCM:3TSMun4hRa8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=pFjZbl1qXCM:3TSMun4hRa8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=pFjZbl1qXCM:3TSMun4hRa8:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=pFjZbl1qXCM:3TSMun4hRa8:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=pFjZbl1qXCM:3TSMun4hRa8:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=pFjZbl1qXCM:3TSMun4hRa8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=pFjZbl1qXCM:3TSMun4hRa8:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/shang-liang/feed/~4/pFjZbl1qXCM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://shang-liang.com/blog/glyphs-helper-a-small-tool-to-extract-unique-glyphs-from-text/feed/</wfw:commentRss>
		<feedburner:origLink>http://shang-liang.com/blog/glyphs-helper-a-small-tool-to-extract-unique-glyphs-from-text/</feedburner:origLink></item>
		<item>
		<title>Mouse Hunt on your mobile phones!</title>
		<link>http://feedproxy.google.com/~r/shang-liang/feed/~3/qSRckxef5LE/</link>
		<comments>http://shang-liang.com/blog/mouse-hunt-on-your-mobile-phones/#comments</comments>
		<pubDate>Mon, 25 May 2009 04:14:40 +0000</pubDate>
		<dc:creator>5566</dc:creator>
		
		<category><![CDATA[Others]]></category>

		<guid isPermaLink="false">http://shang-liang.com/blog/?p=130</guid>
		<description><![CDATA[I&#8217;m recently addicted to Mouse Hunt, a fantastic game on Facebook. However, it&#8217;s too hard to play on any mobile phone. The page is too big to be displayed on mobile phones and it takes quite a while to load. Trying to be useful, I wrote some PHP scripts to help with the situation.  It [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m recently addicted to <a title="mouse hunt game" href="http://apps.facebook.com/mousehunt/">Mouse Hunt</a>, a fantastic game on Facebook. However, it&#8217;s too hard to play on any mobile phone. The page is too big to be displayed on mobile phones and it takes quite a while to load. Trying to be useful, I wrote some PHP scripts to help with the situation.  It serves as the middle man, communicating with Facebook and displaying minimal information to the user. It&#8217;s not a full  mobile version of the game.</p>
<p>Enjoy the game on the run now! <a href="http://www.shang-liang.com/mh">http://www.shang-liang.com/mh</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=qSRckxef5LE:k1b-aLqlol4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=qSRckxef5LE:k1b-aLqlol4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=qSRckxef5LE:k1b-aLqlol4:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=qSRckxef5LE:k1b-aLqlol4:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=qSRckxef5LE:k1b-aLqlol4:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=qSRckxef5LE:k1b-aLqlol4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=qSRckxef5LE:k1b-aLqlol4:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/shang-liang/feed/~4/qSRckxef5LE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://shang-liang.com/blog/mouse-hunt-on-your-mobile-phones/feed/</wfw:commentRss>
		<feedburner:origLink>http://shang-liang.com/blog/mouse-hunt-on-your-mobile-phones/</feedburner:origLink></item>
		<item>
		<title>Whitenoise Generator - Something helps to sleep</title>
		<link>http://feedproxy.google.com/~r/shang-liang/feed/~3/aHusAF9rYWs/</link>
		<comments>http://shang-liang.com/blog/whitenoise-generator-something-helps-to-sleep/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 04:51:15 +0000</pubDate>
		<dc:creator>5566</dc:creator>
		
		<category><![CDATA[Others]]></category>

		<guid isPermaLink="false">http://shang-liang.com/blog/?p=116</guid>
		<description><![CDATA[Just something really random and stupid, but I think it may be useful. Sometimes it&#8217;s too quiet and your ear has the &#8220;ying ying ying&#8221; sound. It&#8217;s quite annoying. This small file generates white noise.  Built in Processing and Minim library.
Download: PC &#38; Mac
]]></description>
			<content:encoded><![CDATA[<p>Just something really random and stupid, but I think it may be useful. Sometimes it&#8217;s too quiet and your ear has the &#8220;ying ying ying&#8221; sound. It&#8217;s quite annoying. This small file generates white noise.  Built in <a title="Processing" href="http://www.processing.org" target="_blank">Processing</a> and <a title="Code Log &amp;middot; Minim: An Audio Library for Processing" href="http://code.compartmental.net/2007/03/27/minim-an-audio-library-for-processing/" target="_blank">Minim library</a>.</p>
<p>Download: <a href="http://shang-liang.com/blog/wp-content/uploads/2009/03/whitenoise_pc.zip">PC</a> &amp; <a href="http://shang-liang.com/blog/wp-content/uploads/2009/03/whitenoise_mac.zip">Mac</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=aHusAF9rYWs:Ng361_P4ZXg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=aHusAF9rYWs:Ng361_P4ZXg:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=aHusAF9rYWs:Ng361_P4ZXg:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=aHusAF9rYWs:Ng361_P4ZXg:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=aHusAF9rYWs:Ng361_P4ZXg:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=aHusAF9rYWs:Ng361_P4ZXg:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=aHusAF9rYWs:Ng361_P4ZXg:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/shang-liang/feed/~4/aHusAF9rYWs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://shang-liang.com/blog/whitenoise-generator-something-helps-to-sleep/feed/</wfw:commentRss>
		<feedburner:origLink>http://shang-liang.com/blog/whitenoise-generator-something-helps-to-sleep/</feedburner:origLink></item>
		<item>
		<title>Trying PureMVC for website navigation</title>
		<link>http://feedproxy.google.com/~r/shang-liang/feed/~3/nsGPsU1wEvI/</link>
		<comments>http://shang-liang.com/blog/trying-puremvc-for-website-navigation/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 12:01:07 +0000</pubDate>
		<dc:creator>5566</dc:creator>
		
		<category><![CDATA[Others]]></category>

		<guid isPermaLink="false">http://shang-liang.com/blog/?p=99</guid>
		<description><![CDATA[I was always wondering how to use PureMVC for website development. Today, I&#8217;ve finally got a chance to try it.  I&#8217;ve read the documents many times but never really understand it so clearly after this small hands on practice. The example is the most typical scenario, some clickable buttons on the stage and click at [...]]]></description>
			<content:encoded><![CDATA[<p>I was always wondering how to use PureMVC for website development. Today, I&#8217;ve finally got a chance to try it.  I&#8217;ve read the documents many times but never really understand it so clearly after this small hands on practice. The example is the most typical scenario, some clickable buttons on the stage and click at one button will show the corresponding content.</p>
<p><a href="http://shang-liang.com/blog/wp-content/uploads/2009/01/puremvc_navigation.zip">source</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=nsGPsU1wEvI:ynj_f1zPBB0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=nsGPsU1wEvI:ynj_f1zPBB0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=nsGPsU1wEvI:ynj_f1zPBB0:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=nsGPsU1wEvI:ynj_f1zPBB0:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=nsGPsU1wEvI:ynj_f1zPBB0:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=nsGPsU1wEvI:ynj_f1zPBB0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=nsGPsU1wEvI:ynj_f1zPBB0:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/shang-liang/feed/~4/nsGPsU1wEvI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://shang-liang.com/blog/trying-puremvc-for-website-navigation/feed/</wfw:commentRss>
		<feedburner:origLink>http://shang-liang.com/blog/trying-puremvc-for-website-navigation/</feedburner:origLink></item>
		<item>
		<title>Not enough disk space to install flash player 10 problem</title>
		<link>http://feedproxy.google.com/~r/shang-liang/feed/~3/eqUVChmr82s/</link>
		<comments>http://shang-liang.com/blog/not-enough-disk-space-to-install-flash-player-10-problem/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 16:58:41 +0000</pubDate>
		<dc:creator>5566</dc:creator>
		
		<category><![CDATA[Others]]></category>

		<guid isPermaLink="false">http://shang-liang.com/blog/?p=87</guid>
		<description><![CDATA[If your computer doesn&#8217;t have a C: drive, flash player 10 installer for firefox won&#8217;t be able to run properly. It keeps giving not enough disk space error. After Googling for a while, I found the solution in Yahoo answers.
If you don&#8217;t have a C-drive, then you can also share a folder or your root [...]]]></description>
			<content:encoded><![CDATA[<p>If your computer doesn&#8217;t have a C: drive, flash player 10 installer for firefox won&#8217;t be able to run properly. It keeps giving not enough disk space error. After Googling for a while, I found the solution in Yahoo answers.</p>
<blockquote><p>If you don&#8217;t have a C-drive, then you can also share a folder or your root drive and then add this folder as a network drive and assign the letter C to it. after the installation you can disconnect the share again and disable sharing. Worked for me. -<a title="Not enough disk space to install flash player 10 problem yahoo answers" href="http://answers.yahoo.com/question/index?qid=20081016061537AA5JSgJ" target="_blank">Yahoo! Answers</a></p></blockquote>
<p>* The method that uses a USB drive didn&#8217;t work for me. My system drive is named as &#8220;W&#8221;, stands for Windows. I&#8217;m weird, I know.</p>
<p>It&#8217;s such a low level bug and it&#8217;s really unaccetable. I&#8217;ve installed tons of stuff in my computer and had never encounter this kind of problem before.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=eqUVChmr82s:aixEqPJSQpA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=eqUVChmr82s:aixEqPJSQpA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=eqUVChmr82s:aixEqPJSQpA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=eqUVChmr82s:aixEqPJSQpA:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=eqUVChmr82s:aixEqPJSQpA:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=eqUVChmr82s:aixEqPJSQpA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=eqUVChmr82s:aixEqPJSQpA:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/shang-liang/feed/~4/eqUVChmr82s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://shang-liang.com/blog/not-enough-disk-space-to-install-flash-player-10-problem/feed/</wfw:commentRss>
		<feedburner:origLink>http://shang-liang.com/blog/not-enough-disk-space-to-install-flash-player-10-problem/</feedburner:origLink></item>
		<item>
		<title>Processing is 1.0 now</title>
		<link>http://feedproxy.google.com/~r/shang-liang/feed/~3/s-EuykU68m4/</link>
		<comments>http://shang-liang.com/blog/processing-is-10-now/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 08:15:00 +0000</pubDate>
		<dc:creator>5566</dc:creator>
		
		<category><![CDATA[Others]]></category>

		<guid isPermaLink="false">http://shang-liang.com/blog/?p=86</guid>
		<description><![CDATA[It only took 162 attempts, but Processing 1.0 is here!‏
]]></description>
			<content:encoded><![CDATA[<blockquote><p><a href="http://www.processing.org">It only took 162 attempts, but Processing 1.0 is here!‏</a></p></blockquote>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=s-EuykU68m4:ALtwj2uhFcE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=s-EuykU68m4:ALtwj2uhFcE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=s-EuykU68m4:ALtwj2uhFcE:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=s-EuykU68m4:ALtwj2uhFcE:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=s-EuykU68m4:ALtwj2uhFcE:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=s-EuykU68m4:ALtwj2uhFcE:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=s-EuykU68m4:ALtwj2uhFcE:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/shang-liang/feed/~4/s-EuykU68m4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://shang-liang.com/blog/processing-is-10-now/feed/</wfw:commentRss>
		<feedburner:origLink>http://shang-liang.com/blog/processing-is-10-now/</feedburner:origLink></item>
		<item>
		<title>Understanding Website Analytics Data</title>
		<link>http://feedproxy.google.com/~r/shang-liang/feed/~3/k50BlENVvAw/</link>
		<comments>http://shang-liang.com/blog/understanding-website-analytics-data/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 09:06:55 +0000</pubDate>
		<dc:creator>5566</dc:creator>
		
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://shang-liang.com/blog/?p=84</guid>
		<description><![CDATA[I&#8217;ve recently finished a project. It&#8217;s a website for a wedding gown boutique. The main function of the website is to show their products, just like a of photo gallery. There are loads of photos and I tracked every photo&#8217;s page view. While I was happily looking through the numbers in Google analytics I realise [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently finished <a title="The Aisle" href="http://www.the-aisle.com.sg" target="_blank">a project</a>. It&#8217;s a website for a wedding gown boutique. The main function of the website is to show their products, just like a of photo gallery. There are loads of photos and I tracked every photo&#8217;s page view. While I was happily looking through the numbers in <a title="Google Analytics" href="http://www.google.com/analytics" target="_blank">Google analytics</a> I realise the page view duration is a very good indication of how good or popular the product is. People will stare at a photo longer if they like it and if they don&#8217;t like it they&#8217;ll quickly click at the next button. I feel this is very useful information to engage the customers&#8217; taste.</p>
<p>UPDATE: as @ickydime mentioned, the tracking data is not 100% accurate. There are cases that users leave the window open, go to do something else and come back to their desks again, recording a very long page view duration. And there are also users accidentally closed the page, clicked away or some other stuff, which record very short page view duration. But all these inaccuracy will be minimised when more data is collected, the errors will be averaged with a big base. Based on the tracking data, no exact figure can be given, such as 53.4% users like product A. But the data can definitely tell that a product with average 30 seconds page view duration is more popular than a product with average 5 seconds page view duration.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=k50BlENVvAw:zjUF27X2sa0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=k50BlENVvAw:zjUF27X2sa0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=k50BlENVvAw:zjUF27X2sa0:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=k50BlENVvAw:zjUF27X2sa0:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=k50BlENVvAw:zjUF27X2sa0:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=k50BlENVvAw:zjUF27X2sa0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=k50BlENVvAw:zjUF27X2sa0:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/shang-liang/feed/~4/k50BlENVvAw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://shang-liang.com/blog/understanding-website-analytics-data/feed/</wfw:commentRss>
		<feedburner:origLink>http://shang-liang.com/blog/understanding-website-analytics-data/</feedburner:origLink></item>
		<item>
		<title>Link:Next Step in Live Visuals</title>
		<link>http://feedproxy.google.com/~r/shang-liang/feed/~3/cNmhy9RibMw/</link>
		<comments>http://shang-liang.com/blog/linknext-step-in-live-visuals/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 06:36:22 +0000</pubDate>
		<dc:creator>5566</dc:creator>
		
		<category><![CDATA[Others]]></category>

		<guid isPermaLink="false">http://shang-liang.com/blog/?p=83</guid>
		<description><![CDATA[Great stuff! Very inspring!
]]></description>
			<content:encoded><![CDATA[<p><a title="next step in live visuals" href="http://www.eskimoblood.de/2008/10/26/next-step-in-live-visuals/" target="_blank">Great stuff! Very inspring!</a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=cNmhy9RibMw:TwWSh6Gj88k:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=cNmhy9RibMw:TwWSh6Gj88k:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=cNmhy9RibMw:TwWSh6Gj88k:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=cNmhy9RibMw:TwWSh6Gj88k:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=cNmhy9RibMw:TwWSh6Gj88k:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/shang-liang/feed?a=cNmhy9RibMw:TwWSh6Gj88k:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/shang-liang/feed?i=cNmhy9RibMw:TwWSh6Gj88k:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/shang-liang/feed/~4/cNmhy9RibMw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://shang-liang.com/blog/linknext-step-in-live-visuals/feed/</wfw:commentRss>
		<feedburner:origLink>http://shang-liang.com/blog/linknext-step-in-live-visuals/</feedburner:origLink></item>
	</channel>
</rss>
