<?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>NSLog();</title>
	<atom:link href="http://nslog.me/feed/" rel="self" type="application/rss+xml" />
	<link>http://nslog.me</link>
	<description>@&#34;debug&#34;</description>
	<lastBuildDate>Thu, 22 Mar 2012 11:10:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>iApp Revenue Modeling</title>
		<link>http://nslog.me/2012/03/iapp-revenue-modeling/</link>
		<comments>http://nslog.me/2012/03/iapp-revenue-modeling/#comments</comments>
		<pubDate>Fri, 16 Mar 2012 08:32:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://nslog.me/?p=252</guid>
		<description><![CDATA[If you&#8217;re like me and you rely on your iOS iApp revenue to pay the bills, it&#8217;s helpful to have an idea of how well you&#8217;re doing, how much revenue is coming in, and be able to calculate it before Apple releases &#8230; <a href="http://nslog.me/2012/03/iapp-revenue-modeling/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re like me and you rely on your iOS iApp revenue to pay the bills, it&#8217;s helpful to have an idea of how well you&#8217;re doing, how much revenue is coming in, and be able to calculate it <strong>before</strong> Apple releases the actual reports.</p>
<p>For the longest time I would sort of guess what my revenue would be each month.  I&#8217;d look at sales reports, guess a date range and hope that it was close. Somewhere in the middle of the month I&#8217;d start getting emails stating that financial reports are available per region.  Eventually all regions would be in and I&#8217;d finally have a good idea of what my next check would be.</p>
<p>But this month Apple is just now starting to release revenue reports for February, and I had a good idea of what my next check would be about a month ago.  Of course it&#8217;s not that complicated and I just needed to open my eyes and look for the answer.<span id="more-252"></span></p>
<p>I always assumed that the information should be easy to obtain long before the report comes out, but I wasn&#8217;t sure how to calculate it.  Apple pays something like 45-60 days after the end of the sales month.  So by the time revenue reports come out the sales for that pay month have all concluded weeks earlier.  The key was in knowing the date ranges for each pay period.  Of course all of these date ranges are published by Apple and were not hard to find.</p>
<p>Once I finally found that I realized that it&#8217;s not that hard to model what a check will be even a week or two before the end of the fiscal month &#8211; as sales are happening, and 30-45 days before the automatic deposit happens.  It&#8217;s nice to be able to plan ahead and it can also be a good kick in the pants when you realize that sales are down.  You still have time to try to make whatever changes or adjustments you can to improve that next check.</p>
<p>Disclaimer #1: of course, the actual amount of the check will vary based on foreign exchange rates.  So everything we&#8217;re talking about here is estimates anyway.</p>
<p>Disclaimer #2: and of course, you do have to be a developer to do any of this, you have to be making revenue, and you have to have an account with App Annie and your back sales date in their system.</p>
<p>I do use appannie.com for sales analytics, and that helps a lot.  They log in daily for me and get my sales data and present it in a nice format.  You could also get the data from apple (iTunes connect).  But App Annie is a little nicer on the eyes and has a few more tools for charting your data.  And it&#8217;s easy to view only a specific date range &#8211; which is key to projecting revenue.</p>
<p>What App Annie doesn&#8217;t have yet is sales revenue modeling.  I suppose maybe there are some legal vulnerabilities or reservations they might have about telling people what kind of revenue they <strong>might</strong> make.  But for everyone else in business and sales, modeling is standard practice. Since they don&#8217;t do it, this part is something that you have to do manually.  But still, it&#8217;s very easy to do.</p>
<p>First, Apple lists their fiscal year calendar on their iTunes connect website.  This has their fiscal quarter dates and each pay period.  I&#8217;m not going to link to it here, but just log in to your iTunes connect account, go to Payments and Financial Reports and look for the link called &#8220;Fiscal Calendar&#8221;.  It been there the whole time and I had just never thought about it.  But each Period listed there is the date range to use in App Annie to see a close estimate of your revenue for that month.  I&#8217;ve prebuilt all the links for 2012 here.  The ones marked 5 weeks have an extra week of revenue and theoretically should be 25% higher.  You have to log in to App Annie first and then click away to see how close the past ones were to reality:</p>
<p><a href="http://www.appannie.com/sales/#start_date=2011-09-25&amp;end_date=2011-10-29" target="_blank">Oct 2011 = Sep 25 &#8211; Oct 29 (5 weeks)</a><br />
<a href="http://www.appannie.com/sales/#start_date=2011-10-30&amp;end_date=2011-11-26" target="_blank">Nov 2011 = Oct 30 &#8211; Nov 26</a><br />
<a href="http://www.appannie.com/sales/#start_date=2011-11-27&amp;end_date=2011-12-31" target="_blank">Dec 2011 = Nov 27 &#8211; Dec 31 (5 weeks)</a><br />
<a href="http://www.appannie.com/sales/#start_date=2012-01-01&amp;end_date=2012-02-04" target="_blank">Jan 2012 = Jan 1 &#8211; Feb 4 (5 weeks)</a><br />
<a href="http://www.appannie.com/sales/#start_date=2012-02-05&amp;end_date=2012-03-03" target="_blank">Feb 2012 = Feb 5 &#8211; Mar 3</a><br />
<a href="http://www.appannie.com/sales/#start_date=2012-03-04&amp;end_date=2012-03-31" target="_blank">Mar 2012 = Mar 4 &#8211; Mar 31</a><br />
<a href="http://www.appannie.com/sales/#start_date=2012-04-01&amp;end_date=2012-05-05" target="_blank">April 2012 = April 1 &#8211; May 5 (5 weeks)</a><br />
<a href="http://www.appannie.com/sales/#start_date=2012-05-06&amp;end_date=2012-06-02" target="_blank">May 2012 = May 6 &#8211; Jun 2</a><br />
<a href="http://www.appannie.com/sales/#start_date=2012-06-03&amp;end_date=2012-06-30" target="_blank">Jun 2012 = Jun 3 &#8211; Jun 30</a><br />
<a href="http://www.appannie.com/sales/#start_date=2012-07-01&amp;end_date=2012-08-04" target="_blank">Jul 2012 = July 1 &#8211; Aug 4 (5 weeks)</a><br />
<a href="http://www.appannie.com/sales/#start_date=2012-08-05&amp;end_date=2012-09-01" target="_blank">Aug 2012 = Aug 5 &#8211; Sep 1</a><br />
<a href="http://www.appannie.com/sales/#start_date=2012-09-02&amp;end_date=2012-09-29" target="_blank">Sep 2012  = Sep 2 &#8211; Sep 29</a></p>
<p>For my sales these numbers often come in about a day too much.  So I recommend subtracting about a typical day&#8217;s worth of revenue to plan correctly.  You can see how close yours are and come up with your own rule of thumb.</p>
<p>Of course it&#8217;s not a time machine and any dates in the future show as zero sales.  I don&#8217;t see a point in modeling for a period that you&#8217;re not currently in.  To me that would be utter guesswork.  But for the period that you <strong>are</strong> currently in you&#8217;ll see some sales and then a flatline in the last part of the month.  For these ranges you can model the remaining days.  You just have to decide how optimistic to be.  Of course sales go up and down all the time and there&#8217;s no way to know for sure.  But there are a couple of ways to approach it.  First you have to simply count days &#8211; how many days have reported so far this month and how many are left.  Divide the revenue total for the selected period by the number of days with sales numbers and that will give you the average per day so far.  Then multiply that average by the number of days left in the period and add it to the current total.  You&#8217;ll have a &#8220;reasonable&#8221; estimate of revenue for that period.  I did this about a month ago and got a very close estimate of what my next check will be &#8211; about 45 days before the check will arrive.  Alternatively, if you&#8217;d rather be more conservative, a very low estimate would be obtained by taking the lowest single day sales for the month during the period and use that as your model for the rest of the month.  The rest of the month is always a &#8216;guestimate.&#8217;</p>
<p>I actually sent this as a feature request to app annie but so far they don&#8217;t have plans to add it.  I think it would be nice to at least have these date ranges auto fill in with a pull down menu.  But in the mean time just come here and click the links. Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://nslog.me/2012/03/iapp-revenue-modeling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Awana Grand Prix 2012</title>
		<link>http://nslog.me/2012/01/awana-grand-prix-2012/</link>
		<comments>http://nslog.me/2012/01/awana-grand-prix-2012/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 08:51:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Awana Grand Prix]]></category>

		<guid isPermaLink="false">http://nslog.me/?p=209</guid>
		<description><![CDATA[Last year G and I built a car for the Awana Grand Prix.  It was a good bonding experience for us, which I think is the point.  I involved her in the process as much as I could.  It is &#8230; <a href="http://nslog.me/2012/01/awana-grand-prix-2012/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Last year G and I built a car for the Awana Grand Prix.  It was a good bonding experience for us, which I think is the point.  I involved her in the process as much as I could.  It <strong>is</strong> supposed to be her car.  I did all the dangerous cutting work and she did most all the painting.  She also made most of the design decisions.  Overall I would say that it was a fair collaboration.  I also did the best I could to teach her the physics of how to make her car go fast, what kinds of things would slow her car down, and how to overcome them.</p>
<div id="attachment_210" class="wp-caption alignnone" style="width: 594px"><a href="http://nslog.me/2012/01/awana-grand-prix-2012/g-awana-car-worker/" rel="attachment wp-att-210"><img class="size-large wp-image-210" title="G Awana Car Work" src="http://nslog.me/wp-content/uploads/2012/01/G-Awana-Car-Worker-1024x764.jpg" alt="" width="584" height="435" /></a><p class="wp-caption-text">Gillian works on her awana grand prix car with a high speed dremel.</p></div>
<p><span id="more-209"></span>Our car did really well.  We had the 2nd fastest car in her division.  But it was the first year they did the races at the church.  So I expect the competition will be much more fierce this year.</p>
<div id="attachment_212" class="wp-caption alignnone" style="width: 594px"><a href="http://nslog.me/2012/01/awana-grand-prix-2012/img_2528/" rel="attachment wp-att-212"><img class="size-large wp-image-212" title="Gillian holds up her trophy." src="http://nslog.me/wp-content/uploads/2012/01/IMG_2528-e1327559673734-786x1024.jpg" alt="" width="584" height="760" /></a><p class="wp-caption-text">I LOVE this picture: Gillian proudly holds up her 2nd place trophy.</p></div>
<p>Her car&#8217;s total race time over the course of all (seven?) races was only 0.1672 seconds slower than the first place car.  That means if we could have gotten her car to be just .025 seconds faster per race she would have won.  That&#8217;s a tight margin.</p>
<p><a href="http://nslog.me/2012/01/awana-grand-prix-2012/img_2533/" rel="attachment wp-att-213"><img class="alignnone size-large wp-image-213" title="2011 Sparks Leaderboard" src="http://nslog.me/wp-content/uploads/2012/01/IMG_2533-e1327560535805-1024x351.jpg" alt="" width="584" height="200" /></a></p>
<p>Of course our approach (from a physics and speed standpoint) is a tightly held family secret &#8211; just like a super hero&#8217;s secret identity.  We&#8217;ll never tell!</p>
<p>However our design influence this year is something we can freely talk about. This year Gillian wants to do a Green Arrow car, which I think is an awesome idea.  So I decided to do a thread of blog posts here to go over our ideas, design process, show some of the work, and eventually (March 10th) tell how well we did.</p>
<h2>Block of Wood</h2>
<p>Last year we started with something that already looked like a car.  It was a good intro to pinewood as it didn&#8217;t require much cutting.  But it limited our ability to be creative.  This year we&#8217;re starting with a block of wood.  So there will be a lot more work to get it there.</p>
<h2>Green Arrow</h2>
<p>Gillian first was introduced to the Green Arrow through <a href="http://itunes.apple.com/us/tv-season/batman-the-brave-bold-season/id428688768" target="_blank">Batman: The Brave and The Bold</a>.  He&#8217;s a great counterpart to Batman because, like Batman, he doesn&#8217;t have any real super powers.  He uses gadgets, technology and skill to beat the bad guys.  But it&#8217;s really all about his attitude and personality.  He&#8217;s very competitive and has a good playful banter with Batman.  I think the reason Gillian likes him better than Batman is because of his playful sassiness.  He&#8217;s one of the few characters on the show that doesn&#8217;t take any heat from Batman.  BTW: There are also rumors of a <a href="http://screenrant.com/green-arrow-tv-show-cw-smallville-aco-147066/" target="_blank">Green Arrow TV show coming to CW</a>.  Of course we&#8217;re always on the cutting edge and are in to things before the popular public is.  By the time that show is out we&#8217;ll be wearing Blue Lantern/Flash crossover gear.</p>
<h2>Design Option #1: Cartoon Reference</h2>
<p>Green Arrow&#8217;s car in the show looks very much like an arrow that is green.</p>
<p style="text-align: center;"><a href="http://nslog.me/2012/01/awana-grand-prix-2012/bbdeathrace03/" rel="attachment wp-att-214"><img class="alignnone size-full wp-image-214" title="Green Arrow Car from Brave and the Bold" src="http://nslog.me/wp-content/uploads/2012/01/BBdeathrace03.gif" alt="" width="410" height="307" /></a></p>
<p style="text-align: left;">It&#8217;s really more of a rocket looking thing and it has fire coming out the back.  The Awana rules are strict with regard to overall size, but the shape can really be anything we want it to be.  We <em>could</em> do a very similar design with a cylindrical-ish body and fins around the wheels, but would have to modify the design some to fit the whole thing within the size limitations.  And cutting out that design would be more difficult. Of course, unlike the car in the show, the wheels on our car have to be in the exact positions to work on the pinewood track.</p>
<p style="text-align: left;">Here&#8217;s a little video to give you a taste of Green Arrow&#8217;s car.  Don&#8217;t blink or you&#8217;ll miss the car.  This thing is a rocket:</p>
<p style="text-align: center;">
    <!-- Begin VideoJS -->
    <div class="video-js-box">
      <!-- Using the Video for Everybody Embed Code http://camendesign.com/code/video_for_everybody -->
      <video class="video-js" width="540" height="320"  controls preload="auto" >
      <source src="http://nslog.me/wp-content/uploads/2012/01/Green-Arrows-Car-desktop.m4v" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' />
      
      
      <!-- Flash Fallback. Use any flash video player here. Make sure to keep the vjs-flash-fallback class. -->
      <object class="vjs-flash-fallback" width="540" height="320" type="application/x-shockwave-flash"
        data="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf">
        <param name="movie" value="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf" />
        <param name="allowfullscreen" value="true" />
        <param name="flashvars" value='config={"playlist":[{"url": "http://nslog.me/wp-content/uploads/2012/01/Green-Arrows-Car-desktop.m4v" ,"autoPlay":false ,"autoBuffering":true }]}' />
        
      </object>
    </video>
    <!-- Download links provided for devices that can't play video in the browser. -->
    <p class="vjs-no-video"><strong>Download Video:</strong>
      <a href="http://nslog.me/wp-content/uploads/2012/01/Green-Arrows-Car-desktop.m4v">MP4</a>
      
      
      <br>
      <!-- Support VideoJS by keeping this link. -->
      <a href="http://videojs.com">HTML5 Video Player</a> by <a href="http://videojs.com">VideoJS</a>
    </p>
  </div>
  <!-- End VideoJS -->
</p>
<h2 style="text-align: left;">Design Option #2: Vintage Toy</h2>
<p style="text-align: left;">Another design for a Green Arrow car that I found online is a vintage toy car, which basically already looks like a Pinewood Derby car:</p>
<p style="text-align: left;"><a href="http://nslog.me/2012/01/awana-grand-prix-2012/arrowcar4/" rel="attachment wp-att-215"><img class="alignnone size-full wp-image-215" title="arrowcar4" src="http://nslog.me/wp-content/uploads/2012/01/arrowcar4.jpg" alt="" width="445" height="351" /></a></p>
<p style="text-align: left;"><a href="http://nslog.me/2012/01/awana-grand-prix-2012/arrowcar3/" rel="attachment wp-att-216"><img class="alignnone size-full wp-image-216" title="arrowcar3" src="http://nslog.me/wp-content/uploads/2012/01/arrowcar3.jpg" alt="" width="400" height="288" /></a></p>
<p style="text-align: left;"><a href="http://nslog.me/2012/01/awana-grand-prix-2012/arrowcar2/" rel="attachment wp-att-217"><img class="alignnone size-full wp-image-217" title="arrowcar2" src="http://nslog.me/wp-content/uploads/2012/01/arrowcar2.jpg" alt="" width="450" height="566" /></a></p>
<p style="text-align: left;"><a href="http://nslog.me/2012/01/awana-grand-prix-2012/arrowcar/" rel="attachment wp-att-218"><img class="alignnone size-full wp-image-218" title="arrowcar" src="http://nslog.me/wp-content/uploads/2012/01/arrowcar.jpg" alt="" width="576" height="332" /></a></p>
<p style="text-align: left;">I think this approach would be simpler because it&#8217;s a fairly simple shape with wheels on the outside just like a pinewood derby car.  I think we could pull off this design a lot easier &#8211; minus the windshield.</p>
<h2 style="text-align: left;">Design Option #3: Spence&#8217;s Green Arrow Car</h2>
<p style="text-align: left;">Finally, I found one other kid in the world who&#8217;s done a green arrow pinewood car&#8230;</p>
<p style="text-align: left;"><a href="http://nslog.me/2012/01/awana-grand-prix-2012/spence_greenarrow_p-derby_11/" rel="attachment wp-att-232"><img class="alignnone size-full wp-image-232" title="spence_greenarrow_p.derby_11" src="http://nslog.me/wp-content/uploads/2012/01/spence_greenarrow_p.derby_11.jpg" alt="" width="414" height="730" /></a></p>
<p style="text-align: left;">At first glance I liked his design.  I think his car looks fast.  <a href="http://spencekayanddude.blogspot.com/2011/02/spencers-last-pinewood-derby.html" target="_blank">I think he came in 4th.</a></p>
<p style="text-align: left;">But I prefer one of the other two designs.  Or possibly a mixture between the two. Tomorrow night after school I&#8217;ll see what Gillian thinks and we&#8217;ll start plotting our return!</p>
]]></content:encoded>
			<wfw:commentRss>http://nslog.me/2012/01/awana-grand-prix-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://nslog.me/wp-content/uploads/2012/01/Green-Arrows-Car-desktop.m4v" length="1902278" type="video/mp4" />
		</item>
		<item>
		<title>R2D2 Dome Work</title>
		<link>http://nslog.me/2012/01/r2d2-dome-work/</link>
		<comments>http://nslog.me/2012/01/r2d2-dome-work/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 05:08:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[R2D2]]></category>

		<guid isPermaLink="false">http://nslog.me/?p=149</guid>
		<description><![CDATA[An R2D2 isn&#8217;t an R2D2 without the iconic dome.  Ours finally arrived before the new year.  In addition to being a very cool piece, it also represents a decent portion of work that needs to be done on the droid. &#8230; <a href="http://nslog.me/2012/01/r2d2-dome-work/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>An R2D2 isn&#8217;t an R2D2 without the iconic dome.  Ours finally arrived before the new year.  In addition to being a very cool piece, it also represents a decent portion of work that needs to be done on the droid.  If you think about it, most of the personality and expression from R2D2 comes from his dome.  The eyes, the holo projectors, the lights, and the spinning around to &#8220;look&#8221; at things.</p>
<p>The dome comes in several pieces.  There is an outer dome, which has been laser cut for &#8220;easier&#8221; removal of all the panels, and an inner dome which comes uncut and must be manually cut if desired.  Eventually the two domes are bonded together to create the beveled look that is so familiar.</p>
<div id="attachment_150" class="wp-caption alignnone" style="width: 650px"><a href="http://nslog.me/2012/01/r2d2-dome-work/IMG_0289"><img class=" wp-image-150   " title="R2 Dome Arrival" src="http://nslog.me/wp-content/uploads/2012/01/IMG_0289-1024x768.jpg" alt="" width="640" height="480" /></a><p class="wp-caption-text">The R2D2 dome right out of the box.</p></div>
<p><span id="more-149"></span>Both the inner and outer dome has been hand made by spinning a sheet of aluminum and curving it around a mold&#8230; Check out the youtube video to see how it&#8217;s done:</p>
<p><iframe src="http://www.youtube.com/embed/U3ZWu9IURW4" frameborder="0" width="640" height="390"></iframe></p>
<p>(If the video doesn&#8217;t load try: <a href="http://www.youtube.com/watch?v=U3ZWu9IURW4" target="_blank">http://www.youtube.com/watch?v=U3ZWu9IURW4</a>)</p>
<p>Luckily some gracious person has done this for us and provides us with something that is as close to a kit as you can get (well, at least for an aluminum dome).  And, like I said, before it gets to us the parts runner has that outer dome laser cut.  Without this step it would be <strong>VERY</strong> hard to get an accurate cut on all the dome panel pieces.  Here&#8217;s an animated gif of that process:</p>
<p style="text-align: center;"><a href="http://nslog.me/wp-content/uploads/2012/01/dome_animation-320.gif"><img class="alignnone size-full wp-image-169" title="dome_animation-320" src="http://nslog.me/wp-content/uploads/2012/01/dome_animation-320.gif" alt="" width="319" height="239" /></a></p>
<h2>Dome Work</h2>
<p>The first steps are on the outer dome.  When the laser cuts the dome there are pieces left behind that must be removed by hand.  And there are also semi-sharp metal burrs that need to be removed.</p>
<div id="attachment_151" class="wp-caption alignnone" style="width: 650px"><a href="http://nslog.me/2012/01/r2d2-dome-work/IMG_0358"><img class=" wp-image-151 " title="Initial Dome Work - Cleaning Up" src="http://nslog.me/wp-content/uploads/2012/01/IMG_0358-1024x768.jpg" alt="" width="640" height="480" /></a><p class="wp-caption-text">Gillian watches as I work on cleaning up the dome.</p></div>
<p>Here is the underside of the dome.  Numbers are written on all the panels so that we can tell where they came from.  I went a little overboard on labeling because I didn&#8217;t want to leave anything to chance.</p>
<div id="attachment_180" class="wp-caption alignnone" style="width: 650px"><a href="http://nslog.me/2012/01/r2d2-dome-work/image-6/" rel="attachment wp-att-180"><img class="size-large wp-image-180" title="Dome Panel Numbers" src="http://nslog.me/wp-content/uploads/2012/01/Image-6-1024x768.jpg" alt="" width="640" height="480" /></a><p class="wp-caption-text">Numbers are written on the inside of the dome so we can match the panels back to where they go after they are removed.</p></div>
<p>While waiting for time to do more work, I put the dome on a side table with a light underneath.  looks cool!  All the gaps where the blue light is coming through were the pieces that had to be removed.  You can also see the small metal tabs that are holding the panel pieces in place.</p>
<div id="attachment_158" class="wp-caption alignnone" style="width: 650px"><a href="http://nslog.me/2012/01/r2d2-dome-work/image/" rel="attachment wp-att-158"><img class="size-large wp-image-158" title="Cool Dome Light" src="http://nslog.me/wp-content/uploads/2012/01/Image-1024x768.jpg" alt="" width="640" height="480" /></a><p class="wp-caption-text">The dome before most panels are removed looks cool with a colored light under it.</p></div>
<p>One afternoon I decided to try to make some progress on the dome.  I used a hack saw to remove some of the larger tabs.  Usually you can remove the bottom tab this way which leaves only two side tabs.  These will friction apart by twisting the panel back and forth.</p>
<div id="attachment_154" class="wp-caption alignnone" style="width: 650px"><a href="http://nslog.me/2012/01/r2d2-dome-work/img_0335/" rel="attachment wp-att-154"><img class="size-large wp-image-154" title="Dome with some panels removed" src="http://nslog.me/wp-content/uploads/2012/01/IMG_0335-1024x768.jpg" alt="" width="640" height="480" /></a><p class="wp-caption-text">The dome with a few more panels removed.</p></div>
<p>A warning to any builders out there&#8230; aluminum is not a strong metal.  While working with the file on one side of the dome I didn&#8217;t notice that I was accidentally bending one of the thinner rings on the other side of the dome (the one above in the bottom of the picture), but it easily bent back into shape.  I don&#8217;t want to do that again.</p>
<div id="attachment_155" class="wp-caption alignnone" style="width: 650px"><a href="http://nslog.me/2012/01/r2d2-dome-work/image-1/" rel="attachment wp-att-155"><img class="size-large wp-image-155" title="Pie pieces removed" src="http://nslog.me/wp-content/uploads/2012/01/Image-1-1024x768.jpg" alt="" width="640" height="480" /></a><p class="wp-caption-text">The removed pie panel pieces and the bottom ring</p></div>
<div id="attachment_156" class="wp-caption alignnone" style="width: 650px"><a href="http://nslog.me/2012/01/r2d2-dome-work/image-3/" rel="attachment wp-att-156"><img class="size-large wp-image-156" title="Saw" src="http://nslog.me/wp-content/uploads/2012/01/Image-3-1024x768.jpg" alt="" width="640" height="480" /></a><p class="wp-caption-text">The hack saw was a quick and easy way to remove the metal tabs.</p></div>
<p>I decided to get a decent file kit.  One of the files was curved on one side and flat on the other and worked really well to remove the metal burrs.</p>
<div id="attachment_163" class="wp-caption alignnone" style="width: 650px"><a href="http://nslog.me/2012/01/r2d2-dome-work/image-5/" rel="attachment wp-att-163"><img class="size-large wp-image-163" title="File Kit" src="http://nslog.me/wp-content/uploads/2012/01/Image-5-1024x768.jpg" alt="" width="640" height="480" /></a><p class="wp-caption-text">This file kit had a good mix of sizes and a handle.. about $26.</p></div>
<div id="attachment_162" class="wp-caption alignnone" style="width: 650px"><a href="http://nslog.me/2012/01/r2d2-dome-work/image-4/" rel="attachment wp-att-162"><img class="size-large wp-image-162" title="Curved File" src="http://nslog.me/wp-content/uploads/2012/01/Image-4-1024x768.jpg" alt="" width="640" height="480" /></a><p class="wp-caption-text">This is the file I used the most to remove all the metal burrs left behind from the laser cut.</p></div>
<p>The above file was perfect for working in the curved panels.  Next I&#8217;ll need to go over all the cuts with a finer grit sand paper.  I have some 200 emery cloth that I&#8217;m going to try.  I don&#8217;t want to mess up the spin lines if possible.</p>
<h2>Potential Issues So Far</h2>
<p>The outer dome should find a perfect fit on the inner dome so that it can be bonded (glued) together.  But you can see here that there is a gap.  Perhaps the outer dome needs to be forced down, but I&#8217;m not sure yet.  Perhaps when the inner dome panels are cut out it will fit together better.</p>
<div id="attachment_157" class="wp-caption alignnone" style="width: 650px"><a href="http://nslog.me/2012/01/r2d2-dome-work/image-2/" rel="attachment wp-att-157"><img class="size-large wp-image-157" title="Dome Gap" src="http://nslog.me/wp-content/uploads/2012/01/Image-2-1024x768.jpg" alt="" width="640" height="480" /></a><p class="wp-caption-text">The outer dome fit on the inner dome leaves a small gap that will need to be tightened up.</p></div>
<p>I also suspect it could be because the laser cutting wasn&#8217;t completely centered on the dome spin.  This picture below shows the top panel from the dome.  The hole was the center (circumcenter?) of the spin.  This hole is off center from the cut around it, signifying that the laser cutting wasn&#8217;t perfectly centered around this.  Meaning that the curvature of the dome wouldn&#8217;t be perfectly symmetrical, but rather is offset slightly.  My guess is that all the domes are like this to some degree.  It&#8217;s probably impossible to get it perfectly centered.  And I doubt it would be noticed in the finished product.  Still I wonder if this would make the domes not fit perfectly together.</p>
<div id="attachment_159" class="wp-caption alignnone" style="width: 650px"><a href="http://nslog.me/2012/01/r2d2-dome-work/img_0349/" rel="attachment wp-att-159"><img class="size-large wp-image-159" title="Off center laser cut" src="http://nslog.me/wp-content/uploads/2012/01/IMG_0349-1024x768.jpg" alt="" width="640" height="480" /></a><p class="wp-caption-text">The center ring shows that the laser cutting was slightly off center from the dome spin.</p></div>
<p>Finally.. while waiting for the next stage of work, I have the inner dome resting on the outer one.</p>
<div id="attachment_191" class="wp-caption alignnone" style="width: 594px"><a href="http://nslog.me/2012/01/r2d2-dome-work/img_0334/" rel="attachment wp-att-191"><img class="size-large wp-image-191" title="The Two Domes" src="http://nslog.me/wp-content/uploads/2012/01/IMG_0334-1024x768.jpg" alt="" width="584" height="438" /></a><p class="wp-caption-text">The safest place for the now cut outer dome to sit is resting on the solid inner dome.</p></div>
<h2>The To Do List</h2>
<p>Next on the dome work adgenda:</p>
<ul>
<li>File and sand all the removed panel pieces to remove the burrs</li>
<li>Do sanding and finishing work on the laser cut holes on the outer dome</li>
<li>After finding the best fit, mark the holes on the inner dome and then mark the holes that need to be cut on the inner dome.</li>
<li>Overcome my fear and cut the inner dome where needed.  And don&#8217;t mess that part up (or cut myself in the process).  This will be a big one.</li>
<li>File/sand the holes where some other part need to fit in.. like the HP&#8217;s or the Logic Surrounds.</li>
<li>Still need to buy a rockler bearing and an aluminum Radar Eye.</li>
<li>Assemble the electronics for the dome lighting kit.</li>
</ul>
<div></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://nslog.me/2012/01/r2d2-dome-work/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>iPhone 4S</title>
		<link>http://nslog.me/2011/10/iphone-4s/</link>
		<comments>http://nslog.me/2011/10/iphone-4s/#comments</comments>
		<pubDate>Wed, 05 Oct 2011 13:58:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://nslog.me/?p=139</guid>
		<description><![CDATA[One of my facebook friends posted this on my wall: 4S, that&#8217;s it? So, when can we expect iOS5 for iPad? I responded on facebook and decided to also post a response here&#8230; First off, iOS5 for iPad is releasing &#8230; <a href="http://nslog.me/2011/10/iphone-4s/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>One of my facebook friends posted this on my wall:</p>
<blockquote><p>4S, that&#8217;s it? <img src='http://nslog.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  So, when can we expect iOS5 for iPad?</p></blockquote>
<p>I responded on facebook and decided to also post a response here&#8230;<span id="more-139"></span></p>
<p>First off, iOS5 for iPad is releasing on October 12th&#8230; and it&#8217;s going to be awesome.  My parents both have iPads and I&#8217;m looking forward to the &#8220;PC Free&#8221; feature which will be an big advantage of them.  Never again having to plug either iPad in to the mac yet staying in sync with each other will be great.  Now when one of them buys a new Angry Birds game they both get it instantly.  And their data will be backed up automatically to iCloud every day when they plug in to wall to recharge. It&#8217;s more than a sales pitch, I&#8217;ve seen it work.</p>
<h4><span style="color: #800080;">Sidebar: this Angry Birds example is real world.  I bought the app for them on one of the iPads and had to plug that one in to the mac to sync and then the plug the other one and sync it.  This isn&#8217;t something that they were going to figure out on their own.  It&#8217;s annoying.  But with iCloud it&#8217;s instantly a non-issue.</span></h4>
<h2>About yesterday&#8217;s announcement:</h2>
<p>I have to admit that I was bummed when I first heard about there not being an iPhone 5. 9to5mac.com had a source and outed this info a few days ago.  Like many other people I didn&#8217;t want to believe it.  After 16 months we all hoped for an exterior redesign.</p>
<p>So what was this iPhone 5 we were teased?  I believe it is the iPhone5 that will be released year from now. I think it will be LTE and have that larger screen and the teardrop design. In previous releases we&#8217;ve heard rumors of features that weren&#8217;t released until the following year.  Apple plans their product roadmap years in advance, and very often some of those plans get leaked.  This leads to excitement over rumors and disappointment after the announcement.  If it weren&#8217;t for the rumors, this announcement would have been looked at very differently.</p>
<p>I think it is true that Apple sometimes holds back features so that you&#8217;ll want to buy another new iDevice again the next year. As an Apple fan boy it does get frustrating, like when we had to wait the extra year to get those front facing cameras. But the tactic works. People keep buying their stuff.</p>
<p>I actually don&#8217;t think they held much back this time. Keep this in mind: Apple historically only changes the outside design of the phone every 2 years, probably in part because people have 2 year contracts and only get to buy a new phone every other year. Case in point, I was talking to a different friend who didn&#8217;t get a new iPhone last year.  He is excited because he still has a 3GS. So an upgrade to an iPhone 4S will be new to him &#8211; and will actually be a very big upgrade.</p>
<p><strong>Many people will be upgrading from a 3GS to a 4S this year.  Think about what <em>that</em> upgrade will be like, because for all of them it will be huge:</strong></p>
<p style="padding-left: 30px;">1. Much faster processor.  The 3GS has an ARM 11, the 4 has an A4 and the 4S has an A5.  So it&#8217;s two generations faster processor, or about 4-5 times faster processing.  Also in this category is much faster graphics processing.</p>
<p style="padding-left: 30px;">2. Retina display.  Going from 3GS to 4 or 4S means twice the pixel density.</p>
<p style="padding-left: 30px;">3. Front facing camera and facetime. The 3GS didn&#8217;t have this.</p>
<p style="padding-left: 30px;">4. Way better camera.  The 3GS camera had no flash and was 3megapixels.  Also going from 480P to 1080P on video recording.</p>
<p style="padding-left: 30px;">5. Much faster downloading over AT&amp;T via the new dual antenna design.</p>
<p>It&#8217;s really big.  For anyone going from a 3GS to to a 4S it&#8217;s going to seem like a quantum leap. Every experience in the phone will feel <span style="color: #000000;">a ton</span> snappier.</p>
<p>Of course for me, it&#8217;s a single generation jump.  But after coming to terms with the same exterior, I&#8217;m very happy with the announcement overall.  I&#8217;m really looking forward to my upgrade.  I&#8217;ve seen the difference between the A4 and the A5 when I upgraded from an iPad to an iPad2. There will be a noticeable difference in the speed.  Plus there are several features on the list I&#8217;m looking forward to, including the better camera, the faster downloading, and Siri.</p>
<p>The 4S might look like a 4 but it&#8217;s very different inside. It&#8217;s twice as fast, has faster graphics than the tower computer I had before the one I have now, and their redesigned antenna system solves the antenna-gate problems and more by (theoretically) doubling the download speed (on AT&amp;T only).</p>
<p><strong>What if&#8230;</strong> they had introduced a different physical design but all the same innards and named it iPhone5 instead of iPhone4S?  People would have thought it was amazing. (Or they would have found something else to be bummed about.)  So the only bummer thing about it is that physically it looks the same as the 4?  How shallow are we?  I still think the 4 has a cool look &#8211; and almost everyone covers up the design with a case anyway. So what&#8217;s to be bummed about?</p>
<p>On Friday I&#8217;ll be clicking refresh over and over again until the order screen comes up, and preordering my iPhone 4S.</p>
]]></content:encoded>
			<wfw:commentRss>http://nslog.me/2011/10/iphone-4s/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>R2 Ice Cube Trays</title>
		<link>http://nslog.me/2011/09/r2-ice-cube-trays/</link>
		<comments>http://nslog.me/2011/09/r2-ice-cube-trays/#comments</comments>
		<pubDate>Sat, 10 Sep 2011 23:06:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[R2D2]]></category>
		<category><![CDATA[Ice Cube Trays]]></category>
		<category><![CDATA[Robots]]></category>

		<guid isPermaLink="false">http://nslog.me/?p=115</guid>
		<description><![CDATA[Wow.. R2D2 Ice Cube Trays.. but how well do they work?  Will they really look as great as this marketing picture?  Our baby shower is Saturday and my wife wanted to do a robot theme.  We have robot cupcake pops &#8230; <a href="http://nslog.me/2011/09/r2-ice-cube-trays/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://nslog.me/wp-content/uploads/2011/09/star-wars-r2d2-ice-cube-tray.jpg"><img class="size-full wp-image-120 aligncenter" title="star-wars-r2d2-ice-cube-tray" src="http://nslog.me/wp-content/uploads/2011/09/star-wars-r2d2-ice-cube-tray.jpg" alt="" width="560" height="397" /></a>Wow.. R2D2 Ice Cube Trays.. but how well do they work?  Will they really look as great as this marketing picture?  Our baby shower is Saturday and my wife wanted to do a robot theme.  We have robot cupcake pops and other themed items, so I thought some robot ice would be good and maybe I could also use the trays to make some robot chocolates or some other candy.  I&#8217;ll make a bunch of ice &#8216;cubes&#8217; during the week and later in the week make some candy.<span id="more-115"></span></p>
<p>Of course her idea of a &#8216;robot&#8217; is more the mid-50&#8242;s modern tin robot toy look.  So I ordered two R2 trays from thinkgeek.com and two ChillBots Ice Trays.  After a quick clean they were ready to fill and chill&#8230;</p>
<p><a href="http://nslog.me/wp-content/uploads/2011/09/IMG_2469-e1315692093251.jpg"><img class="size-large wp-image-119 alignnone aligncenter" title="IMG_2469" src="http://nslog.me/wp-content/uploads/2011/09/IMG_2469-e1315692093251-764x1024.jpg" alt="" width="384" height="514" /></a></p>
<p>Filling them was a little tricky.  I used fridge-cold reverse-osmosis water and poured it slowly.  How much water to fill in is one question &#8211; and it&#8217;s difficult to control that.  Some of the pieces are smallish (the keys on the chillbots), and it&#8217;s a challenge to be precise on the pour amount.  As you can see in the photo, some of them were filled a little too much which sort of bulges the back.  I think less is probably better since water expands when freezing.</p>
<p><a href="http://nslog.me/wp-content/uploads/2011/09/IMG_2471.jpg"><img class="alignnone size-large wp-image-117" title="IMG_2471" src="http://nslog.me/wp-content/uploads/2011/09/IMG_2471-1024x764.jpg" alt="" width="640" height="477" /></a></p>
<p>We checked them at an hour and they were still wet in the middle.  But by the next morning they were solid and frozen dry.</p>
<p><a href="http://nslog.me/wp-content/uploads/2011/09/IMG_2474.jpg"><img class="alignnone size-large wp-image-122" title="IMG_2474" src="http://nslog.me/wp-content/uploads/2011/09/IMG_2474-1024x764.jpg" alt="" width="640" height="477" /></a></p>
<h2>First the R2 ice&#8230;</h2>
<p>The &#8216;cubes&#8217; do have a good amount of detail.  In a drink I expect it will melt very quickly and lose the detail.  Especially the smaller ones.  But it&#8217;s still a decent novelty.  They also basically all have clouds in the middle.  There is a way to make ice without the cloud but it&#8217;s takes more attention.  I think since the ice freezes on the outside first air get trapped on the inside.  To eliminate the cloudiness you&#8217;d have to freeze it in layers by pouring only a little water in, freezing that, and then adding more, freezing that, etc.  I&#8217;m not sure that&#8217;s worth the effort &#8211; but maybe.</p>
<p>The big R2 was also cracked in the back.. probably from checking it too early.</p>
<p><a href="http://nslog.me/wp-content/uploads/2011/09/IMG_2480.jpg"><img class="alignnone size-large wp-image-123" title="IMG_2480" src="http://nslog.me/wp-content/uploads/2011/09/IMG_2480-e1315695390544-764x1024.jpg" alt="" width="640" height="857" /></a></p>
<p>And the smaller ones lose their detail quickly as they melt.  It&#8217;s hard to get them out of the trays fast enough to keep them frozen (without breaking them).</p>
<p><a href="http://nslog.me/wp-content/uploads/2011/09/IMG_2472.jpg"><img title="IMG_2472" src="http://nslog.me/wp-content/uploads/2011/09/IMG_2472-e1315693673280-764x1024.jpg" alt="" width="640" height="857" /></a></p>
<h2>The Chillbots&#8230;</h2>
<p>The chillbots are very cool looking ice pieces.  But the problem with them is that the hands and legs are very delicate and break off very easily.  To remove them from the trays in one piece I had to carefully press around the edges until I saw air get in behind the cube.  Still about half become amputees.  And of course they also have the cloud issue.</p>
<p><a href="http://nslog.me/wp-content/uploads/2011/09/IMG_2482.jpg"><img class="alignnone size-large wp-image-124" title="IMG_2482" src="http://nslog.me/wp-content/uploads/2011/09/IMG_2482-1024x764.jpg" alt="" width="640" height="477" /></a></p>
<p>Overall I&#8217;m glad I bought them.  It will add a nice detail to the party.  My next challenge is how to store the ice.  I&#8217;ll be making ice all week and just dropping them in a bowl will probably result in a bunch of broken limbs and possibly having them all stick together. I&#8217;ll probably lay them out on a sheet in the freezer.  How to serve them will be another issue.  Leaving them out in an ice bucket won&#8217;t work.  It&#8217;s sort of an open house party. They&#8217;ll get melty and lose their detail and the novelty will get lost.  So it has to be something that is handled deliberately.</p>
<p>I&#8217;ll try making some chocolates or something with them later in the week and will update with those results.</p>
]]></content:encoded>
			<wfw:commentRss>http://nslog.me/2011/09/r2-ice-cube-trays/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>All is right in the world</title>
		<link>http://nslog.me/2011/07/all-is-right/</link>
		<comments>http://nslog.me/2011/07/all-is-right/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 01:26:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[R2D2]]></category>

		<guid isPermaLink="false">http://nslog.me/?p=109</guid>
		<description><![CDATA[Originally I received two lower arms instead of one of each.  Paul from Florida got two uppers.  So we cross shipped them and now we each have a complete set.  I also got a restraining bolt in the process.  Paul &#8230; <a href="http://nslog.me/2011/07/all-is-right/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://nslog.me/wp-content/uploads/2011/07/utility-arms-fixed.jpg"><img class="alignnone size-large wp-image-110" title="utility-arms-fixed" src="http://nslog.me/wp-content/uploads/2011/07/utility-arms-fixed-1024x764.jpg" alt="" width="640" height="477" /></a>Originally I received two lower arms instead of one of each.  Paul from Florida got two uppers.  So we cross shipped them and now we each have a complete set.  I also got a restraining bolt in the process.  Paul had an extra one and gave me a very good deal on it.<span id="more-109"></span></p>
<p>Side note.  These arms are a lot smaller than I thought they would be.  But man that restraining bolt is way bigger than I thought it would be.  I have it on the fridge right now.</p>
]]></content:encoded>
			<wfw:commentRss>http://nslog.me/2011/07/all-is-right/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finally!! &#8211; The iPhone is allowed to control serial devices!</title>
		<link>http://nslog.me/2011/07/finally/</link>
		<comments>http://nslog.me/2011/07/finally/#comments</comments>
		<pubDate>Mon, 18 Jul 2011 11:51:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[R2D2]]></category>

		<guid isPermaLink="false">http://nslog.me/?p=102</guid>
		<description><![CDATA[First a bit of history It&#8217;s no secret that Apple keeps a tight reign on what they allow developers to do with their hardware.  I don&#8217;t necessarily disagree with this.  But it can be annoying when you want to do something &#8230; <a href="http://nslog.me/2011/07/finally/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h2>First a bit of history</h2>
<p>It&#8217;s no secret that Apple keeps a tight reign on what they allow developers to do with their hardware.  I don&#8217;t necessarily disagree with this.  But it can be annoying when you want to do something special &#8211; like use the computing power of an iPod Touch as the brain for a robot.  Because that requires some way to interface the iHardware with all the robot sensors and motor controllers.  But my understanding when iOS4 came out was that you could communicate with outside devices via the 30-pin dock connector.  Yeah, not exactly.</p>
<p><span id="more-102"></span>When I decided to jump in to this new hobby and custom build a full size replica R2D2, I immediately wanted to control the droid with hardware and software that is in my comfort zone.  The iDevice is small, fast, relatively cheap ($300), lightweight, has a great battery which should be able to last all day, can be quickly recharged or charged while in use by a conversion of the 24 volts on board, has built-in sensors like accelerometers, can play sounds, etc, and probably the most important reason to me, I already know how to code for it.  To me this was a slam dunk.</p>
<p>So I researched it and found that there is indeed an iOS framework to communicate to serial devices over the 30-pin.  But there was a major roadblock.  To do it you have to develop an &#8220;accessory&#8221;, and more importantly to gain access to the dock connector details, you have to join the MFi program and they&#8217;ll only allow REAL accessory companies to join.  How it works is that there is a chip in the cable that has a secret ID.  And in software you need that secret code, and the framework will only communicate with your device if you know that secret.  There are no generic cables.  And making a custom cable is expensive and the minimum order in like 20 or 30,000.  Oh and it requires an apple acceptance of your particular accessory and the application (use) for that connection.  Hobbyists were not going to be allowed to join.</p>
<p>There were two options.  First was that some resourceful people had made a custom cable that patches in to the serial port that is in every 30-pin dock connector.</p>
<p><a href="http://resolvehax.blogspot.com/2010/11/ipad-serial-port.html" target="_blank">http://resolvehax.blogspot.com/2010/&#8230;rial-port.html</a></p>
<p>Problem is that this solution requires a jailbreak &#8211; which I just don&#8217;t do.  So that was (mostly) out.  And another problem is that it might be dangerous, cause you could blow the device.  So again.. it&#8217;s out for me.</p>
<p>Second option was the SkyWire cable, which is an iPhone to serial adaptor/cable that is specifically made to control telescopes.  The cable is made by Redpark, and I contacted them to see if that cable would work for my application:</p>
<p><a href="http://www.redpark.com/iphone.html" target="_blank">http://www.redpark.com/iphone.html</a><br />
<a href="http://www.maclife.com/article/news/redpark_provides_serial_cables_ios_devices" target="_blank">http://www.maclife.com/article/news/&#8230;es_ios_devices</a></p>
<p>The simple answer is no.  The problem is the secret code.  To use the SkyWire cable in my app I&#8217;d need to know the id.  I think I could figure it out with a little simple hacking.  There is a standard format for the id&#8217;s &#8211; so it would be easy to guess.  But if I&#8217;m going to share my solution with the rest of the club I&#8217;d have to disclose the code, and I can&#8217;t do that.  So that solution was out.</p>
<p>Back then I had a very nice talk with the makers of the SkyWire cable, Redpark.  They are the ones who explained all of these limitations to me.  But they were sympathetic to what I wanted to do.</p>
<h2>The fix</h2>
<p>Tonight I got an email from Redpark:</p>
<blockquote><p>Hello Michael,</p>
<div>Apple policy has evolved &#8212; allowing us to release a new Redpark Serial Cable with SDK.   You may find this cable to be useful.Take a look at the Products section of our website (<a href="http://www.redpark.com/">www.redpark.com</a>).Mike</div>
</blockquote>
<p>So now they sell an open cable and have an SDK to go with it: <a href="http://redpark.com/c2db9.html">http://redpark.com/c2db9.html</a></p>
<p>Looking at the FAQ you learn that we still can&#8217;t develop apps that use this cable and sell them in the app store.  But this isn&#8217;t what I want to do anyway.  I just want to develop software for my own use and to share with a couple of other people in the builder&#8217;s club. And now this can be done without jailbreaking and without hacking the SkyWire cable. So I&#8217;m excited about this news.</p>
<p>The cable can be purchased here: <a href="http://redpark.myshopify.com/products/serial-cable">http://redpark.myshopify.com/products/serial-cable</a></p>
<h2>Question:</h2>
<p>One of my friends asked me today (paraphrasing), &#8220;If you can&#8217;t sell the app in the store, how is it any use for anyone else in your club?&#8221;  Here was my response:</p>
<blockquote><p>Personally, I&#8217;m not interested in selling these apps on the app store.  I actually couldn&#8217;t for several reasons, one being that I intend to use trademarked images in the app, like pictures of R2D2 and copywritten sounds.  Second that it wouldn&#8217;t be profitable &#8211; not to mention that I&#8217;m not allowed to make a profit.  Third is the reason to #2 which is that every implementation would be different and to make an app that works good for every r2d2 would mean too many settings, scripts, etc.  And while the club is like 7k people (signed up) the number of people who would ever use an ipod touch for that would be like single digits.</p>
<p>Also, just because I can&#8217;t sell them in the app store does not mean that I can&#8217;t distribute them.  I could compile and send out copies ad-hoc.  Apple doesn&#8217;t look at those apps or really even know or care what they do.  I can distribute 100 copies of each app, and I could just make a 2nd or 3rd app that does the same thing to get around that.  I can also publish code, which is what I&#8217;ll probably do for those who are interested.</p>
<p>It&#8217;s still good news that they lifted some of the restrictions.  It&#8217;s a first step.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://nslog.me/2011/07/finally/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First part is in&#8230; and it&#8217;s not right :(</title>
		<link>http://nslog.me/2011/07/first-part-is-in-and-its-not-right/</link>
		<comments>http://nslog.me/2011/07/first-part-is-in-and-its-not-right/#comments</comments>
		<pubDate>Sat, 16 Jul 2011 09:18:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[R2D2]]></category>

		<guid isPermaLink="false">http://nslog.me/?p=90</guid>
		<description><![CDATA[I want an all aluminum droid. You can build one out of any number of materials (wood, pvc, cardboard, styrene, resin) but none of that is appealing to me at all. But all metal means expensive, it means heavy, it &#8230; <a href="http://nslog.me/2011/07/first-part-is-in-and-its-not-right/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I want an all aluminum droid. You can build one out of any number of materials (wood, pvc, cardboard, styrene, resin) but none of that is appealing to me <strong>at all</strong>. But all metal means expensive, it means heavy, it means complicated&#8230; and it means waiting&#8230; possibly for y-e-a-r-s&#8230;</p>
<p>The first thing to know about R2 building is that <strong>aluminum</strong> parts are built in runs. Some brave builder will find about 40 other people who need the same aluminum part he needs, and will organize a part run.  The idea is that no one makes any money doing the run, costs are kept as low as possible, and by doing 40 pieces we all get a lower price. I&#8217;ve looked in to doing one off CNC parts and it&#8217;s crazy expensive and shops don&#8217;t want to touch it.  But much of the cost is in the setup, testing, and then turning the machine on to do a bunch of pieces.  When doing only one the overhead is too much.  All the parts are manufactured to a club spec so they should all fit together.  And these days people are doing &#8220;diet&#8221; parts where they drill away parts of the metal that aren&#8217;t seen in order to lower the weight as compared to producing a solid piece of aluminum.</p>
<p><span id="more-90"></span>All of this means that parts are sometimes <strong>rare</strong> because they don&#8217;t run very often, maybe only once a year or two. Also parts are not kept on the shelf. They are run in ordered quantities as needed, and then not run again until there is enough demand to justify another run of 40 pieces.</p>
<p>When I first got the bug to build an R2D2 I panicked because I didn&#8217;t want to miss out on any current runs, and then not be able to get that part for a year or more.  So I started ordering all of these obscure parts for my R2 build.  But I quickly had to put the brakes on because I was racking up quite a bill and didn&#8217;t have any parts that would fit together.  So I decided to back up and think it through.  I decided that certain parts were critical to make R2 look like R2 and some of these parts were also the most rare, meaning that they hadn&#8217;t run for a long time.  These are ones I&#8217;d get in on at the first opportunity.  Here is the list:</p>
<ul>
<li>Dome</li>
<li>Holo Projectors (HP&#8217;s)</li>
<li>Radar Eye</li>
<li>Utility Arms</li>
<li>Skins</li>
<li>And I need a frame to hang it all on</li>
</ul>
<p>The legs can be made to order &#8211; so I&#8217;ll wait until I need them and can afford them.  Many of the body detail parts I&#8217;ll get when I get or I get in resin to hold me over.  And all of the internals, the electronics, the motors, servos, etc.. all are either readily available or I&#8217;ll have to custom design and build.</p>
<p>So far I&#8217;ve ordered the Dome, HP&#8217;s, and Utility Arms.  I&#8217;m waiting for Skins and Radar Eyes to run again, and I&#8217;m going to custom build a frame.  And to give you an idea of the waiting game, the Dome was ordered early in July and I&#8217;m slated to get it mid December.  That&#8217;s about 5 to 5 1/2 months.  But they&#8217;re hand spun, laser cut and are a piece of art when finished.  So waiting is the name of the game.</p>
<p>Well&#8230; my utility arms came in today&#8230;.</p>
<p><a href="http://nslog.me/wp-content/uploads/2011/07/utility-arms.jpg"><img class="alignnone size-full wp-image-92" title="utility-arms" src="http://nslog.me/wp-content/uploads/2011/07/utility-arms.jpg" alt="" width="2592" height="1936" /></a></p>
<p>The problem is that I got 2 lower arms and no upper arm.  The holes on the bottoms of them are the &#8216;diet&#8217; part where they were drilled out to save weight.  Shouldn&#8217;t be easy to notice unless you&#8217;re laying underneath R2 while his arms are out.  But I can&#8217;t have those holes pointing up.  Had they not been diet maybe it wouldn&#8217;t matter.</p>
<p>I&#8217;ve messaged the part runner to see what he can do.  Maybe someone else was accidentally shipped two uppers and hasn&#8217;t noticed yet.  The problem is that I had him anodize mine and he was all sold out, so I hope there&#8217;s an upper arm waiting for me somewhere or I&#8217;ll be waiting a year for the next run!</p>
]]></content:encoded>
			<wfw:commentRss>http://nslog.me/2011/07/first-part-is-in-and-its-not-right/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>R2D2 Builders</title>
		<link>http://nslog.me/2011/07/r2d2-builders/</link>
		<comments>http://nslog.me/2011/07/r2d2-builders/#comments</comments>
		<pubDate>Sat, 16 Jul 2011 08:40:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[R2D2]]></category>

		<guid isPermaLink="false">http://nslog.me/?p=87</guid>
		<description><![CDATA[A few months ago I discovered the R2D2 Builders Club at astromech.net.  I couldn&#8217;t stop looking at these home built droids and all the cool things people were doing with them. And before the night was over I was hooked. &#8230; <a href="http://nslog.me/2011/07/r2d2-builders/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A few months ago I discovered the R2D2 Builders Club at <a href="http://astromech.net" target="_blank">astromech.net</a>.  I couldn&#8217;t stop looking at these home built droids and all the cool things people were doing with them. And before the night was over I was hooked. I had to build one of these.</p>
<p><iframe src="http://www.youtube.com/embed/Kec1Vf3cKlc" frameborder="0" width="640" height="390"></iframe></p>
<p><span id="more-87"></span>One of the things that excites me about it is the engineering challenges. These things are not kits. Far from it. There are parts that are sort of available every now and then. There are plans and blueprints for different parts. There&#8217;s the builder&#8217;s club forum and a yahoo group to ask questions and co-op on part runs.  And there are 100&#8242;s of other blogs to follow fellow builders, see how they solved problems and learn from their mistakes. But depending on what you want the droid to be able to do, there will be an array of problems to solve.</p>
<p>I&#8217;m actually not one of these people who gets in to costuming.  Last Halloween I considered getting a <em>real</em> Stormtrooper costume.  But at about $1200 I decided against. But at some point before that I really wanted life sized R2 and C3PO statues. I found some really good licensed ones for about 7 to 10 grand each, and they were all sold out. Well for just slightly more you can build your own and it&#8217;s not a statue.  It&#8217;s a fully operational metal droid.</p>
<p>But with a price tag in the neighborhood of 10 grand, how do you justify the new hobby to your wife? Well there are worse things a husband could be doing&#8230; much worse things. And I suppose you just have to bring in enough bacon that it doesn&#8217;t matter. And then there&#8217;s the fact that it can take <strong>years</strong> to complete and therefore <strong>years</strong> to pay for. Although I am a &#8216;want it now&#8217; sort of person &#8211; so I&#8217;ll be trying to move things along as fast as I can.</p>
<p>So I&#8217;ll be sharing some of my journey in this blog, starting with the first part that I just got in today.  And as I get time I&#8217;ll add resources, etc.  Note that in general this will not be a how to blog.  Others have done that quite well, but I don&#8217;t have the patience to take all the necessary process photos and discuss each step.  This is an experience blog and a whatever-I-feel-like-typing-today blog.</p>
]]></content:encoded>
			<wfw:commentRss>http://nslog.me/2011/07/r2d2-builders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Program flow through a message and back</title>
		<link>http://nslog.me/2011/05/through-a-message-and-back/</link>
		<comments>http://nslog.me/2011/05/through-a-message-and-back/#comments</comments>
		<pubDate>Wed, 25 May 2011 12:05:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[iOS]]></category>

		<guid isPermaLink="false">http://nslog.me/?p=78</guid>
		<description><![CDATA[Back in the days of coding Atari ST I was fairly familiar with what was really going on in the processor after I compiled and ran my code.  I knew that it was running sequentially. And if I jumped or &#8230; <a href="http://nslog.me/2011/05/through-a-message-and-back/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Back in the days of coding Atari ST I was fairly familiar with what was really going on in the processor after I compiled and ran my code.  I knew that it was running sequentially. And if I jumped or branched off to a subroutine, I knew that it was run that and then return.  It was an event based system with a menu bar&#8230; one of the first.. but still it was a main program loop that waited for events and then acted on them, running the code to act on them, and then return to the main loop and wait for the next event.</p>
<p>But today with multi-code processors and multi-threaded code, I have to admit that half the time I don&#8217;t really know much about what&#8217;s really happening in the compiled code from a program flow standpoint.  Does it sometimes run down two threads of code at the same time?  I sort of assume that it does at times.  But I don&#8217;t really know.<span id="more-78"></span></p>
<p>For example, early on I found that I needed to &#8216;put off&#8217; initializing some of my game variables rather than doing it inside the loadView because otherwise the OS would think my app was locked up and crash it out.  The loadView needed to end as quickly as possible so the game title screen would flip off.  So I used:</p>
<pre>[self performSelector:@selector(initGame) withObject:nil
      afterDelay:.1];</pre>
<p>This moved the initialization out of the loadView so loadView could return quicker.  But almost immediately (.1 seconds later) run my initialization method.</p>
<p>But again.. I really don&#8217;t know what&#8217;s happening here. I assume that there is a main control loop that starts a timer and then executes the initGame selector when the timer runs out.  But at the same time I do have an animation timer that triggers a drawView every 30th of a second.  So.. what happens when one timer triggers before another one is completed and has returned?  Does one method cease to run until the other one returns, does one timer have to wait in queue until the other one returns, or do both methods run along side each other? I know that I&#8217;ve seen my animations stop mid stream when something else happens, and then continue after.  So maybe there is no multi-threading going on here.  Maybe some know it all can leave a comment and tell me the answer.</p>
<p>But narrowing in on the point of THIS post.. in my table view I need to place certain functionality inside the iphoneViewController so that it will have access to properties (variables) of my game method&#8230; but I need to call it from inside one of the tableView controllers when someone taps the appropriate tableview cell.  The way I&#8217;ve been handling this so far has been via messages and notifications.  Once I find something that works I exploit it as much as possible.  But I want to know what&#8217;s really going on so I don&#8217;t have some accidental conflict.</p>
<p>So to my experiment&#8230; Using NSLog is an interesting way to track the program flow and see what&#8217;s going on. I&#8217;m about to do that now and publish the results.</p>
<p>In my iPhoneViewController I set up the following notification:</p>
<pre>[[NSNotificationCenter defaultCenter] addObserver:self
   selector:@selector(testControl) name:@"testControl" object:nil];</pre>
<p>Then:</p>
<pre>-(void)testControl {
    NSLog(@"inside test control");
}</pre>
<p>Then in my table view, inside didSelectRowAtIndexPath I have the following:</p>
<pre>NSLog(@"test - sending a message to testControl");
NSNotification* notification = [NSNotification
     notificationWithName:@"testControl" object:self];
[[NSNotificationCenter defaultCenter] postNotification:notification];
NSLog(@"test - after the message is sent");</pre>
<p>The point is to see if the &#8216;after message&#8217; prints out before or after the &#8216;inside test control&#8217;. Is it a linear path, just like I called a subroutine (in old coding terms), or is it a sequential series of events?  Here are the NSLog results:</p>
<p><strong>2011-05-25 04:40:37.809 X[15647:207] test &#8211; sending a message to testControl<br />
</strong><strong>2011-05-25 04:40:37.809 X[15647:207] inside test control<br />
</strong><strong>2011-05-25 04:40:37.810 X[15647:207] test &#8211; after the message is sent</strong></p>
<p>In this test it appears to be a sequential series of events in the flow.  At least it looks like the message was picked up immediately, even before the clock had time to tick a 100th of a second, and the testControl method ran, and then after that the program flow returned. But with only that one NSLog in testControl maybe the timing just worked out that way. To do a better test I added a long delay in testControl via counting to 10000 in a for loop.</p>
<pre>-(void)testControl {
   NSLog(@"inside test control");
   for (int x=0; x&lt;10000; x++) {
     // do nothing.. blow some time here freeze the app a bit
   }
   NSLog(@"exiting test control");
}</pre>
<p>Ok so counting to 10000 happens in a blink.  I had to up that to x&lt;100000000 in order to have a barely noticeable delay.. and here are those results:</p>
<p><strong>2011-05-25 04:47:54.642 X[15782:207] test &#8211; sending a message to testControl<br />
</strong><strong>2011-05-25 04:47:54.642 X[15782:207] inside test control<br />
</strong><strong>2011-05-25 04:47:54.898 X[15782:207] exiting test control<br />
</strong><strong>2011-05-25 04:47:54.898 X[15782:207] test &#8211; after the message is sent</strong></p>
<p>I think this is a more reliable test.  Sending the message did stop the program flow in that method, run all of the code in testControl and then return and continue.  This is a successful test for me because it helped clear the fog a little bit.</p>
<p>Another note is that the [15782:207] does apparently indicate the process and thread. Above those lines in the output was:</p>
<p>[Switching to process 15782 thread 0x207]</p>
<p>Therefore we know that everything happening in those NSLogs was all sequential code in one program flow.  The postNotification message sender had to wait to see if anyone received the message and run that code before returning and continuing the flow.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://nslog.me/2011/05/through-a-message-and-back/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

