<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Queen Code Monkey</title>
	
	<link>http://queencodemonkey.com</link>
	<description>Stream of consciousness/Occasional coherence of a Flex Developer</description>
	<lastBuildDate>Thu, 12 Aug 2010 17:02:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/queencodemonkey" /><feedburner:info uri="queencodemonkey" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><geo:lat>38.99756</geo:lat><geo:long>-76.925776</geo:long><item>
		<title>Malware + Mea Culpa</title>
		<link>http://feedproxy.google.com/~r/queencodemonkey/~3/YhdYF3YKTOo/</link>
		<comments>http://queencodemonkey.com/2010/08/12/malware-mea-culpa/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 14:53:37 +0000</pubDate>
		<dc:creator>Huyen Tue Dao</dc:creator>
				<category><![CDATA[miscellaneous]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[uncategorized]]></category>

		<guid isPermaLink="false">http://queencodemonkey.com/?p=521</guid>
		<description><![CDATA[I just wanted to notify, confirm, and apologize to any readers out there for the recent malware attack my blog had.  Unfortunately, I was one of the many folks who got hit in the recent hit on MediaTemple and I had some nasty scripts on my page that made Google Safe Browsing hate me for [...]]]></description>
			<content:encoded><![CDATA[<p>I just wanted to notify, confirm, and apologize to any readers out there for the recent malware attack my blog had.  Unfortunately, I was one of the many folks who got hit in <a title="Netscraps: JohnnyA Hack on MediaTemple grid server" href="http://blog.netscraps.com/bugs/johnnya-hack-on-mediatemple-grid-server.html">the recent hit on MediaTemple</a> and I had some nasty scripts on my page that made Google Safe Browsing hate me for a few days.</p>
<p>If anyone else still is having issues with the hack on his/her WP blog, please check out the link above for some helpful tips to clear things up.  In my particular case I had an administrator account injected into my WP database and the nasty code was inserted into my footer.php file.  Luckily, that was it.</p>
<p>So apologies for temporary annoyances and any possible malware serving. <img src='http://queencodemonkey.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>PS: If you are a WP user, double-check your wpconfig.php file permissions.  Apparently, a lot of folks (cough, cough, mine) had loose permissions on it.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/queencodemonkey?a=YhdYF3YKTOo:qxNSOHyC_fM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/queencodemonkey?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/queencodemonkey/~4/YhdYF3YKTOo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://queencodemonkey.com/2010/08/12/malware-mea-culpa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://queencodemonkey.com/2010/08/12/malware-mea-culpa/</feedburner:origLink></item>
		<item>
		<title>Spoken @ Capital Flash Camp</title>
		<link>http://feedproxy.google.com/~r/queencodemonkey/~3/aSnUxEF2xDk/</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>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/queencodemonkey?a=aSnUxEF2xDk:hDjbxUbv3Js:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/queencodemonkey?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/queencodemonkey/~4/aSnUxEF2xDk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://queencodemonkey.com/2010/04/18/spoken-capital-flash-camp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://queencodemonkey.com/2010/04/18/spoken-capital-flash-camp/</feedburner:origLink></item>
		<item>
		<title>Speaking @ Capital Flash Camp</title>
		<link>http://feedproxy.google.com/~r/queencodemonkey/~3/iOTuDTsAVlA/</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>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/queencodemonkey?a=iOTuDTsAVlA:PjUoYyGbQPI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/queencodemonkey?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/queencodemonkey/~4/iOTuDTsAVlA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://queencodemonkey.com/2010/04/15/speaking-capital-flash-camp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://queencodemonkey.com/2010/04/15/speaking-capital-flash-camp/</feedburner:origLink></item>
		<item>
		<title>360|Flex Presentation: Slides and Code</title>
		<link>http://feedproxy.google.com/~r/queencodemonkey/~3/0nT8Dwo0z_k/</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>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/queencodemonkey?a=0nT8Dwo0z_k:uFWSo7BbsMQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/queencodemonkey?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/queencodemonkey/~4/0nT8Dwo0z_k" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://queencodemonkey.com/2010/03/08/360flex-presentation-slides-and-code/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://queencodemonkey.com/2010/03/08/360flex-presentation-slides-and-code/</feedburner:origLink></item>
		<item>
		<title>I Love Going to Office Depot: Speaker Interview for 360|Flex</title>
		<link>http://feedproxy.google.com/~r/queencodemonkey/~3/rvzc_HmRjVo/</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>admin</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>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/queencodemonkey?a=rvzc_HmRjVo:e0qRJww0n2U:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/queencodemonkey?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/queencodemonkey/~4/rvzc_HmRjVo" height="1" width="1"/>]]></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>
		<feedburner:origLink>http://queencodemonkey.com/2010/01/22/i-love-going-to-office-depot-speaker-interview-for-360flex/</feedburner:origLink></item>
		<item>
		<title>Putting the Nerd in It: Calculating Speedup with Amdahl’s Law</title>
		<link>http://feedproxy.google.com/~r/queencodemonkey/~3/zMpJ_1IrPzI/</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>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/queencodemonkey?a=zMpJ_1IrPzI:Z61LBS9JrKo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/queencodemonkey?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/queencodemonkey/~4/zMpJ_1IrPzI" height="1" width="1"/>]]></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>
		<feedburner:origLink>http://queencodemonkey.com/2010/01/05/putting-the-nerd-in-it-calculating-speedup-with-amdahls-law/</feedburner:origLink></item>
		<item>
		<title>‘xplaining computers to my mom: Main Memory vs Hard Disk</title>
		<link>http://feedproxy.google.com/~r/queencodemonkey/~3/uyBwDQgss9c/</link>
		<comments>http://queencodemonkey.com/2010/01/03/xplaining-computers-to-my-mom-main-memory-vs-hard-disk/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 05:44:21 +0000</pubDate>
		<dc:creator>Huyen Tue Dao</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[counter]]></category>
		<category><![CDATA[hard disk]]></category>
		<category><![CDATA[main memory]]></category>
		<category><![CDATA[mom]]></category>
		<category><![CDATA[refrigerator]]></category>

		<guid isPermaLink="false">http://queencodemonkey.com/?p=441</guid>
		<description><![CDATA[I guess it&#8217;s my bad for using the word &#8220;memory&#8221; interchangeably for main memory and hard disk space to my parents. They&#8217;re pretty computer enthusiastic but don&#8217;t quite know all the ins and outs yet. I built them a new box with plenty of RAM this time around since that had been the big issue [...]]]></description>
			<content:encoded><![CDATA[<p>I guess it&#8217;s my bad for using the word &#8220;memory&#8221; interchangeably for main memory and hard disk space to my parents.  They&#8217;re pretty computer enthusiastic but don&#8217;t quite know all the ins and outs yet.  I built them a new box with plenty of RAM this time around since that had been the big issue before, dragging the old box down.  I assured them that &#8220;You have plenty of memory.&#8221;  So fast forward a few months and I get a call saying that the &#8220;Computer says it&#8217;s running out of memory.  You said we had plenty of memory!&#8221;  Yikes.</p>
<p>I tried to find a way to explain the problem without getting all bogged down in tech details, so I tried to explain it like this:</p>
<p>Mom, your computer has two kinds of memory.  One is called its &#8220;main memory,&#8221; and the other is called the &#8220;hard drive.&#8221;  They both store information, but they&#8217;re pretty different.  Think of your main memory as your kitchen counter.  When you&#8217;re cooking you do your actual work there.  You can put some stuff on the counter but not a lot, but when you need stuff on hand to grab quickly you put it there.  Also in general you can&#8217;t leave stuff on your counter forever.  You only use your kitchen counter when you&#8217;re cooking.  Think of the hard drive as your refrigerator.  Its for long term storage.  You can put a lot more stuff in there, but it takes a little more time to go over, open the door, look for what you need (especially say if it&#8217;s hiding behind the milk), and bring it over to the counter where you&#8217;re actually doing stuff.</p>
<div id="attachment_443" class="wp-caption alignleft" style="width: 370px"><a href="http://queencodemonkey.com/wp-content/uploads/2010/01/iStock_000001485994XSmall.jpg"><img class="size-full wp-image-443    " title="Omelet Making on Kitchen Counter" src="http://queencodemonkey.com/wp-content/uploads/2010/01/iStock_000001485994XSmall.jpg" alt="Omelet Making on Kitchen Counter" width="360" height="240" /></a><p class="wp-caption-text">Your main memory.<br/>Omelet fixings not included.</p></div>
<div id="attachment_446" class="wp-caption alignleft" style="width: 166px"><a href="http://queencodemonkey.com/wp-content/uploads/2010/01/iStock_000011382603XSmall.jpg"><img class="size-medium wp-image-446   " title="Full, open refrigerator." src="http://queencodemonkey.com/wp-content/uploads/2010/01/iStock_000011382603XSmall-195x300.jpg" alt="Full, open refrigerator." width="156" height="240" /></a><p class="wp-caption-text">Your hard disk.<br/>Need to defrag the eggs.</p></div>
<p>So when we upgraded your &#8220;main memory&#8221; we were giving you a bigger counter so you&#8217;d have more space to fit more stuff.  That helps a lot if you&#8217;re making something really complicated or just doing a lot of cooking.  But I forgot that you like to take a lot of photographs.  Think of it as how you like to grow lots of your own veggies at home which you then store in the fridge.  So after putting so many homegrown tomatoes in the fridge you basically ran out of fridge space (ran out of &#8220;hard drive&#8221; space).  So what we need to do is get you a bigger refrigerator or at least an extra, maybe smaller one to hold just your veggies or drinks or something like that.</p>
<p>My mom really seemed to like and understand that pretty well.  I had originally gone with long-term vs. short-term memory, but our family is all about the food-service business so I thought maybe going-with-what-you-know would help.</p>
<p>I suppose if you want to get really into it you could compare a cutting board to a cache, but maybe that&#8217;s a little too nerdy. O.o</p>
<p>I hope if you ever need &#8216;xplain to your mom or another loved one that this helps a little.</p>
<p>Now excuse me, I think I might have put that zip file I need behind the milk.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/queencodemonkey?a=uyBwDQgss9c:2jNz1RWFS3s:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/queencodemonkey?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/queencodemonkey/~4/uyBwDQgss9c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://queencodemonkey.com/2010/01/03/xplaining-computers-to-my-mom-main-memory-vs-hard-disk/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://queencodemonkey.com/2010/01/03/xplaining-computers-to-my-mom-main-memory-vs-hard-disk/</feedburner:origLink></item>
		<item>
		<title>Gitx + Gity = (Gitxy? Gity-x?) a Good Git Gui</title>
		<link>http://feedproxy.google.com/~r/queencodemonkey/~3/_BOmxTmrpqI/</link>
		<comments>http://queencodemonkey.com/2009/12/10/gitx-gity-gitxy-gity-x-a-good-git-gui/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 22:30:14 +0000</pubDate>
		<dc:creator>Huyen Tue Dao</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://queencodemonkey.com/?p=405</guid>
		<description><![CDATA[I know that maybe for the sake of personal robustness (Insert obligatory bad joke here) that I should be training myself to git via command line and learn the ins and outs of this distribute-ed version control.  But I have to admit I love guis.  I especially love native-application-type guis on Mac OS X.  Knowing [...]]]></description>
			<content:encoded><![CDATA[<p>I know that maybe for the sake of personal robustness (Insert obligatory bad joke here) that I should be training myself to <a title="Git - Fast Version Control System" href="http://git-scm.com/">git</a> via command line and learn the ins and outs of this distribute-ed version control.  But I have to admit I love guis.  I especially love native-application-type guis on Mac OS X.  Knowing this, a <a title="Joshua Jamison: WorkingFromHere" href="http://www.workingfromhere.com/blog/">somewhat reputable source</a> recommended <a title="GitX" href="http://gitx.frim.nl/index.html">GitX</a> and <a title="Gity - The Git Application For Mac" href="http://macendeavor.com/gity">Gity</a>.</p>
<p><a href="http://queencodemonkey.com/wp-content/uploads/2009/12/GitXDock.png"><img class="size-full wp-image-406  alignleft" title="GitX on My Dock" src="http://queencodemonkey.com/wp-content/uploads/2009/12/GitXDock.png" alt="GitX" width="110" height="150" /></a></p>
<p>GitX is very similar to <a title="gitk(1) Manual Page" href="http://www.kernel.org/pub/software/scm/git/docs/gitk.html">gitk</a>, the Unix-based repository browser that comes as part of the git package.  Being an open source project, it has that nice price tag of $0.  It has a nice browser with a cute timeline-type representation of the repository history (just like gitk) as well as a flexible interface for staging commits.  The diff functionality is clear and easy.  But that&#8217;s pretty much it.  You have to already have a repository setup locally, and you can only commit.  No pushes, pulls.  You can branch but no tags.<br/><br/></p>
<p><a href="http://queencodemonkey.com/wp-content/uploads/2009/12/GityDock.png"><img class="size-full wp-image-407  alignright" title="Gity on My Dock" src="http://queencodemonkey.com/wp-content/uploads/2009/12/GityDock.png" alt="Gity" width="110" height="148" /></a></p>
<p>Gity by <a title="Mac Endeavor" href="http://macendeavor.com/">Mac Endeavor</a> is less a repository browser and more of a straight-up gui for most git functionality.  Branches, tags, and remotes are listed on the left hand side, and the main page basically lists files in the currently repository.  There are toggles for untracked files, modified files, and staged files.  Commits are a simple dialog.  The implementation of these features feels lacking compared to that of GitX.  However, Gity rocks when it comes to all the functionality that GitX omits.  You can clone repositories, create new remotes, fetch, push, pull, branch, tag, configure git, and other advanced functionality that flies over the head of this n00b. <strong>UPDATE</strong> Thanks to Aaron @ Mac Endeavor for giving some heads up in the comments on updates to Gity history and diff functionality.</p>
<p>Is one better than the other?  In my opinion, nope.  I use Gitx daily.  I use Gity every now and again.  Gitx does what little it does very well.  Gity is loaded with features.  GitX is free.  Gity is $18 (after a 20 repo refresh trial).  Do I think that Gity is worth $18?  Eh.  I would pay $18 if GitX and Gity merged to have GitX&#8217;s interface with all of Gity&#8217;s extra functionality.  THAT would be epic, and I know people before me have <a title="twitter.com/bryanl" href="http://twitter.com/bryanl/status/5432065743">said the same</a>.  On a related note, anyone else notice how strangely similar their logos are?  Hm… *speculate, speculate*</p>
<p>But fanciful, wistful fantasies of applications-not-yet-written aside, if you do end up getting both GitX and Gity, you&#8217;ll be in good shape to getting going with your git-ting.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/queencodemonkey?a=_BOmxTmrpqI:zieGXPzyIA8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/queencodemonkey?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/queencodemonkey/~4/_BOmxTmrpqI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://queencodemonkey.com/2009/12/10/gitx-gity-gitxy-gity-x-a-good-git-gui/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://queencodemonkey.com/2009/12/10/gitx-gity-gitxy-gity-x-a-good-git-gui/</feedburner:origLink></item>
		<item>
		<title>Speaking @ 360|Flex!</title>
		<link>http://feedproxy.google.com/~r/queencodemonkey/~3/fsRrbDfdx98/</link>
		<comments>http://queencodemonkey.com/2009/11/13/speaking-360flex/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 23:11:27 +0000</pubDate>
		<dc:creator>Huyen Tue Dao</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[360flex]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[speaking]]></category>

		<guid isPermaLink="false">http://queencodemonkey.com/?p=396</guid>
		<description><![CDATA[Just got my welcome letter today as a speaker at 360&#124;Flex!  I will be again presenting Greenthreading as I did at CFUnited, but I will be expanding to include some more material and more examples and address questions that came up during my first session. If anyone has any suggestions or questions still or ideas [...]]]></description>
			<content:encoded><![CDATA[<p>Just got my welcome letter today as a speaker at <a title="A community-driven, Flex/AIR-themed conference" href="http://www.360flex.com/">360|Flex</a>!  I will be again presenting Greenthreading as I did at CFUnited, but I will be expanding to include some more material and more examples and address questions that came up during my first session.</p>
<p>If anyone has any suggestions or questions still or ideas of whatever further extensions or clarifications they would like to see, please feel free to email me and hope to see you in San Jose!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/queencodemonkey?a=fsRrbDfdx98:CaFGr2aXKA4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/queencodemonkey?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/queencodemonkey/~4/fsRrbDfdx98" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://queencodemonkey.com/2009/11/13/speaking-360flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://queencodemonkey.com/2009/11/13/speaking-360flex/</feedburner:origLink></item>
		<item>
		<title>Oh Em Gee, All of Those trace() Statements</title>
		<link>http://feedproxy.google.com/~r/queencodemonkey/~3/qznC-SUyXfs/</link>
		<comments>http://queencodemonkey.com/2009/11/06/oh-em-gee-all-of-those-trace-statements/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 06:12:52 +0000</pubDate>
		<dc:creator>Huyen Tue Dao</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[compiling]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://queencodemonkey.com/?p=371</guid>
		<description><![CDATA[Alright, so I saw this insideria.com article by Tyler Larson about conditionally compiling for cleaner Actionscript when it came out and figured that it would be a good idea for peeling out some performance.  And Procrastee McProcrastinator (that&#8217;s me) didn&#8217;t get a chance to try any kind of pruning yet. Then tonight as I&#8217;m tidying [...]]]></description>
			<content:encoded><![CDATA[<p>Alright, so I saw <a title="Create cleaner ActionScript with conditional compiling" href="http://www.insideria.com/2009/10/create-cleaner-actionscript-wi.html" target="_blank">this insideria.com article by Tyler Larson</a> about conditionally compiling for cleaner Actionscript when it came out and figured that it would be a good idea for peeling out some performance.  And Procrastee McProcrastinator (that&#8217;s me) didn&#8217;t get a chance to try any kind of pruning yet.</p>
<p>Then tonight as I&#8217;m tidying up some code for my side project I see <a title="twitter.com/bclinkinbeard" href=" by doing conditional compiling" target="_blank">this tweet by Ben Clinkinbeard</a> noting that adding a <code>trace</code> statement increased a loop&#8217;s runtime by 1 second.  So following Larson&#8217;s article with <a title="Using a custom flex-config.xml file in Flex Builder 3" href="http://blog.flexexamples.com/2008/12/21/using-a-custom-flex-configxml-file-in-flex-builder-3/" target="_blank">a little help from flexexamples.com for setting up a flex-config.xml file</a>, I set conditional compiling for every single trace statement and then compiled a new release build.</p>
<p>Wow.  Just wow.  We&#8217;re talking seconds shaved off loading batches of images.  And I&#8217;m frequently loading these small batches of images so the additional time was just piling up.</p>
<p>I feel incredibly duh-I-should-have-known-that-I-am-such-a-noob.</p>
<p>But hey, live and learn, right?  And I apologize to folks following me on Twitter for the spam and gratuitous face-palming. <img src='http://queencodemonkey.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Update</strong>: Dave Rosenfeld <a title="twitter.com/deltasquared @queencodemonkey" href="http://twitter.com/deltasquared/status/5474180449">informed me via Twitter</a> that <code>trace</code> actually initiates some disk I/O.  No wonder.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/queencodemonkey?a=qznC-SUyXfs:nebI5qIk9ZE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/queencodemonkey?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/queencodemonkey/~4/qznC-SUyXfs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://queencodemonkey.com/2009/11/06/oh-em-gee-all-of-those-trace-statements/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://queencodemonkey.com/2009/11/06/oh-em-gee-all-of-those-trace-statements/</feedburner:origLink></item>
	</channel>
</rss>
