SlideShare a Scribd company logo
1 of 35
Download to read offline
Civic Hacking

@LuigiMontanez
Civic Hacking
Open Data + Open Source =
    Open Government
Not real FBI Agents
(Bill Pullman & Julia Ormand)
Government     Useful
   Data      Applications
Cities
In an 8 week stretch...

RS on Rails, Lone Star, Kaigi,
Hoedown, Golden Gate,
RailsCamp NE, Ruby|Web,
Windy City, DCamp, SunnyConf,
JRubyConf, Mountain.rb
“Ask not what your
 country can do for
 you. Ask what you
    can do for your
          country.”
    President John F. Kennedy
            Inaugural Address
             January 20, 1961
Be a civic hacker.

sunlightlabs.com
@LuigiMontanez

More Related Content

More from Luigi Montanez

Open Government Data and MongoDB
Open Government Data and MongoDBOpen Government Data and MongoDB
Open Government Data and MongoDBLuigi Montanez
 
Search-Friendly Web Development at RubyNation
Search-Friendly Web Development at RubyNationSearch-Friendly Web Development at RubyNation
Search-Friendly Web Development at RubyNationLuigi Montanez
 
Sunlight Labs & MongoDB @ MongoDC
Sunlight Labs & MongoDB @ MongoDCSunlight Labs & MongoDB @ MongoDC
Sunlight Labs & MongoDB @ MongoDCLuigi Montanez
 
Civic Hacking @ Strange Loop 2010
Civic Hacking @ Strange Loop 2010Civic Hacking @ Strange Loop 2010
Civic Hacking @ Strange Loop 2010Luigi Montanez
 
Civic Hacking @ Strange Loop 2010
Civic Hacking @ Strange Loop 2010Civic Hacking @ Strange Loop 2010
Civic Hacking @ Strange Loop 2010Luigi Montanez
 
Civic Coding @ SunnyConf
Civic Coding @ SunnyConfCivic Coding @ SunnyConf
Civic Coding @ SunnyConfLuigi Montanez
 
Search-Friendly Web Development @ Ruby|Web Conference 2010
Search-Friendly Web Development @ Ruby|Web Conference 2010Search-Friendly Web Development @ Ruby|Web Conference 2010
Search-Friendly Web Development @ Ruby|Web Conference 2010Luigi Montanez
 
Search-Friendly Web Development @ Lone Star Ruby Conference 2010
Search-Friendly Web Development @ Lone Star Ruby Conference 2010Search-Friendly Web Development @ Lone Star Ruby Conference 2010
Search-Friendly Web Development @ Lone Star Ruby Conference 2010Luigi Montanez
 
Search-Friendly Web Development @ DC RUG - August 2010
Search-Friendly Web Development @ DC RUG - August 2010Search-Friendly Web Development @ DC RUG - August 2010
Search-Friendly Web Development @ DC RUG - August 2010Luigi Montanez
 
Civic Hacking @ Ignite RailsConf
Civic Hacking @ Ignite RailsConfCivic Hacking @ Ignite RailsConf
Civic Hacking @ Ignite RailsConfLuigi Montanez
 
Civic Hacking @ MongoNYC
Civic Hacking @ MongoNYCCivic Hacking @ MongoNYC
Civic Hacking @ MongoNYCLuigi Montanez
 
Civic Hacking @ LA RubyConf 2010
Civic Hacking @ LA RubyConf 2010Civic Hacking @ LA RubyConf 2010
Civic Hacking @ LA RubyConf 2010Luigi Montanez
 
Civic Hacking @ Ruby Hoedown
Civic Hacking @ Ruby HoedownCivic Hacking @ Ruby Hoedown
Civic Hacking @ Ruby HoedownLuigi Montanez
 
Be A Civic Coder - DCRUG
Be A Civic Coder - DCRUGBe A Civic Coder - DCRUG
Be A Civic Coder - DCRUGLuigi Montanez
 

More from Luigi Montanez (16)

Open Government Data and MongoDB
Open Government Data and MongoDBOpen Government Data and MongoDB
Open Government Data and MongoDB
 
Search-Friendly Web Development at RubyNation
Search-Friendly Web Development at RubyNationSearch-Friendly Web Development at RubyNation
Search-Friendly Web Development at RubyNation
 
Sunlight Labs & MongoDB @ MongoDC
Sunlight Labs & MongoDB @ MongoDCSunlight Labs & MongoDB @ MongoDC
Sunlight Labs & MongoDB @ MongoDC
 
Civic Hacking @ Strange Loop 2010
Civic Hacking @ Strange Loop 2010Civic Hacking @ Strange Loop 2010
Civic Hacking @ Strange Loop 2010
 
Civic Hacking @ Strange Loop 2010
Civic Hacking @ Strange Loop 2010Civic Hacking @ Strange Loop 2010
Civic Hacking @ Strange Loop 2010
 
Civic Coding @ SunnyConf
Civic Coding @ SunnyConfCivic Coding @ SunnyConf
Civic Coding @ SunnyConf
 
Search-Friendly Web Development @ Ruby|Web Conference 2010
Search-Friendly Web Development @ Ruby|Web Conference 2010Search-Friendly Web Development @ Ruby|Web Conference 2010
Search-Friendly Web Development @ Ruby|Web Conference 2010
 
Search-Friendly Web Development @ Lone Star Ruby Conference 2010
Search-Friendly Web Development @ Lone Star Ruby Conference 2010Search-Friendly Web Development @ Lone Star Ruby Conference 2010
Search-Friendly Web Development @ Lone Star Ruby Conference 2010
 
Search-Friendly Web Development @ DC RUG - August 2010
Search-Friendly Web Development @ DC RUG - August 2010Search-Friendly Web Development @ DC RUG - August 2010
Search-Friendly Web Development @ DC RUG - August 2010
 
Civic Hacking @ Ignite RailsConf
Civic Hacking @ Ignite RailsConfCivic Hacking @ Ignite RailsConf
Civic Hacking @ Ignite RailsConf
 
Civic Hacking @ MongoNYC
Civic Hacking @ MongoNYCCivic Hacking @ MongoNYC
Civic Hacking @ MongoNYC
 
Civic Hacking @ LA RubyConf 2010
Civic Hacking @ LA RubyConf 2010Civic Hacking @ LA RubyConf 2010
Civic Hacking @ LA RubyConf 2010
 
Civic Hacking @ Ruby Hoedown
Civic Hacking @ Ruby HoedownCivic Hacking @ Ruby Hoedown
Civic Hacking @ Ruby Hoedown
 
Be A Civic Coder - DCRUG
Be A Civic Coder - DCRUGBe A Civic Coder - DCRUG
Be A Civic Coder - DCRUG
 
Be A Civic Coder
Be A Civic CoderBe A Civic Coder
Be A Civic Coder
 
Thin
ThinThin
Thin
 

Civic Hacking @ Ruby Midwest 2010

  • 2.
  • 4.
  • 5. Open Data + Open Source = Open Government
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12. Not real FBI Agents (Bill Pullman & Julia Ormand)
  • 13. Government Useful Data Applications
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33. In an 8 week stretch... RS on Rails, Lone Star, Kaigi, Hoedown, Golden Gate, RailsCamp NE, Ruby|Web, Windy City, DCamp, SunnyConf, JRubyConf, Mountain.rb
  • 34. “Ask not what your country can do for you. Ask what you can do for your country.” President John F. Kennedy Inaugural Address January 20, 1961
  • 35. Be a civic hacker. sunlightlabs.com @LuigiMontanez

Editor's Notes

  1. Improving our government: at the local, state, and federal level, by doing what we do best: writing code, and building apps.
  2. I work for a non-profit called the Sunlight Labs. We're developers and designers committed to improving government through transparency: the idea is that government can be made better and more accountable when data about its processes and influences are made freely available to the public.
  3. 1. Push for open data 2. Build open source software using that open data 3. Work towards open government
  4. We believe that all government data that isn't sensitive or personally identifiable should be made available online, in real-time, and in machine readable formats. Government is responsible for all sorts of useful data. The thing about government data is, only govt can provide it.
  5. Usually when you think of the judicial branch of the federal government, you think of the Supreme Court. But in reality, there are lower district courts in every state, and 11 courts of appeal.
  6. All these courts means that there's a lot of testimony being recorded, a lot of decisions being rendered. That's a lot of data, all of which, by law, is public domain. But all that data is locked up in an online database called PACER, which stores everything in PDF files.
  7. But that's not all. These PDFs cost 8 cents per page, and because PACER doesn't have full-text search, people end up paying for much more than they usually need. So this is a situation ripe for civic hacking.
  8. Two years ago, PACER went on a free trial at a couple libraries across the country, meaning there was no charge to download the PDFs. So Aaron went to one of these libraries, ran a scraper script on a lab computer, and transferred 20 million files to his EC2 server.
  9. The script ran for two weeks before the people running PACER figured out what was happening. They freaked out, shut down access, and asked the FBI to investigate him, which they did, but Aaron was cleared of any wrong-doing.
  10. Just not for the sake of hacking -- we want to build useful things
  11. This is OpenCongress.org, which is what Congress's website should be. It takes raw data, the text of legislation and vote history for members of Congress, and presents everything in a way that makes sense to average people.
  12. URL string, cgi-bin, data in a web page
  13. oil disaster, semantic web
  14. So where do we find all this data? A project I work on is the National Data Catalog, which lists government data published at all levels: federal, state, and local. We catalog both data sets and APIs.
  15. FlyOnTime.us uses FAA data to make predictions about how late you can expect your flight to be depending on weather conditions.
  16. Quakespotter uses real-time data from the US Geological Survey to map earthquakes around the globe.
  17. StumbleSafely uses DC crime data to tell you which streets to avoid at night when walking home from the bar. Wayfinder is an augmented reality app for Android which uses New York City subway data to point you to nearby subway stations.
  18. After Korean Air Lines Flight 007, carrying 269 people, was shot down in 1983 after straying into the USSR's prohibited airspace, President Ronald Reagan issued a directive making GPS freely available for civilian use, once it was sufficiently developed, as a common good.
  19. Let's look at one API. You know about dialing 911 for emergencies, and 411 for information. Well 311 is what you dial for city services, broken traffic lights and potholes. Open311 is a RESTful API for requesting those services.
  20. Code for America is a project modeled after Teach for America. Teams of developers are being recruited to work on open source software for five cities across the country. Applications are open right now.
  21. Held at city hall
  22. Met Marc Chung at RubyConf in SFO. Meet twice a month.
  23. Meetups, conferences
  24. When JFK spoke those words nearly 50 years ago, service to your country meant going into the military, or joining the Peace Corps. But today, service can mean using the skills and talents we already have as software developers.
  25. Next time something angers you. “Can I solve this problem by writing code?” Scratch an itch too. So consider civic hacking -- writing code to make your community, your country, your world, a better place. Thanks.