Today, we’re going to make a basic app that’ll be able to use natural language processing (NLP) to predict whether a statement is positive or negative.
This sounds impressive, but creating machine learning models using Apple’s CreateML framework and integrating them into an app is enticingly straightforward. The app below is very basic — but this workflow to train and create a machine learning model can be used to create far more complex and interesting machine learning projects
Full disclosure — I’m not the best iOS developer, or programmer in general. I’d scarcley got my head around UIKit and the delegate pattern for handling data received from APIs before *boom* I open up Xcode after a break and all of a sudden there’s a view struct staring back at me — not a trusty viewDidLoad method in sight! That’s how I discovered SwiftUI. At first, I was immensely confused — the paradigm shift from the imperative UIKit to the declarative SwiftUI is a real head-scratcher if you’ve still at the level where closures freak you out. …
Picture the scene. You’re on the cusp of your career, and — like everyone else you know — you want to break in to the illustrious world of tech. But what language should you learn to impress your prospective employers or build the next big thing? Python? JavaScript? Maybe you want to be an iOS developer, so you could learn Swift? Want to beef up your data scienece resumé? You could learn R…
Or, you could really impress the Google interviewers, stand out from the JavaScript crowd, and impress all (or hopefully some) of your freinds, by learning one of…
Let’s face it, you don’t end up being worth more than the FTSE 100 without occasionally running into a few legal issues. From their trademark battle with the Beatles’ record label, Apple Corps (a dispute which ran for nearly thirty years), to the endless back-and-forth patent war with Samsung, Apple’s legal team probably haven’t had any time to celebrate their company’s meteoric rise through the market capitalisation record books.
With a company so big, with so many products and users, every new piece of hardware or software is bound to cause some issues. iOS 6 was infamous for the Apple…
I think it was a Facebook post a few years ago that led to me to think about skeuomorphism. The post went something along the lines of ‘isn’t it weird that kids today don’t even know what the ‘save’ button is supposed to be’. I had never noticed that the ‘save’ icon on many applications was a little floppy disk. …
The internet is full of people telling you how to achieve certain goals: X things you must do to be Y, you must not do A if you want to be B, and so on and so forth. Well, that’s nothing new: one of the first poets in the Western canon also wrote a list of didactic tidbits on how to be successful. His name was Hesiod, from rural Greece, and in around 700 BC he composed a poem called Work and Days, which gave his brother Perses advice on how to successfully prosper off the land.
A lot of…
It was one of those October afternoons that dispel any lingering doubt that winter is coming. The weight of the cold, damp grey skies dragged the light from the day and the leaves from the trees. I was fourteen, and that afternoon, the YouTube suggestions algorithm had decided that art would indeed mimic life (well, mimic weather at least) and presented me with Threads, a 1984 BBC television film that depicts a nuclear attack and its aftermath on the United Kingdom.
If I thought the afternoon was bleak before, well, it got a whole lot bleaker. I don’t think any…
I had never been more excited for a download to finish. I could almost hear my rural broadband creaking under the weight of the 5 GB behemoth.
I was downloading Xcode — Apple’s integrated development environment, used to develop iOS and MacOS applications. It was August 2011, and I was in my mid-teens. Intoxicated by a sweet cocktail of The Social Network and naïve fantasy, I had decided to become the next app millionaire. …
Beyond the infamous Craven A ‘for your throat’s sake, smoke!’ adverts, the late 1930s had plenty of other products aimed at keeping the body in tip-top shape. I’m fortunate to have a huge collection of issues of the British photojournalistic magazine — Picture Post — which published some fascinating features and reports during its 1938–1957 run, especially in the run up to the Second World War. There is a particular strain of tragic foreshadowing in the magazine’s coverage of the rise of Nazi Germany, especially given the magasine’s strong anti-fascist stance. These deserve more considered attention, but for now, let’s…
To be honest, there are quite a few things Canada does best: maple syrup, ice hockey, lakes (it has the largest water area in world, equivalent to more than the entire area of Pakistan). Yet beyond these sticky and cold accolades, Canada also (in my opinion) leads the world in one other arena: visual identity.
I’ve been to Canada quite a few times, starting from when I was scarcely old enough to fly. And whilst my broader view of the country is a rose-tinted kaleidoscope of placid lakes, canoes, skis, and smiles, there is something that I’ve noticed about Canada…
One part experience, nine parts curiosity: history, iOS development, design, and whatever else ends up floating my boat.