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

May 2015

@Dirk_Gently OK, fortunately my feed reader likes it. Wasn’t aware of your pronoun preference; will correct. Thanks for the articles!

via Tweetbot for iΟS in reply to Dirk_Gently

Really glad that I decided to invest some time in automating common tags using the @FogBugz API.

via Tweetbot for Mac

The iOS Calendar app can set separate time zones for start and end times. Would be nice to have that on the Mac and in Fantastical.

via Tweetbot for Mac

@nriley Didn’t they also do that a year or so ago when they changed what each plan included?

via Tweetbot for iΟS in reply to nriley

@mhenders After all that effort trying to convince us that SiteKey made us safer. Hopefully it will soon work consistently with 1Password.

via Tweetbot for Mac in reply to mhenders

@mjdrayton So apparently the square brackets were the *original* AppleScript list syntax: mjtsai.com/blog/2015/05/2…

via Tweetbot for Mac

@arekholko @rentzsch Indeed. Too bad Apple likely won't add enums to the language at this point, but you both came up with good solutions.

via Tweetbot for Mac in reply to arekholko

How long has Applescript supported [] instead of {} for list literals?

via Tweetbot for Mac

@FogBugz The text looks gray even in your own blog post screenshot. But, yes, I will send more info.

via Tweetbot for Mac in reply to FogBugz

@FogBugz I'm finding the new body text for cases more difficult to read. Could you return it to black instead of gray-on-white?

via Tweetbot for Mac in reply to FogBugz

@ZeroDistraction I wish that future were here. But wouldn’t it be possible to make a font that looks good on both?

via Tweetbot for iΟS in reply to ZeroDistraction

@_JCobb Interesting. So do you unplug it? Or just run 24/7?

via Tweetbot for iΟS in reply to _JCobb

Fourth time in a row the Apple TV had no network connection. Fix it, Apple!

via Tweetbot for iΟS

@kyleve Interesting. And I guess you could "return" early if there's an error or to get out of a loop.

via Tweetbot for Mac in reply to kyleve

Added some more links to the Instance Articles post: mjtsai.com/blog/2015/05/1…

via Tweetbot for Mac

50% off Domain-Driven Design today: informit.com/deals/

via Tweetbot for Mac

@czechboy0 No time for that at the moment, but maybe I can write a blog post sometime.

via Tweetbot for Mac in reply to czechboy0

@czechboy0 But note that you can get NSTaskDidTerminateNotification before the last NSFileHandleReadCompletionNotification…

via Tweetbot for Mac in reply to czechboy0

@czechboy0 I guess if you want to be safer you could wait until you also get a NSTaskDidTerminateNotification.

via Tweetbot for Mac in reply to czechboy0

@czechboy0 As far as I know, that's the best way to do it. I wonder if a script could purposely close its pipes before it finishes?

via Tweetbot for Mac in reply to czechboy0

@czechboy0 No, because instead of calling -waitUntilExit you run your own loop until the output and error are finished.

via Tweetbot for Mac in reply to czechboy0

@czechboy0 Build up the output/error data a chunk at a time. Don't -waitUntilExit. Keep running the run loop until file handles are empty.

via Tweetbot for Mac in reply to czechboy0

@czechboy0 As I recall, -waitUntilExit will just hang. Solution is to register both file handles for read completion notifications.

via Tweetbot for Mac in reply to czechboy0

@czechboy0 Looks like this doesn't handle the case where the task never terminates because the output pipe buffer gets filled up.

via Tweetbot for Mac in reply to czechboy0

@danielpunkass As in, you have a hard-coded list of settings that you know you don't want?

via Tweetbot for Mac in reply to danielpunkass

@danielpunkass Yes, but I like to accept and then revert so that I can see what changes it wants to make, and where.

via Tweetbot for Mac in reply to danielpunkass

@mhenders There are definitely some issues with the new stuff, but I like what they are trying to do and like to see progress.

via Tweetbot for Mac in reply to mhenders

@rosyna @Kr1sso @tonyarnold When I try to use -Wpartial-availability in Xcode 6.3.1, Clang says it's an unknown warning option.

via Tweetbot for Mac in reply to rosyna

@leebennett Well, I have to keep rebooting it anyway or it loses Internet access. ;(

via Tweetbot for iΟS in reply to leebennett

Is the Flickr app for Apple TV intended to only show a limited number of photos in each album?

via Tweetbot for Mac

@danielpunkass Yes, I think even now the best practices for the sandbox data folder and transitions/updates are not well understood.

via Tweetbot for Mac in reply to danielpunkass

@danielpunkass That's interesting because from the outside it doesn't seem like a blog editor would be difficult to sandbox.

via Tweetbot for Mac in reply to danielpunkass

@khanlou I'm pretty happy with with RocketStor. Have not found anything better. mjtsai.com/blog/2014/06/1…

via Tweetbot for Mac in reply to khanlou

@chockenberry Could you share any more details about the AppleScript restrictions?

via Tweetbot for Mac in reply to chockenberry