<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description>

  var _gaq = _gaq || [];
  _gaq.push([‘_setAccount’, ‘UA-16029661-1’]);
  _gaq.push([‘_trackPageview’]);

  (function() {
    var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true;
    ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘http://www’) + ‘.google-analytics.com/ga.js’;
    var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s);
  })();</description><title>sweetinsanity</title><generator>Tumblr (3.0; @nathanpiper)</generator><link>http://sweetinsanity.org/</link><item><title>Audio</title><description>&lt;iframe src="https://embed.spotify.com/?uri=spotify:user:nathan.piper:playlist:0iFPgEH3pvfqvFy0P3S9Mv&amp;view=coverart" frameborder="0" allowtransparency="true" style="width:500px;height:580px;"&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;</description><link>http://sweetinsanity.org/post/24188306589</link><guid>http://sweetinsanity.org/post/24188306589</guid><pubDate>Fri, 01 Jun 2012 20:13:53 +1000</pubDate><category>music</category><category>spotify</category></item><item><title>ShareTunes used to pick up on whatever I was already playing in the iPod app on my iPhone. Now it stops the music and prompts me to pick a song manually. How come?</title><description>&lt;p&gt;In order to support background scrobbling I had to change the way playback works.&lt;/p&gt;
&lt;p&gt;Unfortunately, it is not technically possible to support playback using the iPod app AND run the app in the background.&lt;/p&gt;
&lt;p&gt;Due to feedback from users, I thought that most people would prefer background scrobbling over iPod app integration.&lt;/p&gt;</description><link>http://sweetinsanity.org/post/4482753867</link><guid>http://sweetinsanity.org/post/4482753867</guid><pubDate>Sun, 10 Apr 2011 12:15:11 +1000</pubDate></item><item><title>Paperboy: Simple script to deliver news to your Kindle</title><description>&lt;p&gt;I just hacked together a simple script that uses &lt;a href="http://calibre-ebook.com/"&gt;Calibre&lt;/a&gt; to deliver your favourite news sources to your Kindle. You can use this with CRON to schedule daily delivery of the Sydney Morning Herald for example.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nathanpiper/paperboy"&gt;https://github.com/nathanpiper/paperboy&lt;/a&gt;&lt;/p&gt;</description><link>http://sweetinsanity.org/post/3646430595</link><guid>http://sweetinsanity.org/post/3646430595</guid><pubDate>Sat, 05 Mar 2011 11:17:32 +1100</pubDate></item><item><title>Radiohead - Lotus Flower</title><description>&lt;iframe width="400" height="225" src="http://www.youtube.com/embed/cfOa1a8hYP8?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Radiohead - Lotus Flower&lt;/p&gt;</description><link>http://sweetinsanity.org/post/3395608162</link><guid>http://sweetinsanity.org/post/3395608162</guid><pubDate>Sun, 20 Feb 2011 15:04:42 +1100</pubDate></item><item><title>ShareTunes Promo Codes</title><description>&lt;p&gt;In the spirit of Christmas and to celebrate the fact that iTunes promo codes can now be redeemed worldwide, here are some codes for ShareTunes:&lt;/p&gt;

&lt;p&gt;34MW47Y7LXAJ
FYRYLK933NT4
KYJ47WNMK74Y
EPNXHXW9K3W9
369W4WMJL46L
3LYRRWH7Y97L
RYA76M3W67TK
TRENKW3YWH4L
KP66AEEFPRYA
N6KW7HNLXPYE&lt;/p&gt;

&lt;p&gt;Enjoy!&lt;/p&gt;</description><link>http://sweetinsanity.org/post/2315731718</link><guid>http://sweetinsanity.org/post/2315731718</guid><pubDate>Wed, 15 Dec 2010 08:10:53 +1100</pubDate><category>free</category><category>promo codes</category><category>sharetunes</category></item><item><title>Awesome version of Landslide!</title><description>&lt;iframe width="400" height="300" src="http://www.youtube.com/embed/689HHfq-i7E?wmode=transparent&amp;autohide=1&amp;egm=0&amp;hd=1&amp;iv_load_policy=3&amp;modestbranding=1&amp;rel=0&amp;showinfo=0&amp;showsearch=0" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Awesome version of Landslide!&lt;/p&gt;</description><link>http://sweetinsanity.org/post/2197407619</link><guid>http://sweetinsanity.org/post/2197407619</guid><pubDate>Mon, 13 Dec 2010 19:22:00 +1100</pubDate><category>smashing pumpkins</category><category>kroq</category></item><item><title>Smashing Pumpkins Player</title><description>&lt;a href="http://wildfire.gigya.com/wildfire/WidgetPreview.aspx?ut=dBFII5RbVxUc8nBdc3bMDT7hmmrIvgen1wCG_dxqadJhAAWkNZSIhV-1DGKZvwZ0-DQUg5JS8Y61ukrjwOp8p81S9pP6R_BhovjemyHtbA0dAsx-PMuL2zIosIac-rUvj3lTh1WL6rg0IY1bFO3pdiq0GQ8TwM6enbZKtH_hLTWs8vQjDY3Qox9rE89GXwqHXZm71A1gl06T7x439vTr5W6j-mlvWhSmOaZgpx-f7cuDvhNdZXeB5H5Y9I552IZwnz1KSee5AjzOCpr0OMu-nQ.."&gt;Smashing Pumpkins Player&lt;/a&gt;: &lt;p&gt;Check out the latest song from the Pumpkins: “Tom Tom”. It sounds like vintage Pumpkins!&lt;/p&gt;</description><link>http://sweetinsanity.org/post/2100538500</link><guid>http://sweetinsanity.org/post/2100538500</guid><pubDate>Sun, 05 Dec 2010 10:44:28 +1100</pubDate></item><item><title>ShareTunes 2.0 Beta</title><description>&lt;p&gt;Just a quick update on ShareTunes 2.0.

ShareTunes has been in the App Store for just over 6 months now. During that time, we have had over 1000 paid downloads and 1800 downloads of the Lite version of the app (which has been live for about 2 months).

I would like to thank all the users who have provided encouraging feedback. It&amp;#8217;s really cool to hear from people all over the world who share the same passion for music. I appreciate it!

I am pleased to announce a beta test for ShareTunes 2.0. I think this version is a huge improvement on the previous in terms of the user interface and the ability to share music with others.

Here are some of the features:
&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Improved user interface, inspired by Apple&amp;#8217;s iPod app&lt;/li&gt;
	&lt;li&gt;Shuffle songs&lt;/li&gt;
	&lt;li&gt;&amp;#8220;Love&amp;#8221; this track (Last.FM feature)&lt;/li&gt;
	&lt;li&gt;Share the artist or song you are listening to with other ShareTunes users and social networks, including Twitter and Facebook&lt;/li&gt;
	&lt;li&gt;See what other ShareTunes users are listening to near you&lt;/li&gt;
	&lt;li&gt;Follow other ShareTunes users and comment on the songs/artists they are listening to&lt;/li&gt;
&lt;/ul&gt;&lt;strong&gt;ShareTunes 2.0 is now available on the App Store!&lt;/strong&gt;</description><link>http://sweetinsanity.org/post/2087131658</link><guid>http://sweetinsanity.org/post/2087131658</guid><pubDate>Sun, 23 May 2010 11:21:14 +1000</pubDate><category>IPhone Development</category><category>ShareTunes</category></item><item><title>Git</title><description>&lt;p&gt;I recently decided to use &lt;a href="http://git-scm.com"&gt;Git&lt;/a&gt; for my personal iPhone development projects. A lot of opensource projects seem to be using &lt;a href="http://github.com/"&gt;GitHub&lt;/a&gt; lately, instead of SourceForge or Google Code. For those unfamiliar with Git, here is a brief run down &amp;#8230;

Git is an opensource distributed version control system developed by Linus Torvalds as a replacement for BitKeeper (a proprietary SCM which was being used for the Linux kernel project).
&lt;/p&gt;&lt;h3&gt;Main Features of Git&lt;/h3&gt;
&lt;h4&gt;Distributed Workflow&lt;/h4&gt;
Git makes it very easy for developers to work in a distributed nature. A central Git repository can be set up on a server and developers can obtain a complete copy of the remote repository, make local changes (to their own repository) and then push the changes back to the central repository.

There are many benefits to using this approach:
&lt;ul&gt;&lt;li&gt;Git is very fast at generating diffs and providing file history because a complete copy of the repository is stored locally.&lt;/li&gt;
	&lt;li&gt;Each local copy of the remote repository serves as a backup and can be restored to the remote repository if need be.&lt;/li&gt;
	&lt;li&gt;Developers can continue working if the SCM server goes down.&lt;/li&gt;
&lt;/ul&gt;&lt;h4&gt;Branch Handling&lt;/h4&gt;
Branching is fast and more flexible than Subversion.
&lt;h3&gt;How I&amp;#8217;m using Git&lt;/h3&gt;
What I found particularly impressive with Git was how easy it is to get a basic repository up and running. Git provides a few options for setting up a repository, you can set up a repository on the local file system or you can use SSH, the Git protocol or HTTPS on the server side.

I have a MobileMe account which provides me with 20GB of hosted storage. I can access this through the WebDav protocol over HTTPS. I followed &lt;a href="http://www.macosxhints.com/article.php?story=20091023040655638"&gt;this&lt;/a&gt; guide to get a remote repository up and running. I think this configuration is ideal for solo developers as it serves as a backup on an offsite server (2 copies of the repository, one local and one remote). I simply make my changes in my local copy of the repository and then push them back at the end of the day to the remote repository on my iDisk.

I am using &lt;a href="http://gitx.frim.nl/"&gt;GitX&lt;/a&gt; as a GUI frontend for the Git command line tools. GitX provides basic Git functionality, allowing you to commit changes, view file history and diffs between revisions.
&lt;h3&gt;Some Cool Git Features&lt;/h3&gt;
&lt;h4&gt;Stash&lt;/h4&gt;
This is a particularly useful feature. Ever been working on some new functionality and been interrupted to fix a bug? Stash allows you to &lt;em&gt;stash &lt;/em&gt; (save) your local changes and revert your working copy to the HEAD revision. Then you can safely work on a bug fix, commit it and then re-apply the changes you stashed.
&lt;h4&gt;Local Branches&lt;/h4&gt;
Git allows you to create your own private local branches. These branches can be used temporarily and merged into a remote branch or they can be pushed to the remote server if you wish to make the branch accessible to other developers.</description><link>http://sweetinsanity.org/post/2087131643</link><guid>http://sweetinsanity.org/post/2087131643</guid><pubDate>Sat, 19 Dec 2009 17:00:06 +1100</pubDate><category>Git</category><category>IPhone Development</category></item><item><title>XCode VS Visual Studio</title><description>&lt;p&gt;In general, my experience with XCode has been fairly positive. I&amp;#8217;m going to give my honest opinion coming from a Visual Studio background. Please note: I don&amp;#8217;t proclaim to be an XCode expert and there may be solutions to some of the complaints I have listed. However, the goal of this post is to provide an insight regarding into the &amp;#8220;out of box&amp;#8221; development experience for anyone who is considering iPhone/Mac OS development.

Whilst significant improvements have been made in the last few releases, I still think it is not quite up to scratch when compared to Visual Studio. Perhaps this can be explained by the fact that Microsoft has a much bigger share of developers than Apple and has spent more time and effort evolving their IDE. Here are some of the things I found frustrating with XCode, compared to Visual Studio:
&lt;/p&gt;&lt;h4&gt;Window Layout&lt;/h4&gt;
XCode&amp;#8217;s default windows layout opens a thousand windows for debugging and source editing. The first thing I did when I started using XCode was enable the &amp;#8220;All In One&amp;#8221; window layout. Coming from Visual Studio, this was the only layout I could work with. When you work in &amp;#8220;All In One&amp;#8221; mode, you can only have one source file open at a time. It would be nice to have tabs for the files you have opened, so you could quickly switch between them without having to scan the project tree to find the relevant file you are after.
&lt;h4&gt;Code Sense&lt;/h4&gt;
XCode&amp;#8217;s code completion (aka Code Sense) does not seem to be as smart or fast as IntelliSense. There are some constructs that should be auto-completed but aren&amp;#8217;t (at least not to my knowledge), such as property declaration.
&lt;h4&gt;Debugging&lt;/h4&gt;
XCode&amp;#8217;s uses GDB as its debugger and provides fairly decent debugging capabilities. However, some debugging features can only be accessed by typing GDB commands in a debugging console. The visual debugger has a few minor annoyances. When inspecting classes from external frameworks (such as Foundation, UIKit etc), sometimes you can see the members and sometimes you can&amp;#8217;t. The members are also shown hierarchically, requiring you to drill down to see members of superclasses. Also, expressions are configured in a separate window!
&lt;h4&gt;Stability&lt;/h4&gt;
This is a big one. I could probably count on one hand the number of times Visual Studio has crashed on me over the years. However, XCode crashes at least a few times a week. It&amp;#8217;s hard to put a finger on what seems to cause the majority of the crashes I have experienced, but it seems to be an inherent problem with the code completion. I&amp;#8217;ve also experienced a very annoying bug which causes all the text to be aligned to the left when the code completion gets its confused.
&lt;h4&gt;Integration&lt;/h4&gt;
XCode does not feel like an IDE, it feels like a text editor that integrates loosly with other components you would find in an IDE. For example, if you want to make changes to the user interface you need to launch Interface Builder. Interface Builder is launched as a separate application, with another multitude of windows being opened!

I think some improvements could be made here to make development more productive. Why can&amp;#8217;t we edit our UI in a pane within XCode?

It&amp;#8217;s good that XCode works with all these different tools (Instruments, Shark, Interface Builder, GDB etc). But all these things should be more tightly integrated presented within XCode. I shouldn&amp;#8217;t have to know that it uses Interface Builder for the UI, GDB for debugging, Instruments for inspecting memory leaks, Shark for something else.
&lt;h4&gt;Conclusion&lt;/h4&gt;
From the above critique, you might get the impression that I have been fairly scathing of XCode. I am being critical, because I enjoy iPhone development and would like to see XCode evolve enough to compete with the likes of Visual Studio, Eclipse, IntelliJ and others.</description><link>http://sweetinsanity.org/post/2087131603</link><guid>http://sweetinsanity.org/post/2087131603</guid><pubDate>Sat, 07 Nov 2009 18:53:52 +1100</pubDate><category>iPhone</category><category>IPhone Development</category><category>iPhone SDK</category><category>Visual Studio</category><category>XCode</category></item><item><title>My experiences with iPhone development so far ...</title><description>&lt;p&gt;Having spent the best part of the last 5 years working fulltime as a mobile developer for the Windows Mobile platform, I felt Microsoft had the rug pulled from under them.&lt;/p&gt;

&lt;p&gt;The iPhone is an exciting platform and seemed to provide the developer with a clear MVC architecture, clear user experience guidelines as well as a global reach to exploit your ideas. I decided it was time to see what iPhone development was really like.&lt;/p&gt;

&lt;p&gt;Stay tuned.&lt;/p&gt;</description><link>http://sweetinsanity.org/post/2087131456</link><guid>http://sweetinsanity.org/post/2087131456</guid><pubDate>Sat, 07 Nov 2009 18:52:12 +1100</pubDate><category>.NET</category><category>iPhone</category><category>IPhone Development</category><category>iPhone SDK</category><category>Objective-C</category><category>XCode</category></item></channel></rss>

