Showing posts with label yahoo. Show all posts
Showing posts with label yahoo. Show all posts

Wednesday, 20 May 2009

Kizoom team at Yahoo! Open Hack London 2009

For the first time, I managed to convince some other Kizoom developers to come along to a weekend developer event. Dan, Matthew, Neo and Joyce joined me for Yahoo!’s Open Hack London 2009, and Neo’s friend San brought a much welcomed Lego Mindstorms set to the party.

Our team. Image courtesy of Nate Lanxon, CNET UK

And it was a pretty good party (though strictly a geeky one), complete with beer, music, snacks, giant Jenga and scalextric. There was even a fantastic live band (this being a geek party, the band consisted of guitar and Nintendo Gameboy…) and an iPhone orchestra:

But the most fun was the hacking. There were some absolutely stunning hacks produced over the weekend — better than both Hackday 2007 and Over The Air — and the Kizoom team had a great time playing with sticking things together for the hell of it. Mindstorms especially is great for hacks — you can run a Java VM on the programmable brick (see http://www.lejos,org) and then send it Java applets over Bluetooth. You then start attaching motors, microphones, light and distance sensors and building up the model with Lego pieces. Making silly things is fun and easy, and if you want to get serious you can even build a Rubik’s cube solver! We built a robot finger that pressed a button on a keyboard when it hears a loud noise (like playing a bongo drum!).

Since there were six of us, we pulled in other bits of hardware to play with as well — a Wiimote strapped to a scooter (ridden by Dan) sending its motion via Open Sound Control and Processing to a MacBook; and a JavaME app on a cameraphone with some image recognition to identify the omnipresent Hackday beanbags. Dan and Matthew built the hub of all these hacklets — a browser driven by Selenium, in turn driven by simple web services.

Aside from having a great time, both learning and building, we were very pleased to win the prize for “Most Awesome Hack”. I’d really like to include a video of our presentation, but that’s not available yet. In the meantime, here’s a few pictures of the various components:

The Fabulous Human Powered Browser Dan operating the scrollbar by riding the Wii-equipped scooter

The hacking itself was preceded by a morning of seminars on various Yahoo! and other APIs. I’ve included my notes below on the ones I attended in case anyone finds them useful.

GeoPlanet

Martin Barnes — Data Manager, Yahoo! Geo Technologies, UK (based in Shaftesbury Avenue)

barnes@yahoo-inc.com

Slides available

  • Most of the named places on Earth + relationships that tie them together
    • Not down to street level — just towns, villages & suburbs
  • Not a geocoder — provides you with some idea of the centroid of the object of interest
  • Official databases such as USPS also have weird and wacky data that doesn’t really exist in the real world — database
  • Integrates with Flickr & Fireagle so can expand on WOEIDs from these
  • Telephone area codes also included — don’t have exact boundaries, but can find out which cities are involved
  • WOEIDs sometimes get deprecated, but the API still responds to them — it just forwards you to the new authoritative WOEID
  • Each API key is limited to 50K queries a day
  • Have neighbour relationships for cities and towns
    • mainly for US, where they just spread one into the other
    • but also useful for other places
  • Can return GeoJSON: http://geojson.org/
  • GeoPlanet Forum constantly monitored
  • UK postcodes data is currently about 3 years out of date since Yahoo! are refusing to pay license…

Future plans

  • Plan to have data in some sort of escrow
    • depends on licensing deals with Navteq etc
  • Plan to integrate Geonames data
    • Original WhereHaus was based on Geonames but branched from it to get other sources
  • Plan to have user-based input, like Geonames

RDFa

Mark Birbeck mark.birbeck@webBackplane.com

  • Allows RDF to be embedded in web pages using attributes
  • Can attach license information to an individual image:
    • <img src="blah.jpg" rel="license" resource="http://creativecommons.org/license..."/>
  • No need for separate feeds
  • Helps for federated sites — just add markup to output from different systems
    • Can then pull together disparate outputs
  • Have built extensions to Drupal to add RDFa to contact details, etc.
  • See also OpenCalais http://www.opencalais.com/about by ThomsonReuters
    • identifies entities, facts and events in unstructured text, XML & HTML
  • See samples at http://code.google.com/p/ubiquity-rdfa/source/browse/#svn/trunk/_samples

Search Monkey

Neil Crosby — European Frontend Architect for Search at Yahoo

Slides available

  • extensions to Yahoo’s search engine: extend search results — making it easier for the user
  • users choose to install additional search monkeys from http://gallery.search.yahoo.com/
  • also supports XSLT that can transform whatever you want from the source page
    • e.g. if you have tables, you can pull them out as tuples
  • not done a huge amount of publicity to users about specific monkeys, but have turned on a bunch of monkeys automatically for all users
  • can also develop a monkey for your own site — can add to a header (see documentation somewhere)
    • in future may want to turn that on automatically

Blueprint

Ricardo Varela — Mobile Integration Engineering Lead, Yahoo ricardov@yahoo-inc.com

Blog: http://phobeo.com/

Presentation and handout available online.

I first learnt about Blueprint at Future of Mobile 2008 back in November last year, and Ricardo’s presentation was similar then. He understands the problems that are faced in mobile development, and Blueprint, like Luca Passani’s WURFL-based WALL, seems like a reasonable way to go forwards. However, it’s all down to the implementation and the edge cases and that’s a lot of hard work.

Quite a few people used Blueprint in their hacks, but didn’t actually demo on mobile phones (other than iPhones…). Dale Lane actually tried to make it work on Windows Mobile & Android G1 and had a horrible experience. When he visited his Blueprint site from his Windows Mobile browser, he actually got a message telling him to download Opera instead! That kind of ruins the point of a cross-browser system…

Yahoo!’s recent announcement that they’re killing all non-iPhone mobile native app development may point to Blueprint for mobile web getting stronger within Yahoo! But the promised native clients for BlackBerry and J2ME may now be dead in the water.

Anyway, here’s my notes from the session at Hackday:

  • Now gone to v1.1
  • Yahoo Mobile used to be text only, now graphics and styles etc.
  • some Nokia browsers won’t show tables unless you specify a doctype
  • video encoding for 40+ different mobile formats
    • currently only for videos hosted within yahoo.com
  • slideshare did mobile site with blueprint — created in 24hrs
  • similarly, http://m.fynbus.info/ — mobile version of buses in Fyn, DK
  • 1 out of 3 iPhone users has Facebook
  • Android and iPhone native wrappers still in development
    • were in development in November last year at Future of Mobile, so not that much progress…
  • this first release doesn’t have style customization
    • thinking about it — but can’t just support CSS, will have to have some subset
  • Some Blackberries are not standards-compliant for cookies
    • use commas not semicolons
    • if not in Blueprint now, can be added

Monday, 15 September 2008

MomoLondon: Mobile Platforms: Too much choice or Hobson's Choice?

  • Annie Turner — editor of telecomseurope.net
  • Marko Balabanovic — lastminute.com labs
    • launched fonefood as web site around Western Europe
    • have two or three customisations for screen sizes but not much more than that
    • world looks like iPhone version + everyone else
    • want to have rounded buttons etc for iPhone, but everyone else the same
    • adding location — launched with Google Gears for Windows Mobile
  • Ricardo Varela — European Mobile Engineering Lead, Yahoo!
    • working to make Yahoo Go widget framework (Blueprint) available for single apps
    • have native Symbian, iPhone, Android platforms
  • Ben Last — EMCC
  • Nick Allot — OMTP (Open Mobile Terminal Platform)
    • working with BONDI initiative — calls to mobile APIs from Javascript
  • Simon Rockman — Sony Ericsson
    • hope for the future: app stores

Is there a sustainable business model?

  • iPhone proves there’s people willing to pay money
    • interesting that this has eclipsed any other payment

Designed for device

Simon Rockman: You don’t get games developers wanting to write the same thing for different devices — they optimize for different hardware

  • Simon Rockman: “Trying to make things easy in development will end up with products that people don’t want to buy”
  • Ben Whitaker (Masabi): “Niches are too small”
  • SR: “It’s more about what can you charge for the app. You can do segmentation based on the device — music phones are sold to particular people”
  • Nick Allot: “No route to market”
  • Ben Last: “Can address enterprise using just Nokia Series 60v3 & BlackBerry”
  • BL: “Route to market via the web — mobile apps are often things that people want to take from the web with them on their mobile. e.g. Google Mail, Yahoo”

We’ve heard “write once play everywhere before” with Java…

  • Ben Last: “operators want a piece of iPhone pie, and getting rid of fragmentation will sort that”
  • Kai Hendry (Aplix): “the web can degrade nicely, better than Java”

Will the operators and manufacturers really get involved?

  • Simon Rockman: “Existing phones are getting cheaper and that’s where the growth is. Processor power is not growing in the same way as computers. Battery power is only growing at 10% a year.”
    • however, there is increase in processor growth at the high end, and this is filtering down steadily
  • Nick Allot: OMTP have OEMs & operators on-board

Putting things in the way of normal mobile users actually using applications

  • Nick Allot: “warnings are absolving network operators and manufacturers of responsibility for upstream content, just like warnings in a car park telling you not to leave your valuables in the car”
    • “OMTP trying to come up with a sensible trust mechanism — especially one that will allow you to take a phone from one network to another”
  • Ben Masabi: “setting up data connections and installation warning texts could be standardized across all phones — just like NTT DoCoMo”
  • Nick Allot: “we tried this and have done what we can…”
    • e.g. removing an application that’s deemed dangerous, depends upon legal implications of country, operator contract

What do Yahoo Blueprint think of OMTP and vice-versa?

  • Nick Allot: OMTP based on web standards
  • Ricardo Varela: Blueprint is out there already

Whither Fennec?

  • Ben Last: “Where firefox got good, was when it stopped trying to fight IE but implemented the de facto standards. It’s good to see more browsers coming out that are standards-compliant”

Staying on mobile or going back to web to register?

  • Ben Whitaker: “stats — losing 2/3rds when ask to register on PC; losing 50% when trying to go online with GPRS”
  • Gambling software (J2ME): “78% installed from a link for the trial — gobsmacked! Don’t expect that for the actual release”

How will the platforms go in the future?

  • Ben Last: “will be driven by the killer app”
    • but the killer app is already there — it’s making phone calls!
  • Simon Rockman: “killer app is seamlessness. Need to do the right thing on the right device”

Demos

Goojet widget engine couldn’t make it

Shazam — Dominic Pride

Taking music recognition further:

  • buy track
  • artist info
  • share track

Application built by EMCC on Symbian

  • deliver same consistency of experience
  • go deep into messaging & contacts API

Next MoMo

  • October 13th: NFC
  • November 10th: MoMo London Turns Three
  • December 1st: Social Networking Revisited?