<?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>Penguinspeak &#187; Uncategorized</title>
	<atom:link href="http://macmartine.com/blog/category/uncategorized/feed" rel="self" type="application/rss+xml" />
	<link>http://macmartine.com/blog</link>
	<description>This is how I see it.</description>
	<lastBuildDate>Tue, 19 Oct 2010 00:39:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Subdomains on localhost</title>
		<link>http://macmartine.com/blog/2010/10/subdomains-on-localhost.html</link>
		<comments>http://macmartine.com/blog/2010/10/subdomains-on-localhost.html#comments</comments>
		<pubDate>Tue, 19 Oct 2010 00:37:43 +0000</pubDate>
		<dc:creator>99miles</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://macmartine.com/blog/?p=198</guid>
		<description><![CDATA[Now this is seriously cool. The developer Levi Cook has taken the domain lvh.me (short for: local virtual host me), that resolves to the localhost IP address 127.0.0.1 and supports wildcards (accommodating dynamically created subdomains). No network configuration needed! Especially useful when developing an application with dynamically created subdomains. I found out about this from [...]]]></description>
			<content:encoded><![CDATA[<p>Now this is seriously cool.</p>
<p>The developer Levi Cook has taken the domain lvh.me  (short for: local virtual host me), that resolves to the localhost IP address 127.0.0.1 and supports wildcards (accommodating dynamically created subdomains). No network configuration needed!</p>
<p>Especially useful when developing an application with dynamically created subdomains. I found out about this from http://github.com/fortuity/rails3-subdomain-devise/</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Subdomains+on+localhost+http%3A%2F%2Fbit.ly%2F9mD4yB" title="Post to Twitter"><img class="nothumb" src="http://macmartine.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big2.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://macmartine.com/blog/2010/10/subdomains-on-localhost.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ItemRenderers in Flex 4</title>
		<link>http://macmartine.com/blog/2009/10/itemrenderers-in-flex-4.html</link>
		<comments>http://macmartine.com/blog/2009/10/itemrenderers-in-flex-4.html#comments</comments>
		<pubDate>Mon, 05 Oct 2009 14:52:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://macmartine.com/blog/?p=68</guid>
		<description><![CDATA[In Flex 4, if you are creating an itemRenderer for a Gumbo component, you have a couple options. The easiest way is to simply create a subclass of spark.components.supportClasses.ItemRenderer Your other option is to subclass some other display object, have it implement spark.components.IItemRenderer, and have the host component implement the IItemRendererOwner interface.]]></description>
			<content:encoded><![CDATA[<p>In Flex 4, if you are creating an itemRenderer for a Gumbo component, you have a couple options.</p>
<p>The easiest way is to simply create a subclass of spark.components.supportClasses.ItemRenderer</p>
<p>Your other option is to subclass some other display object, have it implement spark.components.IItemRenderer, and have the host component implement the IItemRendererOwner interface.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=ItemRenderers+in+Flex+4+http%3A%2F%2Fbit.ly%2FrDZ1s" title="Post to Twitter"><img class="nothumb" src="http://macmartine.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big2.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://macmartine.com/blog/2009/10/itemrenderers-in-flex-4.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating TileList in Flex 4</title>
		<link>http://macmartine.com/blog/2009/10/creating-tilelist-in-flex-4.html</link>
		<comments>http://macmartine.com/blog/2009/10/creating-tilelist-in-flex-4.html#comments</comments>
		<pubDate>Fri, 02 Oct 2009 14:30:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://macmartine.com/blog/?p=66</guid>
		<description><![CDATA[In Flex 3 there was a TileList component, mx:TileList. The Flex 4 version of this component would look like this:]]></description>
			<content:encoded><![CDATA[<p>In Flex 3 there was a TileList component, mx:TileList. The Flex 4 version of this component would look like this:</p>
<pre name="code" class="css">
<s:List>
    <s:layout>
        <s:TileLayout requestedColumnCount="4" requestedRowCount="1" columnWidth="100" rowHeight="100" />
    </s:layout>
    <s:dataProvider>
        <s:ArrayList source="" />
        <!-- or ArrayCollection or XMLListCollection -->
    </s:dataProvider>
</s:List>
</pre>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Creating+TileList+in+Flex+4+http%3A%2F%2Fbit.ly%2F3Evzmj" title="Post to Twitter"><img class="nothumb" src="http://macmartine.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big2.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://macmartine.com/blog/2009/10/creating-tilelist-in-flex-4.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ultra ATA data cables</title>
		<link>http://macmartine.com/blog/2009/08/ultra_ata_data_cables.html</link>
		<comments>http://macmartine.com/blog/2009/08/ultra_ata_data_cables.html#comments</comments>
		<pubDate>Tue, 18 Aug 2009 00:39:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://macmartine.com/blog/?p=44</guid>
		<description><![CDATA[Wow, I spent 2 days trying to figure out why after upgrading a server to Fedora 11, the system wouldn&#8217;t boot. It would either throw a system boot failure error or hang at the &#8216;Verifying DMI Pool Data&#8217; line. This was only when I plugged in a third drive &#8212; it didn&#8217;t matter which one. [...]]]></description>
			<content:encoded><![CDATA[<p>Wow, I spent 2 days trying to figure out why after upgrading a server to Fedora 11, the system wouldn&#8217;t boot. It would either throw a system boot failure error or hang at the &#8216;Verifying DMI Pool Data&#8217; line. This was only when I plugged in a third drive &#8212; it didn&#8217;t matter which one. And in the BIOS boot order the only thing listed would be &#8216;Bootable Add-In Cards&#8217;, and not my drives. Turns out it really matters the order in which you plug in drives with the ATA cable! I&#8217;m still not totally clear on in, but once I saw this image I switched the cable around and it worked!<br />
<img src="http://www.seagate.com/images/support/en/us/ata_cable.jpg"/></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Ultra+ATA+data+cables+http%3A%2F%2Fbit.ly%2F3KjMey" title="Post to Twitter"><img class="nothumb" src="http://macmartine.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big2.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://macmartine.com/blog/2009/08/ultra_ata_data_cables.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solving &#8220;Verifying DMI Pool Data&#8221; hang in Fedora</title>
		<link>http://macmartine.com/blog/2009/08/solving_verifying_dmi_pool_dat.html</link>
		<comments>http://macmartine.com/blog/2009/08/solving_verifying_dmi_pool_dat.html#comments</comments>
		<pubDate>Tue, 04 Aug 2009 20:50:09 +0000</pubDate>
		<dc:creator>99miles</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://macmartine.com/blog/?p=41</guid>
		<description><![CDATA[I have a Linux server with Fedora that I use mainly to host storage drives. It has one boot drive, and 4 storage drives, the fourth of which is connected through a Promise Sata 200 Tx2 Plus controller. All was great for a year or more, til I started getting a hang on boot at [...]]]></description>
			<content:encoded><![CDATA[<p>I have a Linux server with Fedora that I use mainly to host storage drives. It has one boot drive, and 4 storage drives, the fourth of which is connected through a Promise Sata 200 Tx2 Plus controller.<br />
All was great for a year or more, til I started getting a hang on boot at &#8220;Verifying DMI Pool Data&#8221;. This only happened when I plugged in a drive through the Sata Controller. I saw lots of threads with various (complex) possible solutions, but my fix luckily turned out to be simple enough, just took a lot of time to figure out.<br />
In BIOS settings, under &#8216;Advanced BIOS Features&#8217;, &#8216;Hard Disk Boot Priority&#8217;, &#8216;Bootable Add-in Cards&#8217; had made it&#8217;s way to the top, so it was trying to boot off that 4th non-bootable data drive. As soon as I moved that down below my bootable drive, everything was peachy.<br />
Yay, finally!</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Solving+%E2%80%9CVerifying+DMI+Pool+Data%E2%80%9D+hang+in+Fedora+http%3A%2F%2Fbit.ly%2FKHZnO" title="Post to Twitter"><img class="nothumb" src="http://macmartine.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big2.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://macmartine.com/blog/2009/08/solving_verifying_dmi_pool_dat.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to determine which version of AIR you have installed</title>
		<link>http://macmartine.com/blog/2009/07/how_to_determine_which_version.html</link>
		<comments>http://macmartine.com/blog/2009/07/how_to_determine_which_version.html#comments</comments>
		<pubDate>Thu, 23 Jul 2009 21:49:43 +0000</pubDate>
		<dc:creator>99miles</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://macmartine.com/blog/?p=40</guid>
		<description><![CDATA[Just add this into your AIR app, and run it: < mx:Label text="Installed AIR Version: {NativeApplication.nativeApplication.runtimeVersion}" fontWeight="bold" />]]></description>
			<content:encoded><![CDATA[<p>Just add this into your AIR app, and run it:</p>
<pre name="code" class="xml">
< mx:Label text="Installed AIR Version:
{NativeApplication.nativeApplication.runtimeVersion}"
fontWeight="bold" />
</pre>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=How+to+determine+which+version+of+AIR+you+have+installed+http%3A%2F%2Fbit.ly%2F44w1qD" title="Post to Twitter"><img class="nothumb" src="http://macmartine.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big2.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://macmartine.com/blog/2009/07/how_to_determine_which_version.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Can&#8217;t edit &#8216;Body&#8217; field of &#8216;Create Entry&#8217; page in Movable Type</title>
		<link>http://macmartine.com/blog/2009/07/cant_edit_body_field_of_create.html</link>
		<comments>http://macmartine.com/blog/2009/07/cant_edit_body_field_of_create.html#comments</comments>
		<pubDate>Wed, 15 Jul 2009 21:50:07 +0000</pubDate>
		<dc:creator>99miles</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[movable type]]></category>

		<guid isPermaLink="false">http://macmartine.com/blog/?p=39</guid>
		<description><![CDATA[After ages of neglecting to figure out how to resolve the issue, I can now post to this blog again. At some point I could no longer create the body of a post, and blog entries are usually pretty lame if nothing but a Title. Sounds like the most common fix is to verify you [...]]]></description>
			<content:encoded><![CDATA[<p>After ages of neglecting to figure out how to resolve the issue, I can now post to this blog again. At some point I could no longer create the body of a post, and blog entries are usually pretty lame if nothing but a Title.<br />
Sounds like the most common fix is to verify you go to the same url as you have in the configuration, specifically paying attention to whether or not you have &#8216;www&#8217; included.<br />
More here: http://forums.movabletype.org/2009/05/authors-cant-create-entries.html<br />
That didn&#8217;t work for me, but now that there&#8217;s a new version of Movable Type, I have upgraded to 4.261, and I&#8217;m back in business!</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Can%E2%80%99t+edit+%E2%80%98Body%E2%80%99+field+of+%E2%80%98Create+Entry%E2%80%99+page+in+Movable+Type+http%3A%2F%2Fbit.ly%2FPQPfx" title="Post to Twitter"><img class="nothumb" src="http://macmartine.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big2.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://macmartine.com/blog/2009/07/cant_edit_body_field_of_create.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting itemRenderer in Actionscript</title>
		<link>http://macmartine.com/blog/2007/12/setting_itemrenderer_in_action.html</link>
		<comments>http://macmartine.com/blog/2007/12/setting_itemrenderer_in_action.html#comments</comments>
		<pubDate>Fri, 14 Dec 2007 12:35:44 +0000</pubDate>
		<dc:creator>99miles</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://macmartine.com/blog/?p=18</guid>
		<description><![CDATA[Some things seem so straight-forward once you figure them out, but sometimes it takes some experimenting to find the working solution. One thing I got stumped on for a bit recently was trying to set an itemRenderer in Actionscript. So I thought I&#8217;d share this one-liner &#8212; you just have to cast it as a [...]]]></description>
			<content:encoded><![CDATA[<p>Some things seem so straight-forward once you figure them out, but sometimes it takes some experimenting to find the working solution. One thing I got stumped on for a bit recently was trying to set an itemRenderer in Actionscript. So I thought I&#8217;d share this one-liner &#8212; you just have to cast it as a ClassFactory:</p>
<pre name="code" class="java">
listObj.itemRenderer = new ClassFactory( com.martine.components.myItemRenderer );
</pre>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Setting+itemRenderer+in+Actionscript+http%3A%2F%2Fbit.ly%2Fd4Wj9" title="Post to Twitter"><img class="nothumb" src="http://macmartine.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big2.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://macmartine.com/blog/2007/12/setting_itemrenderer_in_action.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Events can be fake.</title>
		<link>http://macmartine.com/blog/2007/12/events_can_be_fake.html</link>
		<comments>http://macmartine.com/blog/2007/12/events_can_be_fake.html#comments</comments>
		<pubDate>Thu, 13 Dec 2007 21:56:58 +0000</pubDate>
		<dc:creator>99miles</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://macmartine.com/blog/?p=17</guid>
		<description><![CDATA[I&#8217;m currently creating an app where I make a TileList scroll when the cursor is over it and far enough to either side. I found that if the cursor is left in place while the TileList moved underneath it, the itemRollOver event wasn&#8217;t getting fired so the rollover highlighting of the TileList items wasn&#8217;t working. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently creating an app where I make a TileList scroll when the cursor is over it and far enough to either side. I found that if the cursor is left in place while the TileList moved underneath it, the itemRollOver event wasn&#8217;t getting fired so the rollover highlighting of the TileList items wasn&#8217;t working. It only works if the cursor itself is moving.<br />
<a href="http://blogs.adobe.com/aharui/">Alex Harui</a> pointed me in the direction of faking an event. It took me a little while to figure out exactly which event on which object to have trigger it (i.e. I kept trying it on the itemRenderer itself.) In the end, the solution was simple.<br />
On the TileList I jsut captured mouseOver:<br />
mouseOver=&#8221;{itemRolledOver(event)}&#8221;<br />
Then created this method:</p>
<pre name="code" class="java">
private function itemRolledOver(event : MouseEvent) : void
{
var mouseOverEvent:MouseEvent = new MouseEvent(MouseEvent.MOUSE_MOVE, true, false, event.localX, event.localY);
event.target.dispatchEvent(mouseOverEvent);
}
</pre>
<p>&#8230; and voila! My rollover highlighting was back!</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Events+can+be+fake.+http%3A%2F%2Fbit.ly%2F1h0Nvn" title="Post to Twitter"><img class="nothumb" src="http://macmartine.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big2.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://macmartine.com/blog/2007/12/events_can_be_fake.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beta&#8217;s, Beta&#8217;s, and the things you build.</title>
		<link>http://macmartine.com/blog/2007/12/betas_betas_and_the_things_you.html</link>
		<comments>http://macmartine.com/blog/2007/12/betas_betas_and_the_things_you.html#comments</comments>
		<pubDate>Thu, 13 Dec 2007 21:22:27 +0000</pubDate>
		<dc:creator>99miles</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://macmartine.com/blog/?p=16</guid>
		<description><![CDATA[I hope y&#8217;all are all enjoying your Betas 3&#8242;s! AIR and Flex have come a long way this year and it&#8217;s so exciting to see what everyone&#8217;s building both internally at Adobe and out there in the &#8220;real world&#8221;. We&#8217;ve gotten a lot of great feedback along the way too. I just got to play [...]]]></description>
			<content:encoded><![CDATA[<p>I hope y&#8217;all are all enjoying your Betas 3&#8242;s! AIR and Flex have come a long way this year and it&#8217;s so exciting to see what everyone&#8217;s building both internally at Adobe and out there in the &#8220;real world&#8221;. We&#8217;ve gotten a lot of great feedback along the way too. I just got to play with Brio ( http://labs.adobe.com/technologies/brio/ ) for the first time, and it seems super cool and we&#8217;re constantly seeing new sites pop up out there that blow us away. Keep it up!<br />
With the Flex framework being open-sourced and now BlazeDS remoting and messaging being out in Beta and open-source I really can&#8217;t wait to see what people do.<br />
It&#8217;s been &#8216;scenario&#8217; time lately for some of us on the Flex team where we build applications with Flex and see how the experience is, what we&#8217;ve done well and what we can do better. It&#8217;s a really fun time! Now back to coding&#8230;</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Beta%E2%80%99s%2C+Beta%E2%80%99s%2C+and+the+things+you+build.+http%3A%2F%2Fbit.ly%2F8lfzu" title="Post to Twitter"><img class="nothumb" src="http://macmartine.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big2.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://macmartine.com/blog/2007/12/betas_betas_and_the_things_you.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

