getting ready for hackday

57
Getting in the mood for Hackday. Chris&an Heilmann, Dundee University Hack Day 17/02/2010

Upload: christian-heilmann

Post on 06-May-2015

2.540 views

Category:

Documents


3 download

DESCRIPTION

Introductory talk for the University Hack round in Dundee, Scotland.

TRANSCRIPT

Page 1: Getting Ready For Hackday

Getting in the mood for Hackday.

Chris&anHeilmann,DundeeUniversityHackDay17/02/2010

Page 2: Getting Ready For Hackday

We’re here today to tell you quickly about the university hack program and what the heck Hack is.

Page 3: Getting Ready For Hackday

Hack in Yahoo is our way to play and invent.

Page 4: Getting Ready For Hackday

By allowing people to build whatever they want we keep them happy.

Page 5: Getting Ready For Hackday

We also find out flaws about our own products and learn about technologies that are not in the normal stack.

Page 6: Getting Ready For Hackday

By taking part in this program you get a chance to show what you can do.

Page 7: Getting Ready For Hackday

To your professors, to us but most of all to yourself.

Page 8: Getting Ready For Hackday

We will give you some cool building blocks.

http://www.flickr.com/photos/naelyn/112630649/

Page 9: Getting Ready For Hackday

The simple plan:

Use blocks - solve problem.

Page 10: Getting Ready For Hackday

We want to see things that are practical and make a difference to you and/or to other people.

Page 11: Getting Ready For Hackday

!University

Page 12: Getting Ready For Hackday

Good hacks have a few ingredients.

1. A problem solved

2. Data

3. Interface

4.Platform

Page 13: Getting Ready For Hackday

Hack ingredient #1: A problem that needs solving.

(And an audience that needs it solved.)

Page 14: Getting Ready For Hackday

Find something that is nagging you and use technology to fix it.

Page 15: Getting Ready For Hackday

Or try to tackle some larger issues.

Page 16: Getting Ready For Hackday

Politics / Voting

Page 17: Getting Ready For Hackday

Green / Environment

Page 18: Getting Ready For Hackday

Accessibility

Page 19: Getting Ready For Hackday

Hack ingredient #2: Data.

Page 20: Getting Ready For Hackday

The world is full of data sources.

Page 21: Getting Ready For Hackday

Some of them get offered to you in very easy to use formats.

Page 22: Getting Ready For Hackday

Others need to get converted to more useful formats.

(which is a hack in itself that can make a difference)

Page 23: Getting Ready For Hackday

Some very good data sources:

http://developer.yahoo.com/everything.html

http://data.gov.uk

http://www.guardian.co.uk/world-government-data

http://programmableweb.com/

http://www.guardian.co.uk/news/datablog

Page 24: Getting Ready For Hackday

The trouble with data:

You need to get access to the data sources (API keys, authentication)

You need to get data in formats that are easy to use for your use case

You need to filter the data down to what you really want to have in the end.

All of the above multiplies in annoyance with the amount APIs you use.

Page 25: Getting Ready For Hackday

A great workaround:

http://developer.yahoo.com/yql/console/

Page 26: Getting Ready For Hackday

YQL turns the web into your database.

select * from {datasource} where {conditions}

Page 27: Getting Ready For Hackday

select * from flickr.photos.search where text="donkey"

Page 28: Getting Ready For Hackday

select * from google.news where q="healthcare"

Page 29: Getting Ready For Hackday

select * from query.multi where queries in ('select * from nyt.article.search where query="healthcare"','select * from microsoft.bing.news where query="healthcare"','select * from google.news where q="healthcare"'

)

Page 30: Getting Ready For Hackday

select content from html where url="http://www.foxnews.com/" and xpath="//h2/a"

Page 31: Getting Ready For Hackday

select * from google.translate where q in (select content from html where url="http://www.foxnews.com/" and xpath="//h2/a"

) and target="fr"

Page 32: Getting Ready For Hackday

Using YQL has a lot of benefits:

No time wasted reading API docsUsing the console makes creating complex queries dead easy.Data filtering down to the least amount necessary.Fast pipes.Caching + converting Server-side JavaScript

Page 33: Getting Ready For Hackday

Using YQL is easy! (PHP)

Page 34: Getting Ready For Hackday

Using YQL is easy! (JavaScript)

Page 35: Getting Ready For Hackday

Hack ingredient #3: Interface.

Page 36: Getting Ready For Hackday

Interfaces for the web that really work are hard to build.

Page 37: Getting Ready For Hackday

Therefore the cleverest thing you can do is using libraries.

Page 38: Getting Ready For Hackday

Libraries.

(...)

Page 39: Getting Ready For Hackday

Personally, I use YUI and jQuery - depending on what needs to be done.

Page 42: Getting Ready For Hackday

Hack ingredient #4: Platform.

Page 43: Getting Ready For Hackday

You can build a hack for any platform you like.

Page 44: Getting Ready For Hackday

Personally, I like to build web apps.

Page 45: Getting Ready For Hackday

Using web technologies you can support other platforms, too.

Page 46: Getting Ready For Hackday
Page 47: Getting Ready For Hackday

Appcelerator Titanium

http://www.appcelerator.com/

Page 48: Getting Ready For Hackday

However, everything goes. Surprise us.

Page 49: Getting Ready For Hackday

Some demos:

Page 51: Getting Ready For Hackday

http://keywordfinder.org

Keywordfinder

Page 54: Getting Ready For Hackday

Mapumental

http://mapumental.channel4.com/

Page 55: Getting Ready For Hackday

Lack of talent or experience is not a show-stopper.

Page 56: Getting Ready For Hackday

Collaborate and find some good ideas and then go for it.