The below is an off-site archive of all tweets posted by @mjtsai ever

July 2016

Looking Back on Swift 3 and Ahead to Swift 4: mjtsai.com/blog/2016/07/3…

via IFTTT

@rosyna Yep, I had it tagged Microsoft.

via Tweetbot for Mac in reply to rosyna

Don’t Trust Sourceforge Downloads: mjtsai.com/blog/2016/07/2…

via IFTTT

SwiftKey Keyboard Leaked User Information to Strangers: mjtsai.com/blog/2016/07/2…

via IFTTT

@davedelong Also, Script Debugger, SourceTree, Hopper, Base, Paw, and hopefully a forthcoming continuous integration tool.

via Tweetbot for Mac in reply to mjtsai

@davedelong BBEdit, FogBugz, Tower, LaunchBar, Dash, make, Python, Kaleidoscope, Hex Fiend, xScope, Deploymate, RBAppChecker.

via Tweetbot for Mac in reply to davedelong

@_andrewnesbitt "Unable to upload file at this time.error in uploading file"

via Tweetbot for Mac in reply to _andrewnesbitt

@_andrewnesbitt This particular project is a Swift 2 framework. Other projects were previously hanging in different places but now resolved.

via Tweetbot for iΟS in reply to _andrewnesbitt

End of Source-breaking Changes for Swift 3: mjtsai.com/blog/2016/07/2…

via IFTTT

@jckarter Does this affect the ability to test optimized code?

via Tweetbot for Mac in reply to jckarter

@steipete OK, thanks for the warning. I’ll just try something else.

via Tweetbot for Mac in reply to steipete

@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.

via Tweetbot for Mac in reply to schwa

Xcode bots hanging on “Processing Results.” Anyone have a better solution than deleting everything? stackoverflow.com/q/37333340/6311

via Tweetbot for Mac

Removing Bit Flags in Swift Option Sets: mjtsai.com/blog/2016/07/2…

via IFTTT

@toaster4000 For now. Microsoft says that at some unspecified time they will drop the Mac client, only supporting Win 10, iOS, Android.

via Tweetbot for Mac in reply to toaster4000

On the other hand, the developer documentation says things like “SDK: macOS 10.4+”.

via Tweetbot for Mac in reply to mjtsai

@petermaurer Yes, in practice, they do differ. pw_dir has always been the “real” home directory.

via Tweetbot for Mac in reply to petermaurer

@petermaurer Right. I thought you were referring to the evil part of looking for "Containers" specifically. That could possibly change.

via Tweetbot for Mac in reply to petermaurer

@petermaurer Yeah. Maybe slightly better to compare pw_dir to the Foundation-reported home directory?

via Tweetbot for Mac in reply to petermaurer

Microsoft’s Sweet Skype Solution: mjtsai.com/blog/2016/07/2…

via IFTTT

Disable Find My Mac by Resetting NVRAM: mjtsai.com/blog/2016/07/2…

via IFTTT

@betalogue Haven’t seen that in the past, but I seem to have lost most of my Safari logins when installing 10.11.6.

via Tweetbot for Mac in reply to betalogue

Exploring the App Store’s Top Grossing Chart: mjtsai.com/blog/2016/07/2…

via IFTTT

Bridging Existentials & Generics in Swift 2: mjtsai.com/blog/2016/07/2…

via IFTTT

Remote Code Execution With Image Files: mjtsai.com/blog/2016/07/2…

via IFTTT

@arqbackup OK, that seems to work. Weird that they show up with the same name in prefs and “Back Up Now.”

via Tweetbot for Mac in reply to arqbackup

@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.

via Tweetbot for Mac

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.

via Tweetbot for Mac in reply to mjtsai

@mmunz I finally got it to work by reinstalling Beta 1 and updating that.

via Tweetbot for Mac in reply to mmunz

@mjtsai This just happened again, with a different account.

via Twitter Web Client in reply to mjtsai

@BrokenReel @marcoarment As far as I know, Photos does not have this problem. Are you getting hard link errors with it?

via Tweetbot for Mac in reply to BrokenReel

@dnanian That would be fine with me. BTW, I wonder if this is an issue when cloning a Time Machine volume…

via Tweetbot for Mac in reply to dnanian

@dnanian OK, so make a .xip, tell the Apple utility to expand it, and then move it to the desired location. :-)

via Tweetbot for Mac in reply to dnanian

@dnanian @bdash I wonder how Archive Utility does it when it expands Xcode.xip…

via Tweetbot for Mac in reply to dnanian

@dnanian @bdash Can you create them first and then make the bundle structure around them?

via Tweetbot for Mac in reply to dnanian

@McCloudStrife The problem is that there’s little to base future estimates on—can’t see issues beforehand. The boiling analogy is apt.

via Tweetbot for Mac in reply to McCloudStrife

@McCloudStrife Yes, but it goes both ways. If the estimated work to continue is small, makes sense to stay in.

via Tweetbot for Mac in reply to McCloudStrife

@McCloudStrife Knowing what I know now I never would have gotten involved, but, now that I’m in, it always seems feasible to continue.

via Tweetbot for Mac in reply to McCloudStrife

@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.

via Tweetbot for Mac in reply to McCloudStrife

@McCloudStrife No, but I can attest that it takes a huge amount of time. Has bitten me multiple times as a user, too.

via Tweetbot for Mac in reply to McCloudStrife

@bdash I presume it’s a security restriction when the target is in a bundle but don’t fully understand. Maybe @dnanian can explain.

via Tweetbot for Mac in reply to bdash

Xcode 8 Illegal Hard Links Prevent Cloning: mjtsai.com/blog/2016/07/2…

via IFTTT

Pixellating or Blurring Text Creates Identifiable Patterns: mjtsai.com/blog/2016/07/2…

via IFTTT

What Exactly Is “Compressed Memory”?: mjtsai.com/blog/2016/07/2…

via IFTTT

Updated “Swift Classes to Be Non Publicly Subclassable by Default”: mjtsai.com/blog/2016/07/1…

via Tweetbot for Mac

“This Regular Expression Has Been Replaced With a Substring Function”: mjtsai.com/blog/2016/07/2…

via IFTTT

@ObjColumnist @milend @jacobgorban Yes, I’m pretty sure it’s in 10.7, but my 10.7 test system wasn’t working.

via Tweetbot for Mac in reply to ObjColumnist

@milend @jacobgorban @ObjColumnist Me, too. Until then, Apple is using it themselves, so I consider that an endorsement.

via Tweetbot for Mac in reply to milend

@milend @jacobgorban @ObjColumnist My conclusion is that for Sierra if you don’t want to use .dmg you should probably use .xip.

via Tweetbot for Mac in reply to milend

@milend @jacobgorban @ObjColumnist I don’t think Apple has actually documented this but my testing (prior to b3) showed they were not.

via Tweetbot for Mac in reply to milend

@ObjColumnist @jacobgorban Functionally, signing is the main difference with .zip. Technically, it’s a different format based on .xar.

via Tweetbot for Mac in reply to ObjColumnist

@jacobgorban Not that I’m aware of, but perhaps that will change.

via Tweetbot for Mac in reply to jacobgorban

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…

via Hibari (retweeted on 2:31 PM, Jul 21st, 2016 via Hibari)

@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.

via Tweetbot for Mac in reply to etresoft

@grynspan @rbrockerhoff Hmm, I must have misremembered or it’s been updated since. Thanks.

via Tweetbot for Mac in reply to grynspan

@grynspan @rbrockerhoff I had heard that, but it’s not promised by the docs, so wasn’t sure whether we can rely on it…

via Tweetbot for Mac in reply to grynspan

“The initial position of this window is outside of this machine’s screen.” No, Xcode, it’s centered.

via Tweetbot for Mac

@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.

via Tweetbot for Mac in reply to ccgus

@arqbackup The problem is that after it uploads the changed files they change again before it completes the record. So it never completes.

via Tweetbot for Mac in reply to arqbackup

@schwa So far, all positive responses about Amazon Cloud Drive with @arqbackup.

via Tweetbot for Mac in reply to schwa

@arqbackup Right. Since the file keeps changing it goes around and around. Backup never completes and also blocks other backups.

via Tweetbot for Mac in reply to arqbackup

@dnanian Interesting! FYI, the hard-linked file is /Applications/Xcode-beta.app/Contents/Applications/Accessibility Inspector.app/Contents/Frame…

via Tweetbot for Mac in reply to dnanian

@dnanian Interesting. I wonder why this was never an issue for me in the interim.

via Tweetbot for Mac in reply to dnanian

@ozaed Oddly, I got the iTunes update first thing this morning. Updates since then have worked from 10.11 but not 10.12.

via Tweetbot for Mac in reply to ozaed

Full CPU use for minutes to unarchive a fresh copy of Xcode since problem doesn’t seem to be on destination volume (reformatted it).

via Tweetbot for Mac in reply to mjtsai

Main system: can’t update to 10.11.6 because clone keeps failing to copy a hard link in Xcode-beta.app.

via Tweetbot for Mac

Sierra system: stuck with Mac App Store at 0 bytes downloaded of Developer Beta 3.

via Tweetbot for Mac

@arqbackup I have e-mailed about that. Basically, the backup never completes. It keeps going back and uploading new changed pieces.

via Tweetbot for Mac in reply to arqbackup

AppleScriptObjC in Script Debugger 6: mjtsai.com/blog/2016/07/1…

via IFTTT

MacKeeper Threatens YouTube Video Maker: mjtsai.com/blog/2016/07/1…

via IFTTT

Apple Music Learns From iTunes Match: mjtsai.com/blog/2016/07/1…

via IFTTT

@dafacto Yes, that was necessary for it to work with the number of files that I have.

via Tweetbot for Mac in reply to dafacto

@Gryzor @arqbackup Presumably the CPU use is about the same for each Arq cloud provider?

via Tweetbot for Mac in reply to Gryzor

@steipete @arqbackup Yeah, I should investigate Nearline as well.

via Tweetbot for Mac in reply to steipete

Is anyone using Amazon Cloud Drive with @arqbackup? Seems cheaper and faster than Glacier, but maybe a catch? arqbackup.com/features/

via Tweetbot for Mac

@arqbackup Most are fixed as of 5.1.8. Still problems with validation/enforcement and large files that change during upload.

via Tweetbot for Mac in reply to arqbackup

@steipete @arqbackup I use Arq as well. Second choice for restores due to Glacier delay. Great overall, but tons of issues with 5.x.

via Tweetbot for Mac in reply to steipete

@bump Never liked CrashPlan’s client, just the service. Backblaze has (had?) issues with large numbers of files, external drives, xattrs.

via Tweetbot for Mac in reply to bump

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.

via Tweetbot for Mac

@danielpunkass @jckarter @concreteniche Yes. The interesting thing about Obj-C is that you can call or override them all.

via Tweetbot for Mac in reply to mjtsai

@danielpunkass @jckarter @concreteniche It’s not about embracing because fundamentally protocols are designed to hide details.

via Tweetbot for Mac in reply to danielpunkass

@danielpunkass @jckarter @concreteniche I think in practice protocols would intentionally not have enough surface area.

via Tweetbot for Mac in reply to danielpunkass

@concreteniche @jckarter That would be nice, but it doesn’t seem realistic to me. At least not on the time scale we need.

via Tweetbot for Mac in reply to concreteniche

@concreteniche @jckarter Yes, sometimes overriding private methods was (unfortunately) necessary. Already not possible with Swift.

via Tweetbot for Mac in reply to concreteniche

@jckarter @concreteniche In other words, API being “too specific” is both a flaw and a feature depending on the situation/point of view.

via Tweetbot for Mac in reply to jckarter

@jckarter So it’s less useful for the cases I’m talking about doing things unexpected by the API designer.

via Tweetbot for Mac in reply to jckarter

@jckarter @concreteniche Yes, but patching from the outside is limited because you can’t override anything that’s not in the protocol.

via Tweetbot for Mac in reply to jckarter

@concreteniche @jckarter Probably not as flexible. And changing classes to protocols doesn’t make the design/thinking issues go away.

via Tweetbot for Mac in reply to concreteniche

@concreteniche @jckarter I just don’t understand this idea that forbidding something magically makes the need for it go away.

via Tweetbot for Mac in reply to concreteniche

@jckarter bad decision. Whereas the framework client, without the ability to override, has no recourse.

via Tweetbot for Mac in reply to mjtsai

@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

via Tweetbot for Mac in reply to jckarter

@jckarter I mean in general—undocumented/unpromised subclassing details and non-subclassing-related bugs.

via Tweetbot for Mac in reply to jckarter

@austinzheng So fear is that either there is no good answer or they don’t care.

via Twitter Web Client in reply to austinzheng

@austinzheng The issue to me is that we know they’re smart, but they have failed to allay the concerns.

via Twitter Web Client in reply to austinzheng

@jckarter Aha, that makes sense. So then you either force a recompile or can’t optimize.

via Tweetbot for Mac in reply to jckarter

@jckarter I don’t understand why you have to support bugs (rather than the promised contract) forever. Why not warn like with deprecation?

via Tweetbot for Mac in reply to jckarter

@jckarter I would have thought you could revoke a final across a module boundary because clients can’t inline, anyway.

via Tweetbot for Mac in reply to jckarter

@jckarter You’re saying no change for Apple Swift frameworks because you consider the API, but it’s about protecting others who don’t?

via Tweetbot for Mac in reply to jckarter

@jckarter Right, but presumably you expect that to ultimately benefit end users (indirectly).

via Tweetbot for Mac in reply to jckarter

@jckarter @bsneed @colincornaby If it truly “doesn’t affect end users at all,” what could be the point of the change?

via Tweetbot for Mac in reply to jckarter

And, trying to copy Xcode 8b3 to the other Mac, got my regular reminder that AirDrop works less than half the time.

via Tweetbot for Mac

@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.

via Tweetbot for Mac in reply to jmfd

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?

via Tweetbot for Mac

Wondering whether 10.11.6 will finally fix the bug where newly attached drives don’t auto-mount.

via Tweetbot for Mac

@adamkaump I personally see those as hypothetical small wins measured against serious problems for which no one has answers.

via Tweetbot for Mac in reply to adamkaump

@adamkaump Thanks. That’s pretty much what other people in favor have been saying.

via Tweetbot for Mac in reply to adamkaump

@teddybeardog777 It eventually fixed itself, but I’m not sure what I did. Maybe restart.

via Tweetbot for Mac in reply to teddybeardog777

@adamkaump Because…you think the concerns about bugs and innovation are overblown? Outweighed? Some other reason?

via Tweetbot for iΟS in reply to adamkaump

@NeoNacho @iljawascoding @uliwitness Co-written by an Apple Swift engineer and informally proposed about by core team members in advance.

via Twitter Web Client in reply to NeoNacho

@mbarriault Maybe the ones designed with the least care, default closed classes all the way, will be those most in need of overriding?

via Tweetbot for Mac in reply to mbarriault

The Strange Case of the System Preferences Window Width: mjtsai.com/blog/2016/07/1…

via IFTTT

Exponential Time Complexity in the Swift Type Checker: mjtsai.com/blog/2016/07/1…

via IFTTT

@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.

via Tweetbot for Mac in reply to mbarriault

@mbarriault Most of the +1 responses were basically paraphrases of the first two quoted paragraphs from the proposal.

via Tweetbot for Mac in reply to mbarriault

@mbarriault I wasn’t trying to balance in terms of votes but to include the main points that were raised.

via Tweetbot for Mac in reply to mbarriault

@mbarriault I’m happy for you to read it. Not happy that you are assuming without reading that I was massively skewing the selection.

via Tweetbot for Mac in reply to mbarriault

@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.

via Tweetbot for Mac in reply to mbarriault

@mbarriault I think it’s a mistake to assume that the decision was based on the discussion.

via Tweetbot for Mac in reply to mbarriault

@mbarriault Lattner acknowledged that there was *not* consensus among the community, so they were going with what the core team wanted.

via Tweetbot for Mac in reply to mbarriault

@mbarriault I don’t see how you could read the discussion and think there was consensus.

via Twitter Web Client in reply to mbarriault

@dwlz I did not see many +1 responses that added much to what the core team had already written.

via Tweetbot for Mac in reply to dwlz

@dwlz Some of the quoted reservations are actually from +1 comments. There were opinions on both sides, but I think more -1.

via Tweetbot for Mac in reply to dwlz

@cocoawithlove Open question about how customization/overriding with protocol-based APIs will work, though.

via Tweetbot for Mac in reply to cocoawithlove

@cocoawithlove Yeah, that’s why I’m not sure this particular change will make a whole lot of difference.

via Tweetbot for Mac in reply to cocoawithlove

@danielpunkass @tapbot_paul Yes, that is my understanding as well. And it’s been clear for a while they were going to do this.

via Tweetbot for Mac in reply to danielpunkass

Swift Classes to Be Non Publicly Subclassable by Default: mjtsai.com/blog/2016/07/1…

via IFTTT

@ObjColumnist Don’t they use something like that for autorelease pools?

via Tweetbot for Mac in reply to ObjColumnist

@ObjColumnist If the context has a private queue, you could stash the context in the queue-specific data at creation.

via Tweetbot for Mac in reply to ObjColumnist

@otolithe The main item in the Console source list is no longer draggable, probably because it’s not backed by a file.

via Tweetbot for Mac in reply to otolithe

@tclementdev Yes, but it just puts the text in the body of the e-mail, which then gets wrapped funny and overloads mail clients.

via Tweetbot for Mac in reply to tclementdev

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.)

via Tweetbot for Mac

Facebook’s Mobile Device Testing Lab: mjtsai.com/blog/2016/07/1…

via IFTTT

Swift Playgrounds Aren’t HyperCard: mjtsai.com/blog/2016/07/1…

via IFTTT

Apple Faces Patent Lawsuit Over iPhone’s Battery Technologies: mjtsai.com/blog/2016/07/1…

via IFTTT

MAS code signing bug means that app won’t launch. Removed from sale. Still working with DTS. Customers asking whether app abandoned.

via Tweetbot for Mac in reply to mjtsai

To recap: Direct version shipped 5/23. Couldn’t upload to MAS due to backend issue until 6/6. Approved 6/6.

via Tweetbot for Mac in reply to mjtsai

Manually generating and e-mailing licenses for the direct sale version of my app because of App Store issues. As one does.

via Tweetbot for Mac

@ishabazz @ashfurrow @uberbruns The Optional checkbox only means that the values are non-nil after validation succeeds (i.e. when you save).

via Twitter Web Client in reply to ishabazz

Amazon’s Chinese Counterfeit Problem Is Getting Worse: mjtsai.com/blog/2016/07/1…

via IFTTT

@borkware Me, too, and all my customers except one. He reports that even Disk Utility doesn’t work with it on.

via Tweetbot for Mac in reply to borkware

@borkware I just got a report that SIP causes disk image creation to fail. :(

via Tweetbot for Mac in reply to borkware

The History of “This Web Site Is Well-crafted” Hints: mjtsai.com/blog/2016/07/1…

via IFTTT

@kevinhoctor As of this morning, everything looks fine. Seems like it spontaneously reset and rebuilt the local message cache.

via Tweetbot for Mac in reply to kevinhoctor

@kevinhoctor And how the account is back, but only one mailbox is showing. Oddest Mail bug I’ve ever seen.

via Tweetbot for Mac in reply to kevinhoctor

@mobile_reach Right, but the Videos app is set to show all the cloud stuff (and it does show everything else I purchased).

via Tweetbot for Mac in reply to mobile_reach

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.

via Tweetbot for Mac in reply to mjtsai

Signing out of iCloud and back in didn’t help.

via Tweetbot for Mac in reply to mjtsai

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.

via Tweetbot for Mac

@kevinhoctor It looks the same as when I quit. No Console entries from Mail. A bunch like "accountsd: AIDA Notification plugin running".

via Tweetbot for Mac in reply to kevinhoctor

My main account just disappeared from Apple Mail. Still shows up in preferences but not in mailbox list.

via Tweetbot for Mac

@chucker Then nothing gets uploaded and you face the same problem the next day.

via Tweetbot for Mac in reply to chucker

@ddefenba Thanks for the report. I’m not getting an error here with Chrome.

via Tweetbot for Mac in reply to ddefenba

Switching to Apple’s Two-Factor Authentication: mjtsai.com/blog/2016/07/0…

via IFTTT

Continuous: C# and F# IDE for iPad: mjtsai.com/blog/2016/07/0…

via IFTTT

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…

via Hibari (retweeted on 2:13 PM, Jul 7th, 2016 via Tweetbot for Mac)

@jpohh So the store itself is like an implicit parent?

via Tweetbot for Mac in reply to jpohh

There’s more tweets in this month! Go up and select a date to see more ↑