Top Banner
Wave hackathon intro Jose Quesada, Max Planck Institute, Berlin RuPy 2009, Posnan, Poland
43

Wave Hackathon Intro

Sep 14, 2014

Download

Technology

A google wave intro for ruPy 2009
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Wave Hackathon Intro

Wave hackathon intro

Jose Quesada,Max Planck Institute, Berlin

RuPy 2009, Posnan, Poland

Page 2: Wave Hackathon Intro

• Jose Quesada, – [email protected],– http://josequesada.name– Twitter: @quesada

• Reasoning with the entire web:– http://larkc.eu

Page 3: Wave Hackathon Intro
Page 4: Wave Hackathon Intro

BASICS. THE TECHNOLOGY

Page 5: Wave Hackathon Intro

• Each wave is an XML document. It can be rendered as html

• Uses html 5

• XMPP

• Operational Transformation (OT). It defines a set of operations, transformations, and the documents they can be applied to

Page 6: Wave Hackathon Intro

HTTP vs XMPP

• REST– A mapping of CRUD operations on a RDBMS to:• GET• POST• PUT• DELETE

• Web frameworks isolate us from seeing http at work

Page 7: Wave Hackathon Intro

Credit: Andres Ferrate, getting started with google Wave. O’ reilly

Page 8: Wave Hackathon Intro

HTTP vs XMPP

Page 9: Wave Hackathon Intro

HTTP vs XMPP

• Decentralization

• Presence– Presence data overhead

Real time possible. But this is not as big deal as it seems.

http://jasonkolb.com/weblog/2009/09/why-google-wave-is-the-coolest-thing-since-sliced-bread.html

Page 10: Wave Hackathon Intro

WE

Page 11: Wave Hackathon Intro

ARE

Page 12: Wave Hackathon Intro

DOING

Page 13: Wave Hackathon Intro

IT

Page 14: Wave Hackathon Intro

If we are doing web apps over HTTP, we are doing them wrongWRONG

Page 15: Wave Hackathon Intro

The wave protocol is free and open source. You can run your own wave server

Alternatives (other real-time frameworks)Tornado: extracted from friendfeedTwisterDiesel

Page 16: Wave Hackathon Intro

COMPONENTS

Page 17: Wave Hackathon Intro
Page 18: Wave Hackathon Intro

Robots - gadgets

Robots are like participants

Page 19: Wave Hackathon Intro

Credit: Andres Ferrate, getting started with google Wave. O’ reilly

Page 20: Wave Hackathon Intro

Waves are embeddable

• In an application (example: desktop wave client)

• Web page (example: substitute blog post and comments)

Page 21: Wave Hackathon Intro

Sandbox vs standard wave

• Standard ~ 100.000 users– You normally get invites– Quite a lot of activity

• Sandbox: lucky few• - not that many people to test your extensions,

but you can go to the standard wave for that

Page 22: Wave Hackathon Intro

INSPIRATION

Page 23: Wave Hackathon Intro
Page 24: Wave Hackathon Intro
Page 26: Wave Hackathon Intro

http://sites.google.com/site/gwaveextensions/extensions-list

Page 27: Wave Hackathon Intro

http://sites.google.com/site/gwaveextensions/extensions-list

Page 28: Wave Hackathon Intro

RESOURCES

Page 29: Wave Hackathon Intro
Page 30: Wave Hackathon Intro

A Wave in itself: Wave Programming tutorials! https://wave.google.com/wave/?pli=1#restored:wave:googlewave.com!w%252BW779r_dkQ

Google Wavehttp://www.slideshare.net/monika7/google-wave-2063865

Google Wavehttp://www.slideshare.net/jrigerl/google-wave

Advanced Wave Presentationhttp://www.slideshare.net/bedney/wave-presentation-1933385

Making dodgy robots with Google Wavehttp://www.slideshare.net/guest3eb9a3c/making-dodgy-robots-with-google-wave

Google Wave Robot API - Marcel Prasetyahttp://docs.google.com/present/view?id=ajfcq4h4mvxw_0f9xph2cg

Page 31: Wave Hackathon Intro

Wave extension In 5 stepshttp://jeez.eu/2009/10/11/creating-a-google-wave-extension-in-5-steps/

Reddit:Wave: http://www.reddit.com/r/waveApp engine: http://www.reddit.com/r/AppEngine/

For gadgets, step-by-step guide (in php!)http://jeez.eu/2009/10/11/creating-a-google-wave-extension-in-5-steps/

Page 32: Wave Hackathon Intro

Wave Extension Design Principles

Make It Wave-y Make It Easy to Use Make It Easy to Install Make It Look Good Make It Useful — Or Fun!

(http://code.google.com/apis/wave/extensions/designprinciples.html)

Page 33: Wave Hackathon Intro

Gotchas: Robot Wars

• Problem: Because you can invite more than one robot into a wave, you can inadvertently end up building a new version of Robot Wars. For example, one robot could reply to another one's changes and vice versa.

• Solution: give robots limited quota, so infinite loops will ultimately run out of steam.

Page 34: Wave Hackathon Intro

SOCIAL ASPECT

Page 35: Wave Hackathon Intro

Some A-list bloggers didn’t like it

Scoble: Google Wave crashes on beach of overhypeGoogle Wave’s unproductive email metaphors

But, early adopters/geeks are not the audience.

Page 36: Wave Hackathon Intro

User experience improvements will make great extensions

• Pain points– You need to read through a lot of crap – It's hard to manage a long wave

• Spam: Nobody can enter if they are not

invited

Page 37: Wave Hackathon Intro

Like twitter, it sits in an uncomfortable position

Page 38: Wave Hackathon Intro

wavetiquette

• proper wave etiquette is still forming– When is it ok to delete posts?

– Should you edit your own response or respond to your response?

– Starting new waves versus resurrecting old ones (and how to politely point people to older waves)

Page 39: Wave Hackathon Intro

Hack away2.5 hrs. Pair up

Let’s move to a place where we can walk around, see what others are doing, get back to coding

Come up with an idea. See blog post at rupy for step-by-step things to do

There’s a wave already started. Search for rupy

If you have no wave account, match up with someone who does

Page 40: Wave Hackathon Intro

END

Page 41: Wave Hackathon Intro

• Scale to the entire web

• Do reasoning with open word assumption

• Retrieval in real-time

• Go beyond logics

• Use cases:– Real time city– Cancer monographs for WHO– Gene expression finding

Page 42: Wave Hackathon Intro

To follow:

• @enkido working on wave robot IDE, scipy• http://gist.github.com/raw/

150983/8b27179d9defbf5a1ac25e574c9e51ec2f981998/gistfile1.txt Tips from a hackathon attendant

Page 43: Wave Hackathon Intro