0:00:00Hello and welcome to Developing Perspective.
0:00:02Developing Perspective is a near-daily podcast discussing the news of note in iOS, Apple,
0:00:06and the like.
0:00:07I'm your host, David Smith.
0:00:08I'm an independent iOS developer based in Herndon, Virginia.
0:00:11This is show number 20, and today is Thursday, September 1, 2011.
0:00:16The format of Developing Perspective is that it'll cover a handful of articles, links,
0:00:20things I found interesting since the last show, and then move over to a more general
0:00:23discussion towards the end.
0:00:24This show will never be no longer than 15 minutes.
0:00:27Let's get started.
0:00:28All right.
0:00:29My first link today is by Brett Terpstra entitled,
0:00:33"Why Markdown?
0:00:34A Two-Minute Explanation."
0:00:35And it's kind of an interesting article that he wrote.
0:00:37Brett Terpstra is probably one of the most knowledgeable people
0:00:40about Markdown that I know, behind maybe just
0:00:43a few other people.
0:00:44But he definitely knows his stuff.
0:00:46This is an interesting article because it talks rather
0:00:49than talking about the what of Markdown,
0:00:51how the syntax works, how to parse it, tools that use it,
0:00:55et cetera.
0:00:55It's more the why.
0:00:57is sort of like five reasons why Markdown is better
0:01:00than sort of the alternatives for creating HTML or just
0:01:03generally rich formatted text.
0:01:06Definitely worth reading if you have any interest in sort
0:01:09of doing any amount of writing, whether for a blog
0:01:11or for a book or whatever it may be.
0:01:14It's a really interesting article,
0:01:16but sort of just reinforcing the why that Markdown is so good.
0:01:20All right, next I wanted to point out
0:01:22that yesterday the Spotify team released an iOS
0:01:25SDK for their service.
0:01:28So Spotify, if you're not familiar with it,
0:01:29is kind of an online music service that
0:01:33lets you listen to almost every song you've ever
0:01:36heard of in a fairly easy, low subscription per month kind
0:01:41of way.
0:01:42And essentially what they've done here
0:01:43is they've opened up an SDK that lets you incorporate
0:01:45Spotify and their music streaming and things
0:01:47into your application.
0:01:49One thing to point out is that it's free and easy
0:01:52to do for non-commercial applications,
0:01:54but any application that has any commercial value.
0:01:57So it's either charged for the app or includes advertising.
0:02:02There's a special arrangement that you
0:02:03don't have to do with them.
0:02:04Who knows exactly what's involved with that.
0:02:06But if you're just doing it as a side project, a hobby,
0:02:10something, it's definitely an interesting thing to look into.
0:02:13It could be kind of fun.
0:02:15All right, next I was going to talk about-- this
0:02:18is a very good article talking about--
0:02:22I think I referenced it a couple of episodes ago,
0:02:25but there's a thing called GitFlow,
0:02:27which is kind of a philosophy or a process of managing
0:02:32a Git repository for a large team.
0:02:36It's kind of been making the rounds recently
0:02:38and been doing pretty well.
0:02:39And specifically, this is Scott Chacon,
0:02:42who is probably in many ways sort of the godfather of Git.
0:02:46At least he seems to be always--
0:02:49he was either one of the founders, one of the very early
0:02:52employees of GitHub.
0:02:53And his name and Git are kind of always combined in my mind.
0:02:59He talks about how they do-- what the Git workflow
0:03:02at GitHub itself is.
0:03:04And it walks through a lot of really interesting things
0:03:07about tools you can use inside of GitHub, which
0:03:09is my preferred source control system,
0:03:12and just kind of walks through all of how they do it,
0:03:15why they do it, and it's just really a good read.
0:03:18I think it reinforces one thing that
0:03:20is very different between it and GitFlow,
0:03:22is that it's very much a lightweight approach, which
0:03:25fits very well with Git.
0:03:27Because Git, at its core, is all about lightweight branches.
0:03:29It's about having a much more free flow thing
0:03:33without friction.
0:03:35If I want to create a branch, I can just do it.
0:03:37There's no cost.
0:03:38It's not this big time intensive process.
0:03:40You can just do it, and you've got it.
0:03:41So definitely worth reading, especially if you
0:03:43use GitHub for your source control.
0:03:45There's a lot of good tips and processes in there
0:03:47that I think a lot of developers could learn from,
0:03:50especially some of their things around code review and things
0:03:53like that.
0:03:54Some tools that I wasn't even aware were in GitHub
0:03:57that are pretty cool.
0:03:59All right, next I have an article.
0:04:01It's really a video.
0:04:02It's a fascinating little video about watching Steve Jobs talk
0:04:06to an audience member during WWDC 1997.
0:04:11So this was quite a few years ago.
0:04:14But it's just a fascinating thing
0:04:15where essentially one of the audience members in internet
0:04:19parlance was trolling.
0:04:21He was kind of asking a question that
0:04:22isn't so much a question as sort of an insult
0:04:25wrapped up in a observation.
0:04:28And it's just really-- it's just a really good video
0:04:32because you kind of get this insight into how he works
0:04:35and how he thinks, where he's like, you know,
0:04:37no matter what you do, people are going to not like it.
0:04:41And that's unfortunate.
0:04:44It would be great if you could please everybody,
0:04:46but you can't.
0:04:47And all that really means is some people
0:04:50are going to be sad, but we're going to try and make
0:04:53the vast majority of people very happy.
0:04:55And it's just really worrying.
0:04:57He obviously says it much more eloquently than that.
0:05:00It's just worth thinking about more generally.
0:05:02It's a great little video in terms of it's a nice way
0:05:04to see Steve back in his heyday.
0:05:06But I definitely recommend just getting a sense of that
0:05:10And being like, you know, that's true.
0:05:11No matter what you do, you're going to be--
0:05:14you can't be all things to all people
0:05:19when you're making a product.
0:05:21No matter what you do, someone's going
0:05:22to mind it some other way.
0:05:24And you just need to accept that and then sort of adjust
0:05:26accordingly.
0:05:28And lastly, I have a link to an article
0:05:31that I wrote yesterday entitled 5% Off Everything.
0:05:35And it was a realization, basically,
0:05:36that. So Apple has an affiliate program. In the US, it's through link share, it's through
0:05:41other people in other countries, which basically means that if you have a link, I got it because
0:05:46I can link to one of my products. Say for example, I link to SimpleCasts or my recipe
0:05:52book or one of my other apps. And I have a link on my website, I have a link cross-promotionally
0:05:57or however I do it. And that link takes them to my app in the App Store. That infrastructure,
0:06:06an affiliate link lets me get a little kickback from that purchase.
0:06:10And you can essentially use it as a way to get an extra 5% off, so sort of back on that
0:06:16purchase.
0:06:17But what I realized is you can also create affiliate links to just stores.
0:06:22So to the iBook store, the Mac App Store, the regular App Store, and the iTunes store.
0:06:27And if you go to, and if you click on one of those links yourself, buy whatever it is
0:06:33you're going to buy.
0:06:34I was buying an app and a book, you can then fairly
0:06:39straightforwardly get 5% back on that purchase.
0:06:43We did 5% off.
0:06:44So if you buy a $10 app, you get $0.50 off, which is great.
0:06:48It's just sort of free money, and it's nice to kind of have
0:06:51that benefit.
0:06:51And I think in aggregate, it's something
0:06:53that's going to sort of save me a lot of money overall.
0:06:57But one thing that I did and what this article walks
0:06:59through that I wrote is what I did
0:07:02is I created a little single purpose website, which
0:07:06is just a file on this web server I host somewhere.
0:07:09But basically, I can open up any time I want to buy anything.
0:07:11I can open up my iPad, my iPhone, my Mac,
0:07:14and it has just a list of those store links.
0:07:16I can click on one.
0:07:17It takes me to the store.
0:07:18I finish whatever I'm going to buy.
0:07:19So now every time I want to buy something,
0:07:21I open up that website.
0:07:23I click the link, and then I buy it.
0:07:25It takes a lot of the hassle out of doing it.
0:07:27If you're trying to do it via link share, where you could
0:07:30find the product that you want inside of their deep link
0:07:32maker and so on.
0:07:33It's just a really low friction, easy to use thing
0:07:37that I think will overall save you
0:07:39a little bit of money, which is always nice.
0:07:42All right, I'm going to move over to our general discussion
0:07:45today.
0:07:45And originally I'd said yesterday
0:07:47that I was going to be continuing my process
0:07:49on my article, the arc about how to submit apps,
0:07:54what that process is like.
0:07:56But after listening to yesterday's show,
0:07:57I realized that it was kind of an interesting lesson
0:08:00in and of itself about the software development process
0:08:03and about some of the things that can go wrong.
0:08:06So if you listened to yesterday's show,
0:08:07or if you haven't, and if you want to just go back,
0:08:09so that was show 19, setting up for the App Store,
0:08:14the interesting thing that I found is it was a very good
0:08:16example of Parkinson's Law.
0:08:19And Parkinson's Law, if you're not familiar,
0:08:21which I have linked to the Wikipedia page in the show
0:08:23notes, is basically that work expands so as to fill
0:08:27the time available for its completion, which
0:08:30is a fancy way of saying that if you assign
0:08:33a task a certain amount of time, it'll
0:08:35take roughly that amount of time to do.
0:08:37And the crazy thing is you can expand and contract
0:08:40the amount of time, and it will still roughly fit.
0:08:44And what I found interesting is obviously
0:08:46with developing perspective, I kind of
0:08:47have a policy that I say the show will never
0:08:50be longer than 15 minutes.
0:08:52So every time I'm recording-- so like right now,
0:08:54I'm about to hit nine minutes.
0:08:56So I have six minutes left in the show.
0:08:58And what I found yesterday is, as I'm
0:09:00talking through this process, it's
0:09:01a big topic for setting up for the App Store,
0:09:03provisioning profiles, certificates, all this stuff.
0:09:06And I could talk to a large extent.
0:09:10I could talk to a short extent.
0:09:12And this will cover the same topic.
0:09:14The problem that I found-- and this has happened to me many,
0:09:17many times when developing software--
0:09:19is I started off kind of going through things
0:09:22that are at a good pace, a moderate pace.
0:09:24And I got to a good stopping point,
0:09:26where essentially my discussion was fairly complete,
0:09:29but I was in about 12 minutes.
0:09:31And so now I've got three minutes left.
0:09:32Maybe I can jump into another topic,
0:09:35embellish this a little bit more, add a little bit more depth.
0:09:38And then towards the end, all of a sudden I look up,
0:09:41and I'm at 14 minutes and 10 seconds.
0:09:43Oh, goodness, I've only got 50 seconds left.
0:09:46And so I start rushing, and I'm kind of throwing it together.
0:09:49And the end of the show is kind of bad.
0:09:51And I have to apologize to my audience about that.
0:09:54But it was an interesting lesson, I think, in terms of what's happened to me many times
0:09:59with software, where I say, "Okay, I'm going to have this feature done by next Friday,
0:10:07next month, whatever it is.
0:10:09And it'll take roughly that amount of time, irrespective of how long it actually should
0:10:16have taken."
0:10:17And so I just thought that was kind of an interesting lesson, because what I really
0:10:22should have done, and this is what I've sort of tried to learn and do in software, is say,
0:10:27you know, at 12 minutes it was done.
0:10:29That was a good discussion.
0:10:30I'm just going to leave it there and pick it up the next day.
0:10:33Or in the software world, the equivalent is to try and not be too bound to timelines and
0:10:39milestones and say, you know, this feature's done.
0:10:43It's good enough.
0:10:44It's, you know, it's very, it's exactly, you know, it's sufficient.
0:10:47Is maybe a better word for it in a more succinct way.
0:10:51And rather than be saying, well, I gave myself a week.
0:10:58Maybe I should just keep trying at it.
0:11:00And then the problem is, then you end up taking it to this other place where you can't finish
0:11:05it or you have to rush to finish it.
0:11:07And it ends up being very messy or very awkward and those types of things.
0:11:12And so it's just kind of a lesson to learn that it's typically best to let things organically
0:11:17take as much time as they need.
0:11:20And that could be either longer or shorter.
0:11:21But rather than putting sort of artificial milestones on it,
0:11:24I've definitely run into this many times
0:11:26with consulting projects, where a client says,
0:11:28I need it done by this date.
0:11:31And I find work to do to fill that time,
0:11:35because that's the nature of the project.
0:11:37That's what they're paying me to do.
0:11:38Or this just happened a lot when I was a 9 to 5 employee.
0:11:41So we need this thing done by this time.
0:11:43Whereas there's a certain mindfulness
0:11:45and a certain consciousness that's important to be
0:11:48able to say, you know, where it is now is good enough.
0:11:51And you draw a line.
0:11:53And then often what I find will happen is you'll end up with,
0:11:55A, a better product because you've stopped it
0:11:58at a place that is much more typically elegant
0:12:01and streamlined.
0:12:02And then you also have time to improve it or other features
0:12:06as you go forward.
0:12:07You're not spending time creating work for yourself.
0:12:10You're spending time just on really
0:12:13essential, important things.
0:12:15Maybe you could throw in the 80/20 here.
0:12:17It's like you're, rather than spending all your time
0:12:20on that last 20%, you're just knocking out
0:12:2280% of the application, of the functionality,
0:12:27of the feature set in a way that is very efficient.
0:12:30And then you're allowing yourself to be very retrospective,
0:12:34introspective about what to do with the rest of the time.
0:12:37And that's going to be it for today's show.
0:12:39Let's see, I've got two minutes to spare.
0:12:42And I'm not going to keep going to fill out that time.
0:12:44I'm just going to say, as always,
0:12:46If you want to contact me, I'm @_davidsmith on Twitter, or there's now a contact form
0:12:51on the website, which is developingperspective.com/contact.
0:12:54Otherwise, if you like the show, please make sure you tell a friend, tell two, tell three.
0:13:00Spreading the word is the best thing you can do to thank me for putting the show if you
0:13:04like it.
0:13:05Otherwise, have a good day, happy coding, and I will talk to you tomorrow.