<?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>Mozketo &#187; Uncategorized</title>
	<atom:link href="http://mozketo.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://mozketo.com</link>
	<description>Now a dev diary</description>
	<lastBuildDate>Thu, 25 Mar 2010 09:17:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Launch at Login Controller for your Mac Cocoa App</title>
		<link>http://mozketo.com/launch-at-login-for-your-mac-cocoa-app/</link>
		<comments>http://mozketo.com/launch-at-login-for-your-mac-cocoa-app/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 09:15:34 +0000</pubDate>
		<dc:creator>Mozketo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mozketo.com/?p=377</guid>
		<description><![CDATA[Ever needed your Cocoa/Objective-C application to Launch at Login? And also have your app appear in your users System Preferences > Accounts > Login Items list? Want this integration to be super-mega-piss-easy?
Well now you can.
We&#8217;re going to wrap LSSharedFileList to get our App to start at login &#8211; a Cocoa solution &#8211; as opposed to [...]]]></description>
			<content:encoded><![CDATA[<p>Ever needed your Cocoa/Objective-C application to Launch at Login? And also have your app appear in your users System Preferences > Accounts > Login Items list? Want this integration to be super-mega-piss-easy?</p>
<p>Well now you can.</p>
<p>We&#8217;re going to wrap LSSharedFileList to get our App to start at login &#8211; a Cocoa solution &#8211; as opposed to other solutions that use Carbon or having to edit XML system pref files.</p>
<p>Take a look at <a href="http://github.com/Mozketo/LaunchAtLoginController">Github &#8211; Launch at Login</a> for the source. Don&#8217;t forget to look at the readme for assistance for implementation.</p>
<p>Basically copy the LaunchAtLoginController.h/.m files into your project then either you can implement with Code or with Interface Builder.</p>
<h2>Code</h2>
<p><em>Will app launch at login?</em></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p377code3'); return false;">View Code</a> OBJC</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p3773"><td class="code" id="p377code3"><pre class="objc" style="font-family:monospace;">LaunchAtLoginController <span style="color: #002200;">*</span>launchController <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span>LaunchAtLoginController alloc<span style="color: #002200;">&#93;</span> init<span style="color: #002200;">&#93;</span>;
<span style="color: #a61390;">BOOL</span> launch <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span>launchController launchAtLogin<span style="color: #002200;">&#93;</span>;
<span style="color: #002200;">&#91;</span>launchController release<span style="color: #002200;">&#93;</span>;</pre></td></tr></table></div>

<p><em>Set launch at login state.</em></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p377code4'); return false;">View Code</a> OBJC</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p3774"><td class="code" id="p377code4"><pre class="objc" style="font-family:monospace;">LaunchAtLoginController <span style="color: #002200;">*</span>launchController <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span>LaunchAtLoginController alloc<span style="color: #002200;">&#93;</span> init<span style="color: #002200;">&#93;</span>;
<span style="color: #002200;">&#91;</span>launchController setLaunchAtLogin<span style="color: #002200;">:</span><span style="color: #a61390;">YES</span><span style="color: #002200;">&#93;</span>;
<span style="color: #002200;">&#91;</span>launchController release<span style="color: #002200;">&#93;</span>;</pre></td></tr></table></div>

<h2>IB</h2>
<ul>
<li>Open Interface Builder</li>
<li>Place a NSObject (the blue box) into the nib window</li>
<li>From the Inspector &#8211; Identity Tab (Cmd+6) set the Class to LaunchAtLoginController</li>
<li>Place a Checkbox on your Window/View</li>
<li>From the Inspector &#8211; Bindings Tab (Cmd+4) unroll the > Value item</li>
<li>Bind to Launch at Login Controller</li>
<li>Model Key Path: launchAtLogin</li>
</ul>
<p>Easy right?</p>
<p>So what are you waiting for? Grab the code from <a href="http://github.com/Mozketo/LaunchAtLoginController">Github &#8211; Launch at Login</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mozketo.com/launch-at-login-for-your-mac-cocoa-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPad User-Agent String</title>
		<link>http://mozketo.com/ipad-user-agent-string/</link>
		<comments>http://mozketo.com/ipad-user-agent-string/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 06:18:33 +0000</pubDate>
		<dc:creator>Mozketo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mozketo.com/?p=357</guid>
		<description><![CDATA[At least just for my own notes here&#8217;s some iPad/iPhone user-agent string:
iPad 3.2 beta 2 (7B320c)

?View Code TEXTmozilla/5.0 (ipad; u; cpu os 3_2 like mac os x; en-us) applewebkit/531.21.10 (khtml, like gecko) version/4.0.4 mobile/7b320c safari/531.21.10

iPhone 3.1.3 (7E13) &#8211; Simulator

?View Code TEXTmozilla/5.0 (iphone simulator; u; cpu iphone os 3_1_3 like mac os x; en-us) applewebkit/528.18 (khtml, [...]]]></description>
			<content:encoded><![CDATA[<p>At least just for my own notes here&#8217;s some iPad/iPhone user-agent string:</p>
<p><strong>iPad 3.2 beta 2 (7B320c)</strong></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p357code7'); return false;">View Code</a> TEXT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p3577"><td class="code" id="p357code7"><pre class="text" style="font-family:monospace;">mozilla/5.0 (ipad; u; cpu os 3_2 like mac os x; en-us) applewebkit/531.21.10 (khtml, like gecko) version/4.0.4 mobile/7b320c safari/531.21.10</pre></td></tr></table></div>

<p><strong>iPhone 3.1.3 (7E13) &#8211; Simulator</strong></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p357code8'); return false;">View Code</a> TEXT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p3578"><td class="code" id="p357code8"><pre class="text" style="font-family:monospace;">mozilla/5.0 (iphone simulator; u; cpu iphone os 3_1_3 like mac os x; en-us) applewebkit/528.18 (khtml, like gecko) version/4.0 mobile/7e18 safari/528.16</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://mozketo.com/ipad-user-agent-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BlackBerry and their Video Playback Capabilities</title>
		<link>http://mozketo.com/blackberry-and-their-video-playback-capabilities/</link>
		<comments>http://mozketo.com/blackberry-and-their-video-playback-capabilities/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 04:11:43 +0000</pubDate>
		<dc:creator>Mozketo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mozketo.com/?p=319</guid>
		<description><![CDATA[Here&#8217;s a list of BlackBerry Smartphones, their model, name, screen resolution and their video playback capabilities.
H.264 notes
It&#8217;s often difficult to determine the specific H.264 profiles that a BlackBerry can support, such as what&#8217;s the max bit-rate the device can handle? Looking at the specification pages for each model can assist; such as Bold 9700 specs
It&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a list of BlackBerry Smartphones, their model, name, screen resolution and their video playback capabilities.</p>
<h3>H.264 notes</h3>
<p>It&#8217;s often difficult to determine the specific H.264 profiles that a BlackBerry can support, such as what&#8217;s the max bit-rate the device can handle? Looking at the specification pages for each model can assist; such as <a href="http://worldwide.blackberry.com/blackberrybold9700/bold_specifications.jsp">Bold 9700 specs</a></p>
<p>It&#8217;s a pretty safe bet to encode for baseline profile for a video, otherwise you might see a blank screen when you try and play it back. Take a look <a href="http://mozketo.com/using-ffmpeg-for-blackberry-bold-playback/">here</a> for more on ffmpeg encoding for BlackBerry.</p>
<h3>BlackBerry Models and capabilities</h3>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="165" valign="top"><strong>Blackberry®  Model</strong></td>
<td width="111" valign="top"><strong>Resolution</strong></td>
<td width="132" valign="top"></td>
<td width="160" valign="top"></td>
</tr>
<tr>
<td width="165" valign="top">BlackBerry 8100</td>
<td width="111" valign="top">240&#215;260</td>
<td width="132" valign="top">MPEG4</td>
<td width="160" valign="top">Pearl</td>
</tr>
<tr>
<td width="165" valign="top">BlackBerry 8110</td>
<td width="111" valign="top"></td>
<td width="132" valign="top"></td>
<td width="160" valign="top"></td>
</tr>
<tr>
<td width="165" valign="top">BlackBerry 8120</td>
<td width="111" valign="top"></td>
<td width="132" valign="top"></td>
<td width="160" valign="top"></td>
</tr>
<tr>
<td width="165" valign="top">BlackBerry 8130</td>
<td width="111" valign="top"></td>
<td width="132" valign="top"></td>
<td width="160" valign="top"></td>
</tr>
<tr>
<td width="165" valign="top">BlackBerry 8220</td>
<td width="111" valign="top">240&#215;320</td>
<td width="132" valign="top">MPEG4</td>
<td width="160" valign="top">Pearl Flip</td>
</tr>
<tr>
<td width="165" valign="top">BlackBerry 8230</td>
<td width="111" valign="top"></td>
<td width="132" valign="top"></td>
<td width="160" valign="top"></td>
</tr>
<tr>
<td width="165" valign="top">BlackBerry 8300</td>
<td width="111" valign="top">320&#215;240</td>
<td width="132" valign="top">MPEG4</td>
<td width="160" valign="top">Curve</td>
</tr>
<tr>
<td width="165" valign="top">BlackBerry 8310</td>
<td width="111" valign="top"></td>
<td width="132" valign="top"></td>
<td width="160" valign="top"></td>
</tr>
<tr>
<td width="165" valign="top">BlackBerry 8320</td>
<td width="111" valign="top"></td>
<td width="132" valign="top"></td>
<td width="160" valign="top"></td>
</tr>
<tr>
<td width="165" valign="top">BlackBerry 8330</td>
<td width="111" valign="top"></td>
<td width="132" valign="top"></td>
<td width="160" valign="top"></td>
</tr>
<tr>
<td width="165" valign="top">BlackBerry 8350i</td>
<td width="111" valign="top"></td>
<td width="132" valign="top"></td>
<td width="160" valign="top"></td>
</tr>
<tr>
<td width="165" valign="top">BlackBerry 8520</td>
<td width="111" valign="top">320&#215;240</td>
<td width="132" valign="top">H.264</td>
<td width="160" valign="top">Curve</td>
</tr>
<tr>
<td width="165" valign="top">BlackBerry 8530</td>
<td width="111" valign="top"></td>
<td width="132" valign="top"></td>
<td width="160" valign="top"></td>
</tr>
<tr>
<td width="165" valign="top">BlackBerry 8800</td>
<td width="111" valign="top">320&#215;240</td>
<td width="132" valign="top">MPEG4</td>
<td width="160" valign="top"></td>
</tr>
<tr>
<td width="165" valign="top">BlackBerry 8820</td>
<td width="111" valign="top"></td>
<td width="132" valign="top"></td>
<td width="160" valign="top"></td>
</tr>
<tr>
<td width="165" valign="top">BlackBerry 8830</td>
<td width="111" valign="top">320&#215;240</td>
<td width="132" valign="top">H.264</td>
<td width="160" valign="top"></td>
</tr>
<tr>
<td width="165" valign="top">BlackBerry 9000</td>
<td width="111" valign="top">480&#215;320</td>
<td width="132" valign="top">H.264</td>
<td width="160" valign="top">Bold</td>
</tr>
<tr>
<td width="165" valign="top">BlackBerry 9500</td>
<td width="111" valign="top">360&#215;480</td>
<td width="132" valign="top">H.264</td>
<td width="160" valign="top">Storm</td>
</tr>
<tr>
<td width="165" valign="top">BlackBerry 9530</td>
<td width="111" valign="top"></td>
<td width="132" valign="top"></td>
<td width="160" valign="top"></td>
</tr>
<tr>
<td width="165" valign="top">BlackBerry 9550</td>
<td width="111" valign="top">360&#215;480</td>
<td width="132" valign="top">H.264</td>
<td width="160" valign="top">Storm 2. OS 5.0</td>
</tr>
<tr>
<td width="165" valign="top">BlackBerry 9520</td>
<td width="111" valign="top"></td>
<td width="132" valign="top"></td>
<td width="160" valign="top"></td>
</tr>
<tr>
<td width="165" valign="top">BlackBerry 9630</td>
<td width="111" valign="top">?</td>
<td width="132" valign="top">H.264</td>
<td width="160" valign="top">Tour</td>
</tr>
<tr>
<td width="165" valign="top">BlackBerry 9700</td>
<td width="111" valign="top">480&#215;360</td>
<td width="132" valign="top">H.264</td>
<td width="160" valign="top">Bold 2. OS 5.0</td>
</tr>
</tbody>
</table>
<p>Blank values mean they carry down from the model prior.</p>
]]></content:encoded>
			<wfw:commentRss>http://mozketo.com/blackberry-and-their-video-playback-capabilities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using ffmpeg for BlackBerry Bold playback</title>
		<link>http://mozketo.com/using-ffmpeg-for-blackberry-bold-playback/</link>
		<comments>http://mozketo.com/using-ffmpeg-for-blackberry-bold-playback/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 03:59:30 +0000</pubDate>
		<dc:creator>Mozketo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mozketo.com/?p=307</guid>
		<description><![CDATA[Sometimes ffmpeg just doesn&#8217;t play like you&#8217;d hope it would. I was trying to re-encode video clips for a BlackBerry Bold (the Bold supports H.264 playback) but every encode would have a blank black screen for video, and the audio would be fine (more on audio later).
I&#8217;m currently using SVN release r19352 (and also tested [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes ffmpeg just doesn&#8217;t play like you&#8217;d hope it would. I was trying to re-encode video clips for a BlackBerry Bold (the Bold supports H.264 playback) but every encode would have a blank black screen for video, and the audio would be fine (more on audio later).</p>
<p>I&#8217;m currently using SVN release r19352 (and also tested with r21566 (2010-01-31)).</p>
<h3>ffmpeg arguments for BlackBerry H.264</h3>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p307code11'); return false;">View Code</a> BASH</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p30711"><td class="code" id="p307code11"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ffmpeg</span> <span style="color: #660033;">-v</span> <span style="color: #000000;">0</span> <span style="color: #660033;">-y</span> <span style="color: #660033;">-i</span> input.mp4 <span style="color: #660033;">-f</span> mp4 <span style="color: #660033;">-aspect</span> <span style="color: #000000;">2.409</span> <span style="color: #660033;">-vcodec</span> libx264 <span style="color: #660033;">-vpre</span> default <span style="color: #660033;">-vpre</span> baseline <span style="color: #660033;">-s</span> 480x200 <span style="color: #660033;">-r</span> <span style="color: #000000;">24</span> <span style="color: #660033;">-b</span> 220k <span style="color: #660033;">-acodec</span> libmp3lame <span style="color: #660033;">-ab</span> 24kbit<span style="color: #000000; font-weight: bold;">/</span>s <span style="color: #660033;">-ac</span> <span style="color: #000000;">1</span> output.mp4</pre></td></tr></table></div>

<p>So lets break down these arguments:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p307code12'); return false;">View Code</a> TEXT</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p30712"><td class="code" id="p307code12"><pre class="text" style="font-family:monospace;">-v 0 = Set verbosity level
-y = Overwrite existing file
-i input.mp4 = The file you want to convert
-f = Force the video type
-aspect = The magical number to get the resize right
-vcodec libx264 = We're going to use x264 for video codec
-vpre default
-vpre baseline = Magical presets. And ensure BlackBerry compatibility
-s = The final dimensions of the clip
-r = Video frame rate
-b = Bitrate per second (the larger number the better the video)
-acodec libmp3lame = See Audio heading below
-ab = Audio bitrate
-ac 1 = Number of Audio Channels
output.mp4 = The output file</pre></td></tr></table></div>

<h3>-vpre isn&#8217;t working for me (and I&#8217;m on Windows)</h3>
<p>ffmpeg isn&#8217;t a Windows only application and looks for its presets in <code>/usr/local/share/ffmpeg/</code> so if you create a folder structure on your Windows computer <code>c:\usr\local\share\ffmpeg\</code> and copy all the *.ffpreset files into said folder you won&#8217;t have problems with -vpre anymore</p>
<h3>Audio issues (AAC)</h3>
<p>In later releases of ffmpeg AAC (or libfaac) was disabled; I assume due to AAC being patent encumbered. There&#8217;s ways around turn libfaac back on, or you could just switch to using libmp3lame or the like.</p>
]]></content:encoded>
			<wfw:commentRss>http://mozketo.com/using-ffmpeg-for-blackberry-bold-playback/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bandwidth: Rackspace Cloud Server vs Rackspace Files</title>
		<link>http://mozketo.com/rackspace-cloud-vs-rackspace-files-bandwidth/</link>
		<comments>http://mozketo.com/rackspace-cloud-vs-rackspace-files-bandwidth/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 11:45:08 +0000</pubDate>
		<dc:creator>Mozketo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Rackspace]]></category>

		<guid isPermaLink="false">http://mozketo.com/?p=263</guid>
		<description><![CDATA[I&#8217;ve recently been looking at hosting a complex JBoss/Apache project at Rackspace Cloud as opposed to our own servers+pipe at work. 
I had changed the application to deliver the files from a CDN (in this case Rackspace Files) but thought &#8220;well Rackspace Cloud might be on the same pipe(s) as Files and could kill two [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently been looking at hosting a complex JBoss/Apache project at Rackspace Cloud as opposed to our own servers+pipe at work. </p>
<p>I had changed the application to deliver the files from a CDN (in this case Rackspace Files) but thought &#8220;well Rackspace Cloud might be on the same pipe(s) as Files and could kill two birds with one stone&#8221;.</p>
<p>Essentially I wanted to know the pipe difference between Rackspace <a href="http://www.rackspacecloud.com/cloud_hosting_products/servers">Cloud Servers</a> and Rackspace <a href="http://www.rackspacecloud.com/cloud_hosting_products/files">Files</a> and if Cloud was fast enough do away with Files.</p>
<p><strong>The Test</strong></p>
<p>Here&#8217;s some <em>very</em> rudimentary results where I download a 9.6 MB zip file.</p>
<p>Rackspace Cloud &#8211; Average download speed: 335 kb/s &#8211; Time: 27 seconds.<br />
Rackspace Files &#8211; Average download speed: 1154 kb/s &#8211; Time: 8 seconds.</p>
<p>I used <code>curl -O http://.../content.zip</code> for the download test.</p>
<p><strong>Conclusions</strong></p>
<p>Rackspace Cloud doesn&#8217;t use the same &#8220;pipes&#8221; as Rackspace Files (I&#8217;ve never read that Rackspace claim, &#8220;Cloud is as fast as Files&#8221; I wasn&#8217;t expecting the same results, just curious).</p>
<p>A dedicated CDN is the best way to go for delivery of large files quickly. (Rackspace Files uses the Limelight Network). I&#8217;ve heard rumours that Rackspace has Australian edge(s) and this seems to be the case.</p>
<p>I will still want to use Rackspace Files for large content delivery.</p>
<p><strong>Misc</strong></p>
<p>I use TPG ADSL2+ at home and never seen downloads faster than 1250-1300 kb/s. Using a 2.16GHz Macbook Pro.</p>
<p>At the time of writing: <a href="http://www.rackspacecloud.com/cloud_hosting_products/servers">Rackspace Cloud Server</a> is a cloud server hosting infrastructure. <a href="http://www.rackspacecloud.com/cloud_hosting_products/files">Rackspace Files</a> is a Content Delivery Network.</p>
]]></content:encoded>
			<wfw:commentRss>http://mozketo.com/rackspace-cloud-vs-rackspace-files-bandwidth/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing Visual Studio&#8217;s error &#8216;The project location is not trusted&#8217;</title>
		<link>http://mozketo.com/fixing-visual-studios-error-the-project-location-is-not-trusted/</link>
		<comments>http://mozketo.com/fixing-visual-studios-error-the-project-location-is-not-trusted/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 12:27:28 +0000</pubDate>
		<dc:creator>Mozketo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mozketo.com/?p=244</guid>
		<description><![CDATA[Scenario: My base machine (mac) hosts all my source code as I want a single code point to backup. My Windows development environment is in a Virtual Machine using VMWare Fusion. (I believe this issue will apply to VMWare Workstation, Player and Fusion). 
I am using the VMWare built in &#8220;Share Folder&#8221; option, and I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p>Scenario: My base machine (mac) hosts all my source code as I want a single code point to backup. My Windows development environment is in a Virtual Machine using VMWare Fusion. (I believe this issue will apply to VMWare Workstation, Player and Fusion). </p>
<p>I am using the VMWare built in &#8220;Share Folder&#8221; option, and I&#8217;m sharing only the &#8220;win&#8221; folder in my ~\src\ folder.</p>
<p><a href="http://mozketo.com/wp-content/uploads/2009/09/Screen-shot-2009-09-29-at-10.19.55-PM.png"><img src="http://mozketo.com/wp-content/uploads/2009/09/Screen-shot-2009-09-29-at-10.19.55-PM.png" alt="Screen shot 2009-09-29 at 10.19.55 PM" title="Screen shot 2009-09-29 at 10.19.55 PM" width="496" height="92" class="alignnone size-full wp-image-246" /></a></p>
<p>Issue: When trying to open source using Visual Studio 2008 I&#8217;m presented with the dreaded &#8220;The project location is not trusted&#8221; error.</p>
<p>Solution: Open a Command-Line box (Start > Run > cmd > OK)</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p244code14'); return false;">View Code</a> DOS</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p24414"><td class="code" id="p244code14"><pre class="dos" style="font-family:monospace;"><a href="http://www.ss64.com/nt/cd.html"><span style="color: #b1b100; font-weight: bold;">cd</span></a> \Windows\Microsoft.NET\Framework\v2.0.50727
caspol -m -ag <span style="color: #cc66cc;">1.2</span> -url \\.host\* FullTrust</pre></td></tr></table></div>

<p>If you&#8217;re not using VMWare or have a share elsewhere substitute &#8220;\\.host\*&#8221; for your shared folder.</p>
<p>References: <a href="http://msdn.microsoft.com/en-us/library/bs2bkwxc.aspx">The project location is not trusted dialog box</a> and <a href="http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/5065fd7c-f2ed-4ddc-8242-19c0eda2a1a1">The project location is not trusted dialog box when trying to use a Network Location</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mozketo.com/fixing-visual-studios-error-the-project-location-is-not-trusted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sql Compact and Fluent NHibernate</title>
		<link>http://mozketo.com/sql-compact-and-fluent-nhibernate/</link>
		<comments>http://mozketo.com/sql-compact-and-fluent-nhibernate/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 12:16:06 +0000</pubDate>
		<dc:creator>Mozketo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Fluent-NHibernate]]></category>

		<guid isPermaLink="false">http://mozketo.com/?p=233</guid>
		<description><![CDATA[I wanted a drop dead simple Fluent NHibernate connection to a Sql Compact (.sdf) file and was able to use:

?View Code CSHARPprivate const string DbFile = &#34;firstProgram.db&#34;;
&#160;
return Fluently.Configure&#40;&#41;
    .Database&#40;MsSqlCeConfiguration.Standard.ShowSql&#40;&#41;.ConnectionString&#40;c =&#62;
        c.Is&#40;&#34;data source=&#34; + dbFile&#41;&#41;
        &#41;
    [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted a drop dead simple Fluent NHibernate connection to a Sql Compact (.sdf) file and was able to use:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p233code17'); return false;">View Code</a> CSHARP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p23317"><td class="code" id="p233code17"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF; font-weight: bold;">private</span> <span style="color: #0600FF; font-weight: bold;">const</span> <span style="color: #6666cc; font-weight: bold;">string</span> DbFile <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;firstProgram.db&quot;</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #0600FF; font-weight: bold;">return</span> Fluently<span style="color: #008000;">.</span><span style="color: #0000FF;">Configure</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
    <span style="color: #008000;">.</span><span style="color: #0000FF;">Database</span><span style="color: #008000;">&#40;</span>MsSqlCeConfiguration<span style="color: #008000;">.</span><span style="color: #0000FF;">Standard</span><span style="color: #008000;">.</span><span style="color: #0000FF;">ShowSql</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">ConnectionString</span><span style="color: #008000;">&#40;</span>c <span style="color: #008000;">=&gt;</span>
        c<span style="color: #008000;">.</span><a href="http://www.google.com/search?q=is+msdn.microsoft.com"><span style="color: #008000;">Is</span></a><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;data source=&quot;</span> <span style="color: #008000;">+</span> dbFile<span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span>
        <span style="color: #008000;">&#41;</span>
    <span style="color: #008000;">.</span><span style="color: #0000FF;">Mappings</span><span style="color: #008000;">&#40;</span>m <span style="color: #008000;">=&gt;</span>
        m<span style="color: #008000;">.</span><span style="color: #0000FF;">FluentMappings</span><span style="color: #008000;">.</span><span style="color: #0000FF;">AddFromAssemblyOf</span><span style="color: #008000;">&lt;</span>Program<span style="color: #008000;">&gt;</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
        <span style="color: #008000;">&#41;</span>
    <span style="color: #008000;">.</span><span style="color: #0000FF;">ExposeConfiguration</span><span style="color: #008000;">&#40;</span>BuildSchema<span style="color: #008000;">&#41;</span>
    <span style="color: #008000;">.</span><span style="color: #0000FF;">BuildSessionFactory</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span></pre></td></tr></table></div>

<p>Whereas the Sqlite connection was:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p233code18'); return false;">View Code</a> CSHARP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p23318"><td class="code" id="p233code18"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF; font-weight: bold;">private</span> <span style="color: #0600FF; font-weight: bold;">const</span> <span style="color: #6666cc; font-weight: bold;">string</span> DbFile <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;firstProgram.db&quot;</span><span style="color: #008000;">;</span>
&nbsp;
 <span style="color: #0600FF; font-weight: bold;">return</span> Fluently<span style="color: #008000;">.</span><span style="color: #0000FF;">Configure</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
    <span style="color: #008000;">.</span><span style="color: #0000FF;">Database</span><span style="color: #008000;">&#40;</span>SQLiteConfiguration<span style="color: #008000;">.</span><span style="color: #0000FF;">Standard</span>
        <span style="color: #008000;">.</span><span style="color: #0000FF;">UsingFile</span><span style="color: #008000;">&#40;</span>dbFile<span style="color: #008000;">&#41;</span>
        <span style="color: #008000;">&#41;</span>
    <span style="color: #008000;">.</span><span style="color: #0000FF;">Mappings</span><span style="color: #008000;">&#40;</span>m <span style="color: #008000;">=&gt;</span>
        m<span style="color: #008000;">.</span><span style="color: #0000FF;">FluentMappings</span><span style="color: #008000;">.</span><span style="color: #0000FF;">AddFromAssemblyOf</span><span style="color: #008000;">&lt;</span>Program<span style="color: #008000;">&gt;</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span>
        <span style="color: #008000;">&#41;</span>
    <span style="color: #008000;">.</span><span style="color: #0000FF;">ExposeConfiguration</span><span style="color: #008000;">&#40;</span>BuildSchema<span style="color: #008000;">&#41;</span>
    <span style="color: #008000;">.</span><span style="color: #0000FF;">BuildSessionFactory</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span></pre></td></tr></table></div>

<p>When Googling I wasn&#8217;t able to find any samples so I hope to fill that void.</p>
]]></content:encoded>
			<wfw:commentRss>http://mozketo.com/sql-compact-and-fluent-nhibernate/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Super easy UIViewControllers and their nib/xib</title>
		<link>http://mozketo.com/super-easy-uiviewcontrollers-and-their-nibxib/</link>
		<comments>http://mozketo.com/super-easy-uiviewcontrollers-and-their-nibxib/#comments</comments>
		<pubDate>Thu, 21 May 2009 11:27:50 +0000</pubDate>
		<dc:creator>Mozketo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mozketo.com/?p=159</guid>
		<description><![CDATA[I don&#8217;t like initialising my UIViewControllers and their associated nib explicitly using a string

?View Code OBJCFlipsideViewController *viewController = &#91;&#91;FlipsideViewController alloc&#93;
 initWithNibName:@&#34;FlipsideView&#34; bundle:nil&#93;;

But would rather my UIViewControllers know how to load themselves. This reduces the possibilities of typos, allows for only 1 place in code where your nib is referenced by name, and just looks better.
For [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t like initialising my UIViewControllers and their associated nib explicitly using a string</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p159code22'); return false;">View Code</a> OBJC</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p15922"><td class="code" id="p159code22"><pre class="objc" style="font-family:monospace;">FlipsideViewController <span style="color: #002200;">*</span>viewController <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span>FlipsideViewController alloc<span style="color: #002200;">&#93;</span>
 initWithNibName<span style="color: #002200;">:</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">&quot;FlipsideView&quot;</span> bundle<span style="color: #002200;">:</span><span style="color: #a61390;">nil</span><span style="color: #002200;">&#93;</span>;</pre></td></tr></table></div>

<p>But would rather my UIViewControllers know how to load themselves. This reduces the possibilities of typos, allows for only 1 place in code where your nib is referenced by name, and just looks better.</p>
<p>For example in <em>FlipsideViewController.m</em> I would add:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p159code23'); return false;">View Code</a> OBJC</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p15923"><td class="code" id="p159code23"><pre class="objc" style="font-family:monospace;"><span style="color: #002200;">-</span> <span style="color: #002200;">&#40;</span><span style="color: #a61390;">id</span><span style="color: #002200;">&#41;</span>initWithNibName<span style="color: #002200;">:</span><span style="color: #002200;">&#40;</span><a href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/"><span style="color: #400080;">NSString</span></a> <span style="color: #002200;">*</span><span style="color: #002200;">&#41;</span>nibNameOrNil 
bundle<span style="color: #002200;">:</span><span style="color: #002200;">&#40;</span><a href="http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSBundle_Class/"><span style="color: #400080;">NSBundle</span></a> <span style="color: #002200;">*</span><span style="color: #002200;">&#41;</span>nibBundleOrNil <span style="color: #002200;">&#123;</span>
  <span style="color: #a61390;">if</span> <span style="color: #002200;">&#40;</span><span style="color: #002200;">&#40;</span>self <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span>super initWithNibName<span style="color: #002200;">:</span><span style="color: #bf1d1a;">@</span><span style="color: #bf1d1a;">&quot;FlipsideView&quot;</span> bundle<span style="color: #002200;">:</span>nibBundleOrNil<span style="color: #002200;">&#93;</span><span style="color: #002200;">&#41;</span><span style="color: #002200;">&#41;</span>  <span style="color: #002200;">&#123;</span>
    <span style="color: #11740a; font-style: italic;">// Initialization code		</span>
  <span style="color: #002200;">&#125;</span>
  <span style="color: #a61390;">return</span> self;
<span style="color: #002200;">&#125;</span></pre></td></tr></table></div>

<p>Now you can simply initialise the ViewController using</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p159code24'); return false;">View Code</a> OBJC</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p15924"><td class="code" id="p159code24"><pre class="objc" style="font-family:monospace;">FlipsideViewController <span style="color: #002200;">*</span>viewController <span style="color: #002200;">=</span> <span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span>FlipsideViewController alloc<span style="color: #002200;">&#93;</span> 
init<span style="color: #002200;">&#93;</span>;</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://mozketo.com/super-easy-uiviewcontrollers-and-their-nibxib/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Who&#8217;s Ben Clark-Robinson?</title>
		<link>http://mozketo.com/whos-ben-clark-robinson/</link>
		<comments>http://mozketo.com/whos-ben-clark-robinson/#comments</comments>
		<pubDate>Wed, 20 May 2009 05:42:32 +0000</pubDate>
		<dc:creator>Mozketo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mozketo.com/?p=179</guid>
		<description><![CDATA[Mozketo blog is written by Ben Clark-Robinson about Cocoa development, Apple and my adventures in .net. (A strange mix, yes).

I am a c# .net software engineer by day, though once the sun sets low below the horizon and the Apple startup sequence chimes I am transformed into a Cocoa &#38; Cocoa Touch engineer.
I have a [...]]]></description>
			<content:encoded><![CDATA[<p>Mozketo blog is written by Ben Clark-Robinson about Cocoa development, Apple and my adventures in .net. (A strange mix, yes).</p>
<p><img src="http://mozketo.com/wp-content/themes/mozketo/images/me_bw_240px.jpg" alt="Ben Clark-Robinson" title="Self portrait" /></p>
<p>I am a c# .net software engineer by day, though once the sun sets low below the horizon and the Apple startup sequence chimes I am transformed into a Cocoa &amp; Cocoa Touch engineer.</p>
<p>I have a diploma in IT and a degree in IT major Software Engineering.</p>
<h2>Bits and pieces i&#8217;ve worked on</h2>
<p>Websites: <a href="http://mozketo.com">Mozketo</a> (this site) or <a href="http://www.wgarchitects.com.au/">WGA</a>.</p>
<p>Web applications: Servizio (Windows Mobile)</p>
<p>Desktop application: Membership</p>
<p><a href="http://mozketo.com/wp-content/uploads/2009/05/mrp01_l.png"><img src="http://mozketo.com/wp-content/uploads/2009/05/mrp01_s.png" alt="mrp01_s" title="mrp01_s" width="344" height="64" class="alignnone size-full wp-image-205" /></a></p>
<h2>Home computer setup</h2>
<p>Macbook Pro with external <a href="http://mozketo.com/benq-2200hd-review/">22&#8243; Benq LCD</a>, bluetooth wireless Apple keyboard, <a href="http://mozketo.com/bluetooth-mouse-for-mac-os-x/">MS Notebook Mouse 5000</a>, and my well loved iPhone 3G.</p>
<h2>Favoured Apple Software</h2>
<p><a href="http://macrabbit.com/cssedit/">CSSEdit</a><br />
<a href="http://macromates.com/">TextMate</a><br />
<a href="http://www.panic.com/transmit/">Transmit</a><br />
<a href="http://www.apple.com/aperture/">Aperture</a><br />
<a href="http://flyingmeat.com/voodoopad/">Voodoo Pad</a><br />
<a href="http://www.realmacsoftware.com/littlesnapper/">Littlesnapper</a> &#8211; <a href="http://www.quicksnapper.com/Mozketo/">Quicksnapper profile</a></p>
<h2>Server related</h2>
<p>Using a Joyent shared hosting server and Wordpress with a custom Mozketo template.</p>
]]></content:encoded>
			<wfw:commentRss>http://mozketo.com/whos-ben-clark-robinson/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bluetooth Mouse for Mac OS X</title>
		<link>http://mozketo.com/bluetooth-mouse-for-mac-os-x/</link>
		<comments>http://mozketo.com/bluetooth-mouse-for-mac-os-x/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 23:07:42 +0000</pubDate>
		<dc:creator>Mozketo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mozketo.com/?p=145</guid>
		<description><![CDATA[I&#8217;m trying to find the best Bluetooth Mouse for Apple Mac OS X. I really like being able to just turn on a mouse and boom it works without having to plug in a dongle. So I&#8217;ve compiled a mini-review of the Bluetooth mice I&#8217;ve tried to date and hoping you could help me expand [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m trying to find the best Bluetooth Mouse for Apple Mac OS X. I really like being able to just turn on a mouse and <em>boom</em> it works without having to plug in a dongle. So I&#8217;ve compiled a mini-review of the Bluetooth mice I&#8217;ve tried to date and hoping you could help me expand the list.<span id="more-145"></span></p>
<h2>Bluetooth Mighty Mouse</h2>
<p><a href="http://www.apple.com/au/mightymouse/">Link</a>. While I want to love the Mighty Mouse I constantly find myself fighting with it.</p>
<h3>Pros</h3>
<p>Works well with OS X as it connects fast and gives a battery level in System Preferences or a pop-up Bezel when the battery runs low. AA batteries.</p>
<h3>Cons</h3>
<p>A little heavy for my liking. Sometimes misreads right-clicks for normal clicks (makes World of Warcraft an exercise in frustration). That scroll nipple is impossible to keep working after 3-6 months, it simply gunks up and stops working reliably.</p>
<p><strong>Rating: 4/10</strong></p>
<h2>Microsoft Bluetooth Notebook Mouse 5000</h2>
<p><a href="http://www.microsoft.com/hardware/mouseandkeyboard/ProductDetails.aspx?pid=099"></a><a href="http://mozketo.com/wp-content/uploads/2009/03/microsoftbluetooth5000.png"><img class="alignnone size-full wp-image-151" title="microsoftbluetooth5000" src="http://mozketo.com/wp-content/uploads/2009/03/microsoftbluetooth5000.png" alt="microsoftbluetooth5000" width="242" height="175" /></a></p>
<p><a href="http://www.microsoft.com/hardware/mouseandkeyboard/ProductDetails.aspx?pid=099">Link</a>. I&#8217;m quite a fan of this little mouse.</p>
<h3>Pros</h3>
<p>Light, fast, easy to pair between OS X and Bootcamp (just remember to turn off/on while the &#8216;puter reboots. Tactile scroll-wheel is still working 12 months later. AAA batteries that last ages.</p>
<h3>Cons</h3>
<p>The movement (perhaps the resolution) of the mouse appears jerky sometimes and any fine moments (eg when using <a href="http://flyingmeat.com/acorn/">Acorn</a>) renders the mouse impossble. No battery indication in OS X.</p>
<p><strong>Rating: 7/10</strong></p>
<h2>Logitech V470 Cordless Laser Mouse for Notebooks</h2>
<p><a href="http://www.logitech.com/index.cfm/mice_pointers/mice/devices/3287&amp;cl=au,en#"></a><a href="http://mozketo.com/wp-content/uploads/2009/03/logitechv470.png"><img class="alignnone size-full wp-image-152" title="logitechv470" src="http://mozketo.com/wp-content/uploads/2009/03/logitechv470.png" alt="logitechv470" width="479" height="398" /></a></p>
<p><a href="http://www.logitech.com/index.cfm/home/&#038;cl=au,en">Link</a>. Untried.</p>
<p>Perhaps you have recommendation?</p>
]]></content:encoded>
			<wfw:commentRss>http://mozketo.com/bluetooth-mouse-for-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
