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

Recent tweets

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