<?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>Queen Code Monkey &#187; Development</title>
	<atom:link href="http://queencodemonkey.com/category/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://queencodemonkey.com</link>
	<description>Stream of consciousness/Occasional coherence of a Flex Developer</description>
	<lastBuildDate>Mon, 25 Apr 2011 05:09:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Spoken @ 360&#124;Flex 2011</title>
		<link>http://queencodemonkey.com/2011/04/14/spoken-360flex-2011/</link>
		<comments>http://queencodemonkey.com/2011/04/14/spoken-360flex-2011/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 22:32:21 +0000</pubDate>
		<dc:creator>Huyen Tue Dao</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[360flex]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[speaking]]></category>
		<category><![CDATA[text layout framework]]></category>
		<category><![CDATA[tlf]]></category>

		<guid isPermaLink="false">http://queencodemonkey.com/?p=592</guid>
		<description><![CDATA[On Tuesday, April 14th I gave my presentation &#8220;Seriously, You Can Do Cool Things: Getting Advanced with the Text Layout Framework&#8221; at 360&#124;Flex 2011. I want to again thank everyone that came to the session and stuck around till the end. Double &#8220;thank you&#8221; to the folks who left some of the nicest feedback on [...]]]></description>
			<content:encoded><![CDATA[<p>On Tuesday, April 14th I gave my presentation &#8220;Seriously, You Can Do Cool Things: Getting Advanced with the Text Layout Framework&#8221; at <a title="360|Flex" href="http://www.360flex.com">360|Flex 2011</a>. I want to again thank everyone that came to the session and stuck around till the end. Double &#8220;thank you&#8221; to the folks who left <a title="SYCDCT Feedback Tweet #1" href="http://twitter.com/kwdmer/status/57939165492428800">some</a> <a title="SYCDCT Feedback Tweet #2" href="http://twitter.com/aaronpedersen/status/57941647304040448">of</a> <a title="SYCDCT Feedback Tweet #3" href="http://twitter.com/JosephLabrecque/status/57943317773697025">the</a> <a title="SYCDCT Feedback Tweet #4" href="http://twitter.com/JosephLabrecque/status/57943317773697025">nicest</a> <a title="SYCDCT Feedback Tweet #5" href="http://twitter.com/benbjohnson/status/58357042276089856">feedback</a> on Twitter. You guys totally made my day.</p>
<p>Just a reminder that you can give an in-depth review and rating of my (and others&#8217;) session at <a title="360|Flex Session Ratings App" href="http://apps.360conferences.com">apps.360conferences.com</a>.</p>
<p>I have uploaded the slides to <a title="Huyen Tue Dao @ SlideShare.net: 360|Flex 2011 Presentation" href="http://www.slideshare.net/queencodemonkey/seriously-you-can-do-cool-things-getting-advanced-with-the-text-layout-framework">SlideShare</a> and am linking a PDF version at the bottom of this post.  All of the code for my examples as well as continuing work on TLF is on <a title="QCMTLF git repo @ github.com" href="https://github.com/queencodemonkey/QCMTLF">github</a>.  I am going to be expanding examples, trying out new TLF experiments, and adding documentation in the future so please check back or put a watch on the repo if you are interested in more of my TLF madness.</p>
<p>360|Flex has definitely become one of the highlights of my year as a developer, and we have such a fantastic community. Wonderful seeing you guys again and meeting new people. Already can&#8217;t wait till next year. Incredible job done by John and Nicole Wilker. You guys totally rock. Please keep up the great work.</p>
<p><a title="PDF version of &quot;Getting Advanced with the Text Layout Framework&quot; slides" href="http://queencodemonkey.com/presentations/flex/Getting_Advanced_with_the_Text_Layout_Framework.pdf">&#8220;Seriously, You Can Do Cool Things: Getting Advanced with the Text Layout Framework&#8221;, Slides (635KB)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://queencodemonkey.com/2011/04/14/spoken-360flex-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Answering some questions: Developer Profile on RIA RockStars</title>
		<link>http://queencodemonkey.com/2011/02/18/answering-some-questions-developer-profile-on-ria-rockstars/</link>
		<comments>http://queencodemonkey.com/2011/02/18/answering-some-questions-developer-profile-on-ria-rockstars/#comments</comments>
		<pubDate>Fri, 18 Feb 2011 16:31:02 +0000</pubDate>
		<dc:creator>Huyen Tue Dao</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[interview]]></category>
		<category><![CDATA[riarockstars]]></category>

		<guid isPermaLink="false">http://queencodemonkey.com/?p=585</guid>
		<description><![CDATA[Shameless self-promotion doth follow: I recently got together with Kathryn Rotondo, a developer at litl, for a small interview for the newly-launch RIA RockStars. I was really grateful and flattered by the opportunity and hope I was not too droll. Developer Profile: Huyen Tue Dao]]></description>
			<content:encoded><![CDATA[<p>Shameless self-promotion doth follow: I recently got together with <a title="Kathryn Rotondo: Flashionista" href="http://flashionista.org/">Kathryn Rotondo</a>, a developer at <a title="litl company site" href="http://litl.com/">litl</a>, for a small interview for the newly-launch <a title="RIA RockStars" href="http://riarockstars.com/">RIA RockStars</a>. I was really grateful and flattered by the opportunity and hope I was not too droll. <img src='http://queencodemonkey.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a title="Developer Profile: Huyen Tue Dao @ riarockstars.com" href="http://riarockstars.com/2011/02/17/developer-profile-huyen-tue-dao/">Developer Profile: Huyen Tue Dao</a></p>
]]></content:encoded>
			<wfw:commentRss>http://queencodemonkey.com/2011/02/18/answering-some-questions-developer-profile-on-ria-rockstars/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I be speaking @ 360&#124;Flex 2011</title>
		<link>http://queencodemonkey.com/2011/02/13/i-be-speaking-360flex-2011/</link>
		<comments>http://queencodemonkey.com/2011/02/13/i-be-speaking-360flex-2011/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 00:41:52 +0000</pubDate>
		<dc:creator>Huyen Tue Dao</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[360flex]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[speaking]]></category>
		<category><![CDATA[text layout framework]]></category>
		<category><![CDATA[tlf]]></category>

		<guid isPermaLink="false">http://queencodemonkey.com/?p=565</guid>
		<description><![CDATA[Just writing to let everyone know belatedly that I will be speaking at 360&#124;Flex 2011 in Denver, CO. My talk is entitled &#8220;Seriously, You Can Do Cool Things: Getting Advanced with the Text Layout Framework.&#8221; Once again I will be tackling things TLF. This time I will focus less on the background and mechanics of [...]]]></description>
			<content:encoded><![CDATA[<p>Just writing to let everyone know belatedly that I will be speaking at <a href="http://www.360flex.com/">360|Flex</a> 2011 in Denver, CO. My talk is entitled &#8220;Seriously, You Can Do Cool Things: Getting Advanced with the Text Layout Framework.&#8221; Once again I will be tackling things TLF. This time I will focus less on the background and mechanics of the TLF and more jumping into more advanced topics and how to do… yes, cool things. It is not hard to find ill-will and smack talk about the TLF on the tubes, and I share some (if not many) of those complaints and criticisms. However, if you put some sweat and time into, the TLF can provide you with a foundation for creating interesting features and components. My main goal is to share my experiences and strategies and ideas for making this happen.</p>
<p>So if you are going to 360|Flex 2011, please think about stopping by and having a look/listen.</p>
]]></content:encoded>
			<wfw:commentRss>http://queencodemonkey.com/2011/02/13/i-be-speaking-360flex-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>As Per Your Request: TLF Pagination</title>
		<link>http://queencodemonkey.com/2010/10/04/as-per-your-request-tlf-pagination/</link>
		<comments>http://queencodemonkey.com/2010/10/04/as-per-your-request-tlf-pagination/#comments</comments>
		<pubDate>Mon, 04 Oct 2010 05:03:04 +0000</pubDate>
		<dc:creator>Huyen Tue Dao</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[text layout framework]]></category>
		<category><![CDATA[tlf]]></category>

		<guid isPermaLink="false">http://queencodemonkey.com/?p=540</guid>
		<description><![CDATA[Update [15 March 2011]: Changed link to github repo for this example to a new repo. Update: The link to my pagination example was broken for a while but I have fixed all the links so the example should be accessible again. Apologies. So a commenter named Roberto asked for an example of TLF pagination. [...]]]></description>
			<content:encoded><![CDATA[<p><em>Update [15 March 2011]: Changed link to github repo for this example to a new repo.</em></p>
<p><em><span style="color: #000000;">Update: The link to my pagination example was broken for a while but I have fixed all the links so the example should be accessible again. Apologies.</span></em></p>
<p><span style="color: #000000;">So a commenter named Roberto as</span>ked for an example of TLF pagination.  I actually had planned to create a pagination example for my 360|Flex presentation but ran out of time.  So I have implemented one and added it to <del>the github repo for my presentation-related code</del> a <a title="queencodemonkey@github.com: QCMTLF" href="https://github.com/queencodemonkey/QCMTLF">new github repo I am using for all of my TLF-related code and projects</a>.</p>
<p style="text-align: center;"><a title="Live TLF pagination demo" href="http://queencodemonkey.com/code/flex/tlf/pagination/"><img class="aligncenter size-full wp-image-549" title="TLF pagination example." src="http://queencodemonkey.com/wp-content/uploads/2010/10/Screen-shot-2010-10-04-at-4.01.00-AM.png" alt="Screenshot of TLF pagination example." width="561" height="271" /></a></p>
<p>You can view the example live <a title="Live TLF pagination demo" href="http://queencodemonkey.com/code/flex/tlf/pagination/">here</a>.</p>
<p>Pagination involves adding containers to a <code>TextFlow</code> rendering of a particular size as needed until all text renders.  Now, assuming that you want text lines to fully render and not clip, you will set <code>ContainerController.verticalScrollPolicy</code> to <code>ScrollPolicy.OFF</code>.  When scroll policy is set to <code>ON</code> or <code>AUTO</code>, the <code>ContainerController</code> basically assumes that scrolling will occur within its container and so text lines may be clipped at the bottom or top of the container.  If there is more text than can be rendered in that container and there are no proceeding containers linked to the <code>TextFlow</code>, all remaining text lines are assigned to that container.  Therefore, the end of the container content  will be the end of the <code>TextFlow</code>.  When scroll policy is set to <code>OFF</code>, text lines render only where they are not clipped or hidden.</p>
<p>The logic for paginating a TextFlow rendering goes like this:</p>
<ol>
<li>Add a container and link to the TextFlow via a new ContainerController.</li>
<li>Check if <code>ContainerController.absoluteStart + ContainerController.textLength == TextFlow.textLength</code>.</li>
<li>If false, then go back to step 1 and repeat and if true, then you have rendered all pages.</li>
</ol>
<p>If you want to keep scroll policy as <code>ON</code> or <code>AUTO</code>, then you will want check instead if <code>ContainerController.getContentBounds().height &gt; container.height</code> and add an extra page if <code>true</code>.</p>
<p>I also made a late-night edition of pagination with editable text.  My basic idea in dealing with pagination was to listed for the <code>UpdateCompleteEvent</code> dispatched by the <code>TextFlow</code> and to check the containers and container controllers and make sure that there are no empty pages save for the first page.  I have not yet implemented any auto-scrolling on addition or removal of pages, although if anyone wants, I can give it a go.</p>
<p>I hope this helps someone out.</p>
]]></content:encoded>
			<wfw:commentRss>http://queencodemonkey.com/2010/10/04/as-per-your-request-tlf-pagination/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Spoken @ 360&#124;Flex DC</title>
		<link>http://queencodemonkey.com/2010/09/24/spoken-360flex-dc/</link>
		<comments>http://queencodemonkey.com/2010/09/24/spoken-360flex-dc/#comments</comments>
		<pubDate>Fri, 24 Sep 2010 17:59:58 +0000</pubDate>
		<dc:creator>Huyen Tue Dao</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[360flex]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[dc]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[text layout framework]]></category>
		<category><![CDATA[tlf]]></category>

		<guid isPermaLink="false">http://queencodemonkey.com/?p=532</guid>
		<description><![CDATA[I want to thank everyone who came to my talk, &#8220;Typography + Text Editing in the Text Layout Framework.&#8221;  Text formatting and layout is not the sexiest topic in the world so I was glad to see that people were interested.  I also was glad to get folks asking questions, looking like maybe they would [...]]]></description>
			<content:encoded><![CDATA[<p>I want to thank everyone who came to my talk, &#8220;Typography + Text Editing in the Text Layout Framework.&#8221;  Text formatting and layout is not the sexiest topic in the world so I was glad to see that people were interested.  I also was glad to get folks asking questions, looking like maybe they would be interested in using the TLF themselves.</p>
<p>I have uploaded my slides to both this site and <a title="slideshare.net: Typography + Text Editing in the Text Layout Framework " href="http://www.slideshare.net/queencodemonkey/typography-text-editing-in-the-text-layout-framework">slideshare</a>.  In regards to the example code, I have a <a title="queencodemonkey@GitHub: Typography + Text Editing in the Text Layout Framework" href="http://github.com/queencodemonkey/Typography-and-Text-Editing-in-the-Text-Layout-Framework">GitHub repo</a> and also have attached a zip of the code to this post.</p>
<p>I will be updating the slides soon to add references and adding comments.  In the near future, I may write follow-up posts discussing in detail how I implemented some features I added to the example code, especially one or two that I did not go over during my session.</p>
<p>Would love to hear from folks who have questions or just want to knock heads on the TLF.</p>
<p>Thanks again everyone for coming.</p>
<p><a title="PDF version of presentation slides" href="http://queencodemonkey.com/wp-content/uploads/2010/09/Typography-+-Text-editing-in-the-Text-Layout-Framework.pdf">Typography + Text editing in the Text Layout Framework (PDF, 299KB)</a></p>
<p><a title="ZIP file of presentation example code" href="http://queencodemonkey.com/wp-content/uploads/2010/09/TTTLF.zip">TTTLF Code (ZIP, 598KB)</a></p>
<p>[<strong>UPDATE:</strong> I changed the github repo so the URL is different.  Also I have created a library for TLF-related components that I have done for examples and may do in the future.]</p>
]]></content:encoded>
			<wfw:commentRss>http://queencodemonkey.com/2010/09/24/spoken-360flex-dc/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Spoken @ Capital Flash Camp</title>
		<link>http://queencodemonkey.com/2010/04/18/spoken-capital-flash-camp/</link>
		<comments>http://queencodemonkey.com/2010/04/18/spoken-capital-flash-camp/#comments</comments>
		<pubDate>Sun, 18 Apr 2010 05:08:05 +0000</pubDate>
		<dc:creator>Huyen Tue Dao</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[capital flash camp]]></category>
		<category><![CDATA[flash camp]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[speaking]]></category>
		<category><![CDATA[universal mind]]></category>

		<guid isPermaLink="false">http://queencodemonkey.com/?p=505</guid>
		<description><![CDATA[First off, thanks to Sara Nieburg, Andy Powell, David Tucker, and Todd Cieplinski of Universal Mind for putting together a Flash Camp in the DC Metro area. We just don&#8217;t get enough community events in the aret.  It was also great to see some familiar faces from the Capital Flex User Group.  Admittedly, I haven&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>First off, thanks to Sara Nieburg, <a title="Andrew Powell" href="http://www.infoaccelerator.net/blog/">Andy Powell</a>, <a title="DavidTucker.net" href="http://www.davidtucker.net/">David Tucker</a>, and Todd Cieplinski of Universal Mind for putting together a Flash Camp in the DC Metro area. We just don&#8217;t get enough community events in the aret.  It was also great to see some familiar faces from the Capital Flex User Group.  Admittedly, I haven&#8217;t been able to attend in months, but I was told there was beer last time.  Damn, need to start going again.</p>
<p>I know the attendance was not what some people might have hoped, but I think it wasn&#8217;t bad considering that Capital Flash Camp was announced just a little over a month ago.  The DC area&#8217;s Flex community is not as large as other places (Flash Camp SF was the same day and heavily attended, but it&#8217;s a big hub for the community) so it&#8217;s worthwhile whenever we get together.</p>
<p>As an aside, the <a title="U.S. Navy Memorial" href="http://www.navymemorial.org/">Naval Heritage Center</a> is a great place to check out if you&#8217;re doing the tourist thing in DC.</p>
<p>So presentations…</p>
<p><strong><a title="TerrenceRyan.com" href="http://www.terrenceryan.com/">Terry Ryan</a></strong><strong>, Keynote</strong>: Terry is a platform evangelist from Adobe and gave an overview of all the features available in Flash Builder, Flash Catalyst, and CF Builder and discussed workflows between the three.  Even with all of the new presos on Flex 4, there was still plenty to learn (I had no idea about the two-way binding in Flex 4).</p>
<p><strong><a title="Jeff Tapper's blog @ digitalprimates.net" href="http://blogs.digitalprimates.net/jefftapper/">Jeff Tapper</a></strong><strong>, Flex 4 for Flex 3 Developers</strong>: As always, Jeff gave a great preso between his straightforward-yet-humorous delivery and his ability to explain the why&#8217;s behind the how&#8217;s and what&#8217;s.</p>
<p><strong><a title="Under the Influence of Design" href="http://www.undertheinfluenceofdesign.com/">Christian Saylor</a></strong><strong>, The Art of Storytelling</strong>: Really enjoyed how Christian (Anti-Chris) relating storytelling to designing applications and more importantly his take on how and why some applications and products take hold of us and change our ways, while others don&#8217;t.</p>
<p><strong><a title="nGen Works blog" href="http://www.ngenworks.com/blog">Carl Smith</a></strong><strong>, It’s a Matter of Tr</strong><strong>ust</strong>: Carl&#8217;s presentation was a hilarious overview about the different ways that trust affects how we interact with the world in general and with technology in particular.  I had the pleasure of chatting with Carl, owner of <a title="nGen Works" href="http://www.ngenworks.com/">nGen Works</a>, and he&#8217;s got a brilliant perspective on what makes for good applications.  Ask him about usability if you get a chance to talk to him. <img src='http://queencodemonkey.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong><a title="Anaara Media LLC" href="http://www.anaara.com/">Adnaan Ahmad</a></strong><strong>, Introduction to Flash Catalyst</strong>: It was good to actually get a demo of Flash Catalyst and I wish Adnaan had gotten more time to go more in depth with it.  Nice job though.</p>
<p><strong><a title="Fig Leaf Software" href="http://www.figleaf.com/">Dave Watts</a></strong><strong>, Using Flash Builder 4’s Data-Centric Development with ColdFusion 9</strong>: I&#8217;m not a CF person and so a bit of the preso was lost on me, but it seems that there are a bunch of niceties for connecting to various data sources and wiring them up to your Flex apps.</p>
<p><strong><a title="Chris Scott's blog" href="http://cdscott.blogspot.com/">Chris Scott</a></strong><strong>, Swiz Framework – Brutally simple micro-architecture for Rich Internet Application development with Adobe Fle</strong>x: I personally got a ton out of Chris&#8217;s talk since I&#8217;m using Swiz for this first time at the current gig. The Swiz team hasn&#8217;t quite caught up with their documentation, so it was good to have Chris talk about various features and how to apply them.</p>
<p>For anyone interested, here is my preso and the code from my examples. Not much is different than my 360|Flex preso and I left out code that I didn&#8217;t go over this time around.</p>
<p><a title="Presentation Slides" href="http://queencodemonkey.com/wp-content/uploads/2010/04/Capital-Flash-Camp-Greenthreading-in-Flex.pdf">Slides (1.1MB</a>)</p>
<p><a title="Code Examples" href="http://queencodemonkey.com/wp-content/uploads/2010/04/Greenthreading-MSNBC-Data-Set.zip">Greenthreading MSNBC Data Set (ZIP, 2.6MB)</a></p>
<p>Overall, it was a great day.</p>
<p>\m/\m/</p>
]]></content:encoded>
			<wfw:commentRss>http://queencodemonkey.com/2010/04/18/spoken-capital-flash-camp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speaking @ Capital Flash Camp</title>
		<link>http://queencodemonkey.com/2010/04/15/speaking-capital-flash-camp/</link>
		<comments>http://queencodemonkey.com/2010/04/15/speaking-capital-flash-camp/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 15:39:41 +0000</pubDate>
		<dc:creator>Huyen Tue Dao</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[capital flash camp]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[dc]]></category>
		<category><![CDATA[flash camp]]></category>
		<category><![CDATA[greenthreading]]></category>
		<category><![CDATA[speaking]]></category>

		<guid isPermaLink="false">http://queencodemonkey.com/?p=497</guid>
		<description><![CDATA[So now that I have extracted my head from my hindquarters, I am v. belatedly making note of the fact that I am speaking at Capital Flash Camp TOMORROW on good ol&#8217; Greenthreading.  I am completely lame for missing out on my blogging duties and can only point to my month-long head-in-hindquarters-itis as a lame excuse. [...]]]></description>
			<content:encoded><![CDATA[<p>So now that I have extracted my head from my hindquarters, I am v. belatedly making note of the fact that I am speaking at <a title="Capital Flash Camp" href="http://capitalflashcamp.com">Capital Flash Camp</a> TOMORROW on good ol&#8217; Greenthreading.  I am completely lame for missing out on my blogging duties and can only point to my month-long head-in-hindquarters-itis as a lame excuse.</p>
<p><a href="http://queencodemonkey.com/wp-content/uploads/2010/04/flash_camp_dc_450.jpg"><img class="size-medium wp-image-498 alignnone" title="Capital Flash Camp Banner" src="http://queencodemonkey.com/wp-content/uploads/2010/04/flash_camp_dc_450-300x72.jpg" alt="Capital Flash Camp" width="300" height="72" /></a></p>
<p>If you can, please join us tomorrow in the District.  :)</p>
]]></content:encoded>
			<wfw:commentRss>http://queencodemonkey.com/2010/04/15/speaking-capital-flash-camp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>360&#124;Flex Presentation: Slides and Code</title>
		<link>http://queencodemonkey.com/2010/03/08/360flex-presentation-slides-and-code/</link>
		<comments>http://queencodemonkey.com/2010/03/08/360flex-presentation-slides-and-code/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 01:25:14 +0000</pubDate>
		<dc:creator>Huyen Tue Dao</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[360flex]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[greenthreading]]></category>

		<guid isPermaLink="false">http://queencodemonkey.com/?p=488</guid>
		<description><![CDATA[Today was my presentation.  I tried to re-edit and a few more new things to my talk on Greenthreading from CFUnited.  I even managed to drum up a multi-greenthreaded example a little before presentation time. As promised I have updated slides and code here: Slides (PDF, 1.1MB) Greenthreading MSNBC Data Set Code (3MB) Multithreading Code [...]]]></description>
			<content:encoded><![CDATA[<p>Today was my presentation.  I tried to re-edit and a few more new things to my talk on Greenthreading from CFUnited.  I even managed to drum up a multi-greenthreaded example a little before presentation time.</p>
<p>As promised I have updated slides and code here:</p>
<p><a href="http://queencodemonkey.com/wp-content/uploads/2010/03/360Flex-Greenthreading-in-Flex.pdf">Slides (PDF, 1.1MB)</a></p>
<p><a href="http://queencodemonkey.com/wp-content/uploads/2010/03/Greenthreading-MSNBC-Data-Set1.zip">Greenthreading MSNBC Data Set Code (3MB)</a></p>
<p><a href="http://queencodemonkey.com/wp-content/uploads/2010/03/Multithreading1.zip">Multithreading Code (5.4MB)</a></p>
<p>A huge thanks to everyone who showed up.  Really appreciate all the comments and the chance to give this presentation. I want to reiterate that what I am presenting is just a package of the great work of other people, namely Charlie Hubbard, whose library and great series of articles I use for this.</p>
<p>Again I am just really glad I got a chance to talk to you guys and present you with something that I hope you will find useful.</p>
<p>Please feel free me to ping me with comments, suggestions, or just to say hello.</p>
<p>\m/\m/</p>
]]></content:encoded>
			<wfw:commentRss>http://queencodemonkey.com/2010/03/08/360flex-presentation-slides-and-code/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>I Love Going to Office Depot: Speaker Interview for 360&#124;Flex</title>
		<link>http://queencodemonkey.com/2010/01/22/i-love-going-to-office-depot-speaker-interview-for-360flex/</link>
		<comments>http://queencodemonkey.com/2010/01/22/i-love-going-to-office-depot-speaker-interview-for-360flex/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 19:50:25 +0000</pubDate>
		<dc:creator>Huyen Tue Dao</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[360flex]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[interview]]></category>
		<category><![CDATA[speaking]]></category>

		<guid isPermaLink="false">http://queencodemonkey.com/?p=485</guid>
		<description><![CDATA[Shameless self-promotion do followeth.  Forgive me.  And come to see my presentation at 360&#124;Flex. O.o 360FLEX – THE SPEAKERS – HUYEN TUE DAO]]></description>
			<content:encoded><![CDATA[<p>Shameless self-promotion do followeth.  Forgive me.  And come to see my presentation at <a title="360|Flex" href="http://360flex.com">360|Flex</a>. O.o</p>
<p><a title="My Speaker Interview for 360|Flex" rel="bookmark" href="http://www.360flex.com/blog/2010/01/360flex-the-speakers-huyen-tue-dao/">360FLEX – THE SPEAKERS – HUYEN TUE DAO</a></p>
]]></content:encoded>
			<wfw:commentRss>http://queencodemonkey.com/2010/01/22/i-love-going-to-office-depot-speaker-interview-for-360flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Putting the Nerd in It: Calculating Speedup with Amdahl&#8217;s Law</title>
		<link>http://queencodemonkey.com/2010/01/05/putting-the-nerd-in-it-calculating-speedup-with-amdahls-law/</link>
		<comments>http://queencodemonkey.com/2010/01/05/putting-the-nerd-in-it-calculating-speedup-with-amdahls-law/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 06:57:15 +0000</pubDate>
		<dc:creator>Huyen Tue Dao</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[amdahl's law]]></category>
		<category><![CDATA[formula]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[speedup]]></category>

		<guid isPermaLink="false">http://queencodemonkey.com/?p=31</guid>
		<description><![CDATA[Okay, I promise I will try very hard not to bore you in the next few hundred words. But basically I just want to present a way of determining how much faster a system will be if you speedup one (or more) or its components. Say that you have an enhancement that can be made [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, I promise I will try very hard not to bore you in the next few hundred words.  But basically I just want to present a way of determining how much faster a system will be if you speedup one (or more) or its components.</p>
<p>Say that you have an enhancement that can be made to speedup some part of an application.<br />
And say that you know how much runtime you can save with the enhancement.<br />
And say that you know what fraction of the total runtime that part of the application takes up.<br />
Then you can determine how much you will speedup the application as a whole by making that enhancement.</p>
<p>Why is this valuable?</p>
<p>You might be in a situation where you have to justify time and effort spent (and fancy formulas help to dazzle the crowd).<br />
You might have two different enhancements or changes that could be made but only have time to do one.  Which should you choose?<br />
You might just want to know how badass your idea really is.</p>
<p>So, I present to you <a title="Wikipedia: Amdahl's law" href="http://en.wikipedia.org/wiki/Amdahl's_law">Amdahl&#8217;s Law</a>:</p>
<p><img src="http://queencodemonkey.com/wp-content/plugins/wpmathpub/phpmathpublisher/img/math_985.5_cdaa43ea96ae8587820361c3dd2ebc43.png" style="vertical-align:-14.5px; display: inline-block ;" alt="Fraction_A = Fraction of application runtime taken up by component A" title="Fraction_A = Fraction of application runtime taken up by component A"/></p>
<p><img src="http://queencodemonkey.com/wp-content/plugins/wpmathpub/phpmathpublisher/img/math_984_948e7b5460c531c01d87170058265f18.png" style="vertical-align:-16px; display: inline-block ;" alt="Speedup_A = {Runtime of A with enhancement}/{Runtime of A without enhancement}" title="Speedup_A = {Runtime of A with enhancement}/{Runtime of A without enhancement}"/></p>
<p><img src="http://queencodemonkey.com/wp-content/plugins/wpmathpub/phpmathpublisher/img/math_975_ebd12df95662664a0e2858d204a60882.png" style="vertical-align:-25px; display: inline-block ;" alt="Runtime_new = Runtime_old * ((1 - Fraction_A) + Fraction_A/Speedup_A)" title="Runtime_new = Runtime_old * ((1 - Fraction_A) + Fraction_A/Speedup_A)"/></p>
<p><img src="http://queencodemonkey.com/wp-content/plugins/wpmathpub/phpmathpublisher/img/math_951_49ad1aaeb435d609d1e286d468fc3e4a.png" style="vertical-align:-49px; display: inline-block ;" alt="Speedup_Overall = {Runtime_new}/{Runtime_old} = 1 / {(1 - Fraction_A) + Fraction_A/Speedup_A}" title="Speedup_Overall = {Runtime_new}/{Runtime_old} = 1 / {(1 - Fraction_A) + Fraction_A/Speedup_A}"/></p>
<p>Formulas borrowed lovingly from Hennessy + Patterson&#8217;s <a title="Amazon.com: Computer Architecture: A Quantitative Approach" href="http://www.amazon.com/Computer-Architecture-Quantitative-Approach-ebook/dp/B001KYEI0I/ref=dp_kinw_strp_1?ie=UTF8&amp;m=AG56TWVU5XWC2">Computer Architecture: A Quantitative Approach</a></p>
<p>You could use this formula for any other performance metric.  For example, if you were more concerned with memory consumption, the formulas still hold: just replace &#8220;runtime&#8221; with &#8220;memory use&#8221; and &#8220;speedup&#8221; with &#8220;memory reduction.&#8221;</p>
<p>Hope you find this helpful someday.  I&#8217;ll try to keep so many equations out of the next post. <img src='http://queencodemonkey.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://queencodemonkey.com/2010/01/05/putting-the-nerd-in-it-calculating-speedup-with-amdahls-law/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

