<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>assertTrue</title>
    <link>http://www.asserttrue.com/</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>powered by Pattern Park</description>
    <item>
      <title>Getting Started with ActionScript 2.0 and AsUnit</title>
      <description>&lt;p&gt;It seems a &amp;#8220;&lt;a href="http://blog.hoardinghopes.com/?page_id=2"&gt;London/Cambridge-based Actionscript developer&lt;/a&gt;&amp;#8221; posted an &lt;a href="http://blog.hoardinghopes.com/?p=14"&gt;excellent tutorial for ActionScript 2.0 and AsUnit&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;Just wanted to make sure folks could find it!&lt;/p&gt;</description>
      <pubDate>Sun, 11 May 2008 23:38:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:8e237b05-3cf4-407d-99c3-abb0da1a1045</guid>
      <author>Luke Bayes</author>
      <link>http://www.asserttrue.com/articles/2008/05/11/getting-started-with-actionscript-2-0-and-asunit</link>
      <category>asunit</category>
      <trackback:ping>http://www.asserttrue.com/articles/trackback/1566</trackback:ping>
    </item>
    <item>
      <title>Is RubyGems running really, really slow on OSX? How about 60 second delays for HTTP requests?</title>
      <description>&lt;p&gt;Ali and I ran into an interesting Ruby bug on &lt;span class="caps"&gt;OSX&lt;/span&gt; Leopard last week and I thought I&amp;#8217;d share the result of our finding&amp;#8230;.&lt;/p&gt;


	&lt;p&gt;Basically, we were requesting a 2k &lt;span class="caps"&gt;RSS&lt;/span&gt; feed from a url that had two sub-domains as in:&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;http://sub1.sub2.example.com&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;The request worked fine if we hit the server with only one sub-domain as in:&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;http://sub2.example.com&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;In the first example, the request would hang for exactly 60 seconds and then return the result. When we tried with a third sub-domain, we got a 120 second hang and then an error.&lt;/p&gt;


	&lt;p&gt;After digging through the Ruby sources, it looked like the problem was in the TCPSocket C implementation so I threw an &lt;a href="http://www.ruby-forum.com/topic/151729#new"&gt;email&lt;/a&gt; up on the Ruby list.&lt;/p&gt;


	&lt;p&gt;Turns out the fix is that if you&amp;#8217;re trying to use Ruby networking features that sit on top of &lt;span class="caps"&gt;TCP&lt;/span&gt; on &lt;span class="caps"&gt;OS X&lt;/span&gt; Leopard, you &lt;em&gt;may&lt;/em&gt; need to add the following to your code:&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;require 'resolv-replace'&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;Found the fix in this &lt;a href="http://www.ruby-forum.com/topic/138634"&gt;thread&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;I also added this line to /usr/lib/ruby/1.8/rubygems.rb (around line 11) and RubyGems is suddenly much, much faster.&lt;/p&gt;</description>
      <pubDate>Sun, 04 May 2008 14:36:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:8ff32b8a-5210-4283-9b77-06d7632cc92a</guid>
      <author>Luke Bayes</author>
      <link>http://www.asserttrue.com/articles/2008/05/04/is-rubygems-running-really-really-slow-on-osx-how-about-60-second-delays-for-http-requests</link>
      <category>ruby</category>
      <category>rubygems</category>
      <trackback:ping>http://www.asserttrue.com/articles/trackback/1563</trackback:ping>
    </item>
    <item>
      <title>REST on IT Matters from Thoughtworks</title>
      <description>&lt;p&gt;I recently discovered a great podcast that is put out by &lt;a href="http://www.thoughtworks.com"&gt;Thoughtworks&lt;/a&gt;. I can&amp;#8217;t remember at the moment who turned me on to this thing (probably Ali), but it really is fantastic.&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://www.thoughtworks.com/what-we-say/podcasts.html"&gt;http://www.thoughtworks.com/what-we-say/podcasts.html&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;Podcast #4 &amp;#8220;REST &amp;#8211; Representation State Transfer&amp;#8221; is well worth a listen. Especially for those of us that build SWFs and even more so for those of you that push for binary data protocols.&lt;/p&gt;


	&lt;p&gt;In a bit of a meta joke, there doesn&amp;#8217;t seem to be a link directly to the &lt;span class="caps"&gt;REST&lt;/span&gt; entry, so as this post gets older, the link above will become less meaningful!&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;m sure much of this is old news to many of you, but some key points that I took away were:&lt;/p&gt;</description>
      <pubDate>Fri, 18 Apr 2008 09:44:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:280e14a9-f73e-4e28-a683-e8fb360295ac</guid>
      <author>Luke Bayes</author>
      <link>http://www.asserttrue.com/articles/2008/04/18/rest-on-it-matters-from-thoughtworks</link>
      <category>rest</category>
      <category>swf</category>
      <trackback:ping>http://www.asserttrue.com/articles/trackback/1562</trackback:ping>
    </item>
    <item>
      <title>Test-Driven Development with Sprouts in San Francsisco on Thursday</title>
      <description>&lt;p&gt;Just getting a quick note out to everyone in the San Francisco Bay Area.&lt;/p&gt;


	&lt;p&gt;There&amp;#8217;s been a &lt;a href="http://tech.groups.yahoo.com/group/silvafug/message/568"&gt;last minute setup&lt;/a&gt; of the Silicon Valley Flash User Group (&lt;a href="http://www.silvafug.org"&gt;Silvafug&lt;/a&gt;) and I&amp;#8217;ve been asked to present &lt;a href="http://www.projectsprouts.org"&gt;Sprouts&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;Of course I&amp;#8217;ll be giving the now-traditional 5 minute &amp;#8216;up-n-running&amp;#8217; demo that everyone is probably sick of seeing, but afterward I&amp;#8217;ll be getting into some nuts and bolts of how &lt;a href="http://www.projectsprouts.org"&gt;Sprouts&lt;/a&gt; works in my own Test-First development process.&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://probertson.com/articles/2008/04/15/air-windows-menus-presos/"&gt;Paul Robertson&lt;/a&gt; is speaking for the first half of the evening on “AIR: Windows, Menus, and the System Tray.” which I&amp;#8217;m really looking forward to!&lt;/p&gt;


	&lt;p&gt;At the time this post went to press, the Silvafug website hadn&amp;#8217;t yet been updated, but &lt;a href="http://tech.groups.yahoo.com/group/silvafug/message/568"&gt;according to this email&lt;/a&gt;, the event is scheduled to go from 5:30pm to 9:30ish at the San Francisco Adobe building (&lt;a href="http://maps.google.com/maps?ie=UTF8&amp;#38;oe=utf-8&amp;#38;client=firefox-a&amp;#38;dq=adobe+loc:+San+Francisco,+CA&amp;#38;daddr=601+Townsend+St,+San+Francisco,+CA+94103&amp;#38;geocode=3903935404756825174,37.771799,-122.401665&amp;#38;f=d&amp;#38;ll=37.771799,-122.401665&amp;#38;spn=0.004071,0.009087&amp;#38;z=17"&gt;601 Townsend Street&lt;/a&gt;).&lt;/p&gt;


	&lt;p&gt;For those of you that don&amp;#8217;t know, this means that we&amp;#8217;ll be at the &lt;a href="http://www.marsbarsf.com/"&gt;Mars bar&lt;/a&gt; from about 9:30-ish onward!&lt;/p&gt;


	&lt;p&gt;Hope to see you there.&lt;/p&gt;</description>
      <pubDate>Tue, 15 Apr 2008 17:03:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:517d6dd0-d2ce-4de4-a4cd-bb280da54995</guid>
      <author>Luke Bayes</author>
      <link>http://www.asserttrue.com/articles/2008/04/15/test-driven-development-with-sprouts-in-san-francsisco-on-thursday</link>
      <category>sprouts</category>
      <trackback:ping>http://www.asserttrue.com/articles/trackback/1561</trackback:ping>
    </item>
    <item>
      <title>Github - making great choices</title>
      <description>&lt;p&gt;I&amp;#8217;ve been flirting with &lt;a href="http://git.or.cz/"&gt;Git&lt;/a&gt; for awhile now, but haven&amp;#8217;t gotten around to using it on a &amp;#8216;real&amp;#8217; project yet.&lt;/p&gt;


	&lt;p&gt;For me, it has been an amazingly useful tool for exploration and personal projects where I&amp;#8217;m the only developer and I&amp;#8217;d rather not go through the trouble and commitment of creating a real subversion repository on our servers.&lt;/p&gt;


	&lt;p&gt;As I&amp;#8217;ve been using it more for these kinds of projects and some of them are growing beyond the initial conception, I&amp;#8217;ve been looking into what it would take to host a git repository remotely.&lt;/p&gt;


	&lt;p&gt;As it turns out, some folks have put together an  clean solution over at &lt;a href="http://www.github.com"&gt;Github&lt;/a&gt;.&lt;/p&gt;</description>
      <pubDate>Wed, 09 Apr 2008 10:11:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:2045ba26-25a5-4157-af2d-8fba28cc2152</guid>
      <author>Luke Bayes</author>
      <link>http://www.asserttrue.com/articles/2008/04/09/github-making-great-choices</link>
      <trackback:ping>http://www.asserttrue.com/articles/trackback/1557</trackback:ping>
    </item>
    <item>
      <title>Will he finally start wearing Shoes?</title>
      <description>&lt;p&gt;Those of you that know me know &amp;#8211; I wear flip flops.&lt;/p&gt;


	&lt;p&gt;I wear flip flops all the time.&lt;/p&gt;


	&lt;p&gt;I wear flip flops to business meetings, interviews, first dates, fancy clubs, I mean everywhere.&lt;/p&gt;


	&lt;p&gt;I wear flip flops even when it&amp;#8217;s a rainy, windy, San Francisco, 40-degree, summer day!&lt;/p&gt;


	&lt;p&gt;I suppose you can take the boy out of Florida, but, well, youknowhowitgoes&amp;#8230;.&lt;/p&gt;


	&lt;p&gt;In addition to the cold toes, it now looks like there might be another good reason to wear Shoes.&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://whytheluckystiff.net/"&gt;Why the Lucky Stiff&lt;/a&gt; of Ruby fame has come out with a new (and not-quite-ready) &lt;a href="http://code.whytheluckystiff.net/shoes/"&gt;cross-platform, native component, open-source, &lt;span class="caps"&gt;GUI&lt;/span&gt; toolkit called Shoes&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;ve been spending an awful lot of time lately thinking about this problem. By lately, I mean something like the past 10 years. I&amp;#8217;m definitely excited to look more closely at this project as he&amp;#8217;s claiming support for all kinds of media, drawing apis and even native components.&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;ll be looking into this Shoes-thing more in the coming weeks and I&amp;#8217;ll be sure to let you know what I find.&lt;/p&gt;


	&lt;p&gt;In unrelated non-technical, but still somehow nerdy news, I may have found a new favorite musician and music site today.&lt;/p&gt;


	&lt;p&gt;Check out &lt;a href="http://ninaxbruja.muxtape.com/"&gt;muxtape&lt;/a&gt; which is a fantastic exercise in clean, semantic, UI for media (I dare you to view source).&lt;/p&gt;


	&lt;p&gt;Be sure to listen to the &lt;a href="http://www.kimyadawson.com/"&gt;Kimya Dawson&lt;/a&gt; track at the bottom of the link above.&lt;/p&gt;


	&lt;p&gt;Nice.&lt;/p&gt;</description>
      <pubDate>Tue, 08 Apr 2008 16:33:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:e80873f1-2f67-4879-b3d7-28f2d2307f87</guid>
      <author>Luke Bayes</author>
      <link>http://www.asserttrue.com/articles/2008/04/08/will-he-finally-start-wearing-shoes</link>
      <category>shoes</category>
      <category>ruby</category>
      <category>music</category>
      <trackback:ping>http://www.asserttrue.com/articles/trackback/1556</trackback:ping>
    </item>
    <item>
      <title>What do I really want?</title>
      <description>&lt;p&gt;I&amp;#8217;ve spent an inordinate amount of time lately considering and pondering what it is that I really want from my tools.&lt;/p&gt;


	&lt;p&gt;In an unrelated, introductory message to a random netizen, I just found myself emitting the following statement:&lt;/p&gt;


	&lt;p&gt;&amp;#8220;I want to write clean, elegant, code that results in simple, expressive user experiences. Nothing available today truly satisfies this desire for me.&amp;#8221;&lt;/p&gt;</description>
      <pubDate>Mon, 31 Mar 2008 22:50:00 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:642769d5-5356-4f92-a1c5-34937340a97c</guid>
      <author>Luke Bayes</author>
      <link>http://www.asserttrue.com/articles/2008/03/31/what-do-i-really-want</link>
      <category>programming</category>
      <trackback:ping>http://www.asserttrue.com/articles/trackback/1548</trackback:ping>
    </item>
    <item>
      <title>Flex 3 SDK released in Sprouts!</title>
      <description>&lt;p&gt;The &lt;a href="http://www.adobe.com/products/flex/"&gt;Flex 3 &lt;span class="caps"&gt;SDK&lt;/span&gt;&lt;/a&gt; was released by Adobe yesterday and this morning, I&amp;#8217;m pleased to announce that &lt;a href="http://www.projectsprouts.org"&gt;Sprouts&lt;/a&gt; already supports it.&lt;/p&gt;


	&lt;p&gt;To take advantage of the new Flex 3 &lt;span class="caps"&gt;SDK&lt;/span&gt;, you&amp;#8217;ll need to remove your existing sprout gems, clear your sprout cache and make a minor modification to any newly created rakefiles.&lt;/p&gt;


	&lt;p&gt;Here are the steps you should take to upgrade your sprout gems:&lt;/p&gt;</description>
      <pubDate>Mon, 25 Feb 2008 08:02:00 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:573fa50d-a590-4e69-8547-79b934a09ff2</guid>
      <author>Luke Bayes</author>
      <link>http://www.asserttrue.com/articles/2008/02/25/flex-3-sdk-released-in-sprouts</link>
      <category>sprout</category>
      <trackback:ping>http://www.asserttrue.com/articles/trackback/1516</trackback:ping>
    </item>
    <item>
      <title>AsDoc and COMPC now supported in Sprouts</title>
      <description>&lt;p&gt;I just got some enhancements into the &lt;a href="http://www.projectsprouts.org"&gt;Sprout&lt;/a&gt; packages that provide full support for &lt;a href="http://www.projectsprouts.org/rdoc/classes/Sprout/AsDocTask.html"&gt;asdoc&lt;/a&gt; and &lt;a href="http://www.projectsprouts.org/rdoc/classes/Sprout/COMPCTask.html"&gt;compc&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;The AsDoc support is especially handy because it gives the full terminal interface, but also allows you to generate documentation against any already defined &lt;span class="caps"&gt;MXMLC&lt;/span&gt; task without duplicating all of your configuration!&lt;/p&gt;


	&lt;p&gt;A Rakefile might look something like this:&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;desc &amp;quot;Compile the main application&amp;quot;
mxmlc 'bin/SomeProject.swf' do |t|
  t.input = 'src/SomeProject.as'
  t.source_path = 'lib/yourlib'
  t.source_path = 'lib/asunit'
  t.source_path = 'test'
  t.source_path = 'src'
end

desc &amp;quot;Generate documentation&amp;quot;
asdoc :doc =&amp;gt; 'bin/SomeProject.swf'&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;That&amp;#8217;s it!&lt;/p&gt;


	&lt;p&gt;You just set an &lt;span class="caps"&gt;MXMLC&lt;/span&gt; task as a prerequisite for an asdoc task and the configuration options are inherited.&lt;/p&gt;


	&lt;p&gt;The latest &lt;code&gt;as3&lt;/code&gt; bundle gem automatically adds something similar to all of your new project rake files.&lt;/p&gt;


You can always get the latest Rubyforge gems with the following:
&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;sprout -R
sudo gem update sprout&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;Be sure to &lt;a href="http://groups.google.com/group/projectsprouts"&gt;let us know&lt;/a&gt; if anything doesn&amp;#8217;t work as expected!&lt;/p&gt;</description>
      <pubDate>Mon, 25 Feb 2008 00:24:00 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:a174f67e-e130-4557-845f-3d5924201674</guid>
      <author>Luke Bayes</author>
      <link>http://www.asserttrue.com/articles/2008/02/25/asdoc-and-compc-now-supported-in-sprouts</link>
      <category>sprouts</category>
      <trackback:ping>http://www.asserttrue.com/articles/trackback/1515</trackback:ping>
    </item>
    <item>
      <title>Creating Custom Generators with Sprouts</title>
      <description>&lt;p&gt;As &lt;a href="http://www.projectsprouts.org"&gt;Sprouts&lt;/a&gt; starts to pick up momentum, we&amp;#8217;re starting to get questions about creating custom generators. So I thought I&amp;#8217;d throw a quick post up to share the info more broadly.&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;m actively working on the &amp;#8216;developer&amp;#8217; gem so that you will eventually be able to stub new sprout gems for tools, libraries, bundles, tasks and generators. Unfortunately that gem isn&amp;#8217;t quite ready yet so for the time being, you&amp;#8217;ll have to build your generators manually.&lt;/p&gt;


	&lt;p&gt;If you&amp;#8217;re looking for code generators within the context of an existing project, here&amp;#8217;s how to do it:&lt;/p&gt;</description>
      <pubDate>Thu, 21 Feb 2008 10:25:00 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:55bdb3ce-a652-4101-9fb9-834f9dd4d926</guid>
      <author>Luke Bayes</author>
      <link>http://www.asserttrue.com/articles/2008/02/21/creating-custom-generators-with-sprouts</link>
      <category>sprouts</category>
      <trackback:ping>http://www.asserttrue.com/articles/trackback/1508</trackback:ping>
    </item>
  </channel>
</rss>
