Looking Back on Swift 3 and Ahead to Swift 4: mjtsai.com/blog/2016/07/3… #mjtsaiblog
@rosyna Yep, I had it tagged Microsoft.
Developer Tools Survey: mjtsai.com/blog/2016/07/2… #mjtsaiblog
Don’t Trust Sourceforge Downloads: mjtsai.com/blog/2016/07/2… #mjtsaiblog
Python Internals: PyObject: mjtsai.com/blog/2016/07/2… #mjtsaiblog
SwiftKey Keyboard Leaked User Information to Strangers: mjtsai.com/blog/2016/07/2… #mjtsaiblog
@davedelong Also, Script Debugger, SourceTree, Hopper, Base, Paw, and hopefully a forthcoming continuous integration tool.
@davedelong BBEdit, FogBugz, Tower, LaunchBar, Dash, make, Python, Kaleidoscope, Hex Fiend, xScope, Deploymate, RBAppChecker.
@_andrewnesbitt "Unable to upload file at this time.error in uploading file"
@_andrewnesbitt rdar://27593150 sysdiagnose is uploading.
@_andrewnesbitt This particular project is a Swift 2 framework. Other projects were previously hanging in different places but now resolved.
End of Source-breaking Changes for Swift 3: mjtsai.com/blog/2016/07/2… #mjtsaiblog
Apple User Interface Trends: mjtsai.com/blog/2016/07/2… #mjtsaiblog
GRDB Swift SQLite ORM: mjtsai.com/blog/2016/07/2… #mjtsaiblog
Witch, Spaces, and Private API: mjtsai.com/blog/2016/07/2… #mjtsaiblog
@jckarter Does this affect the ability to test optimized code?
@steipete OK, thanks for the warning. I’ll just try something else.
@steipete Even in Xcode 8?
@groue Thanks.
@schwa What do people like? Jenkins?
@schwa I’m considering it. I picked Xcode CI because I thought it would be smoother, being built-in, but just one problem after another.
Xcode bots hanging on “Processing Results.” Anyone have a better solution than deleting everything? stackoverflow.com/q/37333340/6311
LastPass URL Parsing Bug: mjtsai.com/blog/2016/07/2… #mjtsaiblog
EFF DMCA Lawsuit: mjtsai.com/blog/2016/07/2… #mjtsaiblog
Adobe Direct Download Links: mjtsai.com/blog/2016/07/2… #mjtsaiblog
Removing Bit Flags in Swift Option Sets: mjtsai.com/blog/2016/07/2… #mjtsaiblog
@macjournals Thanks!
Eleventh Hour Swift 3 Reviews: mjtsai.com/blog/2016/07/2… #mjtsaiblog
Verizon Acquires Yahoo: mjtsai.com/blog/2016/07/2… #mjtsaiblog
The Novelty of the App: mjtsai.com/blog/2016/07/2… #mjtsaiblog
Swift Type Aliases: mjtsai.com/blog/2016/07/2… #mjtsaiblog
@toaster4000 For now. Microsoft says that at some unspecified time they will drop the Mac client, only supporting Win 10, iOS, Android.
On the other hand, the developer documentation says things like “SDK: macOS 10.4+”.
@petermaurer Yes, in practice, they do differ. pw_dir has always been the “real” home directory.
@petermaurer Right. I thought you were referring to the evil part of looking for "Containers" specifically. That could possibly change.
@petermaurer Yeah. Maybe slightly better to compare pw_dir to the Foundation-reported home directory?
@petermaurer What are you using instead?
Microsoft’s Sweet Skype Solution: mjtsai.com/blog/2016/07/2… #mjtsaiblog
Swift Closure Capture Semantics: mjtsai.com/blog/2016/07/2… #mjtsaiblog
Disable Find My Mac by Resetting NVRAM: mjtsai.com/blog/2016/07/2… #mjtsaiblog
Reversing the WWDC Wall: mjtsai.com/blog/2016/07/2… #mjtsaiblog
@betalogue Haven’t seen that in the past, but I seem to have lost most of my Safari logins when installing 10.11.6.
2016 MacBook – Two Months Later: mjtsai.com/blog/2016/07/2… #mjtsaiblog
Exploring the App Store’s Top Grossing Chart: mjtsai.com/blog/2016/07/2… #mjtsaiblog
Bridging Existentials & Generics in Swift 2: mjtsai.com/blog/2016/07/2… #mjtsaiblog
Remote Code Execution With Image Files: mjtsai.com/blog/2016/07/2… #mjtsaiblog
@arqbackup OK, that seems to work. Weird that they show up with the same name in prefs and “Back Up Now.”
@arqbackup Is it not possible to have multiple backup destinations to the same Amazon Cloud Drive? No way to specify path/bucket like w/ S3.
One catch seems to be that you need your full account login (OAuth) to access Amazon Cloud Drive, whereas S3 lets you create separate ones.
@mmunz I finally got it to work by reinstalling Beta 1 and updating that.
@mjtsai This just happened again, with a different account.
@BrokenReel @marcoarment As far as I know, Photos does not have this problem. Are you getting hard link errors with it?
@dnanian That would be fine with me. BTW, I wonder if this is an issue when cloning a Time Machine volume…
@dnanian OK, so make a .xip, tell the Apple utility to expand it, and then move it to the desired location. :-)
@McCloudStrife What kind of apps is that?
@McCloudStrife The problem is that there’s little to base future estimates on—can’t see issues beforehand. The boiling analogy is apt.
@McCloudStrife Yes, but it goes both ways. If the estimated work to continue is small, makes sense to stay in.
@McCloudStrife Knowing what I know now I never would have gotten involved, but, now that I’m in, it always seems feasible to continue.
@McCloudStrife I would guess the latter. With the MAS you always think you’re almost in the clear and then run into yet another issue.
@McCloudStrife No, but I can attest that it takes a huge amount of time. Has bitten me multiple times as a user, too.
@bdash I presume it’s a security restriction when the target is in a bundle but don’t fully understand. Maybe @dnanian can explain.
Xcode 8 Illegal Hard Links Prevent Cloning: mjtsai.com/blog/2016/07/2… #mjtsaiblog
Pixellating or Blurring Text Creates Identifiable Patterns: mjtsai.com/blog/2016/07/2… #mjtsaiblog
What Exactly Is “Compressed Memory”?: mjtsai.com/blog/2016/07/2… #mjtsaiblog
Sandboxing Wisdom: mjtsai.com/blog/2016/07/2… #mjtsaiblog
Updated “Swift Classes to Be Non Publicly Subclassable by Default”: mjtsai.com/blog/2016/07/1… #mjtsaiblog
“This Regular Expression Has Been Replaced With a Substring Function”: mjtsai.com/blog/2016/07/2… #mjtsaiblog
@ObjColumnist @milend @jacobgorban Yes, I’m pretty sure it’s in 10.7, but my 10.7 test system wasn’t working.
@milend @jacobgorban @ObjColumnist Yes, I tested .xip back to 10.8.
@milend @jacobgorban @ObjColumnist Me, too. Until then, Apple is using it themselves, so I consider that an endorsement.
@milend @jacobgorban @ObjColumnist My conclusion is that for Sierra if you don’t want to use .dmg you should probably use .xip.
@milend @jacobgorban @ObjColumnist I don’t think Apple has actually documented this but my testing (prior to b3) showed they were not.
@ObjColumnist @jacobgorban Functionally, signing is the main difference with .zip. Technically, it’s a different format based on .xar.
@ObjColumnist @jacobgorban Difference compared with what?
@jacobgorban Not that I’m aware of, but perhaps that will change.
dropdmg DropDMG 3.4 adds support for signing .dmg disk images, creating signed .xip archives, and choosing the file system: c-command.com/blog/2016/07/2…
@etresoft Yeah, I don’t know why I have to keep doing that. Warning comes back now and then without editing that part of xib in interim.
@grynspan @rbrockerhoff Hmm, I must have misremembered or it’s been updated since. Thanks.
@grynspan @rbrockerhoff I had heard that, but it’s not promised by the docs, so wasn’t sure whether we can rely on it…
“The initial position of this window is outside of this machine’s screen.” No, Xcode, it’s centered.
@ccgus I don’t think so. I’ve been assuming that Mac OS X 10.11 and earlier keep their original names, just like System 7 did.
@royfactorial That's what I'm trying now.
@arqbackup The problem is that after it uploads the changed files they change again before it completes the record. So it never completes.
@arqbackup Right. Since the file keeps changing it goes around and around. Backup never completes and also blocks other backups.
@dnanian Interesting! FYI, the hard-linked file is /Applications/Xcode-beta.app/Contents/Applications/Accessibility Inspector.app/Contents/Frame…
@dnanian Interesting. I wonder why this was never an issue for me in the interim.
@ozaed Oddly, I got the iTunes update first thing this morning. Updates since then have worked from 10.11 but not 10.12.
Full CPU use for minutes to unarchive a fresh copy of Xcode since problem doesn’t seem to be on destination volume (reformatted it).
Main system: can’t update to 10.11.6 because clone keeps failing to copy a hard link in Xcode-beta.app.
Sierra system: stuck with Mac App Store at 0 bytes downloaded of Developer Beta 3.
@arqbackup I have e-mailed about that. Basically, the backup never completes. It keeps going back and uploading new changed pieces.
AppleScriptObjC in Script Debugger 6: mjtsai.com/blog/2016/07/1… #mjtsaiblog
MacKeeper Threatens YouTube Video Maker: mjtsai.com/blog/2016/07/1… #mjtsaiblog
SQLITE_ENABLE_SQLLOG: mjtsai.com/blog/2016/07/1… #mjtsaiblog
Apple Music Learns From iTunes Match: mjtsai.com/blog/2016/07/1… #mjtsaiblog
@dafacto Yes, that was necessary for it to work with the number of files that I have.
Hope there’s a 10.11.7, I guess? macperformanceguide.com/blog/2016/2016…
Is anyone using Amazon Cloud Drive with @arqbackup? Seems cheaper and faster than Glacier, but maybe a catch? arqbackup.com/features/
@arqbackup Most are fixed as of 5.1.8. Still problems with validation/enforcement and large files that change during upload.
@steipete @arqbackup I use Arq as well. Second choice for restores due to Glacier delay. Great overall, but tons of issues with 5.x.
@bump Never liked CrashPlan’s client, just the service. Backblaze has (had?) issues with large numbers of files, external drives, xattrs.
Restoring from CrashPlan. Mac client has been stuck loading the file list for an hour. Took about 30 seconds to get file from Web interface.
@danielpunkass @jckarter @concreteniche Yes. The interesting thing about Obj-C is that you can call or override them all.
@danielpunkass @jckarter @concreteniche It’s not about embracing because fundamentally protocols are designed to hide details.
@danielpunkass @jckarter @concreteniche I think in practice protocols would intentionally not have enough surface area.
@concreteniche @jckarter That would be nice, but it doesn’t seem realistic to me. At least not on the time scale we need.
@concreteniche @jckarter Yes, sometimes overriding private methods was (unfortunately) necessary. Already not possible with Swift.
@jckarter @concreteniche In other words, API being “too specific” is both a flaw and a feature depending on the situation/point of view.
@jckarter So it’s less useful for the cases I’m talking about doing things unexpected by the API designer.
@jckarter @concreteniche Yes, but patching from the outside is limited because you can’t override anything that’s not in the protocol.
@concreteniche @jckarter Probably not as flexible. And changing classes to protocols doesn’t make the design/thinking issues go away.
@concreteniche @jckarter I just don’t understand this idea that forbidding something magically makes the need for it go away.
@jckarter bad decision. Whereas the framework client, without the ability to override, has no recourse.
@jckarter If this is about 3rd party frameworks, the vendor can always put a breaking change in a new version. If necessary to reverse a
@jckarter I mean in general—undocumented/unpromised subclassing details and non-subclassing-related bugs.
@austinzheng So fear is that either there is no good answer or they don’t care.
@austinzheng The issue to me is that we know they’re smart, but they have failed to allay the concerns.
@jckarter Aha, that makes sense. So then you either force a recompile or can’t optimize.
@jckarter I don’t understand why you have to support bugs (rather than the promised contract) forever. Why not warn like with deprecation?
@jckarter I would have thought you could revoke a final across a module boundary because clients can’t inline, anyway.
@jckarter You’re saying no change for Apple Swift frameworks because you consider the API, but it’s about protecting others who don’t?
@jckarter Right, but presumably you expect that to ultimately benefit end users (indirectly).
@jckarter @bsneed @colincornaby If it truly “doesn’t affect end users at all,” what could be the point of the change?
And, trying to copy Xcode 8b3 to the other Mac, got my regular reminder that AirDrop works less than half the time.
@jmfd I’ve done that, but then a couple times I forgot to launch it and later found that my iPhone didn’t have access to the latest files.
Isn’t there some way that Dropbox can see I’m unarchiving Xcode 8 outside its folder and ignore those file system events without 150% CPU?
Wondering whether 10.11.6 will finally fix the bug where newly attached drives don’t auto-mount.
@adamkaump I personally see those as hypothetical small wins measured against serious problems for which no one has answers.
@adamkaump Thanks. That’s pretty much what other people in favor have been saying.
@teddybeardog777 It eventually fixed itself, but I’m not sure what I did. Maybe restart.
@adamkaump Because…you think the concerns about bugs and innovation are overblown? Outweighed? Some other reason?
@NeoNacho @iljawascoding @uliwitness Co-written by an Apple Swift engineer and informally proposed about by core team members in advance.
@mbarriault Maybe the ones designed with the least care, default closed classes all the way, will be those most in need of overriding?
Medium URL Fragment Tracking: mjtsai.com/blog/2016/07/1… #mjtsaiblog
The Strange Case of the System Preferences Window Width: mjtsai.com/blog/2016/07/1… #mjtsaiblog
The Secret Life of Types in Swift: mjtsai.com/blog/2016/07/1… #mjtsaiblog
Exponential Time Complexity in the Swift Type Checker: mjtsai.com/blog/2016/07/1… #mjtsaiblog
@mbarriault I think people are not up in arms b/c this was long the expected result and impact is limited b/c only affects Swift classes.
@mbarriault Most of the +1 responses were basically paraphrases of the first two quoted paragraphs from the proposal.
@mbarriault I wasn’t trying to balance in terms of votes but to include the main points that were raised.
@mbarriault I’m happy for you to read it. Not happy that you are assuming without reading that I was massively skewing the selection.
@mbarriault That was me. I didn’t intend to only collect against. In fact, some are from +1 replies. And I include the proposal’s co-author.
@mbarriault I think it’s a mistake to assume that the decision was based on the discussion.
@mbarriault Lattner acknowledged that there was *not* consensus among the community, so they were going with what the core team wanted.
@mbarriault I don’t see how you could read the discussion and think there was consensus.
@dwlz I did not see many +1 responses that added much to what the core team had already written.
@dwlz Some of the quoted reservations are actually from +1 comments. There were opinions on both sides, but I think more -1.
@cocoawithlove Open question about how customization/overriding with protocol-based APIs will work, though.
@cocoawithlove Yeah, that’s why I’m not sure this particular change will make a whole lot of difference.
@danielpunkass @tapbot_paul Yes, that is my understanding as well. And it’s been clear for a while they were going to do this.
Swift Classes to Be Non Publicly Subclassable by Default: mjtsai.com/blog/2016/07/1… #mjtsaiblog
Lepton Image Compression: mjtsai.com/blog/2016/07/1… #mjtsaiblog
Running System 1 on El Capitan: mjtsai.com/blog/2016/07/1… #mjtsaiblog
Improving Color on the Web: mjtsai.com/blog/2016/07/1… #mjtsaiblog
The Windows Shutdown Crapfest: mjtsai.com/blog/2016/07/1… #mjtsaiblog
@ObjColumnist Don’t they use something like that for autorelease pools?
@ObjColumnist If the context has a private queue, you could stash the context in the queue-specific data at creation.
@otolithe The main item in the Console source list is no longer draggable, probably because it’s not backed by a file.
@tclementdev Yes, but it just puts the text in the body of the e-mail, which then gets wrapped funny and overloads mail clients.
Is there an easy way to e-mail a log file (not text pasted into an e-mail) from the selected Console lines in Sierra? (File > Save removed.)
Facebook’s Mobile Device Testing Lab: mjtsai.com/blog/2016/07/1… #mjtsaiblog
MathML Improvements in WebKit: mjtsai.com/blog/2016/07/1… #mjtsaiblog
Legal Decisions: mjtsai.com/blog/2016/07/1… #mjtsaiblog
Pinboard Turns Seven: mjtsai.com/blog/2016/07/1… #mjtsaiblog
Mailbox Names via IMAP: mjtsai.com/blog/2016/07/1… #mjtsaiblog
Swift Playgrounds Aren’t HyperCard: mjtsai.com/blog/2016/07/1… #mjtsaiblog
Apple Faces Patent Lawsuit Over iPhone’s Battery Technologies: mjtsai.com/blog/2016/07/1… #mjtsaiblog
MAS code signing bug means that app won’t launch. Removed from sale. Still working with DTS. Customers asking whether app abandoned.
To recap: Direct version shipped 5/23. Couldn’t upload to MAS due to backend issue until 6/6. Approved 6/6.
Manually generating and e-mailing licenses for the direct sale version of my app because of App Store issues. As one does.
@ishabazz @ashfurrow @uberbruns The Optional checkbox only means that the values are non-nil after validation succeeds (i.e. when you save).
Amazon’s Chinese Counterfeit Problem Is Getting Worse: mjtsai.com/blog/2016/07/1… #mjtsaiblog
@borkware Me, too, and all my customers except one. He reports that even Disk Utility doesn’t work with it on.
@borkware I just got a report that SIP causes disk image creation to fail. :(
The Pokémon Go Phenomenon: mjtsai.com/blog/2016/07/1… #mjtsaiblog
The History of “This Web Site Is Well-crafted” Hints: mjtsai.com/blog/2016/07/1… #mjtsaiblog
Apple and the Blind: mjtsai.com/blog/2016/07/1… #mjtsaiblog
Praise for the Fujitsu ScanSnap: mjtsai.com/blog/2016/07/1… #mjtsaiblog
@kevinhoctor As of this morning, everything looks fine. Seems like it spontaneously reset and rebuilt the local message cache.
@kevinhoctor And how the account is back, but only one mailbox is showing. Oddest Mail bug I’ve ever seen.
@mobile_reach Right, but the Videos app is set to show all the cloud stuff (and it does show everything else I purchased).
Oddly, it does show up in the iTunes app (thanks, @mobile_reach) and if I download there it then shows up in the Videos app.
Signing out of iCloud and back in didn’t help.
Bought a TV season from iTunes a couple hours ago. Shows up on all devices except iPad, where I wanted it. Restarting didn’t help.
@kevinhoctor It looks the same as when I quit. No Console entries from Mail. A bunch like "accountsd: AIDA Notification plugin running".
My main account just disappeared from Apple Mail. Still shows up in preferences but not in mailbox list.
@chucker Then nothing gets uploaded and you face the same problem the next day.
@ddefenba Thanks for the report. I’m not getting an error here with Chrome.
Switching to Apple’s Two-Factor Authentication: mjtsai.com/blog/2016/07/0… #mjtsaiblog
Continuous: C# and F# IDE for iPad: mjtsai.com/blog/2016/07/0… #mjtsaiblog
Mozilla-Yahoo Contract Clause: mjtsai.com/blog/2016/07/0… #mjtsaiblog
Slower by Design: mjtsai.com/blog/2016/07/0… #mjtsaiblog
dropdmg Check out the new DropDMG beta if you want to try out signed disk images and .xip archives for macOS 10.12 Sierra: c-command.com/forums/showthr…
@jpohh So the store itself is like an implicit parent?