Share
Embed
How to foster an open source culture inside Government
政府の中でオープンソースの文化を育てる方法
Ben Balter
November 07, 2015
Transcript
85 slides
-
! How to foster an open source culture inside Government
΄ӾͽηЄϤЀϊЄφ΄۸ΨᙙͼΡොဩ @benbalter [email protected] government.github.com github.co.jp [email protected] -
! @BenBalter " Government Evangelist, GitHub GitHubɾᛔလ֛εϝЀυδϷφϕ $ Attorney 捔ॊ
% Open source developer ηЄϤЀϊЄφ樄咲ᘏ -
! Today, tech companies open source everything but the
secret sauce ෬ϓμϛϺυЄմ䮣΅πί;Ρದ悬 զक़ΨηЄϤЀϊЄφ۸ͭͼ͚Ρ -
! Open source is how the industry builds software today
෬ϓμϛϺυЄ䮣ኴ΄ϊϢϕγδί樄咲΅ ηЄϤЀϊЄφͽᤈΥͼ͚Ρ -
! 40,000 government users 40,000Ո΄ڥአᘏ 15,000 government projects 15,000΄ᤈϤϺυδμϕ 1,200
government organizations 1,200΄奲婻 70 countries 70θࢵ Government using open source ΅෬ηЄϤЀϊЄφΨၚአͭͼ͚Ρ -
! Open Source (software) software that can be freely used,
modified, and shared (in both modified and unmodified form) by anyone ηЄϤЀϊЄφ΄ϊϢϕγδί;΅ 抑ͽΘᛔኧڥአ̵䄜ๅ̵ͳͭͼ抑;ͽΘوํҁز΄ᇫ䙪ͽΘ䄜ๅͭ͵Θ ΄ͽΘ҂ڊΡϊϢϕγδίͽ͘Ρ -
! Open Source (philosophy) a philosophy of collaboration in which
working materials are made available online for anyone to fork, modify, discuss, and contribute to. ηЄϤЀϊЄφ΄߽;΅ ᔰ͢ηЀ϶αЀͽل樄ͫͼ͚Ά̵ 抑ͽΘᔰΨπϡЄ̵䄜ๅ̵πϬϲϘξЄτϴЀΨͭ͢Ο̵ 揙ሠڊΡوݶ֢䮣΄ᘍ͞ොͽ͘Ρ -
! Three scopes of “open collaboration” Smaller ΞΠੜ͚ͫ Bigger ΞΠय़͚ͣ
Within an agency 奲婻ٖ With the public لو Between agencies 奲婻樌 ̿ηЄϤЀπ϶ϩϹЄτϴЀ̀΄Ҍͺ΄φξЄϸ -
! ( Closed ) Open * Application * Application *
Application * Application + Framework , Database - Server . Operating System * Application / Plugins + Framework , Database - Server 0 Packages . Operating System 1 Buy 2 Write 2 Write 3 Use -
! Agency 1 Agency 2 Agency 1 Agency 2 100
¥ 100 ¥ 4 4 100 ¥ 100 ¥ 4 4 4 4 4 4 ( Closed ) Open -
! Government 4 4 4 4 4 4 4 4
Company 2 Company 1 Economic development -
! Three types of “open” * Developers 樄咲ᘏ $ Policy
makers ᒽᒈໜᘏ 6 Open Source ηЄϤЀϊЄφ 2 Open government 樄͡͵ 7 Open data ηЄϤЀϔЄό 3ͺ΄̿ηЄϤЀ̀΄圵气 -
! Open source is a force multiplier for the taxpayer's
dollar ηЄϤЀϊЄφ΅奁ᑗᘏ΄͠ᰂ΄㵁ຎΨ䃀ےͯΡ -
‣ Software for crowdsourcing geospatial information ࣈቘᑮ樌ఘ䁭΄μ϶γϖϊЄφአ΄ϊϢϕγδί ‣ Used for
disaster response and recovery 傑ਸ਼Ύ΄䌏䖕ɾ䕸岉΄͵Ηڥአ ‣ Developed by NGA (US GSI) ίϮϷθࢵਹࣈቖᑮ樌ఘ䁭ੴ͢樄咲 ‣ Contributed to by 18F (“startup” within US GSA) (昧ᮏ抠晄ੴٖ΄̿φόЄϕίϐϤ̀)͢揙ሠ ‣ Used by FEMA (federal) and Huntsville, AL (local)/FEMA (ίϮϷθݳ悡ࢵ昧ᮏ姴Ԫ䙪ᓕቘ䓆);ί϶ϝϫɾϜЀϑϠϸ૱͢ၚአ -
‣ Created by 18F ("startup" within US central government) 18F(ᔂࢵӾ।ٖ΄̿φόЄϕίϐϤ̀)͢樄咲
‣ Uses data from Digital Analytics Program (government-wide shared analytics platform built on Google Analytics) ϔυόϸړຉϤϺν϶ϭ(Google AnalyticsӤ֢౮ͫͼ͚Ρق֛ͽوํͫͼ ͚ΡίϗϷϓΰμφϤ϶ϐϕϢζЄϭ)΄ϔЄόΨڥአ ‣ Shows real-time data of government website usage, bulk download available for developers 樛昧γδϣςαϕ΄ڥአᇫ丆ϔЄόΨϷίϸόαϭͽᤒᐏ̵樄咲ᘏݻͧӞೡύ γЀϺЄϖΘ׀ ‣ Grounded IT investment discussions in data-driven decision-making ϔЄόΨزͭ͵ITಭ揾΄䷥ਧΨݢᚆͭ͵ ‣ Used by the city of Philadelphia with minimal IT investment ๋ੜ΄ITಭ揾΄ΕͽϢΰ϶ϔϸϢΰί૱͢ڥአ -
‣ Developed by US National Renewable Energy Laboratory (US funded
research lab) ίϮϷθࢵᒈٚኞݢᚆεϚϸλЄᎸᑪಅ͢樄咲 ‣ Sits in front of new and legacy systems to provide API keys, caching, rate limiting, and analytics ෛ憒;ϹιτЄτφϓϭ΄οЄϕγδα;ͭͼ̵APIκЄ̵κϰϐτϲ̵ί μψφګக;ίϗϷϓΰμφ;׀ ‣ Provided as a free, shared service by api.data.gov api.data.govΞͼϢϷЄͽوํͫ͵ςЄϠφ;ͭͼ׀ͫͼ͚Ρ ‣ Allows agencies to more easily execute the encasement strategy ݱ䓆岍ΞΡencasement strategy΄䋚ᤈΨΞΠ㲖ჶᤈ͞ΡΞͭ͜ͼ͚Ρ -
! Open source allows government and taxpayers to work together
ηЄϤЀϊЄφ΅;奁ᑗᘏ͚͢͠ΨςϪЄϕͯΡ΄Ψ ݢᚆͯΡ -
‣ Federal portal for publishing open data ηЄϤЀϔЄόل樄አ΄ίϮϷθݳ悡ࢵ΄ϪЄόϸ ‣ Developed
entirely in the open 樄咲΅قͼηЄϤЀͽᤈΥ͵ ‣ Users commented on mock ups and initial code ӞᛱϳЄσЄ΅ϯϐμίϐϤ;ز΄πЄϖ䌏ͭͼΘπϮЀϕͭ͵ ‣ Launched with 150+ open issues 150զӤ΄๚ᥴ䷥ατϲЄ͘͢͵ᇫ䙪ͽ晁አ樄ত ‣ More development post-launch than pre-launch 晁አ樄ত΄ො͢樄咲͢ᤈΥͼ͚Ρ -
‣ DC laws published on vendor's website with restrictive license
ϼτЀϕЀDC΄ဩ΅ګᴴ͢ग़͚϶αψЀφΨֵͼϦЀύЄ΄γδϣςαϕͽل樄 ͫͼ͚͵ ‣ Civic hackers encouraged district government to release machine-readable version of the laws τϠϐμϜϐθЄ͢ϼτЀϕЀDC΄ဩΨπЀϡϲЄό͢㳌ቘڊΡ୵ୗͽل 樄ͯΡΞ͜㰕ͣͧ͡͵ ‣ Civic hackers created multiple open-source interfaces τϠϐμϜϐθЄ΅愢හ΄ηЄϤЀϊЄφ΄αЀόЄϢδαφΨ樄咲ͭ͵ ‣ Code is now searchable, accessible, mobile-friendly, and linkable 匍ࣁπЄϖ΅䭥ᔱ͢ͽ̵ͣಋ΄ͥ;ͩΣ͘Π̵ϯϝαϸ䌏䖕Θͭͼ͚ͼ̵ϷЀμΘ ͫͼ͚Ρ -
‣ Philadelphia, PA sought to publish where to get influenza
shots ϧЀτϸϝϘίϢΰ϶ϔϸϢΰί૱΅αЀϢϸεЀσ΄Ԩᴠള圵Ψݑͧ ΟΡ䁰ಅΨل樄ͭ͵͡͵ ‣ Realized the problem was not specific to Pennsylvania ϧЀτϸϝϘίզक़ͽΘݶͮ抓氂͢ਂࣁͯΡͩ;䶲՞͚͵ ‣ Created an open standard to publish flu shot information αЀϢϸεЀσԨᴠള圵΄ఘ䁭ل樄΄͵Η΄ηЄϤЀφόЀύЄϖΨ樄咲 ‣ Chicago and San Francisco adopted the same standard τθρ૱;ςЀϢ϶Ѐτφπ૱͢ݶͮφόЀύЄϖΨ䟖አ ‣ Entrepreneurs can build against the standard, new cities can join ᩸䮣ਹ΅ͩ΄φόЀύЄϖΨڥአͽͣΡ̵ͭͿ΄᮷૱ͽΘ݇ے͢ڊΡ -
‣ System by which all US publications are published (laws,
reports, etc.) ဩΚϹϪЄϕΨތΖقͼ΄ίϮϷθ΄ڊᇇᇔ͢ڊᇇͫΡොဩ ‣ US GPO placed no code in the repository ݳ悡ࢵܦڬੴ΅ӞڔϊϢϕγδίπЄϖΨϹϪυϕϷͽᓕቘͭͼ̶͚͚ ‣ Publishing technical documentation where developers already are 樄咲ᘏ͢෬ᵞΔͼ͚Ρ䁰ಅದ悬ጱ揾ාΨل樄ͭ͵̶ ‣ Forum for developers to provide feedback, discuss issues 樄咲ᘏ͢ϢΰЄϖϝϐμΨ׀ͭ͵Π̵抓氂Ψ捍抷ͯΡ͵Η΄䁰ಅ ͼ͚Ρ̶ ‣ Established a community around the website γδϣςαϕΨӾஞπϬϲϘϓΰΨ戔ᒈͭ͵̶ -
‣ Open building and construction permit data standard ηЄϤЀୌ塈战ݢ΄憒໒ ‣
Created by ~15 private sector vendors for use by cities ᛔလ֛͢ڥአڊΡΞ͜ʙ15΄࿆樌ψμόЄ΄ϦЀύЄ֢͢౮ ‣ Implemented within the software cities use to manage permits — no change to civil servants workflow or tools ෬ᛔလ֛͢战ݢ戣ΨᓕቘͯΡ͵Η΄ϊϢϕγδί䌏䖕ͯΡΞ͜樄咲ͫ͵-ᛔလ֛΄实㹓 ΅ϼЄμϢϺЄΚϑЄϸΨ䄜ๅͯΡᥝ΅僻͡͵ ‣ Shared standard is seen as a feature that prevents vendor lock-in وํͫ͵憒໒΅ϦЀύЄΞΡϺϐμαЀΨᴥྊڊΔͯ ‣ Civic entrepreneurs can more easily build apps to consume the data across multiple cities τϠϐμ᩸䮣ਹ΅愢හ΄ᛔလ֛ΨΔ͵͢ΡϔЄόΨၚአͯΡίϤϷΨΞΠ墋㶨樄咲ڊΡ -
‣ City of Chicago has 15,000 food establishments but only
36 inspectors τθρ૱΅15,000զӤ΄汯ᷣମ͘͢Ρ̵͢䭥䪨ਥ΅36ՈͶͧ ‣ Created model using predictors of critical violations (crime, property value, etc.) ᯿य़晅ݍ΄Ԩ介ϯϔϸ(ᇨᗜ̵ࣈ㭅ᒵΨၚአͭͼ)Ψ֢౮ ‣ Made data available to the public, open source the model ϔЄόΨӞᛱل樄̵ϯϔϸΨηЄϤЀϊЄφ۸ ‣ ~15% increase in likelihood to find critical violations, found violations 1 week earlier on average ᯿य़晅ݍΨ咲憎ͯΡݢᚆ͢~15%ݻӤ̵ଘ࣐ͭͼՔΔͽΞΠ1昱樌ͥ晅ݍΨ咲憎 ‣ https://chicago.github.io/food-inspections-evaluation/ -
‣ FITARA — Federal Information Acquisition Reform Act 昧ᮏఘ䁭ϓμϛϺυЄ抠晄දᶐဩ ‣
White House drafted guidance for agencies to implement the policy ϨϼαϕϜγφ΅ݱ䓆岍͢ϪϷτЄΨ䋚ෞͯΡ͵Η΄ιαϖ϶αЀ΄កໜ Ψ֢౮ ‣ Living, collaborative document; anyone in the world can contribute ӮኴӾ΄抑ͽΘ揙ሠ͢ڊΡϖκϲϮЀϕ ‣ US Congressman submitted pull request, White House accepted ίϮϷθ΄ӥᴺ捍㹓͢ϤϸϷμεφϕҁץྋໜ҂Ψໜ̵ϨϼαϕϜγ φ͢ݑͧف͵ ‣ Feedback was finalized and policy was signed into law ϢΰЄϖϝϐμ΅ݍฉͫͼ̵ͩ΄ϪϷτЄ΅ဩ۸ͫ͵ -
! Three types of “open” * Developers 樄咲ᘏ $ Policy
makers ᒽᒈໜᘏ 6 Open Source ηЄϤЀϊЄφ 2 Open government 樄͡͵ 7 Open data ηЄϤЀϔЄό 3ͺ΄̿ηЄϤЀ̀΄圵气 -
‣ Non-technical, non-user stakeholders ‣ Potential users ‣ Veteran (or
curious) users ‣ Subject matter experts (accessibility, content, i18n) ‣ Technical users ‣ Active developers ‣ Potential developers ‣ Press, thought leaders, etc. Potential contributors -
‣ Kick the tires, does it work? ‣ Answer the
question: “what features would you love to see?” ‣ Flesh out documentation, note where documentation is lacking ‣ Community evangelism, speak, teach, and spread your love for the project ‣ Submit new questions to the project’s Q&A forums, or take a stab at an answer ‣ Host a genius bar at the next local meetup ‣ Translate the project into a different language ‣ Give feedback on proposed bug fixes and features, propose new ones ‣ Recruit new developers Opportunities to contribute -
! Successful open source projects operate with rough consensus among
(all) stakeholders ౮ۑͭͼ͚ΡηЄϤЀϊЄφϤϺυδμϕ ΅ҁقͼ΄҂φϓЄμϨϸύЄ΄֜;ͥ ݳΞͼ晁አͫͼ͚Ρ -
‣ Procedurally (ϤϺψφ) (One issue tracker, one way to provide
feedback or discuss features; minimize and memorialize meatspace discussions)ҁατϲЄϕ϶ϐθЄΨӞ۸̵ϢΰЄϖϝϐμΚϢΰЄώϰЄ΄ϔΰ φθϐτϴЀͯΡොဩΨӞ۸̵ηϢ϶αЀ΄տ扖Ψ๋ੜ۸ͭͺͺͰϺνΨݐΡ҂ ‣ Day-to-day(෭̸) (The project’s status, how to submit an issue/feature request or contribute a fix/enhancement) (ϤϺ υδμϕ΄昲䞨ᇫ丆̵ατϲЄɾϢΰЄώϰЄϷμεφϕ΄ڊොဩ̵ද࠺ɾ䱛ᚆ䝭䔴Ψ׀ ͯΡොဩ) ‣ Long-term(槱๗ጱ) (Project mission statement, philosophy, and goal, features and requirements list, project roadmap)(ϤϺ υδμϕ΄ϬϐτϴЀɾφϓЄϕϮЀϕ̵ϢΰϺϊϢΰЄ̵ፓ䰤̵䱛ᚆϷφϕ̵ϤϺυδμϕ ΄懯ኮ) -
! Best Practice #4: Start small, go through the motions
φϯЄϸφόЄϕͽԨᤈᄍ嬹 -
! Open source is scary (they will say “no” at
first) ηЄϤЀϊЄφ΅ோ͚ (๋ڡͰ̿NÒ;͜) -
1. Start by experimenting with “open source” in private
ΔͰ΅Ϥ϶αϦЄϕͽ̿ηЄϤЀϊЄφ΄̀䋚浞ΨতΗΡ (Best lunch places near your office, the office’s favorite chocolate chip cookie recipe) (实䁰΄ᬪͥ΄Ӟኾᜉ͚ณͪ΅Ω̵实䁰ͽӞኾՈ䶲΄ᙂͮΙ͢΄Ϲτϡ) 2. Get everyone involved ጲ݇ےͭͼΘΟ͜ (legal, procurement, ethics, etc.) ҁဩ㵗̵搳揮̵ᒵ҂ 3. Ship 0.1, not 1.0 1.0ͽ΅̵ͥΔͰ0.1Ψڊរ (and manage expectation)( ๗இ㮔Ψ͜ΔͥᓕቘͯΡ) -
! Developers want to contribute to a cause not provide
free labor 樄咲ᘏ΅ 僻㱘ͽ㴼ێΨ׀ͭ͵͚΄ͽ΅ͥ -
Secrets of successful open source projects 1. The technology is
the easy part 2. Start small, go through the motions 3. Minimize information imbalance 4. Embrace the constraints of open source 5. Open source problems, not solutions 6. Expand your definition of stakeholders 7. Be the hub, encourage spokes 8. Minimize friction 9. Decentralize governance 10. Encourage contributors Internal collaboration External engagement -
! How to foster an open source culture inside Government
΄ӾͽηЄϤЀϊЄφ΄۸ΨᙙͼΡොဩ @benbalter [email protected] government.github.com github.co.jp [email protected]