<?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</title>
	<atom:link href="http://macmartine.com/blog/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>Installing PostegreSQL on OS X Snow Leopard</title>
		<link>http://macmartine.com/blog/2010/10/installing-postegresql-on-os-x-snow-leopard.html</link>
		<comments>http://macmartine.com/blog/2010/10/installing-postegresql-on-os-x-snow-leopard.html#comments</comments>
		<pubDate>Sun, 17 Oct 2010 23:04:52 +0000</pubDate>
		<dc:creator>99miles</dc:creator>
				<category><![CDATA[PostgreSQL]]></category>

		<guid isPermaLink="false">http://macmartine.com/blog/?p=192</guid>
		<description><![CDATA[Greg Benedict&#8217;s steps got me most of the way. However, where he says that this worked for him: sudo env ARCHFLAGS=&#8221;-arch x86_64&#8243; gem install pg &#8230; I had to put this in my .bashrc: export ARCHFLAGS=&#8217;-arch x86_64&#8242; Then run: $ gem install pg &#8211;include dependencies At that point I was good to go. Not sure [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.gregbenedict.com/2009/08/31/installing-postgresql-on-snow-leopard-10-6/" target="_blank">Greg Benedict&#8217;s steps</a> got me most of the way.</p>
<p>However, where he says that this worked for him:</p>
<blockquote><p>
sudo env ARCHFLAGS=&#8221;-arch x86_64&#8243; gem install pg
</p></blockquote>
<p>&#8230; I had to put this in my .bashrc:</p>
<blockquote><p>
export ARCHFLAGS=&#8217;-arch x86_64&#8242;
</p></blockquote>
<p>Then run:</p>
<blockquote><p>$ gem install pg &#8211;include dependencies
</p></blockquote>
<p>At that point I was good to go. Not sure why his suggestion didn&#8217;t work for me, but it kept giving me this error:</p>
<blockquote><p>
$ sudo env ARCHFLAGS=&#8221;-arch x86_64&#8243; gem install pg<br />
Password:<br />
Building native extensions.  This could take a while&#8230;<br />
ERROR:  Error installing pg:<br />
	ERROR: Failed to build gem native extension.</p>
<p>/Users/mm/.rvm/rubies/ruby-1.9.2-p0/bin/ruby extconf.rb<br />
checking for pg_config&#8230; no<br />
MacOS X build: fixing architecture flags:<br />
  using the value in ARCHFLAGS environment variable (&#8220;-arch x86_64&#8243;).<br />
checking for libpq-fe.h&#8230; no<br />
Can&#8217;t find the &#8216;libpq-fe.h header<br />
*** extconf.rb failed ***<br />
Could not create Makefile due to some reason, probably lack of<br />
necessary libraries and/or headers.  Check the mkmf.log file for more<br />
details.  You may need configuration options.</p>
<p>Provided configuration options:<br />
	&#8211;with-opt-dir<br />
	&#8211;without-opt-dir<br />
	&#8211;with-opt-include<br />
	&#8211;without-opt-include=${opt-dir}/include<br />
	&#8211;with-opt-lib<br />
	&#8211;without-opt-lib=${opt-dir}/lib<br />
	&#8211;with-make-prog<br />
	&#8211;without-make-prog<br />
	&#8211;srcdir=.<br />
	&#8211;curdir<br />
	&#8211;ruby=/Users/mm/.rvm/rubies/ruby-1.9.2-p0/bin/ruby<br />
	&#8211;with-pg<br />
	&#8211;without-pg<br />
	&#8211;with-pg-config<br />
	&#8211;without-pg-config<br />
	&#8211;with-pg-dir<br />
	&#8211;without-pg-dir<br />
	&#8211;with-pg-include<br />
	&#8211;without-pg-include=${pg-dir}/include<br />
	&#8211;with-pg-lib<br />
	&#8211;without-pg-lib=${pg-dir}/lib<br />
	&#8211;enable-static-build<br />
	&#8211;disable-static-build</p>
<p>Gem files will remain installed in /Users/mm/.rvm/gems/ruby-1.9.2-p0/gems/pg-0.9.0 for inspection.<br />
Results logged to /Users/mm/.rvm/gems/ruby-1.9.2-p0/gems/pg-0.9.0/ext/gem_make.out
</p></blockquote>
<p>Otherwise</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Installing+PostegreSQL+on+OS+X+Snow+Leopard+http%3A%2F%2Fbit.ly%2FaWzyD5" 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/installing-postegresql-on-os-x-snow-leopard.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe AIR 1.5.3 Now available for download</title>
		<link>http://macmartine.com/blog/2009/12/adobe-air-1-5-3-now-available-for-download.html</link>
		<comments>http://macmartine.com/blog/2009/12/adobe-air-1-5-3-now-available-for-download.html#comments</comments>
		<pubDate>Wed, 09 Dec 2009 23:26:14 +0000</pubDate>
		<dc:creator>99miles</dc:creator>
				<category><![CDATA[AIR]]></category>

		<guid isPermaLink="false">http://macmartine.com/blog/?p=187</guid>
		<description><![CDATA[http://get.adobe.com/air/ Adobe AIR 1.5.3 Release Notes Adobe AIR Team blog post announcing AIR 1.5.3]]></description>
			<content:encoded><![CDATA[<p>http://get.adobe.com/air/</p>
<p><a href="http://www.adobe.com/support/documentation/en/air/1_5_3/releasenotes_developers.html ">Adobe AIR 1.5.3 Release Notes </a></p>
<p><a href="http://blogs.adobe.com/air/2009/12/adobe_air_153_now_available.html">Adobe AIR Team blog post announcing AIR 1.5.3  </a></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Adobe+AIR+1.5.3+Now+available+for+download+http%3A%2F%2Fbit.ly%2F758JAV" 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/12/adobe-air-1-5-3-now-available-for-download.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ignite Portland 7: Geeks on non-geeky things.</title>
		<link>http://macmartine.com/blog/2009/11/ignite-portland-7-geeks-on-non-geeky-things.html</link>
		<comments>http://macmartine.com/blog/2009/11/ignite-portland-7-geeks-on-non-geeky-things.html#comments</comments>
		<pubDate>Fri, 20 Nov 2009 17:07:39 +0000</pubDate>
		<dc:creator>99miles</dc:creator>
				<category><![CDATA[Portland]]></category>

		<guid isPermaLink="false">http://macmartine.com/blog/?p=178</guid>
		<description><![CDATA[I first read about Ignite Portland last year right after IP6 (Ignite Portland 6). I knew I had missed something cool, so I kept an eye peeled for the announcement of IP7. It finally happened last night. I wasn&#8217;t sure going into it what to expect. The website describes the creators as &#8220;geeks&#8221;, there are [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="" src="http://www.igniteportland.com/wp-content/themes/ignite-current/images/headers/ignite-header.jpg" title="Ignite Portland" class="aligncenter" width="450" /></p>
<p>I first read about<a href="http://www.igniteportland.com/"> Ignite Portland</a> last year right after IP6 (Ignite Portland 6). I knew I had missed something cool, so I kept an eye peeled for the announcement of IP7. It finally happened last night.</p>
<p>I wasn&#8217;t sure going into it what to expect. The website describes the creators as &#8220;geeks&#8221;, there are techy sponsors, and if you dig a little further you&#8217;ll find an Ignite Community site that is sponsored by O&#8217;Reilly. </p>
<p>But the topics of the talks are generally non-geeky, as you can see here in the list of last nights presentations:</p>
<p>    * Rick Huddle &#8211; Why we love DB Cooper<br />
    * Mike McClure &#8211; Roasting Coffee at Home: It’s easier than you think!<br />
    * Clifton B &#8211; Why Highway Communication Sucks and How We Can Make It Suck Less<br />
    * Michael Weinberg &#8211; Thanksgiving 2.0<br />
    * Jason Duerr &#8211; Pump Up Your Volume: Building a Pirate Radio Station<br />
    * Crystal Beasley &#8211; Ecstatics, Zealots &#038; Mass Hysteria : How we collectively lose our minds<br />
    * Douglas Wolk &#8211; Kant’s “Critique of Aesthetic Judgement”: Drastically Condensed Awesome Version<br />
    * Adam DuVander &#8211; The Donkey Man is not on Facebook<br />
    * Colleen Wainwright &#8211; My bloody epiphany<br />
    * Phil Earnhardt &#8211; Robots Growing Up: The Future of Robotic Movement<br />
    * Marcus Miller &#8211; How to cultivate a wisdom of craft.<br />
    * Lou Alvis &#8211; Human Systems Analysis. What Are People Doing?<br />
    * Curtis C. Chen &#8211; How to Solve Any Puzzle in Less Than 47 Minutes<br />
    * Kelly Jo Horton &#8211; Confessions of a Dating Ninja<br />
    * Brett Stern &#8211; Rural mailboxes<br />
    * Elena Moon &#8211; How to Capture and Eat Your First Roadkill Deer<br />
    * Ward Cunningham &#8211; Becoming Bike Oriented<br />
    * Randal Schwartz &#8211; Karaoke for fun and profit<br />
    * Christian Howes &#8211; Inappropriate terms to use in an American business meeting if you are a brit!<br />
    * Kent Bye &#8211; The Resurgence of Hula Hooping</p>
<p>I showed up early, grabbed myself some pizza and a beer, and took a seat. A lot of laptops were open and a lot of iPhones were glowing. I decided to watch the tweets for <a href="http://twitter.com/#search?q=%23ip7">#ip7</a> and they started flowing in at a steady rate. It kept me entertained until the start of the show. I&#8217;ve actually never been at an event like that and watched the tweets come flowing in live as it was all happening &#8212; knowing that they were all originating from those right around me. I knew that <a href="http://twitter.com/skinny">@skinny</a> was &#8216;absofrakkinterrified&#8217; about giving her talk (she kicked ass by the way). I also knew that another one of the presenters, <a href="http://twitter.com/dropkickdesign">@dropkickdesign</a> was wanting &#8220;Less talky talky more beer poury poury&#8221; in the beer line.</p>
<p>Then it started. There was no intro, no MC, just a clock that started counting down. <a href="http://proposals.igniteportland.com/proposals/401">Rick Huddle</a> took the stage. From then on it was back to back 5 minute presentations, with about 10 seconds in between. It was fast paced. The topics were of all sorts. The crowd was relaxed and fun, and the speakers were all great. </p>
<p>I won&#8217;t go into detail on all the topics here. Some were plain funny, some were downright moving, and others were simply educational. </p>
<p>You can watch the stream <a href="http://www.ustream.tv/recorded/2597943">here</a>.</p>
<p>Thanks to everyone who put Ignite Portland together, and all the volunteers. It was an awesome time!</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Ignite+Portland+7%3A+Geeks+on+non-geeky+things.+http%3A%2F%2Fbit.ly%2F7T2jL8" 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/11/ignite-portland-7-geeks-on-non-geeky-things.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Lita: SQLite Database Administration</title>
		<link>http://macmartine.com/blog/2009/11/lita-sqlite-database-administration.html</link>
		<comments>http://macmartine.com/blog/2009/11/lita-sqlite-database-administration.html#comments</comments>
		<pubDate>Thu, 19 Nov 2009 23:09:40 +0000</pubDate>
		<dc:creator>99miles</dc:creator>
				<category><![CDATA[SQLite]]></category>

		<guid isPermaLink="false">http://macmartine.com/blog/?p=175</guid>
		<description><![CDATA[If you need a good (and free!) SQLite Admin, I&#8217;ve been using Lita, created by David Deraedt, for a bit and it&#8217;s been working well. I must admit I mostly use it just for confirmation that my code did what I expected it to, but it seems pretty solid.]]></description>
			<content:encoded><![CDATA[<p>If you need a good (and free!) SQLite Admin, I&#8217;ve been using <a href="http://www.dehats.com/drupal/?q=node/58">Lita</a>, created by David Deraedt, for a bit and it&#8217;s been working well.<br />
I must admit I mostly use it just for confirmation that my code did what I expected it to, but it seems pretty solid.</p>
<p><img alt="" src="http://www.dehats.com/drupal/files/icon_128_2.png" title="Lita: SQLite Database Administration " class="alignnone" width="128" height="128" /></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Lita%3A+SQLite+Database+Administration+http%3A%2F%2Fbit.ly%2F1tenO5" 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/11/lita-sqlite-database-administration.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Shell script to show/hide hidden files on OS X</title>
		<link>http://macmartine.com/blog/2009/11/shell-script-to-showhide-hidden-files-on-os-x.html</link>
		<comments>http://macmartine.com/blog/2009/11/shell-script-to-showhide-hidden-files-on-os-x.html#comments</comments>
		<pubDate>Thu, 19 Nov 2009 17:15:07 +0000</pubDate>
		<dc:creator>99miles</dc:creator>
				<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://macmartine.com/blog/?p=170</guid>
		<description><![CDATA[If you frequently need to show/hide hidden files on OSX, here&#8217;s what I find is the easiest way so you don&#8217;t have to do a google search every time to remind yourself of the syntax. Create a file called &#8216;showHiddenFiles&#8217; in Terminal, type: chmod +x /path/to/showHiddenFiles Make sure the location is on your path. I [...]]]></description>
			<content:encoded><![CDATA[<p>If you frequently need to show/hide hidden files on OSX, here&#8217;s what I find is the easiest way so you don&#8217;t have to do a google search every time to remind yourself of the syntax.</p>
<p>Create a file called &#8216;showHiddenFiles&#8217;<br />
in Terminal, type:</p>
<p><code><br />
chmod +x /path/to/showHiddenFiles<br />
</code></p>
<p>Make sure the location is on your path. I just use /usr/local/bin since it&#8217;s already on my path.</p>
<p>Edit that file with these contents:</p>
<p><code><br />
#!/bin/sh<br />
defaults write com.apple.finder AppleShowAllFiles $1<br />
killall Finder<br />
</code></p>
<p>Now whenever you want to hide/show hidden files, just launch Terminal and type:</p>
<p>% showHiddenFiles true<br />
&#8211; or &#8211;<br />
% showHiddenFiles false</p>
<p>And don&#8217;t forget you can just type the first few letters (i.e. &#8216;showH&#8217;), then hit TAB and Terminal should auto-complete the file name for you. Then you can just add &#8216;true&#8217; or &#8216;false&#8217;.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Shell+script+to+show%2Fhide+hidden+files+on+OS+X+http%3A%2F%2Fbit.ly%2F3o1wq7" 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/11/shell-script-to-showhide-hidden-files-on-os-x.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Making permanent aliases for Terminal</title>
		<link>http://macmartine.com/blog/2009/11/making-permanent-aliases-for-terminal.html</link>
		<comments>http://macmartine.com/blog/2009/11/making-permanent-aliases-for-terminal.html#comments</comments>
		<pubDate>Thu, 19 Nov 2009 16:14:15 +0000</pubDate>
		<dc:creator>99miles</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Terminal]]></category>

		<guid isPermaLink="false">http://macmartine.com/blog/?p=165</guid>
		<description><![CDATA[OK, so yesterdays post was alright. It got you making an alias for Terminal. But if you tried it you probably noticed that you lost the alias after you quit Terminal. That&#8217;s usually not what you want. Let&#8217;s make it stick around. Assuming you&#8217;re using bash: Launch Terminal % pico ~/.bash_profile Add a line with [...]]]></description>
			<content:encoded><![CDATA[<p>OK, so yesterdays post was alright. It got you making an alias for Terminal. But if you tried it you probably noticed that you lost the alias after you quit Terminal. That&#8217;s usually not what you want. Let&#8217;s make it stick around. </p>
<p>Assuming you&#8217;re using bash:</p>
<p>Launch Terminal<br />
<code><br />
% pico ~/.bash_profile<br />
</code><br />
Add a line with a variable followed by whatever command you what it to perform, such as:<br />
<code><br />
webroot='cd /Volumes/apache/webroot'<br />
</code><br />
CNTRL-X, then press &#8216;y&#8217; to save the file and exit edit mode<br />
now restart bash_profile;<br />
<code><br />
% source ~/.bash_profile<br />
</code><br />
That&#8217;s it!<br />
Now anytime you want you can launch Terminal, simple type % webroot, and you&#8217;ll be taken to &#8216;/Volumes/apache/webroot&#8217;</p>
<p>Now will all the typing this will save you, there&#8217;ll be more time for beer at the end of the day.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Making+permanent+aliases+for+Terminal+http%3A%2F%2Fbit.ly%2F2T4waP" 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/11/making-permanent-aliases-for-terminal.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating aliases in Terminal</title>
		<link>http://macmartine.com/blog/2009/11/creating-aliases-in-terminal.html</link>
		<comments>http://macmartine.com/blog/2009/11/creating-aliases-in-terminal.html#comments</comments>
		<pubDate>Wed, 18 Nov 2009 16:58:47 +0000</pubDate>
		<dc:creator>99miles</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Terminal]]></category>

		<guid isPermaLink="false">http://macmartine.com/blog/?p=160</guid>
		<description><![CDATA[I launch Terminal many times per day, and usually go to one of a handful of directories right off the bat. I just discovered the handiness of creating aliases in Terminal. Let&#8217;s say you often go to /Volumes/development/depot/mainbranch. Let&#8217;s create an alias to that called &#8216;mb&#8217; for &#8216;mainbranch&#8217; (this can be whatever you want, of [...]]]></description>
			<content:encoded><![CDATA[<p>I launch Terminal many times per day, and usually go to one of a handful of directories right off the bat. I just discovered the handiness of creating aliases in Terminal. </p>
<p>Let&#8217;s say you often go to /Volumes/development/depot/mainbranch. Let&#8217;s create an alias to that called &#8216;mb&#8217; for &#8216;mainbranch&#8217; (this can be whatever you want, of course.<br />
Simply launch terminal.<br />
Type: alias mb=&#8217;cd /Volumes/development/depot/mainbranch&#8217;<br />
Done!<br />
Now just type &#8216;mb&#8217; at the command prompt and you&#8217;ll be taken directly to that directory!<br />
Sweet!</p>
<p>Note, you can also do the same to launch applications:<br />
alias tx=‘open /Applications/TextEdit.app/’</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Creating+aliases+in+Terminal+http%3A%2F%2Fbit.ly%2FUXyWF" 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/11/creating-aliases-in-terminal.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe AIR 2 and Flash Player 10.1 Beta Software Available Now</title>
		<link>http://macmartine.com/blog/2009/11/adobe-air-2-and-flash-player-10-1-beta-software-available-now.html</link>
		<comments>http://macmartine.com/blog/2009/11/adobe-air-2-and-flash-player-10-1-beta-software-available-now.html#comments</comments>
		<pubDate>Tue, 17 Nov 2009 16:26:37 +0000</pubDate>
		<dc:creator>99miles</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Beta]]></category>
		<category><![CDATA[Flash Player]]></category>

		<guid isPermaLink="false">http://macmartine.com/blog/?p=158</guid>
		<description><![CDATA[AIR 2 and the 10.1 Beta version of Flash Player are now available on labs. Both now support multi-touch user gestures for those users on touch screens! This means that both your AIR Desktop applications and the applications you create that run within a browser will have this support. You can see Kevin Lynch&#8217;s 2009 [...]]]></description>
			<content:encoded><![CDATA[<p>AIR 2 and the 10.1 Beta version of Flash Player are now available on <a href="http://bit.ly/2sP49Z">labs</a>.<br />
Both now support multi-touch user gestures for those users on touch screens! This means that both your AIR Desktop applications and the applications you create that run within a browser will have this support. You can see Kevin Lynch&#8217;s 2009 MAX demo <a href="http://bit.ly/4jbJEN">here</a>.<br />
In addition to that, Flash Player 10.1 has lots of enhancements and features for mobile devices including screen-orientation, accelerometer, graphics hardware acceleration, and more. You can see a full list <a href="http://labs.adobe.com/technologies/flashplayer10/features.html">here</a>. And a more complete list of new AIR 2 features is <a href="http://blogs.adobe.com/air/2009/10/previewing_adobe_air_2_at_adob.html">here</a>. Enjoy!</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Adobe+AIR+2+and+Flash+Player+10.1+Beta+Software+Available+Now+http%3A%2F%2Fbit.ly%2F3HA2mi" 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/11/adobe-air-2-and-flash-player-10-1-beta-software-available-now.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to loop through properties of a custom object/VO</title>
		<link>http://macmartine.com/blog/2009/11/how-to-loop-through-properties-of-a-custom-objectvo.html</link>
		<comments>http://macmartine.com/blog/2009/11/how-to-loop-through-properties-of-a-custom-objectvo.html#comments</comments>
		<pubDate>Fri, 13 Nov 2009 22:29:46 +0000</pubDate>
		<dc:creator>99miles</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://macmartine.com/blog/?p=150</guid>
		<description><![CDATA[If you just have a plain ol boring object, you can loop through it with a basic for&#8230;in: var myObj:Object = {x:1, y:5}; for (var i:String in myObj) { trace(i + ": " + myObj[i]); } However, if you have a custom value object, that doesn&#8217;t quite work. But what you can do is use [...]]]></description>
			<content:encoded><![CDATA[<p>If you just have a plain ol boring object, you can loop through it with a basic for&#8230;in:</p>
<pre name="code" class="javascript">
var myObj:Object = {x:1, y:5};
for (var i:String in myObj)
{
    trace(i + ": " + myObj[i]);
}
</pre>
<p>However, if you have a custom value object, that doesn&#8217;t quite work. But what you can do is use describeType() to create an XMLList version on your VO.</p>
<pre name="code" class="javascript">

var vo : SearchVO = data.getBody() as SearchVO;
// create an XMLList version of the VO
var varList:XMLList = describeType(vo)..variable;

// loop through the property list
for(var i:int; i < varList.length(); i++){
    // output the property name and value
    trace(varList[i].@name+':'+ vo[varList[i].@name]);
}
</pre>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=How+to+loop+through+properties+of+a+custom+object%2FVO+http%3A%2F%2Fbit.ly%2F1MlKGw" 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/11/how-to-loop-through-properties-of-a-custom-objectvo.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

