<?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>benbritten.com &#187; Blog</title>
	<atom:link href="http://benbritten.com/category/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://benbritten.com</link>
	<description>Software should be simple.</description>
	<lastBuildDate>Wed, 09 May 2012 12:37:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>I hate malware</title>
		<link>http://benbritten.com/2012/05/09/i-hate-malware/</link>
		<comments>http://benbritten.com/2012/05/09/i-hate-malware/#comments</comments>
		<pubDate>Wed, 09 May 2012 12:33:16 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[multitouch]]></category>

		<guid isPermaLink="false">http://benbritten.com/?p=1105</guid>
		<description><![CDATA[Nothing better than just getting ready to close up shop for the day and have a nice dinner and a relaxing evening and then getting an email from a bank telling you that some asshat has infected your site and &#8230; <a href="http://benbritten.com/2012/05/09/i-hate-malware/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Nothing better than just getting ready to close up shop for the day and have a nice dinner and a relaxing evening and then getting an email from a bank telling you that some asshat has infected your site and is hosting a phishing page from deep in your file directory.</p>
<p>Fuck.</p>
<p>So I had a quick look and sure enough the site was riddled with malware and other horrible things.  I take responsibility for not being vigilant enough and letting my updates lag the releases by a few weeks here and there, so I have nobody to blame but myself. </p>
<p>Still sucks tho.</p>
<p>In any case instead of trying to pick out the infected bits i just nuked the site from orbit and started fresh.  I did check my database to make sure it was not infested, so I dont have to go back through my years of sporadic blog posts in the database looking for hacks, so that is good.</p>
<p>That said, I have not the time nor the energy to restore the look and feel of the site so we are stuck with the generic wordpress look and feel.</p>
<p>So here is my protip for the day: keep your wordpress installs up to date! otherwise you will be the one getting that email.</p>
<p>Cheers!<br />
-Ben</p>
]]></content:encoded>
			<wfw:commentRss>http://benbritten.com/2012/05/09/i-hate-malware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Infinite Universe free on the app store!</title>
		<link>http://benbritten.com/2012/02/28/infinite-universe-free-on-the-app-store/</link>
		<comments>http://benbritten.com/2012/02/28/infinite-universe-free-on-the-app-store/#comments</comments>
		<pubDate>Tue, 28 Feb 2012 00:26:15 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[meta]]></category>
		<category><![CDATA[Unity]]></category>

		<guid isPermaLink="false">http://benbritten.com/?p=1082</guid>
		<description><![CDATA[I have been neglecting this blog. I apologize to anyone of the very very few who used to follow me regularly. For the most part you should really be watching the Tin Man Games blog since that is where I &#8230; <a href="http://benbritten.com/2012/02/28/infinite-universe-free-on-the-app-store/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have been neglecting this blog.  I apologize to anyone of the very very few who used to follow me regularly.  For the most part you should really be watching the Tin Man Games blog since that is where I spend most my time these days: <a href="http://tinmangames.com.au">http://tinmangames.com.au</a>.</p>
<p>However, I thought I would try to maybe post a few more things now and again, just to keep my writing chops a bit less rusty. </p>
<p>I have spent the last three months porting the <a href="http://tinmangames.com.au/blog/?p=1628">Gamebook Adventures engine to Android via Unity3D</a>. Once that is all done and on the various Android app stores I will have more to say on the journey from iOS to Android, and will probably do a few blogs posts about how I got the engine to work well in just about any resolution.</p>
<p>But for now, I just wanted to say that the latest book is out: <a href="http://gamebookadventures.com/gamebooks/infinite-universe/">Infinite Universe</a>.  It is a pretty fantastic scifi romp and is our longest and most replay-able book yet.  It is also free for the first 300 sections. (which is half as long as our first book, <a href="http://gamebookadventures.com/gamebooks/an-assassin-in-orlandes/">An Assassin in Orlandes</a>, which is still one of the best gamebooks around and eminently replay-able.)</p>
<p>Since it is free, everyone who reads this blog should go and download it!  It is a great book and if you like RPGs or tabletop gaming, you will really enjoy the gamebooks. Even if you never plan to read it, the downloads help our ranking and it is free, so why not? :-)</p>
<p>Thanks again!<br />
-B</p>
]]></content:encoded>
			<wfw:commentRss>http://benbritten.com/2012/02/28/infinite-universe-free-on-the-app-store/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gamebook Adventures and Android, WP7 and Kindle</title>
		<link>http://benbritten.com/2010/11/30/gamebook-adventures-and-android-wp7-and-kindle/</link>
		<comments>http://benbritten.com/2010/11/30/gamebook-adventures-and-android-wp7-and-kindle/#comments</comments>
		<pubDate>Tue, 30 Nov 2010 12:00:12 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[multitouch]]></category>

		<guid isPermaLink="false">http://benbritten.com/?p=1074</guid>
		<description><![CDATA[I just posted a lovely long piece on the Tin Man Games blog about our thoughts on Android, WP7 and Kindle, you should totally go and check it out: and now a word about platforms The Android marketplace (and the &#8230; <a href="http://benbritten.com/2010/11/30/gamebook-adventures-and-android-wp7-and-kindle/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I just posted a lovely long piece on the <a href="http://tinmangames.com.au">Tin Man Games</a> blog about our thoughts on Android, WP7 and Kindle, you should totally go and check it out:</p>
<p><a href="http://tinmangames.com.au/blog/?p=977">and now a word about platforms</a></p>
<blockquote><p>The Android marketplace (and the other Android compatible app stores) are all a bit different, and you are not required to have an account at the store to use your Android phone. This is a boon for some people who don’t ever need to buy stuff, or don’t want their credit card details on file somewhere, but it is a bane for the casual games on those devices. Adding that extra hurdle just to spend a few bucks on an app seems to take it’s toll in purchase numbers.</p></blockquote>
<p>Cheers!<br />
-B</p>
]]></content:encoded>
			<wfw:commentRss>http://benbritten.com/2010/11/30/gamebook-adventures-and-android-wp7-and-kindle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting started with Unity3d at Freeplay 10</title>
		<link>http://benbritten.com/2010/08/14/getting-started-with-unity3d-at-freeplay-10/</link>
		<comments>http://benbritten.com/2010/08/14/getting-started-with-unity3d-at-freeplay-10/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 11:58:15 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[Unity]]></category>

		<guid isPermaLink="false">http://benbritten.com/?p=1067</guid>
		<description><![CDATA[So. I gave a talk to day at Freeplay 10 all about Unity3d. I thought it was a bit scattered and I only got through about half of the stuff I wanted to get to (I didnt get to coroutines!! &#8230; <a href="http://benbritten.com/2010/08/14/getting-started-with-unity3d-at-freeplay-10/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So. I gave a talk to day at <a href="http://www.freeplay.net.au/">Freeplay 10</a> all about Unity3d. I thought it was a bit scattered and I only got through about half of the stuff I wanted to get to (I didnt get to coroutines!! they are very important!)  However, the audience was absolutely awesome and they ask really fantastic questions and it was a very interactive and fun session. Also, it was totally packed. </p>
<p>People were sitting on the floor and the room was about 35 degrees (that is 35 degrees C, for those of you in the states, that is approximately a million degrees fahrenheit).  But all in all it was pretty awesome.</p>
<p>For anyone just tuning in, the talk started out with a quick tour of the unity interface, then I basically dove right into building a game prototype from scratch, trying to get it done in just over an hour. It was a bit of a frenzy of code and components and general Unity awesomeness.  Well, I ended up only getting through the creation of a plane that you could fly around and shoot stuff and crash into things and exploding.  That is as far as I got :-) I did not make ti to enemy turrets, or procedural city generation. However, as I mentioned earlier, there were so many good questions that I probably covered more actual material than I had originally planned.</p>
<p><a href="http://benbritten.com/wp-content/uploads/2010/08/Screen-shot-2010-08-14-at-9.45.44-PM.png"><img src="http://benbritten.com/wp-content/uploads/2010/08/Screen-shot-2010-08-14-at-9.45.44-PM-300x225.png" alt="" title="Screen shot 2010-08-14 at 9.45.44 PM" width="300" height="225" class="aligncenter size-medium wp-image-1068" /></a><br />
(This is the prototype game using the frogames buildings, roads, textures and the plane)</p>
<p>Anyhow.  Since the talk was all about prototyping, I was using the totally fantastic and incredably inexpensive <a href="http://www.frogames.net/content-packs/protopack.html">protopack</a> from <a href="http://www.frogames.net/">frogames</a>.  These guys have a handful of unity compatible content packs that are absolutely worth every cent in terms of time saved and making it so easy to just grab a few prefabs, throw them into a scene attach a few scripts and you have your game idea outlined and ready to tweak.</p>
<p>However, I want to be able to give away the project, but I cannot give away the protopack&#8230; sooo I went in and stripped out the proto pack stuff and replaced it with primitives.  It doesnt look as nice, but it still does the job, and you can get to the scripts and have a play with all the stuff I talked about today.</p>
<p><a href="http://benbritten.com/wp-content/uploads/2010/08/Screen-shot-2010-08-14-at-9.42.36-PM.png"><img src="http://benbritten.com/wp-content/uploads/2010/08/Screen-shot-2010-08-14-at-9.42.36-PM-300x225.png" alt="" title="Screen shot 2010-08-14 at 9.42.36 PM" width="300" height="225" class="aligncenter size-medium wp-image-1069" /></a><br />
(this is the non-awesome looking primitives-only version of the project, which you can download)</p>
<p>So anyway, here is the <a href="http://benbritten.s3.amazonaws.com/FreeplayProject.zip">Freeplay project</a> sans protopack stuff.</p>
<p>SO: here is my advice:  go and buy the protopack, it is only like $15 or something stupidly cheap.  Then go and build your prototype game.</p>
<p>Let me know if you have questions or whatever!</p>
<p>Cheers!<br />
-B</p>
]]></content:encoded>
			<wfw:commentRss>http://benbritten.com/2010/08/14/getting-started-with-unity3d-at-freeplay-10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Compression settings for iPhone video</title>
		<link>http://benbritten.com/2010/07/13/compression-settings-for-iphone-video/</link>
		<comments>http://benbritten.com/2010/07/13/compression-settings-for-iphone-video/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 05:08:00 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://benbritten.com/?p=1053</guid>
		<description><![CDATA[So. If you read this blog at all you may already know that I am the sole developer for the Gamebook Adventure series of iOS apps. If you havent checked them out and enjoy some choose-your-own-adventure style fantasy games, then &#8230; <a href="http://benbritten.com/2010/07/13/compression-settings-for-iphone-video/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So.  If you read this blog at all you may already know that I am the sole developer for the <a href="http://www.tinmangames.com.au/?page_id=203">Gamebook Adventure</a> series of iOS apps.</p>
<p>If you havent checked them out and enjoy some choose-your-own-adventure style fantasy games, then definitely do so. However, that is not what this post is about.  For the books, we have an intro bumper video that plays the first time you open the app.  Our first book: <a href="http://www.tinmangames.com.au/?page_id=210">Assassin in Orlandes</a> had a landscape oriented menu screen and so we made the video a normal landscape type video. However, the book reading bit was portrait orientation.  In our in-house testing we didnt go back and forth between the two orientations all that often, but (as is often the case) the users used the app differently and were constantly going back and forth and so the orientation switch was a bit annoying.<br />
For the second book: <a href="http://www.tinmangames.com.au/?page_id=45">The Siege of the Necromancer</a>, we switched to a fully portrait oriented app, with the exception of the intro video (it was already made when we decided to change the orientation, and being a poor indie studio we didnt have the cash to re-do the animations in a vertical aspect.  However, most people watch the bumper once or twice then never see it again, so that is OK. )</p>
<p>Now with book three, <a href="http://www.tinmangames.com.au/?p=689">Slaves of Rema</a>, we are finally moving to a fully portrait oriented video.  This poses some interesting problems.</p>
<p>Since I am the developer and we are indies, I am also the video codec guy, and often the video editor as well.  The animations are outsourced and the other GFX are done in house, but it falls to me to put it all together and get it ready for the iPhone.<br />
<a href="http://benbritten.com/wp-content/uploads/2010/07/phoneOrientations.png"><img src="http://benbritten.com/wp-content/uploads/2010/07/phoneOrientations-300x216.png" alt="" title="phoneOrientations" width="300" height="216" class="aligncenter size-medium wp-image-1054" /></a></p>
<p>What is the problem you ask?  Well, on the iPhone you can only play video in landscape and you can really only play landscape formatted videos.  On the iPad you can play videos in portrait, but they get all scrunched down.  If you want full screen vertical oriented videos then you really need to make your videos sideways.<br />
<a href="http://benbritten.com/wp-content/uploads/2010/07/Screen-shot-2010-07-13-at-2.30.47-PM.png"><img src="http://benbritten.com/wp-content/uploads/2010/07/Screen-shot-2010-07-13-at-2.30.47-PM-300x277.png" alt="" title="Screen shot 2010-07-13 at 2.30.47 PM" width="300" height="277" class="aligncenter size-medium wp-image-1055" /></a></p>
<p>This can be a bit of a pain to do.  One way to do it is to take all of you grafics and rotate them before inserting them into final cut or similar. This means that you also need to tell the guy doing the animations that you need them to be done sideways and all of that.  This is a fine way to go about it, but it can make working on the video a pain in the ass.  Who wants to work on a sideways video?  </p>
<p>Instead you can make the video upright and rotate it after you have done all the editing.  I find this to be the best for our workflow.  That way all the graphics guys and animation guys are all working with the right orientation in mind and everything looks good.  The hard bit is editing a video that is 320 x 480.  Final cut, which I love, is total shite at doing anything that is not meant for TV or HD resolutions.  What I use is a combination of <a href="http://www.telestream.net/screen-flow/overview.htm">Screenflow</a> and <a href="http://www.apple.com/quicktime/extending/">Quicktime pro</a>.  </p>
<p>wait what?</p>
<p>Screenflow is a screencasting program, why would you use it for editing? Well, mostly because I already use it for screencasting, so I have it laying around.  And it does a fine job of doing basic editing. Most importantly it allows you to export in any crazy-ass aspect ratio you want, and the export options are excellent.  This allows me to edit the video in the aspect it will be seen at, ie portrait.</p>
<p><a href="http://benbritten.com/wp-content/uploads/2010/07/Screen-shot-2010-07-13-at-2.39.08-PM.png"><img src="http://benbritten.com/wp-content/uploads/2010/07/Screen-shot-2010-07-13-at-2.39.08-PM-300x274.png" alt="" title="Screen shot 2010-07-13 at 2.39.08 PM" width="300" height="274" class="aligncenter size-medium wp-image-1056" /></a></p>
<p>So, what I do is edit my video in Screenflow, (in the case of the new books these videos are at 640 x 960, so I can do high rez versions for the iPhone4 and the iPad, but it all works the same for 320 x 480, just be sure your final export size is the size you are shooting for)</p>
<p>I export the video at full rez and lossless from Screenflow (make sure that your rez is 320 x 480 or 640 x 960).<br />
<a href="http://benbritten.com/wp-content/uploads/2010/07/Screen-shot-2010-07-13-at-2.42.47-PM.png"><img src="http://benbritten.com/wp-content/uploads/2010/07/Screen-shot-2010-07-13-at-2.42.47-PM-300x232.png" alt="" title="Screen shot 2010-07-13 at 2.42.47 PM" width="300" height="232" class="aligncenter size-medium wp-image-1058" /></a></p>
<p>next thing is to open it in Quicktime Pro.  (note, the quicktime that comes with your mac these days is not qt pro, it is just qt player.  QT pro is $30 ish and is an indispensable tool to have in your arsenal if you do any amount of video work.  (if you have final cut or FCX, you should already have QT pro).</p>
<p>Once in QT Pro, go to window->show movie properties.  Select the video track, and look at the Visual Settings tab. </p>
<p>All you need to do here is hit one of the rotate buttons.  I generally thing that rotating left (the rightmost button) is the way to go.  That way the home button on the phone will be facing downward when the phone is is standard portrait orientation and the video is playing.    </p>
<p>At this point your video should look like the one above that is tipped sideways. </p>
<p>Now for the fun part, the compression.  </p>
<p>This may take a little while, and if you have a slow machine it may take a long while.  The idea here is that you will probably need to try a half dozen different settings before you get one that looks good and is the size you want.</p>
<p>First off, see if the built-in settings work OK for your video:<br />
<a href="http://benbritten.com/wp-content/uploads/2010/07/Screen-shot-2010-07-13-at-2.49.21-PM.png"><img src="http://benbritten.com/wp-content/uploads/2010/07/Screen-shot-2010-07-13-at-2.49.21-PM-300x273.png" alt="" title="Screen shot 2010-07-13 at 2.49.21 PM" width="300" height="273" class="aligncenter size-medium wp-image-1059" /></a></p>
<p>Choose File->Export.  Then select the Movie to iPhone setting and save it off. This will generate an .m4v file. </p>
<p>Once it is done compressing, open it back up and watch it.  If your video still looks fine then you are done.  This seems to wrok well for about 90% of the videos I run through it.<br />
However I find that the default &#8216;iPhone&#8217; settings sometimes produce terrible video artifacting for certain types of video so I have to do it the hard way. (also, if you are trying to really squeeze every last meg out of your app packages, then the you can get similar quality with half (or less) the size by tweaking the settings yourself.</p>
<p>In this case you need to change the export options and select &#8216;Movie to MPEG-4&#8242;</p>
<p>Have a look at all the fields on the MPEG-4 options.<br />
<a href="http://benbritten.com/wp-content/uploads/2010/07/Screen-shot-2010-07-13-at-2.58.28-PM.png"><img src="http://benbritten.com/wp-content/uploads/2010/07/Screen-shot-2010-07-13-at-2.58.28-PM-300x285.png" alt="" title="Screen shot 2010-07-13 at 2.58.28 PM" width="300" height="285" class="aligncenter size-medium wp-image-1062" /></a></p>
<p>Make sure that the video size is set to what you want, make sure the video format is set to H.264.  After that the most important thing on this screen is the Data Rate. but before we get to that, hit the &#8216;Video Options&#8217; button, and select baseline.  </p>
<p>NOTE: if you dont do this, the video will simply not play on your device, not at all.<br />
<a href="http://benbritten.com/wp-content/uploads/2010/07/Screen-shot-2010-07-13-at-2.58.33-PM.png"><img src="http://benbritten.com/wp-content/uploads/2010/07/Screen-shot-2010-07-13-at-2.58.33-PM-300x165.png" alt="" title="Screen shot 2010-07-13 at 2.58.33 PM" width="300" height="165" class="aligncenter size-medium wp-image-1063" /></a></p>
<p>Ok, back the the main MPEG-4 screen and the data rate.  This is where you will want to change the value and make a few different videos until you are happy with the quality and the size.  I generally start at 1200 or 1500 kbits/sec (this usually produces a fairly nice quality video, but it is generally pretty beefy in terms of size.) then I go down by 250 until the quality degrades to a point where I would never use it.  From there you should have a handful fo videos fo different qualities/sizes to choose from.  You can tweak the data rate down as accurate as you want.  If the video quality is almost good enough, then just bump up the data rate by 25 or 50 and see what you get.</p>
<p>cheers!<br />
-Ben</p>
]]></content:encoded>
			<wfw:commentRss>http://benbritten.com/2010/07/13/compression-settings-for-iphone-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SDK4, Sound and Video quick tip</title>
		<link>http://benbritten.com/2010/06/28/sdk4-sound-and-video-quick-tip/</link>
		<comments>http://benbritten.com/2010/06/28/sdk4-sound-and-video-quick-tip/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 02:20:39 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[multitouch]]></category>

		<guid isPermaLink="false">http://benbritten.com/?p=1050</guid>
		<description><![CDATA[Hey, so I upgraded to SDK 4 when it came out and everything is groovy, love the new iPhone 4 simulator, even if it makes all my non-doubled images look like ass. Anyhow one huge frustration I was having was &#8230; <a href="http://benbritten.com/2010/06/28/sdk4-sound-and-video-quick-tip/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hey, so I upgraded to SDK 4 when it came out and everything is groovy, love the new iPhone 4 simulator, even if it makes all my non-doubled images look like ass.</p>
<p>Anyhow one huge frustration I was having was that the sound and video that worked just fine in the older SDKs no longer seemed to work on the simulator.  (everything works fine on the device)  I had a few bugs with the way the 3.2 and above handle video, but even after sorting that out it refused to work on the simulator. </p>
<p>I have been pulling my hair out about this for a week now.  I mean, it is not a huge deal, I can get by without sound in the simulator, but it is really annoying when i KNOW the code is fine.  </p>
<p>Just to be clear: I have a hybrid OpenAL/AVAudioPlayer sound management system, and the videos are all played with MPMoviePlayerController (using the old ways on the old systems and the new ways on the new systems) everything works groovy on all of my myriad devices but NOT on the simulator.  </p>
<p>The movies wont even kick off, you tell them to play, and you immediately get MPMoviePlayerPlaybackDidFinishNotification.  No errors, nothing.  </p>
<p>I finally figured it out!  It was my iSight camera.  I have an old school original firewire iSight attached to my MacPro for the iChatting etc..  I disconnected that from the system and suddenly sound and video are working again!  So I guess I would suggest to anyone else having similar issues: disconnect any external devices that deal with sound or video and see if the problem persists.</p>
<p>Anyway, I am glad I figured out the problem, but I am a bit annoyed that I have to unhook my iSight in order to be able to develop with the simulator.  Mighty annoying.  </p>
<p>Cheers!<br />
-B</p>
]]></content:encoded>
			<wfw:commentRss>http://benbritten.com/2010/06/28/sdk4-sound-and-video-quick-tip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DIY iPad stand for developing</title>
		<link>http://benbritten.com/2010/05/30/diy-ipad-stand-for-developing/</link>
		<comments>http://benbritten.com/2010/05/30/diy-ipad-stand-for-developing/#comments</comments>
		<pubDate>Sun, 30 May 2010 00:57:38 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[meta]]></category>

		<guid isPermaLink="false">http://benbritten.com/?p=1034</guid>
		<description><![CDATA[The iPad finally arrived in Australia this week. Some of us uber-geeks have had them for awhile now. (i got mine by calling my mom in the states and having her send one out for me, thanks mom!!) Anyhow, it &#8230; <a href="http://benbritten.com/2010/05/30/diy-ipad-stand-for-developing/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The iPad finally arrived in Australia this week.  Some of us uber-geeks have had them for awhile now.  (i got mine by calling my mom in the states and having her send one out for me, thanks mom!!)</p>
<p>Anyhow, it seems like everyone is showing off their clever and not-so-clever custom stands and cases for the iPad, so to day I figure I would throw mine in the ring :-) (plus it is sunday, and I don&#8217;t want to work right now)   </p>
<p>When I first got the iPad, I had it propped up like how most of the stands work (ie like a picture frame sitting on your desk) However, this put it out past my mouse pad, and was a stretch to reach it.  Since I mainly use the iPad to <a href="http://www.tinmangames.com.au/?page_id=203">develop</a> <a href="http://escfactory.com/terracoreadventures/">games</a>, this solution was not ideal. (After about two hours of going back and forth between Unity, XCode and stretching to tap on the iPad, my shoulders were fooked)</p>
<p>Instead I needed something to get it closer to me.  This meant getting it up above my mouse pad.  This works well since the mousing area takes up a not insignificant amount of desk space, but not very much height.  So I went scrounging in my big piles of junk. looking for a good solution.</p>
<p>Here is what I came up with:</p>
<p><a href="http://benbritten.com/wp-content/uploads/2010/05/IMG_0175.png"><img src="http://benbritten.com/wp-content/uploads/2010/05/IMG_0175-225x300.png" alt="" title="IMG_0175" width="225" height="300" class="alignleft size-medium wp-image-1037" /></a></p>
<p>This stand didn&#8217;t cost me a single cent.  However, if you don&#8217;t have esoteric camera support gear lying about the house, then it might be a wee bit more expensive. (like, prohibitively so :-)</p>
<p>You will need:<br />
<a href="http://benbritten.com/wp-content/uploads/2010/05/a_magic_arm_2.jpg"><img src="http://benbritten.com/wp-content/uploads/2010/05/a_magic_arm_2-150x150.jpg" alt="" title="a_magic_arm_2" width="150" height="150" class="alignleft size-thumbnail wp-image-1035" /></a></p>
<p>1 x Magic arm (<a href="http://www.manfrotto.com/Jahia/site/manfrotto/lang/en/pid/2726">Manfrotto makes them</a>)</p>
<p><a href="http://benbritten.com/wp-content/uploads/2010/05/a_super-clamp.jpg"><img src="http://benbritten.com/wp-content/uploads/2010/05/a_super-clamp-150x150.jpg" alt="" title="a_super-clamp" width="150" height="150" class="alignleft size-thumbnail wp-image-1036" /></a><br />
1 x Super Clamp (<a href="http://www.manfrotto.com/Jahia/site/manfrotto/pid/2718">also by Manfrotto</a>, altho there are plenty of other similar clamps that work just dandy)</p>
<p>You will also need some way to attach the magic arm to your desk (or in this case the shelf that is just above my desk.  )<br />
<a href="http://benbritten.com/wp-content/uploads/2010/05/IMG_0179.png"><img src="http://benbritten.com/wp-content/uploads/2010/05/IMG_0179-225x300.png" alt="" title="IMG_0179" width="225" height="300" class="alignleft size-medium wp-image-1038" /></a><br />
I have chosen the tried and true method of: find a clamp in the shed, and clamp the bastard to the shelf.  However, if you are starting from scratch there are actually many better ways of doing this (for instance, maybe get two super clamps, and just use that.  It would definitely look less terrible, but again, this was just what I had around the house)</p>
<p>The last thing you need is some spare bits of wood.  I used a bit of 1&#215;2 and some plywood.  </p>
<p>The design is very simple, just a single cross piece screwed to the plywood (with a nice groove cut out where the charging cable fits) and a few bits on the back to give me some clamping options.  </p>
<p><a href="http://benbritten.com/wp-content/uploads/2010/05/IMG_0176.png"><img src="http://benbritten.com/wp-content/uploads/2010/05/IMG_0176-225x300.png" alt="" title="IMG_0176" width="225" height="300" class="alignleft size-medium wp-image-1040" /></a><br />
(note I am lifting the iPad so you can see the groove, it doesnt sit up like that)</p>
<p><a href="http://benbritten.com/wp-content/uploads/2010/05/IMG_0181.png"><img src="http://benbritten.com/wp-content/uploads/2010/05/IMG_0181-225x300.png" alt="" title="IMG_0181" width="225" height="300" class="alignleft size-medium wp-image-1039" /></a><br />
(I find the top one give me lots more &#8216;reach&#8217; with the arm, but is a bit wobbly.  The center clamp point is more stable)</p>
<p>The stand works well in both portrait and landscape mode:<br />
<a href="http://benbritten.com/wp-content/uploads/2010/05/IMG_0177.png"><img src="http://benbritten.com/wp-content/uploads/2010/05/IMG_0177-225x300.png" alt="" title="IMG_0177" width="225" height="300" class="alignleft size-medium wp-image-1043" /></a><br />
<a href="http://benbritten.com/wp-content/uploads/2010/05/IMG_0180.png"><img src="http://benbritten.com/wp-content/uploads/2010/05/IMG_0180-300x225.png" alt="" title="IMG_0180" width="300" height="225" class="alignleft size-medium wp-image-1044" /></a></p>
<p>As you can see, it hovers right over the mouseing area.  This means I can go from typing/mousing to iPad testing by just lifting my hand.  Much more ergonomic!  This is a perfect solution to keep the iPad in a useful position for coding and testing. At some point I might go out and spend the extra cash for a better mounting solution (either a mounting plate, or another super clamp)</p>
<p>Cheers!<br />
-Ben</p>
]]></content:encoded>
			<wfw:commentRss>http://benbritten.com/2010/05/30/diy-ipad-stand-for-developing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iRaspberry in the app store now</title>
		<link>http://benbritten.com/2010/05/25/iraspberry-in-the-app-store-now/</link>
		<comments>http://benbritten.com/2010/05/25/iraspberry-in-the-app-store-now/#comments</comments>
		<pubDate>Tue, 25 May 2010 01:33:18 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[multitouch]]></category>

		<guid isPermaLink="false">http://benbritten.com/?p=1031</guid>
		<description><![CDATA[Just released a new little app: iRaspberry. It was actually last week, but I am perpetually behind, so there you go. Apparently we got some 12,000 downloads the first weekend, so that is cool :-) It is free to download, &#8230; <a href="http://benbritten.com/2010/05/25/iraspberry-in-the-app-store-now/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://escfactory.com/iraspberry/"><img src="http://escfactory.com/wp-content/uploads/2010/05/irasp_banner1.jpg"></a></p>
<p>Just released a new little app: <a href="http://escfactory.com/iraspberry/">iRaspberry</a>.  It was actually last week, but I am perpetually behind, so there you go.  Apparently we got some 12,000 downloads the first weekend, so that is cool :-)</p>
<p>It is free to download, and you get two of the raspberry videos for free, and there is an in app purchase to upgrade to the full app which gives you 16 ways the stick out your toungue at people :-)</p>
<p>anyhow, it is a silly thing, but lots of fun, so check it out!</p>
<p>Cheers!<br />
-B</p>
]]></content:encoded>
			<wfw:commentRss>http://benbritten.com/2010/05/25/iraspberry-in-the-app-store-now/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPad wallpaper and lockscreen template</title>
		<link>http://benbritten.com/2010/05/19/ipad-wallpaper-and-lockscreen-template/</link>
		<comments>http://benbritten.com/2010/05/19/ipad-wallpaper-and-lockscreen-template/#comments</comments>
		<pubDate>Wed, 19 May 2010 01:10:43 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[multitouch]]></category>

		<guid isPermaLink="false">http://benbritten.com/?p=1022</guid>
		<description><![CDATA[I posted this to the Escape Factory website yesterday and thought I would crosspost it here as well for your perusal: I am just playing around with making myself some groovy looking wallpapers and lockscreen backgrounds for my iPad and &#8230; <a href="http://benbritten.com/2010/05/19/ipad-wallpaper-and-lockscreen-template/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I posted this to the <a href="http://escfactory.com/2010/05/ipad-wallpaper-and-lock-screen-template/">Escape Factory website</a> yesterday and thought I would crosspost it here as well for your perusal:</p>
<p>I am just playing around with making myself some groovy looking wallpapers and lockscreen backgrounds for my iPad and realized it is not as easy as just whacking up some 1024&#215;768 image.  There is the whole auto-rotating issue.  In the end I decided to make a template, and I made it just a wee bit nicer so I could post it here.</p>
<p><a href="http://escfactory.com/wp-content/uploads/2010/05/iPadScreenTemplate.png"><img src="http://escfactory.com/wp-content/uploads/2010/05/iPadScreenTemplate-300x300.png" alt="iPadScreenTemplate" title="iPadScreenTemplate" width="300" height="300" class="aligncenter size-medium wp-image-565" /></a></p>
<p>Lovely isnt it?</p>
<p>The basic upshot is that for desktop wallpapers (the one that shows up behind your icons) your best bet is to make a 1024&#215;1024 image and the center 768&#215;768 is the area that will always be visible.  </p>
<p>Here are some examples I took, to give you an idea:</p>
<p><a href="http://escfactory.com/wp-content/uploads/2010/05/IMG_0005.PNG"><img src="http://escfactory.com/wp-content/uploads/2010/05/IMG_0005-225x300.PNG" alt="IMG_0005" title="IMG_0005" width="225" height="300" class="aligncenter size-medium wp-image-566" /></a></p>
<p><a href="http://escfactory.com/wp-content/uploads/2010/05/IMG_0006.PNG"><img src="http://escfactory.com/wp-content/uploads/2010/05/IMG_0006-300x225.PNG" alt="IMG_0006" title="IMG_0006" width="300" height="225" class="aligncenter size-medium wp-image-567" /></a></p>
<p>It is important to note that the iPad overlays a gradient on top of your image (as well as icon shadows), so if you want to be color-perfect then you will want to take that into account.  </p>
<p>As for the lockscreen, it is a slightly different beast since it has the overlay bars.  In portrait, you have the same 768&#215;768 &#8216;safe&#8217; area in the middle, but in landscape that is chopped down to a slightly thinner slice of image:</p>
<p><a href="http://escfactory.com/wp-content/uploads/2010/05/IMG_0007.PNG"><img src="http://escfactory.com/wp-content/uploads/2010/05/IMG_0007-225x300.PNG" alt="IMG_0007" title="IMG_0007" width="225" height="300" class="aligncenter size-medium wp-image-569" /></a></p>
<p><a href="http://escfactory.com/wp-content/uploads/2010/05/IMG_0008.PNG"><img src="http://escfactory.com/wp-content/uploads/2010/05/IMG_0008-300x225.PNG" alt="IMG_0008" title="IMG_0008" width="300" height="225" class="aligncenter size-medium wp-image-570" /></a></p>
<p>Thats it!  have fun, make some cool wallpapers!</p>
<p>Cheers!<br />
-Ben</p>
]]></content:encoded>
			<wfw:commentRss>http://benbritten.com/2010/05/19/ipad-wallpaper-and-lockscreen-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Imitation is the sincerest form of flattery</title>
		<link>http://benbritten.com/2010/05/19/imitation-is-the-sincerest-form-of-flattery/</link>
		<comments>http://benbritten.com/2010/05/19/imitation-is-the-sincerest-form-of-flattery/#comments</comments>
		<pubDate>Wed, 19 May 2010 01:06:04 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[meta]]></category>
		<category><![CDATA[openAL]]></category>

		<guid isPermaLink="false">http://benbritten.com/?p=1019</guid>
		<description><![CDATA[Funny story for the day: Here is how this works: Step 1: write an original article on your blog about a useful thing (like OpenAL) (we will call this the &#8216;original post&#8217; and the &#8216;original blogger&#8217;) Step 2: someone else &#8230; <a href="http://benbritten.com/2010/05/19/imitation-is-the-sincerest-form-of-flattery/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Funny story for the day:</p>
<p>Here is how this works:</p>
<p>Step 1:  write an original article on your blog about a useful thing (like OpenAL) (we will call this the &#8216;original post&#8217; and the &#8216;original blogger&#8217;)<br />
Step 2:  someone else likes your article and cuts and pastes it into their blog, they change a few words here and there, but mostly it is left identical (errors and everything) (let&#8217;s call him &#8216;copy blogger&#8217;, and we will call this the &#8216;copy post&#8217;)<br />
Step 3:  wait a while<br />
Step 4:  somebody notices that &#8216;copy post&#8217; is very similar to &#8216;original post&#8217; and tells &#8216;Copy Blogger&#8217; that someone has copied his post! Mon Dieu!<br />
Step 5:  Copy Blogger emails Original Blogger and tells him that if he is going to be copying his (plagiarised) posts then Original Blogger should have the common courtesy to provide a linkback to the &#8216;Copy post&#8217; from the &#8216;Original post&#8217;!<br />
Step 6: Original Blogger laughs and laughs.</p>
<p>If this is all too abstract, then I will simplify it:  I wrote a post about <a href="http://benbritten.com/2008/11/06/openal-sound-on-the-iphone/">OpenAL on the iPhone</a> in 2008, right after the NDA was lifted.  This single article is in the top 5 for traffic for my site.  Lots of people have seen it.  Presumably there are lots of OpenAL codebases out there that have snippets of code from that article, which is great!</p>
<p>That article has a bunch of code snippets and instructions on how to build your own simple OpenAL sound player. (but does not provide a working version, you have to do that yourself :-)</p>
<p>Someone (whom shall remain nameless) took that article and copied it into his website, and claimed authorship of it.  This was in early 2009. Now to his credit, he did change a few words here and there, and he took the code snippets and put them into a single file and filled in the gaps. This is exactly what I had hoped people would do!  (with the exception of claiming authorship of my words, that is kinda dickish)</p>
<p>I actually noticed that this had happened and made a fleeting mention of it at the top of my post about <a href="http://benbritten.com/2009/05/02/lots-and-lots-of-sounds-in-openal/">&#8216;lots of sounds&#8217; in OpenAL</a>.  But to be honest, I didnt really care all that much about it.  Hey, it&#8217;s the internet, people steal anything that isn&#8217;t bolted down, and they sometimes steal that stuff too. </p>
<p>However, this morning, I get an email from our random internet plagiarist telling me: (and I quote)  &#8220;just want to notice that someone told me it seems your article has alot in common with my own article postet on [RADACTED]. If your article is related to that, you should post a linkback or something like that. &#8221;</p>
<p>He wasn&#8217;t a dick about it, he was pretty cool.  He is probably a stand-up kinda guy. </p>
<p>To be honest, it has been a looooong time since I noticed that he had copied me, and I had basically forgotten about it.  I dutifully went to his site and had a look (because I was curious, and had forgotten about the whole thing, and frankly OpenAL isn&#8217;t that complicated, and there are only so many ways to do it, so really most articles on OpenAL on the iphone could be considered &#8216;similar&#8217; on many ways, and if his site was good, then I would link to it anyway) and when I saw my own words staring back at me I remembered the whole thing from last year and I laughed and laughed.</p>
<p>Then I sent him a kinda shitty reply, sorry about that internet plagiarist dude, I probably should have waited till I had breakfast before replying to your email.  </p>
<p>At the end of the day, I post stuff here so that people hopefully get something out of it.  If you want to copy all the code here and all the txt here and post it on your site, well, that is perfectly possible, and not illegal.  But taking ownership of my words is a bit of a douchebag move.  At least have the common courtesy to re-word it.  </p>
<p>Cheers!<br />
-Ben</p>
]]></content:encoded>
			<wfw:commentRss>http://benbritten.com/2010/05/19/imitation-is-the-sincerest-form-of-flattery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

