0:00:00Alright, do you want to do some follow-up?
0:00:02Okay, sounds great.
0:00:05There's hardly any, is there any today?
0:00:08Kind of, not really.
0:00:10Yeah, I'm lumping something that probably isn't by the strictest definition follow-up into follow-up,
0:00:15and that is, after our discussion about what comes after Objective-C,
0:00:21a lot of people have come out of the woodwork and said,
0:00:24"Hey guys, have you seen this Wolfram language thing? That's gonna be the next big thing!
0:00:28that will replace Objective-C, and it's not. So, anything else?
0:00:32It is pretty cool, though. Oh, it's cool as hell.
0:00:35I have no idea what I would use it for, if anything. I think I'm not smart enough to
0:00:39use it, actually, but it's really cool. I mean, all kidding aside, it is very, very
0:00:43cool, but it's serving a completely different purpose, and I don't see a mechanism by
0:00:49which that's going to be the way in which we build apps. And of course, somebody will
0:00:54say to us, "Oh well, but didn't you watch the whole video? They had sliders on there
0:00:58and other UI elements and blah blah blah." Yeah, but that's not really the point. It's
0:01:04not the sort of thing you'd build an app with. It's the sort of thing that you would do some
0:01:08really impressive and very cool data computations with, but it's not something you'd build an
0:01:15app with.
0:01:16Did either one of you guys have to use Mathematica in school?
0:01:19I did, and I've long since forgotten all of it. Or no, no, I used MATLAB. I'm sorry.
0:01:23Yeah. Well, Mathematica-- so the guy-- what's his name? Stephen Wolfram?
0:01:27Yep.
0:01:28Mathematica is to him as Emacs is to Stallman, basically. Like, he's a super genius, crazy person
0:01:35who made an environment where he can sort of fulfill his dreams of computation,
0:01:40and it's just added to it and added to it over the years, only Wolfram is a little bit more successful
0:01:45and a little bit more determined and not quite as afflicted with RSI and I think hired a bunch of
0:01:50other people to do things. I think the difference is that Wolfram had a business that made money
0:01:53that let him indulge his tastes to do this type of thing. So he's built this amazing thing for
0:01:58himself that works the way his mind works, that is basically like start with Mathematica and just
0:02:03expand out to fill the universe. But it's... I'm not going to say something about it that's like,
0:02:09"Oh, it's just an insert word here," because it's not just a anything. What it does is very
0:02:13impressive. And it's like, it's a life's work, and it is very interesting and impressive, but I think
0:02:18it's an application more. It's an application that you can program with more than a programming
0:02:23language. But anyway, regardless of what you think it can apply to, everything in that demo
0:02:29shows that it's good at doing the stuff in that demo. But Apple, of course, would need a language
0:02:34that's good at doing the things that Apple needs to do. And what does Apple need to do? They need
0:02:37to let developers write applications. They need to write applications themselves. And they need
0:02:41to write an OS. And for all of those purposes, this language is not useful.
0:02:46Right. And don't let me, you know, kind of shrugging it off as a replacement for Objective-C
0:02:53to take away from the fact that you're absolutely right. It is unbelievably impressive, the things
0:02:57that can be done with it, but it is serving an entirely different purpose. And that's the only
0:03:00point I'm trying to make. Yeah, like I'm not going to be writing the next, you know, Instapaper
0:03:05killer in Wolfram language. Yeah, and one of the aspects that it has going against it is that thus
0:03:11far, computer languages that lean heavily on, like in the sort of cloud of what are
0:03:17you closer to, that sort of start grouping towards the math side of things, while always
0:03:22very interesting and powerful, tend not to, thus far, I mean it doesn't mean it can never
0:03:27happen, but so far the ones that tend to be more math-like have not caught on as much
0:03:32as the ones that are less math-like. And you know, I don't know why that is, but you know,
0:03:36for example Haskell is another one of those languages that looks more like you're doing
0:03:41math or is more math-like or even something like Lisp kind of sort of.
0:03:47And this definitely is towards the math side.
0:03:49I mean, you can solve integrals with it as part of, like, language-free, all the symbolic
0:03:54stuff.
0:03:55I mean, it started from Mathematica.
0:03:56How could it not be math-based?
0:03:57But, yeah, so far, languages like that haven't caught on with the masses, no matter how cool
0:04:02they are for the people who use them for the things they're good at.
0:04:05One problem I think I'd have trying to use this for anything is that, kind of similar
0:04:11in this one, only one way to AppleScript, I think it would be hard for me to get to
0:04:17start into this and to even know the kinds of things I could do.
0:04:22And you know, because it can do so much and in that way it's pretty unfocused.
0:04:29It's very broad and you're presented with like, here's this shell basically, this command
0:04:35and this interactive prompt that you can do whatever you want with.
0:04:39And like the demos that he was showing off in the video look amazingly cool.
0:04:44I don't know necessarily how useful they would be for me, but they were still amazingly cool.
0:04:48But I was looking at the kinds of syntax he was using, the kinds of commands he was using,
0:04:53the kind of structures he was using, and I don't even know where I would begin with something like that.
0:04:58And I've had that same problem ever using WolframAlpha as well, where every time I've tried to use WolframAlpha
0:05:03Alpha, I've tried phrasing things in a certain way, and I never guess the correct syntax,
0:05:09and it never does what I want, and I can tell there's a lot there, but it's really hard
0:05:14to get started. It's really hard to know, like, "Okay, what can I do here, and how do
0:05:19I ask it to do that?"
0:05:21I think like Lisp, I think the language itself is probably super simple. I think there's
0:05:24only a few things that exist, you know, they probably have like tuples and some syntax
0:05:28for function calls and a couple other symbolic things to write math in ASCII that get converted
0:05:33into symbol representations.
0:05:35That is the language, but the language is pointless.
0:05:38If you look at that big...
0:05:39They kept paging through those page after page, those little rectangles.
0:05:43Underneath each one of those is a vocabulary, which is basically like a library.
0:05:47What functions can I call?
0:05:49What things can I type?
0:05:50That's not part of the language per se.
0:05:51It's not as if those are keywords like "if" and loops and function declarations.
0:05:58The language syntactically looks very simple to its discredit, I think, in that it looks
0:06:03like it would be very cumbersome to do anything remotely complicated.
0:06:06But the power of the thing is, look at all these libraries that we have.
0:06:10Look at all the different functions we have.
0:06:12Look at what the options to those functions are.
0:06:14Look at how those functions can be composed with each other.
0:06:18And so it's kind of weird to call it a language.
0:06:21That's why it's more like an application or a set of libraries.
0:06:24And the set of libraries look huge.
0:06:26Surely there's some function that does the thing that you want that has the options that
0:06:29you want, and if you can't find it exactly, you can build it by composing it out of other
0:06:32really powerful pieces and put it all on a web front end and get it through a web services
0:06:37API.
0:06:38Lots of cool stuff in there, but I think it's more like an application.
0:06:43It's more like an API than it is a language.
0:06:46And whatever it is, it's not suited
0:06:49to write GUI applications or operating systems
0:06:51for phones or desktops.
0:06:53Right, I had the same thought, that this
0:06:55would be a potentially extremely powerful add-on or processing--
0:07:01not unit, but I guess like a dynamic library
0:07:04for something in Objective-C if you could get
0:07:08some sort of interface into it, but I
0:07:09don't see it replacing Objective-C or anything
0:07:12like that.
0:07:12Very cool, though.
0:07:13Very, very cool.
0:07:14So, what else is going on?
0:07:18You wanna talk about this SSL bug?
0:07:20- Go to fail.
0:07:21- All right, so moving on, no, I'm just kidding.
0:07:24- It was like meme ready.
0:07:26- Just really was.
0:07:28- It came pre-memed.
0:07:29- I love that gotofail.com was actually available.
0:07:32- Not for long, but yeah.
0:07:34- And it was useful.
0:07:35Yeah, once it became a thing.
0:07:38I don't know if I have all that much to say about this.
0:07:42I'm not sure I concur, Marco, with your tinfoil hat reasoning that this was a deliberate act.
0:07:49And I'm happy for you to convince me that I am wrong.
0:07:52But I'm not saying it wasn't deliberate, but to me it didn't reek of being deliberate
0:07:58like you seem to think.
0:07:59Do you want to kind of recap what leads you to believe that?
0:08:03Sure.
0:08:04I mean, I think, I'm not saying this was definitely
0:08:09an NSA security breach where, you know,
0:08:14my theory that I think is potential.
0:08:19I don't even know if I would say the most likely,
0:08:22but I think it's reasonable to look at these events
0:08:27that this one duplicated line was inserted
0:08:31into this SSL verif, it was a certificate verification code
0:08:36or a--
0:08:37- Common name checking part, wasn't it?
0:08:39It was the step that checks that the common names match
0:08:42and it skips over that step.
0:08:43- I believe so.
0:08:44It was some part of the certificate verification step
0:08:48so that you could make sure that the certificate,
0:08:50the SSL server that you're talking to
0:08:52is who they say they are and not a man in the middle who,
0:08:56you know, like man in the middle attacks,
0:08:58I'm probably not even qualified to explain them
0:09:00in all their, everything properly,
0:09:03but somebody who could intercept your network traffic
0:09:07at an ISP or a wireless router in a coffee shop
0:09:11or whatever the case may be, your school, your workplace,
0:09:13somebody who could intercept, or your government,
0:09:15somebody who could intercept your network traffic.
0:09:19Normally, SSL is designed if everything's done right
0:09:23so that the server and you can talk securely
0:09:27and you know when you connect to the server,
0:09:28you can verify through these series of cryptography steps,
0:09:32you can verify that the server you're talking to
0:09:34really is who they say they are,
0:09:35and nobody else in the middle is listening in
0:09:38in a way that they can decode your data.
0:09:40This bug broke that assumption,
0:09:43and so that somebody could have been listening in
0:09:46and breaking SSL and watching your traffic,
0:09:48and the operating system was just
0:09:51skipping that verification step or a part of it.
0:09:53So the way this was inserted in the file,
0:09:58And the files are open source.
0:10:01Not every revision is open source,
0:10:03but you can see the version that shipped in 10.8
0:10:07and the version that shipped in 10.9,
0:10:09and you can see the diff there.
0:10:11So the diff is not entirely convincing
0:10:14because there could have been a lot
0:10:16of intermediate revisions between.
0:10:18You don't know what happened between those two.
0:10:20All you see is beginning point and ending point.
0:10:22But if you look at the diff,
0:10:25not a lot in the file has changed
0:10:27between the two releases.
0:10:28There's this context parameter
0:10:32to some of these security calls that was removed, basically.
0:10:35It looks like the API just changed minorly
0:10:37so that this one argument was no longer necessary
0:10:39or something like that.
0:10:41So most, not even, some of the calls
0:10:44had this very basic change to them
0:10:47that just removed this argument.
0:10:49There were almost no other changes in the entire function.
0:10:52And then this one extra go to fail line
0:10:56inserted in the middle
0:10:59and
0:11:00so if you look at this if you just look at the diff it looks pretty bad
0:11:02like it looks like wow there like
0:11:05no edits happened in the surrounding lines
0:11:07between these two releases
0:11:09just this one line was inserted kind of in the middle of nowhere
0:11:12and it looks pretty bad
0:11:15of course you know as I said though you can't rely only on that I think what
0:11:20what worries me
0:11:21and what makes me think that
0:11:23this could be
0:11:25this could have been nefarious.
0:11:26And again, I want to say to my tweets,
0:11:27I don't necessarily believe that Apple itself
0:11:31officially knew about this or introduced this intentionally
0:11:34or was working with the NSA.
0:11:36I think it's much more likely seeing how the NSA works,
0:11:39knowing that they have a program where they,
0:11:42New York Times reported this, I'll have to find the link,
0:11:43but I believe it said they had an annual budget
0:11:46of $250 million to go do things exactly like this,
0:11:49where basically the NSA will get to an engineer
0:11:54who works at one of the big tech companies,
0:11:57or they'll have people sitting on standards bodies
0:12:01trying to argue for different standards
0:12:04to be subtly weakened or have these back doors introduced,
0:12:09or the people who work at tech companies
0:12:10will become NSA, I don't know, supporters,
0:12:15agents, whatever they're called.
0:12:18So we know that that kind of thing happens.
0:12:21We know all that from the Everett Snowden leaks
0:12:22from the associated reporting that's gone on since then.
0:12:25All of that, that's not like an artificial tinfoil hat thing.
0:12:29That kind of thing does happen.
0:12:32And so for this bug to be inserted in this file
0:12:37at this time, and again, another little piece
0:12:40of circumstantial evidence, this bug was inserted
0:12:44in I believe it was fall of 2012.
0:12:48It was the month before one of the NSA slide decks
0:12:52claimed that Apple had joined the Prism program in some way.
0:12:56And that timing is really suspect as well.
0:12:59So you can look at this, and we don't know yet at least,
0:13:03we don't know what happened.
0:13:04We probably will never know what happened.
0:13:06It could have been an innocent mistake,
0:13:08an innocent line paste out of a VI buffer
0:13:11or a weird merge artifact when the files were merged.
0:13:15Who knows, right?
0:13:16We can't tell exactly, but normally when you try to rule out
0:13:21kind of nefarious tinfoil hat conspiracy theory kind of thing, you do it by saying, "Well,
0:13:26the simpler, more likely explanation is honest reason X." And I think in this case, looking
0:13:33at the environment we're in, looking at the kinds of things that we now know go on with
0:13:37the NSA and what they do with tech companies, and you look at exactly—I mean, for a one-line
0:13:44bug like this. This is a hell of a line to pick. Like, if you look at, like, what it
0:13:51did in the way it did it, it was so subtle, it was subtle enough, if you think about it,
0:13:56it's perfect, it's subtle enough that it would, it passed a lot of, any kind of internal review
0:14:03they had, and we can talk about that they probably had insufficient review and insufficient
0:14:06tests, but any kind of internal review, it might skip by
0:14:11because it blends in, it's not obvious, it's not even
0:14:17obvious that it is a bug once you spot it, you kinda have
0:14:21to notice and be like, oh, wait a minute, like you have
0:14:23to think about it for a second, oh, that's wrong.
0:14:25And it could be explained away if somebody was caught
0:14:29inserting it, it can be explained away by saying, oh,
0:14:32I must have hit paste wrong or merged wrong.
0:14:35So there's like a plausible explanation if you get caught.
0:14:39And it's exactly at the right point where
0:14:43it wasn't breaking all SSL,
0:14:44it wasn't making all SSL validate,
0:14:47but it was making this one particular class of thing validate
0:14:50that the NSA has been known to do.
0:14:53So it's just a little too convenient
0:14:57in so many of these ways.
0:14:58The timing, the kind of thing it is,
0:15:01the perfection of exactly the right part of the file
0:15:04to cause a very convenient backdoor for the NSA, and in a way that looks really subtle
0:15:11and hard to find and hard to attribute blame for once you do find it.
0:15:15And they can, I'm sure they can look at their version history and they can see which employee
0:15:19inserted that, but again, there's like a plausible reasoning, "Oh, it must have been a mistake
0:15:22during the merge," or something like that.
0:15:24So it's just a little too convenient to be a dumb, honest mistake, given the context,
0:15:31given the time it happened, what it did, the results it had, and what we now know about
0:15:37what our government does. So that's why I think, again, like I wouldn't say that it's
0:15:44definitely the NSA, but I would say it would be naive to brush it off and say, "Oh, it
0:15:49probably wasn't them." I think the chances are better than that, that it was them.
0:15:53You know, I can't really argue with any of that.
0:15:57And I don't know, I just, I guess I just want to believe that people aren't jerks like that,
0:16:04and that our government doesn't do things like that.
0:16:07But to be honest, that's me just keeping my head in the sand.
0:16:10So I don't know, John, what do you think about all of it?
0:16:13For the timing thing, I think that's just as reasonably explained by saying the NSA
0:16:21that this bug was in there and joining the program basically means the NSA now has the
0:16:26capability to intercept traffic to Apple devices because of this bug that it knows about.
0:16:29And how would it know about the bug?
0:16:30Well, through its own testing, through trying to do man-in-the-middle attacks, perhaps having
0:16:35someone working at Apple who looks at the code before it's released to tell them that
0:16:39this is in there.
0:16:40So that would explain the timing and that doesn't require the NSA to have caused the
0:16:44bug to be entered in any way.
0:16:47So the timing I think is a wash.
0:16:50If I had to put money on it, I would bet that it's a merge error and it was accidental.
0:16:56And that doesn't mean the NSA wasn't exploiting it to do what they do, because it seems like
0:17:01they knew about it based on the timing, and if they knew about it, I'm sure they would
0:17:05be exploiting it.
0:17:07The reason I think it's a merge error is because I don't think it's all that subtle.
0:17:10I think if the NSA were going to intentionally plant something like this, they would do it
0:17:14in a less discoverable way.
0:17:16once it's discovered it gets patched and the NSA's goal is not to be discovered.
0:17:22This is not a, you know, if you glance at it you might miss it, you know, casually visually
0:17:27inspecting it, but it's the type of thing that will be found, both in terms of the code
0:17:32and in terms of the massive effect it has.
0:17:35If they planted one you would hope they would plant one that isn't so easy to find, because
0:17:39this is like, "I can spoof a certificate and it just accepts everything."
0:17:44it accepts any garbage, it skips that entire variant. It's not like if I carefully construct
0:17:48a certificate with a particular thing or like, you know, like it's not exploiting a subtlety.
0:17:52It's the type of thing, it's amazing that it went undiscovered for as long as it did
0:17:55because of Apple's apparent total lack of testing of their security frameworks.
0:18:00So that I think argues against it being intentional. And the thing about plausible
0:18:05deniability, this is the really creepy part, is that I can imagine that Apple has automated
0:18:10merge tools for bringing builds together.
0:18:13So if you were to find the commit that did this, I would imagine there's a good chance
0:18:16that it could be attributable to an automated merge tool.
0:18:19And then who do you blame, right?
0:18:21Like oh, well someone was really clever and set up these series of dominoes such that
0:18:24they knew when we did this merge with that merge and that merge it would mess something
0:18:27up.
0:18:28And if the only validation of a merge is a human being visually inspecting it and signing
0:18:32off, well yes, that's easy enough to miss.
0:18:34Or if the validation of a merge is it compiles and passes our apparently completely inadequate
0:18:39test suite, then that would let it go through too.
0:18:43I think we all agree that it is entirely possible that the NSA did this and the government did
0:18:49this, because like Margo said, this is something they do.
0:18:52But I think this is below the level of competence and sneakiness that I would expect from them.
0:18:59So I give it a less than 50% chance that it was done intentionally, more than 50% chance
0:19:04that it was done unintentionally, and almost 100% chance that the NSA both knew about it
0:19:08and exploited it.
0:19:09>> Enoch I mean, you know, overall I agree, Jon. Like, I agree that these things, like,
0:19:16all of these factors could be explained away in reasonable, you know, plausible explanations.
0:19:23It's just like, when you add it all together, the--and again, like, if this would have happened
0:19:29a year ago before we knew so much about, you know, from the Snowden leaks, before we knew
0:19:32all this stuff, a year ago I would have looked at this and thought, "Oh, well, it looks
0:19:37somebody made a stupid mistake. But now that we know that this stuff happens, and because
0:19:44of how convenient it would be, you know, yeah you're right that disabling these entire
0:19:49steps of SSL verification are pretty ham-fisted. However, they got it through, and it was there
0:19:56for over a year, right? So I think, I'm sure they don't just try one thing, and maybe
0:20:05the other things they tried got caught or didn't ship.
0:20:09Or are still there. Yes, thanks.
0:20:13Sleep well tonight. Or are still there.
0:20:17I'm sure they don't just leave themselves as one option.
0:20:21Again, I think by looking at just the
0:20:25fairly broad stroke that this bug used
0:20:29I wouldn't, for the same reason that you wouldn't rule out the timing.
0:20:33because there's, you know, there's always like,
0:20:37I wouldn't rule out the possibility of them doing this
0:20:40just because of how fairly ham-fisted it is,
0:20:43because in many other ways it's quite elegant
0:20:46in how innocent it looks and how hard it was to catch.
0:20:51And I'm sure they try many things
0:20:55and some of them are ham-fisted
0:20:57and some of them are really clever
0:20:58and the really clever ones, maybe they didn't work
0:21:00or maybe they're still there,
0:21:01but this one we happen to find.
0:21:03Well, none of us are ruling anything out. It's just that you're over 50% for thinking
0:21:06it was intentional and I'm under. But that's basically it. We're all around the middle,
0:21:09you know?
0:21:10Yeah. And again, I'm not too far over 50%. I might say 60%, you know, but normally in
0:21:17conspiracy theories you gotta be like, "Well, there's just too many coincidences to believe
0:21:21your conspiracy theory. Too many coincidences would have to happen." This, I think it's
0:21:26subtly the other direction. You'd have to ignore a lot of coincidences that are the
0:21:32the case to believe that this was totally innocent.
0:21:36So do you think Apple will ever say anything publicly about the investigation that undoubtedly
0:21:43is taking place inside the company to determine the cause of this?
0:21:46Oh, I really doubt that.
0:21:48And the second question is, will they use their disclosure canary thing? You know, like
0:21:53where they—the previous disclosure, they said, "We have not been contacted by government
0:21:57agencies to blah blah blah blah blah." And I forget what the word for that is. Someone
0:22:00in the chat room will look it up. But they put that in there so that when you see that
0:22:05message disappear, you will know that they have been contacted by the government and
0:22:09told not to say anything about it. So that's, I guess, the thing we can actually watch for
0:22:15that's actionable. The next time they do one of those security disclosure statements, if
0:22:19the whatever canary statement is not there, again, we can't directly connect it to this
0:22:23incident. But at least, you know, for example, if we see the statement again, we'll know
0:22:27that Apple had investigated it internally and that the...
0:22:32Like I don't see...
0:22:33If it was the government and they haven't been forced by the government not to disclose
0:22:36it was the government, I don't see why they wouldn't make it that public.
0:22:40Because they would basically be saying, "Hey, in essence, our government hacked us."
0:22:46They'd be angry, they'd talk to Congress about it, all this type of stuff like that, if they
0:22:51determined that to be the case.
0:22:53But if it was just an internal error, they probably won't say anything.
0:22:57And if the little canary statement is still there, then we also know that NSA is not the
0:23:01one making them not say anything.
0:23:03See, but I thought that the canary statement was more about getting at user data.
0:23:10I thought that the canary statement was something about how we haven't received any requests
0:23:16from the NSA to do crap we didn't want to do.
0:23:19I know.
0:23:20This would be a request to sit to, "You're not allowed to say anything about the NSA
0:23:24mole that you discovered in your organization."
0:23:28You're right, it's a different category.
0:23:30We've never given them user data and blah, blah, blah.
0:23:34It was a fairly wide-ranging statement.
0:23:38They can't anticipate what they may be forced not to say anything about, but I would imagine
0:23:43they would remove that.
0:23:45They would just simply not put that statement in there because it's not an admission of
0:23:48anything.
0:23:49of the canary. You can just remove it, and that's their sort of signal to the outside world that
0:23:54government people have come and told us not to say anything, and we can legally just simply not
0:23:58say anything, and you can interpret that as a sign that we're being told not to say something
0:24:03about something. Yeah, maybe, but it is two different things. Yeah, it says, I have it here,
0:24:08the very last line—this is a thing from Matthew Panzareno—the very last line of Apple's report
0:24:14today states, "Apple has never received an order under Section 215 of the USA Patriot Act. We would
0:24:20expect to challenge such an order if served on us." Which to me sounds like something separate than
0:24:27what we're talking about. Well, I mean, you'd have to look up what Section 215 of the Patriot Act
0:24:31says. Knowing the Patriot Act, it probably says the government can do whatever the hell it wants,
0:24:35and you have no rights. And in some sort of vague language that's broad. But I mean, that's all
0:24:40we've got. Like, because they can't go back in time and put it in a canary about, "We've never
0:24:44been infiltrated by the NSA. They've never added bugs to our code intentionally. And honestly,
0:24:49I don't know how they would ever determine that because like Marco said, if the best case scenario
0:24:53that it actually is an individual developer, what are they going to do? Waterboard the guy?
0:24:57Like it could have been a legitimate mistake. They can ask him, did you put that there
0:25:00intentionally? But if he did it intentionally, of course, he's not going to tell you that he did.
0:25:04And you can't force him to tell you. And you'll just never know because it is 100% plausible
0:25:10as a bug like people write bugs all the time, right it just you know,
0:25:13lines get pasted twice like Marco said like there is no literally no way to force someone to
0:25:19You'll never know if that guy's telling truth
0:25:21You could torture him to death and he dies and he never said that he did it and you still don't know whether he was lying or not
0:25:27Let me tell you a story and then maybe Marco you can tell us about something sweet in my first job. I wrote uh,
0:25:34bingo based
0:25:37slot machines, which is a weird and odd story that's not worth explaining right now, but
0:25:42this was done in DOS using the Wacom C++ compiler.
0:25:47And because it was done in DOS, debugging in the traditional sense wasn't really a thing.
0:25:54So you basically had to print out a bunch of log statements and so on and so forth.
0:25:58Well, the machines that we built, and the software that we built, basically it had a
0:26:04a menu and then a series of different slot machine games. And what we were noticing all
0:26:10of a sudden is that after some arbitrary amount of time of going into a game and going to
0:26:15the menu, going to the game, going to the menu, going to the game, going to the menu,
0:26:18after like 30, 40, 50 times, all of a sudden we would get a hard crash. And we couldn't
0:26:23figure out what it was. And we had some really, really good C++ developers there. The team
0:26:29at that point was only like 20 people. But there were some really smart guys there. Now
0:26:33Now I'm straight out of college, so I don't know what the crap I'm doing.
0:26:36But after a while, it was on me to try to figure out—and a coworker, actually—to
0:26:43try to figure out where is this crash coming from?
0:26:47Why is it happening?
0:26:48And some of my much more experienced, much better coworkers had looked through diffs.
0:26:52They'd looked through check-ins.
0:26:54Nobody could figure out what it was.
0:26:57And eventually I figured it out.
0:26:58And I can't recall if I just spotted it or if I looked through the version history
0:27:04of all the files that had been changed lately.
0:27:07But what it ended up being was a fall through and a switch statement.
0:27:13And in the switch statement, in each case, we were instantiating an object that was fairly
0:27:19big.
0:27:20I forget exactly what it was, but it was big.
0:27:22So what that means is we would create this new object and allocate a bunch of memory
0:27:27for it.
0:27:28And then there was an accidental fall through that we didn't mean to have.
0:27:32And so we would create another one.
0:27:34And that first object, all that memory got leaked.
0:27:38And it took us forever to find it.
0:27:42It took seriously, I believe it was two weeks of myself and a coworker just digging through
0:27:47code for two straight weeks trying to figure out what it was.
0:27:50And I bring this up because it looked, aesthetically, it looked very similar to this go-to fail
0:27:56issue.
0:27:57what appeared on the surface to be a perfectly valid switch statement. And it just so happened
0:28:03that we had forgotten to put the word "break" with a semicolon after it. We were leaking
0:28:08memory and after 30 to 50 times going back out to the menu, that's what caused the error.
0:28:13So if you had instruments, you would have known that. Because you could have run the
0:28:16little graph that shows the memory, you would have seen the leak.
0:28:19You're absolutely right. I know you're slightly being snarky, but that is absolutely true.
0:28:23And that's part of the reason why I think none of us are necessarily that excited to
0:28:26to get rid of Objective-C. But I bring this up because here was a situation where we had
0:28:32a handful of really good C++ developers. Now we didn't have a lot of process. You could
0:28:36say our methodology was not very good. But regardless, we didn't have a lot of process.
0:28:41But nevertheless, we had some really bright guys and girls going through this stuff and
0:28:45nobody could find it because it wasn't something that was visually, almost aesthetically obvious.
0:28:53And I see this as being a very, very, very similar situation.
0:28:58Just food for thought.
0:28:59There's examples of language misfeatures that lead to bugs.
0:29:02The language misfeature you cited is the fall through, or you need the break statement.
0:29:05The language misfeature, I think, in this bug was that you can have single clause conditionals
0:29:10without the braces that make it slightly less obvious.
0:29:13And some people say the language misfeature is that whitespace is insignificant, and the
0:29:17Python people will tell you how this will never happen in Python.
0:29:22All the talk about whether this is intentional or not, like bugs happen all the time that
0:29:25aren't securely related, that are just plain bugs and cause things to crash.
0:29:30And language features do lead to more or fewer bugs.
0:29:35I would love to see some stats on like bugs that are attributable to human error that
0:29:43could potentially have been influenced by language features.
0:29:45So the single clause if thing I bet is probably pretty high up in any language that allows
0:29:51that type of thing. Because it's just so easy to accidentally put a line underneath it,
0:29:55or to indent things wrong in a misleading way.
0:29:59The fall through for case statements, forgetting the break,
0:30:03I mean, I can't count how many times I've done that. Usually it's so
0:30:07obvious because nothing works at all, but if you get unlucky enough and things happen to sort of
0:30:11appear to work, you won't notice it, because you just write it out and it looks
0:30:15all indented the way you want it to be, and you just forgot to put the word back. Who doesn't forget to put the word
0:30:19That's like a rite of passage when you learn the scene,
0:30:22you learn the case statement.
0:30:23You will forget to put in break.
0:30:25And your thing won't work right.
0:30:28Man, I found a nasty bug this week in my PHP framework.
0:30:31In my sort function-- so I have my model class,
0:30:35and I have a couple of convenient model sort functions
0:30:37to do common things.
0:30:39And one of them is if you have your array-- and PHP arrays
0:30:45are all hashes/dictionaries.
0:30:47it's all like, you know, arbitrary key to value.
0:30:50It can be strings or numbers.
0:30:52So the idea is if you have an array
0:30:53of numerically indexed models,
0:30:55and you want them to instead be indexed
0:30:57by one of the values on each one,
0:30:59like say, go ID to object,
0:31:01instead of just like zero through N,
0:31:03add a function to assign the key of each object
0:31:10to be that property that you specify.
0:31:12And I had it work on the array in place.
0:31:15Oops. See the problem?
0:31:17Does PHP have defined semantics for what constructs allow you to modify the thing you're iterating
0:31:24over in place, and which ones don't?
0:31:28Not really. PHP, you can generally modify things as you iterate over them most of the
0:31:33time, and it usually works.
0:31:34Reassuring.
0:31:35It's kind of a problem that I have to say most of the time and usually there. But yeah,
0:31:41So as a result, as I was going through the numeric indexes, and I would say, "Alright,
0:31:48well, I have this property value of this one, so unset the numeric index that it was at
0:31:53and set it to the string index."
0:31:54Cool.
0:31:56So what happens when the value of one of those things is...
0:31:59What happens if the value of the one that was previously at id zero is two?
0:32:06Then you go to id one, do that, go to id two, and then that one gets unset.
0:32:10And so the resulting array can clobber certain elements based on their value and can actually
0:32:16have fewer elements in it than the input array.
0:32:20What I was getting at was, say you pulled off the first one and its ID value was 77
0:32:25and you shoved it into 77.
0:32:26Would you later on find yourself iterating over 77 because the iteration thing now sees
0:32:30a new entry down at 77?
0:32:32I think so, but the fact that I don't even know that for sure is a problem.
0:32:37Yeah, so it's like self-modifying code.
0:32:39You couldn't in theory get yourself into an infinite loop of where these things just keep
0:32:43getting shoved to the end and making new entries that you then iterate over that cause them
0:32:46to be shoved to the end at the end.
0:32:48All sorts of silliness.
0:32:49Yes.
0:32:50Yeah, it's crazy.
0:32:51And so yeah, that was an obvious, like, if you looked at the code it looked reasonable.
0:32:54Like, oh, of course.
0:32:56But until you thought about it, you're like, oh, wait a minute.
0:32:59And this was a utility function in my framework that's been there for about seven years.
0:33:06And so like, hmm, I wonder how many bugs that has caused.
0:33:10'Cause I don't use this function a lot,
0:33:12but when I do use it, and maybe all the time
0:33:15I've used it so far, like most of the time,
0:33:17it just never, it never had that situation,
0:33:19so I didn't notice it.
0:33:21But yeah, that was a problem.
0:33:23Anyway, we are sponsored this week,
0:33:25our first sponsor, 30 minutes in,
0:33:27our first sponsor is Picture Life.
0:33:30Now, we talked a while back, many times,
0:33:33about hosting your pictures online, photo storage,
0:33:36photo backups, stuff like that.
0:33:37So Picture Life is the one app you need
0:33:41for your photos and videos.
0:33:42Starting with seamless backup and deep integrations
0:33:45into iPhoto and Aperture.
0:33:47Picture Life auto organizes your photos
0:33:49and gives you the power to view
0:33:50and quickly search through them on any device.
0:33:53Picture Life's private sharing lets you easily control
0:33:56who sees which photos and their editor works
0:33:58on the web and iOS.
0:34:01Plans start at just $5 per month
0:34:03And ATP listeners get 30% off for life.
0:34:06Sign up at picturelife.com/ATP.
0:34:10They've never done this before, so really give this a shot.
0:34:13Make them love their sponsorship with us.
0:34:16You save 30% on the monthly fee for life.
0:34:19That's awesome.
0:34:20And so they have all sorts of cool features.
0:34:23They have a deep search, it's very, very powerful.
0:34:26It uses the face detection, all that other stuff
0:34:29that's really cool these days.
0:34:31They have apps for the Mac, apps for iOS,
0:34:34but they also even support Windows and Android.
0:34:36Android just launched in December
0:34:38and is very quickly coming up to speed.
0:34:40And this company was founded by people who really love photos.
0:34:45They love creativity and they love technology.
0:34:48Founders of this include Charles Forman, who I actually know,
0:34:51Charles Forman of OMG Pop, Jacob DeHart of Threadless,
0:34:55and Nate Westheimer of the New York Tech Meetup.
0:34:57I know him too.
0:34:59And this is backed by our VC friends at Spark Capital,
0:35:02and I know them too.
0:35:03They were the main VC behind Tumblr.
0:35:05So I'm very familiar with all these people.
0:35:06They're really good people.
0:35:07Anyway, Picture Life is the one app
0:35:10that your photos really needs.
0:35:12So you can backup, search, edit, and share on Mac and iOS.
0:35:16Go to picturelife.com/atp, and you can get 30% off for life.
0:35:21Thanks a lot to Picture Life for sponsoring our show.
0:35:23- And if you don't want them to go away like Everpix,
0:35:25sign up, and unlike Everpix,
0:35:27they don't have a unlimited storage thing,
0:35:30so hopefully they'll have a more viable business model
0:35:33of where you actually pay for what you use.
0:35:35- Yeah, it seems that way.
0:35:36Also Charles Foreman, like that guy is a machine.
0:35:39Like, remember Draw Something, that was the big thing?
0:35:41That was like their big thing,
0:35:42but he had a site before that,
0:35:44that I socialized with him a bit
0:35:47while he was working on that through David Carpet Tumblr.
0:35:49We were all, we would go out to dinner
0:35:50a few times here and there.
0:35:52And that guy, he's incredibly smart.
0:35:55And he's just like a coding output machine.
0:36:00Like, I've rarely seen anybody be able to produce as much as he does, and he really,
0:36:06really knows his stuff.
0:36:07So I would certainly trust this.
0:36:08Nice.
0:36:09Now, to go back from before the sponsor break, it would be wrong of me not to mention that
0:36:15in Objective-C—I'm sorry, not Objective-C. I've been writing Objective-C today, which
0:36:20is why I'm all confused.
0:36:21In C#, there are interesting language features that prevent both of the bugs that Marco and
0:36:28I are talking about.
0:36:30Firstly, you can't have a fall-through in a switch statement unless that case is completely
0:36:36empty.
0:36:37So you would literally have one line, case 1, colon, the next line, case 2, colon.
0:36:42And if there's anything in between without a break statement, that's a compiler error.
0:36:46And the other thing is, if you try to modify pretty much any enumerable collection in place,
0:36:51you get a--
0:36:52I believe that's a runtime error, not a compiler error.
0:36:55And so that's just really nice ways
0:36:57to protect you from yourself, and that I really appreciate.
0:37:00Do I have to tell you that Perl would protect you
0:37:02from these things too, or we just assume it now?
0:37:04Opera did it.
0:37:04Ding.
0:37:06Perl requires braces on single statement
0:37:09ifs, it doesn't let you do it without them.
0:37:11And that was intentional to avoid this feature,
0:37:13because the people who wrote Perl were writing Perl in C
0:37:16and hated that.
0:37:17And there's no switch statement, so problem solved there.
0:37:20Well, there is a terrible deprecated one
0:37:22that's part of a CPAN module, but it doesn't count.
0:37:24It's not part of the language.
0:37:25And the-- what was the other one?
0:37:28Oh, modifying sets.
0:37:30If you iterate over the keys of an associative array,
0:37:33you can actually modify the array
0:37:35because it gets the key list ahead of time
0:37:37and it doesn't make reference to the thing.
0:37:40Unfortunately, if you get the keys and values,
0:37:42then it does the good old PHP way where it's just madness.
0:37:45But there are other reasons not to do--
0:37:48should just deprecate getting the keys and values at the same time anyway because, I
0:37:52don't want to go into Perl details, but suffice it to say that it's not a, they have to keep
0:37:57it, they have to keep an iterator value on a per-variable basis and that just leads to,
0:38:01leads to more madness, so that should be deprecated but isn't yet.
0:38:05This is one of those things too, like, you know, the go-to-fail bug, there's actually
0:38:10a compiler warning that warns on unreachable code blocks. And so if you have a function
0:38:17that contains like, you know, return zero and then a bunch of lines of code below it,
0:38:21well those lines will never be reached because that return statement, that unconditional
0:38:24return will execute and then everything else in the function will never be reached.
0:38:29Go to fail thing, again, it's, if you have this unconditional go to statement, which
0:38:33is what the bug line was, that skips over the big block of the function, then that code
0:38:38is unreachable. And so compiler, there's a warning for that in, I don't know if it's
0:38:42it's in GCC, but it's at least in LLVM.
0:38:45And the problem is, it's not part of the wall option
0:38:49that a lot of nerds use.
0:38:51It's not part of the all warnings default set,
0:38:54because I think, I was reading a little bit about this,
0:38:57I think the main reason why is because there's a lot of
0:39:01libraries and stuff that it would fail on
0:39:04for various reasons, and so, you know,
0:39:06it's always a tricky balance with warnings
0:39:09when you're striking that.
0:39:10Like I recently, in my PHP framework,
0:39:13I always had for the last few years,
0:39:16I've used what I call strict development mode,
0:39:18which is when you're in the development environment,
0:39:21everything, even the notice,
0:39:23the lightest level of PHP warnings,
0:39:26everything became an exception
0:39:28because I don't want my code to ever emit a notice
0:39:30and I don't care if it's gonna be littered
0:39:32with isSet statements all over the place,
0:39:35I don't care, everything,
0:39:36there should be no errors in development.
0:39:38And I recently, just even a couple of weeks ago I think it was, I recently decided, you
0:39:42know, why shouldn't that also apply to production?
0:39:45If I'm throwing exceptions on any minor error in development, that for, I think, good reasons,
0:39:52why should I be more lenient in production?
0:39:54In reality, if things are failing anywhere, I want to know about that so I can stop it,
0:39:59so I can fix it, so I can do the right thing.
0:40:00There's a reason it shouldn't apply in production if you don't control your own service, which
0:40:04a lot of people don't.
0:40:05like they're sort of deploying to,
0:40:07they have some baseline they need to support
0:40:09for their deployments,
0:40:10but they don't control every single detail.
0:40:12Like they don't have their own machines basically.
0:40:13They're not the one who installed PHP, for example.
0:40:15They're not the one controlling Apache
0:40:16and the upgrade cycle and stuff like that.
0:40:18And you don't want to run with all your warnings turned on,
0:40:20especially with warnings turned into fatal errors
0:40:22in that situation,
0:40:23because someone will do a minor point upgrade
0:40:25to Apache PHP or some other thing,
0:40:27which will suddenly cause warnings where once there were none
0:40:29and then your production is down
0:40:30because of something you didn't do.
0:40:31But in your case, since you control all of the,
0:40:33you control the version of everything,
0:40:35not going to get upgraded behind your back, so it is slightly more reasonable to do that.
0:40:39I think I would disagree on that. I think I would want that to break, because that's
0:40:43a problem that you should know about immediately. And if the people who are controlling the
0:40:48servers do any kind of testing, like if they maybe deploy it on a development server, or
0:40:55if you deploy directly to production with stuff like PHP updates, at least do it on
0:40:59one server first and see what happens, at least, if you're going to be that sloppy.
0:41:03And in all those cases, I'd rather the app actually crash and burn immediately.
0:41:09It's like the "fail early and completely" or "often" whatever the statement is.
0:41:13Fail early.
0:41:14The warnings are always going to be something like, "This language feature is going to be
0:41:17deprecated sometime in the next two years, so you should stop using it."
0:41:20And it's like, that should not cause your app to go down in production.
0:41:23If that did, you'd be mad that it went down because you'd be like, "That's not important
0:41:27enough for production to stop working."
0:41:29And you'd be mad because they upgraded something and it broke your stuff or whatever.
0:41:33historically in my working career, the reason warnings get turned off in production is because
0:41:38it relates to this reason, even sometimes when we do control the entire stack, merely because
0:41:42a different department in the same company controls the upgrade cycle and stuff like that,
0:41:47and the other department doesn't want that department possibly screwing them up by changing
0:41:53something that causes a warning that is totally bogus and immaterial and stupid and really does
0:41:59not have anything to do with the functioning of the application is practically like the developers
0:42:02just like waving at you and saying, "We made a new message here! Look at our message! Hi,
0:42:06how you doing? Message, message!" And you're like, "I don't want my program to stop working
0:42:10because of that. I'll see it, fine, we'll go and patch up that thing so it doesn't emit
0:42:14the warning anymore. It's not like it'll be invisible, but turning it into a fatal error
0:42:18in production is usually a bridge too far."
0:42:20I still disagree. I see your point. I don't think that's a good enough reason.
0:42:26Well, for a one-man shop that controls everything, yeah, that's fine. But things get much more
0:42:30complicated as the organizations get bigger and things get farther away from the control
0:42:35of the people writing the code.
0:42:37Yeah, I completely agree with Jon.
0:42:39I think that comes from the fact that Jon and I have real jobs and it's just you by
0:42:44yourself.
0:42:46So it's not easy to deal with those sorts of issues.
0:42:51And even in consulting, it's an even finer line because a lot of times, myself and my
0:42:57team will build something, hand it off to the client, and then walk away. And so in
0:43:04many cases, the company for which we've built something may or may not really have the talent
0:43:11in house to figure out when some esoteric warning happens and what to do about it. And
0:43:17we're not necessarily contracted with this client anymore. So they're on their own.
0:43:22And not to say that we, you know, silently squash all exceptions or anything like that,
0:43:26for non-fatal things, oftentimes it's not in our or our client's best interest to
0:43:32cause a ruckus over those sorts of things.
0:43:35**Matt Stauffer** The C tool chain is better about doing this,
0:43:38which is basically why -wall doesn't print so many errors, because whoever defined wall way back when,
0:43:44now no one can change it. Because if you did, you were like, "Oh, this compiled cleanly,
0:43:47and now it doesn't." Your compiler is broken, right? That's why there's w-everything,
0:43:50because WAL is not historical baggage like that.
0:43:54Whereas in the much looser, higher level languages
0:43:58and the fancier tools, people have no problem
0:44:01throwing out the next version, the next minor version
0:44:03of Ruby or Node or something like that
0:44:05and adding a bunch of warnings
0:44:06because they're trying to influence the people
0:44:09who are using the language,
0:44:09because they're trying to warn about deprecating features
0:44:11because they think they've decided
0:44:13that this could potentially be a problem.
0:44:16Because their warnings are like,
0:44:17we don't know this is wrong,
0:44:18otherwise we wouldn't have compiled it. But there might be something you might want to look at here,
0:44:23and this may be a new warning so you don't have a statement above it that says don't warn me about
0:44:27that thing. Like you were saying with the is_set, but like there's lots of other things you could
0:44:30like put pragmas and lexically scoped warnings, restrictions to say look I know normally a
0:44:35warning would be emitted here, but I know what I'm doing, let this thing go past, and you write that
0:44:39right into the code. Well you can only do that for the warnings you know about, and although your C
0:44:44compiler is not going to suddenly add a bunch of things to minus_wall, lots of other
0:44:48languages and open source projects that are newer and moving much faster.
0:44:52We'll have no problem adding crap like that.
0:44:54And eventually just the fatigue of the organization keeping up with these things
0:44:57is like, you know, politically speaking, they'll be like, can't we just not make
0:45:01the warnings into exceptions in production and just look at the logs.
0:45:04And when we see new warnings, fix them, that will very quickly go through.
0:45:07Once production is down a few times and bosses and bosses, bosses are yelling
0:45:11down at development asking why production was down.
0:45:13And at that point, Marco will have a much harder time explaining to his boss or his
0:45:16boss's boss, why it actually really is a good thing that production went down because now
0:45:21we know about this failure right away.
0:45:23See, I think this is a lot like ending a Lisp program with a bunch of closing parentheses,
0:45:27you know, just in case you make a mistake, which was actually the recommended thing in
0:45:31my Comp Sci 201 or whatever class when we were learning Lisp. The professor actually instructed
0:45:37us to put a bunch of closing parentheses at the end of the file to make it easier while
0:45:41learning.
0:45:42might have been joking. But basically, from a practical perspective, if your company is
0:45:47a 24/7 online company and they lose, let's say, $5,000 in revenue for every 60 seconds
0:45:52your servers are down, it is much harder to make the argument that Marco has made. It
0:45:57really depends on the situation. And some reasons are stupid, like institutional reasons
0:46:02where there's kingdoms within the company that are fighting each other and the developers
0:46:07are distant from the code and they don't control the deployment. Those are sicknesses within
0:46:11the company, but then there are legitimate reasons like, well, say it is a company where
0:46:14everybody works together, but you know you lose X amount of dollars for every minute
0:46:17the server is down. It only takes one night of that happening to equal one developer's
0:46:23salary that they could have had for the thousands of dollars they lost for their servers being
0:46:28down during that time. And so, yeah, sometimes you just, practically speaking, don't have
0:46:33the luxury of turning all warnings into exceptions.
0:46:35See, I think this is a... everything you've just said, like, you know, where it's like
0:46:39really critical that if this happens in production it's really a big problem, that's all the
0:46:43more reason why you shouldn't be reckless deploying updates in production to your critical
0:46:48code like your language interpreter. Like, if you're deploying a new version of PHP to
0:46:54your production servers that you've never tested your code on in development, and you
0:46:58have the kind of situation where you're going to lose tons of money every minute that your
0:47:03site is down in the middle of the night because you updated it in the middle of the night
0:47:05and you have to wake up your programmers.
0:47:09To me, that's like a pretty...
0:47:12There's a number of things wrong with that.
0:47:14And it's not your warning level.
0:47:17Dynamic languages can emit unexpected warnings not just because they upgraded the version
0:47:21of dynamic language interpreter, but simply because that code path didn't have coverage.
0:47:24And it's like they're basically runtime warnings.
0:47:29That exists.
0:47:30in dynamic language, especially for web programming,
0:47:32that if you don't execute that code path,
0:47:34that warning will never be committed.
0:47:36But if you have all warnings immediately
0:47:37become fatal exceptions, and in production,
0:47:39someone actually hits that code path,
0:47:41no one upgraded anything, but your server still died
0:47:45because that turned into a fatal exception.
0:47:48- There's always, between, with any kind of non-error,
0:47:55any kind of warning or notice,
0:47:57there's this balance that you're striking
0:47:59between convenience and easiness and tolerance of edge cases versus trying to be correct
0:48:09all the time. And it's kind of like security. There's a balance you have to strike between
0:48:14convenience and ease and the right thing. And if you're to the point where you're
0:48:22permitting lots of warnings to happen in production unexpectedly, I think that's a sign that
0:48:28something's wrong. Well, you're not permitting them, you just don't want them to be fatal errors.
0:48:31You'll address them as soon as you see them. Because a lot of them could be data-driven,
0:48:34for example. Value comes in and it's undefined. And how is that value undefined? It's okay for it
0:48:39to be undefined, but there's some warning that if you use an undefined value and there's one
0:48:42function that says this is unexpected, and you totally thought it should be expected,
0:48:45someone forgot to put, "Please don't give me warnings about undefined values when I pass this
0:48:49in because it's okay for it to be undefined." But you never hit that code in your testing,
0:48:52and it gets emitted. Like, warnings aren't necessarily... I know people like to turn them
0:48:56all on in development so they can just get things clean because it's much easier to verify
0:49:00that there's nothing there because once you let any leak through then it becomes an avalanche
0:49:03and you start ignoring them. But in production, enabling these things isn't necessarily saying
0:49:10"we are telling you there's something wrong with your code." In fact, almost all the time
0:49:14it's not telling you there's something wrong with your code and it's just really hard to
0:49:17be at the whim of these messages that don't actually tell you anything useful about your code
0:49:24in production, turning them into fatal errors. Leave them on in production, log them, immediately
0:49:27address each one of them so that you get the volume of those warnings down to zero again,
0:49:32but turn them into fatal exceptions? Like I said, I think that's too much.
0:49:36But you see, I think that, and people in the chat have also suggested, like, you know,
0:49:39you can, you should just log them and then, you know, have a policy to deal with them.
0:49:43I think in reality, that's much more likely to just get ignored, or to be, "Oh well,
0:49:48it only happens once a week for a few hours, or we've only ever seen this message five
0:49:55or six times, so we'll just ignore it." And I think that's the wrong approach for a lot
0:49:59of situations.
0:50:00But you don't need to ignore it. You'll know exactly what line it came from. You can get
0:50:04a stack trace with it. It's usually so easy to address because you'll immediately look
0:50:08at the warning, look at the line of code, and say, "Is this an acceptable condition
0:50:12or not?" If it's an acceptable condition, you just put in the pragma that says, "Don't
0:50:14emit that warning from this line anymore, done and done.
0:50:17If it's not an acceptable condition, then congratulations, you've been alerted to a
0:50:20potential bug and you need to change your code.
0:50:22Both of those situations, one is either dispensed in two seconds, and so there's not a barrier
0:50:26to entry to that, and the second one is you found a legitimate bug, and I think developers
0:50:30will want to fix that as well.
0:50:32I don't think people will ignore them, especially if you're running all development in the fatal
0:50:35errors mode, because that will ensure that your volume is zero in development.
0:50:39It's just when you get to production that you want to crank it back one notch, basically
0:50:43to make yourself not go down for reasons that you wouldn't want to be down.
0:50:46But again, I think the human behavior, like the reality of human nature is such that if
0:50:54you tolerate those warnings in production, even if the policy says you shouldn't, in
0:50:59practice that's going to lead to a lot of messy code staying there indefinitely. Whereas
0:51:05if it actually breaks, it forces you to fix it.
0:51:09organizations are good at one thing. It's making policies, annoying policies. So I actually have
0:51:15more faith in a large corporation's ability to make a stupid policy that it requires zero,
0:51:21or not stupid, to make a policy that people don't like following because it's human nature to not
0:51:25want to deal with those things and to enforce it. It goes the other way. The policy that says you
0:51:30got to have all warnings on when you build your application, a lot of individual developers won't
0:51:36like that because they find it tedious to go trace down all those errors and everything like that.
0:51:39indie developers tend to have to psych each other up to say,
0:51:42I know I should be running with WEverything, but I'm not.
0:51:45And they kind of have to encourage each other to do that
0:51:48because they know it's good for them,
0:51:48but it's human nature not to want to do that.
0:51:50- It's like flossing.
0:51:52- In an organization, you have someone two levels up
0:51:54who doesn't have to touch the code,
0:51:55who can just force everybody to do that
0:51:56and make it a policy.
0:51:57Like I think as Casey has said this many times in the past,
0:52:00and it's true of anyone who works in big companies,
0:52:02whenever anything goes wrong,
0:52:03someone wants to make a policy
0:52:04to prevent it from ever happening again,
0:52:05which eventually leads to a gigantic web of policies
0:52:09that paralyzes the company and makes them stupid and dumb.
0:52:11But like I said, that's the one thing they're good at
0:52:13is this bad thing happened, make a policy
0:52:16so it doesn't happen again,
0:52:17and they would institute the policy.
0:52:19We must have zero warnings.
0:52:20By the Tuesday after the build,
0:52:22all warnings must have tasks assigned for them
0:52:24with due dates, and that is, I think,
0:52:26something that big organizations are good at.
0:52:29- Right, and I think, Marco,
0:52:30what you're maybe losing sight of is that
0:52:34A lot of times, having a production failure, it just isn't an option, even for seconds.
0:52:42And Jon was alluding to this earlier, but you're coming from the position, as you
0:52:46should, of someone who is not only the peon coder, but is also the boss.
0:52:53And so if Overcast is out in the wild and it goes down, who do you have to answer to?
0:52:59Everyone will know why now.
0:53:00Yeah, exactly.
0:53:01But, um...
0:53:02time zone set.
0:53:03Right.
0:53:04You know, you're modifying another collection while iterating over it.
0:53:07Well, now we at least know that you shouldn't use my framework if you have this situation.
0:53:11Right.
0:53:12But you know what I mean?
0:53:13Like, you have to answer—yes, you have to answer your customers, and that is kind of
0:53:16crummy, but your customers can't fire you.
0:53:18They could walk away and, okay, we can go down that rabbit hole if you really want to,
0:53:22but in a direct sense, they can't fire you.
0:53:26They can't not give you a bonus that year.
0:53:30They can't empirically hurt you.
0:53:33And it's very different for, I think I speak for Jon in saying it's very different for
0:53:36he and I, because if we make some sort of decision that we think that dying in production
0:53:43is better, somebody many, many, many rungs up the ladder from us may not agree with that.
0:53:50And I guarantee you, the bigger the company, the more, well, in my experience, the bigger
0:53:56the company the happier they are to find a head to chop off and let roll.
0:53:59Well, the big thing is you will not be able to convince them, even if you're 100% right,
0:54:03because there are many situations where you really are right. And this was like,
0:54:07ignore whether we're talking about warnings, like this was a legitimate reason. It is actually
0:54:10better that this happened than it not happened. Good luck convincing somebody three levels up
0:54:14in the org chart of that, even if you are just so right, and that everybody who is a sibling to you
0:54:19in the org chart and below you agrees, and they all sign a petition, and they all get out in the
0:54:22parking lot and say, "We're right. The COO or the CTO and certainly the CEO, you will
0:54:28not convince them." And that's the harsh world that we live in.
0:54:31John: Let me challenge our listeners here. I'm honestly curious. I would like to know
0:54:36if you work at a company that has a big, important online infrastructure, Amazon, Google, stuff
0:54:47like that. Big important companies where you do things well online and it's really important
0:54:53that they stay up. I'm curious, what is your policy? What is your company's policy?
0:54:57And you can write us on the feedback form anonymously, you can use the throwaway Twitter
0:55:01accounts. We don't need this to be on the record. I'm just curious to know, what do
0:55:07the big companies do in reality where this stuff really does matter and where they are
0:55:11technically, generally well-run companies?
0:55:16I think that at that scale it's kind of different because I think Google and Amazon and Netflix
0:55:20and stuff like that have a design for expected failure.
0:55:23So they have to have basically instead of an organism that is like clean and running,
0:55:27they have to make one where cell death is expected and they just have little busy robots
0:55:31going through and cleaning up the dead cells and stuff.
0:55:33So that's a little bit different.
0:55:35And I'm thinking of like the medium term ones where you're not that big.
0:55:38Every human in the world is not hitting your server.
0:55:41But it has to be up.
0:55:42It just absolutely has to be.
0:55:43like stock trading or banking things, whereas only a few computers in this network, and
0:55:48they're directly hacked into by crazy fiber optic wires, and they're doing high frequency
0:55:51trading, or they're doing something like that, or they're doing bank transfers, but these
0:55:54three or four computers have to always be up, otherwise people lose millions of dollars,
0:55:59you know?
0:56:00But again, like, that's more reason why you should be really careful what code runs on
0:56:04them and why you probably shouldn't ignore a warning.
0:56:07Well, you're not ignoring it, we're just going around in circles. It's like, it's the question
0:56:10of do you want something that doesn't necessarily have to be fatal to be fatal or to cause a piece
0:56:15of work to be put into someone's bin to fix that with a deadline because that's the policy and so
0:56:19on and so forth. But anyway, people can send us feedback on whatever they think the policy is.
0:56:21I think you'll be horrified to find that people don't enable warnings, period, even in development.
0:56:26Forget about ignoring them. They're not even enabled. Like if we actually took a mass survey,
0:56:31what we'd find out is there'd be like warnings. No, we turn those off. Those annoy us.
0:56:35Yeah, you're absolutely right. You're absolutely right. And the other thing I should point
0:56:38out is that you saying, Marco, that you only care—well, I shouldn't say that. The way
0:56:43you phrased the question was if your livelihood, your company's livelihood is based on some
0:56:49sort of online service or website or whatever, but what you're losing sight of is a lot
0:56:54of times my clients at the job in which I work, we oftentimes, but not always, do like
0:57:00a corporate intranet, you know, the same sort of thing that igloo does. And a lot of times
0:57:05we're told this cannot go down, when in reality, nothing will go broken if the intranet
0:57:13is down, you know what I mean? So a lot of times from on high, they say this intranet
0:57:18will be a boys. But really, it doesn't matter. And so we have to make decisions as consultants
0:57:25on the requirement from the client even if we think it's bull. And I think that John
0:57:30was alluding to that earlier. And so a lot of times, even if you could say, "Well, it
0:57:35doesn't really matter if this goes down," a lot of times clients will say, "Well, it
0:57:38better friggin' be up," or, "We're coming and calling you guys and we're gonna be
0:57:42pissed." On a happier note, you want to tell me about something cool?
0:57:46Yeah, and before—one final thing, sorry—that I think that you're right that for your
0:57:53situation where, you know, if it's a consulting gig where you have to build some system for
0:57:58somebody and then effectively it's going to have zero maintenance for a while, whether
0:58:02that's weeks or years or decades, like then I think that's a different environment where
0:58:09you expect the software to just tolerate existing and whatever upgrades happen on its server,
0:58:14which probably won't even be a whole lot, honestly, but in reality, let's be realistic
0:58:18secure, but this thing has to operate with no programmer intervention indefinitely. Then
0:58:24it's a different story. Then I completely agree that you're already doing something
0:58:29that's, by software development standards, pretty bad, in that you're going to have
0:58:35unmaintained software in production use for a long time. But in reality that happens all
0:58:40the time. And so you're right that in practice in a lot of places you have to accommodate
0:58:45for that, but that's typically not the kind of place, as you just said, it's not the kind
0:58:49of place where it's super important that there be no technical errors, you know, all the
0:58:55time. So anyway.
0:58:56All right. We are sponsored, sorry, we are sponsored this week also, once again by our
0:59:02friends at Help Spot. Are you still using email clients for customer support, Casey?
0:59:08I do customer support? I mean, yes. Yes, I am.
0:59:12You're probably losing track of important tickets.
0:59:14I bet I am.
0:59:15- Trying to use Mark as on read as an organizational tool
0:59:18and I am in coworkers to see who's working on what.
0:59:21That's ridiculous.
0:59:22It's time to get organized.
0:59:24Most help desk software tries to be all things
0:59:26to all people.
0:59:27Infinite feature creep, these huge complex messes.
0:59:31Help Spot is focused.
0:59:32It deals only with customer inquiries
0:59:34and self-serve knowledge bases.
0:59:37There's no built-in asset management or password resetting
0:59:39or other unnecessary features to get in your way
0:59:41or require complex integration work
0:59:44with your application or your infrastructure.
0:59:46Helpdesk software is also usually really expensive.
0:59:49A lot of them are like around $600 per user per year,
0:59:52which is really high.
0:59:54HelpSpot is just $2.99 per user once.
0:59:58You own it for life, it's not per month,
1:00:00it is $2.99 per user one time.
1:00:03You own it for life.
1:00:04And there's no lock-in.
1:00:05You can download the software and host it yourself,
1:00:08or you can have it hosted for you.
1:00:10Either way, even if they host it for you,
1:00:12you always have access to the database
1:00:14that you can directly query, export, and take elsewhere.
1:00:18HelpSpot is not some new startup.
1:00:19They've been available for nearly a decade
1:00:22and they've been adopted by thousands of companies
1:00:24and organizations.
1:00:25Customers from single person startups
1:00:27to Fortune 500 companies all use HelpSpot
1:00:29to manage their support teams.
1:00:31So you can start a free trial today.
1:00:33Go to helpspot.com/atp.
1:00:36And then when you're ready to buy it,
1:00:37if you use coupon code ATP14 for the year of '14,
1:00:41Code ATP14 will save you $100 off your already very well-priced purchase.
1:00:47So thanks a lot to HelpSpot for sponsoring our show once again.
1:00:50Remember, go to helpspot.com/ATP and use coupon code ATP14 for $100 off.
1:00:57So here's the thing that we're kind of dancing around, and I think it might be time to pull
1:01:02the band-aid off.
1:01:03No, I wanted to do the script notes thing.
1:01:06I thought that's what you were talking about, because it's perfect.
1:01:08It's exactly what you were just talking about.
1:01:10I know what he wants. He wants to do some of our methodologies. He always does.
1:01:13We kind of touched on it a little bit, but we don't have time for Script Notes.
1:01:16You don't want to save it to F for after the second sponsor.
1:01:19Jon.
1:01:21It's happening. I hate to break it to you. It's happening.
1:01:25I've listened to that Script Notes podcast for nothing.
1:01:27Well, so did I!
1:01:29I even listened to the follow-up today, just to make sure I had it done for this episode.
1:01:32Gentlemen, relax. This is the way it's going to have to be. Daddy Casey has spoken.
1:01:37We are also sponsored this week by Squarespace.
1:01:39- You're such a jerk.
1:01:40Don't even stop.
1:01:42- The all-in-one platform that makes it fast and easy
1:01:44to create your own professional website
1:01:45or online portfolio.
1:01:47For a free trial and 10% off, go to squarespace.com
1:01:50and use offer code Casey.
1:01:53- Yay.
1:01:54- Squarespace has always improving their platform
1:01:56with new features, new designs, and even better support.
1:01:59They have beautiful designs for you to start with
1:02:01and all the style options you need
1:02:02to create a unique website for you or your business.
1:02:06They have over 20 highly customizable templates
1:02:08for you to choose from.
1:02:10They've won numerous design awards
1:02:11from prestigious institutions,
1:02:13and it's incredibly easy to use and customize.
1:02:16If you want some help,
1:02:17Squarespace has an amazing support team
1:02:19that works 24 hours a day, seven days a week,
1:02:21with over 70 employees right here in New York City.
1:02:24All of this starts at just $8 a month,
1:02:27and includes a free domain if you sign up for a year.
1:02:30And you can start a free trial today
1:02:32with no credit card required.
1:02:34It's a real free trial, no credit card.
1:02:37And when you do sign up, use offer code Casey for 10% off
1:02:41to show your support for our show as well.
1:02:43And one more cool thing, two more cool things actually.
1:02:47You know what, I'm gonna go all out,
1:02:50three more cool things.
1:02:51Squarespace has introduced this new thing
1:02:53called Squarespace logo.
1:02:54In addition to building your website,
1:02:55you can now build your own logo for your site,
1:02:57business card, shirt, or whatever you want.
1:03:01Also, all Squarespace plans now include
1:03:03the commerce functionality.
1:03:04You can have a store where you sell
1:03:06physical or digital goods.
1:03:08They have all sorts of great integration there.
1:03:09It's so easy to set up.
1:03:11You can finally have your own online store
1:03:13with very, very little effort.
1:03:14It's really amazing.
1:03:15And every Squarespace plan now includes
1:03:17the commerce functionality at no additional charge.
1:03:20And finally, Squarespace is hiring.
1:03:23If you interview for an engineering or design position
1:03:27before March 15th, they will invite you
1:03:30and your partner to be New Yorkers for a weekend.
1:03:33They will fly you out to New York,
1:03:34put you up in one of the city's best hotels,
1:03:36and give you a long weekend of checking out
1:03:38some of their favorite attractions, cultural icons,
1:03:41and restaurants in the city.
1:03:42Squarespace will pick up the entire tab
1:03:44for this awesome trip to New York.
1:03:46They've been voted one of New York City's greatest places
1:03:48to work for two years running,
1:03:49so really put them on your short list.
1:03:51They're looking to hire 30 engineers and designers
1:03:54by March 15th.
1:03:55So go to beapartofit.squarespace.com,
1:03:58That's beapartofit.squarespace.com to learn more about this cool offer.
1:04:02Thanks a lot to Squarespace for sponsoring our show once again.
1:04:05So about the Script Notes episode...
1:04:07Don't even start with me.
1:04:08Are you really going to be that?
1:04:10If you really want me to abandon software methodologies, even though it perfectly fits
1:04:14the thread of this episode, you f***ing b****, then we can move on.
1:04:18Jon, what do you think about this episode?
1:04:20God, I hate you so much, Marco.
1:04:22Casey, you've got to assert yourself.
1:04:24If you want to talk about software methodologies, you can.
1:04:26I would say though that with the time left in the episode don't you think it deserves to be kind of like in the prime
1:04:31Spot with more time. I leave it up to I'm abstaining from this vote. So
1:04:35It's Casey versus Marco decide what we're gonna talk about next I'm prepared for both
1:04:40I kind of feel like so her
1:04:42Methodologies is a big enough topic that we wouldn't want to try to jam into the end of the show
1:04:46But I'll go either way
1:04:47I actually am going to agree with John's non vote which actually is a vote but I'm gonna agree with John's non vote and say
1:04:53That I I'm not trying to avoid it
1:04:56I do think it deserves more time than this.
1:04:58You know, you're probably right, and God help you trying to edit this episode,
1:05:03because now I've turned it into a complete cluster.
1:05:06Oh, this is all in. Just one horn needed, that's it.
1:05:08It's all in.
1:05:10I'm excited about that.
1:05:12This is what people tune in for, Casey.
1:05:13Oh, is this the show?
1:05:15All right, so we should probably catch people up on Script Notes as I curse this topic internally,
1:05:22even though it actually is very interesting.
1:05:23So a lot of people came and told us, "Oh, you should really listen to this Script Notes
1:05:28episode."
1:05:29And Script Notes is a podcast by two screenwriters, and I couldn't even tell you who they are
1:05:33off the top of my head.
1:05:34John August and some other guy.
1:05:36Thank you.
1:05:37That's what I knew too, but I wasn't going to say that.
1:05:41And I only know who John August is because he was on other podcasts that I listened to.
1:05:44And I've seen his movies and I like them, and I'm like, "Oh, he's the guy who did that!"
1:05:49But yeah, I don't know the other guy.
1:05:50Sorry, other guy.
1:05:51Now that other guy knows exactly how I feel.
1:05:56Anyway, so there's this podcast about screenwriting and apparently the de facto industry standard
1:06:03for screenwriting is called what?
1:06:06What is it called again?
1:06:07Final draft.
1:06:08Thank you.
1:06:09I wanted to say Final Cut.
1:06:10Final draft.
1:06:11And so it's a screenwriting application and it is, like I said, the industry standard.
1:06:14So from what I gather, the screenwriters, John August and Casey we'll call him, they
1:06:21don't particularly care for Final Draft.
1:06:23His name is Craig Mazin.
1:06:25Thank you.
1:06:26So John and Craig don't really care for Final Draft.
1:06:29And they actually, I guess I complained about it in prior episodes, but this past episode
1:06:33at the time we record this, they had actually had the CEO of the company that makes Final
1:06:40Draft as well as what a product manager, is that right?
1:06:44project I don't know the difference I live in my own little world here with
1:06:47one. Fair enough. So some other guy. We'll just call that person long-suffering employee.
1:06:53Right so so that other guy. So the two of them came on the show which I really
1:06:59respect because it was clear from the get-go that this wasn't going to go well
1:07:04for them and and so John and Craig had these two other guys on the show and
1:07:09started telling them all the things that they don't really like about Final Draft and why
1:07:15they feel like they've been wronged by not only the high purchase price of what, 250
1:07:21bucks?
1:07:22Is that right?
1:07:23Something like that.
1:07:24Some of them.
1:07:25250 bucks or so for Final Draft, but also the slow updates.
1:07:29And it was a really fascinating view of both sides of the coin of software development,
1:07:36as the company and the people who create software and the people who consume it and how they
1:07:44don't entirely understand what we go through is in the same way that the CEO and the long-suffering
1:07:51employee don't really understand what their customers go through either.
1:07:56And I have some takeaways from this, but let me open the floor to you guys and see.
1:08:01Marco, what did you think about all this?
1:08:04Well, first, I think... so I listened to the podcast, I made my own opinions of it, and
1:08:12I even made a whole post about it, and all that was before I had read this follow-up
1:08:17article from... there's a guy named Kent Tesman who writes a competing product called, I believe,
1:08:27called Fade In, here we go, and he's been a long time critic, I gather, of Final Draft,
1:08:34and that's one of the reasons why he started writing his own, because he hated Final Draft
1:08:37so much, so he started writing his own, and he's clearly a programmer/tech guy, but also
1:08:44a film guy, and he broke down, here I'll put the link in the show notes here, he broke
1:08:50down exactly some of the problems with Final Draft technically, like for instance that
1:08:57it still doesn't support Unicode, like really like major shortcomings and that one of the
1:09:04reasons why they had so much trouble going Retina was not necessarily because it was
1:09:10using Carbon, because you can do Retina with Carbon, it's because they were using Quick
1:09:16which was deprecated, what, 20 years ago?
1:09:2010 years ago?
1:09:21A long time ago, at any rate.
1:09:23They've built up quite some technical debt.
1:09:26(laughs)
1:09:27And so there's some problems there.
1:09:29It basically seems like they wrote this application
1:09:33in the '80s and '90s and have been kind of sitting on it
1:09:39and not doing the really hard migrations
1:09:41and not modernizing all this time,
1:09:44And then all of a sudden they were forced to by their customers with things like Retina,
1:09:48and they were forced to suddenly do this quickly and it became a really big thing. And so it's
1:09:54a pretty typical story of pretty severe technical debt being ignored for way too long.
1:10:01I think what I got out of the CEO's comments and attitude was that he wants to make all
1:10:09all of his problems your problems.
1:10:12And this is something, you know, the reason why
1:10:14I think it's important for developers to hear this
1:10:17is because you can see both sides of it.
1:10:20You can see the CEO arguing the business side
1:10:24and the difficulties of the business side.
1:10:27And then you can see the customers arguing that,
1:10:29well, you know, your business stuff is your problem
1:10:32and it's not serving us at all
1:10:34and you're kind of treating us badly
1:10:35and your product needs a lot of work
1:10:37and is really stagnant and outdated.
1:10:39So you can see both sides of it, and you can kind of see,
1:10:42as a programmer, or especially as a company owner,
1:10:46if you own your own company or make your own product,
1:10:48you can see how you could become that CEO.
1:10:52And it should scare the crap out of you,
1:10:54because that's a plausible outcome
1:10:56for so many software developers.
1:10:58- I think developers should listen to this,
1:11:00because people with technical knowledge
1:11:02of both sides of the software industry
1:11:04are people who listen to this podcast,
1:11:06or just Mac nerds or into the indie development scene,
1:11:10will have the unique experience of listening to a podcast
1:11:13with two camps of angry people,
1:11:15both of whom are just massively wrong
1:11:17at the fundamental level about the major points
1:11:19of their arguments.
1:11:20The customers are wrong about,
1:11:22"Your product should be free,
1:11:23"and how hard is it to do this?"
1:11:26From the outside, they think everything is easy,
1:11:27and they think everything should be free,
1:11:29and Apple gives away the OS for free,
1:11:31"Why can't you give away Final Draft for me?"
1:11:33They're just so out of left field.
1:11:34You know where they're coming from,
1:11:35but it's like, man, they have no idea
1:11:37whether you're always a software.
1:11:38And as Marco pointed out, the CEO is being defensive
1:11:42in ways that are not appropriate for his job as a,
1:11:46like it's his job to figure out a way
1:11:47to keep your software up to date.
1:11:49To sell it like, you know, don't make,
1:11:51those are all your problems.
1:11:52You have to figure out a way,
1:11:53that's called being a software entrepreneur.
1:11:55Like you have to figure that stuff out.
1:11:56You can't throw it back in customers faces and say,
1:11:59you don't realize this, it's really hard to do this.
1:12:01And it's clear that the CEO doesn't have
1:12:03a lot of technical knowledge,
1:12:03so he doesn't even know the detail things.
1:12:05Like, I felt like I wanted to jump into the podcast
1:12:07and explain to each one of them why they're positioned,
1:12:10'cause why they're both wrong.
1:12:11You customers, look, things can't be free and you're crazy,
1:12:14and let me explain why your reasoning is wrong.
1:12:15And you, CEO, you don't even know why this is hard,
1:12:17but it is really hard, and if you had a clue
1:12:19how hard it was, you would have started
1:12:20on these transitions years and years ago.
1:12:22And yes, they might have destroyed your company,
1:12:24but look how many other companies have been left
1:12:26in the wake of not being able to keep up
1:12:28with the changes in OS X and iOS.
1:12:30Like, that's your job.
1:12:31You wanna be a big boy in the software world?
1:12:33It's not easy.
1:12:34The best example is something like BB Edit, which started on classic Mac OS, and it has
1:12:38had to go through, it's so similar because it's a text editor, it had to go through all
1:12:41these things.
1:12:42They had QuickDraw, they had to get rid of that.
1:12:43They were carbon, they had to find a way to go on modern OS X.
1:12:47They had to adopt Unicode, they went through like, they used to do like @suite and like
1:12:52Core Text and whatever the hell, they've gone through multiple different underlying text
1:12:56engines.
1:12:57You have to do that, otherwise you're dead.
1:12:59And if some other nimble competitor who doesn't have your legacy concerns makes a new application,
1:13:04and the only reason you're staying successful is because you're an entrenched interest
1:13:06or whatever.
1:13:07We've all seen this play out a million times.
1:13:09So those two camps of people were just both angry, both talking past each other, and just
1:13:15both fundamentally wrong about their complaints about the other person.
1:13:19Oh yeah.
1:13:21You can't have an app that has a code base that—you can't write an app in 1990 and
1:13:28still be around in 2014 and not have to have gone through a few really painful transitions
1:13:34in that time.
1:13:35JESSE ERICKSON Unless you coast on like, "Well, we're just
1:13:37so entrenched, we're the big gorilla, we can afford to..."
1:13:39Like, even if you do that, you have a longer timer, but it's still a timer because eventually
1:13:43your app doesn't launch anymore and you're like, "Well, now I guess it's the time we
1:13:46have to move away from QuickDraw."
1:13:47It's like, "Nope, sorry, too late.
1:13:48Now you're dead."
1:13:49I don't think Final Draft is in that situation yet because they are such an entrenched interest.
1:13:53Hell, look at Adobe.
1:13:54Look how long it took them.
1:13:55We mentioned this last show.
1:13:56Look how long it took them to go Coco.
1:13:58The only reason they can get away with that
1:13:59is because they're Photoshop.
1:14:00We are Photoshop, we are the image editor,
1:14:02we ate up all the other ones,
1:14:04we bought Macromedia or whatever.
1:14:06And even then, eventually the OS is like, no seriously,
1:14:10you gotta be 64-bit, you gotta be cocoa, right?
1:14:13Even then they're forced to upgrade,
1:14:14but yeah, the final cut, the CEO didn't understand,
1:14:18doesn't seem to understand what his company does
1:14:22or should be doing.
1:14:23What does your company do?
1:14:25we sell and maintain in a software application,
1:14:28that's a dynamic business.
1:14:30You can't just keep making the same thing
1:14:32and expect, I don't know, expect everyone else
1:14:36to do your job for you and to make it
1:14:38so that your company doesn't have to do the hard things.
1:14:41I don't know.
1:14:43- Yeah, and there were some quotes in this that,
1:14:45only a handful that I'd like to quickly go over,
1:14:48that just really stuck out to me.
1:14:52So one of them, and actually John, you already quoted it,
1:14:55was, "Well," and this is John and Craig, "Well, Apple gives an entire operating system
1:15:01away for free."
1:15:02No, that wasn't them. That was the CEO, citing that as a problem that they have.
1:15:07Oh, was it?
1:15:08Yeah.
1:15:09No, I think it was the CEO pointed out to them that they make money from selling the
1:15:12phones, but I think it was the complaining customers who were saying, "If it wasn't
1:15:17the OS, it was something about, like, 'Look how cheap software is. Software has been devalued,
1:15:22therefore your thing should be one dollar free. It's like telling Adobe that Photoshop
1:15:26should be free. Or like ten cents because Angry Birds is ten cents.
1:15:29Well, to be fair, they were not complaining that Final Draft is not free. From what I
1:15:36gather they were complaining twofold, both that it is not a high enough quality product
1:15:41to be worth the high price anymore, and that the upgrades are not worth the upgrade price
1:15:48because of how little progress is made, relatively speaking, in each upgrade.
1:15:52That seemed like their bigger complaint, not that the app should be free or very, very cheap.
1:15:56It seems like they'd be very happy to pay the $250 for the app if it was a better app.
1:16:01Well, but even then, they want to pay $250 10 years ago and never pay again,
1:16:05and just continually have the app updated.
1:16:08I didn't get that impression. I don't—
1:16:09I definitely got that impression. That that's—
1:16:11Yeah, I did not.
1:16:12I think that I got the impression that they would have hated to spend $250 way back when,
1:16:18and then they just want that app to work forever and to continue to be updated with the OS and to
1:16:21get retina and to get Unicode support and everything all for free. They seem to have an entitlement
1:16:27complex that was not proportional to the value that they're deriving from the software. And it
1:16:33was kind of compounded by the fact that this is crappy software that hasn't been updated,
1:16:37so they feel burned by any amount of money they put towards it. It's mostly because they have
1:16:42resentment. They feel like they have to have this program because everybody uses it. I think that's
1:16:47That's the core of their dissatisfaction, is like, it's like an abusive relationship
1:16:50with like, well, you have to get Final Draft because everybody uses Final Draft.
1:16:54And then you're already bitter at this thing, and if it's not the most amazing program that
1:16:58does everything perfectly, then you're just going to be pissed when anything is wrong
1:17:02with it, and there seems to be a lot wrong with this program.
1:17:04Yeah, I think Marco is right, though, that I don't think they were embittered necessarily
1:17:09about paying for it.
1:17:10It just seems that they thought that it was an order of magnitude too expensive.
1:17:15I'm making numbers up. I'm putting words in their mouth. But instead of $250, it should
1:17:19be $100 upfront for the first release and like $20 for every supplementary release.
1:17:24And additionally, I think they were extremely embittered that these upgrades or updates,
1:17:29whatever they called them, were a heck of a lot of money. And even I would probably
1:17:33agree to this, a heck of a lot of money for really not that much update. And Retina was
1:17:38cited several times. I think they said it was like $100 for the Retina upgrade update,
1:17:42whatever it was.
1:17:4380 bucks or something. And maybe I'm crazy, but if it was an application that I use for
1:17:48my livelihood, I would pay $80 for a Retina upgrade. I wouldn't blink at that because
1:17:54say you use Photoshop to do your work, you're a graphic artist, and a Photoshop update comes
1:17:58out and the only upgrade in it is that the UI is Retina and a couple of bug fixes, and
1:18:03it's $80 for the upgrade. I mean, I would pay it. Wouldn't any of you pay it?
1:18:06Yeah. I mean, I suppose I would.
1:18:09Like maybe we have different... I guess we probably value software differently because
1:18:13kind of know what goes into it. But it's not like it's like 50 grand. I mean, it's not
1:18:19a site license to some CAD program. That's why I think they're getting used to the world
1:18:27where everything is cheaper free. But it's like, "But this is part of your livelihood.
1:18:31This is how you make money." And I think it all gets back to, "It's because they don't
1:18:34like this tool. They feel like they're forced to use it. If they had their choice, they
1:18:37would use something different and better." And it's like, "If you're going to force me
1:18:40to buy it and then now suddenly I'm not happy. Say you hated Photoshop and you needed it
1:18:46for your work. Say you hate Microsoft Word and you have to get it because you deal with
1:18:49stupid people all day who insist that you send them everything in doc format. Then you'd
1:18:54be pissed that you're going to do an $80 upgrade to Office and the only change was that it
1:18:59was retina and compatible with Mavericks. Then you'd be pissed, but you're mostly pissed
1:19:03because you hate Word so much that any money you put towards continuing this charade of
1:19:07having to use this program on behalf of other people, that's where I feel like they're coming
1:19:10from?
1:19:11I think it's that, but it's also that what was once a decent product has stagnated.
1:19:18The impression I got—and I've never used Final Draft—but the impression I got was
1:19:22that it was at one point a good thing.
1:19:25What they were saying about how, based on the length of the PDF or the printed document,
1:19:30you could take a guess at about how long the script was, that was very cool and apparently
1:19:34something that at least the CEO seemed to think that that was unique to them.
1:19:38Well anyways, the product started pretty solid and pretty good, but kind of never really
1:19:44went anywhere.
1:19:46And these two guys, John and Craig, for example, really embittered that it took so long to
1:19:50get Retina support in there.
1:19:53And then on top of that, they got charged for it.
1:19:54So they were saying to the CEO, "You knew this was coming.
1:19:57You knew this was coming.
1:19:58How did you not figure this out?
1:19:59How did you not do it?"
1:20:00And at first, I was like, "Well, you know, it's hard.
1:20:03I still don't have my FastX update out for iOS 7 because I'm a slacker and I have better
1:20:07things to do with my time, but I can understand that." Well, then the CEO says, and this is
1:20:12another one of my quotes, "Well, we're 40 people." And I think to myself, "Okay,
1:20:16so how did you not get Retina done with 40 people?" But then later on, he says, "Well,
1:20:23but 10 to 15% of us are programmers." What the hell is everyone else doing?
1:20:27Sales and marketing. The best part was when he said, "You know how we learned about Retina?
1:20:32Someone brought a computer into the office and showed it to us." If that's how you learned about
1:20:36I read and it shows you're not engaged with the platform on which you deploy your software.
1:20:41Like, even trivial—you don't even subscribe to Macworld. Like, you do nothing. Forget
1:20:46about going to WWC, which of course you should do if your job is that you write a software
1:20:50product for the Mac, for crying out loud, right? Yeah, this was kind of depressing.
1:20:56Like, the CEO, like, he did himself and his company a disservice by coming on this program
1:21:01and saying all these things because every word out of his mouth was, like Margo said,
1:21:04It's like the answer to every single one of his comebacks was like, "That's your problem.
1:21:09That's not my problem."
1:21:10You know what I mean?
1:21:11It may be that the natural way of things is that you've now painted yourself into a technical
1:21:14corner and you must go out of business, and it will be a blessing for the industry because
1:21:18we can all give our money to these other hungrier developers who, if they're unlucky, will go
1:21:22through the exact same cycle as you, get big, become popular, not update their software
1:21:26for a decade, crumble under their own weight, and the cycle will continue.
1:21:30But that's not your customers' problems in any way, shape, or form.
1:21:33And so I guess he doesn't have people telling him,
1:21:36don't go onto a program and tell--
1:21:38even when your customers are actually wrong about everything
1:21:41should be free and stuff, you can't go onto a program
1:21:45and tell them about all your woes.
1:21:47And they're going to go, oh, well, now--
1:21:50I guess maybe he was hoping for empathy,
1:21:52that they would put themselves into his shoe
1:21:54as the non-technical CEO of a company that
1:21:57made terrible strategic decisions for the past decade,
1:22:00and go, oh, well, now I feel bad for you.
1:22:02It's all right.
1:22:02about buying your software.
1:22:04- I mean, and one of the, and one thing,
1:22:06I noticed Casey, you have this in the notes,
1:22:07and so I might as well bring it up now.
1:22:09One of the more interesting parts of this dynamic,
1:22:14I thought, was that the CEO opened the conversation
1:22:18basically by saying that they've done surveys,
1:22:22and I believe it was 92% of the people said
1:22:26that they are very happy with Final Draft,
1:22:28and therefore, they think they're doing great.
1:22:30And like that's so flawed on so many levels. And John and Craig briefly mentioned like,
1:22:38well, you know, that's only people who responded to the survey, which is obviously going to
1:22:43be mostly people who like you. Or, you know, like, that's so not a random sample of what
1:22:50people think of your product. And the CEO's entire attitude seemed to just be that, well,
1:22:57we keep hearing from people who like it
1:22:59and therefore everything's fine.
1:23:02And we don't have to,
1:23:03like his attitude from the very beginning was,
1:23:05we're fine because some people like us
1:23:07and therefore we don't need to make any changes at all.
1:23:09And it's so easy for people to fall into that trap.
1:23:13If you select what you're listening to,
1:23:16and I've never seen this app
1:23:20and even I know everyone hates it.
1:23:22Like I've heard about this app for years now
1:23:26how much people hate this in random edge conversations here and there. And not even being in the
1:23:32business I know people hate it, obviously that's a pretty widespread problem. And it's
1:23:37so easy to surround yourself only by the inputs that you want to believe, I'm sure there's
1:23:44a term for that, it's so easy to fall into that that this guy honestly, I think he honestly
1:23:50thinks that everything's fine, that he's in complete denial of any major problems and
1:23:55And therefore, that's, I think, why he was so weirdly defensive and aggressive in his
1:24:02responses.
1:24:03I don't know if I really believe that he was sincere that he really believed that, but
1:24:06like it's possible because the denial is pretty strong.
1:24:08I think the reason you've heard about it and I have as well, even though we're not screenwriters,
1:24:12is because we travel in software development circles and anybody who knows anything about
1:24:15software can look at this application and you can smell like the death on it.
1:24:21Even if you don't know it's using QuickDraw, you're like, oh, geez, this program has not
1:24:24been updated for a while.
1:24:25see old, we I have no idea how this looks, but I bet we could
1:24:28pick up like, it's using older controls when it should be
1:24:30using newer ones, like, maybe for a long time, the text wasn't
1:24:33properly anti alias, or looks like was rendered differently,
1:24:35because it's quick draw. And like, you know, just we could
1:24:37tell that there are problems with it. And the reason I think
1:24:42he may be right, if you took a random sampling of their
1:24:45customer base is because their customer base are not technical
1:24:47people. And they view this as kind of like, especially if it's
1:24:50since it's such an institution, they view it as if you want to
1:24:53to become a screenwriter, this is what you get, and this is the tool you deal with. And
1:24:57everyone complains about it, but like, you know, you might as well complain about the
1:25:00weather, because to do your job you have to use Final Draft in the same way that you might
1:25:04say you have to use Photoshop if you're a graphic designer, you just, you know, there's
1:25:08no other choice out there. But they're non-technical people, so they're not equipped to understand
1:25:14what's wrong with this program and why, and they're more willing to accept that like whatever's
1:25:18wrong with it, like what, that's just the way it is, what can you do? So in that respect,
1:25:23they may have good server responses. But the thing that makes me think of in the worst
1:25:26case scenario is I will bet you in 2007, 2008, 2009, maybe even 2010, if you were to survey
1:25:32all BlackBerry users, they would say they love their BlackBerrys. It doesn't matter,
1:25:36BlackRim is still doomed, right? You could think, oh, the people who have BlackBerrys
1:25:40love it. It's like, yes, but the time has passed it by and customers may have it and
1:25:45may love it and maybe Stockholm Syndrome or maybe not know better, but like from the outside
1:25:49we all can see, "Bye bye, Blackberry!"
1:25:53Yeah, and the other thing that I found interesting about this, and it's the only other quote
1:25:58that I want to bring up, is apparently there was a feature called, they called it "Collaboriter,"
1:26:05which I guess was some sort of collaborative writing thing where you can work on a screenplay,
1:26:10two people can work on a screenplay at the same time.
1:26:12Sub-E-That, yeah, it sounded a lot like that.
1:26:14Yeah, that's a very good analogy.
1:26:17And so they said, and this should be pretty much verbatim, Collaborator was built when
1:26:22it was on a peer-to-peer technology with no security.
1:26:25It would still work like that today.
1:26:28What they were saying was, when they built this feature that was designed to be used
1:26:32between two people, probably not co-located, they did it without even thinking about firewalls.
1:26:40And unless they wrote it in '96, are you kidding me?
1:26:45Like how is that okay?
1:26:47And that just completely sealed the deal in my mind that--
1:26:50Screenwriters don't have firewalls, Casey.
1:26:51You think they have IT departments?
1:26:53They're lonely people in their apartments with dial-up internet connection, slaving
1:26:58away an excrete script.
1:26:59And every router since 2001 hasn't included a firewall in it.
1:27:04But-- Yeah, he wouldn't know about this stuff anyway
1:27:06if he was talking about it, but yeah.
1:27:09And that's the thing is, I mean, if that is such an obvious technical hurdle that you
1:27:14would have to get over to do that kind of feature, and they shipped it, at least for
1:27:19a little while, and I guess they've pulled it since, they shipped it without even thinking
1:27:23about that.
1:27:24Like, how is that possible?
1:27:26It just, it reminds me that there are terrible software developers out there, or if these
1:27:30developers are good, just unbelievably, indescribably out of touch management, or both.
1:27:36If I was on that podcast, I would have also brought up the meta point, which is that the
1:27:39screenwriting format is ridiculous and anachronistic and really deserves to be destroyed and torn
1:27:47down.
1:27:48And it is held aloft by the collective, you know, by tradition, basically.
1:27:52This is the way it's always done.
1:27:53This is what a screenplay looks like.
1:27:55Let me tell you about all the great qualities of it.
1:27:57Oh, you can always tell exactly how long a thing will be in minutes by looking at the
1:27:59number of pages.
1:28:00There's always a certain number of pages every day.
1:28:02knows it like it can continue to be held aloft by that like sort of oral tradition and indoctrination
1:28:09of new people into the industry that this is what a screenplay looks like. But the format is dumb.
1:28:13It is not like it's a monospace font. It's formatted crazily. Lots of things are in all caps.
1:28:18And everyone who enters the industry and everybody gets used to it comes to like it and will not
1:28:23accept any other format. But bottom line, objectively, wipe out all the people who've
1:28:27ever seen a screenplay, show them this form, show the new people this format, they'll be like,
1:28:32Like, it is not of this time. It is of a different time, of a time of typewriters and monospace fonts and all caps and not, you know, it's dumb.
1:28:39And so, the best, the ideal thing to happen for the entire industry would be to not only for Final Draft to be disrupted, but for the entire screenplay format to be replaced by something better.
1:28:50I have dim hopes of that ever happening because if there's any group of people who is not rearing for, you know, amazing disruption and innovation, it's screenwriters in the entertainment industry.
1:28:59They just want their format, they want it to be the way it is, they just want slightly
1:29:02better tools to work on it, and they will consider that a victory.
1:29:05But from the outside, it's clear that the screenplay format is stupid.
1:29:08Well, and to be fair, in the follow-up episode of their podcast, Jon and Craig did address
1:29:14that a little bit, and talking about things like how the one-page-per-minute thing is
1:29:18this kind of elementary assumption that, you know, it's like the three-paragraph essay
1:29:23you're taught in middle school.
1:29:24It's, you know, it's like, it's a very basic thing that, you know, in practice, once you
1:29:28get, once you're a real professional, it doesn't really, it's not that simple or it's not necessary
1:29:33to rely on things, you know, assumptions like that or these tenets like that. And there's also this
1:29:38thing called fountain which, from what I gather, is like a markdown-like or markdown-based plain
1:29:43text format that does away with manual pagination and stuff like that. And so it does sound like
1:29:49they are actually moving forward. And the problem really seems to be that Final Draft is not.
1:29:56And because Final Draft has this position of power right now where, you know, or at
1:30:03least they have to date, where they were the standard.
1:30:06They have their own file format and they're like, you know, they're relying on these
1:30:13invariants that, okay, well pagination matters above all else and all this other stuff.
1:30:17And then, and the reality is that industry is being disrupted just like so many other
1:30:24technical industries where now there's a whole lot of other apps coming out, some of them
1:30:29cheap and terrible, but some of them good, that are doing things in a more modern way.
1:30:35And that's the problem. Just like so many other industries, I don't think Final Draft
1:30:43is going to be disrupted and replaced by one thing. I think it's going to end up being
1:30:49disrupted and replaced by a few standards and then a few different apps that read and
1:30:53write those standards. And it seems like this fountain format is probably going to be that
1:30:58standard. But again, I think it's funny now all three of us are talking about something
1:31:02we all know nothing about.
1:31:03Yeah, we're going to get all the email of people explaining the various features of
1:31:07the screenplay format that were created intentionally for a specific reason. And I'm sure the formatting
1:31:12and the layout and everything had a purpose originally, but some aspects of it are clearly
1:31:16just artifacts of the technology that was available at the time, specifically the all-caps,
1:31:21the monospace font, the layout being done basically by a series of spaces with the monospace
1:31:26font.
1:31:27Like, all those things are done because that's what you had—that's how, you know, you weren't
1:31:29gonna typeset it like a book because that's not efficient for the production process.
1:31:32You need people to be able to type these things up.
1:31:34It's kind of the same way that you see, like, the opening parentheses used to make ASCII
1:31:39art to make the little boxes on the front of legal documents.
1:31:42Marco must be familiar with this phenomenon.
1:31:43Like, the fact that that's still—it doesn't really matter as much in legal documents.
1:31:46It's like, whatever, lawyers, everything they do is all made up and crazy with their legal
1:31:50language and everything.
1:31:51plays could benefit from a format that took advantage of modern technology. Keep all the
1:31:56good stuff about the old format in terms of visually blocking out things with white space
1:31:59and making it easy for actors to read and all, you know, I'm just making up what the
1:32:03features may be of the format. There are probably good things about the format, but the bad
1:32:07things are just being carried along like those parentheses on legal documents and they're
1:32:12just ridiculous at this point.
1:32:13All right. Thanks a lot to our three sponsors this week. Picture Life, Help Spot, and Squarespace.
1:32:20And we will see you next week.
1:32:22Now the show is over, they didn't even mean to begin
1:32:29'Cause it was accidental, oh it was accidental
1:32:34John didn't do any research, Marco and Casey wouldn't let him
1:32:39'Cause it was accidental, oh it was accidental
1:32:45And you can find the show notes at ATP.fm
1:32:50And if you're into Twitter, you can follow them
1:32:55@C-A-S-E-Y-L-I-S-S
1:32:59So that's Casey Liss M-A-R-C-O-A-R-M
1:33:03Auntie Marco Arment S-I-R-A-C
1:33:08U-S-A-C-R-A-C-U-S-A
1:33:11It's accidental (it's accidental)
1:33:14They didn't mean to, accidental (accidental)
1:33:19Tech by casting so long
1:33:24"Someday, Casey, someday..."
1:33:27"I cannot believe I let you f***ing railroad me."
1:33:30"Well, the script notes is timely.
1:33:32But no, I abstained, so it was you and Marco could have worked that amongst yourselves.
1:33:36If Casey had insisted, I would have gone along with it."
1:33:39He didn't really abstain.
1:33:40"I did.
1:33:41I abstain—I gave my opinion, but I am abstaining from the vote.
1:33:45What I was trying to convince Casey was that not getting it done today does not mean it
1:33:49will never get done, and in fact it may be done better in the future, but he still could
1:33:52have insisted, and I would not have opposed him."
1:33:54Why don't you do it next week? We'll say right now next week will be software methodologies and nothing will happen bold statement
1:34:00Nothing. Yeah, when Apple buys Nintendo, we won't talk about it at all. Oh
1:34:04God now you've jinxed it and we'll never talk about it ever this podcast will end if it results in Apple buying Nintendo
1:34:11Your cut your sacrifice will have been noble
1:34:13You you saying that we will do it next week whether or not you're serious has pretty much
1:34:23absolutely prevented that from happening ever. That's the equivalent of saying, "Well,
1:34:28this will be a short show." Ah, God, Margo.
1:34:33If Apple buys Nintendo and there's no John Siracusa podcast to talk about it, did it
1:34:37really happen?
1:34:38Yeah. This is my third podcast in like three days. I did it in comparable. I did Command
1:34:44Space. Now I'm doing this. I'll have to just take a rest to get ready for the big
1:34:49Nintendo announcement.
1:34:51I hate you too.
1:34:54I know.
1:34:55And we didn't even talk about driving with glass.
1:34:57That was another Remarco topic.
1:34:58Yeah, I mean, is it that much more to say on it?
1:35:01I just wanted to say that I have looked into this zero amount as is my way for this show,
1:35:06but what I assumed when I saw the headline of that story flying by on Twitter was that
1:35:10they were only lobbying to allow you to wear it in the car.
1:35:13Like, for example, if you get it with prescription lenses and you need them to see you to drive.
1:35:17wanted to make it illegal, so you didn't want it to be illegal for you to merely wear
1:35:21them. I didn't think they were lobbying for it to be legal for you to have it turned
1:35:26on and using it. But since I didn't read any of these articles, I have to say I don't
1:35:30know. Did you read them and you can tell me?
1:35:31>> KEVIN SMITH I don't think we know to that much detail.
1:35:36Hell, might as well address this here. I've mainly heard mostly support of my position,
1:35:44And briefly my position is that for Google to actively lobby against states that want
1:35:51to prohibit glass use while driving, I think that's incredibly irresponsible by Google.
1:35:58And I think it's pretty much all reasonable people agree that texting while driving is
1:36:05dangerous and should be prohibited and certainly avoided.
1:36:11do it anyway, but I think even the people who do it know that it's unsafe and wouldn't
1:36:15really argue that strongly that it was safe. And I think texting while driving and using
1:36:22Google Glass are pretty close. Like, I don't think there's a huge difference in safety
1:36:28in a car between doing those two things. I don't think one is dramatically more safe
1:36:33than the other. It's both like, it's engaging your visual attention in a way that, like,
1:36:41you have to interact with a multi-step process with a computer system where you're not looking
1:36:46at the road.
1:36:47Well, actually now that I've thought about it for the five minutes that you've talked,
1:36:50what about if they are envisioning something like the HUD on your M5?
1:36:55There are arguments that people have made that say things like, "Well, this is just
1:36:59like looking at a nav screen or it's just like looking at a heads up display. And I
1:37:03think the difference is that, you know, first of all, a nav screen and a heads up displays
1:37:08are designed very, very carefully and conservatively to be like maximally safe and also to minimize
1:37:17how long you have to look at them in ideal cases. Some of them go as far to be like,
1:37:22you can't even, like some of them won't even let you enter and address in navigation
1:37:26if you're moving, for instance.
1:37:27There's all sorts of safety things that car systems use
1:37:31to either prevent or discourage you
1:37:33from using it very irresponsibly.
1:37:35Things like how DVD players,
1:37:37like sometimes there'll be these DVD players
1:37:39that can play video in the front seat,
1:37:41but you can only technically play it while you're parked.
1:37:43And yeah, some people will hack that and disable it,
1:37:45but there's all these things in place
1:37:47for things that are installed in cars,
1:37:49especially things that come stock from the manufacturers.
1:37:52There's all these safeties in place
1:37:54to try to make them as non-distracting as possible.
1:37:58And like a heads-up display displaying your speed,
1:38:02well, that's no more distracting than a speedometer.
1:38:06You don't have a lot of reasons to stare at that for a while.
1:38:09Well, what if the heads-up display on your glass
1:38:11was showing Nav overlaid on the street in front of you?
1:38:13If that is what it's showing, that's fine.
1:38:16But I think, again, this is like a human nature,
1:38:19human behavioral kind of thing.
1:38:22The reality is we've banned, in most places,
1:38:25we've banned handheld use of cell phones.
1:38:28Now, you could also say, well, what if you're using
1:38:31the cell phone in your hand looking at a navigation screen?
1:38:34And that's, in places where handheld cell phone use
1:38:37is banned, that's banned.
1:38:39And I think this is one of those cases where,
1:38:41the reason why that's banned is that,
1:38:44yeah, maybe you might be doing that,
1:38:45but there's also a very good chance
1:38:47that a lot of people who do that are also gonna like,
1:38:50you know, "Oh, send a quick text. It'll just take a second." You know, and there's
1:38:55all this potential for these multipurpose general computing systems, like smartphones,
1:38:59like Glass, there's all this potential for misuse, and misuse is so easy and so common
1:39:05that they should probably ban it outright because they know that, like, "Yeah, you
1:39:11might be using it for navigation, but there's a pretty good chance you're not," or "There's
1:39:14so many other things to do with it that aren't navigation that, you know, in reality people
1:39:18would be reading a text message or dictating a message or reading Twitter or reading an
1:39:24email that just came in. There's so many potential abuses there, and it is so much more distracting
1:39:31than the in-car systems because you're interacting with a computer at that point. It's a multi-step
1:39:37interaction. You're visually engaging it in a way that it's non-trivial and takes more
1:39:42than a split second of your attention. And so I do think there's a significant difference
1:39:46there. And some people have also said like, "Oh, well, what if glass is, you know, what
1:39:52if you can wear it but you have to keep it off?" Again, same thing. Like, you can't tell
1:39:58from the outside whether it's on or off. So a lot of people would just sneak by and say,
1:40:02"Oh, well, you know what, I'm just going to leave it on because, you know, I'm responsible.
1:40:05I'll be okay." And that's a problem too.
1:40:08That's why I'd like to know what Google was lobbying for. Like, basically, were they lobbying
1:40:11for you, you're allowed to wear it but it has to be off versus you're allowed to wear
1:40:13it and use it.
1:40:14I'm pretty sure it was the latter.
1:40:15I'm pretty sure they didn't distinguish between on and off, that they just wanted
1:40:18you to be able to wear it.
1:40:19Yeah, well, I think Google's bet, and I think they're right on this bet, is that
1:40:22augmented reality, as they call it, is probably the future of more or less everything.
1:40:26But I think you're right that if that is the future of everything, we are unfortunately
1:40:30going to have to wait for it to be built into cars, because then it will be more or less
1:40:34single purpose.
1:40:36And even if it's the exact same technology, the exact same kind of display where it overlays
1:40:40the nav on top of the street in front of you and shows you where you should turn with the
1:40:43like you can imagine lots of really cool features like because I think that is actually safer than it looking down at an ab screen like
1:40:48to see the little arrow and your little picture of your car going if you could just continue to look out the window and just
1:40:53Look like a little red line was painted on the road turning to the right that's safer
1:40:56And I think that is definitely coming if that comes from your glasses though
1:41:00Chances are good even if you have like a driving mode and if the glasses have to be certified by like the highway
1:41:06Association like it's so much safer when it's built into the car a because car technology moves so slowly that they're super conservative
1:41:12and everything sucks there anyway. And B, if it's built into the car, the car maker
1:41:16is extremely motivated to make sure that you can't read text on it.
1:41:19Right. Like, the car maker could not ship that.
1:41:22And like, yeah, and they're more reliable with that kind of stuff. Like, you could
1:41:27plausibly sue the car maker for designing a very distracting system a lot more easily than you could
1:41:31sue Google for making, you know... Right, because it's built into the car. Google's gonna say you
1:41:36shouldn't have been doing that while you're driving, but you're like, if it's built into the
1:41:39car you're going to say, "But you put it in the car."
1:41:41Exactly.
1:41:42And that's why you can't enter the address when you're moving, because the car makers,
1:41:45if we allow them to do this, they will. They'll crash and they'll sue us.
1:41:48For what it's worth, I can actually read text messages on my iDrive in my BMW.
1:41:53Like on the screen?
1:41:54Mm-hmm.
1:41:55Well, you should crash into something and sue BMW and get a better car.
1:42:00I just wanted to point that out real quick. I'm sorry, Marco. Go ahead.
1:42:03Alright, so part of my position on this was a pretty severe condemnation, saying like,
1:42:09you know, if Google, Google is actively lobbying for something that I believe is pretty clearly
1:42:15very unsafe for driving. And car accidents are no joke. Like, it's a really, car accidents
1:42:24are a serious problem. So many people get injured or die in car accidents. And for the
1:42:30the most part, and you know, things that we pay a lot of attention to like plane crashes
1:42:34and terrorism, like that end up killing way fewer people than car crashes. Car crashes
1:42:39are a big problem. It's a really big deal and car safety should really be taken very,
1:42:45very seriously and not at all lightly and not at all recklessly. And so for Google to
1:42:51actively lobby against car safety basically, to actively lobby for their own self-interest
1:42:57in a way that's pretty clearly unsafe in general use for cars. People are probably going to
1:43:05die as a result of that. And if Google Glass becomes really popular, which it probably
1:43:11won't in all honesty, but suppose it does. Imagine how big of a problem that will be
1:43:17and how many people might unnecessarily die because Google fought safety legislation.
1:43:23a really serious, that's serious, you know, that's not a joking matter at all. So a lot
1:43:27of people said, "Well, isn't Apple at fault for people texting while using their phones
1:43:34and crashing?" And no, that's a completely different situation because Apple has not,
1:43:39to my knowledge, actively fought against anti-texting laws. And if they have, let me know, I would
1:43:46love to know that. But that is not at all the same thing and it's not comparable. You
1:43:52You know, it's obviously manufacturers on both sides
1:43:56of this weirdly political debate,
1:43:59manufacturers on both sides can potentially do more
1:44:03to prevent people from using their phones while driving.
1:44:06You know, now you can think, okay, well,
1:44:08Apple has this new M7 processor that can supposedly detect
1:44:12when you're in a car, it probably can't detect
1:44:15whether you're driving or a passenger,
1:44:16but it can detect whether you're in a car,
1:44:18maybe show some kind of warning or something,
1:44:19you know, there are things they could do,
1:44:20but they're not actively fighting against safety legislation.
1:44:25And that I think puts a very different type of action on it.
1:44:30What Google is doing I think is actively harmful,
1:44:33whereas the inability to try to prevent people
1:44:37from texting in a car is,
1:44:41inaction is not as bad as actively harming
1:44:44safety actions, I think.
1:44:46- Well Google's also in the position to potentially
1:44:48bring the largest safety increase in car transportation
1:44:52ever through their self-driving cars,
1:44:54assuming that continues apace and does not fade away
1:44:56and they continue to be successful with it.
1:44:59I'm not saying that balances out.
1:45:01Therefore, you're allowed to do something
1:45:02that's going to kill more people now.
1:45:03That's a bad idea.
1:45:04But historically speaking, if history goes out,
1:45:09everyone will forget that briefly they
1:45:11killed a bunch of people with Google Glass.
1:45:14I think what they're thinking is on the Google Glass is
1:45:17They also believe that augmented reality is the future.
1:45:20Just look at that crazy whatever-there-was-that thing,
1:45:22the phone thing that maps out the rooms and everything.
1:45:23The tech for doing that augmented reality stuff
1:45:25is getting better and better all the time.
1:45:27It's going to be everywhere.
1:45:28And Google was like, if we wait for the car makers to do this,
1:45:31it will take forever to get here and it will be crappy.
1:45:32And all of that is true, but I think they just have to--
1:45:36the alternative is they should either make their own car
1:45:39with this built in, hey, buy Tesla, go nuts,
1:45:41have a go at it.
1:45:42But trying to put it into a general purpose
1:45:45computing device that you wear on your face. A, you have to get everyone to wear that stuff
1:45:48on your face. And B, they would have to sign up for all of the liability-type concerns that
1:45:55the car makers do in terms of regulation and everything. And they're not prepared to do that.
1:46:00They want the freedom to do whatever the hell they want. And just don't bother us,
1:46:05because eventually we're going to get to this awesome all-grandeur reality that's coming
1:46:07eventually anyway. And we're going to get there first because we can move faster. But
1:46:12That's playing a little bit fast and loose with people's lives, I agree.
1:46:15And that also seems like almost a childish and naive…
1:46:19That's Google for you.
1:46:22Exactly.
1:46:23Exactly.
1:46:24That's the problem.
1:46:25Well, that's what we love about—that's what I love about Google.
1:46:27Like, the self-driving cars is the same type of thing.
1:46:29That's what we love about it, but at the same time, it gets them into that.
1:46:32That's why I always think of Google's corporate mindset not as evil, more as like
1:46:38like, naive hacker type of, you know, like, denizen of Reddit. Like, technology is cool,
1:46:44we can do cool things with technology, and let's just go do that cool things because
1:46:47it's cool. And let's not think too much about the consequences or whether it will make money
1:46:51or anything like that, you know. That's what we both love and hate about Google.
1:46:55All right. Titles. Go to fail.
1:46:59How's the title not "Go to Fail"? Someone put it in all caps, this isn't basic.
1:47:05Haven't you seen the code? Oh, yeah, that's one point we didn't address
1:47:08about the go to thing they don't want to address. All the people who have never seen the C program
1:47:11or Unix C program are like go to who uses that. If you are a C programmer, and you've come from the
1:47:18old like just look at the source code, your favorite units, look at BSD, look at Linux or
1:47:22whatever, you will find go to everywhere because they didn't really have exceptions. And they if
1:47:28the control flow necessary with lots of nested ifs to get you out of an if you end up having to make
1:47:34like flag variables and really contorted logic. GoTo is actually the cleanest solution in those
1:47:39situations where you want to get out of the normal flow of the program and go down to it, you know,
1:47:43or you could do set jump or whatever you want. GoTo is the idiom that, believe it or not, I know
1:47:49the only thing you've heard about programming is that GoTo is evil because there's a paper that
1:47:52you've never read that got passed around the internet 10 years ago. But look at any real C
1:47:56source code and GoTo is there and it's used for exactly this purpose and it has all these same
1:48:02problems. This is not what the paper about GoTo was against, really. But you can see,
1:48:07GoTo does contribute to this anti-pattern, but that's why newer, better languages have
1:48:12exceptions.
1:48:13Yeah, and GoTo is—there's things like break and continue in a loop that, I would
1:48:18argue, break and continue, especially break, that's really not a whole lot cleaner than
1:48:24GoTo. If you think about it, it's—
1:48:27What?
1:48:28But you need—if you have very contorted logic, like you have a condition, and then
1:48:30condition and a condition and you want to break all the way out of it, then you—even
1:48:34break doesn't save you—then you just end up with flag variables and it makes the code
1:48:37incomprehensible.
1:48:38The people who read up the function a little bit and saw the type of the variable, OS status,
1:48:44pretty sure if you knew what that was, you were not surprised to see the go-to. Like,
1:48:48I think that's like, you know, if you've been around old C APIs long enough, you know,
1:48:54you've probably seen that, and it's, you know, a typical thing where it's like, you call
1:48:57a bunch of API calls, and if they return zero, everything's cool, and if they return non-zero,
1:49:02something bad happened. And so if you want to do this, like, you know, eight-step process
1:49:07where you have to call these eight different API functions, and you have to have error
1:49:10checking code around every single one of them to say if any of these return non-zero, fail.
1:49:15That's what this was. That's exactly what this was. And fail, in this case, like the
1:49:21fail label didn't mean it has failed. The fail label was the destination of where to
1:49:26jump to if it had failed, which is basically like, go to the end. Like, go to the end of
1:49:32this logic block. That's what it was.
1:49:34That's another Objective-C thing that we could have talked about in the Copeland 2010 show,
1:49:37is that, you know, it's a convention in basically Cocoa, not so much Objective-C, but Cocoa,
1:49:41to not use exceptions for control flow. Is that correct?
1:49:45Yeah.
1:49:46Yeah. I mean, except like, in Objective-C, objections are by like policy and like the
1:49:54API norm, exceptions are not meant to happen in running code most of the time. It's not meant to
1:50:02be control flows. You're probably not meant to catch an exception in Objective-C.
1:50:08Right. And it's not so much a language feature as it is an API convention, but still,
1:50:13that type of thing leads you to these—the tedium of write param error conditions, where you pass
1:50:22an address to some error thing that's going to fill that, or return values where it's
1:50:26some status, whether it's OS status or any other type of thing.
1:50:29That type of thing is seen as slightly barbaric in languages that do allow you to use exceptions,
1:50:38do expect you to use exceptions for flow control.
1:50:40And then of course there's the pathological case of like, you know, check the exceptions
1:50:43and all the Java crap, and like it can go too far in the other direction as well.
1:50:46But I would have put that on a list of things that Objective-C that other languages do differently
1:50:51that people find cumbersome and tedious and error-prone and lead to these type of situations
1:50:57where you find yourself needing a go-to.
1:50:59As far as I know, in my Objective-C code I've written so far, Instapaper, Bugshot, The Magazine,
1:51:05and Overcast, I don't think I've ever written a try/catch block. I think I've always made
1:51:10exceptions blow up the whole thing.
1:51:12Yeah, because in Cocoa, you're not supposed to—like, exception is supposed to be exceptional.
1:51:16That's my understanding of the policy, is that it's not for control flow. It's not
1:51:19just get me out of this nested block, it's like something has gone wrong, and maybe you
1:51:24can put up a dialog and exit your app or do something like that, but you're not supposed
1:51:27to use it as a form of flow control, even though I assume you can if you wanted to.
1:51:32Yeah, it's more like an assertion failure in Objective-C, I think.
1:51:35Yeah, exactly.
1:51:36That's how you're more supposed to use it.
1:51:37In fact, I think assertion failures might even throw exceptions.
1:51:39I don't remember exactly, but anyway.
1:51:42All right, titles.
1:51:44Titles.
1:51:45GoToFail is obvious.
1:51:47I'm not against it.
1:51:49A lot of podcasts I think are gonna have that title this week though, so we might want to
1:51:52avoid it so we can be cool.
1:51:54Ish.
1:51:55So we can be cool.
1:51:56I added "ish."
1:51:58Everything's relative.
1:52:00(laughing)
1:52:03[BLANK_AUDIO]