hacking 101 - an introduction to hacku at iit kanpur

70
Balaji Narayanan Hacking 101

Upload: balaji-narayanan

Post on 06-May-2015

2.908 views

Category:

Technology


1 download

DESCRIPTION

Hacking 101 - An Introduction to HackU at IIT Kanpur

TRANSCRIPT

Page 1: Hacking 101 - An Introduction to HackU at IIT Kanpur

Balaji Narayanan

Hacking 101

Page 2: Hacking 101 - An Introduction to HackU at IIT Kanpur

Hacking?

Page 3: Hacking 101 - An Introduction to HackU at IIT Kanpur

“Someone who makes furniture with an axe”

- Hacker in German

Page 4: Hacking 101 - An Introduction to HackU at IIT Kanpur

hacker: n. A person who enjoys exploring the details of programmable systems and how to stretch their capabilities

Page 5: Hacking 101 - An Introduction to HackU at IIT Kanpur

“Hacking” is a constructive term.

“Cracking” is destructive

Page 6: Hacking 101 - An Introduction to HackU at IIT Kanpur

“Altering a system to do what you want it to do using

what is at your disposal”

- Christian Heilmann

Page 7: Hacking 101 - An Introduction to HackU at IIT Kanpur
Page 8: Hacking 101 - An Introduction to HackU at IIT Kanpur

Hack Day

Page 9: Hacking 101 - An Introduction to HackU at IIT Kanpur

24 hours of un-interrupted, unrestrained coding and

innovation

Page 10: Hacking 101 - An Introduction to HackU at IIT Kanpur

Hack

Page 11: Hacking 101 - An Introduction to HackU at IIT Kanpur

Eat

Page 12: Hacking 101 - An Introduction to HackU at IIT Kanpur

Get Help

Page 13: Hacking 101 - An Introduction to HackU at IIT Kanpur

Recharge

Page 14: Hacking 101 - An Introduction to HackU at IIT Kanpur

Have Fun

Page 15: Hacking 101 - An Introduction to HackU at IIT Kanpur

Hack

http://www.flickr.com/photos/rlerdorf/3250595638/

Fix

Page 16: Hacking 101 - An Introduction to HackU at IIT Kanpur

Present

Page 17: Hacking 101 - An Introduction to HackU at IIT Kanpur

Win

Page 18: Hacking 101 - An Introduction to HackU at IIT Kanpur

Where do I start?

Page 19: Hacking 101 - An Introduction to HackU at IIT Kanpur

A good hack starts with an idea…

Page 20: Hacking 101 - An Introduction to HackU at IIT Kanpur

Fix something you use every day

Page 21: Hacking 101 - An Introduction to HackU at IIT Kanpur

Build something you will use yourself

Page 22: Hacking 101 - An Introduction to HackU at IIT Kanpur

Hack for Good - Make the world a better place

Page 23: Hacking 101 - An Introduction to HackU at IIT Kanpur

Go local – tools for helping your local community

Page 24: Hacking 101 - An Introduction to HackU at IIT Kanpur

Don’t limit yourself to your favorite toys

Page 25: Hacking 101 - An Introduction to HackU at IIT Kanpur

A good hack doesn’t need to be a big thing

http://www.flickr.com/photos/capricorndragon/4000384412/

Page 26: Hacking 101 - An Introduction to HackU at IIT Kanpur

Don’t look for features. Concentrate on one thing

Don’t look to solve everything

Page 27: Hacking 101 - An Introduction to HackU at IIT Kanpur

You only have 24 hours

Page 28: Hacking 101 - An Introduction to HackU at IIT Kanpur

Find things that already work

And put them together

Page 29: Hacking 101 - An Introduction to HackU at IIT Kanpur

Show us what can be built using the systems we

(and others) offer.

Page 30: Hacking 101 - An Introduction to HackU at IIT Kanpur

http://developer.yahoo.com

Page 31: Hacking 101 - An Introduction to HackU at IIT Kanpur

http://www.github.com/

Page 32: Hacking 101 - An Introduction to HackU at IIT Kanpur

To build a typical web hack you need data, access

and an interface

Page 33: Hacking 101 - An Introduction to HackU at IIT Kanpur

Yahoo! has opened up its data

Page 34: Hacking 101 - An Introduction to HackU at IIT Kanpur

Search (BOSS), Flickr, Geo, Social, Mail,

Messenger…

Page 35: Hacking 101 - An Introduction to HackU at IIT Kanpur

And so have others

Page 36: Hacking 101 - An Introduction to HackU at IIT Kanpur

Programmable web lists 2182 APIs in their API

directoryTwitter, Facebook, Google, …

Page 37: Hacking 101 - An Introduction to HackU at IIT Kanpur

To access these you can use YQL

Page 38: Hacking 101 - An Introduction to HackU at IIT Kanpur

YQL is a SQL-Like Language that lets you

Page 39: Hacking 101 - An Introduction to HackU at IIT Kanpur

… filter, combine, tweak data across hundreds of Web Services.

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

Page 40: Hacking 101 - An Introduction to HackU at IIT Kanpur

How will you build a system to calculate distance between two places?

Page 41: Hacking 101 - An Introduction to HackU at IIT Kanpur

Use Vincenty's formulae

Page 42: Hacking 101 - An Introduction to HackU at IIT Kanpur

Or use YQL

Page 43: Hacking 101 - An Introduction to HackU at IIT Kanpur
Page 44: Hacking 101 - An Introduction to HackU at IIT Kanpur

YQL has more to it

Page 45: Hacking 101 - An Introduction to HackU at IIT Kanpur

There’s also Yahoo Pipes to do this visually

Page 46: Hacking 101 - An Introduction to HackU at IIT Kanpur

http://pipes.yahoo.com/

Page 47: Hacking 101 - An Introduction to HackU at IIT Kanpur

Data however is not enough.

Page 48: Hacking 101 - An Introduction to HackU at IIT Kanpur

You also need working interfaces

Page 49: Hacking 101 - An Introduction to HackU at IIT Kanpur

Technologies are easy:HTML, CSS, Javascript

Page 50: Hacking 101 - An Introduction to HackU at IIT Kanpur

Making it work on all browsers and OS is tricky

Page 51: Hacking 101 - An Introduction to HackU at IIT Kanpur

YUI

Page 52: Hacking 101 - An Introduction to HackU at IIT Kanpur

http://developer.yahoo.com/yui

Page 53: Hacking 101 - An Introduction to HackU at IIT Kanpur

What about reach?

Page 54: Hacking 101 - An Introduction to HackU at IIT Kanpur

You can build and wait for people to come

Page 55: Hacking 101 - An Introduction to HackU at IIT Kanpur

Or build where people are already there

Page 56: Hacking 101 - An Introduction to HackU at IIT Kanpur

YAP

http://developer.yahoo.com/yap

Page 57: Hacking 101 - An Introduction to HackU at IIT Kanpur

Presenting your hack

Page 58: Hacking 101 - An Introduction to HackU at IIT Kanpur

Do not show us slides about your hack

Page 59: Hacking 101 - An Introduction to HackU at IIT Kanpur

Instead show us what you have done

Page 60: Hacking 101 - An Introduction to HackU at IIT Kanpur

Technical glitches happen

Page 61: Hacking 101 - An Introduction to HackU at IIT Kanpur

Have a plan-B

Page 62: Hacking 101 - An Introduction to HackU at IIT Kanpur

And once you are done

Page 63: Hacking 101 - An Introduction to HackU at IIT Kanpur

Keep your hack live for others to see

Page 64: Hacking 101 - An Introduction to HackU at IIT Kanpur

Show other hackers what you have done

Page 65: Hacking 101 - An Introduction to HackU at IIT Kanpur

Publish your code on github

Page 66: Hacking 101 - An Introduction to HackU at IIT Kanpur

Join us and take it even further!

Page 67: Hacking 101 - An Introduction to HackU at IIT Kanpur

Innovation has no limits

Page 68: Hacking 101 - An Introduction to HackU at IIT Kanpur

Go Hack !!!Have Fun

Page 69: Hacking 101 - An Introduction to HackU at IIT Kanpur

Thank You

Balaji Narayanan@balajijeganhttp://balajin.net/blog/http://slideshare.net/balajijegan/

Page 70: Hacking 101 - An Introduction to HackU at IIT Kanpur

Hack Resources• http://developer.yahoo.com• http://developer.yahoo.com/yql/console• http://github.com/yahoo• http://hackyourworld.org/• http://github.com/codepo8/hackday-toolbox/• http://talks.php.net/show/hacku/