0:00:00I was always just thinking that this file system would save me. I just thought, like,
0:00:03well, I'll just, I'll stick it out and there'll be a new file system here probably next year,
0:00:07and I've been thinking that for a lot of years now.
0:00:09Well, I spent this morning trying to parallelize the lame MP3 encoder.
0:00:16Why?
0:00:16Why not? Because it's a very hard problem that hasn't been solved since, like, the early 2000s.
0:00:22And I often need to encode our show MP3,
0:00:27which takes probably, I don't know, 90 seconds to encode.
0:00:30It's a surprisingly long time
0:00:33for a modern computing task like that, and that annoys me.
0:00:37And so I figured, why don't I spend the afternoon
0:00:39seeing if I can parallelize the MP3 encoder?
0:00:42And there are faster encoders than the lame encoder,
0:00:47and I know, this is hard for me to talk about
0:00:50because I know that the word LAME is really not a nice word to say, but it's kind of like
0:00:56the GIMP photo editor, like also not a nice word to say, and for whatever reason these
0:01:01open source projects name themselves these acronyms without regard to what those words
0:01:05mean and how they hurt people, so I'm sorry in advance, but it's called the LAME MP3 encoder,
0:01:11and it is, I have tested many different encoding options for podcast audio from MP3, AAC, the
0:01:17HE, AAC, all like the MP3 Pro,
0:01:21like all like the add-on, like spectral things
0:01:24to these formats, and simple joint stereo
0:01:28with the Lame MP3 encoder is by far the highest quality
0:01:31and at the best bit rates that I have found.
0:01:34It's really quite good.
0:01:35So problem is MP3 encoding is very difficult
0:01:38to parallelize, at least while also doing it well.
0:01:42And so that's what I'm kinda trying to do here.
0:01:45- Just for ATP?
0:01:46Well, I mean, ideally I would ship this to other people as well. You know, maybe open
0:01:51source it or maybe just embed it into my pre-production tool that I have to at some point hopefully
0:01:56maybe release. So it could be very helpful because one of the problems is like we've
0:02:01basically hit a wall of single-threaded performance on modern computers. Like, we're not really
0:02:06getting much better at that and that's like one of the only tasks that I do on a regular
0:02:10basis on my computer where I'm just like dying for more gigahertz on one core. So if
0:02:16So if I can eliminate that, that makes me happier with my computers, and it makes me
0:02:20happier with potential future iMacs and MacPros and MacBooks and things, because I can encode
0:02:26our show four, eight times faster, fast enough that it doesn't matter anymore.
0:02:31Well, that makes sense.
0:02:33Well, good luck.
0:02:34I mean, I'd love to see that happen, because I think it would make a lot of people very
0:02:38happy, but, God, that sounds like a royal pain in the hindquarters.
0:02:42It really is.
0:02:43The one saving grace of this is that,
0:02:45you know, normally if you're dealing with like a,
0:02:48a non-trivially sized open source project,
0:02:51or heck, even a trivially sized one,
0:02:53usually they have, it's just dependency hell.
0:02:55And usually it is so hard to get to the point
0:02:58where you can even build the thing,
0:03:00let alone like trying to make changes
0:03:03and you know, try to test things and it,
0:03:05it is such a pain 'cause they all depend
0:03:07on these weird crazy libraries that you don't have
0:03:09or that are hard to install on Mac OS X or something.
0:03:12and it's such a pain usually.
0:03:15Lame is actually really simple.
0:03:17There's not much to it.
0:03:18It's not very many files, and there's,
0:03:21as far as I know, there's no external dependencies,
0:03:24except maybe like basic libc stuff that everything has.
0:03:27So it's pretty, it's really actually
0:03:30quite pleasant to work on.
0:03:33So kudos to the Lame project.
0:03:35- Is this all C or C++?
0:03:37- It's all C, which is also nice,
0:03:38'cause I don't really know a lot of C++,
0:03:41so to have something to be pure C
0:03:42is also kind of a welcome change.
0:03:45- Yeah, it's like back a few jobs ago.
0:03:48Back when you actually had a job.
0:03:49- Yeah, exactly.
0:03:50I still like C a lot.
0:03:52I mean, I recognize that working in C nowadays,
0:03:56it's like having a classic car
0:03:59that you work on in your garage.
0:04:01You know, it's like, it's really fulfilling,
0:04:04and it's really nice and cool
0:04:06if that's your personality type,
0:04:08But I really would be hard-pressed to justify using it
0:04:12for like, quote, real work anymore.
0:04:15But I really do enjoy working with it
0:04:17on the occasion that I need to work on it.
0:04:22- Fair enough.
0:04:22I mean, anything's better than Perl or PHP, am I right?
0:04:25So anyway, we should do some follow-up.
0:04:27The Sierra Mac Pro support.
0:04:29This is not good times for John Syracuse.
0:04:31(laughing)
0:04:32- It's not so bad times either.
0:04:34- Marco's theory was that it was
0:04:36because of the instructions.
0:04:38Yeah, my theory was the hardware encryption instructions
0:04:41that Intel has added over time, but turns out, nope.
0:04:44- Well, I mean, we didn't get any official word on it,
0:04:46but talking to a whole bunch of people,
0:04:47hey, why do you think they dropped support
0:04:49for this computer or that computer?
0:04:51The general consensus was that they just dropped support
0:04:54for computers that are old because it's a pain in the butt
0:04:56to keep supporting them.
0:04:57And there's lots of things that are a pain
0:04:58to keep supporting.
0:04:59If you do anything to the OS that changes
0:05:02sort of the driver model or that requires drivers
0:05:05be even just recompiled or changed in some subtle way.
0:05:09Supporting old hardware like say the airport card that could be put into my 2008 Mac Pro,
0:05:15that's kind of a pain and you don't want to bother with that.
0:05:17But the big one I think is video drivers because there is usually some participation from the
0:05:22video card vendor, whether it be AMD, ATI, or NVIDIA in the creation of the drivers for
0:05:29OS X for these various GPUs.
0:05:32Apple doesn't want to keep doing that and usually if you were to go to AMD and say hey
0:05:36We're making a new version of the operating system
0:05:38Can you help us or either help us to or do it entirely on your own drivers for?
0:05:44The work with the Sierra kernel and this ancient 2008 Mac Pro. I don't think they're keen to do that
0:05:51But anyway, lots of reasons why you might want to support old hardware
0:05:55And yeah, no no specific smoking gun for any particular hardware feature
0:06:02that is not supported and adding
0:06:04into this pile of
0:06:06Support for the idea that it's just because it's old is that 2009 Mac pros are also not supported contrary to what I had hoped
0:06:12On the last show so that means my work Mac can't run Sierra either
0:06:16What are you gonna? Do I'm gonna wait? I'm gonna wait until the new it's almost
0:06:21It's almost this you have to buy a new computer. Oh, yeah, everyone gets laptops at work now
0:06:25so I'm gonna wait until the new MacBook pros come out and
0:06:27And then I'm going to wait another month, and then I'm going to get a new computer at work.
0:06:32Now you do realize that the new MacBook Pros will almost certainly have the arrow key layout that you hate.
0:06:39I'm not gonna use that keyboard.
0:06:41It's just gonna be sitting off to the side of the screen that I never look at, connected to an external screen.
0:06:48Like I'm just using it as a weird shaped Mac Mini.
0:06:51That's my plan, because I only have one screen at work, and it's not a great screen, but whatever, it's fine.
0:06:56So I'll keep doing that. I want to get the 15 inch so I can put it in mirrored display mode
0:07:01That's how much I'm not going to use a second screen
0:07:03Just so my windows and crap won't move when I disconnect the monitor. It'll be the same rez on both
0:07:08You know what I mean? That's my current plan.
0:07:10I love that your current plan like clearly didn't even consider another Mac Pro
0:07:16Well, I can't work would never buy that for me
0:07:19Like I my Mac was the first Mac at the entire company and I had to get special
0:07:24Dispensation to get it and it was like way more expensive than the $400 piece of crap Dell laptops
0:07:28They were getting everybody back then mine was like the cheapest possible Mac Pro you could get in the minimum configuration
0:07:35It was like $1,500 and it took so much for them to choke that down
0:07:38Nowadays, they're better about buying Macs if you want one and they'll buy, you know
0:07:4313 inch or 15 inch MacBook Pro and that's what I plan on getting but no Mac Pro is not an option
0:07:50Neither is an iMac for that matter.
0:07:53Would you get an iMac over a MacBook Pro if you had the choice?
0:07:56Yes I would.
0:07:57Is the base model 5K iMac not price competitive with the 15-inch MacBook Pro?
0:08:02I don't think it's price.
0:08:03I think it's…
0:08:04You don't understand big corporations.
0:08:06They just want to do things the way they want to do them and they want regularity and uniformity
0:08:11and they don't want you to be a special snowflake who wants a specific computer.
0:08:14They only have and support and know and understand two kinds of computers on the Mac side and
0:08:20It's whatever.
0:08:21I don't know.
0:08:22I mean maybe I'll ask about it but…
0:08:23No, this is exactly my experience.
0:08:25My company gets leased Macs and I think they're two-year leases and basically your choices
0:08:32are MacBook Pro if you do some sort of development work, I believe a MacBook Air if you don't,
0:08:37or some sort of god-awful Dell.
0:08:39And those are…
0:08:40Actually it might be an HP, some sort of god-awful PC, but it's one of those three.
0:08:44And if you want anything else under the sun, well, tough noogies because the help desk
0:08:48does not want to support it.
0:08:49So I'm right there with you, John.
0:08:51Now to be fair, my MacBook Pro is very nice.
0:08:53I have no complaints.
0:08:53I'm just saying that that is the way
0:08:55corporate America works.
0:08:56You must conform, you must be one of the people
0:08:59in that 1984 commercial.
0:09:01You must be a faceless number in the crowd
0:09:05that is using one of the blessed computers.
0:09:08- I miss the days when I was unsupported too
0:09:09because when I was the first Mac in the company,
0:09:11they're like, all right,
0:09:12but you're gonna be totally unsupported?
0:09:13I'm like, yes, that's exactly what I want.
0:09:14I want to be totally unsupported.
0:09:16Don't touch my computer ever.
0:09:18do nothing to it. Unfortunately now that Macs are officially supported, I am beset on all
0:09:22sides by terrible things like add your Mac to the Active Directory network. No! Oh no!
0:09:28Run Symantec Antivirus on your Mac. Oh, that's real important. Run these other applications
0:09:33in the background that will grind your CPU to death as it does who knows what. Oh, it's
0:09:37really terrible. Wait, I have one question. Do you have to install Adobe Acrobat? I don't
0:09:43have to, but it could be installed on my behalf silently in the background any day I come
0:09:47to work who knows what's happened to my computer because it's not under my control they just
0:09:51force install software on it whenever they want none of that software makes my experience
0:09:54of using the computer better but supposedly now I'm protected from viruses yeah whatever
0:10:01I can't believe you stand for anyone else having any sort of access to your computer
0:10:05like I understand that you have no choice I totally get that but you of all people allowing
0:10:10that vulnerability if you will I am stunned that you that you stand for that it's rough
0:10:15but what can you do? Like I said, you have no choice.
0:10:17The final bit is, like, how sad is this really? It's not really that sad. I installed Sierra
0:10:22on my 2008 Mac Pro and it runs fine. Because I have an aftermarket GPU, the installer's
0:10:26a little bit cranky about it, but if you just, like, I'm installing an external disk at this
0:10:30point because I'm not going to install it on my main system, it's the first developer
0:10:33release. So I installed it on an external hard drive using my 2011 MacBook Air, and
0:10:38then I just deleted a single file from the thing, System Library Core Services PlatformSupport.plist,
0:10:42I renamed it or whatever.
0:10:45And then my Mac Pro 2008 boots from it just fine.
0:10:50And it runs fine, as far as I can tell.
0:10:51So I don't think it'll be that big a deal.
0:10:53I may end up doing the same thing with my Mac at work, although I'm sure corporate IT
0:10:57will love that.
0:10:59But, you know, I could try that right before I give up and say, "Okay, fine, get me the
0:11:04new laptops or whatever."
0:11:06But anyway, if you have a 2008 Mac Pro or another unsupported computer, Sierra might
0:11:11work for you if the set of hardware you have is not the stock set of hardware that came
0:11:15with that computer.
0:11:16So now hold on a second.
0:11:18So you generally do some amount of work at home on a semi-regular basis, is that correct?
0:11:25So you're doing that on your personal machine because you have a Mac Pro at work and a Mac
0:11:29Pro at home, right?
0:11:31So that's cool with you?
0:11:33Like it's just an external hard drive.
0:11:34It's just I have like seven hard drives connected to my computer, like four internal and three
0:11:39external and half of them are turned off most of the time.
0:11:41the other ones are unmounted most of the time. It's really easy to just put a beta OS on
0:11:44an external drive and then reboot and boot off of that drive and it's fine. I immediately
0:11:48unmount all my other drives when I launch and it's like it's not a concern.
0:11:52Right, no, no, I'm not on Sierra at all. On a general level, you have infected your home
0:11:58computer with work-related things, is my point.
0:12:01Well, no, because I just remote desktop into my Mac at work to do stuff.
0:12:05Okay, so you have infected it with some sort of VPN connection.
0:12:07- I have in fact, the VPN software is installed
0:12:10for me to get out of the VPN and off to remote desktop.
0:12:13- I gotcha, okay, so any of the development
0:12:15isn't really strictly speaking happening locally.
0:12:18- And really it's not even happening on my Mac either.
0:12:20I mean, then I'm just SSHing into, you know, like it's,
0:12:23unlike you, I'm not actually doing development
0:12:26on my Mac really, I mean, except for like the web browsers
0:12:29that are on it, all the actual code
0:12:30and everything else is on servers, you know.
0:12:33- Gotcha, all right, that's actually fairly fascinating.
0:12:36I did not know that.
0:12:37Okay, anything else about the Mac Pro support?
0:12:40- It will never end.
0:12:41- Anything else today?
0:12:43All right, the talk show live.
0:12:45This was recorded Tuesday,
0:12:48I'm sorry, Tuesday before this passed.
0:12:51God knows, by the time this thing is released,
0:12:52it was probably two months ago.
0:12:54But anyway, the Tuesday that WWDC was going on,
0:12:59there was the talk show again this year.
0:13:01Was it two years ago that we were guests, I think?
0:13:04And then the only the only reasonable conclusion after having this this impossibly awesome and attractive trio on stage is
0:13:11to have
0:13:14Phil Schiller who followed up last year and then this year. What are you gonna do? Well, why not have Phil Schiller and
0:13:21Craig Federighi and we were all there
0:13:24We were sitting in the front row and it was amazing and I cannot say enough good things about this
0:13:31This talk show if you are not a regular talk show listener
0:13:34If you're one of the ten people that do not listen to the talk show, but do listen to this show I cannot
0:13:38Encourage you enough to listen to this episode of the talk show. We'll have a link in the show notes. It is excellent
0:13:44There's also a video
0:13:45Which was very good from what I've gathered. I haven't actually watched it myself, but
0:13:49seeing Craig and Phil
0:13:52Talk to each other and talk to the audience and talk to John Gruber all of all the above
0:13:59Was amazing and there's a few line items that we'd like to go through about that
0:14:03but one of the things that made me kind of laugh and and
0:14:06Really that I loved about it and made me love Craig Federighi even more
0:14:11Was as the talk show was going on
0:14:14Craig on the surface looked comfortable
0:14:18But if you really looked at him for more than a second you realized he is not in love with what he's doing right now
0:14:23Not in like not that John was doing anything wrong. Not that that Phil was doing anything wrong
0:14:27But you could just tell that Craig was like a little nervous and not entirely comfortable with what was going on
0:14:33And he was leaning forward a lot. He he kept it. I did the same thing when we were on the talk show
0:14:38Dub-dub he kept leaning forward and then like putting his his elbow on his knee and then propping his head up
0:14:45And then I think you could he realized that that kind of looks a little weird
0:14:49For those in the audience then he would try to like casually put his arm down which I'm sure if we looked at the video
0:14:53of me on stage. I probably did this 35 times, but there was a lot of that. But the thing
0:14:59that struck me the most was when Jon Gruber talked about something developer related,
0:15:09not only did Craig have impossibly good answers for all the questions, sometimes more forthcoming
0:15:15than maybe he should have, but he sat bolt upright every time. And he was so confident
0:15:22and so sure of himself, and it was so awesome to see,
0:15:26and God, I love that guy so much.
0:15:28- Yeah, it was such a good show.
0:15:30I mean-- - It really was.
0:15:32- You know, you can think about like, you know,
0:15:34what kind of show would you expect to have
0:15:37where Apple executives give an interview, you know?
0:15:40And if you think about it just like that,
0:15:42you might think, well, they're just gonna be, you know,
0:15:44going over PR talking points and everything.
0:15:46And certainly, some of what they say is PR talking points,
0:15:50but most of it isn't.
0:15:52And most of it is, like,
0:15:54I was on the talk show this week,
0:15:56I don't think it's out yet,
0:15:57but I basically reviewed the show for Jon
0:16:00on his own chokes, I knew he wouldn't do it himself.
0:16:03So forgive the repetition here,
0:16:06but I think one of the best things I liked about it,
0:16:09first of all, is that we got to see two Apple executives
0:16:13interacting with each other, and you never see that.
0:16:16Like, even people in Apple hardly ever see that.
0:16:19And so to see that in this context, these two people who clearly have known each other
0:16:25for a very long time and have worked together for a very long time, two people on top of
0:16:29their game, Phil and Craig, are really excellent at their jobs. And they both have incredibly
0:16:37deep knowledge about the stuff that we care about and the stuff that Gruber would be asking
0:16:41questions about at WWDC. So like, I was thinking like, you know, we were kind of speculating
0:16:46sitting beforehand, oh, who's you gonna have this year?
0:16:48Who's you gonna have this year?
0:16:49And one of the ideas is what if he has Tim Cook?
0:16:53And having Tim Cook would be like,
0:16:55it'd be really like a great badge of honor.
0:16:57It would be like a really noteworthy thing.
0:17:00But I think having Phil and Craig is actually a better set
0:17:03for that audience for that time.
0:17:06Because Phil is really, in many ways,
0:17:10it seems like he is kind of like the head
0:17:12of product direction on some level,
0:17:15And it seems to be kind of a shared role
0:17:17in Steve's absence.
0:17:19Johnny obviously has something to do with it.
0:17:21I think Tim probably has something to do with it as well,
0:17:24and who knows who else,
0:17:24but it seems like a lot of that falls on Phil.
0:17:27So just product decisions in general also.
0:17:30Phil is the head of the App Store now.
0:17:32So again, very relevant to this audience.
0:17:34And then you have Federighi, who is,
0:17:39yes, we knew he was the executive in charge
0:17:41of software engineering stuff,
0:17:44But I don't think a lot of us knew quite how much of an engineer he is.
0:17:48And also, not only does he have deep technical chops, but he also has deep knowledge of specific
0:17:55implementation details of the stuff they're doing now.
0:17:58So it's not like he ascended into this ivory tower and is just dictating things down to
0:18:03his minions to have them do all the work and he's just being a figurehead.
0:18:06He's clearly still very much involved in those decisions and very, very, very technical down
0:18:13to deep levels and able to explain that very well.
0:18:18So to have that combo of like the product guy
0:18:21and the app store guy in Phil, and then to have Craig
0:18:25as like the technical head is really, I think,
0:18:29the perfect combo to have at WWDC.
0:18:31Plus, I think their personalities work really well,
0:18:34both in general and also with John Gruber
0:18:36being the interviewer.
0:18:38So overall, I would much rather have them than have Tim
0:18:42in that context. And I think it was as good as it could possibly have gone. I think it was great.
0:18:47I mostly agree with that Tim would have been more boring, but I've been thinking about it more since
0:18:51WWC week. Like it really does depend on the topic that you're interested in. You know,
0:18:55if I'd mentioned Johnny Ive, obviously if you're going to have a bunch of questions about design
0:19:00stuff, he's the guy you want and Phil is not going to be able to give you much there and neither is
0:19:05Craig for that matter because like, you know, product design, whether it be hardware or software
0:19:09is Johnny's domain and a lot of the decisions that are made there, you know, I would imagine that
0:19:13they could add some insight into them, but you want the man himself if you want to get that
0:19:16information. So there's Johnny set aside. And then Tim, after Apple comes out with the car,
0:19:21the guy you want to talk to is Tim Cook, until you know like the deep car people, because your main
0:19:25question is why has Apple chosen to make a car? And the person who can answer that best is Tim
0:19:29Cook, right? Because that's a decision at his level. So I would actually like to see Tim Cook
0:19:34at some point, but for the topics I was interested in this year and most years, yeah, I'd rather
0:19:39I'd rather hear from Craig and to a lesser extent Phil because I'm much more interested
0:19:43in the technical and less interested in the App Store stuff, but at WWC, like you said,
0:19:47a lot of people are interested in App Store.
0:19:49Exactly.
0:19:50The reason the talk show live is a topic in the follow-up here is because I was adding
0:19:54items to the follow-up of bits and pieces and I realized most of them were information
0:19:58from the talk show live.
0:20:00The main reason I would suggest people listen to it is that it has information that you
0:20:04probably won't see elsewhere because you know again Phil and Craig were on there
0:20:08and they didn't just say things that were already said at WWDC they didn't
0:20:13just say things that have already been said by Apple PR they provided new
0:20:16information and some of it I thought was interesting and you won't know it unless
0:20:20you listen to that or listen to these two tidbits that I pulled out of it
0:20:24the first one is about an iOS 10 how you can get rid of the Apple apps like if
0:20:29you don't want the stock apps or the the tips app or whatever you don't have to
0:20:33hide them in a folder anymore, you can now delete them, but they aren't actually deleted.
0:20:37As many people speculated, and as has been speculated for a long time before this feature
0:20:41even appeared, they're not actually removed from the system.
0:20:44Even though when you delete them, you can go to the store and then redownload them,
0:20:47but as I think it was Craig said on stage, that download will run suspiciously fast because
0:20:52they haven't actually been removed from your computer.
0:20:54All the App Store is saying, "Oh yeah, I'll redownload those for you," and then it just
0:20:57reveals them again.
0:20:58And a bunch of reasons were given for actually leaving them on the system.
0:21:01delete I think the documents and data associated with it but you won't delete the actual executable
0:21:05so that was interesting tidbit and the other one is relevant to a couple of stories and tweets that
0:21:11have been going around about the the current beta of the app store ad service where they'll you know
0:21:15people can try it out for free now and all you do at this point is say yes I want to opt my
0:21:21app into the ad service I don't know can you do the keywords and everything as well but anyway
0:21:25I looked around and couldn't find anything else to do so I opted my my app in but I think that
0:21:30that just means that Apple will like kind of shove it on top of search results sometimes,
0:21:34but I don't think I have any controls over that.
0:21:37Yeah, it's like the automated one where they said, "If you don't want to pick your keywords
0:21:40and doing that stuff, just we'll figure it out for you." And so one of the little controversies
0:21:44that spun up on Twitter was, I think it was someone from Tweetbot was saying they searched
0:21:49for Tweetbot, like the actual name of their application, and the number one hit to the
0:21:53ad at the top of the search results was an ad for Twitterific. And it looks like, "Oh,
0:21:59has purchased the Tweetbot keyword, but they haven't because you can't even do that at
0:22:03that point, and they didn't.
0:22:05And that brings up the whole topic that we discussed before about buying someone else's
0:22:09trademark as a keyword.
0:22:11So if you have an application, if you were, you know, the maker of Twitterific and you
0:22:15wanted to buy the word, the keyword "Tweetbot," could you do that?
0:22:19That was addressed by Phil Schiller and the Talk Show Live.
0:22:23And he said that they are explicitly allowing this.
0:22:26I think this is a direct quote from the transcript.
0:22:28It says, "You can use someone else's brand in your AdWords
0:22:31that you want.
0:22:32As we thought about it, that is more
0:22:34likely to benefit the small developer
0:22:35than the big developer."
0:22:37And the idea is that if you have a well-known brand,
0:22:40if you like Clash of Clans or something,
0:22:42you're not going to buy a keyword
0:22:44for some tiny little application that doesn't--
0:22:46tiny little similar game that doesn't sell a lot of copies.
0:22:48But if you make a game that's similar to Clash of Clans
0:22:51and you want to break into the market, and really, right now,
0:22:53you don't have any customers, maybe you
0:22:55the Clash of Clans keyword. That is the theory behind this, and Phil articulates it in the
0:23:00most straightforward manner as you're going to get. And it was surprising to a lot of
0:23:04people, and we'll see how it plays out in real life, but from the perspective of app
0:23:09developers, especially app developers who sort of are on even footing, it seems like
0:23:12a pretty scummy thing to do to buy your competitor's trademark. So I think a lot of people are not
0:23:18going to do it because it seems rude, and I would imagine the companies that would do
0:23:22it are exactly the companies that are big because they have no scruples and aren't run
0:23:26by an individual who is answerable to their practices and they have a marketing department
0:23:29who's measured on how well they boost sales.
0:23:32And so I think this is going to happen a lot.
0:23:34I'm not entirely convinced that it's going to benefit the small developer more than the
0:23:37big developer.
0:23:38But we'll see.
0:23:40And again, Phil talked directly about this issue when questioned about it on TalkToYourLive,
0:23:43so check it out.
0:23:44I think there's a number of issues and factors that go into this.
0:23:49What exactly is a small developer?
0:23:51I think who this will actually hurt most are people like Twitterific and Tweetbot and maybe
0:23:58Overcast where kind of like medium-sized developers were like, "We're not big enough for like
0:24:03the Clash of Clans people to bid on our keywords because who cares? Like, you know, we are
0:24:08nothing compared to what they get and we're also not related." But other people who make
0:24:13apps that are related to podcasting or related to Twitter would very easily like bid on like
0:24:20the medium sized apps in their category on those keywords.
0:24:23So I view myself as a small developer
0:24:26in the grand scheme of things.
0:24:28But a lot of people view Overcast as a big app
0:24:30in the category relative to their app.
0:24:33So I think when Phil says he thinks this will benefit
0:24:37small developers, I don't think he's talking about people
0:24:40like Overcast and Tweetbot and Twitturrific.
0:24:42I think he's talking about little things
0:24:44that most of us have never heard of
0:24:46that happen to be in these same categories.
0:24:48he's right that it would probably benefit them.
0:24:51Like, you know, the kind of thing where like,
0:24:52if you search for like, you know, Twitter or whatever,
0:24:55you know, you get a couple of Twitter apps
0:24:57and then you get a whole bunch of what looks like
0:24:58just garbage and spam and it's like, you know,
0:25:00photo rotation apps for Twitter or stuff like that,
0:25:03you know, that kind of stuff.
0:25:04It's gonna be that kind of app, I think,
0:25:08that could benefit from this, not medium-sized apps
0:25:11like Twitter Effect, Tweetbot, Overcast.
0:25:14The other problem here is,
0:25:16Well, and I think there's two other problems here.
0:25:18One is that we've had kind of like download
0:25:23keyword spam issues in iTunes Connect
0:25:25since the beginning of the App Store.
0:25:27The apps have a keywords field
0:25:29that they can enter keywords into for search,
0:25:31and those have historically been used
0:25:34pretty strongly for relevance in search,
0:25:36more so than the description that is publicly shown.
0:25:39The problem is these keywords
0:25:41are not publicly visible anywhere,
0:25:43and so there's kind of no downside
0:25:45for an app to put its competitors or other large apps' names
0:25:50in those keywords.
0:25:51And Apple has a rule against this,
0:25:53but in practice that rule is only really enforced
0:25:55and enforceable against like large trademark, like Disney.
0:26:00So it'd be hard to put Disney in your keywords
0:26:02and get accepted through App Review.
0:26:04But if another Twitter app puts Tweetbot in its keywords,
0:26:09that is way more likely to get in and to get through.
0:26:12and historically that has been seemingly very badly enforced
0:26:16by App Review.
0:26:17And Phil even kind of said something along the lines of like
0:26:20we're gonna be trying to step that up.
0:26:23Something to that degree.
0:26:25And then thirdly the problem is the name of,
0:26:29if you put down overcast as your keyword
0:26:31and you might search for the word overcast to test this out
0:26:35and then my app shows up below some ad
0:26:37and you might think this is horrible.
0:26:39My app is not called Overcast in the app store.
0:26:43My app is called Overcast colon podcast player.
0:26:46And if you look at almost every other instance
0:26:48of this kind of like ad doing what seems
0:26:50like the wrong thing, like Tweetbot is not just named
0:26:54Tweetbot, Twitturific is not just named Twitturific.
0:26:57So it's called like, you know, Tweetbot for Twitter,
0:26:59Twitturific Twitter client, stuff like that.
0:27:01We've, you know, in the last couple years,
0:27:04we've all kind of succumbed to having to add keywords
0:27:08to our app names because quite simply it works better and the search has been horrible and
0:27:13it's been one of the only ways.
0:27:14You gave up on the search improving. You're like, "You know what? Forget it. We will
0:27:19mangle the name of our application because there's no other way to come up in the search
0:27:23results." I mean, I remember when Twitteriffic did it years ago. It was a sad day because
0:27:26it just really uglies up the name, but the problem was people would search for Twitter
0:27:29and just Twitteriffic would be 700 results down. The relevance was so bad even though
0:27:35it was a popular third-party Twitter client and when someone searches for Twitter, it
0:27:39would be a good idea to show them the, you know, well-reviewed, popular, frequently updated
0:27:44Twitter clients and instead it's like, no, Twitter doesn't appear anywhere in your name.
0:27:48Or it does, but it's just a prefix and like the fact that Twitterrific didn't show up
0:27:52in a search result for Twitter until way low down, that's just sad.
0:27:56So I would hope that as part of this effort to like police the keywords for trademarks
0:28:00more often and stuff, they will also improve the search to the point where you don't have
0:28:03have to name mangle essentially anymore, but we'll see.
0:28:06- Well, the other thing is like, I try with Overcast,
0:28:08I tried not name mangling, but you know,
0:28:11I launched Overcast fairly late in the App Store
0:28:13relative to the other apps.
0:28:14There was already an app named exactly the string Overcast.
0:28:18In fact, I even contacted the developer
0:28:19and tried to buy it from him, and he agreed,
0:28:21and we had agreed to actually transfer this app to me
0:28:24just so I could like delete it and reuse the name,
0:28:27but the app used iCloud, and so we couldn't transfer it.
0:28:30Why didn't you just pay him to rename it?
0:28:33- I think somehow we just kind of dropped the ball
0:28:36on continuing the conversation,
0:28:37so it probably just fell apart just through apathy,
0:28:41but there is an app called Overcast.
0:28:43I believe the seller's name is Willis Ingersoll,
0:28:46something like that,
0:28:47and it's like a file transfer app for cloud services.
0:28:49And the App Store, even though the world of trademark
0:28:53allows for the same name to be used
0:28:56in different industries and different contexts,
0:28:59The App Store doesn't, unless you do weird tricks
0:29:01with international titles.
0:29:02So it sometimes does, but usually doesn't.
0:29:04It's a mess.
0:29:05It's such a mess.
0:29:08So this is like, you know, the combination of lots
0:29:11of long-standing App Store problems results in this
0:29:16mediocre situation we have with titles with keywords
0:29:19after them, along with the new ads not matching things
0:29:23exactly, probably, yeah, it's gonna be interesting.
0:29:27Let's talk about Apple Photos and the John Saracusa controller search.
0:29:32>> Yeah, that was my quality metric.
0:29:36The original problem that I had was that I couldn't find a picture of my PlayStation
0:29:394 controller in Apple's Photos application.
0:29:43This is before iOS 10, before I debuted.
0:29:44So I put all my photos into Google Photos, and amazingly, Google Photos was able to find
0:29:48it just by me typing the word "controller."
0:29:51of course apple announced similar photo search for iOS 10 and Mac OS Sierra and I speculated on last
0:30:00show that it would not be able to find controller by me typing controller because apple is not good
0:30:06at that type of thing and google is. So now having installed, oh actually I haven't installed it,
0:30:12many other people have installed, I've installed Mac OS Sierra but I haven't installed iOS 10,
0:30:15many other people have installed all these betas onto their iPhones because they're very brave
0:30:20people and they have taken my exact pictures of the controller. They pulled them from Twitter
0:30:24and put them into their photo libraries and done the search to see if we would find it.
0:30:28And it doesn't find it if you type controller, but because Apple search, Apple's photo search
0:30:32works a little bit differently or at least presents a different UI than Google photo
0:30:35search, it does find it when you type control stick or I think also gamepad. And this brings
0:30:42up the UI that Apple provides is as you type it shows like category results as if it puts
0:30:48things into buckets and indeed it does. K. Yin has a blog post that lists out all of
0:30:54the buckets that it has. It has something like 4,000 buckets to put things in. There's
0:30:59a lot of stuff in there. Dance palaces, banana, chairlifts.
0:31:04Wait, what's a dance palace? Yeah, seriously.
0:31:07I don't know, I'm just reading some of the keywords here. Orchid, kiln, that's got kiln,
0:31:12that's a good one. Polos, blocks, pulley, trikes, trumpets, tuba, bass, horn. I mean
0:31:17Like it's got huge amounts of things.
0:31:19So basically, if you type a word that is not one of the words on this list, it won't find it.
0:31:23So as you type, it's showing you the words that begin with or contain these things.
0:31:27So it's a little bit different UI, but it's trying to lead you to its notion of those things.
0:31:31So if you type control, start typing controller and you see control stick, you probably tap that one.
0:31:36So good job, Apple Photos, so far on finding the controller that I didn't think you would
0:31:43ever find because that's good photo recognition because the controller was upside down.
0:31:47That's not an easy search, and it's a pretty obscure category.
0:31:49On the other hand, someone also said that Apple's photo search stinks because it couldn't
0:31:53find birthday pics or babies or pictures of a couch.
0:31:57So I don't know if their thing just hadn't indexed everything yet or those things aren't
0:32:00among keywords or anything like that.
0:32:02But we'll see as this rolls out.
0:32:04But you can find all your dance palaces.
0:32:06If you have pictures of dance palaces, it will find that before it will find your couch.
0:32:09Not quite sure what would come up for dance palace.
0:32:11But yeah, I have my entire photo library in Google Photos and also my entire photo library
0:32:16in Apple's photos, so when these things release for real, I can do A/B tests right next to
0:32:20each other with the exact same library and do a little bake-off, and when that happens,
0:32:24I will definitely have some results. But so far, so good for Apple. It is more impressive
0:32:30than I thought it would be.
0:32:31I'm looking up what a dance palace is.
0:32:34Our first sponsor tonight is Fracture. Go to fractureme.com and check it out with code
0:32:39ATP10 for 10% off. Fracture is a company that prints photos in vivid color directly onto
0:32:45to panes of glass.
0:32:47It looks fantastic.
0:32:48The colors pop like you won't believe
0:32:50and it comes in a nice solid foam backing
0:32:52which is ready to mount right out of the package.
0:32:54So here's how this works.
0:32:55It looks just like a complete picture.
0:32:58You don't have to frame it,
0:32:59you don't have to do anything else to it.
0:33:00It is a complete picture.
0:33:02It is a rectangle or square of glass
0:33:03with your photo printed right behind the front layer
0:33:06of glass and then behind that is a little tiny bit
0:33:09of foam board so that you can hang it easily
0:33:12'cause then things can hook into the foam board
0:33:14without having to scratch the glass or the ink layer.
0:33:16So it just looks fantastic.
0:33:18It looks very modern and clean.
0:33:20And I have these all over our house, our office.
0:33:23They're everywhere.
0:33:24People always compliment them.
0:33:26They make great gifts.
0:33:27They make great keepsakes.
0:33:28You can get your photos and actually print them
0:33:30and actually have a physical representation
0:33:32so you can remember this photo for more than like
0:33:34the two days that it sits on your Facebook feed or whatever.
0:33:36Check it out.
0:33:37The prices are very reasonable for Fractures.
0:33:39They start at just $15 for their small square size,
0:33:42which is great for Instagram prints.
0:33:44And they also make non-square rectangles.
0:33:46They are awesome.
0:33:47Again, they make fantastic gifts.
0:33:49We've given them as gifts many times.
0:33:51These prints look fantastic from Fracture.
0:33:53So check it out today at fractureme.com
0:33:56and use code 10% off with the code ATP10.
0:34:00I recommend them, they're great.
0:34:02Check out Fracture, thanks a lot.
0:34:04- Alright, so some slightly late-breaking news
0:34:10before we recorded.
0:34:12The Thunderbolt display, the thing that I've been lusting after since September 2011, when
0:34:17it was brand new, which was the last time it was updated.
0:34:22Anyway.
0:34:23Even that was a minor update over the LED display that came out right before it.
0:34:26Yeah, fair enough.
0:34:28The Thunderbolt display has been discontinued.
0:34:30Sad times.
0:34:31So at this point, Apple does not sell an external display.
0:34:34It did have a minor update where they started shipping the MagSafe 1 to 2 adapter in the
0:34:40box.
0:34:41- That's a hardware change, right?
0:34:42- Something like that.
0:34:43- So they never actually gave it the MagSafe 2 natively,
0:34:46they just kind of shipped through this $8 adapter
0:34:48in the box.
0:34:49- Yeah.
0:34:50- Excuse me, I believe that adapter's $10,
0:34:52thank you very much.
0:34:53- Sorry, you're right, you're right.
0:34:55- So this is somewhat sad times,
0:34:57if you fancied having a non-retina external display
0:35:01that's very pretty to look at,
0:35:03and presumably for non-retina being very, very pretty
0:35:06to see what's on the screen as well.
0:35:08However, does this make us think that maybe a retina display is coming soon?
0:35:13Maybe with a GPU built in?
0:35:15I don't know.
0:35:16I would think so, but it seems odd to me that they would just continue without having something
0:35:20to replace it.
0:35:22Maybe they just don't sell enough of them.
0:35:23Maybe they can't get that screen from the vendor anymore because it's so terrible, because
0:35:26the pixels are the size of boulders.
0:35:28I don't know.
0:35:30Did you read Apple's official statement that I put in the notes?
0:35:32Yeah, it was really short, wasn't it?
0:35:34Where did it go?
0:35:35We are discontinuing the Apple Thunderbolt display.
0:35:37It will be available through apple.com,
0:35:39Apple's retail stores, and Apple-authorized resellers
0:35:41while supplies last.
0:35:42There are a number of great third-party options
0:35:44available for Mac users.
0:35:46- It's kind of surprising that they even gave a statement
0:35:49about it, like that they call any attention to it at all.
0:35:51I mean, usually when Apple discontinues a product,
0:35:54like one that's not very important,
0:35:56the user's kind of quietly removed it from sale.
0:35:59Like, I think it's unusual to--
0:36:00- But there's usually a clear replacement when they do that.
0:36:02- That's true. - Like, they remove the old one
0:36:03and there's always the new one,
0:36:04and this is a little bit weird,
0:36:05where they're removing the old one without a new one to replace it, I still put the odds
0:36:10at greater than 50% that there will be a replacement for this product.
0:36:13Oh yeah.
0:36:14Just because it's such a gimme, they have the screen, it's in the 5E iMac, we've been
0:36:17staring at it for a long time, you put it in a case, you just ship it.
0:36:21But maybe that's not ready yet, or maybe it's part of a hardware announcement, and for whatever
0:36:25reason, I don't think they sell a lot of Thunderbolt displays.
0:36:30It's a thousand dollar monitor that is not worth a thousand dollars at this point.
0:36:34You could argue about it when it was first introduced, but it is a really nice monitor,
0:36:37and back before there were no options for 27-inch retinas when it was introduced in
0:36:412011, so it was good.
0:36:43Whether it was worth $1,000, who knows?
0:36:45But at this point, it's definitely not worth $1,000.
0:36:46So they must not have been selling a lot of them, and as they note, you know, while supplies
0:36:51last they need to get rid of all this inventory.
0:36:53Maybe it takes this long to get rid of the inventory at the rate that they sell.
0:36:57Like maybe they have a lot of Thunderbolt displays hanging around, and they did the
0:36:59math and said, "If we want these flushed out of the inventory by the time we introduce
0:37:03the 5K external display, we need to discontinue it now and just let them sell out the rest
0:37:08of them. It would also help, by the way, Apple, if you lowered the price, because that's
0:37:10a way that you can sell things faster. But I know you don't do that.
0:37:12David Schmittle I think it's more likely that the rumors
0:37:16were all really clear and the timing makes a lot of sense that the new Skylake-based
0:37:22MacBook Pros were supposed to be out by now, and it seemed that they were probably delayed
0:37:27because of various Intel issues. Have you heard, every time we mention Skylake and laptops,
0:37:33we usually hear from people who tell us that like,
0:37:35that Skylake chips that would be appropriate
0:37:39for the 15 inch were kind of out in the PC world,
0:37:42and they actually had tons of problems,
0:37:44and like, they were, it seemed like Intel might have like,
0:37:46partly maybe recalled them or something,
0:37:48there were some problems with them
0:37:50that the manufacturers were having,
0:37:52even after they'd shipped.
0:37:53So it seems like there's some kind of unexpected
0:37:55Intel delay that caused the MacBook Pros
0:37:57to most likely be delayed.
0:37:59So it seems like, if Apple's gonna release
0:38:01new 5K display, it would need Skylake most likely
0:38:04to drive it, so that they were probably planning
0:38:06on releasing the 5K external display that succeeded
0:38:09this Thunderbolt display at the same time
0:38:11as new MacBook Pros that were all supposed
0:38:13to already be out by now.
0:38:15So chances are they probably gave the order months ago
0:38:20to stop taking these component orders,
0:38:22stop making these things, stop manufacturing these,
0:38:25and then this delay happened sometime in the meantime.
0:38:29This was probably just like the replacement product
0:38:31was supposed to be out by now, and it might be done,
0:38:34but there's no computer that can drive it yet.
0:38:36So they're not gonna release a display
0:38:38with no computer that can drive it,
0:38:40so they kinda held the display for the MacBook Pro,
0:38:43which got delayed.
0:38:45So now they just have like,
0:38:46"Well, we already told the manufacturing line
0:38:48"to stop making these,
0:38:50"and we're not gonna start it back up again,
0:38:51"because that's crazy."
0:38:53So I'm guessing we're just in this weird hole
0:38:56in the middle of this like,
0:38:57You know, these weird delays cause this operations hole
0:39:01to happen and it'll make sense in a few months
0:39:04or whenever the new MacBook Pros come out.
0:39:06- And by the way, I think the reason they're gonna
0:39:07make this product is everyone's like,
0:39:08maybe they're just not gonna sell external displays.
0:39:10The reason they'll make it is because the margins
0:39:12have to be pretty darn good.
0:39:13- Oh yeah. - They're probably gonna sell
0:39:14it for the same kind of margin.
0:39:17Thunderbolt display, like I said, it was a $1,000 monitor
0:39:19in an age when you could get monitors with,
0:39:21sometimes monitors with the exact same panel in them
0:39:24for less money if you knew the right, you know,
0:39:26right weirdly numbered Dell thing or whatever to buy. Like, good healthy margins on those.
0:39:31And Apple sells mostly laptops for people who buy Macs. And people with laptops often
0:39:37want a really big external display. Like, they don't want an external display that's
0:39:40like 17 inches, but if people who want an external display, they want a really big one.
0:39:44And so Apple should sell you a really big one because it's, you know, the same reason
0:39:47they sell battery cases for crying out loud. If there's—if this is a product that people
0:39:50want and we can sell it at high margin and it can look nice and Johnny Eye won't be upset,
0:39:56by someone connecting a disgusting looking Dell monitor
0:39:58to their beautiful MacBook Pro.
0:40:00Like all signs point towards Apple continuing to sell
0:40:03one really big, really expensive,
0:40:05high margin external monitor.
0:40:06And all signs point to me buying one
0:40:08once I can hook it up to a computer.
0:40:10- We are also sponsored this week by Hover.
0:40:15We go to hover.com and use promo code APFS at checkout
0:40:19for 10% off your, it's perfect timing,
0:40:21for 10% off your first purchase.
0:40:23Hover is a great place to buy domain names,
0:40:26So when you have a great idea for your project or blog or startup or whatever, you need to
0:40:30give it a great domain name.
0:40:31And finding that name is very, very easy with Hover and of course they make it very easy
0:40:35to then buy it and manage it.
0:40:37And I use Hover for tons of my domains and it's great.
0:40:39They have over 400 domain extensions to end your domain with.
0:40:42You know, all the classics like .com, .net, some of the new, you know, new kind of narrow
0:40:46ones like design and tech and some of the weird kind of jokey ones like .pizza and .ninja.
0:40:52Now, new this week, they just launched .store,
0:40:56and this is one of the rare occasions
0:40:58where there's a name that is straightforward,
0:41:01it's not goofy or amateurish like .ninja and .pizza.
0:41:04You can build a real business
0:41:05on something that ends in .store.
0:41:07This is a very rare occasion where brand new real estate
0:41:11has opened up that ends in a domain extension
0:41:13that is not dumb, right?
0:41:15So, and it's wide open 'cause it just opened up.
0:41:18So go to hover.com, go get a .store name,
0:41:22and you have a very, very good chance now,
0:41:23because it's brand new, of getting a really good one.
0:41:26So whether it's .store or any of the other 400
0:41:28domain extensions out there, you can find
0:41:30the perfect domain name for your idea at Hover.
0:41:32Go to hover.com and use promo code APFS at checkout.
0:41:36Book stands for, I believe, Apple Platform File System,
0:41:39APFS at checkout, to save 10% off your first purchase.
0:41:42Thanks to Hover for sponsoring our show.
0:41:45(upbeat music)
0:41:47- John, tell us about Apple File System.
0:41:50Are you getting the platform part from Apple Platform File System?
0:41:55Somebody said that.
0:41:56I thought I'd heard that as well.
0:41:57Yeah, a lot of people said a lot of things, but I'm like, "Is that from official?
0:41:59I haven't heard any official thing.
0:42:00I think it's just for Apple."
0:42:02Anyway, there's a WWDC session that is entirely open to the public, session 701.
0:42:06We will put a link in the show notes so that if you're interested in Apple File System,
0:42:09you can watch this presentation.
0:42:11At the time we recorded the WWDC episode, we had not seen this presentation yet because
0:42:16it was two days in the future.
0:42:18And there wasn't much new information in that thing that wasn't already in the State of
0:42:22the Union, but there were two tidbits worth discussing.
0:42:26One is, all right, so APFS, as we saw in the State of the Union, will be a developer preview.
0:42:32I think a lot of people were confused by that, like, okay, so everything's developer preview,
0:42:35right?
0:42:36But no.
0:42:37When Sierra ships for real, like the final version that ships to customers, APFS will
0:42:41be included in Sierra as a developer preview, as in you will get the official release version
0:42:46of Sierra and part of it of that product will be provisional developer level support for
0:42:52APFS.
0:42:53So, what does that mean for you know, how far in the future is APFS?
0:42:57As I said in the State of the Union, APFS is developer preview this year and coming
0:43:00in 2017, but what does that even mean?
0:43:03A slide in session 701 had these words on it and we'll see how this rolls out.
0:43:09APFS will be the default file system for all Apple products in 2017.
0:43:14So that is pretty unequivocal except for the part where it says 2017.
0:43:19So default file system for all Apple product means if you buy an Apple product after whatever
0:43:24this point is, it will be formatted with APFS.
0:43:28That includes all iPhones, all iPads, all Macs, everything.
0:43:31That's the implication of this statement.
0:43:32In 2017, it could mean anything.
0:43:34It could mean starting January 1st, 2017.
0:43:37It could mean starting December 31st, 2017.
0:43:39So there's a big range in when this could happen.
0:43:43But it is a pretty clear statement of intent in a publicly available video from official
0:43:48Apple spokespeople that their goal is, 2017, not just that, oh, you'll be able to format
0:43:53as APFS, but the default will still be HFS Plus or only on Macs or whatever.
0:43:57Nope.
0:43:58Every single product, every single device that has a file system across the entire product
0:44:01range at some point, this is their goal anyway.
0:44:04We'll see if they meet it.
0:44:05So that seemed to me like an ambitious goal, but I'm also kind of excited about it because
0:44:09as we all know, 2017 is the year of the file system.
0:44:13And I hope they take their time because that's a little bit – I'm a little bit scared
0:44:18for them.
0:44:19Like, that means like when the next iPhone comes out or whatever, the 2017 iPhone, all
0:44:23of those millions and millions of iPhones all going to be formatted with APFS.
0:44:28I really hope that goes well.
0:44:29You know, or I suppose they could say, "Okay, well, again, if they go December 31st, 2017,
0:44:35then next year's iPhone will ship with HFS Plus and then December 31st, starting then
0:44:39all the products will be formatted that way."
0:44:42So in case anyone at Apple, anyone who knows any of the Apple file system people is listening
0:44:48right now, consider that John Syracuse, your friend and mine, has been asking for a new
0:44:53file system for years, has been begging for a new file system.
0:44:58And as he just said, you guys, you know, Apple has said in 2017, I would just like to point
0:45:04out that John Syracuse's birthday happens to be the very last day of 2017.
0:45:11If you just decided, you know, maybe that would be the appropriate day to flip the switch
0:45:16and hit the big red button, that would be a pretty solid birthday present.
0:45:19A much better present than I've ever gotten, Jon.
0:45:21Just throwing it out there, guys.
0:45:22You run with it.
0:45:23Yeah, I think they're gonna go before that.
0:45:26And my impression is that this date, even though it seems ambitious to us, is not really
0:45:32that ambitious from the perspective of Apple, who has been working on this file system for
0:45:35a long time, obviously.
0:45:36Like, they didn't just announce it and they started working on it last week, right?
0:45:40So the impression I get from WWDC is that 2017 is not rushing it, and really they've
0:45:47got the whole year, it's like, you know, it's a relaxing expanse of time in which they can
0:45:51plan their roll out of this new file system.
0:45:53And I really hope that's true, because if so, that's exactly how you want to do this.
0:45:57The second tidbit that was in this WWDC session, which I'm sure everyone knows by now because
0:46:01it's been on all of the Apple News sites, is the question of if you don't buy a new
0:46:06piece of hardware, you know, which comes with APFS, but you have an existing piece of hardware,
0:46:12how do you get APFS? Like, I can only think about it from the perspective of a Mac, because
0:46:17I don't imagine they're going to let people like reformat their iPhones. Like, if you
0:46:20restore your iPhone in 2017, in the post-APFS world, is it reformatted with APFS? I doubt
0:46:26it. But certainly for the Mac, we know this is a straightforward situation. The way you
0:46:31could do it is you back up your entire hard drive, you erase it, you reformat it as APFS,
0:46:35restore your hard drive. You can do it with Time Machine, you can do it with SuperDuper,
0:46:38lots of different solutions to doing this. All those should be possible. But in the 7.0.1
0:46:43presentation at W3C, Apple said that they have something else in mind, and that is
0:46:48in-place conversion of your volume format from HFS+ to APFS. So you've got a Mac,
0:46:54this file system comes out in 2017, it's officially released, all the new hardware you buy comes with
0:46:58it, you're like "I want to try that new file system, what do I do?" Well, first of all,
0:47:02First of all, I would advise you to make a backup anyway.
0:47:05And maybe two backups, and maybe three backups.
0:47:08But you won't have to erase your disk.
0:47:09You'd be able to take your existing disk that's formatted with HFS+ and do a thing and reboot,
0:47:17and when it comes back, all your data will still all be there, you won't have erased
0:47:20it, and it will be in APFS volume.
0:47:23And the concept of this is freaking people out a lot.
0:47:26I think I talked about the old Alsoft PlusMaker thing that would do the same conversion from
0:47:31H of S to H of S plus in place, and that was terrifying
0:47:34because if it screwed up in the middle,
0:47:35you were left with nothing.
0:47:36This, the situation with APS is a little bit different,
0:47:41and you shouldn't actually be as terrified as you are.
0:47:45It actually is, if you've ever seen from, I don't know,
0:47:48was this on ATP or maybe it was hypercritical,
0:47:51the BTRFS demo of a similar type of in-place conversion,
0:47:55it's the same type of deal.
0:47:58Because of the way this volume format works,
0:48:00actually fairly safe. so here's the process and here's why it will not
0:48:05probably destroy your data, although definitely make backups. so the first
0:48:09thing it's going to do is it's going to unmount your volume. so obviously you can't be booted
0:48:12from your volume to reformat it. you have to be booted from the recovery partition or
0:48:15something like that or whatever. but anyway once it's unmounted no more
0:48:19changes are happening to this volume that you're going to convert. so you don't
0:48:22have to worry about chasing after some other change. it's not going to happen
0:48:25live like the what we call the file vault conversion where you can encrypt a disk
0:48:29while you're using it, which is kind of magical.
0:48:30This is like unmounted, all right?
0:48:32Next thing is it's gonna write
0:48:34all the APFS metadata structures,
0:48:36all the little pointers to where does this file begin,
0:48:39where does it end, how many blocks are in it,
0:48:41what is the file called,
0:48:42what are all the dates about the file.
0:48:43It's gonna write all that metadata
0:48:45to the free space on the HFS+ volume.
0:48:47So you can only do this conversion
0:48:48if you have enough free space to fit the metadata.
0:48:50I don't know how much it's gonna take,
0:48:51but you do need some free space,
0:48:52and hopefully you're just using it
0:48:54filled to the brim anyway.
0:48:56So it's writing just to the free area.
0:48:59So at any point during this process,
0:49:00when it's writing all this metadata,
0:49:01when it's reading your HFS+ volume,
0:49:03finding out where everything is, what everything is called,
0:49:05what all the dates are, what all the permissions are,
0:49:07all the ownership, everything about these files,
0:49:09all the different forks, all the extended attributes,
0:49:11all that stuff, and it's writing that metadata out
0:49:13in APFS format to the free space.
0:49:15If at any time something bad happens during this,
0:49:17like someone yanks the plug in your computer,
0:49:19your HFS+ volume is fine, 'cause if you reboot into it,
0:49:22it doesn't care what's in the free space.
0:49:23Like there's garbage in the free space.
0:49:25It's free space on the HFS+ file.
0:49:26Nothing is wrong with it.
0:49:27It's perfectly fine.
0:49:28This is the majority of the time it spends,
0:49:30is looking at all your things and writing all the metadata
0:49:33for all the things on your file system.
0:49:36When it's finally finished doing that,
0:49:39all it needs to do is this is sort of the critical section
0:49:41when things can go wrong.
0:49:42And the critical section should be very, very short.
0:49:44It's basically delete the HFS+ superblock,
0:49:47update the partition type to be APFS,
0:49:49put the correct UUID in there, and you're done.
0:49:51Like you just have to sort of do a switcheroo
0:49:53in the front of the whole file system, say,
0:49:54OK, now you're not HFS anymore, now you're APFS,
0:49:57and then you reboot.
0:49:58And that critical section of when something can go wrong,
0:50:00like if they were halfway through,
0:50:01and I bet even that probably is fairly well protected,
0:50:04because, well, I guess once you would delete the HFS plus super
0:50:08block, you're kind of screwed.
0:50:09But anyway, this is a very small window of time
0:50:11when something can go wrong.
0:50:12All the rest of the time during the conversion,
0:50:14everything is fine.
0:50:15And I bet you could probably restore the HFS plus super
0:50:17block if you were clever enough or some recovery program could
0:50:20do that as well, because again, you haven't touched
0:50:22any of the actual data.
0:50:24Your actual files have not been modified.
0:50:25The HFS+ metadata has not been modified.
0:50:28None of that stuff has changed,
0:50:29just sitting exactly where it was.
0:50:31All you gotta do is change sort of the thing
0:50:34that tells you where everything else in the file system is.
0:50:36The superblock is metadata about the whole file system
0:50:38that tells it how big the file system is
0:50:40and where all the other metadata structures are
0:50:42and all that stuff.
0:50:42And by the way, speaking of the APSS UUID,
0:50:46the thing that tells it what volume type this is,
0:50:48one other tidbit that was sort of alluded to
0:50:50in State of the Union and I think in the 701 thing
0:50:53is that if you have an APFS volume
0:50:56and you try to mount it on an older Mac operating system,
0:51:01it'll say this disk is unreadable,
0:51:02do you wanna initialize it, all that business.
0:51:04But if you try to do that on El Capitan, it won't do that.
0:51:07Not because El Capitan has secret support for APFS,
0:51:09but just because it recognizes the UUID
0:51:12and so it won't offer to erase it for you.
0:51:14And that's, I guess, to try to prevent people
0:51:16from accidentally erasing their newly converted disk
0:51:19when they don't realize that that prompt asking them
0:51:21to erase it was actually asking them to erase the disk they just converted.
0:51:25So that's kind of clever.
0:51:26And that's another secret thing you would never have known.
0:51:28You're not going to be searching the El Capitan binaries for a UUID because you'd never find
0:51:32it because it's all nonsense.
0:51:34But anyway, I assume that I will do this in-place conversion again after making many, many backups.
0:51:41But both in theory and in practice, this conversion method of writing new metadata structures
0:51:46to free space pointing at the data in where it already exists is fairly well established
0:51:52and not something crazy that Apple came up with on its own. And so I'm pretty confident
0:51:56that this will actually work and it will seem like magic.
0:51:59That's pretty high praise. I am very impressed. Why does it have the P in the name? Why not
0:52:06AFS? Oh yeah. So that's a question I asked some
0:52:11of the file system people at WWDC and it's as we speculate. Like we can't use AFS because
0:52:16that's already Andrew file system. And you can go through every letter in the alphabet.
0:52:20A lot of them are taken already, or every combination of two letters, they're either
0:52:23taken or nonsensical. APFS is not great as an acronym, but it's probably better than
0:52:29AFS, it's probably better than IFS, which I think is also already taken. Lots of the
0:52:34cool letters like ZFS and XFS are also already taken. My complaint was, why isn't it a cool
0:52:39name? Why isn't it like, forget about the four-letter acronym, or give it whatever four-letter,
0:52:43or four letter abbreviation that you want. Why doesn't it have a cool name like, I don't
0:52:48know, like "Thunder FS," "Swift," or "Grand Central Dispatch," or whatever, like with the
0:52:54trains. Yeah, like you come up with a cool marketing name for it. And the upshot seems
0:53:01to be that file systems are not something that most users know about. Certainly on iPhones,
0:53:07no one knows what the heck their file system is, and even on Macs people don't know. The
0:53:10The only time people are likely to encounter is if you're on a Mac and you go to Disk Utility
0:53:14or something and you're trying to format a new disk, or like if you get info on a disk
0:53:18and you see in the Get Info window.
0:53:19But especially when you're formatting your disk, it says like, "Oh, how do you want to
0:53:22-- what volume format do you want to use for this disk?"
0:53:24And Disk Utility I think can do a bunch of different formats.
0:53:27Or even, you know, OS X can -- OS X, whatever that operating system is called, yeah, Mac
0:53:32OS, can mount a lot of different things.
0:53:34it can mount like fat, ex fat, and like all these weird,
0:53:38you know, all the weird CD file systems and stuff.
0:53:41Sometimes if you present a user with this pop-up menu
0:53:44of like, or you know, what volume format do you wanna
0:53:46make this or what volume format is this?
0:53:48They don't know what all those things mean.
0:53:49They don't know what HFS+ means.
0:53:51They don't know what Apple extended, journaled,
0:53:53whatever case, they don't know what those things mean
0:53:55at all.
0:53:56So the goal of AFS, and it's a reasonable goal,
0:53:59is to put an entry in that list that is absolutely clear
0:54:02that that's the one that they want.
0:54:04And so if you have a pop-up menu
0:54:05and you're formatting a disk
0:54:06and you don't know what the hell you wanna pick
0:54:07and you see one called Apple File System,
0:54:10you're gonna pick that one.
0:54:11'Cause you're like, all right, this is an Apple.
0:54:12I see a logo in front of me.
0:54:14There's one in the corner of the screen.
0:54:15I guess I want Apple File System.
0:54:17And you know what?
0:54:17That'll be the right answer.
0:54:19You do want Apple File System.
0:54:20You do not want, you know, Apple extended journaled,
0:54:24whatever you want, Apple File System.
0:54:26So as boring as it may be,
0:54:28it makes sense from a user's perspective
0:54:30that A, users should never have to see this,
0:54:32but B, when they do see it,
0:54:33They have no idea what all those weird names mean.
0:54:35They just wanna pick the one that says Apple Fosse system.
0:54:37- But don't you think there might be a problem,
0:54:39like well that one has a plus, this one sounds deluxe.
0:54:42Like the more words, it sounds like
0:54:43that's the deluxe cool option.
0:54:45Like I guess maybe I want the whatever journaling means.
0:54:48That's, I like journaling.
0:54:51- That's the prosumer problem that maybe those people,
0:54:55they're the worst anyway, but regular people
0:54:57are just gonna pick the safest one.
0:54:58They're not gonna say maybe, I don't know what journaled
0:54:59mean but they want maybe better.
0:55:01What about extended?
0:55:02That's better, and what about exFAT?
0:55:04I like that one, 'cause it's got an X-E-X in it.
0:55:07I think they're just gonna pick Apple File System.
0:55:09Anyway, it's a boring name,
0:55:11but it is certainly a straightforward name,
0:55:13and it is a forward-looking name in that Apple feels like,
0:55:16yes, this is the Apple File System.
0:55:17Now, 30 years from now, when this is old and busted,
0:55:21they might have a problem,
0:55:21because what do you call the next one?
0:55:22But for now, Apple File System works,
0:55:25and because they can't use a FS,
0:55:27a PFS is the awkward abbreviation for Apple File System.
0:55:31- Honest question, do you honestly think
0:55:33that when this file system is outdated,
0:55:35we will still even have the option
0:55:38to format our own partitions?
0:55:39It's like, look at iOS, iOS doesn't give us any options.
0:55:42- You're still gonna have to read the APS formatted volumes.
0:55:45I don't know, the question is whether the Mac
0:55:47will still be around then, 'cause you don't have,
0:55:50you don't see volumes on iPads and Apple TV
0:55:52or the Watch or iPhones, so we'll see.
0:55:55But maybe they're out.
0:55:56- I mean, at this point, I think we're lucky
0:55:58that we even still have disk utility.
0:56:00I mean, barely, but I think we're lucky
0:56:02that we have it at all.
0:56:04I'd be surprised if we still have the ability
0:56:08to format disks the way we want to
0:56:09and format partitions the way we want to,
0:56:11you know, in even 10 years.
0:56:13- Yeah, well, it could be, if the file system
0:56:15continues to be pushed towards the geeky side of things,
0:56:19then they're free to do whatever they want.
0:56:20Like, sort of like, Grand Central Dispatch
0:56:22is the marketing name, but Lib Dispatch
0:56:24is the library name on disk.
0:56:26It's just a clear separation between the names
0:56:29present in the marketing and the actual names that programmers know them by, so it may become
0:56:32less important.
0:56:34Finally, when, in 30 years, when this file system is outdated and being replaced by the
0:56:41next file system, can we get together when you are like, what, 72, 71 at that point,
0:56:49and do a podcast then with a bell in it?
0:56:52By then I plan to be living like a king in Patagonia, so.
0:56:57They will probably have the internet there,
0:56:59and microphones will probably still exist.
0:57:02- I like throwing in yet another reference
0:57:04that you guys don't get.
0:57:05- I knew enough to know it was a reference,
0:57:07but I also knew I did not get it.
0:57:08- Partial credit.
0:57:10- Yeah, I'll take it.
0:57:11All right, do you wanna start
0:57:12running through some of the features?
0:57:14Do you want me to prompt this?
0:57:15How would you like to proceed, sir?
0:57:17- Well, in this part,
0:57:18I'm gonna talk a little bit about file names,
0:57:20but I thought this would be a good opportunity
0:57:22to find out how much you guys know about Unicode.
0:57:26Not nearly enough. I've read the, oh god, the Spolsky thing on Unicode and string handling,
0:57:32and I've already forgotten all of it.
0:57:34JE: Marco, do you come across this at all? You probably don't, because I know
0:57:37string takes care of this for you, and you don't even care what the internal representation is.
0:57:41What about in PHP land? Do you deal with any of this stuff when you do web things,
0:57:45dealing with Unicode and text and everything?
0:57:47MZF1 I know a lot about Unicode, yes.
0:57:49JE Alright, well, so this will be new to Casey and maybe new to some people,
0:57:53but I think we have to go over a little bit of the basics before I explain what the deal is.
0:57:57So, talking about this in the context of APFS is because files have names and, you know,
0:58:01directories have names, right? So, when you talk about a file path, which usually doesn't show up in
0:58:05Mac operating system or anyplace else, that entire thing is presented as a string, and certainly file
0:58:10names are presented in strings, and you would think this is a straightforward thing, like,
0:58:13that nobody thinks about, "Oh, of course, like, files have names." Like, that's fine.
0:58:18But names are strings, and strings are financially complicated, and it actually matters from the
0:58:22perspective of the file system because it has to do a lot of stuff with strings. So the, I guess the
0:58:28easiest way for people to understand this is that Unicode is a standard for defining all the
0:58:37different things that go into making a string, and things in Unicode are identified by code points,
0:58:43they have numbers, right, and the numbers go up really high, all right? They start low and go
0:58:49up really really high because there's lots and lots of things that you can put into strings in
0:58:53languages in the United States. And the other thing to understand is that when you write something out
0:58:59to disk or store it in memory or whatever we tend to break things up into bytes. And we had a
0:59:05lettering system in America and the sort of western world called ASCII that defined a very
0:59:10small number of numbers that corresponded to things that can be in a string and each one of
0:59:18of them fit into a single byte.
0:59:20So all A through Z, 1 through 0 through 9,
0:59:24all the punctuation characters or whatever,
0:59:26they all fit into one byte.
0:59:27So that's 255 possible combinations.
0:59:30And everybody was happy until we realized
0:59:32that there were other characters in other languages that
0:59:34didn't fit in this, right?
0:59:36So when they came up with Unicode,
0:59:38they tried to be nice and give ASCII all the same numbers
0:59:41that it always had for compatibility reasons.
0:59:43But they just keep going from there.
0:59:45And at a certain point, you get up to numbers, Unicode code
0:59:47points that are way higher than 255.
0:59:50And when it comes time for you to write them to disk,
0:59:53what do you do with those?
0:59:54You can't just write them out as the big numbers
0:59:56in a series of bytes, because the first byte of the number
0:59:59might look like a capital letter P or something, right?
1:00:01Because it's the same-- you know what I mean?
1:00:03So they have come up with a series of encoding systems
1:00:06where when you've got this big number that does not
1:00:08fit into a single byte, and you can't write the way
1:00:10you would write that number out in a sequence of bytes,
1:00:13we need some way to encode these things.
1:00:15One of the ways to encode it is,
1:00:16instead of writing one code point every byte,
1:00:19write one code point every 32 bits.
1:00:21So you got a huge space for each one.
1:00:23So your capital letter A,
1:00:24instead of taking up a single byte,
1:00:25takes up what is 32?
1:00:27Four bytes?
1:00:28Eight bytes?
1:00:29Yeah, eight bytes.
1:00:31- Four bytes.
1:00:32- Yeah, there you go.
1:00:33It's eight times four.
1:00:34I'll get it in a second.
1:00:34Anyway, but that would be incredibly wasteful
1:00:38because now all of a sudden,
1:00:40if you're writing something in ASCII text,
1:00:41it would take up four times as much room.
1:00:43That's not good, right?
1:00:44There's also, we could do it in 16.
1:00:46Can we do it in 16?
1:00:47Well, we actually have more Unicode code points
1:00:50that fit into 16 bits, but I think for a while
1:00:54maybe they all fit in.
1:00:55I think NSString uses this encoding
1:00:57called UTF-16 internally.
1:00:59- Yeah, I believe the very first version of Unicode
1:01:02that they did all fit in, and then once we started realizing,
1:01:05oh, there's other parts of the world,
1:01:06and like ancient scripts and different combining things,
1:01:09and there's all sorts of new stuff now.
1:01:11- Don't forget emoji.
1:01:12- Yeah, that all came later, yeah.
1:01:13But it's important.
1:01:15- Yeah, that's not great either,
1:01:16but it also takes up a lot of room.
1:01:18And the one that's in most common use these days
1:01:22is called UTF-8, which is a pretty clever encoding scheme
1:01:26where ASCII gets to be exactly the way it normally is.
1:01:29Like, so, you know, one byte, one byte for each character,
1:01:32and all the ones that are bigger,
1:01:33they have these unique sequences of multiple bytes.
1:01:36You can have one, you know, two bytes, three bytes,
1:01:38four bytes, I think even up to five bytes.
1:01:40All of these are so that all the leading bytes
1:01:42are not mistaken for plain old ASCII characters or whatever.
1:01:47And that's the most common encoding we use.
1:01:49And this is relevant because when you create a file name,
1:01:54first of all, people don't want to use a file system
1:01:55where you can only create file names in ASCII
1:01:57'cause that would be annoying for people
1:01:58who speak languages other than English
1:02:00and even annoying for English speakers
1:02:01'cause you can have curly quotes and stuff.
1:02:03But you need to write this,
1:02:06you need to have the stuff in memory
1:02:07and you needed to write it out to disk.
1:02:09So you need some sort of representation
1:02:11And that's exactly what encoding is doing in Unicode,
1:02:13is they take these Unicode code points, these big numbers,
1:02:16possibly very large numbers, and write them out
1:02:18in a series of bytes in a way according to some standard.
1:02:23The additional complication here in Unicode
1:02:26is that Unicode code points-- I've been trying to say this
1:02:28and trying to say thingy in other words--
1:02:30instead of saying character or letter,
1:02:32because it's way more complicated than that.
1:02:34So a Unicode code point might be like the capital letter A,
1:02:37and that's something that everyone understands.
1:02:39a Unicode code point might also be something called "combining acute accent" that when this
1:02:44Unicode code point follows another letter it combines to make what looks like one thing on
1:02:50your screen. So if you did the lowercase letter "e" plain old ASCII lowercase letter "e" followed
1:02:56by Unicode code point 301, which by the way is a number bigger than 255, called "combining acute
1:03:03accent" you would get the "e" with the little line pointing up and to the right on top of it,
1:03:07the acute accent, so you're going to write the word "cafe" c-a-f-e combining acute accent,
1:03:14you get the word "cafe" with the e with the little thing over it, right? But you can write that same
1:03:19thing, "cafe" c-a-f and then e with a little thing over it, in a different way. You could write c-a-f,
1:03:24just like in ASCII, and then you can include Unicode, cone point, e9, that's in hex, Latin
1:03:29small letter e with acute. In other words, Unicode has two ways for you to write something that looks
1:03:35the same on the page. And I'm not sure what the original motivation is for this, probably
1:03:41because you could use combining characters in more flexible ways than including every
1:03:45possible combination, but sometimes combinations are convenient to include. This adds yet another
1:03:50wrinkle which is you can write the same thing in Unicode in multiple different sequences
1:03:55of code points. That's a problem for something like a file system. It's not a problem for
1:04:00like if you're writing a report or printing a page or even making a web page, but it's
1:04:03a problem for file systems because file systems need to write file names out to disk, like to store
1:04:08them in the metadata somewhere. And in general, file systems don't want you to be able to have
1:04:14a file with the quote-unquote "same name" in the same place, ignoring file name extensions, which
1:04:19just make this a mess. But if you wanted to make a file called "cafe" and then you wanted to make
1:04:23another file called "cafe," you wouldn't want them both to be existing in the same folder staring you
1:04:27in the face, like how can these files both be here? They both have the same exact name. But if you were
1:04:31to merely write out the encoded bytes for this thing, whether it's UTF-32, UTF-8, UTF-16,
1:04:37whatever encoding format the file system chooses, if you were to just write them out like that,
1:04:42one application could make "CAF" Latin small letter "e" with a "cute" and one application
1:04:47could make "CAFE" combining a "cute" accent.
1:04:49As far as the file system is concerned, the sequence of bytes of these files is different.
1:04:52So when it diffs them, it says, "Nope, there's no file with this name.
1:04:54I'll just make this file."
1:04:55But when you open the folder, you'd see two files called "cafe" and that is bad.
1:04:59And I haven't even gotten into case sensitivity, but as you can see in a case-sensitive situation,
1:05:07the file system has the same problem.
1:05:08Is there already a file with this name?
1:05:10Yes or no?
1:05:11And that's where you would factor in, okay, well, is there a file with this name but with
1:05:14like the capitalized letters ignoring case?
1:05:17But ignoring that entirely, just for plain old case-sensitive whatever, there's multiple
1:05:22ways you can write the same word.
1:05:24And Unicode handles that by a system that calls, what is it called, normalization?
1:05:28normalize forms of Unicode, it has a bunch of different forms, we'll link to them in the show note.
1:05:32What it basically comes down to is, should we try to
1:05:36break apart every character into its smallest possible pieces, decompose
1:05:40them, you want to have the lowercase e and then the combining accent, or should we
1:05:44try to compose them all into their canonical form by squishing
1:05:48the e with the combining accent into the Latin small letter e with the cute, or should we
1:05:52do different combinations of them in different orders, a whole bunch of different normalized forms.
1:05:56The file system, if it wants to, well,
1:06:00I was gonna say the file system has to pick one of these,
1:06:02but it doesn't.
1:06:02It could just do what I said and say,
1:06:05I will accept whatever bytes you give me
1:06:07and I have no idea what they mean
1:06:08and I will just put them in the file system.
1:06:10Or it could pick one of these normalized forms.
1:06:12You pick a normalized form,
1:06:13then it doesn't matter what the application gives you.
1:06:15It will always be canonicalized
1:06:17when it goes to the file system.
1:06:18So this is what HFS+ does,
1:06:20but of course, HFS+ being a very old file system
1:06:22does not use any of the Unicode normalized forms.
1:06:25It uses a variant of those normalized forms
1:06:27that has changed in different versions
1:06:28of the operating system.
1:06:30If you look at TechNote 1150 from Apple,
1:06:32which apparently is no longer online,
1:06:34so we'll link to like another version of it.
1:06:36It uses kind of decomposed form
1:06:40except for a whole bunch of ranges that it changes
1:06:42to be compatible with like the Mac Greek encoding
1:06:44and it excludes a bunch of things.
1:06:46It's really, really confusing.
1:06:49But anyway, in HFS+,
1:06:50if you try to make two files called Caffe,
1:06:52and I wrote, of course, a little ProScript to test this out,
1:06:55And you try those two different ways to do it.
1:06:57The E with the combining accent
1:06:58and then the E with the little hat already combined.
1:07:01Doesn't matter what you write.
1:07:03The HFS+ will be like,
1:07:04"Oh yep, I totally made that file for you."
1:07:06But when you read that file back in
1:07:07and look at the file name,
1:07:09it will have changed it to the normalized form
1:07:13the HFS+ wants.
1:07:14So you will not make two separate files.
1:07:16If you try to make one file with that one name
1:07:18and one file with the other name,
1:07:19you will just overwrite the same file twice.
1:07:21you like, HFS+ does not take your file name for what it is.
1:07:26It does something to it first,
1:07:27or rather the driver for HFS+ does
1:07:29to be compliant with the file system, right?
1:07:31This is one of the reasons that a lot of Unix nerds have,
1:07:33and I think Linus Torvalds had a big rant about it,
1:07:35but I couldn't find it on the internet,
1:07:36have complained about HFS+.
1:07:38I gave you what the file name is, it's supposed to be this.
1:07:42And you said, "No, I totally made that file for you."
1:07:44And then later, when I try to read that file
1:07:46and look at its name, it's not what I told you.
1:07:48And that's bad for things like Git,
1:07:50or Linux for that matter, or other things that deal with files,
1:07:52they don't expect that to happen.
1:07:54The sort of Unix-style approach is, here's a sequence of bytes
1:07:57that makes up this file's name, make that file.
1:08:00And then later, when I read that file, I'm going to look at its name,
1:08:03and it better be that.
1:08:05And I better be able to look it up with that name,
1:08:06and the name that comes on the disk better be with the bytes that I gave you,
1:08:09and if it doesn't, your file system is broken.
1:08:11But as I hopefully explained, if you do that,
1:08:14it's very easy for applications to make names that look exactly the same
1:08:19in the user interface, cafe and cafe,
1:08:21like they're indistinguishable.
1:08:22They're exactly the same pixel for pixel
1:08:25because you can't see the bytes
1:08:26that make up the Unicode string.
1:08:27You shouldn't care about them.
1:08:28And to users to be able to make the same file
1:08:30with the same name, with apparently the same name,
1:08:32that seems like a bug.
1:08:33It seems like something shouldn't happen.
1:08:34Which cafe file is the one that I want?
1:08:36They both have the same name.
1:08:37I don't know.
1:08:39So you can't do that.
1:08:40And that's why Apple doesn't do that.
1:08:42APFS now has to make some decisions about this.
1:08:45What should APFS do for file names?
1:08:47Should it do it the HFS+ way exactly?
1:08:49Probably not because that's got years and years of baggage
1:08:51floating around in it from the fact that it existed
1:08:54before Unicode, I think, or even when,
1:08:55or maybe just it came out when Unicode was very young.
1:08:57I think HFS+ predates Unicode, but not HFS+.
1:09:00But anyway, doing what HFS+ does
1:09:04would be best for compatibility,
1:09:06but it would also be slightly crazy.
1:09:07I don't think Apple wants to maintain
1:09:10their weird mapping tables forever
1:09:13with their different non-standard normalized forms.
1:09:17Should it do what many Linux file systems do
1:09:20and many other processes do,
1:09:21which is I take no position on file names.
1:09:24That's not my concern.
1:09:24You gave me a sequence of bytes and that's the file name.
1:09:27I will write that out to the file system.
1:09:28Later when you read it,
1:09:29you will get back that sequence of bytes.
1:09:30I don't know what that sequence of bytes means.
1:09:32Could mean anything.
1:09:33I have no idea what that stuff is.
1:09:34But anyway, here's what you said.
1:09:36My understanding is that that's what APFS does today.
1:09:38So if you run my little pro script in APFS,
1:09:41You can make two files that apparently are both named Caffe,
1:09:45but they're actually different sequences of bytes
1:09:47because one uses the combining acute accent
1:09:49and the other one uses the E
1:09:50with the little accent already composed on it.
1:09:52And by the way, I think it might be, well, anyway,
1:09:57when you, if you were to do this, when I did it in Perl,
1:09:59I had to choose how to encode the file name
1:10:02and I chose UTF-8.
1:10:04I think you can't, the API, well, I'm using Perl,
1:10:07so it has different rules about that.
1:10:08But the bottom line is when you,
1:10:10Somebody has to pick the byte representation.
1:10:13You can't give it a sequence of bytes for your string
1:10:15and use Unicode code point E9 or Unicode code point 301
1:10:19because they don't fit in a byte.
1:10:20So you have to figure out a way to fit them in a byte
1:10:22and that's what Unicode encodings are.
1:10:23And so I picked UTF-8.
1:10:24If I had given it UTF-16,
1:10:26I'm assuming it would have stored UTF-16
1:10:28and given me back UTF-16 and so on
1:10:30for all the other different encoding things.
1:10:32So as far as I can tell, APFS is a bag of bytes.
1:10:34That means it's case sensitive
1:10:36because bag of bytes means you gave me these bytes,
1:10:38here are these bytes.
1:10:38And so if another file comes along and wants to write "Cafe" with a lowercase c instead
1:10:42of a capital C, it's a different sequence of bytes, file system says, "Nope, no file
1:10:46with that name, here you go."
1:10:49I think this will...
1:10:51I don't know.
1:10:52I don't think this is the official position because APFS is not done.
1:10:55You can't even boot from it right now.
1:10:57It's obviously not finished.
1:11:00This is what I'm gonna be looking for in the coming months and in the rest of 2017.
1:11:05What will be the policy in APFS?
1:11:07Will they add case insensitivity?
1:11:09Once you decide to add case insensitivity,
1:11:11you have to make some decisions.
1:11:13At the very least, you have to make decisions about encoding
1:11:15because you can't compare case on two things.
1:11:17Like if someone writes one file name in UTF-16
1:11:19and one file name in UTF-8,
1:11:21something in the system has to understand that.
1:11:25You can't do case comparisons with strings encoded
1:11:28in different ways.
1:11:28Or maybe you just straightforwardly compare it as if,
1:11:31I don't know, it doesn't make sense.
1:11:32Case comparisons,
1:11:33you have to have an awareness of the encoding, right?
1:11:35So if they ever want to make a case insensitive version of APFS,
1:11:39they need to decide, here's how file names are encoded.
1:11:43And then beyond that, they have to make a decision
1:11:46about normalization.
1:11:47Do we do normalization at all?
1:11:48If you don't do normalization, you
1:11:50can get into these weird situations
1:11:51where you have files with apparently the same name.
1:11:54You could handle this all at the framework level,
1:11:56handle it all in Cocoa, handle it all in whatever
1:11:59higher level frameworks you like it, so on and so forth.
1:12:04I don't know if that's something that Apple will do.
1:12:05And it's not, I think this is not a minor decision
1:12:08because what you decide to do here has implications
1:12:12that ripple down through history
1:12:13as we saw with the HFS plus one.
1:12:14After you make this decision, it's not easy to change it.
1:12:17I suppose you could go with case sensitive now
1:12:20and do case insensitive later,
1:12:22but kind of like the opposite of what HFS did,
1:12:24going with case insensitive from the beginning
1:12:25and making a case sensitive variant.
1:12:27But anyway, this I think is one of, to me,
1:12:30the most important decisions that has not yet been made
1:12:33for APFS.
1:12:35And since it will probably happen before next year's WWDC,
1:12:38the only way we'll be able to tell whether it's made
1:12:40is looking at the APFS documentation online
1:12:43and continuing to run tiny test programs
1:12:45from languages other than Apple's frameworks
1:12:47to see what does the file system accept.
1:12:50I don't know what the right position,
1:12:52I don't have a particular position here,
1:12:53only I just want them to make a decision
1:12:56and for it to be a reasonable one.
1:12:59- And that's what I was about to ask,
1:13:00is that you don't necessarily have a preference
1:13:04between normalized and not normalized.
1:13:06You just wanna see that there is a declared statement
1:13:11as to how it's gonna work.
1:13:12- Yeah, and like a philosophical,
1:13:14some sort of philosophical statement of support,
1:13:16because in many respects, making the file system itself
1:13:19just be bag of bytes, which is you gave me bytes,
1:13:22I stored them, is very straightforward.
1:13:24It's the easiest to test.
1:13:26It is the simplest.
1:13:28It's the fastest.
1:13:29You can do really fast comparisons with it.
1:13:32It's everything you want from a performance perspective
1:13:34if you were like, say, on the file system team
1:13:36and you wanted to make a really fast file system.
1:13:38But from a user's perspective, it
1:13:39doesn't solve user problems.
1:13:41It doesn't solve user problems that HFS+ does.
1:13:46I don't know if you can solve it all at the framework level.
1:13:49I have to think that you can't really at the framework level
1:13:52entirely because there's so many different ways and so
1:13:57different programs that can write files to disk, and not all of them go through your frameworks,
1:14:02right? And it's madness to have some file names in UTF-16, some file names in UTF-8, some normalize,
1:14:10some denormalize, some a weird mix. That seems untenable to me from just the basic perspective of
1:14:16how do I correctly check whether a file exists? The file name, blah. How do I check whether that
1:14:22exists? It's like, well, how many different ways can you write this? You know, the only way I can
1:14:26I can check for this because the file system knows nothing about encoding.
1:14:29I say, "Hey, file system, do you have a file named cafe?"
1:14:32And the file system's like, "All right, well, what sequence of bytes do you want me to check
1:14:35for?"
1:14:36"Nope, I don't have one with that sequence of bytes."
1:14:37"Hmm, I think is there another way that I could write cafe?
1:14:40I could write it in UTF-32 with a combining accent.
1:14:42Do you have this sequence of bytes?"
1:14:43And the file system's like, "Nope, don't have that sequence of bytes."
1:14:45And the application's like, "Hmm, maybe they did it in UTF-16, but with the Latin small
1:14:49letter E with a Q on it."
1:14:50And they're like, "That's untenable."
1:14:52And so as scary as it is for the file system to make decisions about this, because they're
1:14:56just they're very difficult to change after the fact.
1:14:59If it doesn't, then every file system API
1:15:03needs to either be incredibly thorough
1:15:04or make it so that you can potentially
1:15:07create files with apparently the same name from the user's
1:15:10perspective.
1:15:11And I think that's not healthy either.
1:15:12So I don't know.
1:15:13It could be that we don't care about any APIs,
1:15:15except for the Cocoa ones, because we
1:15:16don't care what people going straight through the C APIs
1:15:19or writing Python scripts or whatever we're doing.
1:15:21All we care about is the things that go through AppKit and UI
1:15:24it and then you could have it be bag of bytes. I don't know. But I can hear arguments on either
1:15:31side of it, but the fact that nothing has been said so far and the fact that it just does bag
1:15:34of bytes now doesn't really tell me anything about their position. It just tells me they didn't get
1:15:39to that part yet. Because I think if they had got to it, it would have been in that presentation.
1:15:43Like the presentation of certain developers would say, "Test your application on APFS." They did
1:15:48tell them to test it based on the case sensitivity part, and that makes some sense because Apple has
1:15:53has shipped a case-sensitive file system for a long time,
1:15:55and a lot of applications break on case-sensitive file systems,
1:15:58like Adobe's applications and Microsoft applications,
1:16:01all apps that were created in the days
1:16:02before the Mac could even have a case-sensitive file system.
1:16:06Many of them, believe it or not, attempt
1:16:07to open files or libraries and stuff
1:16:09by file paths that do not match the case of the actual files
1:16:12on disk.
1:16:13You would think that those are the type of bugs
1:16:14that would have been fixed long ago,
1:16:16but the bottom line is Mac users don't
1:16:17run case-sensitive file systems for the most part.
1:16:20iOS, luckily, has always had case-sensitive file systems.
1:16:22But anyway, case sensitive is separate
1:16:24from whether things are normalized.
1:16:26So I think if Apple was committed
1:16:30to Bag of Bytes file naming,
1:16:32they would have maybe mentioned that
1:16:34in the file system session, but I'm not sure.
1:16:36But anyway, it's a thing I think about a lot,
1:16:38and I have concerns.
1:16:39- Our final sponsor this week is Backblaze.
1:16:43Backblaze is unlimited native online backup for Mac and PC.
1:16:48Go to backblaze.com/atp for a no credit card required,
1:16:52no risk, free 15 day trial.
1:16:54Now Backblaze is the best online backup.
1:16:58That isn't in the script, I don't know if they can say that
1:16:59but I can say that because I've used many online backup
1:17:02programs and services and Backblaze is by far the best one
1:17:07that's worked out for me and my favorite one
1:17:08and I've been using them since long before
1:17:10they were a sponsor.
1:17:11I have them backing up my computer, TIFF's computer,
1:17:13even my mom's computer.
1:17:15I have them backing up something like six terabytes
1:17:17of my data.
1:17:19It is so solid, it is literally never caused us a problem
1:17:23for the, I don't know, four or five years
1:17:25I've been using them.
1:17:26I highly recommend having online backup,
1:17:28especially if you're gonna be playing around
1:17:30with the file system on your computer.
1:17:32You should really have online backup to save your butt
1:17:36if you do anything stupid or if your local backups
1:17:38are all corrupted by bit rot from HFS Plus.
1:17:41So check out Backblaze today, backblaze.com/ATP
1:17:45for that risk-free 15-day free trial.
1:17:49Backplace has a bunch of other cool features too.
1:17:51So for instance, you can of course restore your files
1:17:54on the web, you can download files as a big zip file,
1:17:57you can even have them overnight you a hard drive
1:17:59with all your data, if it's like a ton of data
1:18:01and it'll be taken to download.
1:18:02And if you return the hard drive back to them
1:18:05within 30 days, you get a refund
1:18:07on the price of the hard drive.
1:18:08So it's a very effective way to restore
1:18:09a ton of data at once.
1:18:11And not only that, on the other side,
1:18:13if you wanna just restore one file,
1:18:15You can do it in the web interface
1:18:17or their iOS or Android apps.
1:18:19So one great use for this is if you're on your phone,
1:18:22or let's say you're traveling
1:18:23and you only have your laptop or something,
1:18:24and you wanna file it from your home computer,
1:18:26you can do this with Backblaze,
1:18:27'cause Backblaze has all your files.
1:18:29It's just automatically there, running,
1:18:31backing up everything.
1:18:32You don't really have to think about it,
1:18:33which by the way is how a backup should work.
1:18:34If you have to think about it, it's not really a backup.
1:18:37So with Backblaze, you can log in and just restore one file.
1:18:39If you forgot a file on a trip or something like that,
1:18:41it is incredibly convenient.
1:18:42I've done this probably five or six times now,
1:18:44because it's like, it doesn't happen often,
1:18:47but when it does happen, I'm so glad I have it.
1:18:49And that's kind of the story of online backup.
1:18:51Like, you won't usually need to use it,
1:18:54but you'll be really glad you've had it
1:18:56on those few times that you do use it.
1:18:58Just five bucks a month for unlimited space,
1:19:02unthrottled speeds per computer.
1:19:04So five bucks per month per computer,
1:19:06it is a great deal, unlimited space.
1:19:08So check it out today, go to backblaze.com/atp,
1:19:12and our listeners get a 15 day free trial.
1:19:14Backblaze.com/ATP.
1:19:17Thanks a lot.
1:19:17- You guys have any opinions on before we move on?
1:19:23Case sensitivity?
1:19:25(laughing)
1:19:27- So for the two questions that you've basically posed here,
1:19:34I think the file system should,
1:19:37you know, on the topic of like, you know,
1:19:38bag of bytes versus at least normalizing,
1:19:41you know, normalizing to some degree,
1:19:42whether you normalize for like Unicode normal forms
1:19:45for combining characters and things,
1:19:47or at least whether you normalize for character encoding,
1:19:49I think encoding is an obvious win.
1:19:51Like you should absolutely normalize for character encoding.
1:19:55And whatever encoding they pick,
1:19:58I'm less concerned about that.
1:19:59If you pick UTF-8, cool.
1:20:02Whatever encoding they wanna pick, that's fine,
1:20:05but I think it is a clear win
1:20:07that the encoding should be normalized
1:20:10for file system access.
1:20:11Whether or not normalizing forms of characters
1:20:16and case sensitivity, I mean, that's kind of
1:20:18two different degrees of the same kind of thing,
1:20:21that I am less confident on, but my inclination would be,
1:20:26I think the era of case insensitivity is probably over,
1:20:32but I would say that if I were designing a system,
1:20:36and having heard no other arguments
1:20:38except for your large amount of them.
1:20:41(laughing)
1:20:44I think the Cocoa APIs should be responsible
1:20:48for normalizing or not normalizing the name,
1:20:51like you know, case and combining characters wise.
1:20:54That the low level C APIs and like the raw interface
1:20:58of the file system should not perform
1:21:01that kind of like messing with characters.
1:21:03- Should the file system throw a fatal error
1:21:05if the encoding is incorrect,
1:21:08like if you give an invalid UTF-8 sequence,
1:21:10should that just not work?
1:21:11Or should it dutifully write those to disk anyway?
1:21:14- Yeah, 'cause if it doesn't do that,
1:21:15then you have the same problems before,
1:21:16where you can write a name,
1:21:19and then you go to read that name and it's not there.
1:21:22So I can see why that could be a problem.
1:21:24So maybe yes, maybe the answer is that
1:21:27if you try to have an invalid sequence in the name
1:21:30that you give it, then maybe it does error out.
1:21:31I don't know.
1:21:33- All right, because it's basically a question of,
1:21:34So say they pick UTF-8, which is exactly what they'd pick, because that's what everyone
1:21:37picks, because all the other encodings are stupid-er.
1:21:41If they pick that, then they could just say, "Oh, when you write your file names to APFS,
1:21:48you should write them in UTF-8."
1:21:50And then if you don't do it, that's your own stupid default.
1:21:53In other words, there's a policy, not an implementation enforcement.
1:21:58And so then later, when some other program tries to...
1:22:00In other words, if you wrote it with an invalid UTF-8 sequence, and then later your program
1:22:03tried to read it with that same invalid UTF-8 sequence, it would find it, right? But it would
1:22:07be garbage and then any other API that's trying to like compare files or whatever would just,
1:22:12you know, fail in weird ways because you have not even written a valid UTF-8 sequence and when it
1:22:17does it, like if you tried to say, "Is there a file called CAFE?" it would be like, "Nope,
1:22:20don't see it," because you just wrote an invalid sequence. The other one is to have the file system
1:22:26enforced at the, you know, at the driver level and all the various operating systems.
1:22:30if you pass some file name down through the system, down through the BSD layers,
1:22:34at some point we're going to look over your entire sequence and confirm is this a valid
1:22:37UTF-8 sequence? And if it's not, boom, everything blows up, forget it, nothing works, or you know,
1:22:42whatever. And I don't know, I think checking for, checking that it's valid UTF-8 shouldn't take long
1:22:50and should be fairly straightforward because we're not dealing with large volumes with data,
1:22:53so that's what I think they would go with if they make that decision, that it will essentially be
1:22:56impossible to write an invalid UTF-8 sequence to a file name, which could also break applications.
1:23:03Every decision they make, aside from "make it work exactly like HFS+," is going to break
1:23:07applications. And "make it work exactly like HFS+" is the one decision that I think is
1:23:11entirely wrong.
1:23:12I mean, heck, in this day and age, it wouldn't have been reasonable to have an actual Intel
1:23:17hardware instruction to validate a sequence of UTF-8 characters.
1:23:21Yeah, because the rules aren't that complicated.
1:23:24No.
1:23:25You don't even have to see whether it corresponds to a defined code point and a unified standard.
1:23:30That's more difficult to do, certainly in hardware.
1:23:32No, it's just like bit masking.
1:23:34Yeah.
1:23:35But anyway, I suspect that's probably what they'll end up being doing.
1:23:38But case sensitivity, I think, is still a weird issue because I think users of computers,
1:23:45even just on iOS where you're not really ever prompted to write a file name, but certainly
1:23:49on the Mac, having two files called like, I don't know, like, you know, XMIS, and then
1:23:55you write a file called XMIS but you decide to capitalize the X and you end up with two
1:23:58files, you know, you thought you were overwriting the previous one, I don't know, that just—case
1:24:02insensitivity I think is more like how regular people think computers work.
1:24:06Case sensitivity is how programmers think computers work, for sure, so I'm sure that
1:24:11it would be very popular with programmers, but I mean, or maybe not, because like I said,
1:24:16The fact that there are still Mac applications that only work on case-sensitive file systems
1:24:20due to eminently fixable errors in their source code, it's like that's never going to change
1:24:27unless you force it to change.
1:24:28So, I don't know.
1:24:29Casey, you have opinions?
1:24:30Yeah, you know, I think that of all the places you want to have the Wild West, the file system
1:24:36is not it.
1:24:37And I think that forcing and encoding makes sense.
1:24:41I agree with you mostly that users expect case insensitivity, but I don't know.
1:24:52I think what with the internet running on Unix for the most part and URLs generally
1:24:56being case sensitive, I think that people are starting to become more comfortable with
1:25:01that.
1:25:03So if I had a vote, I would say enforce something like UTF-8.
1:25:08If you write something that's garbage or not UTF-8 encoded, barfall over it and do so violently.
1:25:16And I would favor a case sensitivity by default.
1:25:19That's my vote.
1:25:20I don't think anyone's in favor of normalization, but like I said, you end up in weird situations.
1:25:24So I would suspect if they don't touch normalization at the file system level, then they do it
1:25:29all at the API level.
1:25:30But then it's just, it's pretty easy to make fairly absurd situations where I bet you could
1:25:36pick some word or phrase that has a huge number of possible combinations, like in some language
1:25:42that uses accents on its characters, and just, you know, the number of possible permutations
1:25:47goes up pretty quickly as you add the accented characters. Then you can make a folder full of
1:25:51literally hundreds of files that all appear to have exactly the same name in the Finder.
1:25:54That's something you can't do in HFS Plus, and it's something that you shouldn't be able to do,
1:26:00but will be able to do with the file system, even if they pick an encoding, but they don't
1:26:04don't pick a normalization.
1:26:05So that's why I'm thinking about it.
1:26:08That's because it's not a straightforward problem.
1:26:09It's not an obvious answer.
1:26:10Oh, clearly Apple will do this.
1:26:12There is no easy answer.
1:26:14I never thought we'd talk this long
1:26:15about the detailed implementations of dealing
1:26:18with file names in a file system.
1:26:20Well, it's more just about Unicode.
1:26:22And even though you and I both know it having dealt with it,
1:26:25but I can tell you the first five times I dealt with Unicode,
1:26:28I still didn't understand it, only on the sixth time.
1:26:32If you have never heard anything about Unicode, hearing what I just said about all the code
1:26:36points and normalization is not going to sink in.
1:26:38But it's weird, and if you don't know about it and think about it when dealing with strings,
1:26:44you will eventually be sad.
1:26:45No, I mean, dealing with Unicode, in my experience, is a lot like parenting, in that the more
1:26:52you—the more experience you get in the area, the more you realize that you will just always
1:26:57be wrong and there are no good answers.
1:26:59Wow.
1:27:00Well, I mean, there's one thing that's just understanding the standards, which I think
1:27:03is difficult enough.
1:27:04And then once you understand the standards, then you realize no matter what I pick, there
1:27:08are downsides.
1:27:09And then the real sad realization is that you realize all the places, if you're a programmer,
1:27:13you realize all the places in your program where text is coming in without the encoding
1:27:18specified.
1:27:19And you're like, I don't even know what the right thing to do is.
1:27:22How is this going to be encoded?
1:27:24This is just bytes coming across some sort of, you know, reading out of a disk, a file
1:27:27on disk, or coming across the network.
1:27:30And then you end up rippling outwards and asking all of your input sources, "Hey, could
1:27:34you tell me what encoding you're using?"
1:27:35And they say, "Encoding?
1:27:36What?"
1:27:37And then you realize you basically have an intractable problem where, especially if you're
1:27:40accepting input from the wider world, that it doesn't come tagged along with what encoding
1:27:46it is, and you don't know how to make sense of it unless you know the encoding, so you
1:27:49kind of have to, "I can detect the encoding through a bunch of heuristics, or I can guess,
1:27:52or I can try to enforce downstream that you should only give it to me in this encoding."
1:27:55And then you find out how many people are actually sending you things that don't conform
1:27:59or all of a sudden you get a bunch of UTF-16 or shift-gis and you have, oh, this is terrible,
1:28:04text is terrible, we should communicate through a series of ones and zeros, it would be much
1:28:08easier.
1:28:09[laughter]
1:28:10Wow.
1:28:11I've never heard shift-gis discussed in a podcast, and I don't think I ever will again.
1:28:17Oh, yeah, but my first big normalization project was, like, I would have killed for UTF-8.
1:28:22Like, that's how bad it was.
1:28:25Before Unicode, things were worse, let's just put it that way.
1:28:27- Yeah, no, I mean, that's what, like,
1:28:29I mostly avoided having to deal with these issues
1:28:31over time with my various web servers,
1:28:33'cause like, you're right that like, in native apps,
1:28:36you don't generally have to deal too much with this.
1:28:39On the web, you gotta deal with it all the time.
1:28:41And the easiest thing on the web is to just
1:28:43make all your pages serve UTF-8, serve themselves as UTF-8,
1:28:48which would then make all browsers default
1:28:49to sending you UTF-8 in forms.
1:28:52- Only the modern world will make your browsers do that.
1:28:54In the old world, you could do whatever you wanted
1:28:56with your web pages, but people in Japan
1:28:58were gonna be sending you things in a different encoding,
1:29:00and it doesn't matter if you put UTF-8 as the,
1:29:02you know, like, that was great when browse
1:29:04just finally started to honor the encoding of the page.
1:29:07- Yeah, but that, I mean, that was,
1:29:09most of my career has been after that.
1:29:10I mean, like, when we were building Tumblr in 2006,
1:29:13that was the case, so it's been okay.
1:29:15But, and then, the only time I really had to think
1:29:18about Unicode on web stuff recently
1:29:21is when emoji came around, and I had to alter
1:29:24all my MySQL tables to be the UTF-8 MB4 character set,
1:29:29which is annoying.
1:29:30But after that, it was fine.
1:29:33- MySQL made some Unicode mistakes.
1:29:36The best part of the web and coding is,
1:29:39even coming into the case sensitivity,
1:29:41is the old URL that we increasingly don't see
1:29:44in our address bar.
1:29:45The hostname part is not case sensitive,
1:29:47whatever you think that means.
1:29:49The encoding for URLs is,
1:29:51I think it is basically limited to ASCII,
1:29:55but there's this way you can encode Unicode code points
1:29:58with the special escape sequence-y thing.
1:30:00It's not-- - Yeah, in the hostname
1:30:01there is, in the rest of the URL,
1:30:03God knows what's going on there.
1:30:05In the hostname, there's a special
1:30:06international domain extension thing,
1:30:08but that has a bunch of security problems, actually.
1:30:11- Right, of course, and then like you said,
1:30:13for the rest of the URL, it's kind of the Wild West,
1:30:16and it's the worst that half of the string is case-sensitive
1:30:19and half of it isn't, again, whatever the hell
1:30:20think case sensitive means. URLs are still a problem. But in that respect, the body of your
1:30:27HTML documents is blessedly normalized at this point. Because like you said, most modern browsers
1:30:32honor the encoding. Anyway, text is hard. All right. Well, speaking of things that are hard,
1:30:39how about data integrity? Yeah, I'm touching this last time. This is the one feature I wanted from
1:30:45from APFS that it did not deliver, and we're speculating about why that might be or if
1:30:51it really was the case.
1:30:52Data integrity, just a quick review, is basically the idea that if a program writes some data
1:30:59to disk, later it reads that data back, the data that it originally wrote should be the
1:31:04data that it gets back.
1:31:07And that could be a day later, a year later, ten years later.
1:31:11If that's not the case, because hardware is fallible, you would like the file system to
1:31:16know, "Hey, you asked for these bytes, but it turns out that since they were written,
1:31:22they have been screwed up."
1:31:24So restore from backup or solve this problem in other ways.
1:31:28ZFS and some other file systems have a way to make multiple redundant copies of the same
1:31:32data, and when they detect this error they can fix it, because they have a good copy
1:31:37and a bad copy and they will just ignore the bad copy and use the good copy and write another
1:31:41copy of the good one or whatever.
1:31:43All that stuff is expensive because it
1:31:45means you have to write out checksums with all of your data
1:31:47and you have to sort of do end-to-end checksums
1:31:50so that everyone is sure, yep, I'm sending you this
1:31:52and here's the checksum.
1:31:52Yep, I got that and here's the checksum.
1:31:54I'm writing to disk and making sure everything is all good.
1:31:57That's a feature of ZFS.
1:31:59It's a very important and wonderful feature of ZFS.
1:32:02But it has a cost associated with it,
1:32:04both in terms of computation of computing all those checksums
1:32:06and also dependency because you can't really
1:32:10be done writing the data until you've also made sure all the data was written correctly
1:32:13and then also written the checksum and made sure that, you know, so there's lots of dependencies
1:32:17that are inherent in that. And mostly I wanted it for the case of bit rot as in over long
1:32:23periods of time. I write out my family's photos to disk and I make backups of that disk and
1:32:28I push that up to backblaze and it's on time machine and I'm doing super duper clones.
1:32:32And if some of those bits are flipped because of errors in the hardware, all I'm doing is
1:32:36copying those now corrupted bits over and over and over again over the years to different backups.
1:32:41You know, the incremental backups don't go on forever. There's a window of time, you know,
1:32:44before they'll fit on the disk and the same thing with backblaze. They don't think they keep your
1:32:48backups forever and ever and ever, every different version. So eventually you will just have be
1:32:54propagating the corruption over the years until 20 years later when you try to look at some baby
1:32:57picture, your favorite baby picture is all messed up and all scrambled in JPEG because a bunch of
1:33:01bits flipped and you don't know which ones. That's what I'm trying to protect against.
1:33:05and APFS does not provide that feature, does not have the option to write out checksums with all
1:33:11of its file data. Now APFS is a flexible file system intentionally designed to be extensible
1:33:16without breaking backwards compatibility. This feature could conceivably be added in the future,
1:33:22hell it could be added before 2017, they got a whole year right, but it's not there right now
1:33:26and that's a little bit disappointing. It does write checksums for metadata. Metadata is like
1:33:31here's what the file's name is, here's all the dates, the ownership, the permissions,
1:33:34and here's where each individual piece of this file data is on the disk so you know where to go
1:33:38get it. I keep saying disk but you know what I mean. And it writes checksums for metadata.
1:33:43I mean there's good reasons to do that, mostly because this file system, like many others,
1:33:49tries to... doesn't do always consistent on disk representation but it comes close. It wants to
1:33:56know did I finish this operation? So if someone yanks out the plug to your computer and it was in
1:34:00the middle of writing a file, what you want to happen when you reboot is either the entire file
1:34:04is there or none of the file is there. And checksums on metadata could conceivably help
1:34:09with that because what you're going to do is you're going to write the data and write the
1:34:13metadata, but if the metadata is not complete, like if we didn't finish, if we're not done,
1:34:17then you just ignore all of that. It's all invalid and the file basically isn't there.
1:34:20You have a consistent file system. Don't worry about that partially written file or that partially
1:34:24written metadata or whatever. And how do you tell whether the metadata is partially written? Well,
1:34:28all your metadata has checksums. When you're looking at that piece of metadata, you can look
1:34:32at it and do the checksum and say does the checksum match the metadata and if it does
1:34:36it's complete and if it doesn't you know you can do that with journaling and stuff but
1:34:39apfs does not use journaling journaling is a relatively expensive way to do the same thing
1:34:43where you sort of write out what you plan to do then you do it then you write out that you're done
1:34:47and that's how it can tell whether you finished an operation or not and metadata is in general
1:34:52more important than data because if you screw up the metadata you could hose your entire disk like
1:34:56screwing up the metadata for an entire directory and then everything under it becomes invisible
1:34:59or whatever. And metadata is really small and the checksums are really fast on it,
1:35:03so there's no real performance hit. So APFS does do checksums with metadata, does not do it with
1:35:08data. This is a topic that came up a lot at WWDC, talking to other people who had... The other file
1:35:14system nerds who had also talked to people on the file system team about APFS. And I think this was
1:35:23a very popular feature suggestion. "Hey, it would be great if APFS had data integrity." Or the
1:35:28question why doesn't APFS have data integrity and a lot of the the reasons
1:35:32are you know things that I said that is potentially expensive one of the reasons
1:35:37that I heard was that SSDs do their own checksumming internally which is true
1:35:42they do because they have to deal with the pretty startlingly unreliable nature
1:35:48of flash storage you know all sort of memory chips are inherently at the
1:35:55bottom tiny little analog devices that are a little bit scary when you find out
1:35:58how they work, and SSDs are no different.
1:36:01SSDs have over-provisioning, where they have many more memory cells than they're going
1:36:05to use, and there's actually a tiny little operating system in there that's trying to
1:36:08distribute all this stuff to all the storage, and they wear out if you use them too much.
1:36:12It's very, very complicated.
1:36:14But they do copious, not just checksums, but also error-correcting code, so if they find
1:36:18a bit flip because of some analog error or whatever, they can fix it before returning
1:36:22the data.
1:36:23So that's one of their stopgaps, is like, "Hey, spinning disks don't do that so much,"
1:36:27they're going out and SSDs do the checksums.
1:36:30That's not really a great solution
1:36:31because there are other places
1:36:32that errors can be introduced like,
1:36:35other hardware other than the SSD itself,
1:36:37like the bus and everything.
1:36:37But since Apple controls that entire chain,
1:36:41they control the bus, they control the SSDs in theory,
1:36:44especially since they make Macs.
1:36:45Don't make Macs anymore that you can swap
1:36:47lots of different hard drives into and everything.
1:36:49That they're a little bit better off than everyone else.
1:36:51But it doesn't really help with bit rot.
1:36:52If I write all my family photos to a one terabyte SSD,
1:36:55they get there successfully.
1:36:56And then five years later, I have no idea
1:36:58if those bits are flipped.
1:36:59The file system can't tell me because it doesn't know what
1:37:01bits were originally written.
1:37:02All it can do is read them and say,
1:37:03here's what I've got on disk.
1:37:04Is that what you wrote five years ago?
1:37:06Beats the hell out of me.
1:37:07I don't know.
1:37:07So I've been thinking about possible other solutions
1:37:11if Apple never builds in Data Integrity to APFS.
1:37:14And one of them is something that I
1:37:16think there's an HFS+ program that does this already.
1:37:18User space solution.
1:37:21Just scan all your files, checksum them,
1:37:23write out the checksum someplace else.
1:37:25And then if anything goes wrong with either the checksum
1:37:28or the data itself, the two won't match anymore,
1:37:31and you will know that your file is corrupted
1:37:33and you can restore it from backup.
1:37:35So it's sort of a user space manual process
1:37:38of scanning all the files that you care about
1:37:40and writing out the checksums,
1:37:41then periodically scanning them all again
1:37:42and making sure the checksums all match.
1:37:44And if any of them don't match,
1:37:45then restoring from your presumably good backup.
1:37:48So it's basically protecting against bit rot
1:37:50by actively doing some process periodically,
1:37:52hoping that you don't propagate
1:37:54whatever corruption has appeared into all of your incremental backups.
1:37:57You will know about the error in enough time to restore from your backups.
1:38:00And that's kind of a heavyweight solution.
1:38:02I forgot what the name of the HFS+ program that does that.
1:38:06Clusters, maybe?
1:38:08Or maybe that's just the compression one.
1:38:10Anyway, I'll try to look up for the show notes.
1:38:13Of course, if you're a programmer and you think about this problem for more than a few
1:38:17seconds, you realize that there is a big race condition here, where if you're trying to
1:38:22to read a file and checksum it, and then write out that checksum, what if between the time
1:38:27that you read that file and the time that you wrote the checksum, something modified
1:38:31that file? What if it modified it while you were in the middle of reading it? Your checksum
1:38:35in your file won't match, and it will appear as if corruption occurred. So you could do
1:38:39a thing where you just say, "Okay, if I read the file, I'll calculate the checksum, then
1:38:43I'll write the checksum. After I write the checksum, I'll read the file again, and if
1:38:47it doesn't match the checksum, I won't assume it's corrupt, I'll just try to do it again."
1:38:51You're just racing yourself over and over again until you get a matching set and you're
1:38:54like, "Oh, finally, I got a matching set."
1:38:55But you're not solving the race condition that way.
1:38:58It's essentially an intractable race condition without help from some other part of the system,
1:39:03without help, for example, a way to say, "I want to stop anything else in the system from
1:39:08writing to this file."
1:39:09And in general, operating systems don't provide ways to do that.
1:39:13They provide advisory locking, but it's very difficult to stop anything else from writing
1:39:19to a particular file in general.
1:39:23Luckily, both HFS+ and, I assume,
1:39:26APFS include a feature that can help with this.
1:39:29I don't know why it was added to HFS+,
1:39:31but it's been there for a couple of years now, I think.
1:39:34And it is, what is it called?
1:39:36It's called the Write Generation Counter.
1:39:39You can get this on any file today on your Mac in HFS+
1:39:42if you call get_adder_list.
1:39:43It's called the constant in the get_adder_list man pages.
1:39:46Adder common gen count.
1:39:48It is a, according to the documentation, non-zero monotonically increasing generation count for this file system object.
1:39:55So it's for all file system objects, not just files.
1:39:57And it's basically a number that goes up anytime anything happens to a file.
1:40:00So all you gotta do is store both the checksum and the generation count,
1:40:05and then you will know this checksum is for this generation count of the file.
1:40:08And if anything in the entire system does anything to that file, that number will go up, and you'll know your checksum is invalid.
1:40:14So in the future, when you're checking for corruption, you won't be confused and say,
1:40:18"Oh no, I've detected corruption," because you will know that, yeah, the checksum doesn't
1:40:21match the file data, but that checksum was for generation count number five, and the
1:40:25file is currently on generation count number seven, so it's time for you to recompute a
1:40:28checksum.
1:40:29So it is a system-guaranteed way for you to match up the checksum and the generation count
1:40:34and the content of the file.
1:40:35And that is very handy, and it makes me think that—I'm going to pull a Marco here—I
1:40:40I should write my first Mac program, which is a file that just does these checksums,
1:40:44and use it because, I mean, I'm not going to say I could write it in Perl, but I totally
1:40:47could write it in Perl.
1:40:48But no, like an actual Mac program that does this?
1:40:50It's really straightforward.
1:40:52The only real problem is where you write the checksums.
1:40:54You could write them to extended attributes, that seems kind of antisocial to me.
1:40:57You could write them to a separate database, but it better be able to handle millions of
1:41:00things.
1:41:01But anyway, I'm actually thinking about this.
1:41:02A program, a simple program that you point to the subdirectory that does a bunch of checksums
1:41:06for it and periodically scrubs it and tells you if anything has gone corrupt.
1:41:11I think a local SQLite database would be a pretty good way to do that.
1:41:14You say that because you have never inserted more than a million rows in a SQLite database.
1:41:18I have, and I can tell you it falls over badly.
1:41:22Even like a simple, because that would just be like, you know, a string key, well, God
1:41:26knows how you'd represent the file name, but however you'd represent the file name, a string
1:41:30key and a checksum.
1:41:32You don't know how to do the file name, but you can do--
1:41:34you have a unique ID for the file.
1:41:36And that's another thing you can get from HFS bus, right?
1:41:39So you just basically store only two integers?
1:41:41Yeah, it doesn't do well.
1:41:43If you try to do a graph of inserting--
1:41:46I never tried it with pure integers.
1:41:48I've always had some string in there.
1:41:49But once you get into the millions,
1:41:51the insert starts slowing way, way, way down.
1:41:55I know this from experience.
1:41:56Can you provide a custom value to be the row ID?
1:41:59Oh, to get rid of the sequence?
1:42:01Yeah, get rid of one integer. If you can provide a custom value to the row ID, then each row
1:42:06would only have effectively one column. Yeah, I don't know why it's slow. Maybe I
1:42:10had indexes on it, but anyway, I did it for data that was a couple of integers and a couple
1:42:14of strings, and I left the row ID, and in the millions, disaster becomes unusable. It's
1:42:21fine in tens of thousands, it's okay in hundreds of thousands, but once you get into millions
1:42:26– and this was maybe three years ago, so maybe things are improved. But anyway, there
1:42:29There are solutions to this.
1:42:30It's not an impossibility, is what I'm saying.
1:42:33I'll just start in a P list.
1:42:34It'll be fine.
1:42:35For whatever it's worth, I'm pretty sure there is some kind of optimization where if you
1:42:39-- I think if you provide some kind of like big int column instead of the row ID, I think
1:42:45it'll use that as the row ID or something like that.
1:42:47You have to look at the documentation to be sure.
1:42:49Yeah, there's a lot of optimizations to SQLite to make it sort of less safe but faster.
1:42:54But doing it in extended attributes would be entirely straightforward, but I'm not sure
1:42:58that's the best solution, especially if you have only read permission to the files and
1:43:01you can't write extended attributes to them. Anyway, let's think about it, because extended
1:43:06attributes is totally the way to do it. Time Machine, by the way, does keep checksums with
1:43:10all of its files and has for many years. I forget where it stores them, probably in extended
1:43:13attributes, but who knows. But anyway, in Time Machine, it owns the entire area that it's writing
1:43:17to, so it doesn't have to worry about permissions issues. But anyway, there could be a limitation
1:43:22of the program. Hey, if it can't checksum a bunch of files, it'll just tell you when it's done. Yeah,
1:43:26you pointed me this directory and it turns out there were, you know, 7,000 files that I
1:43:31could not check some because I can't write them. I don't know. I've been thinking about it a little
1:43:34bit. This is the world's most boring program, but in the absence of file system support for
1:43:39bitrot detection, we need some solution. And since it's technically possible on HFS+ too,
1:43:45because like I said, this feature, this generation write counter is on HFS+ now. It's just that I've
1:43:49never really thought about doing it, as I always assumed the file system would come and save me,
1:43:53me, but if that doesn't turn out to be the case, I take matters into my own hands.
1:43:56I mean, if there's ever an app that would be perfect for today's John Siracusa to make
1:44:04and publicize, I mean, I can't think of something that would be better.
1:44:08Yeah. I mean, the other solution, as many people will tell you, "Oh, just use FreeNAS
1:44:11to make a ZFS NAS and put all your data on that," and that would be a solution.
1:44:16Nah, nobody wants to do that.
1:44:17My Synology doesn't—Synology supports BTRFS now, which I think has data check summing,
1:44:22My Synology doesn't support it.
1:44:23So maybe when I-- when I--
1:44:24NASA eventually dies and I replace it,
1:44:26I'll buy one with ZFS and that'll solve the problem.
1:44:28But in the meantime, I may experiment with this someday.
1:44:31Well, and the best thing is you'll
1:44:32get Sherlocked in like two years when they add-- when they add--
1:44:35Exactly.
1:44:36So the full developer experience.
1:44:37Yeah, exactly.
1:44:38Just when I finally get it working, they'll be like,
1:44:41now APFS has data integrity.
1:44:43Yeah, get rejected from the Mac App Store
1:44:45because it won't be sandboxable at all.
1:44:47Yeah.
1:44:47It'll be perfect.
1:44:50Try to sell it.
1:44:51get, you know, there'll be some like competitor that'll sell theirs for less.
1:44:54And then, like I said, I think there's already a program that does this for HFS
1:44:57Plus and presumably that same program will work on APFS.
1:45:00I forget what the name of the program is, but yeah, this is not, this is not a new
1:45:02idea.
1:45:03I think this is already implemented in an application.
1:45:05I just can't remember the name, which is probably why I don't have it installed.
1:45:08Or like, seriously though, when I think about it, it's like, why haven't you done
1:45:11this before?
1:45:11Why aren't you running the HFS Plus one that does this?
1:45:14I was always just thinking that this file system would save me.
1:45:17I just thought like, well, I'll just, I'll stick it out.
1:45:20And there'll be a new file system here probably next year, and I've been thinking that for
1:45:23a lot of years now.
1:45:24It finally came.
1:45:25No data integrity.
1:45:26All right.
1:45:27What else is going on in the Apple file system?
1:45:31Tell me about space sharing.
1:45:32Is there more?
1:45:33Yeah, we've got to save that for now, but I just wanted to get data integrity.
1:45:36That's why I shuffled around.
1:45:37We'll save the other details for the rest of the show.
1:45:39These are the main points I wanted to get to that weren't discussed.
1:45:42We'll talk about space sharing and atomic clones and snapshots next week probably.
1:45:45All righty.
1:45:46Thanks a lot for the responses this week.
1:45:48fracture, hover, and backblaze, and we will see you next week.
1:45:55This show is over, they didn't even mean to begin
1:45:59'Cause it was accidental (accidental)
1:46:02Oh, it was accidental (accidental)
1:46:05John didn't do any research, Marco and Casey wouldn't let him
1:46:10'Cause it was accidental (accidental)
1:46:12Oh, it was accidental (accidental)
1:46:16And you can find the show notes at ATP.fm
1:46:21If you're into Twitter, you can follow them @C-A-S-E-Y-L-I-S-S
1:46:29So that's Kasey Liss, M-A-R-C-O-A-R-M
1:46:34Auntie Marco Arment, S-I-R-A-C
1:46:39U-S-A-C-R-A-C-U-S-A
1:46:41It's accidental (it's accidental)
1:46:44They didn't mean to accidental (accidental)
1:46:49Tech broadcast so long
1:46:54Sorry talk about Tebow
1:46:56Hey, I still only know something I forgot about that. I'm gonna get to it someday. We're never gonna talk about teeth
1:47:01No, we are we are gonna talk about Tebow
1:47:04But a time we get to it people are gonna care even less than they do now and that's pretty that's pretty impressive really
1:47:09When you think about it, I'll care
1:47:11You will be the only one when I own Apple buys what the hell's that name like?
1:47:16I'm saying Rovio, but it's not the Angry Birds company. I below so when Apple buys them then all of a sudden we'll care
1:47:22Well, then we will talk about it.
1:47:25Until then, don't see the point.
1:47:26(laughing)
1:47:29But to be fair, I have nothing else to talk about,
1:47:31so whatever.
1:47:33- I discovered during our show that you can,
1:47:38I don't know when this became possible,
1:47:41but mail.app on the Mac now supports flagging
1:47:45where the flags can be any color
1:47:47of this list of multiple colors.
1:47:48- Yeah, it's been that way for a while, I thought.
1:47:50- How long have, I've always just hit,
1:47:52Command + Shift + L or whatever it is, to set the flag.
1:47:55I've never known there were multiple flags.
1:47:58Now I can make my crappy email filing system even worse
1:48:01by making all the flag messages that I never get back to.
1:48:04Now I can make them different colors
1:48:05that I never get back to.
1:48:06- And color your shame.
1:48:08- Yep.
1:48:09- Wow.
1:48:10You know, if you never get back to them,
1:48:11maybe it's not worth flagging them.
1:48:13- Yeah, that's probably right.
1:48:15- No, that's not how that works.
1:48:17He's flagging them because he thinks
1:48:18he has to get back to them.
1:48:19And by saying, "Because I failed to,
1:48:21they must not have been important. But that's not true. One of them could be like, "Pick
1:48:25up Adam from daycare." It's like, "Well, I never did it, so I guess that one's not
1:48:27important. Let me un-flag it."
1:48:29Well, the good thing is like when you are as crappy and as slacking as I am with dealing
1:48:35with email and responding to email, most email removes the need to respond to it if you just
1:48:42don't do it for like two weeks. But on the other hand, I'm probably losing a lot of friends
1:48:47and colleagues by doing this, so it's definitely not free.
1:48:51Sending email to Marco is sending an email into a black hole. It's sending it to Dev
1:48:55Null.
1:48:56We're just coming up with a new topic for a future show. Let me write this in.
1:48:59What?
1:49:00What? Email?
1:49:01Email handling.
1:49:02Yeah, no one's ever done a podcast on that before.
1:49:05I know, but it sounds like you guys have very different systems, and I think it's worth
1:49:09talking about.
1:49:10You're assuming I have a system.
1:49:11Exactly. That's right. This is a whole show. I'm writing it.
1:49:14My collection of hacks is not really something I would describe as a system.
1:49:19It is more just like a gradual progression of shame.
1:49:23I know.
1:49:24Wait, you're adding it in to the show notes?
1:49:27How we handle email, future topic.
1:49:29Screen time for kids is also, I don't know if it's still in the document, but that's
1:49:32also a topic that I think we should get to.
1:49:34My people have threshold of ancient history.
1:49:36It doesn't say ancient, your kids just get older and they get more screens.
1:49:39Declan's going to be getting into screen time now.
1:49:41Adam is already into screen time.
1:49:43It's a good topic. It's a whole show.
1:49:45Yep.
1:49:46Yes, because that's what we need to do as a parenting show.
1:49:48Yes.
1:49:49Not parenting. It's tech-related. It's tech-related parenting stuff.
1:49:52We should do the parenting show right after doing the email show to really ensure that we get the most emails.
1:49:57Oh, God.
1:49:58People love these topics.
1:50:00I know. Technology is part of their lives, and part of technology, as Casey will tell you, is your feelings about it.
1:50:08Mm-hmm.
1:50:09Are you still on Episode 5 of Analog?
1:50:12- Sure.
1:50:13(laughing)
1:50:14I think I listen to random episodes.
1:50:17Like I'm not going, you know,
1:50:19every once in a while there's a random episode
1:50:20that people say I have to listen to, so I listen to it.
1:50:22But yeah, sequentially, yeah.
1:50:25- I listen to all of them because I'm a good friend.
1:50:26- Thank you, Marco.
1:50:27Exactly, you're the one who cares.
1:50:29- You have a lot of free time.
1:50:30- That too.
1:50:31(laughing)
1:50:32- Because you're retired or something.
1:50:35Oh goodness.
1:50:36- I actually have a busy summer.
1:50:37- Explain.
1:50:38- Well, you know, I'm going on vacations.
1:50:40No, I'm just--
1:50:41(laughing)
1:50:43- So busy.
1:50:45- I mean, I'm busy trying to parallelize an MP3 encoder
1:50:47from the early 2000s.
1:50:49- I think it's a sign of not being busy,
1:50:51I think that's what that is.
1:50:52- This is also just kind of like a procrastination tactics
1:50:55for to avoid me having to dive into the iOS 10 stuff
1:50:58quite yet.
1:50:58- I was gonna say, what are you not doing
1:51:01that's making you parallelize the MP3 encoder?
1:51:04- I have like a lot of like big things to do
1:51:07on Overcast for iOS 10.
1:51:08Just like, just you know, the obvious stuff
1:51:10like rewriting the watch app for watchOS 3 and then looking into all the new widget and
1:51:15notifications stuff everywhere. It's just going to be a lot of work like that and some
1:51:21big projects that like even just starting them is kind of daunting. So I haven't had
1:51:25a lot of good work time in the last few days so I've been kind of just like chipping away
1:51:29at side projects and administrative work here and there just in the time I have.
1:51:33You've been too busy in the bouncy house.
1:51:35Yeah, well that's one of the side projects is bouncing.
1:51:37That'll really take time out of your schedule.
1:51:39Like, sorry, I would be doing development now, but that house is not going to bounce
1:51:42itself.