Feeds

Student books Vegas trip with Twitter mood detection app

PHP on Azure prize winner

Internet Security Threat Report 2014

Ben Waine, a self described "student ninja” who scooped first prize at the PHP Benelux Azure coding contest on May 21, has announced his victory on Twitter in a fittingly dignified and restrained manner:

“Vegas baby yeeeeeeeaaaaaahhhhh!!!! Thanks to the @PHPAzureContest team who gave advice and support. #dpc11”

But before we head to Sin City to celebrate Waine’s win, let’s back up a step or two.

The brief was straightforward: “Build or migrate an application (that application you always wanted to build) using PHP running on Windows Azure. PHP Benelux proposes you work on a social networking or CMS application but you are free to go as wild as you wish.”

Rather charmingly, participants are also reminded that plagiarism is not allowed.

This is no Facebook-Hackathon-style sprint for a finish line. This is a coding endurance race: registration for the contest closed back in February, and coders were asked to keep a blog, tracking their project’s development.

In keeping with PHP’s free-as-in-speech roots, the winning project is also to be released under a creative commons licence “for the benefit of the community”.

Twitter in the mood

Waine’s app allows users to track not just which topics are trending on twitter, but also the mood associated with the trend.

“There is a clear commercial rationale for this product for companies who wish to answer the question “How are we perceived right now?” Answering this question would help companies quickly respond to emerging trends on this fast paced and influential social network,” he explains on his blog.

For example, Waine’s app could allow marketers to spot it very quickly when Twitter hijacks a marketing hashtag, as happened with Vodafone’s #mademesmile campaign last year.

The campaign coincided with news that the company had been given a generous discount on its tax bill and Twitterers quickly used the hashtag to register their displeasure. The phone company was widely criticised for its naivety; left with egg on its face and negative tweets all over its home page.

Waine explains the app “first assembles a training sample of Tweets using the Twitter Search API and then monitors the search terms using the Twitter Streams API”.

Users enter their search term and let the app gather data, which is plotted as positivity over time.

Line graph tracking twitter sentiment

He explains that in the end, he put more work into the guts of the app rather than the user interface, which is somewhat sparse. Clearly the decision paid off: function over form, every time.

Judges were looking for something that exploited the possibilities of the Azure platform as fully as possible. Before the final, Judge Stefan Koopmanschap told us: “Obviously the more aspects of Windows Azure are used by the application, the better it is in the judging. Judges will also look at originality, code quality and other development best practices.”

Built for Azure

Judges were asked to look for four things:

1. Functional: does the application work and is it scalable on Windows Azure.
2. Technical: is the solution a custom development, difficulty, completeness of the technical solution
3. Challenge level: does the solution include other features of the Windows Azure platform like SQL Azure or Windows Azure Storage 4. Creativity and originality

Koopmanschap told us Waine’s application particularly impressed because it was “not just hosted on Azure but it was built for it”:

“What we liked about Ben's app was that he had written an application that used a big variety of Azure services. Additionally, Ben really documented his path towards getting his application to run by blogging on a regular basis. This was the basis for us deciding Ben was to be the winner of the contest,” he told us, in recovery mode after the conference.

Waine has posted a comprehensive account of his application, and the experience of working on Azure here. He notes SQL Azure was “pretty fantastic” as was the MS support for PHP on Azure. But working on such a new platform had its drawbacks, especially in documentation, which was sometimes thin on the ground.

Go, read. It has graphs and stuff.

And there is more to come. Waine plans to rebuild the fulfilment API into a queue-based-architecture. This would speed things up, he says, as well as creating only one point of contact with Twitter, making the app more scalable. ®

Internet Security Threat Report 2014

More from The Register

next story
PEAK APPLE: iOS 8 is least popular Cupertino mobile OS in all of HUMAN HISTORY
'Nerd release' finally staggers past 50 per cent adoption
Microsoft to bake Skype into IE, without plugins
Redmond thinks the Object Real-Time Communications API for WebRTC is ready to roll
Microsoft promises Windows 10 will mean two-factor auth for all
Sneak peek at security features Redmond's baking into new OS
Mozilla: Spidermonkey ATE Apple's JavaScriptCore, THRASHED Google V8
Moz man claims the win on rivals' own benchmarks
Yes, Virginia, there IS a W3C HTML5 standard – as of now, that is
You asked for it! You begged for it! Then you gave up! And now it's HERE!
FTDI yanks chip-bricking driver from Windows Update, vows to fight on
Next driver to battle fake chips with 'non-invasive' methods
DEATH by PowerPoint: Microsoft warns of 0-day attack hidden in slides
Might put out patch in update, might chuck it out sooner
Ubuntu 14.10 tries pulling a Steve Ballmer on cloudy offerings
Oi, Windows, centOS and openSUSE – behave, we're all friends here
prev story

Whitepapers

Why and how to choose the right cloud vendor
The benefits of cloud-based storage in your processes. Eliminate onsite, disk-based backup and archiving in favor of cloud-based data protection.
A strategic approach to identity relationship management
ForgeRock commissioned Forrester to evaluate companies’ IAM practices and requirements when it comes to customer-facing scenarios versus employee-facing ones.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?
Saudi Petroleum chooses Tegile storage solution
A storage solution that addresses company growth and performance for business-critical applications of caseware archive and search along with other key operational systems.
Choosing a cloud hosting partner with confidence
Download Choosing a Cloud Hosting Provider with Confidence to learn more about cloud computing - the new opportunities and new security challenges.