<?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"
	>

<channel>
	<title>Unparsed</title>
	<atom:link href="http://blogs.macobserver.com/unparsed/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.macobserver.com/unparsed</link>
	<description>Unfiltered Input from a Mac Geek</description>
	<pubDate>Fri, 04 Jul 2008 01:49:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>AppleScript: How to Identify Files in Progress</title>
		<link>http://blogs.macobserver.com/unparsed/2008/07/03/applescript-how-to-identify-files-in-progress/</link>
		<comments>http://blogs.macobserver.com/unparsed/2008/07/03/applescript-how-to-identify-files-in-progress/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 01:46:29 +0000</pubDate>
		<dc:creator>Stephen Swift</dc:creator>
		
		<category><![CDATA[Apple]]></category>

		<category><![CDATA[applescript]]></category>

		<category><![CDATA[finder]]></category>

		<category><![CDATA[files in progress]]></category>

		<guid isPermaLink="false">http://blogs.macobserver.com/unparsed/?p=22</guid>
		<description><![CDATA[I still get an occasional AppleScript question from people who probably found my old column.  A few weeks ago Paul had a question about copying files.  He works for a TV station, and he is constantly capturing video using Final Cut Pro and dumping it into a scratch directory.  When the transfer is complete, he [...]]]></description>
			<content:encoded><![CDATA[<p>I still get an occasional AppleScript question from people who probably found my old column.  A few weeks ago Paul had a question about copying files.  He works for a TV station, and he is constantly capturing video using Final Cut Pro and dumping it into a scratch directory.  When the transfer is complete, he wants it to automatically move to a work folder.  The problem is there&#8217;s no obvious or elegant solution to tell if a file transfer is in progress, such as in a download, copying a file, or like in this case from a video camera.</p>
<p>After a couple of Google searches, I found <a title="Mac OS X Hints Thread" href="http://forums.macosxhints.com/archive/index.php/t-15477.html" target="_blank">this promising bit of code</a> using fstat: <br />
<span style="font-family: -webkit-monospace">find /Volumes -type f -name &#8216;*.[pP][sS][dD]&#8216; \! -exec sh -c &#8220;fstat {}|grep -q {}&#8221; \; -print | while read FN</span></p>
<p>Unfortunately, I couldn&#8217;t get it to work under my install of Tiger.  If you know of any unix commands or scripts that could identify a state of a file, please share them in the comments.</p>
<p>A pure AppleScript approach would be to use an idle handler to record the size of the item in the item&#8217;s comment field.  Every time the script runs, it would compare the recorded size to the current size, and perform an action if the size matched.  It&#8217;s a bit of a hack to rely on the comment field, especially if you&#8217;re concerned about deleting comments that may or may not already be there.  Here&#8217;s a crude script mock-up to help you get started:</p>
<p><code>on idle<br />
tell application "Finder"<br />
set source_folder to path to desktop folder as alias<br />
set dest_folder to path to home folder as alias<br />
set the item_list to list folder source_folder without invisibles<br />
set source_folder to source_folder as string<br />
end tell<br />
repeat with i from 1 to number of items in the item_list<br />
set this_item to item i of the item_list<br />
set this_item to (source_folder &amp; this_item) as alias<br />
set is_folder to folder of (info for this_item)</code></p>
<p><code> </code></p>
<p><code> if not is_folder then<br />
tell application "Finder"<br />
set FileComment to comment of this_item<br />
set FileSize to size of this_item<br />
end tell<br />
try<br />
set FileComment_num to FileComment as number<br />
on error<br />
set FileComment_num to 0<br />
end try<br />
if FileComment_num &lt; FileSize then<br />
tell application "Finder" to set comment of this_item to FileSize<br />
else<br />
tell application "Finder" to move this_item to dest_folder<br />
end if<br />
end if<br />
end repeat<br />
return 60<br />
end idle</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.macobserver.com/unparsed/2008/07/03/applescript-how-to-identify-files-in-progress/feed/</wfw:commentRss>
		</item>
		<item>
		<title>I found those missing iPhones!</title>
		<link>http://blogs.macobserver.com/unparsed/2008/05/15/i-found-those-missing-iphones/</link>
		<comments>http://blogs.macobserver.com/unparsed/2008/05/15/i-found-those-missing-iphones/#comments</comments>
		<pubDate>Fri, 16 May 2008 02:42:52 +0000</pubDate>
		<dc:creator>Stephen Swift</dc:creator>
		
		<category><![CDATA[Apple]]></category>

		<category><![CDATA[boston]]></category>

		<category><![CDATA[iPhone]]></category>

		<category><![CDATA[retail]]></category>

		<category><![CDATA[store]]></category>

		<guid isPermaLink="false">http://blogs.macobserver.com/unparsed/2008/05/15/i-found-those-missing-iphones/</guid>
		<description><![CDATA[At the grand opening of the Boston Apple store on Boylston St, there was only a five iPhone per person limit.  Joking with an Apple employee that they must have raided the other local Apple and AT&#38;T stores to stock enough, he replied, &#8220;Well, I don&#8217;t know anything about that!&#8221;  He did say [...]]]></description>
			<content:encoded><![CDATA[<p>At the grand opening of the Boston Apple store on Boylston St, there was only a five iPhone per person limit.  Joking with an Apple employee that they must have raided the other local Apple and AT&amp;T stores to stock enough, he replied, &#8220;Well, I don&#8217;t know anything about that!&#8221;  He did say that they only had the 16GB iPhone available.</p>
<p>Turnout for the new store was massive, with lines spanning blocks.  I arrived around 5:30pm and was able to get into the store a little after 7pm.  When I left, the lines were still as long as when I first arrived.  People were excited to see the biggest Apple store yet, although most excited were the store employees who cheered and high fived as people entered.  They were also giving out iPod socks and T-shirts that looked like the green monster style promo Apple had up before the opening.</p>
<p>Every time I&#8217;ve been to the Apple store at the CambridgeSide mall, it&#8217;s always been packed to the point where browsing the store hasn&#8217;t always been fun.  The new spacious store in such a convenient downtown location will be a boon to both Apple fans  and the Apple curious alike.  I managed to snap a few pictures during the opening.  My apologies for the poor quality, I stopped by on my commute home from work and only had my cellphone on me.</p>
<p align="center"><a href="http://blogs.macobserver.com/unparsed/2008/05/15/i-found-those-missing-iphones/before-opening/" rel="attachment wp-att-17" title="Before Opening"><img src="http://blogs.macobserver.com/unparsed/files/2008/05/picture14.thumbnail.jpg" alt="Before Opening" /></a>   <a href="http://blogs.macobserver.com/unparsed/2008/05/15/i-found-those-missing-iphones/long-lines/" rel="attachment wp-att-15" title="Long lines"><img src="http://blogs.macobserver.com/unparsed/files/2008/05/picture12.thumbnail.jpg" alt="Long lines" /></a>  <a href="http://blogs.macobserver.com/unparsed/2008/05/15/i-found-those-missing-iphones/iconic-apple/" rel="attachment wp-att-16" title="Iconic Apple"><img src="http://blogs.macobserver.com/unparsed/files/2008/05/picture13.thumbnail.jpg" alt="Iconic Apple" /> </a> <a href="http://blogs.macobserver.com/unparsed/2008/05/15/i-found-those-missing-iphones/iconic-apple/" rel="attachment wp-att-16" title="Iconic Apple"><br />
</a></p>
<p align="center">&nbsp;</p>
<p align="center"><a href="http://blogs.macobserver.com/unparsed/2008/05/15/i-found-those-missing-iphones/apple-employees/" rel="attachment wp-att-14" title="Apple Employees"><img src="http://blogs.macobserver.com/unparsed/files/2008/05/picture11.thumbnail.jpg" alt="Apple Employees" /></a>  <a href="http://blogs.macobserver.com/unparsed/2008/05/15/i-found-those-missing-iphones/third-floor/" rel="attachment wp-att-12" title="Third Floor"><img src="http://blogs.macobserver.com/unparsed/files/2008/05/picture8.thumbnail.jpg" alt="Third Floor" /></a>  <a href="http://blogs.macobserver.com/unparsed/2008/05/15/i-found-those-missing-iphones/inside-looking-out/" rel="attachment wp-att-13" title="Inside looking Out"><img src="http://blogs.macobserver.com/unparsed/files/2008/05/picture10.thumbnail.jpg" alt="Inside looking Out" /></a></p>
<p align="center"><a href="http://blogs.macobserver.com/unparsed/2008/05/15/i-found-those-missing-iphones/apple-boston-t-shirt/" rel="attachment wp-att-18" title="Apple Boston T-Shirt"><img src="http://blogs.macobserver.com/unparsed/files/2008/05/boston_apple_shirt.thumbnail.jpg" alt="Apple Boston T-Shirt" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.macobserver.com/unparsed/2008/05/15/i-found-those-missing-iphones/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Open Source, a legal Jailbreaking?</title>
		<link>http://blogs.macobserver.com/unparsed/2008/03/07/open-source-a-legal-jailbreaking/</link>
		<comments>http://blogs.macobserver.com/unparsed/2008/03/07/open-source-a-legal-jailbreaking/#comments</comments>
		<pubDate>Fri, 07 Mar 2008 22:56:25 +0000</pubDate>
		<dc:creator>Stephen Swift</dc:creator>
		
		<category><![CDATA[Apple]]></category>

		<category><![CDATA[iPhone]]></category>

		<category><![CDATA[iPhone Development]]></category>

		<category><![CDATA[iphone sdk]]></category>

		<category><![CDATA[open source]]></category>

		<category><![CDATA[unsupported software]]></category>

		<guid isPermaLink="false">http://blogs.macobserver.com/unparsed/2008/03/07/open-source-a-legal-jailbreaking/</guid>
		<description><![CDATA[Yesterday&#8217;s iPhone SDK gave me one more reason to buy an iPhone when my current phone&#8217;s contract expires.  I love discovering new software, and soon this rewarding experience will be part of the iPhone too.  Developer reactions regarding the SDK are very positive overall, and it&#8217;s clear people are excited to begin working [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday&#8217;s iPhone SDK gave me one more reason to buy an iPhone when my current phone&#8217;s contract expires.  I love discovering new software, and soon this rewarding experience will be part of the iPhone too.  Developer reactions regarding the SDK are very positive overall, and it&#8217;s clear people are excited to begin working on the next cool iPhone app.  Granted, many questions remain unanswered, but I don&#8217;t think that&#8217;s necessarily a bad thing.  Between Apple&#8217;s Q&amp;A and the Developer Connection, Apple has provided a solid starting point that appears reasonable for a majority of developers.</p>
<p>Most of the questions unanswered relate to licensing and distribution.  Right now the programming process is much more important, giving developers time to experiment with the API instead of worrying about their distribution model.  I&#8217;m sure some of these developers will share their idea of a perfect distribution model, and hopefully Apple will take some of these ideas into consideration.  Instead of announcing a complete solution that might not work for everyone, Apple has laid out the basics to get people excited while keeping possibilities open for the numerous &#8220;what ifs&#8221; people are coming up with.</p>
<p>As far as technical &#8220;what ifs&#8221; go, some of the main ones are:</p>
<ul>
<li>Will software need to operate differently when running on EDGE versus Wifi?</li>
<li>How in-depth will Apple review your software, and will Apple approve products competing with its services?</li>
<li>Will 3rd party software have access to the iPhone UNIX subsystem?</li>
</ul>
<p>There will certainly be software written that Apple won&#8217;t approve.  We already know functions not included in the API, the file system out of the application&#8217;s scope, and the dock connector are out.  But what&#8217;s to stop the developer from publishing this &#8220;forbidden&#8221; code?  Users who wanted this same unapproved feature could download the source, compile, and install the software themselves.  This has some obvious limitations:</p>
<ul>
<li>While the SDK is free, it costs $99 to test software on the iPhone (versus the iPhone simulator).</li>
<li>Apple may require certificates even for apps in development, thus only allowing signed applications to be tested on the iPhone.</li>
<li>Presumably, these Open Source projects are in some way using unsupported functionality, which could easily break in future iPhone updates.</li>
<li>Users who don&#8217;t want to bother with compiling code will be disappointed.</li>
<li>Would users be willing to pay for source code, or will developers be interested in releasing complex and unsupported functionality freely?</li>
</ul>
<p>For the more ambitious user who has tinkered around with XCode, the ability to compile and install unsupported software for personal use is very appealing.  While jail breaking violated terms of use, there doesn&#8217;t appear to be any legal problems in developing unsupported software.  Apple won&#8217;t let you distribute the finished application to the masses, but it may be possible for other people to compile your source code on their iPhones.  This is a good thing for both iPhone users and the Open Source community.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.macobserver.com/unparsed/2008/03/07/open-source-a-legal-jailbreaking/feed/</wfw:commentRss>
		</item>
		<item>
		<title>So long, and thanks for all the Lays!</title>
		<link>http://blogs.macobserver.com/unparsed/2008/01/28/so-long-and-thanks-for-all-the-lays/</link>
		<comments>http://blogs.macobserver.com/unparsed/2008/01/28/so-long-and-thanks-for-all-the-lays/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 17:26:43 +0000</pubDate>
		<dc:creator>Stephen Swift</dc:creator>
		
		<category><![CDATA[Apple]]></category>

		<category><![CDATA[AtAT]]></category>

		<category><![CDATA[CARS]]></category>

		<category><![CDATA[Fake Steve]]></category>

		<category><![CDATA[Humor]]></category>

		<guid isPermaLink="false">http://blogs.macobserver.com/unparsed/2008/01/28/so-long-and-thanks-for-all-the-lays/</guid>
		<description><![CDATA[Word in the universe is that the benign floating energy ballâ€”the power behind Crazy Apple Rumorsâ€”has up and left&#8230; just floated away.  What does this mean for the site?  It&#8217;ll probably go on hiatus, possibly even the dreaded Indefinite Suspension!
Longtime Mac humorists will remember As the Apple Turns (AtAT) too was fated by [...]]]></description>
			<content:encoded><![CDATA[<p>Word in the universe is that the benign floating energy ballâ€”the power behind <a href="http://www.crazyapplerumors.com" title="Crazy Apple Rumors Site">Crazy Apple Rumors</a>â€”has up and left&#8230; just floated away.  What does this mean for the site?  It&#8217;ll probably go on hiatus, possibly even the dreaded <em>Indefinite Suspension!</em></p>
<p>Longtime Mac humorists will remember <a href="http://appleturns.com" title="As the Apple Turns">As the Apple Turns</a> (AtAT) too was fated by the<em> </em>Indefinite Suspension (also known as raising a child)<em>.</em>  There the site sits, looking back at us from 2005 with its Classic interface.  It knows of no iPhone rebate or backdating scandal.</p>
<p>AtAT is of a different era where calls of Apple&#8217;s demise and doom were an everyday staple.  Will Apple be bought out?  Can Apple beat the Wall Street analysts?  It was all great fodder just calling out to be made fun of.   CARS was born out of the rumor site heyday.  There was a new rumor site popping up each week.  ThinkSecret was practically posting leaked press releases from Apple.  Perhaps The Entity realized, with ThinkSecret closing its doors, it was time for CARS to do the same.  Will humans ever understand these crazy energy beings?</p>
<p>It&#8217;s up to you <a href="http://fakesteve.blogspot.com" title="Fake Steve Jobs' Blog">Fake Steve</a>, now more than ever, to give the Mac faithful their daily dose of comedy.  As the <a href="http://blogs.cnet.com/macalope" title="Macalope">Macalope</a> can painfully tell you, analysts believe Apple is controlled by every whimsy of The All Mighty Jobs.  Fake Steve, we need to know what you have in store for the entire future of the Apple brand.</p>
<p>Will these sites also have to fight the Indefinite Suspension one day?  What new satire or comic will come along to take there place?  In the meantime, if you are an energy being looking to invest in a small but growing Apple Rumors Site, please send rÃ©sumÃ© to energybeingsearchcommittee@crazyapplerumors.com.  A strong passion for sexbots and experience with cyber-apocalypses a plus.  Perks: Silver Cloud Inn, meals by Honoki of Roppongi, Tokyo.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.macobserver.com/unparsed/2008/01/28/so-long-and-thanks-for-all-the-lays/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Welcome!</title>
		<link>http://blogs.macobserver.com/unparsed/2007/11/05/welcome/</link>
		<comments>http://blogs.macobserver.com/unparsed/2007/11/05/welcome/#comments</comments>
		<pubDate>Tue, 06 Nov 2007 03:58:04 +0000</pubDate>
		<dc:creator>Stephen Swift</dc:creator>
		
		<category><![CDATA[Apple]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.macobserver.com/unparsed/2007/11/05/welcome/</guid>
		<description><![CDATA[Welcome to Unparsed, a blog with a bit of a geeky slant that might not always contain the most polished prose.~Stephen Swift,Contributing Editor/Web Developer
Â Â P.S. I&#8217;m ecstatic to have Blogs at TMO. We&#8217;re working to get these blogs publishing quicker than you can refresh the page (we enjoy ridiculously insane goals). The next step is to [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to Unparsed, a blog with a bit of a geeky slant that might not always contain the most polished prose.<br />~Stephen Swift,<br />Contributing Editor/Web Developer</p>
<p>Â Â P.S. I&#8217;m ecstatic to have Blogs at TMO. We&#8217;re working to get these blogs publishing quicker than you can refresh the page (we enjoy ridiculously insane goals). The next step is to merge the comments with our forums so you don&#8217;t have to register twice. If you have other suggestions to make these Blogs rockin&#8217;, I&#8217;d love to hear them.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.macobserver.com/unparsed/2007/11/05/welcome/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
