12 Jul 2015
Being in control of a situation feels great. You get to look like the smartest guy in the room, take your pick of the witty and ironic tweets to send to all your friends and come out socially unscathed. Being on the right side of the status quo, picking the good fight and saying all the right things.
It has become so incredibly easy for people in the technology industry to take sides, to agree, and support a cause simply because it is the safe thing to do. Because it looks to be the right thing to do. People assume that because everyone supports a cause it must be correct, that the powers above have already determined the right from the wrong.
Take any cause, or issue currently under scrutiny in today's society. Gay marriage, freedom of speech, gender equality, anything. Do you support it? Yes? Have you ever asked yourself why? Truly the questions, ethics, values, doubts and experiences that led you to that conclusion and caused you to make an informed logical and confident decision?
Would you be willing to stand up for it against a naysayer and clearly present a justification for your beliefs? Or is it just something that you agree with because it’s what all young people do? Because you don’t want to be the outcast that doesn’t agree with something that everyone else does. If you can’t justify your choice you are doing the rest of those who can a dis-service.
It is better to be wrong and fight for what you believe in than to assume and take sides because it is safe. And that works both ways. Do not act smart, cool and witty on Twitter or anywhere else because you’re on the ‘right’ side of the fence. Be brave enough to stand alone against complacency.
It is so god damn comfortable and easy.
You think you’re better than everyone because you tick all the right boxes? Get real.
01 Jun 2015
WatchKit hasn't been around for long and as is to be expected documentation is a scarce resource. Which has been both an issue and a blessing in disguise forcing me to dig deeper than usual and learn something I otherwise wouldn't.
I had an issue earlier with packaging an iOS + WatchKit bundle into an
xcrun instead of Xcode's Archive and Export functionality. Chances are you'll come across this issue. Installing your WatchKit app on your Apple Watch device fails with the following error message:
'Failed to install WatchKit App, error:
Application Verification Failed'.
You've got no stack trace and no console logs... so this could be one of many different things.
In my case this specific project involved a build pipeline that Archived, Code Signed and Exported the app automatically using a few fancy build scripts. This seems to be a common process allowing teams to have a deeper control over their Continuous Integration setup.
To accomplish this
xcode-build is used to compile the Xcode project into an output
.app file. You cannot distribute this
.app file as it does not contain any Provisioning Profiles or Developer Certificates.
Once an Xcode project is compiled into an
xcrun is used to package it into an
.ipa file. This is the file which includes your
.app as well as Provisioning Profiles and Developer Certificates and is the package to be installed on a user's iOS device.
Until now I did not realise that an
.ipa package has an inherent internal structure that must be adhered to at all times:
.app file, which itself contains all your iOS applications assets, .xibs, .plists.
MyApp_WatchKitExtension.appex file, which itself contains all your WatchKit Extension resources.
MyApp_WatchKitApp.app file, which itself contains all your WatchKit App (not Extension) related files such as Storyboards, Assets and everything living on the Watch device itself as opposed to the Extension. It also contains the Watch Extension executable.
Undocumented. Apps supporting a WatchKit App require this WatchKitSupport directory and within it a
WK binary file.
xcrun vs Xcode
Knowing this I compared the output of xcrun with the output of Xcode's Archive and Export functionality.
Then I discovered this forum post by an Apple Engineer in the Developer Forums, inadvertently describing the inability for xcrun to support packaging an
.ipa for WatchKit support. His workaround and Kassem Wridan's workaround seem to be the only solutions to this issue.
This is definitely not a permanent solution to the problem but is a perfect opportunity for me to file a radar. If you're reading this you should do the same in the hopes this will one day be fixed.
If you have any questions, or corrections feel free to let me know.
19 May 2015
I just watched Ex Machina, a British Sci-Fi film directed by Alex Garland and immediately loved it. Not only was it a beautiful film, true to the reasons I love the genre, but it was incredibly thought provoking and different.
Garland depicts a vivid future in which Artificial Intelligence has advanced far beyond where it is today. Distinction between human and machine is present visually but is questioned on a theoretical level.
It constantly plays with ideas of human intelligence and creationism yet it also has an underlying element of gender in its portrayal of the female form. Positioning of women is somewhat deliberate and representative of many existing present day concerns.
I thoroughly enjoyed this film and it has reignited my love for the Sci-Fi genre. I can't wait to see it again, dig deeper into the ideas Garland addresses and explore them further myself. If you haven't already, make plans to see it. Joshua Topolsky recorded this great episode of Tomorrow with Garland about the movie that's also well worth your time.
06 May 2015
People can be incredibly opinionated on Twitter and just in general. I say that because I'm also one of these people. It can be hard to find space to consider thoughts and ideas unless you know the sort of people willing to engage in serious discourse.
There's also the fact that I'm absolutely terrible at conveying my thoughts verbally, in emoji, or within 140 characters or less. Writing is tough but it allows me to focus on and deeply consider an idea that mightn't initially make sense to anyone else.
When I was younger I'd write relatively meaningless words I was passionate about on Posterous. I'd argue with myself about WikiLeaks and Chelsea Manning, try to convince myself Facebook was destructive and grapple with a philosophical perspective on absolutely anything. I still enjoy being critical and thinking things through. It has since defined the kind of person I've become, the work I love to do and people I know.
Like I did then, I'm setting aside a place on the internet for me to play with ideas, thoughts and questions. I've found there's a sub-concious difference between writing something that nobody will see and writing to yourself publicly. That's where this space fits in and will allow me to think out loud without needing to fit my words into someone else's expectations.
I may write long rants, share code or simply post photos. Either way take anything I say with a grain of salt (unless of course it piques your interest. In which case feel free to share it). Writing is only enjoyable for me if it's focused on an idea that I'm passionate about.
You might enjoy what I have to say if, like me, you're optimistic about the potential role of technology in the future but also know how to approach it critically. I tend not to hold a wholly pesimistic view of technology. It seems to always be in abundance but serves no real purpose.
I should mention that I'm an avid listener of podcasts. At the moment I'm keenly subscribed to Tomorrow, Roderick On The Line and The Partially Examined Life. I have a couple of pages left of Becoming Steve Jobs and as a Philip K. Dick fanatic I've just begun reading A Scanner Darkly.
There are few potential leads for posts in the works, so you should see something soon. Right now I'm thinking about 'affordances in design' or something along the lines of 'optimism and critical thinking'. Not too sure yet.
Thanks for reading