0:00:00welcome to under the radar a show about
0:00:01independent iOS app development I'm
0:00:03Marco Arment and I'm David Smith under
0:00:06the radar is never longer than 30
0:00:07minutes so let's get started
0:00:09so this week as as is often the case I
0:00:13think when topics can come out of a
0:00:15current work that where did that do
0:00:17we're doing I feel like we tend to get
0:00:19the best topics and and this week's
0:00:20topic I think comes from work I'm doing
0:00:23currently in my Apsley plus plus which
0:00:25is a sleep tracker where I'm working on
0:00:28doing automatic sleep detection and
0:00:31sleep analysis which is a feature that
0:00:33I've long been along been asked for by
0:00:35my users but I've never hadn't quite
0:00:38quite gotten to and so I'm good for the
0:00:40last week or so this is what I've been
0:00:42working on and the process so far has
0:00:44been pretty promising that this is
0:00:46something that I'm going to be able to
0:00:47do but I think there's an interesting
0:00:49topic and a broader thing to talk about
0:00:51in just sort of generally talking about
0:00:54things that are kind of feel like
0:00:55original research or a primary research
0:00:57you could call it so often when we're
0:01:00developing something when we're making
0:01:02up an app or a product it's there's much
0:01:06of it that is is not new or novel in any
0:01:09real sense you know if you're you know
0:01:11the process of you know taking data
0:01:14putting it in a database taking that
0:01:15data out putting it in a table view like
0:01:18that there's nothing original and
0:01:20special there but and often if you want
0:01:24to have something at an app that's
0:01:25really compelling or has a hook to it
0:01:28you're going to have to do things that
0:01:30are beyond that and so in many ways you
0:01:33end up kind of doing this kind of
0:01:34research you kind of inventing something
0:01:36in a real sense of the word invention
0:01:39and not every app has to have this
0:01:43certainly but it is something that I've
0:01:44found that is good to have in your
0:01:47toolbox as something that you're not
0:01:48scared to try that if you have an idea
0:01:51about I wonder if I could do this kind
0:01:53of you know usually there's some kind of
0:01:55processing involved you know maybe it's
0:01:57image processing you're working on a
0:01:58camera app and you want to do some kind
0:02:00of image filters or an audio app and
0:02:02maybe you're doing some audio processing
0:02:04or in my case I'm doing you know I'm
0:02:06analyzing a user's movement and heart
0:02:09rate and
0:02:10that kind of thing there's usually some
0:02:12kind of processing involved and doing
0:02:15this kind of research I think gives your
0:02:17app an advantage both in terms of it
0:02:21being more useful to your customers
0:02:23which is probably far more important
0:02:24that you know my goal with doing
0:02:26automatic sleep detection is that more
0:02:28people will track their sleep more often
0:02:31because they won't have to remember to
0:02:33start and stop the motion tracking like
0:02:35they do currently it'll just happen
0:02:37automatically which sounds great but
0:02:40it's also creates this nice little sort
0:02:42of competitive advantage that there's
0:02:44now this little moat around your app
0:02:46that anybody who wants to compete to
0:02:49feature by feature with you now has to
0:02:51go through and build it themselves they
0:02:55have to do that research they have to
0:02:56work out how to do it in fair enough
0:03:00it's easier the second time you know
0:03:01somebody looking at what you have done
0:03:05even if they'd never see your code or
0:03:07understand your methodology and simply
0:03:09knowing that a solution exists with a
0:03:12given set of inputs is you know a
0:03:14tremendous advantage versus the number
0:03:16of times that I've gone down a road
0:03:17where I'm like I wonder if I could and
0:03:19then I spend a week and I work on
0:03:20something and it doesn't work out and so
0:03:22I give up and that never sees the light
0:03:24of day it's easier knowing that a
0:03:26solution does exist but it's totally
0:03:28competitive advantage it's still a road
0:03:29that they have to go down and work that
0:03:31they have to have to do so it's an
0:03:34advantage in that regard and as I was
0:03:36working on my stuff I was thinking with
0:03:37you buy you Marco and how voice boosts
0:03:40and smart speed are two kind of similar
0:03:43types of things that weren't necessarily
0:03:45like your app was the first one to ever
0:03:47do them but the way that you've done
0:03:48them and the work that you did to you
0:03:51know to add those to your app is now
0:03:53this competitive advantage that you know
0:03:56you can sort of hold over your
0:03:58competitors yeah I mean I I've said
0:04:01before that I think kind of a recipe for
0:04:04a pretty good useful app that is kind of
0:04:07a good balance between diving in and
0:04:10spending a whole bunch of time on hard
0:04:11stuff nobody will ever notice versus
0:04:13being really basic and having no
0:04:15competitive advantage and having no
0:04:16compelling features I think a really
0:04:18good balance between those two is do
0:04:20like
0:04:22or to hard things in your app and do
0:04:25everything else doesn't need to be like
0:04:26a hard impressive technical thing but if
0:04:28you have like one or two that can really
0:04:31make an app and you know for instant
0:04:34paper originally that was the text
0:04:35parser and later on I did like some
0:04:38Kindle stuff that was a little bit crazy
0:04:39and and like you know weird like things
0:04:42with pagination on the iPhone like but
0:04:44that was a relatively small number of
0:04:45features ultimately the the great value
0:04:47of that app was pretty boring stuff and
0:04:51then you know the text parser was like
0:04:53the big one and for overcast yeah I
0:04:55think smart speed and voice booster are
0:04:57pretty significant features that are you
0:05:00know that are hard and and you know
0:05:02require some some deep learning or not
0:05:05deep learning require like some deep
0:05:07knowledge of low-level audio
0:05:09manipulation and and audio mastering and
0:05:12stuff like that to really do that well
0:05:13and I had to learn a lot of that stuff
0:05:17and it was hard I happen to like that
0:05:19kind of hard work so it was it was fun
0:05:21for me and it still is fun and whenever
0:05:23I work on it today but that was really
0:05:26hard stuff I had to learn mostly by like
0:05:29Google searches and trial and error of
0:05:32things like DSP audio processing like
0:05:36how to do that and what I'm actually
0:05:38manipulating with the audio signals and
0:05:40and how not to do it and all the
0:05:42different ways to do it that make it
0:05:43sound crappy so I can avoid those ways
0:05:45and and eventually figuring out ways to
0:05:47do it that sound good or that that can't
0:05:50be noticed that that is all really hard
0:05:54work but I've always enjoyed like that
0:05:57kind of like low-level data work not
0:05:59necessarily in a sense like big data but
0:06:01like just like working like working them
0:06:03in low-level C functions on in
0:06:05performance in performance critical like
0:06:08large blocks of numbers and operations
0:06:11using things like the like the
0:06:13accelerate functions in iOS like I
0:06:15always like that stuff but if I spend
0:06:18all of my time doing that in overcast
0:06:19dial I would be unbalanced like you know
0:06:23right now like I'm kind of battling my
0:06:25in with my self-discipline what I really
0:06:28want to be working on a lot of the time
0:06:29is the work I'm doing for voice boost
0:06:31too which is just rarely voice boosts
0:06:34but just it's gonna sound better
0:06:35work better with more stuff and that's
0:06:39all this wonderful low-level stuff
0:06:40making my own audio processing functions
0:06:43and everything and it's gonna be it's
0:06:45it's exactly this kind of thing but what
0:06:48my customers actually want is not it's
0:06:52for me to make voice boos to for the
0:06:54most part but my customers really want
0:06:56is boring stuff like everybody wants me
0:06:58to give them like a smart playlist that
0:07:00shows all their starred items that's a
0:07:03really boring thing that I need to do
0:07:05because that's what they actually want
0:07:07most of the app is boring stuff like
0:07:09that like download management and you
0:07:12know basic you know UI for things I
0:07:14still don't have a way for people to
0:07:15change their email address on their
0:07:16account because it's stuff like that
0:07:19that's what people actually want so it's
0:07:22important at when you're doing like
0:07:24these kind of like cool fun like low
0:07:26level math type features or data
0:07:27analysis type features it's important to
0:07:29make sure you also keep that balance
0:07:31though of not spending too much of your
0:07:34time on it and as much as that this is
0:07:37kind of cynical but not wasting too much
0:07:40time on stuff that's really hard to
0:07:42market to people like one of the one of
0:07:45the reasons why a lot of people assume
0:07:48that overcast invented silence skipping
0:07:50and dynamic processing on podcasts is
0:07:53because I was the first one to figure
0:07:54out how to market those features to
0:07:56people and that like and a lot and that
0:08:00isn't just like you know dumping money
0:08:02into ads I didn't actually ever really
0:08:04do that like it not until recently have
0:08:07I tried that marketing that you know
0:08:10this kind of feature is about making
0:08:13sure people know it's there and telling
0:08:16them why it's so good in some way and so
0:08:19for these features like I gave them
0:08:21names that were not just like you know
0:08:24plain text descriptions I didn't say
0:08:25like shortened silences and I didn't say
0:08:28boost the volume or use a dynamics
0:08:31compressor like I didn't mean those
0:08:33features those things I gave them
0:08:35branded names I trademarked those names
0:08:37I put those names on everything
0:08:40I added features like it showed you how
0:08:43much time you had saved with the silent
0:08:45skipper feature because I need to show
0:08:48people that this
0:08:49that when it's turned on they don't
0:08:51really notice is doing something for
0:08:53them and all of that was to help market
0:08:58these features that I spent a lot of
0:09:00time on this low level fun stuff because
0:09:02otherwise nobody would know they were
0:09:04there and the few people who would find
0:09:06them and turn them on wouldn't really
0:09:09understand how good they are because
0:09:10they're both kind of like subtle effects
0:09:13most of the time and so they both kind
0:09:16of like they help you out in a subtle
0:09:17way but if you don't know that if you're
0:09:19not being shown or told that in some
0:09:22compelling way then a lot of that effort
0:09:24is wasted and so it's very important
0:09:28when you're when you're planning these
0:09:29kind of features to make sure that a
0:09:31you're not spending too much time on
0:09:34them to the exclusion of features that
0:09:37people actually need or want more and be
0:09:40that you're not going to invest a ton of
0:09:41time into something like this that is
0:09:42unmarketable in some way like you have
0:09:44to include in your planning for features
0:09:47like this how you're going to
0:09:49communicate the existence and the value
0:09:52of these features to your customers yeah
0:09:55and I think what's cool is that once
0:09:57you've done that like if you work out a
0:09:58way to communicate to your customer that
0:10:01you do this you do some hard work you
0:10:04can find a way to communicate that to
0:10:05your customer you end up with a
0:10:07something that is really compelling in a
0:10:10weirdly insidious way that like I
0:10:13struggled to I feel bad if I listen to
0:10:16podcast type
0:10:18like a long-form audio without the
0:10:21silences removed now because that in my
0:10:23back of my mind I feel like I'm wasting
0:10:25time and so like that is a hook that you
0:10:28now have like placed in me that if I
0:10:29listen to something long form I will
0:10:31find a way to turn that into is
0:10:34something that I can listen to with
0:10:36something like smart speed just because
0:10:38it's now that's what I expect because
0:10:41you've wrapped it out you've wrapped up
0:10:42this kind of original like it's not
0:10:44original in the sense that you were the
0:10:47first person to come up with it but
0:10:48original in the sense that you had to do
0:10:50a lot of a hard low level work to make
0:10:52it happen
0:10:53you don't just build it it's not just
0:10:54like av you're not just doing your ABA v
0:10:57player dot you know remove silence is
0:11:01equal true like
0:11:02that was the case I wish it was that
0:11:04easy like that would be great right but
0:11:06that's not the case you had to do all of
0:11:08this her whole cloth development to make
0:11:10it work I think now you have this great
0:11:12little advantage that you know it one of
0:11:15the things that would keep it keeps me
0:11:16an overcast rather than another podcast
0:11:18player is that I don't want to lose that
0:11:21the this thing that I now have and so
0:11:23it's this little mote that other people
0:11:25could certainly build it it's not like
0:11:26it's technically crazy to build a smart
0:11:29speed or to build build voice boost but
0:11:31it's you know building building an app
0:11:33in general is difficult and then taste
0:11:35tackling one of these features you know
0:11:38is also kind of hard so it's just this
0:11:40nice little it's it's undertaking one of
0:11:43these I think you're definitely right
0:11:44though be careful that you're like
0:11:45taking on something that you can show
0:11:47you can show you have something to show
0:11:48for at the end but if you do and it does
0:11:50make sense like it's a wonderful little
0:11:53it's a wonderful way to create value
0:11:56that is heart you know it's defensible
0:11:58rather than you know easily easily
0:12:00copied by somebody else but it's also
0:12:02it's important to also realize that like
0:12:04nothing is gonna be yours forever like
0:12:06overcast was the only mass-market
0:12:09podcast player that had these features
0:12:11for a while but now it isn't and in you
0:12:15know and it ever really was the absolute
0:12:16only one but it was it was you know the
0:12:18only like really mass-market one and now
0:12:21it's not and it's and more of them are
0:12:24gonna keep adding features like this
0:12:26like I had a couple good years there it
0:12:28bought me some time you know similar to
0:12:30like Apple with the iPhone launched the
0:12:31original iPhone and you know Steve
0:12:33famously said that it was five years
0:12:35ahead of the competition and that
0:12:36basically proved to be true it that was
0:12:38that was roughly correct like it took
0:12:40Android a long time to to reach like the
0:12:42minimum quality that the iPhone had you
0:12:44know years earlier and so it you know it
0:12:47buys you some time when you have
0:12:49something like this but not necessarily
0:12:52tons of time and it's definitely a
0:12:53limited amount like it it will it will
0:12:55end and so it's important not to rest on
0:12:58your laurels and and not to assume that
0:13:00something cool you do is going to be
0:13:02yours forever so maybe that's doing
0:13:05cooler things maybe that's finding other
0:13:07ways to remain competitive you know in
0:13:10in the future but you know keep in mind
0:13:13that you know when you're when you're
0:13:14deciding what to do when you're planning
0:13:16out
0:13:16your app when you are trying to allocate
0:13:19time keep in mind again the value of
0:13:20these features will not last forever so
0:13:23let that inform how much time that you
0:13:25allocate to them anyway we are brought
0:13:29to you this week by Squarespace enter
0:13:31offer code radar at checkout to get 10%
0:13:33off your first purchase make your next
0:13:35move with Squarespace
0:13:37Squarespace lets you easily create a
0:13:39website for your next idea with a unique
0:13:41domain award-winning templates and much
0:13:43more whether you want to create an
0:13:45online store or a portfolio site or a
0:13:47blog or even a podcast Squarespace is an
0:13:51all-in-one platform that lets you do any
0:13:53of those things or all of those things
0:13:55there's nothing to install no patches or
0:13:58updates to worry about no upgrades to do
0:14:00you don't have to worry about any of
0:14:01that stuff because Squarespace has it
0:14:04covered and if there's anything that you
0:14:06need help with or if anything goes wrong
0:14:07they have award-winning 24/7 customer
0:14:10support if you need any help they let
0:14:12you quickly and easily grab a unique
0:14:14domain name and your getting started and
0:14:15all of these award-winning templates
0:14:17they have are beautifully designed for
0:14:19you to show off your great ideas and you
0:14:21can customize the template to your
0:14:23heart's content really make it yours
0:14:25Squarespace plans start at just $12 a
0:14:28month and you can start a free trial
0:14:30with no credit card required by going to
0:14:33Squarespace com
0:14:34when you sign up make sure to use the
0:14:35offer code radar to get 10% off your
0:14:37first purchase and show your support for
0:14:39under the radar
0:14:40we thank Squarespace for their support
0:14:42Squarespace make your next move make
0:14:44your next website so now that you
0:14:48decided that you're going to go down the
0:14:49road of doing some kind of an original
0:14:51research project to like add a new
0:14:53feature to your app I was thinking how
0:14:55do you say it's like it's like there's
0:14:58lots of different approaches I think you
0:14:59can take to something like that and one
0:15:01thing that I wanted to start off talking
0:15:02about is how when I do these types of
0:15:05things I always take a very guess you
0:15:08call it the empirical approach rather
0:15:10than the theoretical approach that I try
0:15:14and just you know I get in there and I
0:15:17just start to build things I try a lot
0:15:19of things and it's just experiment I try
0:15:22and generate a lot of data as best I can
0:15:24and then we will run you know run the
0:15:28test a test you know test cases through
0:15:31my system whatever it may be because I
0:15:34find that I'm just not very academic and
0:15:36I used to I think earlier in my career
0:15:40be intimidated about by the fact that I
0:15:42just wasn't particularly academic in
0:15:44that way that I'm not coming at it from
0:15:45a you know a theoretical approach that
0:15:49I'm then trying to work out how to
0:15:51implement ice in many ways I start with
0:15:54implementations I start with just like
0:15:55well let me see if this works well let
0:15:57me see if this works and I in theory a
0:16:00theoretical approach would help you get
0:16:02to the right solution more directly or
0:16:05at least in a more straightforward way
0:16:06but it would encourage anybody who
0:16:09doesn't have who's slightly intimidated
0:16:11by the feeling that oh man's like this
0:16:14needs to be super theoretical it's like
0:16:15maybe medium depending what you're
0:16:18working on but often a more direct
0:16:20empirical just like kind of where do
0:16:23your do your best approach will often
0:16:24get there and in my experience you know
0:16:27gets you gets you there well enough and
0:16:28can you know that allow you to create
0:16:31these features without needing a lot of
0:16:33theoretical knowledge without a lot of
0:16:34deep and potentially like the deep
0:16:36understanding you may not understand
0:16:37exactly why yeah particularly method is
0:16:40working but it can work for you and you
0:16:42know you could bargain with it that's
0:16:44good or not but I found it to work well
0:16:45so do you know just an encouragement it
0:16:47don't be don't be too scared of things
0:16:50if you can just sort of approach them
0:16:52more directly yeah I I too am pretty
0:16:55weak on the academic side I'm especially
0:16:57weak in in the advanced math really like
0:17:00things like you know calculus I really
0:17:03never took or I took it but failed it um
0:17:06you know most of the advanced like
0:17:07linear algebra stuff I have a very very
0:17:10weak understanding of really almost all
0:17:12advanced math I really just either never
0:17:15took in college and just never learned
0:17:17it afterwards or I took it and took it
0:17:19so poorly that I really just know
0:17:21nothing about it
0:17:21so whenever I'm looking up online
0:17:24looking up some kind of algorithm and
0:17:26and I started to see the mathematic
0:17:27notation I'm just like ah crap I'm
0:17:30probably not gonna figure this out and
0:17:32sometimes like try and plow through and
0:17:34the simpler ones I can I can kind of
0:17:36work out like the pseudocode of how to
0:17:38do in my language that I know what there
0:17:42trying to tell me how to do but like you
0:17:44know once something comes to like oh you
0:17:46have to read these academic papers to
0:17:48understand how to do this algorithm or
0:17:50something that's usually when I bail out
0:17:52because I try sometimes but it's I can't
0:17:56usually get through them and so what I
0:17:59do with with a lot of my approaches to
0:18:01like these hard you know math or data
0:18:02problems is really fairly simple things
0:18:05like I I'm pretty good at coming up with
0:18:08just all semi I'll stop my head coming
0:18:10up with some kind of heuristic of like
0:18:12oh maybe if I you know look for this
0:18:14pattern and I give it this some kind of
0:18:16like wait in a scoring you know
0:18:19algorithm that maybe this will be better
0:18:20and sometimes that works most of the
0:18:24time it doesn't but occasionally I get
0:18:25something out of it that that is pretty
0:18:27useful and and that's that's how I tend
0:18:29to do that these kind of things it's
0:18:31it's basically like trial and error to
0:18:34develop some kind of heuristic or
0:18:36algorithm that is really not a very
0:18:39mathematically advanced algorithm it's
0:18:41really just like you know large amounts
0:18:44of dumb math large amounts of like basic
0:18:46arithmetic that I can do but you don't
0:18:51need necessarily an advanced knowledge
0:18:54of you know sophisticated math and you
0:18:57know the more advanced stuff that being
0:18:59said I do think my lack of knowledge
0:19:01there holds me back to some degree like
0:19:04there's a lot of you know statistical
0:19:06methods things like you know especially
0:19:09when dealing with things like large data
0:19:10sets dealing with things like data
0:19:12clustering and and you know statistical
0:19:15analysis of large pools of data I
0:19:17basically don't understand any of that
0:19:18and that is holding me back to some
0:19:21degree so I do want to want to get
0:19:23better at some of that stuff but
0:19:24ultimately you don't necessarily need to
0:19:27if you if you can't or don't want to
0:19:29like you can get pretty far without the
0:19:31knowledge of some of that advanced math
0:19:33stuff yeah and the thing that's key
0:19:36there is that you can your solution may
0:19:38not be optimal but you may get a
0:19:40solution I mean it's sort of in a weird
0:19:43way it makes me think of how like if you
0:19:47don't under if you didn't understand
0:19:48what multiplication was but you knew how
0:19:50to do addition you could still end up
0:19:52with the same result
0:19:53you're writing for loop the best
0:19:55sure right like which is obviously kind
0:19:57of like a trivial example of this but
0:19:59that is often I think the approach that
0:20:01the impression that I have is that often
0:20:04my approach is repeated addition
0:20:06rather than multiplication because I
0:20:07don't understand the higher concept but
0:20:09you don't get it like like I still end
0:20:12up with 20 with 4 so you know 4 times 5
0:20:15I just may even add the fact that I add
0:20:175 to itself 4 times versus just enough
0:20:20to do it directly with multiplication
0:20:21that's less efficient but this is the
0:20:23answer the same is still 20 and I'm like
0:20:25computers are so fast even on our phones
0:20:27and our watches like micro processors
0:20:30theses are just so ridiculously fast
0:20:32that for a lot of problems like this
0:20:35even if you just have kind of like a
0:20:37brute force solution or even if it's
0:20:40like an imprecise solution that is
0:20:42probably both fast enough and good
0:20:44enough for a lot of times yeah and so
0:20:47you know it's it's it's which is an
0:20:49encouragement that it's like yeah it's
0:20:50like you did you it's okay and that's
0:20:52like that's fine and it's you know as
0:20:54with any all out of these kind of
0:20:55discussions you can get into like is it
0:20:57well well is it certainly better is it
0:20:58more efficient to have this have a more
0:21:00theoretical approach or fundamental
0:21:02understanding of course but you know if
0:21:05in order to gain that level of
0:21:07understanding you almost certainly have
0:21:09to be spend a lot more time and you know
0:21:13like like to become an expert in that
0:21:15area is gonna take a lot of time and be
0:21:17a lot of distractions away from other
0:21:19things so it may not be worth getting
0:21:21that level of understanding so you know
0:21:23just worth worth keeping in mind yep
0:21:25definitely um in terms of the actual
0:21:27building of these things I think it
0:21:29seemed worth to actually sort of diving
0:21:30into the way that the approach that I've
0:21:32taken I'll talk to my recent example
0:21:36with automatic sleep tracking where so
0:21:39you know I'm gonna add this to an app my
0:21:41usual approach is to create a completely
0:21:44separate app I've try and then
0:21:46eventually it'll end up being a branch
0:21:48in the main ow but usually I just create
0:21:50a completely new app that has none of
0:21:53the overhead and none of the other
0:21:54things going on and mostly I do that
0:21:57because then I can just kind of if it
0:22:00goes if I go down if I go down a bad
0:22:02line of thinking and it just ends up in
0:22:04a dead end I can just throw it away and
0:22:05start again and it's it's easier I find
0:22:08me to just kind of have the Super's
0:22:10focused lightweight app you know I don't
0:22:12need to go to a particular place in the
0:22:13app like often I end up doing stuff just
0:22:16in the you know view did finish
0:22:17launching like it's basically a command
0:22:19line app just running on an iPhone like
0:22:21I end up doing that kind of thing where
0:22:23you make it as quick and as simple as
0:22:26possible and it's focused in on exactly
0:22:28what the problem is now I find that to
0:22:31be a very helpful approach I tend to do
0:22:33my work there to validate that the you
0:22:35know is that something is possible and
0:22:38then I'll start to work on how will I
0:22:40take that and turn it into the you know
0:22:43the final version and that first version
0:22:44I have no consideration at all to code
0:22:48quality often I will completely throw
0:22:51that code away I will just repeat you
0:22:53know how we'll end up reimplemented it
0:22:54just using all the lessons I learned
0:22:56from all of that throwaway code but by
0:22:59taking such a quick and dirty approach
0:23:01to it it means that I can work much more
0:23:03quickly and iterate on it that I don't
0:23:05need to feel like you know I'm writing
0:23:07code that is going to end up needing to
0:23:09be production quality you know I can
0:23:11ignore all the errors I can just sort of
0:23:14make it so that it just works on exactly
0:23:16what I'm trying to do you know and so in
0:23:18this case I have yeah hadn't had us you
0:23:20know built a separate app that you know
0:23:22tries to automatically detect and
0:23:25analyze you know lease lease leaked data
0:23:28out of all the various health inputs
0:23:30that we have and I just sat there and
0:23:32iterated on and that until I got it to
0:23:34work and then now I'm going through the
0:23:35process of actually you know turning
0:23:38that understanding and the data that I
0:23:40can get out of that yeah completely
0:23:41reimplemented from from scratch that all
0:23:45those algorithms and methods that I came
0:23:46up with again in this case was actually
0:23:49slightly amusing because I built my
0:23:51prototype app in Swift and then my
0:23:54supposed suppes plus is an objective-c
0:23:56app and so I was I was going to be
0:24:00implemented anyway and it actually kind
0:24:01of worked well to keep me from being
0:24:02lazy and just copy pasting things that I
0:24:04actually went through and had to be
0:24:06thoughtful in that translation from the
0:24:09prototype app to the actual app to make
0:24:11sure that I'm actually taking care of
0:24:12all the edge cases and things but that's
0:24:15an approach that I find works pretty
0:24:17well and then once you can get it into
0:24:19the app then you can actually start
0:24:21you sort of start working through the
0:24:23actual you know making it of a higher
0:24:25quality but I find you're doing it as
0:24:28developing and prototyping in a separate
0:24:29app and then graduate and then moving in
0:24:31once you kind of have the basics worked
0:24:33out works pretty well for me so and I'm
0:24:36curious you know because I think it goes
0:24:37back to are like you know competitive
0:24:39advantage argument earlier why are you
0:24:41at in this feature mostly because I
0:24:44think it makes the app better and I
0:24:46think I wish I I wish I did it and I
0:24:49know I often hear from people who use my
0:24:51competitors app because they do it and
0:24:54so and it turned out to be much easier
0:24:58than I thought it was gonna be I had in
0:25:00my mind it was gonna be really hard and
0:25:02so I've been putting off working on it
0:25:03and I because I have a lot of existing
0:25:08sleep data calculated my old method I
0:25:10was able to much more quickly I think
0:25:13work out and work out a way to process
0:25:15all this data and end up with very
0:25:17similar results because I could just
0:25:19kind of try lots of things and I could
0:25:21very quickly see if it worked or worked
0:25:23or wasn't gonna work and I think it will
0:25:25you know it's a competitive advantage
0:25:26and I know it's a feature that I will
0:25:28use myself you know the ability to have
0:25:30your Apple watch just track your sleep
0:25:32without all you have to do is wear it
0:25:34while you sleep and then it's all taken
0:25:36care of and so I think it's an advantage
0:25:38in that regard because you'll actually
0:25:39use the app more because right now you
0:25:42have to remember to use it which is
0:25:43always difficult yeah and that makes a
0:25:46lot of sense like that that obviously is
0:25:48a compelling feature and you know i-i've
0:25:49heard podcast when people talk about how
0:25:51you know they're comparing your app to
0:25:53one of the competitors that there's
0:25:54automatic stuff and like and I thought
0:25:56oh that sounds compelling but you know I
0:25:57too would have assumed that was really
0:25:59hard and that's also kind of a you know
0:26:00another I think it may be good close
0:26:02note here is like a lot of the like if
0:26:04you're a developer and and you think of
0:26:06or you see some other app that that you
0:26:08know or you know you were to think of a
0:26:10feature that you want to do that sounds
0:26:11really hard or impossible try it because
0:26:15it might not be like I first thought
0:26:17that you know like that doing pagination
0:26:19and Instapaper would be really hard and
0:26:22it turned out it really wasn't i'm
0:26:24similar like if you think like oh you
0:26:26know i would love to do this kind of
0:26:27analysis on you know some feature in
0:26:30with but with data but the iphone
0:26:33probably can't handle it it's probably
0:26:34like you know to but
0:26:35to computationally intensive try it
0:26:37because it might not be yeah that's
0:26:40another area where I've found like I
0:26:41always assume that oh maybe I I probably
0:26:44can't do things like run a live FFT on
0:26:47the audio stream without having a big
0:26:49battery impact and the answer so a lot
0:26:52of times is nope you totally can it's
0:26:54totally fine the device is really fast
0:26:55these days yeah and it's just kind of a
0:26:58nice thing to be like there is something
0:27:02just really fun and encouraging when you
0:27:04hit on something that you thought would
0:27:06be really hard that actually turned out
0:27:07to not be crazy hard and like that was a
0:27:09really fun thing and it speaks to
0:27:11actually the last thing I want to
0:27:13mention too is I've found tremendously
0:27:14valuable as quickly as I can working out
0:27:17how to visualize the problem that I'm
0:27:19working on in a way that I can see
0:27:21rather than just like data that's you
0:27:23know being NS logged out to the console
0:27:26that's a good time so in a lot in like
0:27:28in a lot of my apps like in this book in
0:27:30this case with you know sleep tracking
0:27:31there's a lot it's essentially it's very
0:27:33timeline based you know I'm looking at a
0:27:35variety of inputs over time and so I
0:27:37just have a really simple app or a view
0:27:40controller that just has a has a scroll
0:27:42view in it and all of the data points
0:27:44that I have on it I just create a UI
0:27:46view and they throw it into it which is
0:27:48horrific aliy you know unperformed I
0:27:50have like 10,000 UI views in one scroll
0:27:52view it's fine there's better ways to do
0:27:56graphing you know like actually doing
0:27:58pagination and stuff so I'm only
0:28:00rendering the stuff that I need to but
0:28:01like it's fine it's in this purse iPad
0:28:04but visualizing it making it so that I
0:28:05can see the connections and like in this
0:28:07case it was you know I ended up
0:28:09visualizing the outputs of my first
0:28:11first couple of attempts and aligning
0:28:13them with the outputs of my previous
0:28:15method and they lined up perfectly and I
0:28:17was like well this works well that's
0:28:19amazing
0:28:20and so visualizing that as quickly as
0:28:23you can it's just some that I can't
0:28:25emphasize enough that and I know you
0:28:27know something I think I saw you were
0:28:29talking about with your your voice boost
0:28:30to stuff you do the same thing but like
0:28:32as soon as you can see it it's both
0:28:34motive motivating in terms of
0:28:36encouraging you that you're on the right
0:28:37track as well as you know very quickly
0:28:39showing you the areas that aren't
0:28:42working and the things you need to
0:28:42change exactly it makes a huge
0:28:44difference yeah anyway so go forth do
0:28:48some
0:28:49research try and you know not be
0:28:52intimidated by things do you think are
0:28:53too hard and see no see what you can
0:28:55come up with because I think if you can
0:28:56come up with these things like and it
0:28:58turns out that they're easier than you
0:28:59thought maybe like you can make it you
0:29:01can create it creates a tremendous value
0:29:03in your app that I think you know as
0:29:06especially if you as a smaller team or
0:29:09as a smaller developer there is an
0:29:10immense advantage to having these little
0:29:12things that are hooks that are marketing
0:29:14lines that are reasons why someone might
0:29:17want to try your app versus something
0:29:19else
0:29:20Thanks listening everybody I'm gonna
0:29:22talk to you next week bye