<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

  <title><![CDATA[Fast Chicken / Big Ted]]></title>
  <link href="http://fastchicken.co.nz/atom.xml" rel="self"/>
  <link href="http://fastchicken.co.nz/"/>
  <updated>2013-05-17T12:10:29+00:00</updated>
  <id>http://fastchicken.co.nz/</id>
  <author>
    <name><![CDATA[Nic Wise]]></name>
    
  </author>
  <generator uri="http://octopress.org/">Octopress</generator>

  
  <entry>
    <title type="html"><![CDATA[Sketchmine]]></title>
    <link href="http://fastchicken.co.nz/2013/05/17/sketchmine/"/>
    <updated>2013-05-17T12:08:00+00:00</updated>
    <id>http://fastchicken.co.nz/2013/05/17/sketchmine</id>
    <content type="html"><![CDATA[<p><a href="http://sketchmine.co/">Wow. Just wow.</a></p>

<blockquote><p>What is Sketchmine?</p>

<p>Sketchmine is a list of free .sketch files designed by the sketch community.</p></blockquote>

<p>So. Many. Awsomes.</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Design inspiration]]></title>
    <link href="http://fastchicken.co.nz/2013/05/09/design-inspiration/"/>
    <updated>2013-05-09T12:13:00+00:00</updated>
    <id>http://fastchicken.co.nz/2013/05/09/design-inspiration</id>
    <content type="html"><![CDATA[<p>In my Evolve talk, I had a slide which talked about inspiration, and some good sites to get it from.</p>

<p><img src="http://fastchicken.co.nz/uploads/2013/inspiration.png" alt="inspiration" /></p>

<p>Personally, I use <a href="http://dribbble.com/fastchicken">dribbble</a>, <a href="http://www.behance.net/">Behance</a> and <a href="http://pinterest.com/fastchicken/ux/">Pinterest</a> the most<sup id="fnref:1"><a href="#fn:1" rel="footnote">1</a></sup>, but some times <a href="https://twitter.com/gerryhigh/status/332460696447102976">things come in from twitter</a><sup id="fnref:2"><a href="#fn:2" rel="footnote">2</a></sup> and various other sources, in this case <a href="http://graphicdesignjunction.com/2013/05/beautiful-mobile-ui-design-with-amazing-user-experience/">Graphic Design Junction</a>.</p>

<blockquote><p><a href="http://graphicdesignjunction.com/2013/05/beautiful-mobile-ui-design-with-amazing-user-experience/">50 Beautiful Mobile UI Designs with Amaizing User Experience</a></p></blockquote>

<p>I&rsquo;m not sure if I agree that these are &ldquo;the 50 most beautiful&rdquo;, nor how they worked out the user <em>experience</em> for apps which are only designs (not built), but in general they are nice with a few outstanding ones.</p>

<hr />

<h3><a href="http://www.behance.net/gallery/VDS-iPhone-app/7834225">VDS iPhone App</a></h3>

<p><img src="http://fastchicken.co.nz/uploads/2013/vds-iphone-app.png" alt="VDS iphone app grab" /></p>

<p>I love the flat &ndash; but not too flat &ndash; look of this. This is pretty close to how I want iOS7 to look. Subtle textures, no &ldquo;leather&rdquo;, information rich but not too dense.</p>

<h3><a href="http://www.behance.net/gallery/App-Trekd-Concept/7746907">Trekd</a></h3>

<p><img src="http://fastchicken.co.nz/uploads/2013/trekd.png" alt="Trekd" /></p>

<p>This one mostly caught my eye as we are thinking of doing something in a similar space to this. It&rsquo;s a bit over-flat for my liking, but nice none the less.</p>

<h3><a href="http://www.behance.net/gallery/The-Paper-Fox-App/8323801">Paper Fox</a> (<a href="http://www.appstore.com/paperfox">appstore</a>)</h3>

<p><img src="http://fastchicken.co.nz/uploads/2013/paper-fox.png" alt="paper fox" /></p>

<p>Leonie found this one, and I agree with her &ndash; it looks stunning<sup id="fnref:3"><a href="#fn:3" rel="footnote">3</a></sup>. I&rsquo;m not overly interested in game development, but I love the mix of flat shaded polygons and minimal texture (eg on the ivy). Reminds me a lot of early games like <a href="https://en.wikipedia.org/wiki/Another_World_(video_game">Another World</a>).</p>

<hr />

<p>I think inspiration is an important thing when working out how you want your app to look and work, and downloading every possible app isn&rsquo;t really possible (or overly affordable). Tools like these make it a lot easier, and give you ideas of what other designers and developers are thinking.</p>

<p>It&rsquo;s especially important when I&rsquo;m learning design, I think, to take inspiration from others, as I&rsquo;m still in the &ldquo;not sure what can be done&rdquo; stage. I suspect it&rsquo;ll become less important as I get more experienced.</p>
<div class="footnotes">
<hr/>
<ol>
<li id="fn:1">
<p>yes, pinterest isn&rsquo;t just for Woman scrapbooking hair styles&hellip;<a href="#fnref:1" rev="footnote">&#8617;</a></p></li>
<li id="fn:2">
<p>Hat tip to <a href="http://twitter.com/gerryhigh">Gerry High</a> and <a href="http://twitter.com/robertkozak">Robert Kozak</a><a href="#fnref:2" rev="footnote">&#8617;</a></p></li>
<li id="fn:3">
<p>I&rsquo;ve not tried it yet, so I can&rsquo;t comment on the gameplay<a href="#fnref:3" rev="footnote">&#8617;</a></p></li>
</ol>
</div>

]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Evolve; Trip Wallet update; Sketch and MvvmCross rock]]></title>
    <link href="http://fastchicken.co.nz/2013/05/09/quiet-on-the-blog/"/>
    <updated>2013-05-09T09:02:00+00:00</updated>
    <id>http://fastchicken.co.nz/2013/05/09/quiet-on-the-blog</id>
    <content type="html"><![CDATA[<p>Things have been a bit quiet around here since I got back from <a href="http://xamar.in/r/nicwise/xamarin.com/evolve">Xamarin Evolve</a>. Mostly because when I got back, London decided to do its best Austin impression and get warm and very, very blue-sky&#8217;ed outside, so we have been taking advantage of that as much as possible.</p>

<p>At the same time, I&rsquo;ve been working on a UI refresh for <a href="http://fastchicken.co.nz/tripwallet/">Trip Wallet</a>, which is now finished, I&rsquo;m just waiting on the icon to be finalised. The difference is, I think, quite dramatic:</p>

<p><img src="http://fastchicken.co.nz/uploads/2013/tripwallet-changes.png" alt="" /></p>

<p>Initially, I based a lot of the look on <a href="http://earnestapp.com">Earnest</a> (which I didn&rsquo;t design &ndash; that was <a href="http://www.robbiemanson.com/">Robbie</a>), but as its gone on, I&rsquo;ve recreated or reworked everything in there, using <a href="http://www.bohemiancoding.com/sketch/">Sketch</a>, which I&rsquo;m really enjoying using. <a href="http://fastchicken.co.nz/mobileagent/">MobileAgent</a> is next &ndash; I&rsquo;ve done the UI changes, and it&rsquo;s looking pretty sweet, and now it&rsquo;s just a case of adding a couple of features and then that&rsquo;s done.</p>

<p>I&rsquo;m planning on writing a bit more about the UI changes, especially how easy is to do nice iOS designs in Sketch. In the meantime, if you are interested in Sketch, have a look at <a href="http://blog.mengto.com/">Meng To&#8217; blog</a>. He does some awesome work in Sketch and isn&rsquo;t afraid to share it.</p>

<p>Speaking of Xamarin, the <a href="http://xamar.in/r/nicwise/xamarin.com/evolve">videos from Evolve are not out yet</a>, but they are &ldquo;coming soon&rdquo;, including <a href="http://xamarin.com/evolve/2013#ios">mine</a>. They have released a nice tool called <a href="http://blog.xamarin.com/introducing-objective-sharpie/">Objective Sharpie</a> to do bindings, which might make it a lot easier to use Objective-C code in your Xamarin.iOS apps. All this in addition to the new stuff which was announced at Evolve.</p>

<p>If you are doing crossplatform with the Xamarin stack (and Microsoft&rsquo;s stuff for Win(Phone)8), you really need to look at <a href="https://github.com/slodge/MvvmCross">MvvmCross</a>. <a href="http://twitter.com/slodge">Stuart</a> has been <em>on fire</em> with his <a href="http://slodge.blogspot.co.uk/2013/05/n13-couple-of-small-collect-bull.html">N+1 days of MvvmCross</a>. I think he needs to give himself a <a href="http://slodge.blogspot.co.uk/2013/03/hot-tuna-goes-beta-tastes-of-nuget-and.html">badge of awesome…</a></p>

<hr />

<p>Also<sup id="fnref:1"><a href="#fn:1" rel="footnote">1</a></sup>. Oddly, Markdown Pro, which I usually use to write these, doesn&rsquo;t show them especially well.</p>
<div class="footnotes">
<hr/>
<ol>
<li id="fn:1">
<p>I&rsquo;ve upgraded Octopress to the latest version &ndash; which is as easy as a git pull and merge &ndash; and I can now do footnotes &ndash; yay!<a href="#fnref:1" rev="footnote">&#8617;</a></p></li>
</ol>
</div>

]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Xamarin Evolve talk: Fast UI Creation with MonoTouch.Dialog]]></title>
    <link href="http://fastchicken.co.nz/2013/04/20/xamarin-evolve-talk-fast-ui-creation-with-monotouch-dot-dialog/"/>
    <updated>2013-04-20T16:16:00+00:00</updated>
    <id>http://fastchicken.co.nz/2013/04/20/xamarin-evolve-talk-fast-ui-creation-with-monotouch-dot-dialog</id>
    <content type="html"><![CDATA[<p>I&rsquo;ve put my slides from my talk at <a href="http://xamar.in/r/nicwise/xamarin.com/evolve">Xamarin Evolve</a> up on <a href="https://speakerdeck.com/nicwise/xamarin-evolve-creating-fast-uis-with-monotouch-dot-dialog">Speaker Deck</a>:</p>

<script async class="speakerdeck-embed" data-id="aa7076508bfa01309cb112313b10103e" data-ratio="1.74446337308348" src="http://fastchicken.co.nz//speakerdeck.com/assets/embed.js"></script>


<p>The source is also <a href="https://github.com/nicwise/EvolveMonoTouchDialog">up on GitHub</a> if you want to follow along. The Xamarin folk have said the video will be up in a week or 2.</p>

<p>Evolve was one of my top 2 conferences ever &ndash; along with <a href="http://www.webstock.org.nz/11/">WebStock 2011</a>, tho I hear <a href="http://www.webstock.org.nz/">WebStock 2013 wasn&rsquo;t half bad</a>, too&hellip;</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Conference presentation tips - @xamarinhq Evolve]]></title>
    <link href="http://fastchicken.co.nz/2013/04/06/conference-presentation-tips/"/>
    <updated>2013-04-06T09:02:00+00:00</updated>
    <id>http://fastchicken.co.nz/2013/04/06/conference-presentation-tips</id>
    <content type="html"><![CDATA[<p>Next week, I&rsquo;ll be talking about <a href="https://github.com/migueldeicaza/MonoTouch.Dialog">MonoTouch.Dialog</a> at the <a href="http://xamarin.com/evolve">Xamarin Evolve conference</a> in Austin, TX. It&rsquo;s been a while since I last presented anything to a proper crowd (I don&rsquo;t count workmates as a crowd &ndash; too friendly), so I&rsquo;ve been doing some reading for ideas on how to do it better and prepare. Thanks to some of the wonderful UK and US folks, here&rsquo;s a few good lists and tips:</p>

<ul>
<li><a href="http://www.guysmithferrier.com/Downloads/HowToGiveGreatPresentations.pdf">Guy Smith-Ferrier &ndash; How to give great presentations</a>.</li>
<li><a href="http://swwritings.com/post/2013-02-24-speaking-at-nsconference">Simon Wolf &ndash; Speaking at NSConference</a></li>
<li><a href="http://daveaddey.com/?p=947">Dave Addey &ndash; Conference speaking tips</a></li>
</ul>


<p>Some of the take-aways for me:</p>

<ul>
<li>Minimise the slides, and the words on the slides</li>
<li>Never read the slides &ndash; the audience can read it faster than you can (exception: quotes)</li>
<li>Work out your own style, don&rsquo;t copy other people.</li>
<li>Be responsible for your own gear (rMBP + VGA adapter: check; Remote clicker: check; Airport Express: check); and for checking that everything works before you go on stage</li>
<li>Test; Test; Test; And do a dry run first &ndash; either film yourself, or to a usergroup or group of friends</li>
<li>White on black, not black on white.</li>
<li>Above all, have FUN! (which I fully intend to do!)</li>
</ul>


<p>If you are going to Evolve, I&rsquo;ll see you there next week! I&rsquo;m really looking forward to meeting a load of people I only know on the forums or twitter. It&rsquo;ll be a blast!</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[25 iOS app performance tricks - Ray Wenderlich]]></title>
    <link href="http://fastchicken.co.nz/2013/04/05/25-ios-app-performance-tricks-ray-wenderlich/"/>
    <updated>2013-04-05T09:46:00+00:00</updated>
    <id>http://fastchicken.co.nz/2013/04/05/25-ios-app-performance-tricks-ray-wenderlich</id>
    <content type="html"><![CDATA[<p><a href="http://www.raywenderlich.com/">Ray Wenderlich</a>[1] has a <a href="http://www.raywenderlich.com/31166/25-ios-app-performance-tips-tricks">list of 25 ios performance tips</a>, most of which apply to <a href="http://xamar.in/r/nicwise/xamarin.com">Xamarin.iOS</a> just as much as Objective-C.</p>

<blockquote><p>This article gathers together 25 tips and tricks that you can use to improve the performance of your apps, in the form of a handy checklist.</p>

<p>So keep reading to give your future apps a nice boost!</p></blockquote>

<p>They cover basics (reuseIdentifiers; Fat XIBs; Don&rsquo;t block the main thread), intermediate (lazy views; caching; shadow path) as well as advanced (avoid date formatters &ndash; which I need to do on <a href="http://fastchicken.co.nz/tripwallet">Trip Wallet</a>)</p>

<p>There are lots of other good tutorials and tips on that site, it&rsquo;s well worth looking around.</p>

<p>[1] I&rsquo;m not sure if it&rsquo;s &ldquo;Ray Wenderlich&rsquo;s site&rdquo; or just &ldquo;Ray Wenderlich&rdquo; &ndash; there are lots of people writing on there, so it&rsquo;s not just one person.</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[I'm speaking at Xamarin Evolve]]></title>
    <link href="http://fastchicken.co.nz/2013/03/27/xamarin-evolve/"/>
    <updated>2013-03-27T16:40:00+00:00</updated>
    <id>http://fastchicken.co.nz/2013/03/27/xamarin-evolve</id>
    <content type="html"><![CDATA[<p>I&rsquo;m happy to say I&rsquo;m speaking at <a href="http://xamarin.com/evolve">Xamarin Evolve</a> next month in Austin, in the company of some pretty awesome people.</p>

<p>I&rsquo;m going to be talking about <a href="https://github.com/migueldeicaza/MonoTouch.Dialog">MonoTouch.Dialog</a>, especially how to make custom elements, and how to not have them look like the standard iOS controls.</p>

<p>See you in Austin &ndash; I hope!</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Mobile Antipatterns]]></title>
    <link href="http://fastchicken.co.nz/2013/03/25/mobile-antipatterns/"/>
    <updated>2013-03-25T10:17:00+00:00</updated>
    <id>http://fastchicken.co.nz/2013/03/25/mobile-antipatterns</id>
    <content type="html"><![CDATA[<p>An Antipattern:</p>

<blockquote><p>In software engineering, an anti-pattern (or antipattern) is a pattern used in social or business operations or software engineering that may be commonly used but is ineffective and/or counterproductive in practice :: <a href="http://en.wikipedia.org/wiki/Anti-pattern">Wikipedia</a></p></blockquote>

<p>Mobile, being a new area, is generating its own set of anti-patterns. Some of the better (worse?) ones:</p>

<ul>
<li>Too many taps. <a href="http://boxesandarrows.com/let-them-pee-avoiding-the-sign-upsign-in-mobile-antipattern/">50 taps to find somewhere to pee, on your smartphone?</a>.</li>
<li>Asking the user to sign in every time they open the app (for an app which isn&rsquo;t banking)? <a href="http://www.zipcar.com/iphone">The ZipCar app does an excellent job of this, even forgetting the username each time.</a></li>
<li>Asking the user, constantly, if they want to review the app. (I&rsquo;m guilty of this a bit, as it also seams to work for getting non-negative reviews)</li>
<li>Your app needs a splash screen to explain all the otherwise hidden gestures?</li>
<li>… or worse, hijacks existing gestures for other purposes (this one is a bit more accepted now then it was when iOS first came out, thanks to the UX explosion that happened in the 1001 Twitter apps)</li>
</ul>


<p>Avoiding these when you are designing your app is fairly easy &ndash; a lot of them are just lazy design (or lazy coding). Sometimes, breaking them is a requirement:</p>

<blockquote><p><strong>The Bouncer</strong>: The bouncer anti-pattern occurs when the Cocoa Touch application requires authentication credentials for operation, but doesn’t offer the option for creating those credentials inside the application. Instead, the application opens Safari and forces registration through a web page, or worse, offers no option for registration at all. &ndash; <a href="http://shop.oreilly.com/product/9780596155476.do">Programming the iPhone User Experience</a>, Antipatterns chapter</p></blockquote>

<p>However, if you did include a sign up link, for a free+paid service (eg Dropbox), Apple would reject the app. Sometimes you just have to know which rules to break.</p>

<p>If you are interested in UX and design &ndash; and as a mobile developer, I think having some basic knowledge and interest is now a requirement &ndash; there are lots of good resources around:</p>

<ul>
<li><a href="http://uxapprentice.com/">UX Apprentice</a> &ndash; online course explaining the processes around UX</li>
<li><a href="http://sidebar.io/">Sidebar</a> &ndash; a daily email of 5 design and UX links</li>
<li><a href="http://hackdesign.org/">Hack Design</a> &ndash; more web than mobile, but has good content on responsive design and typography</li>
</ul>

]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Samsung Galaxy S IV]]></title>
    <link href="http://fastchicken.co.nz/2013/03/15/samsung-galaxy-s-iv/"/>
    <updated>2013-03-15T17:03:00+00:00</updated>
    <id>http://fastchicken.co.nz/2013/03/15/samsung-galaxy-s-iv</id>
    <content type="html"><![CDATA[<p>&hellip; is out. OK, except it&rsquo;s not, because it&rsquo;s not shipping until the end of April, but at least Samsung announced a ship date.</p>

<ul>
<li><a href="http://arstechnica.com/gadgets/2013/03/where-we-go-from-the-top-hands-on-with-samsungs-galaxy-s-4/">Ars Technica review</a></li>
<li><a href="http://www.imore.com/samsungs-galaxy-s4">iMore review</a></li>
</ul>


<p>Let me start by saying that Android is growing on me. I have a Nexus 4, and in general, I like it. It&rsquo;s not my day to day phone, but it could be at a push. Unlike the Nexus 7, I don&rsquo;t actively avoid using it. The OS &ndash; with 4.&frac14;.2 &ndash; no longer makes me want to hurt animate objects.</p>

<p>From a development point of view, there are some things in Android &ndash; even the old versions &ndash; that I much prefer over iOS, like the layout engine. I&rsquo;d love a mix of both.</p>

<p>This is about as far away from my view of Android last year as it&rsquo;s possible to get. It&rsquo;s come a long way (baby).</p>

<p>This bit of the iMore review sticks out for me:</p>

<blockquote><p>The Galaxy S4 hardware is a feat of engineering. It manages, in the same footprint as last year&rsquo;s Galaxy S3, to pack in a 5-inch 1080p display, massive 2600mAh (user-swappable) battery, SD-card storage expansion, and additional sensors like IR for entertainment console control, and temperature and humidity sensors. <strong>Unfortunately, the display is still OLED-based, and the casing still Hasbro-style plastic. If you hold a Galaxy S4 in one hand and an HTC One or iPhone 5 in the other, the difference in material quality is stupefying</strong>.</p></blockquote>

<p>I had a SGS3 on loan for some testing last weekend, as it had a strange bug that wasn&rsquo;t showing up on the Nexus 4. I took the opportunity to have a good play with it, within the constraints of having to reset the phone back to factory by monday morning.</p>

<p>The OS is fine. I find the Samsung UI changes to look childish and &ldquo;fisher price&rdquo;, like Windows XP looks now against Windows 7. In contrast, I like the HTC Sense changes and the stock Android look. None of them are perfect, but they are not ugly. The Samsung one just feels inconsistent &ndash; or rather, I find the consistencies to be jaring.</p>

<p>The physical build of the phone is my main issue. The iPhone 4S, 5 and Nexus 4 all feel solid in my hand. I&rsquo;m not going to slip and drop it, or put it in my pocket and break it. And if I did drop it, it&rsquo;s not going to break more than a slight scratch.</p>

<p>The SGS3 feels like it would crack if I put it in my front pocket, and sat down accidentally. It just feels brittle and lightly built.</p>

<p>Not something you want in a phone.</p>

<p>By the same token, the screen is huge, and even with my fairly large hands, I have to use two hands to do anything more than basic functions. The Nexus 4 is the same, so I guess I just don&rsquo;t like 4.7 inch phones. Contrast that with the iPhone 5 which I can use with one hand with no issues.</p>

<p>On the flip side of this, the iPhone 5 feels like a toy now &ndash; more so with the 4S &ndash; but strangely, it still shows the same amount of data. <a href="http://blog.xero.com/2012/11/windows-phone-from-an-iphone-perspective/">Rod Drury had a good post on this effect when he got a Lumia 920</a>. I find the same with the big Android phones, just not to the same extreme as with Windows Phone.</p>

<p>From the look of it, the SGS4 is the same. Same materials, same size, slightly larger screen, same weight etc. So, I&rsquo;m going to assume that I&rsquo;d like it about as much &ndash; which is very little. But I&rsquo;m going to try one if I can get my hands on one without spending £600. Like pokemon, gotta try them all.</p>

<p>I suspect that Samsung will sell a boat load of these, like they did with the SGS3. At the moment, they are selling 1 for every 2 iPhones Apple sells. I&rsquo;d expect this to be closer to 1:1 ot 1.5:1 by the end of the year. But really, it&rsquo;s now a 2 horse race: Apple, and Samsung. Which isn&rsquo;t good for consumers. It <strong>is</strong> great for cross-platform mobile developers like me tho &ndash; and indeed, anyone using the <a href="http://xamarin.com">Xamarin</a> toolset, or an equivalent tool[1].</p>

<hr />

<p>[1] There isn&rsquo;t an equivalent tool&hellip;&hellip;</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Campus Quad case study; pttrns]]></title>
    <link href="http://fastchicken.co.nz/2013/03/01/campus-quad-case-study-pttrns/"/>
    <updated>2013-03-01T13:57:00+00:00</updated>
    <id>http://fastchicken.co.nz/2013/03/01/campus-quad-case-study-pttrns</id>
    <content type="html"><![CDATA[<p>A couple of nice design posts for your Friday viewing pleasure:</p>

<ul>
<li><a href="http://pttrns.com">Pttrns</a> has had a bit of a content upgrade, with loads of new apps showcased. You can drill into the type of interaction you are looking for (login, lists, capture, checkin etc), and find how some of the best apps do it.</li>
<li><a href="http://softfacade.com/work/campusquad/">SoftFacade has a very detailed case study / retrospective</a> on the app <a href="http://itunes.apple.com/app/campus-quad/id552178021?mt=8">Campus Quad</a>. Just the page it&rsquo;s on is lovely &ndash; the app itself is great, and they break down the build from concept and wirefrmes thru the various components of the interface and the final app. It&rsquo;s an awesome level of detail, and I wish more companies would do this.</li>
</ul>


<p>Enjoy!</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Xamarin Studio Cheat Sheet / Keymap]]></title>
    <link href="http://fastchicken.co.nz/2013/02/27/xamarin-studio-cheat-sheet/"/>
    <updated>2013-02-27T21:24:00+00:00</updated>
    <id>http://fastchicken.co.nz/2013/02/27/xamarin-studio-cheat-sheet</id>
    <content type="html"><![CDATA[<p><a href="http://xamarin.com/">Xamarin Studio 4.0</a> was recently released, and as a lot of people might have started using it, I thought it might be a good idea to do a cheat sheet (or default key map) to give you an easy to find list of common keyboard shortcuts.</p>

<p>IntelliJ were one of the first ones to do this with <a href="http://www.jetbrains.com/resharper/docs/ReSharper70DefaultKeymap_IDEA_scheme.pdf">Resharper</a>, which has a lot of very complex keystrokes, and I must admit, I learned a lot about Xamarin Studio just by going through and writing the keys down.</p>

<p>This is based on the default key bindings &ndash; obviously, you can customise and add more in the settings.</p>

<p><a href="http://fastchicken.co.nz/uploads/Xamarin-Cheatsheet.pdf">You can grab a copy of the PDF here</a>. It should print out ok on A4 and US Letter.</p>

<p>If you have any other obvious ones which I&rsquo;ve missed, <a href="mailto:nicw@fastchickken.co.nz">email them over</a> and I&rsquo;ll add them in. I didn&rsquo;t think there was much point with things like copy and paste &ndash; everyone should know those.</p>

<hr />

<p>On a similar note, <a href="https://twitter.com/praeclarum/status/306498628996980736">Frank Kreuger</a> pointed out Source Analysis:</p>

<blockquote><p>@praeclarum: If you haven&rsquo;t tried Xamarin Studio ➔ Preferences ➔ Text Editor ➔ Source Analysis, you&rsquo;re missing out.</p></blockquote>

<p>It&rsquo;s new in Xamarin Studio, and it does nice things like hinting that you might like to extract a delegate into a method, or that you might be comparing two floats in an incorrect way. (in this case, &ldquo;you&rdquo; is me).</p>

<p>It also offers to fix them. Which is rather awesome.</p>

<p>I knew about this before, but I thought it needed Mono 3.x and a beefy machine. I can&rsquo;t confirm it&rsquo;ll work on low end hardware, but it doesn&rsquo;t appear need Mono 3.x.</p>

<p>Worth trying out!</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[New Xamarin 2.0 tools; Cheat Sheet for getting Apps reviewed; How to design for Android]]></title>
    <link href="http://fastchicken.co.nz/2013/02/20/new-xamarin-tools-cheat-sheet-for-getting-apps-reviewed-how-to-design-for-android/"/>
    <updated>2013-02-20T11:59:00+00:00</updated>
    <id>http://fastchicken.co.nz/2013/02/20/new-xamarin-tools-cheat-sheet-for-getting-apps-reviewed-how-to-design-for-android</id>
    <content type="html"><![CDATA[<h2>The quick stuff</h2>

<ul>
<li>Tope over at <a href="http://www.appdesignvault.com/">AppDesignVault</a> has a <a href="http://www.appdesignvault.com/iphone-app-reviews">cheat sheet</a> for getting your app reviewed on the major websites (TUAW et al). I plan on try his tips when I&rsquo;m done with the major rework of <a href="http://fastchicken.co.nz/tripwallet">Trip Wallet</a> that I&rsquo;m nearly done with.</li>
<li><a href="http://blog.mengto.com/">Meng To</a> has a lovely visual guide on <a href="http://blog.mengto.com/how-to-design-for-android-devices/">how to design for Android devices</a>, including back buttons, the major resolutions, and proper use of the action bar. Well worth a read.</li>
</ul>


<h2>And now the major stuff!</h2>

<p>Today, <a href="http://blog.xamarin.com/announcing-xamarin-2.0/">Xamarin launched a host of new stuff for mobile developers</a> &ndash; <strong>Xamarin 2.0</strong>.</p>

<ul>
<li><p>A re-designed and re-thought out version of MonoDevelop, now called <a href="http://xamarin.com/studio">Xamarin Studio</a>. It takes a lot of its look and feel from Xcode, but without the complexity. At its core, it&rsquo;s still MonoDevelop, but it feels like a whole new beast.</p></li>
<li><p><a href="http://xamarin.com/monotouch">MonoTouch</a> is now <a href="http://xamarin.com/monotouch">Xamarin.iOS</a>, and <a href="http://xamarin.com/monoforandroid">Mono for Android</a> is now <a href="http://xamarin.com/monoforandroid">Xamarin.Android</a>. <a href="http://xamarin.com/mac">Xamarin.Mac</a> was a good indication of where and why this was going in the direction it was going. This divorces the Mono brand (which I think Xamarin doesn&rsquo;t own) from the products.</p></li>
<li><p>Each one now has three editions: Starter, Indie and Business. <strong>Business</strong> is the old professional, and is licensed per seat. It&rsquo;s everything. <strong>Indie</strong> is targeted at individuals who are putting apps in the store (like me), and is licensed to a person. There is no Visual Studio support or LLVM. <strong>Starter</strong> is the free version, which now allows you to do on device deployment, with a few limitation. <strong>If you had a professional license, you now have a Business license</strong>, but I suspect you can change it when you upgrade again. <a href="https://store.xamarin.com/account/my/pricing">All the pricing has changed</a>, too, so check the site if you had discounted these tools because of the cost. (the old 5% discount I used to have isn&rsquo;t working now, but I&rsquo;m told it&rsquo;ll be coming back &ndash; talk to me or Xamarin sales if that was a deal breaker)</p></li>
<li><p>[Updated]: If you bought MonoTouch/Mono for Android, you get upgrades at the existing, pre-Xamarin 2.0 price ($249.00?) &ndash; no expiry date. <a href="http://xamarin.com/xamarin-2.0-faq">More info in the FAQ</a>.</p></li>
<li><p>All of the products now support on-device deployment with the free Starter Edition. You can use the starter edition to build real apps, and deploy them to your own devices or the AppStore. There is a limit on size (32k of IL, no P/Invoke), and you don&rsquo;t get the LLVM optimisations, but for smaller projects or people testing the waters, this is ideal.</p></li>
<li><p>The new <a href="http://components.xamarin.com">Component Store</a> is a nice way to find and get Xamarin.iOS and Xamarin.Android components &ndash; I&rsquo;ve put <a href="http://fastchicken.co.nz/2013/02/20/introducing-btprogresshud/">BTProgressHUD</a> up there &ndash; and <a href="https://components.xamarin.com/view/btprogresshud/">it&rsquo;s been approved already</a>. It&rsquo;s not a replacement for something like NuGet, but it&rsquo;s a nice discovery tool. If you put your components in there, you can charge for them too &ndash; Xamarin handles the payment, you get 70%. The component store even includes some skins and non-code resources to help make your apps look great.</p></li>
<li><p>All the dll&rsquo;s (monotouch.dll etc) are now signed, so you can also sign your own assemblies. The down side of this is that a lot of things need to be recompiled against the signed version, but you only have to do this once.</p></li>
<li><p>I&rsquo;m told, lots of bug fixes. Lots and lots of bug fixes, which is another way of saying <strong>polish</strong>. It was a stable and polished product before, now it&rsquo;s even more so.</p></li>
<li><p>For those wondering, it does not including C# 5 async support. This is in Mono 3.x, but Xamarin.iOS and Xamarin.Android have their own internal Mono version, which is in the process of being upgraded. Watch the space, because async/await is so incredibly useful for mobile development.</p></li>
</ul>


<p>I&rsquo;ve been using Xamarin Studio full time for the last few months (thanks Xamarin!), and it&rsquo;s rock solid and stable. If you are used to Visual Studio and found MonoDevelop hard to use, then it may not change your mind, but if you liked MonoDevelop, Xamarin Studio is a nice evolution of that. Just not having to have a 100GB VM sitting on my SSD was enough for me to persevere with it, and now I love it.</p>

<p>The other <em>huge</em> new feature is that <strong>Xamarin.iOS now officially works inside Visual Studio</strong>. No more hacking the project files and copying over monotouch.dll &ndash; it works out of the box, including doing builds and deploying to your device.</p>

<p>This works by communicating to a service running on your Mac, which does most of the hard work of building and deploying &ndash; yes, you still need a Mac, there is (and never will be) no way around this. But on the up side, you get to use Visual Studio, Resharper, and all the tools that most .NET developers know and love.</p>

<p>The model is either a VM (windows) on a Mac (running the service), or a separate windows machine communicating over the network to a remote Mac. Either will work, but you can&rsquo;t share the Mac between developers (that would be a license nightmare).</p>

<p>(Personally, I&rsquo;m sticking with Xamarin Studio &ndash; I&rsquo;ve got very used to it in the past 2 years, and I don&rsquo;t have any major issues with it, but I know a lot of people who much, <em>much</em> prefer Visual Studio)</p>

<p>All up, outstanding work from all the folks at Xamarin &ndash; this has been a while in the making, and it&rsquo;s great to see it released!</p>

<p>Hope to see you at <a href="http://xamarin.com/evolve">Xamarin Evolve</a> in April!</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Introducing BTProgressHUD]]></title>
    <link href="http://fastchicken.co.nz/2013/02/20/introducing-btprogresshud/"/>
    <updated>2013-02-20T08:46:00+00:00</updated>
    <id>http://fastchicken.co.nz/2013/02/20/introducing-btprogresshud</id>
    <content type="html"><![CDATA[<p>It&rsquo;s all <strong>very</strong> <strong><em>exciting</em></strong>.</p>

<p>Oh wait. That&rsquo;s something else. This isn&rsquo;t very exciting. But it <strong>is</strong> <strong><em>very</em></strong> useful.</p>

<p>I&rsquo;ve needed a decent progress HUD in my apps for a while. I was using ATMHud for a while, and while that works, it doesn&rsquo;t take the device rotation into account. Plus, it was a bit messy &ndash; you had to register it with your base window.</p>

<p>So I had a look around, and found <a href="https://github.com/samvermette/SVProgressHUD">SVProgressHUD</a> which is referenced by pretty much every iOS app out there. I don&rsquo;t really like using ObjC bindings unless I have to (read: too much code to port), so on a recent <a href="http://leoniewise.com/2013/02/postcards-from-tokyo/">long haul flight to Japan</a>, I ported <a href="https://github.com/samvermette/SVProgressHUD">SVProgressHUD</a> to <a href="http://xamar.in/r/nicwise/store.xamarin.com">MonoTouch</a>.</p>

<p>And so, I give you <a href="https://github.com/nicwise/BTProgressHUD/">BTProgressHUD</a>.</p>

<p><img src="http://f.cl.ly/items/3r2x0b1E1O2F0V422a3R/screenshots2.png" alt="the shot is actually SVProgressHUD, but as it's a 1:1 port, it looks the same" /></p>

<p>It&rsquo;s a 1:1 port of <a href="https://github.com/samvermette/SVProgressHUD">SVProgressHUD</a>, with the addition of <a href="http://developer.android.com/guide/topics/ui/notifiers/toasts.html">Android-style toasts</a>.</p>

<p>As I said, not overly exciting, but very useful.</p>

<p>More info is on <a href="https://github.com/nicwise/BTProgressHUD/">GitHub</a>, including a sample. Feel free to use it, and submit bugs and the like.</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[FreeAgent automated bank feeds and mobileAgent]]></title>
    <link href="http://fastchicken.co.nz/2013/02/06/freeagent-automated-bank-feeds-and-mobileagent/"/>
    <updated>2013-02-06T16:48:00+00:00</updated>
    <id>http://fastchicken.co.nz/2013/02/06/freeagent-automated-bank-feeds-and-mobileagent</id>
    <content type="html"><![CDATA[<p><a href="http://www.freeagent.com/central/bank-feeds-have-arrived">FreeAgent just announced they have released automated bank feeds</a>:</p>

<blockquote><p>Sometime back in the late Cretaceous period we announced that development had started on Bank Feeds. Since then, tectonic plates have shifted, civilisations have risen and fallen, and all the while, work has continued inexorably on Bank Feeds.</p>

<p>The year is now 2013 and the great news is the coming of Bank Feeds is now upon us. But is it such a big deal?</p>

<p><strong>Yes, this is a big deal!!!</strong></p>

<p>Bank Feeds automate the process of importing bank transactions from your bank into FreeAgent.</p></blockquote>

<p>I agree with Roan &ndash; this is a <strong>big deal</strong>. We use FreeAgent for our business, and Xero Personal for our personal stuff. <a href="http://www.xero.com/">Xero</a> recently added automated bank feeds for <a href="https://www.xero.com/personal/">Xero Personal</a> &ndash; they have had it for the main Xero product for a long time.</p>

<p>To say it makes a difference is an understatement: we <em>use</em> it now, rather than putting things off until later. We don&rsquo;t have to put a calendar reminder in to do imports before the bank removes the data. Throw in <em>scheduled</em> automated bank feeds (daily like FreeAgent, or even weekly) and a mobile app, and that would solve 80% of my problems with the UK personal banking system.</p>

<p>Which brings me to <a href="http://fastchicken.co.nz/mobileagent">mobileAgent</a>.</p>

<p>In the <a href="2012/09/07/mobileagent-1-dot-9-released-on-the-appstore/">recent versions of mobileAgent</a>, I now show the current bank account balances and the last 30 days of transactions, so you can see your up-to-date transactions on your iPhone.</p>

<p>Which, frankly, is pretty cool.</p>

<p>All you need to do &ndash; once the FreeAgent part is all setup and working &ndash; is open mobileAgent, hit Refresh (top right of the toolbar), wait bit for the download, and you are up to date!</p>

<p>If you consider this information to be especially sensitive, you can also set a pin number on mobileAgent, which requires you to enter it before you can open mobileAgent. It&rsquo;s at the bottom of the Setting screen.</p>

<p>Side note: <em>mumble grumble</em> I&rsquo;m with a bank thats not supported by this yet &ndash; not FreeAgent&rsquo;s fault tho. I&rsquo;d consider switching, but we might not be in the country for much longer, so it&rsquo;s not worth it. But <a href="https://github.com/lukeredpath/hsbcscraper">Luke Redpath has a wee script which fixes that</a>, but it does need manual execution. Some Ruby skills required however. I&rsquo;ll be trying this out shortly, I think.</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Ry's Objective-C Tutorial]]></title>
    <link href="http://fastchicken.co.nz/2013/02/06/rys-objective-c-tutorial/"/>
    <updated>2013-02-06T13:16:00+00:00</updated>
    <id>http://fastchicken.co.nz/2013/02/06/rys-objective-c-tutorial</id>
    <content type="html"><![CDATA[<p>TL;DR: <a href="http://rypress.com/tutorials/objective-c/index.html">An especially good tutorial for Objective-C from RyPress</a>, which covers all the basics, without being too basic.</p>

<p>Over the years, I&rsquo;ve used a few languages, starting with Pascal and Delphi then Java and C#, amongst others. Objective-C was always an oddball language because of its syntax and industry usage. It felt like C, but then there were the square brackets everywhere! However, in a lot of ways it was a long way ahead of its time: <a href="http://en.wikipedia.org/wiki/Objective-C#Messages">message passing</a> and <a href="http://en.wikipedia.org/wiki/Objective-C#Forwarding">forwarding</a>, <a href="http://en.wikipedia.org/wiki/Objective-C#Protocols">protocols</a>, <a href="http://en.wikipedia.org/wiki/Objective-C#Dynamic_typing">dynamic typing</a>, <a href="http://en.wikipedia.org/wiki/Objective-C#Categories">categories</a>. Even back in 1996 when we did it at University, it felt different, and yet a lot more powerful than the current languages of the time (C, C++ and Java for me back then).</p>

<p>Since 2002, I&rsquo;ve been firmly in the C# camp, which has evolved from a basic Delphi-like language (with squiggly brackets) into a well designed, fully formed language with a huge class library. Objective-C hadn&rsquo;t moved much <a href="http://en.wikipedia.org/wiki/Objective-C#Objective-C_2.0">until Apple released iOS</a>, and when I first looked into iOS development, it felt old &ndash; its core ways of working hadn&rsquo;t moved with the times, manual memory management being one of the major things I wasn&rsquo;t willing to go back to.</p>

<p>Since then, <a href="http://en.wikipedia.org/wiki/Objective-C#Modern_Objective-C">Apple has done some fantastic work making it a more modern language</a>, but without breaking the original spirit of the language. <a href="http://en.wikipedia.org/wiki/Objective-C#Properties">Properties</a>, dot notation, <a href="http://en.wikipedia.org/wiki/Objective-C#Automatic_Reference_Counting">ARC</a>, <a href="http://en.wikipedia.org/wiki/Objective-C#Blocks">blocks</a> and <a href="http://en.wikipedia.org/wiki/Objective-C#Literals">literals</a> go a long way to making me like the language.</p>

<p>A lot of it is the compiler writing code for you, eg:</p>

<figure class='code'> <div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
</pre></td><td class='code'><pre><code class='objc'><span class='line'><span class="kt">id</span> <span class="n">object1</span> <span class="o">=</span> <span class="p">[</span><span class="n">someArray</span> <span class="nl">objectAtIndex:</span><span class="mi">0</span><span class="p">];</span>
</span></code></pre></td></tr></table></div></figure>


<p>becomes</p>

<figure class='code'> <div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
</pre></td><td class='code'><pre><code class='objc'><span class='line'><span class="kt">id</span> <span class="n">object1</span> <span class="o">=</span> <span class="n">someArray</span><span class="p">[</span><span class="mi">0</span><span class="p">];</span>
</span></code></pre></td></tr></table></div></figure>


<p>But thats what the compiler should be there for &ndash; to make your life easier and safer, and to force you to write less (or no) boiler plate code. Ruby and Rails got this right in a big way, with rails at times feeling like it&rsquo;s own language.</p>

<p>Most of my mobile work, however, is in <a href="http://xamar.in/r/nicwise/xamarin.com/monotouch">MonoTouch</a> and <a href="http://xamar.in/r/nicwise/xamarin.com/monoforandroid">Mono for Android</a>, which is all C#-based. However, most samples for iOS development are in Objective-C, being able to at least read Objective-C code is (or should be) a requisite requirement for anyone doing iOS development with any tool &ndash; XCode, MonoTouch, RobyMotion, and even Phonegap.</p>

<p>The same goes for Android development: if you want to be effective, learn to read Java (thankfully, thats quite easy for C# developers).</p>

<p><a href="http://mattgemmell.com">Matt Gemmell</a> linked to <a href="http://rypress.com/tutorials/objective-c/index.html">an especially good tutorial for Objective-C from RyPress</a>, which covers all the basics, without being too basic.</p>

<p>If you are doing iOS development in any language, it&rsquo;s well worth reading and understanding.</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[UICollectionView tutorials]]></title>
    <link href="http://fastchicken.co.nz/2013/01/31/uicollectionview-tutorials/"/>
    <updated>2013-01-31T16:27:00+00:00</updated>
    <id>http://fastchicken.co.nz/2013/01/31/uicollectionview-tutorials</id>
    <content type="html"><![CDATA[<p>It appears that the <a href="http://developer.apple.com/library/ios/#documentation/uikit/reference/UICollectionView_class/Reference/Reference.html">UICollectionView</a> is getting some well deserved love. UICollectionView is a successor &ndash; or just a well designed sidekick &ndash; to the UITableView, and provides a great way to display a list of items and let the user scroll thru them and select them.</p>

<ul>
<li>For those like me using <a href="http://xamar.in/r/nicwise/store.xamarin.com">MonoTouch</a>, Xamarin have a <a href="http://docs.xamarin.com/ios/Guides/User_Interface/Introduction_to_CollectionViews">tutorial on collection views</a> and a <a href="http://xamarin.com/seminars">video seminar from Mike Bluestein</a>.</li>
<li><a href="https://github.com/mpospese">Mark Pospesel</a> has an excellent <a href="https://dl.dropbox.com/u/108108523/CocoaConf%20RTP/Introducing%20Collection%20Views.pdf">slide deck</a> and <a href="https://github.com/mpospese/IntroducingCollectionViews">sample</a> showing grids, cover flow, and how to make your own layout. It&rsquo;s also <a href="https://github.com/seanlilmateus/CollectionViewPlayGround">been ported to RubyMotion</a>, which might make it a lot easier to read for anyone using <a href="http://xamar.in/r/nicwise/store.xamarin.com">MonoTouch</a>, as it&rsquo;s only using code, not XIBs and storyboards.</li>
<li><a href="http://www.skeuo.com/uicollectionview-custom-layout-tutorial">Bryan Hansen</a> has a <a href="http://www.skeuo.com/uicollectionview-custom-layout-tutorial">great tutorial</a> on doing custom layouts, which I found very useful in my current project.</li>
<li>Finally <a href="https://github.com/chiahsien">Nelson</a> has a good sample for doing Pinterest-style <a href="https://github.com/chiahsien/UICollectionViewWaterfallLayout">waterfall layouts</a>.</li>
</ul>


<p>Most of these are in Objective-C, but if you are doing iOS development and can&rsquo;t at least read Objective-C, I suggest you stop what you are doing, and learn enough to read it. It makes life a lot easier.</p>

<p>If you can target iOS6+ for your app, the UICollectionView is a lovely component to use &ndash; and while you could do a UITableView-style element with UICollectionView, I&rsquo;d love to see UITableView2, which had the function or UITableView, but with interface clean up of UICollectionView.</p>

<p>Almost worth going iOS6 only for.</p>

<p><strong>BONUS</strong>: <a href="http://ivomynttinen.com/blog/the-ios-design-cheat-sheet-volume-2/">The iOS Design Cheat Sheet</a>. Just how high was that title bar&hellip;..</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[Options, Apple and Stock Manipulation]]></title>
    <link href="http://fastchicken.co.nz/2013/01/23/options-apple-and-stock-manipulation/"/>
    <updated>2013-01-23T08:23:00+00:00</updated>
    <id>http://fastchicken.co.nz/2013/01/23/options-apple-and-stock-manipulation</id>
    <content type="html"><![CDATA[<p>There has been lots of talk about the Apple share price recently, around how its gone from around $700 to $500 in the past 3 months, all with very little apparent reason. <a href="http://daringfireball.net/linked/2013/01/18/500">Gruber has a number of very good pieces on it</a> if you are so inclined.</p>

<p>What I want to talk about is what&rsquo;s going on here. Not the &ldquo;conspiracy&rdquo; side of it (and I&rsquo;d not be surprised at all if Wall St is manipulating the price), but the mechanics of Options, as I think it&rsquo;s something that a lot of people don&rsquo;t know much about.</p>

<h2>Stock &ndash; buying, selling and shorting</h2>

<p>The concept of owning stock is easy: I want a stake in Apples future, so I buy 100 shares at $500 ($50,000 worth). Stock goes up, I make money. Stock goes down, I lose money. Easy. As a normal punter, I have no control over the price, and the price should be based on how the company is doing.</p>

<p>Should. It&rsquo;s not, but it should. More on that later.</p>

<p>If I think Apple is going to go down, I can <strong>short sell</strong> (or just <strong>short</strong>) Apple. This means I borrow the shares from someone, sell them at $500, and when they go down to $450, I can buy them back (and give them back to the original owner) and make a $50 profit.</p>

<p>Of course, if they go up, I&rsquo;m screwed &ndash; I have to pay $550 to buy them back, and then only get $500 back, losing $50, but thats what the traders get the big bucks for &ndash; risk management.</p>

<p>If the borrowing sounds odd (who&rsquo;d loan their shares out?), remember this is all automated, brokerages require anyone shorting to have a cash balance high enough to cover losses, and the actual owner of the shares never knows (or cares) that &ldquo;their&rdquo; stock has been sold and then returned. It&rsquo;s invisible.</p>

<blockquote><p>In all this, I&rsquo;m going to use Apple as an example, with a current price of $500. This is just as an easy, round-number example.</p></blockquote>

<h2>Options</h2>

<p>Options are what is called a <strong>derivative</strong>, as their price is derived from the price of the thing they are based on. Futures are also a derivative &ndash; their price is based on the price of the underlying commodity, eg the price of coffee. In the case of options, the underlying asset is the stock.</p>

<p><a href="http://www.investopedia.com/terms/o/option.asp#ixzz2Imn674kA">Investipedia has a nice definition</a> which makes very little sense to the layman:</p>

<blockquote><p>A option is a financial derivative that represents a contract sold by one party (option writer) to another party (option holder). The contract offers the buyer the right, but not the obligation, to buy (call) or sell (put) a security or other financial asset at an agreed-upon price (the strike price) during a certain period of time or on a specific date (exercise date).</p></blockquote>

<p>So what does this mean? There are two sides to it.</p>

<h3>I own some stock, I want to make some money on it.</h3>

<p>Shares in the US seldom pay a dividend to the shareholders, and if they do, it&rsquo;s not usually a large amount. So if you hold Apple, and want to make some money, you can create (write) an option. You literally sell a promise note, saying:</p>

<blockquote><p>On Jan 15, I will sell the holder of this note my shares for $550, if they want them.</p></blockquote>

<p>The components, which are in the definition, are the keys here.</p>

<ul>
<li><strong>Jan 15</strong>: It has a specific expiry date. After this date, the note is worth NOTHING.</li>
<li><strong>sell</strong>: The action. I will sell my shares to the holder. This is a <strong>call</strong> option (the other is a <strong>put</strong>)</li>
<li><strong>$550</strong>:  The <strong>strike</strong> price. What price I&rsquo;m going to sell my shares at.</li>
<li><strong>if they want them</strong>: The holder of the note doesn&rsquo;t have to buy the shares if they don&rsquo;t want to. Infact, most (99+%) of options are never exercised (the underlying stock is never traded)</li>
</ul>


<p>For this, I get a premium, like an insurance company does. The premium is based on the amount of time before it expires (time value), and the relationship between the option strike price and the shares current price (intrinsic value). Intrinsic value can go up. Time value always ticks down.</p>

<p>Options are very similar to insurance in this way, and hedge funds can use them to &ldquo;hedge&rdquo; or insure themselves against stocks going down:</p>

<blockquote><p>I (the insurance company) will replace your phone if you break it before Feb 28. For this you will pay $5 for a phone of value $500. On March 1st, we renegotiate and you pay again.</p></blockquote>

<p>If I do this &ndash; sell a call &ndash; I keep the premium regardless, and if the stock price is over $550 when the option expires, there is a chance the stock will be bought. If it&rsquo;s under, the option expires, I keep the premium, and it all starts again.</p>

<p>This is called <strong>writing covered calls</strong>, as I cover it with the stock I own. You can also write <strong>naked</strong> calls, but unless you have an exceptional bank balance (Wall St), this is a good way to lose money.</p>

<p><strong>This is what Wall St is said to be doing (they wrote a LOT of calls, and I suspect they were naked). If Apple closed at $500, and they wrote options at $500 or above, they keep the premium, and the shares</strong>. Easy money.</p>

<h2>I want a stake in Apple, and I think they are going to go up, but I don&rsquo;t want to shell out $500/share</h2>

<p>For this, you might <strong>buy a call option</strong>. So if Apple is $500 now, and you think it&rsquo;ll go to $600 before the middle of March (March 13 expiry), you would buy a <strong>March 2013 $600 Call</strong>. Options always expire on a specific friday of the month (3rd Friday).</p>

<p>Right now, the price of that option is <a href="http://www.google.com/finance/option_chain?q=NASDAQ%3AAAPL&amp;ei=Q6T_UND2MYqmwAO5TQ">$3.52</a> per share. I have to buy in contracts, and a contract is 100 shares, so if I buy 100 contracts, I have to pay $35,200. But I control $5,000,000 worth of Apple shares.</p>

<p>Time goes by. I can sell the option to someone else at the current price or keep it.</p>

<p>If the stock price stays the same, the option price will decrease over time, as the time component loses value. If the stock price goes up, the price of the option will go up (and down a little, as it still loses time value, but the increase in stock price offsets it).</p>

<p>If you are options trading, you sell it to make your money (and you can make 10-100% in 2-3 days if you do it right). If you <em>want</em> to own Apple stock, you can wait until it expires, and exercise it. But you&rsquo;d need $5m cash sitting around (on the plus side, you&rsquo;d then own stock worth $6m)</p>

<p>To give you an idea, if Apple jumped from $500 to $600 overnight, the option price is likely to go from $3.52 to around $30. Not a bad 10x return on your money. In reality, it might do that over a month or 2, so you would lose time value too, but the idea holds.</p>

<p><strong>Puts</strong> are the opposite of calls. They are used when you think the stock will go down, and the contract looks like:</p>

<blockquote><p>I will buy your shares at $450 on 15 Jan, if you want me to.</p></blockquote>

<p>If Apple is at $500 on Jan 15, thats a great deal for the seller (they keep the premium and don&rsquo;t have to buy the shares. No one would say &ldquo;here&rsquo;s a $500 share, just give me $450 for it&rdquo;). If they are at $400, it&rsquo;s not. If you buy a put (usually to offset an expected loss), and it hits $400, thats a great result for the buyer.</p>

<hr />

<p>I hope that&rsquo;s covered a bit of the basics of options. They are not overly complex or scary, but they can get you into a whole lot of trouble if you do it wrong, or get on the wrong side of one. I&rsquo;ve not covered things like getting out of a contract (if you sold a call, you just buy one back at the market price to close it), but from what I know, the theory is solid.</p>

<p>I&rsquo;ve also not covered <a href="http://en.wikipedia.org/wiki/Spread_betting">Spread Betting</a> which is very popular in the UK, as it&rsquo;s not a &ldquo;real&rdquo; financial trading tool &ndash; it&rsquo;s literally gambling against a casino.</p>

<p>I am strongly of the opinion that the stock market &ndash; mostly the big ones &ndash; are a bit of a casino. The &ldquo;normal&rdquo; player has no chance against the big boys and their computer-driven trading, who can get in and out of a trade before you even get the chance to buy. The stock price is also based not on &ldquo;expected potential future earnings&rdquo;, but just on the whims of analysts and traders with huge bank accounts, very large computing grids and 10ms ping times to the trading computers.</p>

<p>The other people trading the same stock as you are almost never &ldquo;like you&rdquo; &ndash; they have funds in the billions, and none of it is their money. Unless you buy and hold, you have no chance.</p>

<p>Now, just how many iPhone has Apple sold this quarter &ndash; thats the $5b question.</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[The Hobbit and HFR]]></title>
    <link href="http://fastchicken.co.nz/2013/01/14/the-hobbit-and-hfr/"/>
    <updated>2013-01-14T13:06:00+00:00</updated>
    <id>http://fastchicken.co.nz/2013/01/14/the-hobbit-and-hfr</id>
    <content type="html"><![CDATA[<p><a href="http://leoniewise.com">Leonie</a> and I finally got to see The Hobbit this weekend. We&rsquo;ve been busy since it came out, but as we know a few people who&rsquo;ve worked on it, I wanted to see it &ldquo;how it was supposed to be seen&rdquo;: High Frame Rate, 3D, on a 4K screen with a very modern sound system.</p>

<p>First, the film: as a first part, I really enjoyed it. I have read The Hobbit a few times, but not for many years. While I had a general idea of what was happening next, it wasn&rsquo;t predictable. In general, I enjoyed it. I have no idea how they are going to fill two more movies with whats left of the story, but I&rsquo;ll leave that to the writers.</p>

<p>For me, the 3D really works. Since Avatar, every 3D movie I&rsquo;ve seen I&rsquo;ve really enjoyed, and the ones that use the 3D to enhance the story (Hobbit, Avatar, Prometheus, Skyfall) have drawn me further into the story, which is really the point of it.</p>

<p>High Frame Rate (HFR) is something I can&rsquo;t get into. I don&rsquo;t get the headaches that some people do, it just looks fake to me. It looks like I&rsquo;m looking into a film set, not into Middle Earth. I find it distracting and off-putting, especially the lighting on close ups of faces &ndash; eg during the dinner scene in Bilbos house.</p>

<p>Peter Jackson&rsquo;s motivation was that with normal 3D, the movement tends to jump and blur a lot unless you increase the frame rate. I would absolutely agree with him, but I&rsquo;m not sure this is the answer. I also read that motion blur can be added in in post production, but at a huge cost.</p>

<p>We had the same issue when we were on holiday over Christmas. The <a href="http://leoniewise.com/2013/01/christmas-in-cornwall/">place we stayed in</a> had a fairly modern TV (and Sky SD, not HD), but everything &ndash; including Lord of the Rings and Doctor Who &ndash; just looked fake, like the lighting department went on holiday and they hired the crew from Days of our Lives. I couldn&rsquo;t for the life of me find the off switch for the higher frame rate on the TV, even tho there were <a href="http://news.cnet.com/8301-33620_3-57410231-278/the-soap-opera-effect-when-your-tv-tries-to-be-smarter-than-you/">numerous forum posts and articles about the exact problem and how to fix it</a>.</p>

<p>I only have two data points &ndash; Leonie and I &ndash; but I wonder if finding HFR to be distracting is linked to frame rate sensitivity. I found the TV unwatchable (not a bad thing) and The Hobbit watchable, but only just. Leonie found the Hobbit to be fine, and the TV to be watchable, but &ldquo;awful&rdquo;.</p>

<p>Our eyes are very different, however. I can look at a working fluorescent tube office light and see a faint flicker. Leonie can&rsquo;t. One of the shops on the high street has a broken bulb &ndash; I can see it flickering like a strobe light in a club, and find it distracting to the point where I can&rsquo;t really think and start to get a headache. Leonie can only see a faint flicker, if anything at all.</p>

<p>Back in the days of CRT monitors &ndash; which I&rsquo;m so very glad are behind us &ndash; I could never use 60hz, which was the default: I had to crank the refresh up to 75 or 80hz, which ment if I wanted a good resolution (over 1024x768 &ndash; this was the 1990s!) I had to pay top dollar for a monitor. Not good when I was a broke student.</p>

<p>I wonder if the two are linked. The Hobbit was a little distracting, but it&rsquo;s something I would normally be sucked into so far, that I&rsquo;d basically have no memory of the cinema &ndash; only of the movie. Not so this time.</p>

<p>If you have any thoughts on this, drop me <a href="http://twitter.com/fastchicken">a tweet</a> or <a href="mailto:nicw@fastchicken.co.nz">email</a>. I&rsquo;d love to hear how others found the High Frame Rate, and if you are sensitive to fluorescent or monitor flicker. I&rsquo;m going to try to go and see The Hobbit again, just in normal 3D, and for the next one, I&rsquo;m going to avoid the HFR version.</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[MonkeySpace / Monkey Square videos available]]></title>
    <link href="http://fastchicken.co.nz/2013/01/10/monkeyspace-slash-monkey-square-videos-available/"/>
    <updated>2013-01-10T09:42:00+00:00</updated>
    <id>http://fastchicken.co.nz/2013/01/10/monkeyspace-slash-monkey-square-videos-available</id>
    <content type="html"><![CDATA[<p>The videos for <a href="http://monkeyspace.org/">MonkeySpace</a> / <a href="http://monkeysquare.org/">Monkey Square</a> are up <a href="http://vimeo.com/monkeysquare">on vimeo, and worth a look</a>.</p>

<p>MonkeySpace (run by Monkey Square &ndash; yes, it&rsquo;s a little confusing at the moment) is:</p>

<blockquote><p>is the official cross platform and open-source .NET conference. Want to learn more about developing for the iPhone, Android, Mac, and *nix platforms using .NET technologies? How about developing games or learning more about open-source projects using .NET technologies? MonkeySpace has provided an annual venue to collaborate, share, and socialize around these topics and more.</p></blockquote>

<p>I&rsquo;m hoping a few more go up, as <a href="http://fastchicken.co.nz/2012/10/19/slides-and-code-from-monkeyspace/">there are some I linked to before which I really want to see</a>.</p>

<p>As Monkey Square is a non-profit (tax deducable if you are in the US, i would assume), <a href="http://monkeysquare.org/">if you find the videos interesting, please donate</a>, so they can do more of them.</p>
]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[C# is dead (again). Long live C#]]></title>
    <link href="http://fastchicken.co.nz/2012/12/12/c-number-is-dead-again-long-live-c-number/"/>
    <updated>2012-12-12T17:49:00+00:00</updated>
    <id>http://fastchicken.co.nz/2012/12/12/c-number-is-dead-again-long-live-c-number</id>
    <content type="html"><![CDATA[<p>Only yesterday, <a href="http://www.theregister.co.uk/2012/12/11/verity_stob_sons_of_kahn/">Verity Stob had the continuation of her (??) long Delphi saga</a>, with a nice dig at C# at the end.:</p>

<blockquote><p>For C# hath become a lonely path. And the Beast hath shut its gates against us, and hath broken our Silverlight into a million smithereens, and feedeth us alive to Herb Sutter and STL and the rest of the slavering C++ 11 crowd.</p></blockquote>

<p>Except, it&rsquo;s not dead. Still.</p>

<ul>
<li>Silverlight never really got off the ground &ndash; except where it did (<strong>cough</strong> Netflix &ndash; tho mostly, it didn&rsquo;t)</li>
<li>WPF never got off the ground &ndash; except try to get a job in London&rsquo;s finance sector without it. Most of the front office stuff is WPF (or, oddly, Flash)</li>
<li>WinRT is looking like a flop &ndash; except if you are the likes of <a href="http://www.markermetro.com/">Marker Metro</a>  or the various other places who appear to have more work than they know what to do with.</li>
<li>No one uses ASP.NET and ASP.NET MVC &ndash; except Microsoft, StackOverflow and a host of other huge sites. Not as many as some other languages, sure, but have you seen what Facebook has had to do to PHP to get it to work for them? Or twitter porting most of their backend to the JVM?</li>
<li>XNA games got be-headed, only to grow another one (or 2) in the form of <a href="http://monogame.codeplex.com/">MonoGame</a>.</li>
<li>BizTalk has a bit of .NET in it (ie, around 90%?). Sharepoint is all .NET. The only bits which aren&rsquo;t at Microsoft appears to be Windows, and Office, who appear to be the ones who are confusing everyone with a new &ndash; but totally incompatible &ndash; framework.</li>
<li>Not to mention the many of millions of lines of .NET code out there running business, government departments, stores, media companies like NBC and BBC, casinos, and pretty much everything in between. (thanks for the reminder, <a href="http://twitter.com/kiwipom">@kiwipom</a>)</li>
</ul>


<blockquote><p>Update: <a href="https://twitter.com/daveaddey/status/280625204613500928">Dave Addey pointed out on Twitter</a> that most of the <a href="http://www.marketwire.com/press-release/-1737842.htm">top games for 2012 are done in Unity3D</a>. Which is based on <a href="http://tinyurl.com/4djzub">Mono for the scripting</a>.</p></blockquote>

<p>And then there is Xamarin, who just released <a href="http://xamar.in/r/nicwise/xamarin.com/mac">Xamarin.Mac</a>, which uses some of the magic of <a href="http://xamar.in/r/nicwise/xamarin.com/features">MonoTouch</a> to let C# developers write native Mac apps.</p>

<p>Now we have Windows, Mac, Linux, iOS, Android, WP7/8, Raspberry Pi, BeagleBoard, S390 and a host of other platforms and products, all of which have a common framework: the .NET/mono framework.</p>

<p>Can&rsquo;t say I saw THAT coming 7 or 8 years ago, when the .NET hype was at it&rsquo;s peak.</p>

<p>So with or without Microsoft (or specifically the Windows and Office divisions, &lsquo;cos DevDiv (developer tools), Server (BizTalk, SQL Server) and Azure are still rocking along), C# and it&rsquo;s surrounding frameworks are looking anything but dead. There is a strong OpenSource community around various projects (eg <a href="http://www.servicestack.net/">ServiceStack</a>) and Microsoft itself is opening up large chunks of the framework, which 5 years ago would have been unheard of.</p>

<p><a href="http://fastchicken.co.nz/2011/09/15/c-its-just-not-portable/">Like I said last year</a>:</p>

<blockquote><p>Feels good to be a <del>Gangsta</del> C# developer.</p></blockquote>
]]></content>
  </entry>
  
</feed>
