<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Joe Yeung</title>
	<atom:link href="http://yeungus.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://yeungus.com</link>
	<description>This is who I am</description>
	<lastBuildDate>Wed, 16 Jun 2010 01:23:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>My 2010 FIFA World Cup Picks</title>
		<link>http://yeungus.com/2010/06/08/my-2010-fifa-world-cup-picks/</link>
		<comments>http://yeungus.com/2010/06/08/my-2010-fifa-world-cup-picks/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 14:39:03 +0000</pubDate>
		<dc:creator>Joe Yeung</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[entertainment]]></category>
		<category><![CDATA[sports]]></category>
		<category><![CDATA[thoughts]]></category>

		<guid isPermaLink="false">http://yeungus.com/?p=294</guid>
		<description><![CDATA[I&#8217;m so excited that the World Cup is finally back.  Last time around I was disappointed that my pick (Germany) didn&#8217;t win&#8230; they looked so good, but they lost to the eventual Champions —Italy.  This year is shaping up to be very exciting.  There are a number of teams that are strong and could have [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m so excited that the World Cup is finally back.  Last time around I was disappointed that my pick (Germany) didn&#8217;t win&#8230; they looked so good, but they lost to the eventual Champions —Italy.  This year is shaping up to be very exciting.  There are a number of teams that are strong and could have a nice run (I&#8217;m looking at you Spain) or lose because of their coach (Diego staring at you).</p>
<p>So who will be in the Final? well I&#8217;m not sure, I haven&#8217;t picked beyond 4 because it&#8217;s tough.  My dream scenario would be <strong>England v Argentina</strong> because of the implications; who could forget <a title="the hand of God" href="http://www.youtube.com/watch?v=gK2z5-cceP4">the hand of God</a>? or <a title="Maradona 2nd goal against England" href="http://www.youtube.com/watch?v=RiYYSradplU">the best solo play ever</a>? Just imagine how awesome it would be if they meet in the finals with Maradona as coach.</p>
<p>Now the more likely final scenario for me would be <strong>Brazil v Argentina</strong>, I really want Spain to win it all, but for some reason I don&#8217;t see them being able to get there.  It&#8217;s just that the South Americans have so much football history that they are the natural favorites.  In under a month we&#8217;ll see if my picks pan out and I will probably update my final pick once I see the first few games.</p>
<p>In any case here are my world cup picks:</p>
<div id="worldcup_list">
<h3>Top 16 (bold win)</h3>
<ul>
<li><strong>France </strong>v Nigeria</li>
<li><strong>England </strong>v Ghana</li>
<li><strong>Netherlands </strong>v Paraguay</li>
<li><strong>Brazil </strong>v Chile</li>
<li>Uruguay v <strong>Argentina</strong></li>
<li><strong>Germany </strong>v USA</li>
<li><strong>Italy </strong>v Cameroon</li>
<li><strong>Spain </strong>v Portugal</li>
</ul>
<h3>TOP 8</h3>
<ul>
<li>France v <strong>England</strong></li>
<li>Netherlands v <strong>Brazil</strong></li>
<li><strong>Argentina</strong> v Germany</li>
<li>Italy v <strong>Spain</strong></li>
</ul>
<h3>TOP 4</h3>
<ul>
<li>England v Brazil</li>
<li>Argentina v Spain</li>
</ul>
</div>
<p>I hope  you all enjoy the month-long football event as much as I will enjoy it!</p>
<p>-<small>Background image based on <a title="Jabulani ball" href="http://www.flickr.com/photos/shine2010/4166032592/">picture</a> courtesy of <a href="http://www.flickr.com/people/shine2010/"><strong>Shine 2010</strong></a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://yeungus.com/2010/06/08/my-2010-fifa-world-cup-picks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Big Corporations vs Individuals</title>
		<link>http://yeungus.com/2010/05/15/big-corporations-vs-individuals/</link>
		<comments>http://yeungus.com/2010/05/15/big-corporations-vs-individuals/#comments</comments>
		<pubDate>Sat, 15 May 2010 16:29:16 +0000</pubDate>
		<dc:creator>Joe Yeung</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[marketing]]></category>
		<category><![CDATA[school]]></category>
		<category><![CDATA[social media]]></category>

		<guid isPermaLink="false">http://yeungus.com/?p=288</guid>
		<description><![CDATA[Social media is everywhere now, from TV shows, to print media, to corporate websites.  Everywhere I turn there is a &#8220;Follow &#60;me/us&#62; on &#60;insert social site(s) here&#62;&#8221; message.  I think this is because company&#8217;s have realized the impact that social media has on their bottom line.  I recently had to discuss a New York Times [...]]]></description>
			<content:encoded><![CDATA[<p>Social media is everywhere now, from TV shows, to print media, to corporate websites.  Everywhere I turn there is a &#8220;Follow &lt;<em>me/us</em>&gt; on &lt;<em>insert social site(s) here</em>&gt;&#8221; message.  I think this is because company&#8217;s have realized the impact that social media has on their bottom line.  I recently had to discuss a <a title="The New York Times" href="http://global.nytimes.com/">New York Times</a> article in class about a <a title="Boeing’s Social-Media Lesson" href="http://mediadecoder.blogs.nytimes.com/2010/05/03/boeings-social-media-lesson/">&#8220;lesson&#8221; Boeing learned from the online social world</a>.  Said article describes the aftermath of a letter sent to Boeing by an 8-year-old named Harry.  Boeing politely replied to the letter the same way it replies to <strong>all</strong> unsolicited letters (<a title="Boeing's reply" href="http://www.johnwinsor.com/.a/6a00d83451e58769e20134802a73b1970c-pi">see reply</a>).  After Harry&#8217;s dad, who happens to be CEO of a <a title="Victors &amp; Spoils" href="http://victorsandspoils.com/">marketing agency</a>, posted the letter on his blog and his twitter account the situation started to spread until some news outlets picked it up.  This social activity cause Boeing to react by issuing a sort of apology and invited Harry to visit their facilities.</p>
<p>This situation is just another example of how &#8220;social&#8221; is changing the way  businesses deal with the customer experience.  For the last five years  or so, the emergence of social tools like facebook, twitter, digg and  the now-less-relevant myspace, has enabled people to have a stronger  voice.  All of the sudden people can voice their concerns, complaints  and preferences to an audience that may or may not agree with them.   This is the “new” word-of-mouth, same concept as before just faster,  louder and therefore more effective.  This kind of empowerment has  increased people’s sense of entitlement.  People feel more than ever  that companies must treat them with more respect.</p>
<p>The question raised in class was whether the whole situation was to &#8220;punish&#8221; Boeing or just a publicity stunt by Harry&#8217;s father&#8230; or both.  I don’t think  John (Harry’s dad), or the people involved in one way or another, want(ed)  to put Boeing back in line per se.  I believe that they expected a  friendlier customer experience from Boeing, or any company for that  matter.  It’s hard to determine if John intended to use the situation as  free publicity, but the situation sure fits what his company offers.   He created content and engaged the community the right way to create a  buzz, enough to get the New York Times interested in the issue.  The way  the issue developed definitely helped him promote his image and his  company indirectly.</p>
<p>As for the other questions raised in class (would you change airlines? and would airlines boycott Boeing?), I don’t think  they are too relevant.  First, Boeing’s action wouldn’t make me or a normal people switch  airlines to ones who do not use Boeing planes.  I do not feel offended by their action and finding other  airlines would cost too much of my time, more than my perceived  benefits.  Second, airlines have limited options when it comes to  airplane suppliers, limited options means that there’s not much airlines  are willing to do to “support” a boycott. Harry&#8217;s issue is  trivial when compared to the issue of changing airplane suppliers; however it  would be interesting to look at the issues again if more people around  the world support Harry.</p>
<p>Whether we like or not, as consumers or  businesses, the barriers separating customers from the corporate world  have shrunken. However, we should understand that as customers we can’t  get everything we want; and as businesses we can no longer treat  customers the way we’ve been doing for the last fifty years.</p>
]]></content:encoded>
			<wfw:commentRss>http://yeungus.com/2010/05/15/big-corporations-vs-individuals/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thoughts On Health Care Reform</title>
		<link>http://yeungus.com/2010/03/24/thoughts-on-health-care-reform/</link>
		<comments>http://yeungus.com/2010/03/24/thoughts-on-health-care-reform/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 17:30:12 +0000</pubDate>
		<dc:creator>Joe Yeung</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[law]]></category>
		<category><![CDATA[politics]]></category>
		<category><![CDATA[thoughts]]></category>

		<guid isPermaLink="false">http://yeungus.com/?p=252</guid>
		<description><![CDATA[The infamous Obamacare has been signed into law and that&#8217;s that;  now the real fun begins.  Let me be clear, there are certain things that I do like that are on the bill, more specifically: That insurers should accept customers who have preexisting conditions. Children can be under their parents&#8217; insurance up to 26 instead [...]]]></description>
			<content:encoded><![CDATA[<p>The infamous <a title="Obama Signs Landmark Health Bill" href="http://online.wsj.com/article/SB10001424052748704896104575139522743971904.html?mod=WSJ_WSJ_US_News_6">Obamacare has been signed into law</a> and that&#8217;s that;  now the real <em>fun</em> begins.  Let me be clear, there are certain things that I <strong>do</strong> like that are on the bill, more specifically:</p>
<ul>
<li>That insurers should accept customers who have preexisting conditions.</li>
<li>Children can be under their parents&#8217; insurance up to 26 instead of 21.</li>
<li>No Lifetime cap.</li>
</ul>
<p>I do understand that they cost money, however I <strong>do not</strong> mind paying a <em>reasonable </em>amount of money to have them.  Just as there are things that I like about the HCR (Health Care Reform) there are things that I do not like.  Many of the things that I&#8217;m against have been put in place to <em>finance</em> the operation i.e. <em>everyone must have health insurance or else</em>; <em>penalties for employers who do not offer basic health care plans; etc</em>.  Economically they make sense, it is a form to pay for health care without raising taxes directly.  However, it limits the options that a citizen has&#8230; it is in essence limiting the citizen&#8217;s freedom to choose.  This issue is being raised by many states (including my home state of Florida) who question the constitutionality of the new law.  Personally I think that the Supreme court will rule in favor of the bill.  Why? because they will see the current suit as a political move &#8211;plain &#8216;ol propaganda.  However, I see more suits down the road where they will bring a legitimate argument to the table and challenge <em>specific </em>sections of the bill rather than attacking it as a whole.  At least that&#8217;s what I expect/want to happen.</p>
]]></content:encoded>
			<wfw:commentRss>http://yeungus.com/2010/03/24/thoughts-on-health-care-reform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Google Search Results?</title>
		<link>http://yeungus.com/2010/02/24/new-google-search-results/</link>
		<comments>http://yeungus.com/2010/02/24/new-google-search-results/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 15:22:38 +0000</pubDate>
		<dc:creator>Joe Yeung</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://yeungus.com/?p=234</guid>
		<description><![CDATA[Today I went to Google and found myself with a new Search Results UI The changes: Google&#8217;s logo has been updated Search button has been updated Location; it now tells you where you are searching from and it allows you to modify your location and apply it to searches. Results count and query execution time [...]]]></description>
			<content:encoded><![CDATA[<p>Today I went to Google and found myself with a new Search Results UI</p>
<p><a title="Google's new Search Results UI?" href="http://i.yeungus.com/images/content/google_search_results.jpg"><img src="http://i.yeungus.com/images/content/google_search_results.jpg" alt="Google's new search results" width="538" height="237" /></a></p>
<p>The changes:</p>
<ol>
<li>Google&#8217;s logo has been updated</li>
<li>Search button has been updated</li>
<li>Location; it now tells you where you are searching from and it allows you to modify your location and apply it to searches.</li>
<li>Results count and query execution time has been moved to the top right just above location.</li>
<li>The <a title="Google Search Options" href="http://i.yeungus.com/images/content/google_search_options.jpg">search options</a> on the left have been, slightly, updated (UI wise)</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://yeungus.com/2010/02/24/new-google-search-results/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Review: Sakura Gables Restaurant</title>
		<link>http://yeungus.com/2009/12/29/review-sakura-gables-restaurant/</link>
		<comments>http://yeungus.com/2009/12/29/review-sakura-gables-restaurant/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 15:27:41 +0000</pubDate>
		<dc:creator>Joe Yeung</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Food]]></category>
		<category><![CDATA[Restaurants]]></category>
		<category><![CDATA[thoughts]]></category>

		<guid isPermaLink="false">http://yeungus.com/?p=230</guid>
		<description><![CDATA[My sister recommended this place, which many call the best in Miami. However, I have to say that I was not blown away. I went with two guests and we were escorted to our table within a minute, but it took them about 10 minutes to return to ask us about our drinks. We might [...]]]></description>
			<content:encoded><![CDATA[<p><span class="rating"><img src="http://i.yeungus.com/images/global/star_ratings.png" class="three_star_rating" alt="3 star rating" title="3 star rating" /></span>My sister recommended this place, which many call the best in Miami.  However, I have to say that I was not blown away.</p>
<p>I went with two guests and we were escorted to our table within a minute, but it took them about 10 minutes to return to ask us about our drinks. We might have been an exception since some other guests got their waters almost immediately, but for some reason they &#8220;forgot&#8221; about us.</p>
<p>After we ordered, we got our salads and soup (for me), one of the guests found a piece of plastic on his salad, and we didn&#8217;t event get an apology.</p>
<p>The main dishes arrived fairly quick after we ordered (about 15-20 min), and we also got our water approximately 30 min after being seated. The food itself was alright, I&#8217;ve had better sushi than the one I had there. I had a &#8220;Matsu&#8221; (6pc sashimi and california roll), I replaced the roll with their &#8220;Ultimate Roll&#8221;. In addition my guests had the &#8220;Volcano Roll&#8221; and the &#8220;Lego My Ego Roll&#8221;. I tried a roll from each of my guests and I have to say that the Volcano was alright, a little too sweet for my taste but good, the Lego My Ego was alright, I wouldn&#8217;t order it again.  My dish, the sushi was good but the fish didn&#8217;t seem as fresh and a bit too much wasabi which overpowered the taste of the fish. The Ultimate roll was supposed to have spicy mayo (which I didn&#8217;t feel), it also felt too sweet for my taste.</p>
<p>The dessert, fried cheesecake, was probably the best part of the night.</p>
<p class="short">
This place didn&#8217;t blow me away and I wouldn&#8217;t consider it a top-tier restaurant let alone a top-tier Japanese restaurant. I don&#8217;t think I was the only one that came in by good word-of-mouth, but left disappointed. An older couple sat beside us and they complained from the start until they left and with good reason. They didn&#8217;t get what they ordered and were charged for things they didn&#8217;t ordered. In addition another group of people were discussing rolls that appeared on their check when they didn&#8217;t have them.
</p>
<p class="short">Would I go again? maybe, if someone invites me, but I would try to suggest other places instead.</p>
]]></content:encoded>
			<wfw:commentRss>http://yeungus.com/2009/12/29/review-sakura-gables-restaurant/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Videos of Two Exciting Cars I Wish I Could Purchase</title>
		<link>http://yeungus.com/2009/09/20/videos-of-two-exciting-cars-i-wish-i-could-purchase/</link>
		<comments>http://yeungus.com/2009/09/20/videos-of-two-exciting-cars-i-wish-i-could-purchase/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 18:35:09 +0000</pubDate>
		<dc:creator>Joe Yeung</dc:creator>
				<category><![CDATA[Videos]]></category>
		<category><![CDATA[cars]]></category>
		<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://yeungus.com/?p=209</guid>
		<description><![CDATA[Ferrari 458 Italia This is the latest &#8220;entry&#8221; level Ferrari, it replaces the current Ferrari 430 which is IMO the best looking Ferrari of the current crop.  I&#8217;m actually surprised with how the 458 ended up looking, I feel that it has a little Japanese influence in its lines.  But I like the fact that [...]]]></description>
			<content:encoded><![CDATA[<h2>Ferrari 458 Italia</h2>
<p>This is the latest &#8220;entry&#8221; level Ferrari, it replaces the current Ferrari 430 which is IMO the best looking Ferrari of the current crop.  I&#8217;m actually surprised with how the 458 ended up looking, I feel that it has a little Japanese influence in its lines.  But I like the fact that they decided to streamline the design and made the car more compact (at least visually).  Well enough rambling just hit play and listen to that engine scream.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/3lO4KQ74r3g&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/3lO4KQ74r3g&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<h2>Lamborghini Reventón Roadster</h2>
<p>All I have to say is: this car is plain ridiculous.  The Reventón looks crazy and I love it; I wonder if I&#8217;ll ever see one in Miami&#8230;</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/FeGlghZJKBo&amp;hl=en&amp;fs=1&amp;hd=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/FeGlghZJKBo&amp;hl=en&amp;fs=1&amp;hd=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://yeungus.com/2009/09/20/videos-of-two-exciting-cars-i-wish-i-could-purchase/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3 Bandwidth Test</title>
		<link>http://yeungus.com/2009/09/07/as3-bandwidth-test/</link>
		<comments>http://yeungus.com/2009/09/07/as3-bandwidth-test/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 01:26:11 +0000</pubDate>
		<dc:creator>Joe Yeung</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[utilities]]></category>

		<guid isPermaLink="false">http://yeungus.com/?p=178</guid>
		<description><![CDATA[A few months back I was talking to a friend who is new to Flash and who was wondering what was the best way to determine a client&#8217;s connection speed.  I told him that he could use a bandwidth test to determine the client&#8217;s speed and based on the results he could decide what files [...]]]></description>
			<content:encoded><![CDATA[<p>A few months back I was talking to a friend who is new to Flash and who was wondering what was the best way to determine a client&#8217;s connection speed.  I told him that he could use a bandwidth test to determine the client&#8217;s speed and based on the results he could decide what files to serve, we searched(lightly) google and noticed that there was no available AS3 code to determine a user&#8217;s bandwidth speed.  Sure we saw that if we used <acronym title="Flash Media Server">FMS</acronym> we could use the <a href="http://www.adobe.com/livedocs/flashmediaserver/3.0/hpdocs/help.html?content=00000072.html">native bandwidth detection</a> to do our dirty work, but unfortunately not everyone has the resources to host some content on a FMS.</p>
<p>Therefore I decided to write him a little class to perform a basic bandwidth test.  It is not complicated at all, which is probably why nobody bothered posting the code online, to write code to test for speed but I have to admit that is not extremely accurate.  The accuracy of the test depends on the size of the file being downloaded for the test, the larger the file the more accurate the test is but the longer it takes to complete.  This is where one has to decide between accuracy and waiting time,  I find that a file of about 32KB gives a reasonably accurate idea of the speed a client has.  Why? well most, if not all, broadband users will be able to download this in less than a second and the results will most likely be above 100KBps, which should be fast enough for most instances that you want to test for.  Worst case scenario you could write some sort of loop that will keep testing the speed against increasingly larger files until you are satisfied with the results.</p>
<h3>So how does it work?</h3>
<p>Create an instance of the BandwidthTest class, whose constructor takes one parameter, the URL for the image or swf to test against.  Once you have your instance, you need to attach an EventListener to check when the test is complete and the last step is to call the start() function to start the test.</p>
<pre class="brush: as3">import com.yeungus.utils.BandwidthTest;

StartButton.addEventListener( MouseEvent.CLICK, startTest );
var test:BandwidthTest = new BandwidthTest( "http://yeungus.com/images/sample_image.jpg" );

function startTest( e:MouseEvent ):void
{
	test.addEventListener( Event.COMPLETE, downloadComplete );
	test.start( );
}

function downloadComplete( e:Event ):void
{
	_results.text = "results: " + Math.round( test.speed ) + "KBps";
}</pre>
<h3>The Actual Class</h3>
<p>Basically we measure the time it takes to download something and we divide the file size by said time.  The formula looks like:</p>
<pre>KBps = filesize(in KB) / ( endtime - starttime )(in s)</pre>
<p>The rest of the class just takes care of basic things like converting time into seconds and bytes into kilobytes.  The other thing that I would like to point out is that you can use the same image to do your tests.  The class attaches a random number at the end of the target URL in order to avoid caching the image.</p>
<pre class="brush: as3">package com.yeungus.utils
{
	import flash.display.Loader;
	import flash.events.Event;
	import flash.events.EventDispatcher;
	import flash.events.IOErrorEvent;
	import flash.net.URLRequest;

	public class BandwidthTest extends EventDispatcher
	{
		public var URL:String;
		public var debug:Boolean = false;
		private var _speed:Number;
		private var _startTime:Number;
		private var _loader:Loader;

		public function BandwidthTest( testFileLocation:String ):void
		{
			URL = testFileLocation;
		}

		public function get speed( ):Number{ return _speed; }

		public function start( ):void
		{
			URL += "?" + ( Math.random( ) * 100000 );
			_startTime = ( new Date( ) ).getTime( );

			_loader = new Loader( );
			_loader.contentLoaderInfo.addEventListener( Event.COMPLETE, downloadComplete );
			_loader.contentLoaderInfo.addEventListener( IOErrorEvent.IO_ERROR, ioErrorHandler );
			_loader.load( new URLRequest( URL ) );
		}

		private function downloadComplete( e:Event ):void
		{
			var endTime:Number = ( new Date( ) ).getTime( );
			var totalTime:Number = ( endTime - _startTime ) / 1000;
			var totalKB:Number = e.currentTarget.bytesTotal / 1024;
			_speed = totalKB / totalTime;

			if( debug )
				trace( "total time: " + totalTime + " total KB: " + totalKB + " speed: " + speed + "KBps" );

			dispatchEvent( e );
		}

		private function ioErrorHandler( e:IOErrorEvent ):void
		{
			_speed = -1;
			trace( "URL not found" );
		}
	}
}</pre>
<h3>Demo</h3>
<p><object style="width: 500px; height: 400px;" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="500" height="400" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://yeungus.com/assets/flash/bandwidthCheck.swf" /><embed style="width: 500px; height: 400px;" type="application/x-shockwave-flash" width="500" height="400" src="http://yeungus.com/assets/flash/bandwidthCheck.swf"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://yeungus.com/2009/09/07/as3-bandwidth-test/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Summer Playlists</title>
		<link>http://yeungus.com/2009/06/13/summer-playlists/</link>
		<comments>http://yeungus.com/2009/06/13/summer-playlists/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 13:34:11 +0000</pubDate>
		<dc:creator>Joe Yeung</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[entertainment]]></category>
		<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://yeungus.com/?p=166</guid>
		<description><![CDATA[I&#8217;m the kind of person that needs to listen to music in order to study or work or to live better in general.  So I thought it would be a good idea to share my playlists. I love music so there is a little of everything. Summer School During this semester (summer 09) I&#8217;ve been [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m the kind of person that needs to listen to music in order to study or work or to live better in general.  So I thought it would be a good idea to share my playlists.  I love music so there is a little of everything.</p>
<h3>Summer School</h3>
<p>During this semester (summer 09) I&#8217;ve been using this playlist to study and write papers for my financial analysis and marketing research classes.  I like these songs because they are very relaxing and they don&#8217;t disturb my studies, with them I actually read for longer periods of time.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="553" height="400" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="data" value="http://listen.grooveshark.com/widget.swf" /><param name="wmode" value="window" /><param name="allowScriptAccess" value="always" /><param name="flashvars" value="hostname=cowbell.grooveshark.com&amp;widgetID=8300062&amp;style=metal&amp;bbg=f5f5f5&amp;bfg=21201d&amp;bt=f5f5f5&amp;bth=FFFFFF&amp;pbg=cccccc&amp;pbgh=797979&amp;pfg=FFFFFF&amp;pfgh=ffffff&amp;si=cccccc&amp;lbg=cccccc&amp;lbgh=797979&amp;lfg=FFFFFF&amp;lfgh=ffffff&amp;sb=cccccc&amp;sbh=797979&amp;p=0" /><param name="src" value="http://listen.grooveshark.com/widget.swf" /><embed type="application/x-shockwave-flash" width="553" height="400" src="http://listen.grooveshark.com/widget.swf" flashvars="hostname=cowbell.grooveshark.com&amp;widgetID=8300062&amp;style=metal&amp;bbg=f5f5f5&amp;bfg=21201d&amp;bt=f5f5f5&amp;bth=FFFFFF&amp;pbg=cccccc&amp;pbgh=797979&amp;pfg=FFFFFF&amp;pfgh=ffffff&amp;si=cccccc&amp;lbg=cccccc&amp;lbgh=797979&amp;lfg=222222&amp;lfgh=ffffff&amp;sb=cccccc&amp;sbh=797979&amp;p=0" allowscriptaccess="always" wmode="window" data="http://listen.grooveshark.com/widget.swf"></embed></object></p>
<h3>Work</h3>
<p>Well this playlist for work might seem awkward to some, but these songs give me the <em>feeling</em>, the energy to work.  I must say that a lot of these songs where introduced to me by someone else, I don&#8217;t think I would have heard them otherwise.<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="553" height="400" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="data" value="http://listen.grooveshark.com/widget.swf" /><param name="wmode" value="window" /><param name="allowScriptAccess" value="always" /><param name="flashvars" value="hostname=cowbell.grooveshark.com&amp;widgetID=8314582&amp;style=metal&amp;bbg=f5f5f5&amp;bfg=21201d&amp;bt=f5f5f5&amp;bth=FFFFFF&amp;pbg=cccccc&amp;pbgh=797979&amp;pfg=FFFFFF&amp;pfgh=ffffff&amp;si=cccccc&amp;lbg=cccccc&amp;lbgh=797979&amp;lfg=FFFFFF&amp;lfgh=ffffff&amp;sb=cccccc&amp;sbh=797979&amp;p=0" /><param name="src" value="http://listen.grooveshark.com/widget.swf" /><embed type="application/x-shockwave-flash" width="553" height="400" src="http://listen.grooveshark.com/widget.swf" flashvars="hostname=cowbell.grooveshark.com&amp;widgetID=8314582&amp;style=metal&amp;bbg=f5f5f5&amp;bfg=21201d&amp;bt=f5f5f5&amp;bth=FFFFFF&amp;pbg=cccccc&amp;pbgh=797979&amp;pfg=FFFFFF&amp;pfgh=ffffff&amp;si=cccccc&amp;lbg=cccccc&amp;lbgh=797979&amp;lfg=222222&amp;lfgh=ffffff&amp;sb=cccccc&amp;sbh=797979&amp;p=0" allowscriptaccess="always" wmode="window" data="http://listen.grooveshark.com/widget.swf"></embed></object></p>
<p>I&#8217;m currently working on a winter playlist so if anyone has a great tune to share let me know, I would like to hear.</p>
]]></content:encoded>
			<wfw:commentRss>http://yeungus.com/2009/06/13/summer-playlists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Film Review: Star Trek</title>
		<link>http://yeungus.com/2009/05/05/film-review-star-trek/</link>
		<comments>http://yeungus.com/2009/05/05/film-review-star-trek/#comments</comments>
		<pubDate>Tue, 05 May 2009 06:00:30 +0000</pubDate>
		<dc:creator>Joe Yeung</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[movies]]></category>
		<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://yeungus.com/?p=134</guid>
		<description><![CDATA[The summer movie season is finally here! There are a number of potentially awesome movies coming out like Terminator Salvation, Transformers, Public Enemies, Harry Potter, Star Trek and more. This weekend I was lucky enough to attend a screening for J.J. Abrams&#8217; Star Trek, a week before its release, at AMC Theaters Sunset Place. Before [...]]]></description>
			<content:encoded><![CDATA[<p><span class="rating"><img src="http://i.yeungus.com/images/global/star_ratings.png" class="four_star_rating" alt="4 star rating" title="4 star rating" /></span>The summer movie season is finally here! There are a number of potentially awesome movies coming out like <a title="Terminator Salvation at IMDB" href="http://www.imdb.com/title/tt0438488/">Terminator Salvation</a>, <a title="Transformers: Revenge of the Fallen at IMDB" href="http://www.imdb.com/title/tt1055369/">Transformers</a>, <a title="Public Enemies at IMDB" href="http://www.imdb.com/title/tt1152836/">Public Enemies</a>,<a title="Half-Blood Prince at IMDB" href="http://www.imdb.com/title/tt0417741/"> Harry Potter</a>, <a title="Star Trek at IMDB" href="http://www.imdb.com/title/tt0796366/">Star Trek</a> and more.  This weekend I was lucky enough to attend a screening for J.J. Abrams&#8217; Star Trek, a week before its release, at AMC Theaters Sunset Place.  Before I continue I would like to point out that this is my first exposure to the Star Trek franchise I haven&#8217;t seen any of the TV shows or movies, however I do recognize the <a title="USS Enterprise Wiki" href="http://en.wikipedia.org/wiki/Starship_Enterprise">U.S.S. Enterprise</a> but that&#8217;s about all I know about Star Trek.</p>
<p>The film opens with a big sequence that sets up the story and the tone for the rest of the movie and it also kick starts the introduction of our main characters.  In fact most of the characters are introduced by the half hour point where the movie suddenly shifts gears and takes us inside the U.S.S. Enterprise.</p>
<p>I feel that Abrams&#8217; and his team did a great job casting all the characters, again I do not know anything about Star Trek, but the actors sure knew how to act.  But I have to single out our two main characters James T. Kirk and Spock.  Both characters back stories where well written and well acted on screen.</p>
<p>I specially liked how Zachary Quinto&#8217;s Spock portrays the conflict he is dealing with for being half human and half <a title="Vulcan Wiki Entry" href="http://en.wikipedia.org/wiki/Vulcan_(Star_Trek)">vulcan</a>.  There are scenes in which I really felt the pain and anger Spock was experiencing, yet he seemed calmed and logical as well.  I found the portrayal very interesting and I think that Spock is a good opposite for Kirk&#8217;s character.</p>
<p>Kirk is played by Chris Pine, who I&#8217;ve never heard of before this movie, and he does an incredible job.  I liked Kirk&#8217;s arrogance, wittiness and overall badassery. One can feel that Kirk knows he is the best of all of them and he sure demonstrates he is.</p>
<p>Not only did I find the cast good but the film&#8217;s cinematography is also outstanding, I loved the realistic feel the film had.  Quite the opposite of the latest Star War movies where everything seems &#8220;too clean&#8221; and CGIish.  The film goes by fast for a two hour long movie, an indicator that the film as a whole is entertaining and that there are no scenes that feel out of place or dull.</p>
<p>One of the things that I found really interesting is the way the movie kind of acknowledges the Star Trek that most people know and yet this movie clearly lets us know that this is a reboot to the franchise.</p>
<p>However there are some flaws.  First and foremost the <em>romantic </em>scenes between two characters, which I thought where OK at first but where kind of annoying and over the top as the film went on.  The second flaw is something I thought could have been better and that is the antagonist, captain Nero.  Nero&#8217;s character does have a good story but Nero himself has little screen time and he didn&#8217;t really feel that threatening.  Maybe with some more screen time Nero would have come across as more of a villain than he did.</p>
<p>I think that this movie will be a success worldwide and it will probably be the best if not one of the best movies this summer.  I personally hope Terminator Salvation is as good if not better than this movie, but that might be tough, we will find out in a couple of weeks.  Star Trek is definitely worth the price of admission and I think that it deserves a solid 4 out of 5 star rating.</p>
]]></content:encoded>
			<wfw:commentRss>http://yeungus.com/2009/05/05/film-review-star-trek/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>P90X: The First 30 Days</title>
		<link>http://yeungus.com/2009/04/15/p90x-the-first-30-days/</link>
		<comments>http://yeungus.com/2009/04/15/p90x-the-first-30-days/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 19:12:00 +0000</pubDate>
		<dc:creator>Joe Yeung</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[experiments]]></category>
		<category><![CDATA[life]]></category>

		<guid isPermaLink="false">http://yeungus.com/?p=119</guid>
		<description><![CDATA[One of my goals for this year, has actually been on my to-do list for the last 2 years, is to go back to a weight below 200 lbs. At the start of each new year, since graduating from college, I&#8217;ve made it my goal to shred some pounds, I start diets and going to [...]]]></description>
			<content:encoded><![CDATA[<p>One of my goals for this year, has actually been on my to-do list for the last 2 years, is to go back to a weight below 200 lbs.  At the start of each new year, since graduating from college, I&#8217;ve made it my goal to shred some pounds, I start diets and going to the gym only to find myself at the end of the year in square one: <span style="text-decoration: underline;">overweight</span>.  This year I did start a &#8220;diet&#8221; which really means that I&#8217;m eating healthier and smaller portions, but I didn&#8217;t plan any specific exercise routine per se.  I did know that I wanted to reach  my goal by October, a goal that I share with a co-worker who told me all about his diet and about an exercise program he wanted to try out.  The exercise program is called P90X.</p>
<p>I went online to try to get some info on this P90X thing and all I could find was infomercial crap and some <a href="http://www.youtube.com/results?search_type=&amp;search_query=p90x&amp;aq=f">youtube videos</a> of people&#8217;s transformations using the program.  I said to myself &#8220;heck, got nothing to lose&#8221; and got the <a title="P90X DVD Set" href="http://www.amazon.com/gp/product/B000TG8D6I?ie=UTF8&amp;tag=yeunginves-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000TG8D6I">P90X Extreme Home Fitness with Tony Horton &#8211; DVD set</a> @ Amazon.  I have to admit I was <strong>very </strong>skeptical about the P90X program, but to my surprise it is really intense.</p>
<p>So far I&#8217;ve been on the program for 30 days and I feel very good both mentally and physically.  My actual weight has not gone down dramatically (~7 lbs) but I attribute this to my decision of not following the program&#8217;s dietary strategy.  I do know that the diet plan will help me shred more weight that the just the exercise routines, but it is really difficult for me to adhere to the plan.  Anyhow I must say  that I still have to master<em> all</em> the routines, <strong>ab-ripper, plyometrics </strong>and <strong>core synergistics </strong>are <abbr title="In My Opinion">IMO</abbr> a <span style="text-decoration: underline;">bitch</span>, the rest of the routines I can manage well.  From all the routines that come on the <a title="P90X DVD Set" href="http://www.amazon.com/gp/product/B000TG8D6I?ie=UTF8&amp;tag=yeunginves-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000TG8D6I">DVD set</a> (12 routines in all) my favorite ones are: <strong>Kempo-X, Yoga-X </strong>and <strong>Cardio-X</strong>.</p>
<p>I have to say that I&#8217;m very happy with the program and there seems to be a lot of community support on the internet.  For instance when I started tweeting about my P90X experience, other fellow users replied back offering help and support.  I have to say though, some of them where actually &#8220;spamming&#8221;, but others where real people, interested in only helping.  I&#8217;ll try  to make posts when I reach days 60 and 90 to document my progress.  I really want to reach my goal this year, lets see if P90X can help me reach it, as Tony Horton would say <strong>bring it! </strong>I know I&#8217;m up for it.</p>
<p><strong>Some bloggers who document their P90X  journey:</strong></p>
<ul>
<li><a title="Chris Fehnel's blog" href="http://chrisfehnel.com/">Chris Fehnel</a></li>
<li><a title="Mike Stickel's blog" href="http://screenflicker.com/mike/">Mike Stickel</a></li>
<li><a title="Orlando Saez P90X review" href="http://saez.org/2007/11/21/p90x-begins">Orlando Saez</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://yeungus.com/2009/04/15/p90x-the-first-30-days/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
