SlideShare a Scribd company logo
1 of 20
Download to read offline
TOOLS TO HACK WITH
       @SteveMarshall
     Dundee HackU 2011
select	
  *	
  from	
  internet




YQL uses a SQL-like query language, allowing you to create simple
queries from one API or really easily chain queries together so you only
get the data you really want, and fast.

All of this, using one language, against one endpoint that gives you
everything on the Internet.

But how do you build your queries? To the console!
This is the console. You can enter queries here…
We can do simple things like ‘Search flickr for 10 cat pictures’.

http://www.flickr.com/search/?q=cat&w=all&m=&s=
By selecting from flickr.photos.search where the text is cat.

But what if we want to do something more complex?
Let’s start by finding tweets about Egypt…

(select * from twitter.search where q='egypt')
And now, let’s make them all Spanish…

select * from google.translate where q in (select text from twitter.search
where q='egypt') and target="es";)

That’s pretty cool. What else can we do?
And now, let’s wrap a UI around that…

And we have a hack!

(http://isithackday.com/hacks/twitter-translate-form.php?
search=egypt&amount=20&language=es)
select	
  *
       from	
  query.multi
       where	
  queries	
  in
    (‘query	
  1’,	
  ‘query	
  2’,	
  
          ‘query	
  3’)


One of the most useful tables you can use, query.multi allows you to
combine multiple parallel queries into one, saving you making separate
calls to YQL for each!
social           dopplr          instapaper      nmsi            sparql
amazon           dostopsi        intuit          noaa            spotify
amee             edu             ip              npr             sunlight
answers          ericssonlabs    kiva            nyt             tarpipe
appdb            esme            lastfm          openaustralia   test
apple            etsy            limewirestore   opencalais      text
arxiv            eyefi           livedoor        opencontext     themoviedb
auth             facebook        local           openid          thetvdb
avatars          fantasysports   longurl         opensocial      timeout
aws              fcc             maps            paypal          tinysong
basecamp         filemd5         mediawikiapi    pidgets         tumblr
batlas           finance         meetup          pikchur         tvrage
bbc              fitbit          meme            plos            twfy
bible            flickr          mendeley        pubsubhubbub    twitter
bit              folderscrape    microsoft       query           ukparliament
bizrate          foursquare      misc            recovery        ukpostcode
blackcountryhi   friendfeed      mixi            rss             upcoming
story            gdacs           movies          rtm             urbanesia
boston           geo             mozillalabs     salesforce      usgs
brazil           github          museumoflond    seafoodwatch    victoriaandalbe
britishmuseum    google          on              search          rt
brooklyn         gov             music           sears           vimeo
bungie           gowalla         mybloglog       seomoz          weather
christies        greader         mynewsdesk      shelfari        wesabe
comicvine        greenbookings   ncbi            shipping        whitepages
couprecoup       guardian        nestoria        shopping        wordpress
craigslist       hackernews      netflix         shoppingcart    worldbank
darkhelmet       hatena          newegg          simplegeo       wufoo
delicious        ign             nextbus         slideshare      wunderground
digg             imdb            ngmoco          socialgraph     yahoo
digitalnz        infochimps      nmm             socialmention   yahoojp

Hundreds of APIs… all in one place. Accessible to your app…

Make your own!
Yahoo has myriad location technologies open for use, from Yahoo!
Maps’ ajax and Flash interface widgets through geocoders to services to
allow users to control how they share their location. Here are some of
my favourites:
Placemaker identifies places mentioned in text, disambiguating them
and returning unique identifiers (WOEIDs).
PlaceFinder is a geocoding Web service that converts street addresses or
place names into geographic coordinates (and vice versa).
Fire Eagle is a service to allow developers to access users’ location data
in a safe, secure way.
YUI is a collection of CSS and JavaScript components to help people build
richer, more robust web applications.

It includes tools to help you build CSS and JS, along with a library of
widgets you can drop into your app including things like autocomplete
widgets, sliders, table sorting controls, and much, much more.
FAKE IT TILL YOU MAKE IT
                     (BUT DO MAKE IT EVENTUALLY)




If you can’t find an API or library to do what you want (and it doesn’t
have to be from Mozilla or Yahoo!), fake it until you absolutely must
have real data.

Work on the core of your hack, not on infrastructure for it.
developer.yahoo.com/everything.html

More Related Content

Similar to HackU Dundee 2011: Tools to Hack With

Outils innoventeurs
Outils innoventeursOutils innoventeurs
Outils innoventeurs
Loïc Haÿ
 
Web414 june 2011 Meeting
Web414 june 2011 MeetingWeb414 june 2011 Meeting
Web414 june 2011 Meeting
Pete Prodoehl
 
AdTech: Augmented Reality, HTML5 & What's Next
AdTech: Augmented Reality, HTML5 & What's NextAdTech: Augmented Reality, HTML5 & What's Next
AdTech: Augmented Reality, HTML5 & What's Next
Anthem Worldwide
 
Augmented Reality: A Primer for Libraries
Augmented Reality: A Primer for LibrariesAugmented Reality: A Primer for Libraries
Augmented Reality: A Primer for Libraries
Sarah Houghton
 
289 leigh watson healy outsell ssp community and innovation 28may2008 ppt1
289 leigh watson healy outsell ssp community and innovation 28may2008 ppt1289 leigh watson healy outsell ssp community and innovation 28may2008 ppt1
289 leigh watson healy outsell ssp community and innovation 28may2008 ppt1
Society for Scholarly Publishing
 

Similar to HackU Dundee 2011: Tools to Hack With (20)

Cloud mobility
Cloud mobilityCloud mobility
Cloud mobility
 
Les outils WEB 2.0 des innoventeurs
Les outils WEB 2.0 des innoventeursLes outils WEB 2.0 des innoventeurs
Les outils WEB 2.0 des innoventeurs
 
Outils innoventeurs
Outils innoventeursOutils innoventeurs
Outils innoventeurs
 
Sdp summit
Sdp summitSdp summit
Sdp summit
 
Web414 june 2011 Meeting
Web414 june 2011 MeetingWeb414 june 2011 Meeting
Web414 june 2011 Meeting
 
Networked audiences and information flows, presented by Gilad Lotan
Networked audiences and information flows, presented by Gilad LotanNetworked audiences and information flows, presented by Gilad Lotan
Networked audiences and information flows, presented by Gilad Lotan
 
PyLadies Seattle - Lessons in Interactive Visualizations
PyLadies Seattle - Lessons in Interactive VisualizationsPyLadies Seattle - Lessons in Interactive Visualizations
PyLadies Seattle - Lessons in Interactive Visualizations
 
Jaiku - Microblogging Tiny Social Objects On The Future Of Participatory Media
Jaiku - Microblogging Tiny Social Objects On The Future Of Participatory MediaJaiku - Microblogging Tiny Social Objects On The Future Of Participatory Media
Jaiku - Microblogging Tiny Social Objects On The Future Of Participatory Media
 
Microblogging: Tiny social objects. On the future of participatory media
Microblogging: Tiny social objects. On the future of participatory mediaMicroblogging: Tiny social objects. On the future of participatory media
Microblogging: Tiny social objects. On the future of participatory media
 
What would you do with free pictures of everything on Earth?
What would you do with free pictures of everything on Earth?What would you do with free pictures of everything on Earth?
What would you do with free pictures of everything on Earth?
 
Open Hack London - Introduction to YQL
Open Hack London - Introduction to YQLOpen Hack London - Introduction to YQL
Open Hack London - Introduction to YQL
 
らくらくアップデートSparkle
らくらくアップデートSparkleらくらくアップデートSparkle
らくらくアップデートSparkle
 
Storytelling with AR HTML5 and Whats Next
Storytelling with AR HTML5 and Whats NextStorytelling with AR HTML5 and Whats Next
Storytelling with AR HTML5 and Whats Next
 
AdTech: Augmented Reality, HTML5 & What's Next
AdTech: Augmented Reality, HTML5 & What's NextAdTech: Augmented Reality, HTML5 & What's Next
AdTech: Augmented Reality, HTML5 & What's Next
 
Augmented Reality: A Primer for Libraries
Augmented Reality: A Primer for LibrariesAugmented Reality: A Primer for Libraries
Augmented Reality: A Primer for Libraries
 
Virtual Potential: Designing Collaborative, Creative, & Active Online Learnin...
Virtual Potential: Designing Collaborative, Creative, & Active Online Learnin...Virtual Potential: Designing Collaborative, Creative, & Active Online Learnin...
Virtual Potential: Designing Collaborative, Creative, & Active Online Learnin...
 
Social Media Map 2013
Social Media Map 2013Social Media Map 2013
Social Media Map 2013
 
Infographics Congress 2014 Moritz Stefaner
Infographics Congress 2014 Moritz StefanerInfographics Congress 2014 Moritz Stefaner
Infographics Congress 2014 Moritz Stefaner
 
289 leigh watson healy outsell ssp community and innovation 28may2008 ppt1
289 leigh watson healy outsell ssp community and innovation 28may2008 ppt1289 leigh watson healy outsell ssp community and innovation 28may2008 ppt1
289 leigh watson healy outsell ssp community and innovation 28may2008 ppt1
 
Get your hands dirty with Social Software
Get your hands dirty with Social SoftwareGet your hands dirty with Social Software
Get your hands dirty with Social Software
 

Recently uploaded

“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
Muhammad Subhan
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
FIDO Alliance
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
FIDO Alliance
 

Recently uploaded (20)

Generative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdfGenerative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdf
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
 
How to Check GPS Location with a Live Tracker in Pakistan
How to Check GPS Location with a Live Tracker in PakistanHow to Check GPS Location with a Live Tracker in Pakistan
How to Check GPS Location with a Live Tracker in Pakistan
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
Navigating the Large Language Model choices_Ravi Daparthi
Navigating the Large Language Model choices_Ravi DaparthiNavigating the Large Language Model choices_Ravi Daparthi
Navigating the Large Language Model choices_Ravi Daparthi
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps Productivity
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptx
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...
The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...
The Ultimate Prompt Engineering Guide for Generative AI: Get the Most Out of ...
 

HackU Dundee 2011: Tools to Hack With

  • 1. TOOLS TO HACK WITH @SteveMarshall Dundee HackU 2011
  • 2.
  • 3. select  *  from  internet YQL uses a SQL-like query language, allowing you to create simple queries from one API or really easily chain queries together so you only get the data you really want, and fast. All of this, using one language, against one endpoint that gives you everything on the Internet. But how do you build your queries? To the console!
  • 4. This is the console. You can enter queries here…
  • 5. We can do simple things like ‘Search flickr for 10 cat pictures’. http://www.flickr.com/search/?q=cat&w=all&m=&s=
  • 6. By selecting from flickr.photos.search where the text is cat. But what if we want to do something more complex?
  • 7. Let’s start by finding tweets about Egypt… (select * from twitter.search where q='egypt')
  • 8. And now, let’s make them all Spanish… select * from google.translate where q in (select text from twitter.search where q='egypt') and target="es";) That’s pretty cool. What else can we do?
  • 9. And now, let’s wrap a UI around that… And we have a hack! (http://isithackday.com/hacks/twitter-translate-form.php? search=egypt&amount=20&language=es)
  • 10. select  * from  query.multi where  queries  in (‘query  1’,  ‘query  2’,   ‘query  3’) One of the most useful tables you can use, query.multi allows you to combine multiple parallel queries into one, saving you making separate calls to YQL for each!
  • 11. social dopplr instapaper nmsi sparql amazon dostopsi intuit noaa spotify amee edu ip npr sunlight answers ericssonlabs kiva nyt tarpipe appdb esme lastfm openaustralia test apple etsy limewirestore opencalais text arxiv eyefi livedoor opencontext themoviedb auth facebook local openid thetvdb avatars fantasysports longurl opensocial timeout aws fcc maps paypal tinysong basecamp filemd5 mediawikiapi pidgets tumblr batlas finance meetup pikchur tvrage bbc fitbit meme plos twfy bible flickr mendeley pubsubhubbub twitter bit folderscrape microsoft query ukparliament bizrate foursquare misc recovery ukpostcode blackcountryhi friendfeed mixi rss upcoming story gdacs movies rtm urbanesia boston geo mozillalabs salesforce usgs brazil github museumoflond seafoodwatch victoriaandalbe britishmuseum google on search rt brooklyn gov music sears vimeo bungie gowalla mybloglog seomoz weather christies greader mynewsdesk shelfari wesabe comicvine greenbookings ncbi shipping whitepages couprecoup guardian nestoria shopping wordpress craigslist hackernews netflix shoppingcart worldbank darkhelmet hatena newegg simplegeo wufoo delicious ign nextbus slideshare wunderground digg imdb ngmoco socialgraph yahoo digitalnz infochimps nmm socialmention yahoojp Hundreds of APIs… all in one place. Accessible to your app… Make your own!
  • 12. Yahoo has myriad location technologies open for use, from Yahoo! Maps’ ajax and Flash interface widgets through geocoders to services to allow users to control how they share their location. Here are some of my favourites:
  • 13. Placemaker identifies places mentioned in text, disambiguating them and returning unique identifiers (WOEIDs).
  • 14.
  • 15.
  • 16. PlaceFinder is a geocoding Web service that converts street addresses or place names into geographic coordinates (and vice versa).
  • 17. Fire Eagle is a service to allow developers to access users’ location data in a safe, secure way.
  • 18. YUI is a collection of CSS and JavaScript components to help people build richer, more robust web applications. It includes tools to help you build CSS and JS, along with a library of widgets you can drop into your app including things like autocomplete widgets, sliders, table sorting controls, and much, much more.
  • 19. FAKE IT TILL YOU MAKE IT (BUT DO MAKE IT EVENTUALLY) If you can’t find an API or library to do what you want (and it doesn’t have to be from Mozilla or Yahoo!), fake it until you absolutely must have real data. Work on the core of your hack, not on infrastructure for it.