At work we use Buddybuild for continuous integration, running
our tests and shipping builds to iTunes Connect for TestFlight. On the whole we've had
pretty good experiences with their service. (The only CI service I've used that I like more is
Codeship. I love Codeship, but iOS isn't part of their setup. We use
their service for all our server code.)
I was recently doing the annual new-Xcode-new-Swift dance, and found that some of our UI
tests were failing. These ones were the tests that interact with the iOS on-screen
keyboard, and they were failing in a way consistent with the simulator acting as having
a hardware keyboard attached—that is, the software keyboard wasn't visible when the tests
expected it to be.
After a bit of a chat with Buddybuild support and a bit of digging around with Google, I've
added the following to our post-clone build script (buddybuild_postclone.sh):
# make sure the simulator doesn't have a hardware keyboard connected
xcrun simctl shutdown all
defaults write com.apple.iphonesimulator ConnectHardwareKeyboard 0
The first command closes any running simulators in the environment, to make sure that they'll
start up again and so let the second command take effect, which writes a defaults key and
value to tell the simulator to not use the hardware keyboard.
And now all our UI tests are passing reliably again. Simple, once you know the options
I watched the last episode of Stranger Things 2 last night. It made for what I found to be a very satisfying conclusion to the series. Some thoughts on the whole thing follow, but they probably count as spoilery. If you care about such things and haven't watched it yet, then stop reading now.
There's not nearly enough Eleven in this series. I suppose that's why we get her Journey of Discovery, but even then there's not much actual character development involved.
Jim Hopper might not have a clue what he's at, but he's all heart.
Bob, man. Why'd you have to go and do that to Bob? I wasn't sure about the character at first, but he's great.
Joyce just doesn't get a break, does she?
Dustin and Steve is a partnership for the ages. More, please.
And Steve, generally: I loved his arc across the two series.
It was a welcome change that the new guy in charge of Hawkins Lab might have an edge to him, but is generally on the right side.
While on her Journey of Discovery, El learns to channel her anger and hate to amp up her powers. Vital for the finale, but a bit Dark Side. That would be an interesting thread to pull on in future storylines.
Why does Billy exist? He and his fluffy 'tache are an annoyance and a distraction.
The kid actors are all still great, even if Will spends most of his time either in bed or looking scared, and Mike just grumps around and pines.
Max is a welcome addition, but really does highlight how little Will and Mike have to do in this series. Even so, the new splinter-party of Lucas, Max and Dustin watched over by Steve is worth it.
The epilogue is sweet and heartwarming and had me cheering tween romance in a way I'll absolutely deny if you tell anyone about it.
As a second season, this one didn't have the out-of-nowhere element of surprise of the first, and maybe suffers a bit for it, but on the whole I had a great time watching it and will be doing so again.
I'm already looking forward to more in the future.
What, I thought, if the events of the day had been otherwise and Arlene Foster mindful of all our human physical frailties had acted graciously in the circumstances?
Northern Ireland would potentially be a different place not just now but possibly for ever.
One single act of grace, of leadership, at the hands of Arlene Foster would probably have melted the possibility of what she now expects to be a ‘brutal election.’
When will principle of ‘Noblesse Oblige’ hit the Hill?
(Responsibilities of the rich, famous and powerful, notably to provide good examples of behaviour or to exceed minimal standards of decency. It has also been used to describe a person taking the blame for something in order to solve an issue or save someone else)
Mallie expounds on grace as the choice not to fight, but to embrace. It’s the choice to step back from the brink of yet more Them’n’Us ugliness.
It’s a powerful piece of writing, the more so for being true—and even more for the hint of sorrow at imagining what could be but is not.
A good friend and colleague has written a couple of books over the last number of years, and I had the enjoyable experience of doing the technical review on them. When his publisher asked if he wanted to write a book on developing apps for Apple Watch, Mo said he would—but he'd rather work with a co-author. When he asked if I would like to take it on, I took almost no time to think about it before I answered with a resounding, "Yes!"
We spent a large chunk of last year on this, with a bit of a hiatus around Apple's Worldwide Developer Conference while we anticipated and then digested the announcement of watchOS 2, and we're really quite pleased with the result. The book covers everything an iOS developer with a little bit of experience needs to get going with the watch and make the most of what it offers.
Perhaps like many programmers, I have a long list of half-finished side projects behind me, but—with the support and encouragement of my family, Mo, the team at Peachpit, and our employer—this is one that has shipped and shipped well. That feels good.
I've never done the end of year lists thing here, but there are a few books I've read in 2015 that I'd like to recommend. As has happened with my reading over the last few years, they're mostly genre. That shouldn't put you off. If you like some of the same sort of things as me, you should give these a go.
Somebody on Twitter recommended the Expanse books from James SA Corey a while ago, and a series based on the first one has just started on Syfy. These have grabbed me and dragged me along without stopping. If you liked Firefly, you'll enjoy these.
I'd heard a lot of good about Elizabeth Bear, and I wasn't disappointed by her Eternal Sky trilogy. Their world is intricate and beautiful. With horses.
Witches of Lychford by Paul Cornell is quick little novella mixing predatory business practices with demonic influences in rural England. It's probably my favourite thing I read all year.
I've had good luck with recommendation emails from Amazon, too. The first one that stuck was Linesman by the writing partnership of SK Dunstall. Interesting politics and an intriguing setting (including a space-travel mechanic that's totally different to anything else I've come across) more than make up for occasionally flat characters.
The other good Amazon rec I received was for the The Fold by Peter Clines, which took me to its preceding volume, 14. Creepy mystery and monsters, Tesla, Lovecraft, bright green cockroaches and a big daft grin on my face. Just the grin, that is. The cockroaches are in the book, not on my face.
Other things I enjoyed this year were the much-celebrated Station Eleven, the pulpy but fun Origin, and the Shadow Police books and the PC Peter Grant novels—both of which satisfy my love of modern wizards doing normal(-ish) police work.