<?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"
	>

<channel>
	<title>Hung Truong: The Blog!</title>
	<atom:link href="http://www.hung-truong.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hung-truong.com/blog</link>
	<description>I say potato, you say potato...</description>
	<pubDate>Tue, 26 Aug 2008 20:42:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Vote for SXSW Panels By Friday, August 29th!</title>
		<link>http://www.hung-truong.com/blog/2008/08/26/vote-for-sxsw-panels-by-friday-august-29th/</link>
		<comments>http://www.hung-truong.com/blog/2008/08/26/vote-for-sxsw-panels-by-friday-august-29th/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 20:42:45 +0000</pubDate>
		<dc:creator>Hung</dc:creator>
		
		<category><![CDATA[Nerd]]></category>

		<guid isPermaLink="false">http://www.hung-truong.com/blog/?p=841</guid>
		<description><![CDATA[
This Friday is the last day to vote for SXSW panels, so if you haven&#8217;t yet, go check out the panel picker (and check out my presentation submission, too)! SXSW provided people with badges, so I figured I&#8217;d use one (see above). Yep, I think that&#8217;s about it.
]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://panelpicker.sxsw.com/ideas/view/997"><img class="size-medium wp-image-842 aligncenter" title="panel_picker_pickme" src="http://www.hung-truong.com/blog/wp-content/uploads/2008/08/panel_picker_pickme.gif" alt="" width="125" height="125" /></a></p>
<p>This Friday is the last day to vote for SXSW panels, so if you haven&#8217;t yet, go check out the <a href="http://panelpicker.sxsw.com/">panel picker</a> (and check out <a href="http://panelpicker.sxsw.com/ideas/view/997">my presentation submission, too</a>)! SXSW provided people with badges, so I figured I&#8217;d use one (see above). Yep, I think that&#8217;s about it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hung-truong.com/blog/2008/08/26/vote-for-sxsw-panels-by-friday-august-29th/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New Glasses Time!</title>
		<link>http://www.hung-truong.com/blog/2008/08/13/new-glasses-time/</link>
		<comments>http://www.hung-truong.com/blog/2008/08/13/new-glasses-time/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 02:57:46 +0000</pubDate>
		<dc:creator>Hung</dc:creator>
		
		<category><![CDATA[Nerd]]></category>

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

		<guid isPermaLink="false">http://www.hung-truong.com/blog/?p=836</guid>
		<description><![CDATA[I&#8217;ve been pretty lazy in doing appointment stuff. I just recently did my (somewhat) annual physical and optical checkups. With the optical one comes new glasses! In the past I&#8217;ve had normal square frames, semi-rimless frames and then totally rimless.
I don&#8217;t like the semi-rimless because it makes me look old, and the totally rimless one [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been pretty lazy in doing appointment stuff. I just recently did my (somewhat) annual physical and optical checkups. With the optical one comes new glasses! In the past I&#8217;ve had normal square frames, semi-rimless frames and then totally rimless.</p>
<p>I don&#8217;t like the semi-rimless because it makes me look old, and the totally rimless one makes me look evil because the transitions effect in them never goes away (they&#8217;re always kinda tinted). I wanted some thicker frames this time around but the plastic ones I tried on didn&#8217;t feel too great. So I ended up getting a pair of metal full frame glasses that are sorta dark green and have this weird temple design.</p>
<p>The lady at the eye place was really cool and helped me try on a bunch of frames. Many of them looked kind of girly or totally bad for my face. The lady definitely knew what was up with what worked and what didn&#8217;t. Unfortunately, the frames that I really liked cost a lot and weren&#8217;t included in my vision plan. I dunno if this was her ulterior motive or if she was just picking from all the stuff equally. She probably has some kind of incentive to pick more expensive frames; but she did suggest only the ones that I agreed looked good.</p>
<p>Anyway, it went between two good frames but the green ones won in the end. If I can&#8217;t get a green DS or a green Wii, at least I can get green glasses. They should be ready in a few weeks. I&#8217;ll just pick them up right when school starts since I&#8217;ll be out of town for a while in the next few weeks.</p>
<p>As a bonus, here are some funky frames I found that didn&#8217;t make the cut (but I didn&#8217;t bother taking pictures of the actual frames I ordered, whoops!):</p>
<p style="text-align: center;"><img class="size-medium wp-image-837 aligncenter" title="notnewglasses" src="http://www.hung-truong.com/blog/wp-content/uploads/2008/08/notnewglasses-450x600.jpg" alt="" width="450" height="600" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hung-truong.com/blog/2008/08/13/new-glasses-time/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SXSW 2009 Presentation Submission + My Panel Picker Picks</title>
		<link>http://www.hung-truong.com/blog/2008/08/10/sxsw-2009-presentation-submission-my-panel-picker-picks/</link>
		<comments>http://www.hung-truong.com/blog/2008/08/10/sxsw-2009-presentation-submission-my-panel-picker-picks/#comments</comments>
		<pubDate>Sun, 10 Aug 2008 04:35:06 +0000</pubDate>
		<dc:creator>Hung</dc:creator>
		
		<category><![CDATA[Nerd]]></category>

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

		<guid isPermaLink="false">http://www.hung-truong.com/blog/?p=822</guid>
		<description><![CDATA[
A few weeks ago, I saw that SXSW Interactive was accepting applications for panel ideas. I&#8217;ve been playing a lot with analyzing social networks and network structure in and out of my coursework at the University of Michigan, so I wrote a panel proposal for a walkthrough of network theory and how it&#8217;s relevant and [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="alignnone size-medium wp-image-829" title="sxsw2009ia" src="http://www.hung-truong.com/blog/wp-content/uploads/2008/08/sxsw2009ia.gif" alt="" width="240" height="230" /></p>
<p>A few weeks ago, I saw that <a href="http://sxsw.com/interactive">SXSW Interactive</a> was accepting applications for panel ideas. I&#8217;ve been playing a lot with analyzing social networks and network structure in and out of my coursework at the University of Michigan, so I wrote a panel proposal for a walkthrough of network theory and how it&#8217;s relevant and useful to companies and products that have some kind of social component.</p>
<p>My general motivation for proposing this is that I&#8217;m sure that a lot of companies have some really interesting network data about their users that isn&#8217;t being put to good use. Sure, a company like Microsoft or Yahoo will have their own research labs (<a href="http://www.hung-truong.com/blog/wp-content/uploads/2008/08/starpower.pdf">this paper</a> from Yahoo Research about the evolution of social networks is totally awesome), but smaller companies will most likely lack the resources and skills to do interesting network analysis. Hopefully my presentation will serve as a good starting point for people with access to rich network data to produce some really interesting data and maybe even share it. This kind of data is usually difficult to get access to, so it&#8217;s kind of a shame if the data exists and isn&#8217;t being used.</p>
<p>Anyway, check out my official submission <a href="http://panelpicker.sxsw.com/ideas/view/997">here</a>. It&#8217;d be cool if I could get some supporters to vote and comment on the thing, but I guess that might become kind of spammy as well. I also checked out a bunch of the proposals on the SXSW Panel Picker. Here&#8217;s a few I think look interesting:</p>
<p><a class="url" href="http://lotusmedia.org/" target="_blank">Ruby Sinreich</a>, <a href="http://panelpicker.sxsw.com/ideas/view/1395">Understanding Social Networks, Beyond the Graph</a> - This one seems probably the most similar to mine, so it makes sense that it looks really interesting to me. It looks like rather than focusing on theory, this panel will be more practical in nature.</p>
<p><a href="http://www.mussie.com/" target="_blank">Mussie Shore</a>, <a href="http://panelpicker.sxsw.com/ideas/view/1155">Bustin&#8217; Social out of the Network</a> - This one looks neat mainly because the speaker founded a mobile software company that was acquired by Google and now works on OpenSocial. Plus there&#8217;s a ton of positive comments already (wonder if he&#8217;s got his possee on this).</p>
<p><a class="url" href="http://dysco.dj/" target="_blank">ian nieves</a>, <a href="http://panelpicker.sxsw.com/ideas/view/992">Discovery: The Future of Friend Search</a> - Searching people is a problem that I&#8217;ve always had an interest in. Using network centrality measure makes sense to rank which people come up in a search. I&#8217;m interested in seeing what kind of algorithm this guy is using for friend search.</p>
<p><a class="url" href="http://www.userglue.com/" target="_blank">Russ Unger</a>, <a href="http://panelpicker.sxsw.com/ideas/view/1002">Friendship is Dead</a> - I just love the idea of this panel. The fact that people aren&#8217;t really people anymore; they&#8217;re just items to collect in Facebook. Kind of like Pokemon.</p>
<p>I haven&#8217;t gotten through all the panels but I&#8217;m hoping to skim through all the sections I might find interesting. Hopefully my idea will be interesting enough to be selected. Remember, sign up for a SXSW account, check out the <a href="http://panelpicker.sxsw.com/">Panel Picker</a>, and vote for stuff (including <a href="http://panelpicker.sxsw.com/ideas/view/997">me</a>)!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hung-truong.com/blog/2008/08/10/sxsw-2009-presentation-submission-my-panel-picker-picks/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Wii Fit Update: 2+ Months Later</title>
		<link>http://www.hung-truong.com/blog/2008/08/04/wii-fit-update-2-months-later/</link>
		<comments>http://www.hung-truong.com/blog/2008/08/04/wii-fit-update-2-months-later/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 02:12:08 +0000</pubDate>
		<dc:creator>Hung</dc:creator>
		
		<category><![CDATA[Video Games]]></category>

		<category><![CDATA[wii fit]]></category>

		<guid isPermaLink="false">http://www.hung-truong.com/blog/?p=819</guid>
		<description><![CDATA[My weight loss is still going pretty well with Wii Fit though the numbers seem to fit better to a power law than a linear function. But luckily the alpha is still pretty forgiving, so I&#8217;m still losing weight.
Today I reached a sort of achievement (personal, not xbox live style) by doing the 10 reps [...]]]></description>
			<content:encoded><![CDATA[<p>My weight loss is still going pretty well with Wii Fit though the numbers seem to fit better to a power law than a linear function. But luckily the alpha is still pretty forgiving, so I&#8217;m still losing weight.</p>
<p>Today I reached a sort of achievement (personal, not xbox live style) by doing the 10 reps of push-ups and side plank without collapsing or &#8220;dropping my hips&#8221; as my trainer likes to say. Although she asked even though I didn&#8217;t. Oh well. At least I know I accomplished this task.</p>
<p>Also, the lunges are freakin&#8217; hard. I wonder if I&#8217;m doing them correctly. They make the leg that I step back with feel like they&#8217;re going to explode around the 9th or so rep. Lunges are probably the only exercise that hasn&#8217;t gotten easier since starting Wii Fit. I wonder why&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hung-truong.com/blog/2008/08/04/wii-fit-update-2-months-later/feed/</wfw:commentRss>
		</item>
		<item>
		<title>After Life</title>
		<link>http://www.hung-truong.com/blog/2008/07/27/after-life/</link>
		<comments>http://www.hung-truong.com/blog/2008/07/27/after-life/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 03:07:30 +0000</pubDate>
		<dc:creator>Hung</dc:creator>
		
		<category><![CDATA[Movie]]></category>

		<guid isPermaLink="false">http://www.hung-truong.com/blog/?p=816</guid>
		<description><![CDATA[
After Life (also called &#8220;Wonderful Life&#8221; in Japanese) is a film about what happens when you die. I&#8217;ve been wanting to watch this movie recently because a few people close to me have passed away in the last year. I was originally introduced to this film a few years ago in Japanese class by a [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.amazon.com/gp/product/B00004U1F9?ie=UTF8&amp;tag=hungtruong-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B00004U1F9"><img class="size-medium wp-image-817 aligncenter" title="after-life" src="http://www.hung-truong.com/blog/wp-content/uploads/2008/07/after-life.jpg" alt="" width="336" height="475" /></a></p>
<p>After Life (also called &#8220;Wonderful Life&#8221; in Japanese) is a film about what happens when you die. I&#8217;ve been wanting to watch this movie recently because a few people close to me have passed away in the last year. I was originally introduced to this film a few years ago in Japanese class by a classmate who was a philosophy grad student. After Life has a somewhat positive view on the afterlife, so I thought it&#8217;d be nice to watch.</p>
<p>The film&#8217;s afterlife is actually really similar to the world as we know it. Seasons change, electricity goes out and people get cold when it snows. The difference is that new visitors to the afterlife have a week to choose their most precious (大切な!) memory to immortalize in film form. Apparently they&#8217;ll watch their memory and then go on to yet another afterlife where they keep only that memory with them.</p>
<p>The idea is both liberating and excruciating at the same time. You can forget all the bad things that happened in life and cling onto one great memory. But you also have to leave all of your life&#8217;s work and focus on the one most important moment of your life.</p>
<p>The film works in sort of a pseudo-documentary/narrative mode where the dead counselors help the newly departed choose their memories. What follows is a candid look at the lives of 10 or so people. Some won&#8217;t stop talking about their womanizing ways while others think it would be cool to choose Splash Mountain. Apparently a lot of high school girls pick Splash Mountain.</p>
<p>In the midst of all this, there&#8217;s also a plotline concerning the relationship between two of the counselors. It turns out the counselors are dead, too. They&#8217;re all people who weren&#8217;t able to choose a memory. There&#8217;s a love story of sorts going on between them which kind of begs the question: why doesn&#8217;t everyone just choose to stay in the limbo afterlife instead of making a movie memory? They could literally live forever. Maybe people living in the limbo eventually fall out of love or get bored and decide to end it? I could imagine a number of Hamlet-style soliloquies proposing &#8220;to choose or not to choose?&#8221;</p>
<p>One of the recently dead, a young punk, starts messing with the counselors. He asks if he can use a dream as his memory, or even just make stuff up. He&#8217;s sort of the voice of reason in the movie. He asks the questions that I&#8217;d ask and prys much more than the other deceased. While watching I realized that the actor was also Morita in <a href="http://www.basugasubakuhatsu.com/blog/2008/06/21/honey-and-clover-live-action-movie-review/">Honey &#038; Clover</a>, another Japanese movie I recently watched. Apparently he&#8217;s also in Casshern!</p>
<p>After all of the dead people choose their memories, the counselors get to work making their memories into mini-movies. After Life works because of its absolute earnestness. It really seems like a true documentary where these people are choosing their ultimate fates. They seem completely genuine when they&#8217;re describing the happiest moments of their lives and genuinely happy to see those moments recreated on set with actors portraying them. It probably helps that the director did a lot of actual documentaries before working on this movie.</p>
<p>After Life is a great movie because it successfully suspends disbelief. For the 118 minutes of the film, I&#8217;m convinced that when you die, you make a movie about your life, watch it, and relive that memory forever. That alone is wonderful, given our uncertainty of the afterlife while we&#8217;re still living.</p>
<p>So yeah, that&#8217;s what I have to say about After Life. It&#8217;s quirky, funny, thoughtful and genuine. I really dig it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hung-truong.com/blog/2008/07/27/after-life/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Neat iPhone App: Shazam!</title>
		<link>http://www.hung-truong.com/blog/2008/07/22/title/</link>
		<comments>http://www.hung-truong.com/blog/2008/07/22/title/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 15:42:08 +0000</pubDate>
		<dc:creator>Hung</dc:creator>
		
		<category><![CDATA[Music]]></category>

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

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

		<guid isPermaLink="false">http://www.hung-truong.com/blog/2008/07/22/title/</guid>
		<description><![CDATA[Let me tell you a little story.
While on my drive back from the grocery store today, windshield down and blasting some &#8220;Of Montreal,&#8221; I overheard some sweet tunes coming from a truck during a red light. Instead of yelling at the driver for the name of the tune (he might not have known anyway), I [...]]]></description>
			<content:encoded><![CDATA[<p>Let me tell you a little story.</p>
<p>While on my drive back from the grocery store today, windshield down and blasting some &#8220;Of Montreal,&#8221; I overheard some sweet tunes coming from a truck during a red light. Instead of yelling at the driver for the name of the tune (he might not have known anyway), I turned off my radio, fired up this app, Shazam, and held it out the window for a few seconds. The app came back at me with the song title, artist, and other junk:</p>
<p style="text-align: center;"><img class="size-medium wp-image-810 aligncenter" title="Shazam" src="http://www.hung-truong.com/blog/wp-content/uploads/2008/07/photo.jpg" alt="" width="320" height="480" /></p>
<p>And here&#8217;s a link to buy the song (if I ever wanted to&#8230;)!</p>
<p style="text-align: center;"><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_4147bcde-f0f1-44a0-9fcd-705924a5510f"  WIDTH="234px" HEIGHT="60px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?ServiceVersion=20070822&#038;MarketPlace=US&#038;ID=V20070822%2FUS%2Fb00003ph0-20%2F8014%2F4147bcde-f0f1-44a0-9fcd-705924a5510f&#038;Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?ServiceVersion=20070822&#038;MarketPlace=US&#038;ID=V20070822%2FUS%2Fb00003ph0-20%2F8014%2F4147bcde-f0f1-44a0-9fcd-705924a5510f&#038;Operation=GetDisplayTemplate" id="Player_4147bcde-f0f1-44a0-9fcd-705924a5510f" quality="high" bgcolor="#ffffff" name="Player_4147bcde-f0f1-44a0-9fcd-705924a5510f" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="60px" width="234px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?ServiceVersion=20070822&#038;MarketPlace=US&#038;ID=V20070822%2FUS%2Fb00003ph0-20%2F8014%2F4147bcde-f0f1-44a0-9fcd-705924a5510f&#038;Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT></p>
<p>Pretty cool.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hung-truong.com/blog/2008/07/22/title/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Bat Attack!</title>
		<link>http://www.hung-truong.com/blog/2008/07/19/bat-attack/</link>
		<comments>http://www.hung-truong.com/blog/2008/07/19/bat-attack/#comments</comments>
		<pubDate>Sat, 19 Jul 2008 05:06:17 +0000</pubDate>
		<dc:creator>Hung</dc:creator>
		
		<category><![CDATA[Nerd]]></category>

		<guid isPermaLink="false">http://www.hung-truong.com/blog/?p=804</guid>
		<description><![CDATA[Less than 4 hours after writing about The Dark Knight, revenge struck in the form of a bat flying around in my apartment. I&#8217;m not sure if this bat was sent as punishment for me not going to see Dark Knight again or what, but it freaked me out! It flew around the living room [...]]]></description>
			<content:encoded><![CDATA[<p>Less than 4 hours after writing about The Dark Knight, revenge struck in the form of a bat flying around in my apartment. I&#8217;m not sure if this bat was sent as punishment for me not going to see Dark Knight again or what, but it freaked me out! It flew around the living room for a while, terrorizing me, then went to other parts of the apartment. Then it kinda crawled around on the ground for a while. I think it was trying to hide or look for high ground to start flying again.</p>
<div class="flvPlayer">				<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="480" height="380"><param name="movie" value="http://www.hung-truong.com/blog/video/flvplayer.swf?file=/blog/video/BatApartment.flv&amp;autoStart=false;" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><embed src="http://www.hung-truong.com/blog/video/flvplayer.swf?file=/blog/video/BatApartment.flv&amp;autoStart=false;" quality="high" wmode="transparent" width="480" height="380" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /><br />
				</object></div>
<p>Then I hatched an ingenious plan to open a window and have the bat fly out of it! It worked!</p>
<p>I really have no idea how the bat got in, since the only windows open were the ones with screens. Maybe the bat squeezed through one? Or maybe it was a lame assassination attempt? We may never know the truth!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hung-truong.com/blog/2008/07/19/bat-attack/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Dark Knight: In IMAX!</title>
		<link>http://www.hung-truong.com/blog/2008/07/18/the-dark-knight-in-imax/</link>
		<comments>http://www.hung-truong.com/blog/2008/07/18/the-dark-knight-in-imax/#comments</comments>
		<pubDate>Sat, 19 Jul 2008 00:24:36 +0000</pubDate>
		<dc:creator>Hung</dc:creator>
		
		<category><![CDATA[Movie]]></category>

		<guid isPermaLink="false">http://www.hung-truong.com/blog/?p=799</guid>
		<description><![CDATA[
I went to see The Dark Knight in IMAX last night. It was pretty good. I mean, as far as movies go it was probably one of the best I&#8217;ve seen in years. But there was so much hype leading up to it that the movie was kind of wasted. My co-workers were really psyched [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-medium wp-image-800 aligncenter" title="the_dark_knight_poster" src="http://www.hung-truong.com/blog/wp-content/uploads/2008/07/the_dark_knight_poster-405x600.jpg" alt="" width="405" height="600" /></p>
<p>I went to see The Dark Knight in IMAX last night. It was pretty good. I mean, as far as movies go it was probably one of the best I&#8217;ve seen in years. But there was so much hype leading up to it that the movie was kind of wasted. My co-workers were really psyched about the movie. So listening to them continuously talk up the movie had its effect on me, I guess. If I had come in with no expectations, the movie would&#8217;ve been incredible. It still was, and it met the hype, but sometimes I feel the best way to go into a movie is with no expectations at all.</p>
<p>When I went to see Wall-e a few weeks ago (or maybe it was just last week), I had no idea what the movie was about. Okay, so I knew it had a robot in it. And that was about it. I ended up enjoying it a lot! I think we, as viewers, should just let the damn story tell itself. No spoilers, no trailers, maybe just a title. </p>
<p>Knowing as little as possible about a movie going into it probably gives the best chance for me to enjoy it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hung-truong.com/blog/2008/07/18/the-dark-knight-in-imax/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hardcore Rails/Server Troubleshooting Session!</title>
		<link>http://www.hung-truong.com/blog/2008/07/15/hardcore-railsserver-troubleshooting-session/</link>
		<comments>http://www.hung-truong.com/blog/2008/07/15/hardcore-railsserver-troubleshooting-session/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 01:29:50 +0000</pubDate>
		<dc:creator>Hung</dc:creator>
		
		<category><![CDATA[Code]]></category>

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

		<guid isPermaLink="false">http://www.hung-truong.com/blog/?p=797</guid>
		<description><![CDATA[So early last night, I noticed that one of my sites, Anime Nano, was flipping out and throwing 502 proxy errors. I tried to do some simple troubleshooting but it seems as though the problem came very suddenly, and I figured it might go away very suddenly as well. The thing about this particular problem [...]]]></description>
			<content:encoded><![CDATA[<p>So early last night, I noticed that one of my sites, Anime Nano, was flipping out and throwing 502 proxy errors. I tried to do some simple troubleshooting but it seems as though the problem came very suddenly, and I figured it might go away very suddenly as well. The thing about this particular problem was that I had made no changes to the server. So the problem should fix itself! Unfortunately, life is not so simple.</p>
<p>When I woke up in the morning, not only was the site still throwing errors, it was also affecting my other websites as well. MapsKrieg, Notecentric, Basugasubakuhatsu, etc. So I figured I should find out what is going on. I sent a support request to MediaTemple, my host, in case it might&#8217;ve been something on their end. It took a while for them to reply, but they eventually just told me it was something taking up all the memory and that I should try to optimize the site. Not too helpful. But I don&#8217;t really expect MediaTemple to provide this kind of support anyway. And it turned out it wasn&#8217;t their fault.</p>
<p>Upon closer inspection, the site was really behaving weird. I could tell by the logs that the site was actually rendering things, but it always took about 189 seconds. This was odd. I&#8217;ve had experiences before where the rendering took less than a second but the page still took more than 3 seconds to load. But 189 seconds! That was a bit too much.</p>
<p>I had suspected it was something to do with the mongrel cluster that I had set the site up to run on. Basically, I followed the script that MediaTemple provided and I still don&#8217;t have a great understanding of how mongrel cluster works. That&#8217;s definitely bad.</p>
<p>I tried stripping the view of everything but the content for layout. I got rid of before_filters and tried running the site on the mongrel clusters as well as the webrick server on port 3000. The same thing happened. It took way too long for the site to load. Thinking it might be easier to test on my local machine, I got the site and database from svn and mysql and, strangely, it worked fine on my PC.</p>
<p>Now things were slowly fitting together. I was reminded of a post that someone made on Anime Nano about how their feed wasn&#8217;t being aggregated into the site. Apparently their feed was unreachable from my server. I had previously chalked this up to weirdness on their server, but I wondered if it wasn&#8217;t a problem on my server. The thing about each pageload taking almost exactly 189 seconds pointed to a timeout issue. Then I realized there was a piece of code in Anime Nano that I hadn&#8217;t written. It was a plugin for Text Link Ads that I used for some ads on the bottom of the site. That plugin was grabbing a feed of ads and parsing it to show links automatically on the site.</p>
<p>If their site was unreachable, it&#8217;s possible that Anime Nano was just waiting on grabbing that snippet of code and timing out. And that&#8217;s exactly what happened. I commented out the text for the ads and the site immediately started working again. I&#8217;ll have to look into how I can prevent this from happening again before reinstating the ads.</p>
<p>So what did I learn from this whole experience? You should probably understand how code works before randomly integrating it into your site (I added that code a long, long time ago and forgot about it). Also, relying on a third party to provide some information before loading your site is just plain stupid. I can&#8217;t believe how badly thought out I had made the organization of the site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hung-truong.com/blog/2008/07/15/hardcore-railsserver-troubleshooting-session/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Wii Fit: Fun With Linear Regression!</title>
		<link>http://www.hung-truong.com/blog/2008/07/14/wii-fit-fun-with-linear-regression/</link>
		<comments>http://www.hung-truong.com/blog/2008/07/14/wii-fit-fun-with-linear-regression/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 05:18:02 +0000</pubDate>
		<dc:creator>Hung</dc:creator>
		
		<category><![CDATA[Video Games]]></category>

		<category><![CDATA[wii fit]]></category>

		<guid isPermaLink="false">http://www.hung-truong.com/blog/?p=795</guid>
		<description><![CDATA[<br />
<b>Warning</b>:  Division by zero in <b>/home/.delta/hungtruong/hung-truong.com/blog/wp-content/plugins/tla_49490.php</b> on line <b>407</b><br />
<br />
<b>Warning</b>:  Division by zero in <b>/home/.delta/hungtruong/hung-truong.com/blog/wp-content/plugins/tla_49490.php</b> on line <b>415</b><br />

So I&#8217;ve been playing Wii Fit for a while. One of the really neat things about the program (it&#8217;s not really a game, right?) is that it automagically graphs your progress as you lose weight. It&#8217;s pretty nice getting positive feedback when you put hard work into something. I think this is one of the [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="alignnone size-medium wp-image-794 aligncenter" title="wii-fit-weight1" src="http://www.hung-truong.com/blog/wp-content/uploads/2008/07/wii-fit-weight1-500x375.jpg" alt="" width="500" height="375" /></p>
<p>So I&#8217;ve been playing Wii Fit for a while. One of the really neat things about the program (it&#8217;s not really a game, right?) is that it automagically graphs your progress as you lose weight. It&#8217;s pretty nice getting positive feedback when you put hard work into something. I think this is one of the very well thought-out features of Wii Fit.</p>
<p>Anyway, I was looking at my weight going down and figured I&#8217;d do some rudimentary linear regression on it. I&#8217;m pretty much just eyeballing it because I don&#8217;t want to throw stuff into R or Matlab. It seems as though I&#8217;ll reach a threshold (away from Obesity) around the end of August. Though I&#8217;m basing this on a linear fit. It&#8217;s possible that the actual plot will end up looking more like a power law since it&#8217;s easier to lose weight when you&#8217;re way overweight. The point is, I&#8217;m losing weight and it&#8217;s nice to try and see when I might reach my goals.</p>
<p>I also think it&#8217;s worth noting that Wii Fit seems to overestimate my weight. Because when I use my bathroom scale my weight is always lower than what Wii Fit says. I guess I could adjust the &#8220;weight of clothing&#8221; but since I always pick the same thing I don&#8217;t want to mess with the consistency.</p>
<p>Now, if Nintendo had programmed some regression in automatically, I&#8217;d have to give it a 10/10 for science! But for now I&#8217;m pretty happy with just the graph functionality. It&#8217;s fun seeing large local fluctuations with a general downward trend. Now, if I can only keep this graph from turning into a parabola like with my DDR Diet&#8230;</p>
<p style="text-align: center;"><img class="alignnone size-medium wp-image-796 aligncenter" title="181_215_large" src="http://www.hung-truong.com/blog/wp-content/uploads/2008/07/181_215_large-500x375.png" alt="" width="500" height="375" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hung-truong.com/blog/2008/07/14/wii-fit-fun-with-linear-regression/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
