<?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>almostFlan</title>
	<atom:link href="http://almostflan.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://almostflan.com</link>
	<description>Yes, I changed it again...</description>
	<pubDate>Sun, 17 Aug 2008 04:05:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Moosechips</title>
		<link>http://almostflan.com/2008/08/16/moosechips/</link>
		<comments>http://almostflan.com/2008/08/16/moosechips/#comments</comments>
		<pubDate>Sun, 17 Aug 2008 04:05:06 +0000</pubDate>
		<dc:creator>Frank Lam</dc:creator>
		
		<category><![CDATA[Stuff]]></category>

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

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

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

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

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

		<guid isPermaLink="false">http://almostflan.com/?p=116</guid>
		<description><![CDATA[So earlier this month, I set Kristi up with wordpress (as I have in the past with lots of other people).  For some weird reason, the site was developed quickly and she actually posts on it&#8230; :O
Check it out here
If anyone else wants a wp blog for the price of a domain registration, I [...]]]></description>
			<content:encoded><![CDATA[<p>So earlier this month, I set Kristi up with wordpress (as I have in the past with lots of other people).  For some weird reason, the site was developed quickly and she actually posts on it&#8230; :O</p>
<p>Check it out <a href="http://moosechips.com">here</a></p>
<p>If anyone else wants a wp blog for the price of a domain registration, I can host it <img src='http://almostflan.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<hr/>
<p>In other news, Team USA <a href="http://www.nba.com/usabasketball2008/spain_20080816.html">demolishes</a> Spain???</p>
<p>I did not see that one coming&#8230;</p>
<p>Anyway, maybe my thoughts on that at a later point.</p>
]]></content:encoded>
			<wfw:commentRss>http://almostflan.com/2008/08/16/moosechips/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A nice wordpress plugin for including SWFs</title>
		<link>http://almostflan.com/2008/08/13/a-nice-wordpress-plugin-for-including-swfs/</link>
		<comments>http://almostflan.com/2008/08/13/a-nice-wordpress-plugin-for-including-swfs/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 02:25:26 +0000</pubDate>
		<dc:creator>Frank Lam</dc:creator>
		
		<category><![CDATA[Adventures in Flex]]></category>

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

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

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

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

		<guid isPermaLink="false">http://almostflan.com/?p=113</guid>
		<description><![CDATA[I did some searching for a good plugin to embed swf files into wordpress posts and it seemed like lots of the ones I turned up were rather dated until I ran into this one by Matt Carpenter.  It uses the latest version of the SWFObject project and is compatible with Wordpress 2.6.
]]></description>
			<content:encoded><![CDATA[<p>I did some searching for a good plugin to embed swf files into wordpress posts and it seemed like lots of the ones I turned up were rather dated until I ran into <a href="http://wordpress.org/extend/plugins/swfobj/">this one</a> by Matt Carpenter.  It uses the latest version of the <a href="http://code.google.com/p/swfobject/">SWFObject project</a> and is compatible with Wordpress 2.6.</p>
]]></content:encoded>
			<wfw:commentRss>http://almostflan.com/2008/08/13/a-nice-wordpress-plugin-for-including-swfs/feed/</wfw:commentRss>
		</item>
		<item>
		<title>So we went to Red Robin&#8230;</title>
		<link>http://almostflan.com/2008/08/10/so-we-went-to-red-robin/</link>
		<comments>http://almostflan.com/2008/08/10/so-we-went-to-red-robin/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 06:10:42 +0000</pubDate>
		<dc:creator>Frank Lam</dc:creator>
		
		<category><![CDATA[Stuff]]></category>

		<guid isPermaLink="false">http://almostflan.com/?p=94</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><a href="http://almostflan.com/wp-content/uploads/2008/08/bluerobin1.jpg"><img src="http://almostflan.com/wp-content/uploads/2008/08/bluerobin1-300x196.jpg" alt="" title="bluerobin" width="300" height="196" class="alignnone size-medium wp-image-97" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://almostflan.com/2008/08/10/so-we-went-to-red-robin/feed/</wfw:commentRss>
		</item>
		<item>
		<title>I had pho</title>
		<link>http://almostflan.com/2008/08/07/i-had-pho/</link>
		<comments>http://almostflan.com/2008/08/07/i-had-pho/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 05:49:46 +0000</pubDate>
		<dc:creator>Frank Lam</dc:creator>
		
		<category><![CDATA[Stuff]]></category>

		<guid isPermaLink="false">http://almostflan.com/?p=92</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><a href='http://almostflan.com/wp-content/uploads/2008/08/pho.jpg'><img src="http://almostflan.com/wp-content/uploads/2008/08/pho-300x225.jpg" alt="" title="pho" width="300" height="225" class="alignnone size-medium wp-image-93" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://almostflan.com/2008/08/07/i-had-pho/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Custom width and height of Flex Slider thumb</title>
		<link>http://almostflan.com/2008/07/16/custom-width-and-height-of-flex-slider-thumb/</link>
		<comments>http://almostflan.com/2008/07/16/custom-width-and-height-of-flex-slider-thumb/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 22:35:55 +0000</pubDate>
		<dc:creator>Frank Lam</dc:creator>
		
		<category><![CDATA[Adventures in Flex]]></category>

		<guid isPermaLink="false">http://almostflan.com/?p=89</guid>
		<description><![CDATA[In Flex, if you have a custom slider thumb, it will always be scaled to a set size that Flex wants (I think 20&#215;20).
For example,
&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34; 
&#160; &#160; &#160; &#160; backgroundColor=&#34;#ffffff&#34; 
&#160; &#160; &#160; &#160; width=&#34;300&#34; height=&#34;100&#34;&#62;
&#160; &#160; &#60;mx:HSlider thumbSkin=&#34;@Embed(source='resources/images/mario8bit.png')&#34; /&#62;
&#60;/mx:Application&#62;
would give you this:
To fix this, I wrote a class that extends SliderThumb [...]]]></description>
			<content:encoded><![CDATA[<p>In Flex, if you have a custom slider thumb, it will always be scaled to a set size that Flex wants (I think 20&#215;20).</p>
<p>For example,</p>
<div class="codecolorer-container actionscript"><div class="codecolorer" style="font-family: monospace;">&lt;?<span class="kw3">xml</span> <span class="kw3">version</span>=<span class="st0">&quot;1.0&quot;</span> encoding=<span class="st0">&quot;utf-8&quot;</span>?&gt;<br />
&lt;mx:Application xmlns:mx=<span class="st0">&quot;http://www.adobe.com/2006/mxml&quot;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">backgroundColor</span>=<span class="st0">&quot;#ffffff&quot;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">width</span>=<span class="st0">&quot;300&quot;</span> <span class="kw3">height</span>=<span class="st0">&quot;100&quot;</span>&gt;<br />
&nbsp; &nbsp; &lt;mx:HSlider thumbSkin=<span class="st0">&quot;@Embed(source='resources/images/mario8bit.png')&quot;</span> /&gt;<br />
&lt;/mx:Application&gt;</div></div>
<p>would give you this:</p>

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="swfobj_0" width="300" height="100">
      <param name="movie" value="http://almostflan.com/flex/sandbox/sliderThumb.swf" />
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="http://almostflan.com/flex/sandbox/sliderThumb.swf" width="300" height="100">
      <!--<![endif]-->
        <p><p>The Flash plugin is required to view this object.</p></p>
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>

<p>To fix this, I wrote a class that extends SliderThumb and sets to the measured size of the skin image:</p>
<div class="codecolorer-container actionscript"><div class="codecolorer" style="font-family: monospace;">package controls.<span class="me1">sliderClasses</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">controls</span>.<span class="me1">sliderClasses</span>.<span class="me1">SliderThumb</span>;<br />
&nbsp; &nbsp; <span class="kw3">import</span> mx.<span class="me1">core</span>.<span class="me1">mx_internal</span>;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; use namespace mx_internal;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="kw3">public</span> <span class="kw2">class</span> FlexibleSliderThumb <span class="kw3">extends</span> SliderThumb <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; override protected <span class="kw2">function</span> measure<span class="br0">&#40;</span><span class="br0">&#41;</span>:<span class="kw3">void</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">super</span>.<span class="me1">measure</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; measuredWidth = currentSkin.<span class="me1">measuredWidth</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; measuredHeight = currentSkin.<span class="me1">measuredHeight</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
<span class="br0">&#125;</span></div></div>
<p>Now, modifying the mxml file like so:</p>
<div class="codecolorer-container actionscript"><div class="codecolorer" style="font-family: monospace;">&lt;?<span class="kw3">xml</span> <span class="kw3">version</span>=<span class="st0">&quot;1.0&quot;</span> encoding=<span class="st0">&quot;utf-8&quot;</span>?&gt;<br />
&lt;mx:Application xmlns:mx=<span class="st0">&quot;http://www.adobe.com/2006/mxml&quot;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">backgroundColor</span>=<span class="st0">&quot;#ffffff&quot;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">width</span>=<span class="st0">&quot;300&quot;</span> <span class="kw3">height</span>=<span class="st0">&quot;100&quot;</span>&gt;<br />
&nbsp; &nbsp; &lt;mx:Script&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!<span class="br0">&#91;</span>CDATA<span class="br0">&#91;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">import</span> controls.<span class="me1">sliderClasses</span>.<span class="me1">FlexibleSliderThumb</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#93;</span><span class="br0">&#93;</span>&gt;<br />
&nbsp; &nbsp; &lt;/mx:Script&gt;<br />
&nbsp; &nbsp; &lt;mx:HSlider <br />
&nbsp; &nbsp; &nbsp; &nbsp; thumbSkin=<span class="st0">&quot;@Embed(source='resources/images/mario8bit.png')&quot;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; sliderThumbClass=<span class="st0">&quot;{controls.sliderClasses.FlexibleSliderThumb}&quot;</span>/&gt;<br />
&lt;/mx:Application&gt;</div></div>
<p>gives you this:</p>

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="swfobj_1" width="300" height="100">
      <param name="movie" value="http://almostflan.com/flex/sandbox/sliderThumb1.swf" />
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="http://almostflan.com/flex/sandbox/sliderThumb1.swf" width="300" height="100">
      <!--<![endif]-->
        <p><p>The Flash plugin is required to view this object.</p></p>
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>

]]></content:encoded>
			<wfw:commentRss>http://almostflan.com/2008/07/16/custom-width-and-height-of-flex-slider-thumb/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flan</title>
		<link>http://almostflan.com/2008/06/27/flan/</link>
		<comments>http://almostflan.com/2008/06/27/flan/#comments</comments>
		<pubDate>Sat, 28 Jun 2008 03:12:29 +0000</pubDate>
		<dc:creator>Frank Lam</dc:creator>
		
		<category><![CDATA[Stuff]]></category>

		<guid isPermaLink="false">http://almostflan.com/?p=86</guid>
		<description><![CDATA[So I made flan last night.

and we scared the shit out of it 
]]></description>
			<content:encoded><![CDATA[<p>So I made flan last night.</p>
<p><a href='http://almostflan.com/wp-content/uploads/2008/06/dscf1429.jpg'><img src="http://almostflan.com/wp-content/uploads/2008/06/dscf1429-300x225.jpg" alt="" title="flan oh no" width="300" height="225" class="alignnone size-medium wp-image-87" /></a></p>
<p>and we scared the shit out of it <img src='http://almostflan.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://almostflan.com/2008/06/27/flan/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My Dinner Tonight</title>
		<link>http://almostflan.com/2008/06/19/my-dinner-tonight/</link>
		<comments>http://almostflan.com/2008/06/19/my-dinner-tonight/#comments</comments>
		<pubDate>Fri, 20 Jun 2008 04:38:07 +0000</pubDate>
		<dc:creator>Frank Lam</dc:creator>
		
		<category><![CDATA[Stuff]]></category>

		<guid isPermaLink="false">http://almostflan.com/?p=84</guid>
		<description><![CDATA[
Mmmmm&#8230;.
]]></description>
			<content:encoded><![CDATA[<p><a href='http://almostflan.com/wp-content/uploads/2008/06/dscf1425.jpg'><img src="http://almostflan.com/wp-content/uploads/2008/06/dscf1425-300x225.jpg" alt="" title="dscf1425" width="300" height="225" class="alignnone size-medium wp-image-85" /></a></p>
<p>Mmmmm&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://almostflan.com/2008/06/19/my-dinner-tonight/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Gorillas demo</title>
		<link>http://almostflan.com/2008/06/18/gorillas-demo/</link>
		<comments>http://almostflan.com/2008/06/18/gorillas-demo/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 22:16:14 +0000</pubDate>
		<dc:creator>Frank Lam</dc:creator>
		
		<category><![CDATA[Adventures in Flex]]></category>

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

		<guid isPermaLink="false">http://almostflan.com/?p=83</guid>
		<description><![CDATA[I wrote an Flex app yesterday as a demo of component lifecycle and metadata tag usage.
It&#8217;s a remake of the classic Gorillas game.
You can play it here.
The source code is here.
]]></description>
			<content:encoded><![CDATA[<p>I wrote an Flex app yesterday as a demo of component lifecycle and metadata tag usage.</p>
<p>It&#8217;s a remake of the classic <a href="http://en.wikipedia.org/wiki/Gorillas_(computer_game)">Gorillas game</a>.</p>
<p>You can play it <a href="http://almostflan.com/gorillas/">here</a>.</p>
<p>The source code is <a href="http://code.almostflan.com/gorilla.zip">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://almostflan.com/2008/06/18/gorillas-demo/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Geohash success!</title>
		<link>http://almostflan.com/2008/06/01/geohash-success/</link>
		<comments>http://almostflan.com/2008/06/01/geohash-success/#comments</comments>
		<pubDate>Sun, 01 Jun 2008 08:55:24 +0000</pubDate>
		<dc:creator>Frank Lam</dc:creator>
		
		<category><![CDATA[Stuff]]></category>

		<guid isPermaLink="false">http://almostflan.com/?p=77</guid>
		<description><![CDATA[So following xkcd&#8217;s geohash algorithm as featured in this comic and made easy by this site and documented by this site, we went out to Encinitas to hit our point for Saturday.  Our expedition was added to the wiki here.  
Some pictures:
Yes, I now own a GPS 
Side story: We left home at [...]]]></description>
			<content:encoded><![CDATA[<p>So following <a href="http://xkcd.com">xkcd</a>&#8217;s geohash algorithm as featured in this <a href="http://www.xkcd.com/426/">comic</a> and made easy by <a href="http://irc.peeron.com/xkcd/map/">this site</a> and documented by <a href="http://wiki.xkcd.com/geohashing/Main_Page">this site</a>, we went out to Encinitas to hit our point for Saturday.  Our expedition was added to the wiki <a href="http://wiki.xkcd.com/geohashing/2008-05-31_33%2C_-117">here</a>.  </p>
<p>Some pictures:<br />

<a href='http://almostflan.com/2008/06/01/geohash-success/geohashingcomic/' title='geohashingcomic'><img src="http://almostflan.com/wp-content/uploads/2008/06/geohashingcomic-150x150.png" width="150" height="150" class="attachment-thumbnail" alt="" /></a>
<a href='http://almostflan.com/2008/06/01/geohash-success/us-and-nuvi/' title='us-and-nuvi'><img src="http://almostflan.com/wp-content/uploads/2008/06/us-and-nuvi-150x150.jpg" width="150" height="150" class="attachment-thumbnail" alt="" /></a>
<a href='http://almostflan.com/2008/06/01/geohash-success/gpstime/' title='gpstime'><img src="http://almostflan.com/wp-content/uploads/2008/06/gpstime-150x150.jpg" width="150" height="150" class="attachment-thumbnail" alt="" /></a>
</p>
<p>Yes, I now own a GPS <img src='http://almostflan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Side story: We left home at around 2:45PM to Fry&#8217;s since Kristi&#8217;s Garmin (GPS) didn&#8217;t display coordinates.  We got to Fry&#8217;s probably around 3:15 to pick up a GPS that showed coordinates.  (Garmin Nuvi 200!!)  Anyway, we were able to get to the front of the Fry&#8217;s line (it was around 3:30 and we still needed to get to Encinitas at 4:00PM for the scheduled meeting time - around 15 miles away) thanks to the badass Fry&#8217;s salesman that sold me the Nuvi after I told him we were in a rush.  We ended up making it to the meetup point in Encinitas at 3:58 and got pictures at exactly 4:00PM.  So the Hero of the Day award goes to the nameless Fry&#8217;s salesman.</p>
<p>Side story 2: We went to Home Depot afterwards to buy wood for the old radio to convert to a gaming computer.  More on this next time&#8230;</p>
<p>Postscript: A new almostflan coming soon&#8230;<br />
Post Postscript: Lakers are in the finals!!!  I&#8217;ll post on how my predictions went later (after the finals&#8230;)</p>
]]></content:encoded>
			<wfw:commentRss>http://almostflan.com/2008/06/01/geohash-success/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My 2008 NBA Playoff Predictions</title>
		<link>http://almostflan.com/2008/04/19/my-2008-nba-playoff-predictions/</link>
		<comments>http://almostflan.com/2008/04/19/my-2008-nba-playoff-predictions/#comments</comments>
		<pubDate>Sat, 19 Apr 2008 08:11:42 +0000</pubDate>
		<dc:creator>Frank Lam</dc:creator>
		
		<category><![CDATA[Basketball]]></category>

		<guid isPermaLink="false">http://almostflan.com/?p=76</guid>
		<description><![CDATA[I thought I&#8217;d put together a bracket for the playoffs starting in a handful of hours.  It&#8217;s been a crazy year and there are lots of very interesting first round matchups&#8230;
There will be 14 series played, I think I&#8217;ll be pretty happy if I get 7 or so right.
I&#8217;ve got the Lakers winning it [...]]]></description>
			<content:encoded><![CDATA[<p>I thought I&#8217;d put together a bracket for the playoffs starting in a handful of hours.  It&#8217;s been a crazy year and there are lots of very interesting first round matchups&#8230;</p>
<p>There will be 14 series played, I think I&#8217;ll be pretty happy if I get 7 or so right.</p>
<p>I&#8217;ve got the Lakers winning it all of course and naturally Kobe taking the Finals MVP.</p>
<p>Some interesting things:<br />
-Wizards beating the Cavs, then losing to Boston in 7<br />
-Philly losing in 7 to Detroit<br />
-7 of the 14 series are 7 game series</p>
<p>Anyway, it&#8217;s been a fun season.  I&#8217;m only pretty sure about the outcome of 3 of the 8 first round matchups:<br />
-Orlando over Toronto<br />
-Boston over Atlanta<br />
-Wizards over Cavs</p>
<p><a href="http://www.bracketmaker.com/tlist.cfm?tid=274128">My predictions</a></p>
]]></content:encoded>
			<wfw:commentRss>http://almostflan.com/2008/04/19/my-2008-nba-playoff-predictions/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
