<?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>Diego's Rants &#187; Software Development</title>
	<atom:link href="http://blog.massanti.com/category/software-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.massanti.com</link>
	<description>Confessions from a Geek</description>
	<lastBuildDate>Wed, 27 Oct 2010 11:22:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Download Thingy, still working on it but getting closer.</title>
		<link>http://blog.massanti.com/2010/10/27/download-thingy-still-working-on-it/</link>
		<comments>http://blog.massanti.com/2010/10/27/download-thingy-still-working-on-it/#comments</comments>
		<pubDate>Wed, 27 Oct 2010 11:22:32 +0000</pubDate>
		<dc:creator>Diego Massanti</dc:creator>
				<category><![CDATA[Apple / Macintosh]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://blog.massanti.com/?p=1131</guid>
		<description><![CDATA[Some updates to the status of Download Thingy. Even the fact that i dont have a lot of time lately, i&#8217;ve been working on it and I plan to release a prototype version to interested alpha testers soon. What has been done: Completely &#8220;in house&#8221; CoreFoundation based download engine. Queues, downloads and segments are GCD [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-991" title="Download Thingy" src="http://blog.massanti.com/wp-content/uploads/2009/09/Generic-300x300.png" alt="" width="300" height="300" />Some updates to the status of Download Thingy.</p>
<p>Even the fact that i dont have a lot of time lately, i&#8217;ve been working on it and I plan to release a prototype version to interested alpha testers soon.</p>
<p>What has been done:</p>
<ul>
<li>Completely &#8220;in house&#8221; CoreFoundation based download engine.</li>
<li>Queues, downloads and segments are GCD (Grand Central Dispatch) driven now.</li>
<li>No more libCurl.</li>
<li>Custom &#8220;.thingy&#8221; container format for storage and sharing of file downloads (and some other things).</li>
</ul>
<p>Keep an eye to this blog if you are interested to try this application or email me directly at diego (at sign here) massanti.com.</p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.massanti.com/2010/10/27/download-thingy-still-working-on-it/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Updated HE-AAC (aacPlus) reference encoder for Mac OS X</title>
		<link>http://blog.massanti.com/2009/12/07/updated-he-aac-aacplus-reference-encoder-for-mac-os-x/</link>
		<comments>http://blog.massanti.com/2009/12/07/updated-he-aac-aacplus-reference-encoder-for-mac-os-x/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 00:10:55 +0000</pubDate>
		<dc:creator>Diego Massanti</dc:creator>
				<category><![CDATA[Apple / Macintosh]]></category>
		<category><![CDATA[Audio Tech]]></category>
		<category><![CDATA[Computers & Tech]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[aac]]></category>
		<category><![CDATA[aacPlus]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[encoding]]></category>

		<guid isPermaLink="false">http://blog.massanti.com/?p=1038</guid>
		<description><![CDATA[This is an updated build of the 3GPP group AAC Plus (or HE-AAC) reference audio encoder for Mac OS X 10.5 &#8220;Leopard&#8221; or newer. You can get the binary build (3 way universal binary with PowerPC, i386 and x86_64 architectures) here: enhAacPlusEnc for Mac OS X Leopard, Binary build with 3 architectures. Xcode project (3.2 [...]]]></description>
			<content:encoded><![CDATA[<p>This is an updated build of the 3GPP group AAC Plus (or HE-AAC) reference audio encoder for Mac OS X 10.5 &#8220;Leopard&#8221; or newer.</p>
<p>You can get the binary build (3 way universal binary with PowerPC, i386 and x86_64 architectures) here:</p>
<p><a href="http://blog.massanti.com/wp-content/uploads/2009/12/enhAacPlusEnc.zip">enhAacPlusEnc for Mac OS X Leopard, Binary build with 3 architectures.</a></p>
<p>Xcode project (3.2 or newer) can be downloaded here:</p>
<p><a href="http://blog.massanti.com/wp-content/uploads/2009/12/enhAacPlusEnc1.zip">enhAacPlusEnc Xcode project (3.2 or newer)</a></p>
<p>For more info visit the original post <a href="/2007/09/30/he-aac-plus-encoder-mac-universal-binary/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.massanti.com/2009/12/07/updated-he-aac-aacplus-reference-encoder-for-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Download Thingy, it slowly starts to make sense.</title>
		<link>http://blog.massanti.com/2009/09/22/download-thingy-it-slowly-starts-to-make-sense/</link>
		<comments>http://blog.massanti.com/2009/09/22/download-thingy-it-slowly-starts-to-make-sense/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 06:08:42 +0000</pubDate>
		<dc:creator>Diego Massanti</dc:creator>
				<category><![CDATA[Apple / Macintosh]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Download Thingy]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://blog.massanti.com/?p=1014</guid>
		<description><![CDATA[I have been working for the past days in the foundation for a new Download Manager that I&#8217;m writing for the Mac platform, and this is just an &#8220;status quo&#8221; about how things are evolving. What is done so far. A certainly modern multi-threaded Cocoa Framework implementation around libCurl&#8216;s C API, which allows me to [...]]]></description>
			<content:encoded><![CDATA[<p>I have been working for the past days in the foundation for a new Download Manager that I&#8217;m writing for the Mac platform, and this is just an &#8220;status quo&#8221; about how things are evolving.</p>
<h3>What is done so far.</h3>
<ul>
<li>A certainly modern multi-threaded Cocoa Framework implementation around <a href="http://curl.haxx.se/libcurl/">libCurl</a>&#8216;s C API, which allows me to get my hands on the whole power of Curl, but without leaving the beauty of Objective-C and the Cocoa API&#8217;s at any moment.</li>
<li style="text-align: left;">A pretty basic prorotype kind of UI which allows simple segmented download of files for the time being.
<p><div id="attachment_1015" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.massanti.com/wp-content/uploads/2009/09/Screen-shot-2009-09-22-at-2.50.34-AM.png" rel="shadowbox[post-1014];player=img;"><img class="size-medium wp-image-1015" title="Download Thingy, the prototype UI" src="http://blog.massanti.com/wp-content/uploads/2009/09/Screen-shot-2009-09-22-at-2.50.34-AM-300x205.png" alt="Download Thingy, the prototype UI" width="300" height="205" /></a><p class="wp-caption-text">Download Thingy, the prototype UI</p></div></li>
<li style="text-align: left;">A custom (and open, XML, standards based) file format baptized (you guessed) &#8220;.thingy&#8221; which takes care of storing partial download segments, some basic (for now) binary and redundancy checking, and of course, the ability to reconstruct itself into the original file.
<p><div id="attachment_1016" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.massanti.com/wp-content/uploads/2009/09/Screen-shot-2009-09-22-at-2.52.30-AM.png" rel="shadowbox[post-1014];player=img;"><img class="size-medium wp-image-1016" title="A standard .thingy container." src="http://blog.massanti.com/wp-content/uploads/2009/09/Screen-shot-2009-09-22-at-2.52.30-AM-300x200.png" alt="A standard .thingy container." width="300" height="200" /></a><p class="wp-caption-text">A standard .thingy container.</p></div></li>
<li style="text-align: left;">Main Launch Services integartion is partially done too.</li>
<li style="text-align: left;">Some basic implementation of automatic mirror discovering.</li>
</ul>
<h3>What needs to be done.</h3>
<ul>
<li>I have to write the foundation for a proper queue management system.</li>
<li>Network Usage / Bandwidth Limiting logics are in the &#8220;to do&#8221; list too.</li>
<li>A proper User Interface.</li>
<li>A public alpha version with basic usability that people can start to use and report so i can accelerate the development based on actual user&#8217;s requests.</li>
<li>A Safari / WebKit plugin.</li>
</ul>
<p>So far, this is looking pretty nice and i think it will become a pretty interesting utility for the Mac community.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.massanti.com/2009/09/22/download-thingy-it-slowly-starts-to-make-sense/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Automatic build numbering increase with xCode</title>
		<link>http://blog.massanti.com/2009/09/20/automatic-build-numbering-increase-with-xcode/</link>
		<comments>http://blog.massanti.com/2009/09/20/automatic-build-numbering-increase-with-xcode/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 04:01:34 +0000</pubDate>
		<dc:creator>Diego Massanti</dc:creator>
				<category><![CDATA[Apple / Macintosh]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[xCode]]></category>

		<guid isPermaLink="false">http://blog.massanti.com/?p=997</guid>
		<description><![CDATA[I had this problem some days ago where i wanted to automatically increase the build number of my Application in xCode, every time that i actually made a new build. xCode comes with a tool called agvtool which is supposed to fill this gap, but the main problem with this is that it needs the [...]]]></description>
			<content:encoded><![CDATA[<p>I had this problem some days ago where i wanted to automatically increase the build number of my Application in xCode, every time that i actually made a new build. xCode comes with a tool called agvtool which is supposed to fill this gap, but the main problem with this is that it needs the project to be actually closed, for some reason that i certainly ignore.</p>
<p>After some searches, i finished at <a href="http://chanson.livejournal.com/125568.html">this interesting post by Chris Hanson</a>, but this was not exactly what i wanted to do, again, i wanted a simple approach to increase the build number with every build.</p>
<p>So this is what i did.</p>
<p>First I created a new configuration settings file in xCode, as shown below.</p>
<div id="attachment_998" class="wp-caption aligncenter" style="width: 310px"><a rel="lightbox" href="http://blog.massanti.com/wp-content/uploads/2009/09/Screen-shot-2009-09-20-at-12.20.54-AM.png"><img class="size-medium wp-image-998 " title="Creating a new Configuration Settings File in xCode" src="http://blog.massanti.com/wp-content/uploads/2009/09/Screen-shot-2009-09-20-at-12.20.54-AM-300x247.png" alt="Creating a new Configuration Settings File in xCode" width="300" height="247" /></a><p class="wp-caption-text">Creating a new Configuration Settings File in xCode</p></div>
<p>After this, i ended up with an empty configuration file, so i added the following inside it:</p>
<pre>CURRENT_PROJECT_VERSION = 1</pre>
<p>xCode uses this variable to store your application&#8217;s build number, so we are going to tell it to use this file in order to get the value for the CURRENT_PROJECT_VERSION variable.</p>
<p>Go to your target&#8217;s properties, be sure to select All configurations and All Settings, then base your target&#8217;s config in your newly created version.xcconfig file, and set the version variable to our new version variable as shown below:</p>
<div id="attachment_999" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.massanti.com/wp-content/uploads/2009/09/Screen-shot-2009-09-20-at-12.26.49-AM.png" rel="shadowbox[post-997];player=img;"><img class="size-medium wp-image-999" title="Configuring the Target to use the new variable in the version.xcconfig file." src="http://blog.massanti.com/wp-content/uploads/2009/09/Screen-shot-2009-09-20-at-12.26.49-AM-300x272.png" alt="Configuring the Target to use the new variable in the version.xcconfig file." width="300" height="272" /></a><p class="wp-caption-text">Configuring the Target to use the new variable in the version.xcconfig file.</p></div>
<p>After all this is done, all you have to do is create a new &#8220;Run Script&#8221; build phase, and place the following inside it:</p>
<pre class="brush: plain; title: ;">
NEW_VERSION=`cat &quot;$SRCROOT/version.xcconfig&quot; | awk '/CURRENT_PROJECT_VERSION/ { print $3 + 1 }'`
sed -i '' &quot;s/CURRENT_PROJECT_VERSION = .*/CURRENT_PROJECT_VERSION = $NEW_VERSION/&quot; &quot;$SRCROOT/version.xcconfig&quot;
CURRENT_PROJECT_VERSION=$NEW_VERSION
touch &quot;$SRCROOT/version.xcconfig&quot;
</pre>
<p>Obviously, if you changed the file or variable names, you will have to adapt the script as needed.<br />
Now, every time you build the app, the build number is automatically increased by one, and included in your application&#8217;s plist file as shown below:</p>
<div id="attachment_1002" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.massanti.com/wp-content/uploads/2009/09/Screen-shot-2009-09-20-at-12.42.27-AM.png" rel="shadowbox[post-997];player=img;"><img class="size-medium wp-image-1002" title="Build number being shown in the built app." src="http://blog.massanti.com/wp-content/uploads/2009/09/Screen-shot-2009-09-20-at-12.42.27-AM-300x219.png" alt="Build number being shown in the built app." width="300" height="219" /></a><p class="wp-caption-text">Build number being shown in the built app.</p></div>
<p>A whole thanks goes to the guys at #macdev on freenode Diabolik and KonaBlend who helped with the bash scripting!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.massanti.com/2009/09/20/automatic-build-numbering-increase-with-xcode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

