{"id":6781,"date":"2016-06-14T15:07:11","date_gmt":"2016-06-14T19:07:11","guid":{"rendered":"http:\/\/www.zephoria.org\/thoughts\/?p=6781"},"modified":"2016-10-07T15:18:34","modified_gmt":"2016-10-07T19:18:34","slug":"be-careful-what-you-code-for","status":"publish","type":"post","link":"https:\/\/www.zephoria.org\/thoughts\/archives\/2016\/06\/14\/be-careful-what-you-code-for.html","title":{"rendered":"Be Careful What You Code For"},"content":{"rendered":"<p>Most people who don\u2019t code don\u2019t appreciate how hard it is to do right.<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"74b8847c73f\">Plenty of developers are perfectly functional, but <\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"74b8847c73f c08b5dd84700\">to watch a master weave code into silken beauty is utterly inspiring<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"74b8847c73f\">.<\/span> Unfortunately, most of the code that underpins the tools that we use on a daily basis <span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"9eb39bc720ce\">isn\u2019t<\/span> so pretty. <span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"fb13ef612adb 54b6a372911\">T<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"fb13ef612adb 54b6a372911 e7c36ee7f624\">here is<em class=\"markup--em markup--p-em\">a lot<\/em> of digital duct tape.<\/span><\/p>\n<p><img decoding=\"async\" class=\"progressiveMedia-image js-progressiveMedia-image alignnone\" src=\"https:\/\/cdn-images-1.medium.com\/max\/1200\/1*7TcchbRW5GFaMUuK5J-X2A.jpeg\" width=\"400\" data-src=\"https:\/\/cdn-images-1.medium.com\/max\/1200\/1*7TcchbRW5GFaMUuK5J-X2A.jpeg\" \/><\/p>\n<p class=\"graf graf--p graf-after--p\"><a class=\"markup--anchor markup--figure-anchor\" href=\"https:\/\/creativecommons.org\/licenses\/by-nc\/2.0\/\" target=\"_blank\" data-href=\"https:\/\/creativecommons.org\/licenses\/by-nc\/2.0\/\">CC BY-NC 2.0<\/a>-licensed <a class=\"markup--anchor markup--figure-anchor\" href=\"https:\/\/www.flickr.com\/photos\/iamshinji\/3063220244\/\" target=\"_blank\" data-href=\"https:\/\/www.flickr.com\/photos\/iamshinji\/3063220244\/\">photo<\/a> by <a class=\"markup--anchor markup--figure-anchor\" href=\"https:\/\/www.flickr.com\/people\/iamshinji\/\" target=\"_blank\" data-href=\"https:\/\/www.flickr.com\/people\/iamshinji\/\">Dino\u00a0Latoga<\/a>.<\/p>\n<p id=\"641c\" class=\"graf graf--p graf-after--p\"><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"ce14df4e3782 e67fa198ffdd\">I\u2019m a terrible <\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"ce14df4e3782 e67fa198ffdd edaa56173df6\">programmer. Don\u2019t get me wrong\u200a\u2014\u200aI\u2019m perfectly capable of mashing together code to get<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"ce14df4e3782 e67fa198ffdd\"> a sorta-kinda-somewhat reasonable outcome.<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"e67fa198ffdd\">But the product is inevitably a Frankensteinesque monstrosity<\/span>. I\u2019m not alone. This is why I\u2019m concerned about the code that is being built. <span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"ac521ffad9ab\">Not all code is created equally.<\/span><\/p>\n<p id=\"f376\" class=\"graf graf--p graf-after--p\"><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"b64c30a3373b\">If you want to understand what we\u2019re facing, consider what this would mean if we were <\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"b64c30a3373b e7c36ee7f624\">constructing cities<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"b64c30a3373b\">. <\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"b64c30a3373b a2ca5e71ea64 6bc7f68ff4b\">In the digital world, we are simultaneously building bridges, sewage systems, and skyscrapers.<\/span> <span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"b64c30a3373b 6bc7f68ff4b 73d5dcdbfcd2 95cd64cd2cf4\">Some of the bridge builders have civil engineering degrees, some of our sewage contractors have been plumbers in past lives, but <\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"b64c30a3373b 6bc7f68ff4b 73d5dcdbfcd2 95cd64cd2cf4 fdbb88d8f94e\">most of the people building skyscrapers have previously only built tree houses and taken a few math classes<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"b64c30a3373b 6bc7f68ff4b 73d5dcdbfcd2 95cd64cd2cf4\">. Oh, and there aren\u2019t any inspectors to assess whether or not it\u2019s all going to fall apart.<\/span><\/p>\n<blockquote id=\"bacf\" class=\"graf graf--pullquote graf-after--p\"><p><span class=\"markup--quote markup--pullquote-quote is-other\" data-creator-ids=\"203f98c8885d 9ede134a7b31 3653b3b355d2 74b8847c73f e49744948c88\">Code is key to civic life<\/span><span class=\"markup--quote markup--pullquote-quote is-other\" data-creator-ids=\"9ede134a7b31 3653b3b355d2 74b8847c73f e49744948c88\">, but <\/span><span class=\"markup--quote markup--pullquote-quote is-other\" data-creator-ids=\"9ede134a7b31 3653b3b355d2 74b8847c73f e49744948c88 3758b7f07207\">we need to start looking under the hood and thinking about th<\/span><span class=\"markup--quote markup--pullquote-quote is-other\" data-creator-ids=\"9ede134a7b31 3653b3b355d2 74b8847c73f e49744948c88 3758b7f07207 2da9c54eb1ef\">e externalities of our coding practices<\/span><span class=\"markup--quote markup--pullquote-quote is-other\" data-creator-ids=\"9ede134a7b31 3653b3b355d2 74b8847c73f e49744948c88 2da9c54eb1ef\">, especially as we\u2019re building code as fast as possible with few checks and balances.<\/span><\/p><\/blockquote>\n<h4 id=\"23fb\" class=\"graf graf--h4 graf-after--pullquote\">Area One: Environmental Consequences<\/h4>\n<p id=\"332b\" class=\"graf graf--p graf-after--h4\">Let\u2019s play a game of math. Almost <a class=\"markup--anchor markup--p-anchor\" href=\"http:\/\/techcrunch.com\/2015\/05\/28\/gmail-now-has-900m-active-users-75-on-mobile\/\" target=\"_blank\" data-href=\"http:\/\/techcrunch.com\/2015\/05\/28\/gmail-now-has-900m-active-users-75-on-mobile\/\">1 billion people use Gmail<\/a>. More than that are <a class=\"markup--anchor markup--p-anchor\" href=\"https:\/\/newsroom.fb.com\/company-info\/\" target=\"_blank\" data-href=\"https:\/\/newsroom.fb.com\/company-info\/\">active on Facebook each month<\/a>. Over <a class=\"markup--anchor markup--p-anchor\" href=\"https:\/\/about.twitter.com\/company\" target=\"_blank\" data-href=\"https:\/\/about.twitter.com\/company\">300 million are active on Twitter each month<\/a>. All social media\u200a\u2014\u200aincluding Facebook and Twitter\u200a\u2014\u200asend out notifications to tell you that you have new friend requests, likes, updates, etc. Each one of those notifications is roughly 50KB. If you\u2019re relatively active, you might get 1MB of notifications a day. That doesn\u2019t seem to be that much. But if a quarter of Gmail users get that, this means that Google hosts over 90 petabytes of notifications per year. All of that is sitting live on server so that any user can search their email and find past emails, including the new followers they received in 2007. Is this really a good use of resources? Is this really what we want when we talk about keeping data around?<\/p>\n<p id=\"3608\" class=\"graf graf--p graf-after--p\">The tech industry uses crazy metaphors. Artificial intelligence. Files and folders. They often have really funny roots that make any good geek giggle. (UNIX geeks, did you know that the <a class=\"markup--anchor markup--p-anchor\" href=\"https:\/\/en.wikipedia.org\/wiki\/Finger_protocol\" target=\"_blank\" data-href=\"https:\/\/en.wikipedia.org\/wiki\/Finger_protocol\">finger command<\/a> is named as such because that word meant someone is a \u201csnitch\u201d in the 1970s? You probably had a dirtier idea in mind.<\/p>\n<figure id=\"f76e\" class=\"graf graf--figure graf--layoutOutsetLeft graf-after--p\">\n<div class=\"aspectRatioPlaceholder is-locked\">\n<div class=\"progressiveMedia js-progressiveMedia graf-image is-canvasLoaded is-imageLoaded\" draggable=\"false\" data-image-id=\"1*fCmJA_bjJhpOFLuZGQlEqw.jpeg\" data-width=\"1500\" data-height=\"844\" data-action=\"zoom\" data-action-value=\"1*fCmJA_bjJhpOFLuZGQlEqw.jpeg\" data-scroll=\"native\"><canvas class=\"progressiveMedia-canvas js-progressiveMedia-canvas\" width=\"75\" height=\"40\"><\/canvas><img decoding=\"async\" class=\"progressiveMedia-image js-progressiveMedia-image\" src=\"https:\/\/cdn-images-1.medium.com\/max\/600\/1*fCmJA_bjJhpOFLuZGQlEqw.jpeg\" data-src=\"https:\/\/cdn-images-1.medium.com\/max\/600\/1*fCmJA_bjJhpOFLuZGQlEqw.jpeg\" \/><\/div>\n<\/div><figcaption class=\"imageCaption\"><a class=\"markup--anchor markup--figure-anchor\" href=\"https:\/\/creativecommons.org\/licenses\/by\/2.0\/\" target=\"_blank\" data-href=\"https:\/\/creativecommons.org\/licenses\/by\/2.0\/\">CC BY 2.0<\/a>-licensed <a class=\"markup--anchor markup--figure-anchor\" href=\"https:\/\/www.flickr.com\/photos\/34121831@N00\/6027569462\/\" target=\"_blank\" data-href=\"https:\/\/www.flickr.com\/photos\/34121831@N00\/6027569462\/\">photo<\/a> by <a class=\"markup--anchor markup--figure-anchor\" href=\"https:\/\/www.flickr.com\/people\/34121831@N00\/\" target=\"_blank\" data-href=\"https:\/\/www.flickr.com\/people\/34121831@N00\/\">Pattys-photos<\/a>.<\/figcaption><\/figure>\n<p id=\"33c6\" class=\"graf graf--p graf-after--figure\"><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"ac521ffad9ab\">We don\u2019t know who started calling the cloud the cloud, <\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"ac521ffad9ab 9eda8914b544\">but he (<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"ac521ffad9ab 9eda8914b544 6bc7f68ff4b\">and it\u2019s inevitably a he<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"ac521ffad9ab 9eda8914b544\">) did<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"ac521ffad9ab 9eda8914b544 e7c36ee7f624\">us all a disservice<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"ac521ffad9ab 9eda8914b544\">.<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"ac521ffad9ab\"> When the public hears about the cloud, they think about the fluffy white things in the sky.<\/span> <span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"b78c9aed503f\">\u201c<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"b78c9aed503f 2ae2d7aa3a44\">What were the skies like when you were young? They went on forever\u2026And the skies always had <a class=\"markup--anchor markup--p-anchor\" href=\"https:\/\/www.youtube.com\/watch?v=8Ecdn5SGT1E\" target=\"_blank\" data-href=\"https:\/\/www.youtube.com\/watch?v=8Ecdn5SGT1E\">little fluffy clouds<\/a>.\u201d<\/span> <span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"ee796ab036f6\">Those clouds giveth. They offer rain, which gives us water, which is the source of life.<\/span><\/p>\n<p id=\"3669\" class=\"graf graf--p graf-after--p\"><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"b9d036fbc779 ee796ab036f6 e325d218f363 8ca97c644410 ee0b547f9433 78b81f962186\">But what about <a class=\"markup--anchor markup--p-anchor\" href=\"http:\/\/www.theatlantic.com\/projects\/beneath-the-cloud\/\" target=\"_blank\" data-href=\"http:\/\/www.theatlantic.com\/projects\/beneath-the-cloud\/\">the clouds we techies make<\/a>? <\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"b9d036fbc779 ee796ab036f6 e325d218f363 8ca97c644410 ee0b547f9433 78b81f962186 6bc7f68ff4b\">T<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"b9d036fbc779 ee796ab036f6 e325d218f363 8ca97c644410 ee0b547f9433 78b81f962186 6bc7f68ff4b 9eda8914b544\">hose clouds take. <\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"b9d036fbc779 ee796ab036f6 e325d218f363 8ca97c644410 ee0b547f9433 78b81f962186 6bc7f68ff4b 9eda8914b544 d634e817b150\">They require rare earth metals and soak up land, power, and water.<\/span> <span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"e325d218f363 8ca97c644410 ee0b547f9433 78b81f962186 74b8847c73f\">Many big companies are working hard to think about the environmental impact of data centers, to think about the carbon implications.<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"e325d218f363 8ca97c644410 ee0b547f9433 78b81f962186\"> (I\u2019m proud to work for<a class=\"markup--anchor markup--p-anchor\" href=\"https:\/\/blogs.microsoft.com\/on-the-issues\/2016\/05\/19\/greener-datacenters-brighter-future-microsofts-commitment-renewable-energy\/#sm.000008bnc89pigdgbrwion5eklolr\" target=\"_blank\" data-href=\"https:\/\/blogs.microsoft.com\/on-the-issues\/2016\/05\/19\/greener-datacenters-brighter-future-microsofts-commitment-renewable-energy\/#sm.000008bnc89pigdgbrwion5eklolr\">one of them<\/a>.) Big companies still have a long way to go, but at least they\u2019re trying. <\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"e325d218f363 8ca97c644410 ee0b547f9433 78b81f962186 f194bf9b3cab\">But <\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"e325d218f363 8ca97c644410 ee0b547f9433 78b81f962186 f194bf9b3cab d2513b719412\">how many developers out there are trying to <a class=\"markup--anchor markup--p-anchor\" href=\"http:\/\/dl.acm.org\/citation.cfm?id=2884810\" target=\"_blank\" data-href=\"http:\/\/dl.acm.org\/citation.cfm?id=2884810\">write green code<\/a>?<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"8ca97c644410 ee0b547f9433 78b81f962186 f194bf9b3cab\">At best, folks are thinking about the cost-per-computation, but most developers are pretty sloppy with code and data. <\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"8ca97c644410 ee0b547f9433 78b81f962186 f194bf9b3cab fdbb88d8f94e 577667174add\">And there\u2019s no LEED-certified code. <\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"8ca97c644410 ee0b547f9433 78b81f962186 f194bf9b3cab fdbb88d8f94e 577667174add 27758b3550f5\">Who is going to start certifying LEED code!?<\/span><\/p>\n<p id=\"8803\" class=\"graf graf--p graf-after--p\">In the same sense, <span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"d28f9d3dcb14\">how many product designers are thinking about the environmental impact of every product design decision they make? <\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"74b8847c73f\">Product folks are talking about how notifications might annoy or engage users but not the environmental impact of them<\/span>. And for all those open data zealots, is the world really better off having petabytes of data sitting on live servers just to make sure it\u2019s open and accessible just in case? <span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"fbcc7b8b39c5 e7c36ee7f624\">It\u2019s painful to think about how many terabytes of data are sitting in open data repositories that have never been accessed.<\/span><\/p>\n<p id=\"b753\" class=\"graf graf--p graf-after--p\"><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"9eda8914b544\">And don\u2019t get me started about the blockchain or 3D printing or the Internet of Things. <\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"9eda8914b544 79e53ccb84d2 b9d036fbc779\">At least bitcoin got one thing right: this really is about <a class=\"markup--anchor markup--p-anchor\" href=\"https:\/\/blockchain.info\/stats\" target=\"_blank\" data-href=\"https:\/\/blockchain.info\/stats\">mining<\/a>.<\/span><\/p>\n<h4 id=\"e2d5\" class=\"graf graf--h4 graf-after--p\">Area Two: Social Consequences<\/h4>\n<p id=\"2ffb\" class=\"graf graf--p graf-after--h4\">In the early 2000s, Google thought that I was a truck driver. I got the <em class=\"markup--em markup--p-em\">best<\/em>advertisements. I didn\u2019t even know how many variations of trucker speed there were! All because I did fieldwork in parts of the country that only truckers visit. <span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"27758b3550f5\">Consider how many people have received online advertisements that clearly got them wrong.<\/span> Funny, huh?<\/p>\n<p id=\"cf78\" class=\"graf graf--p graf-after--p\">Now\u2026Have you ever been arrested? Have you ever been incarcerated?<\/p>\n<p id=\"af7d\" class=\"graf graf--p graf-after--p\"><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"d634e817b150 c58bf035cfd7 78b81f962186\">Take a moment to think about the accuracy of our advertising ecosystem\u200a\u2014\u200athe amount of money and data that goes into making ads right.<\/span> <span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"78b81f962186 7bdeb357cfaa 95cd64cd2cf4\">Now think about what it means that the same techniques that advertisers are using to \u201cpredict\u201d what you want to buy are also being used to <a class=\"markup--anchor markup--p-anchor\" href=\"http:\/\/www.datacivilrights.org\/2015\/\" target=\"_blank\" data-href=\"http:\/\/www.datacivilrights.org\/2015\/\">predict the criminality of a neighborhood or a person<\/a>.<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"78b81f962186 95cd64cd2cf4\"> And those that work in law enforcement and criminal justice have less money, oversight mechanisms, and technical skills.<\/span><\/p>\n<p id=\"6624\" class=\"graf graf--p graf-after--p\"><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"c58bf035cfd7 4f4a830352b7 453381221c8b\">Inaccuracy and bias are often a given in advertising<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"4f4a830352b7 453381221c8b\">. <\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"4f4a830352b7 453381221c8b b9d036fbc779\">But is it OK that we\u2019re using extraordinarily biased data about previous arrests to <a class=\"markup--anchor markup--p-anchor\" href=\"http:\/\/www.datacivilrights.org\/pubs\/2015-1027\/Predictive_Policing.pdf\" target=\"_blank\" data-href=\"http:\/\/www.datacivilrights.org\/pubs\/2015-1027\/Predictive_Policing.pdf\">predict future arrests<\/a><\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"453381221c8b b9d036fbc779\"> and determine where police are stationed?<\/span> Is it OK that we assess someone\u2019s risk at the point of arrest and <a class=\"markup--anchor markup--p-anchor\" href=\"http:\/\/www.datacivilrights.org\/pubs\/2015-1027\/Courts_and_Predictive_Algorithms.pdf\" target=\"_blank\" data-href=\"http:\/\/www.datacivilrights.org\/pubs\/2015-1027\/Courts_and_Predictive_Algorithms.pdf\">give judges recommendations<\/a> for bail, probation, and sentencing? <span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"27758b3550f5 3758b7f07207\">Is it OK that local law enforcement agencies are asking tech vendors to predict which children are going to commit a crime before they\u2019re 21?<\/span> <span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"453381221c8b 95cd64cd2cf4\">Who is deciding, and who is holding them accountable?<\/span><\/p>\n<p id=\"bca6\" class=\"graf graf--p graf-after--p\"><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"bdbae7b10ee6\">We might have different political commitments when it comes to policing and <\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"bdbae7b10ee6 c2e484ed8322\">criminal<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"bdbae7b10ee6\"> justice. But when it comes to tech and data analysis, I hope that we can all agree that <\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"bdbae7b10ee6 fbcc7b8b39c5\">accuracy matters.<\/span> <span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"bdbae7b10ee6 453381221c8b\">Yet, <\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"bdbae7b10ee6 453381221c8b 203f98c8885d\">we\u2019re turning a blind eye to all of the biases that are baked into the data and, thus, the models that we build.<\/span><\/p>\n<figure id=\"ff44\" class=\"graf graf--figure graf-after--p\">\n<div class=\"aspectRatioPlaceholder is-locked\">\n<div class=\"aspectRatioPlaceholder-fill\"><\/div>\n<div class=\"progressiveMedia js-progressiveMedia graf-image is-canvasLoaded is-imageLoaded\" draggable=\"false\" data-image-id=\"1*n2aFe2uy1Mfc-y7bizhz5g.jpeg\" data-width=\"4543\" data-height=\"3029\" data-action=\"zoom\" data-action-value=\"1*n2aFe2uy1Mfc-y7bizhz5g.jpeg\" data-scroll=\"native\"><canvas class=\"progressiveMedia-canvas js-progressiveMedia-canvas\" width=\"75\" height=\"50\"><\/canvas><img decoding=\"async\" class=\"progressiveMedia-image js-progressiveMedia-image\" src=\"https:\/\/cdn-images-1.medium.com\/max\/800\/1*n2aFe2uy1Mfc-y7bizhz5g.jpeg\" data-src=\"https:\/\/cdn-images-1.medium.com\/max\/800\/1*n2aFe2uy1Mfc-y7bizhz5g.jpeg\" \/><\/div>\n<\/div><figcaption class=\"imageCaption\"><a class=\"markup--anchor markup--figure-anchor\" href=\"https:\/\/creativecommons.org\/licenses\/by-nc\/2.0\/\" target=\"_blank\" data-href=\"https:\/\/creativecommons.org\/licenses\/by-nc\/2.0\/\">CC BY-NC 2.0<\/a>-licensed <a class=\"markup--anchor markup--figure-anchor\" href=\"https:\/\/www.flickr.com\/photos\/thomashawk\/7672715878\/\" target=\"_blank\" data-href=\"https:\/\/www.flickr.com\/photos\/thomashawk\/7672715878\/\">photo<\/a> by <a class=\"markup--anchor markup--figure-anchor\" href=\"http:\/\/thomashawk.com\/\" target=\"_blank\" data-href=\"http:\/\/thomashawk.com\/\">Thomas\u00a0Hawk<\/a>.<\/figcaption><\/figure>\n<p id=\"e488\" class=\"graf graf--p graf-after--figure\">Take a moment to consider that <a class=\"markup--anchor markup--p-anchor\" href=\"https:\/\/www.amazon.com\/New-Jim-Crow-Incarceration-Colorblindness\/dp\/1595586431\" target=\"_blank\" data-href=\"https:\/\/www.amazon.com\/New-Jim-Crow-Incarceration-Colorblindness\/dp\/1595586431\">96% of cases are plead out<\/a>. Those defendants never see a jury of their peers. <span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"fc0af1fe5f\">At a minimum, 10%\u200a\u2014\u200abut most likely much more\u200a\u2014\u200aof those who take a plea are innocent. <a class=\"markup--anchor markup--p-anchor\" href=\"http:\/\/www.nybooks.com\/articles\/2014\/11\/20\/why-innocent-people-plead-guilty\/?insrc=whc\" target=\"_blank\" data-href=\"http:\/\/www.nybooks.com\/articles\/2014\/11\/20\/why-innocent-people-plead-guilty\/?insrc=whc\">Why?<\/a> Last I saw, the average inmate at Riker\u2019s waits <a class=\"markup--anchor markup--p-anchor\" href=\"http:\/\/www.dailykos.com\/story\/2015\/06\/17\/1394091\/-The-average-inmate-at-Riker-s-Island-is-now-waiting-a-ridiculous-593-days-for-their-trial-to-begin\" target=\"_blank\" data-href=\"http:\/\/www.dailykos.com\/story\/2015\/06\/17\/1394091\/-The-average-inmate-at-Riker-s-Island-is-now-waiting-a-ridiculous-593-days-for-their-trial-to-begin\">~600 days<\/a> for their trial to begin. Average. And who is more likely to end up not making bail? Certainly not rich white folks.<\/span><\/p>\n<p id=\"65fb\" class=\"graf graf--p graf-after--p\"><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"a2ca5e71ea64\">Researchers have long known that whites are more likely to use <em class=\"markup--em markup--p-em\">and<\/em> sell drugs.<\/span> And yet, <a class=\"markup--anchor markup--p-anchor\" href=\"https:\/\/www.amazon.com\/New-Jim-Crow-Incarceration-Colorblindness\/dp\/1595586431\" target=\"_blank\" data-href=\"https:\/\/www.amazon.com\/New-Jim-Crow-Incarceration-Colorblindness\/dp\/1595586431\">who is arrested for drugs?<\/a> Blacks. 13% of the US population is black, but over 60% of those in prison are black. Mostly for drug crimes.<\/p>\n<p id=\"831c\" class=\"graf graf--p graf-after--p\"><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"453381221c8b 71560ea47e29\">Because blacks are more likely to be arrested\u200a\u2014\u200aand more likely to be prosecuted and serve time, guess what our algorithms tell us about who is most likely to commit a drug crime?<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"71560ea47e29\"> About where drug crimes occur? Police aren\u2019t sent by predictive policing tools to college campuses. They\u2019re sent to the hood.<\/span><\/p>\n<p id=\"d95f\" class=\"graf graf--p graf-after--p\"><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"78b81f962186 c58bf035cfd7\">Engineers argue that judges and police officers should know the limits of the data they use. Some do\u200a\u2014\u200athey\u2019re simply ignoring these expensive, tax-payer-costing civic technologies. But in a world of public accountability, where police are punished for not knowing someone was a risk before they shoot up a church, many feel obliged to follow the recommendations for fear of reprisal. <\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"78b81f962186 c58bf035cfd7 d634e817b150 453381221c8b\">This is how racism gets built into the structures of our systems.<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"78b81f962186 c58bf035cfd7 453381221c8b\"> And civic tech is implicated in this.<\/span><\/p>\n<blockquote id=\"85d3\" class=\"graf graf--pullquote graf-after--p\"><p><span class=\"markup--quote markup--pullquote-quote is-other\" data-creator-ids=\"8882b7095470 7bdeb357cfaa 55719fa699 fc0af1fe5f d399c7212231 453381221c8b 203f98c8885d fdf16c96cfcf b6ff7411e672 3a709780cbcf 577667174add 73d5dcdbfcd2 3d52924c6967 7c1ccdd71a73 f9b655d2ebe3 f70f2d7f8f9c ab24a4574024 1b5561d847 fdb6f505bc0c 6bc7f68ff4b b6d3f429353e f974780e0ce3 711c6a04cec3 bdbae7b10ee6 4b6f038043a5 65b0066eefc5 f7bcd957b4a1 a2301f1df984 f42dccf8ae31 anon f194bf9b3cab 3892669ba936 4e76831f2dff 2c6882ac2b84 79e53ccb84d2 2d7924dd1a08 5b8505f63837 83c5d291de66 9c5d7617ec95 3f49fd8a4e7b b9d036fbc779 d4b12db220eb d634e817b150 e8b963c80576 f899f3afe7ea\">I don\u2019t care what your politics are. <\/span><span class=\"markup--quote markup--pullquote-quote is-other\" data-creator-ids=\"8882b7095470 7bdeb357cfaa 55719fa699 fc0af1fe5f d399c7212231 453381221c8b 203f98c8885d fdf16c96cfcf b6ff7411e672 3a709780cbcf 577667174add 73d5dcdbfcd2 3d52924c6967 7c1ccdd71a73 f9b655d2ebe3 f70f2d7f8f9c ab24a4574024 1b5561d847 fdb6f505bc0c 6bc7f68ff4b b6d3f429353e f974780e0ce3 711c6a04cec3 bdbae7b10ee6 4b6f038043a5 65b0066eefc5 f7bcd957b4a1 a2301f1df984 f42dccf8ae31 anon f194bf9b3cab 3892669ba936 4e76831f2dff 2c6882ac2b84 79e53ccb84d2 2d7924dd1a08 5b8505f63837 83c5d291de66 9c5d7617ec95 3f49fd8a4e7b b9d036fbc779 d4b12db220eb d634e817b150 e8b963c80576 f899f3afe7ea 2437afbeafd 8efa38cd0af4\">If you\u2019re building a data-driven system and you\u2019re not actively seeking to combat prejudice, <strong class=\"markup--strong markup--pullquote-strong\">you\u2019re building a discriminatory\u00a0system<\/strong><\/span><span class=\"markup--quote markup--pullquote-quote is-other\" data-creator-ids=\"7bdeb357cfaa 55719fa699 fc0af1fe5f d399c7212231 453381221c8b 203f98c8885d fdf16c96cfcf b6ff7411e672 3a709780cbcf 577667174add 73d5dcdbfcd2 3d52924c6967 7c1ccdd71a73 f9b655d2ebe3 f70f2d7f8f9c ab24a4574024 1b5561d847 fdb6f505bc0c 6bc7f68ff4b b6d3f429353e f974780e0ce3 711c6a04cec3 8882b7095470 bdbae7b10ee6 4b6f038043a5 65b0066eefc5 f7bcd957b4a1 a2301f1df984 f42dccf8ae31 anon f194bf9b3cab 3892669ba936 4e76831f2dff 2c6882ac2b84 79e53ccb84d2 2d7924dd1a08 5b8505f63837 83c5d291de66 9c5d7617ec95 3f49fd8a4e7b b9d036fbc779 d4b12db220eb d634e817b150 e8b963c80576 f899f3afe7ea 2437afbeafd 8efa38cd0af4\"><strong class=\"markup--strong markup--pullquote-strong\">.<\/strong><\/span><\/p><\/blockquote>\n<h4 id=\"3fce\" class=\"graf graf--h4 graf-after--pullquote\">Solution: <span class=\"markup--quote markup--h4-quote is-other\" data-creator-ids=\"453381221c8b\">Audits and Inspection<\/span><\/h4>\n<p id=\"18b5\" class=\"graf graf--p graf-after--h4\">Decisions made involving tech can have serious ramifications that are outside of the mind\u2019s eye of development. <span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"9eda8914b544 4e76831f2dff\">We need to wake up<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"4e76831f2dff\">. <\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"4e76831f2dff 4b6f038043a5 efc142c79c66\">Our technology is powerful, and we need to be aware of the consequences of our code.<\/span><\/p>\n<p id=\"f947\" class=\"graf graf--p graf-after--p\"><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"fc0af1fe5f 453381221c8b e5f004f9f0e3 2437afbeafd b64c30a3373b\">Before our industry went all perpetual beta<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"453381221c8b e5f004f9f0e3 2437afbeafd b64c30a3373b\">, we used to live in a world where <\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"453381221c8b e5f004f9f0e3 2437afbeafd b64c30a3373b 60f78cdb468a\">Test or Quality Assurance meant something<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"e5f004f9f0e3 2437afbeafd b64c30a3373b\">.<\/span> <span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"2437afbeafd b64c30a3373b fbcc7b8b39c5\">Rooted in those domains is a practice that can be understood as an internal technical audit.<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"2437afbeafd b64c30a3373b\"> We need to get back to this.<\/span> We need to be able to answer simple questions like:<\/p>\n<ul class=\"postList\">\n<li id=\"00de\" class=\"graf graf--li graf-after--p\"><span class=\"markup--quote markup--li-quote is-other\" data-creator-ids=\"7bdeb357cfaa fdf16c96cfcf\">Does the system that we built produce the right output given the known constraints<\/span><span class=\"markup--quote markup--li-quote is-other\" data-creator-ids=\"fdf16c96cfcf\">?<\/span><\/li>\n<li id=\"ced6\" class=\"graf graf--li graf-after--li\"><span class=\"markup--quote markup--li-quote is-other\" data-creator-ids=\"7bdeb357cfaa a2ca5e71ea64 fdf16c96cfcf\">Do we understand the biases and limitations of the system and the output<\/span><span class=\"markup--quote markup--li-quote is-other\" data-creator-ids=\"a2ca5e71ea64 fdf16c96cfcf\">?<\/span><\/li>\n<li id=\"1ebd\" class=\"graf graf--li graf-after--li\"><span class=\"markup--quote markup--li-quote is-other\" data-creator-ids=\"fdf16c96cfcf\">Are those clear to the user so that our tool cannot enable poor decision-making or inaccurate impressions?<\/span><\/li>\n<li id=\"b322\" class=\"graf graf--li graf-after--li\"><span class=\"markup--quote markup--li-quote is-other\" data-creator-ids=\"d634e817b150\">What are the true social and environmental costs of the service?<\/span><\/li>\n<\/ul>\n<p id=\"e976\" class=\"graf graf--p graf-after--li\"><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"4e76831f2dff\">We need to start making more meaningful trade-offs. And that requires asking hard questions.<\/span><\/p>\n<p id=\"5b3d\" class=\"graf graf--p graf-after--p\"><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"fdbb88d8f94e 7bdeb357cfaa b64c30a3373b 74a5e2d31ed\">Audits don\u2019t have to be adversarial.<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"7bdeb357cfaa b64c30a3373b 74a5e2d31ed\"> They can be a way of honestly assessing the limitations of a system and benchmarking for improvement<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"b64c30a3373b 74a5e2d31ed\">. <\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"74a5e2d31ed 84dec3caf269\">This approach is not without problems and limitations, but, <\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"74a5e2d31ed 84dec3caf269 f70f2d7f8f9c 453381221c8b f9b655d2ebe3 6dfa88f1815c\">if you cannot understand whether a model is helping or hurting, discriminating or resulting in false positives, <\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"74a5e2d31ed 84dec3caf269 f70f2d7f8f9c 453381221c8b f9b655d2ebe3 6dfa88f1815c fc0af1fe5f\">then you should not be implementing that technology<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"74a5e2d31ed 84dec3caf269 453381221c8b f9b655d2ebe3 6dfa88f1815c fc0af1fe5f\"> in a high stakes area where freedom and liberty are at stake.<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"74a5e2d31ed 84dec3caf269 f9b655d2ebe3 6dfa88f1815c fc0af1fe5f\">Stick to advertising<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"74a5e2d31ed 84dec3caf269 f9b655d2ebe3 6dfa88f1815c\">.<\/span><\/p>\n<p id=\"a363\" class=\"graf graf--p graf-after--p graf--last\"><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"c252ae2cb143 5283870514b5 9428bb390fa6 74b8847c73f\">Technology can be amazingly empowering. But only when it is implemented in a responsible manner.<\/span> <span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"9428bb390fa6 74b8847c73f 9eda8914b544\">Code doesn\u2019t create magic. Without the right checks and balances, it can easily be misused.<\/span> <span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"74b8847c73f 453381221c8b f194bf9b3cab 3d52924c6967\">I<\/span><span class=\"markup--quote markup--p-quote is-other\" data-creator-ids=\"74b8847c73f 453381221c8b f194bf9b3cab 3d52924c6967 b9d036fbc779 fbcc7b8b39c5\">n the world of civic tech, we need to conscientiously think about the social and environmental costs, just as urban planners do.<\/span><\/p>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"section section--body section--last\">\n<div class=\"section-content\"><\/div>\n<\/section>\n<footer class=\"u-paddingTop10\"><\/footer>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/UWBZNxPzoUY\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Most people who don\u2019t code don\u2019t appreciate how hard it is to do right.Plenty of developers are perfectly functional, but to watch a master weave code into silken beauty is utterly inspiring. Unfortunately, most of the code that underpins the tools that we use on a daily basis isn\u2019t so pretty. There isa lot of [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"yes","footnotes":""},"categories":[1],"tags":[2091,2101,2096,2106],"class_list":["post-6781","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-coding","tag-development","tag-engineering","tag-environment"],"_links":{"self":[{"href":"https:\/\/www.zephoria.org\/thoughts\/wp-json\/wp\/v2\/posts\/6781","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zephoria.org\/thoughts\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zephoria.org\/thoughts\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zephoria.org\/thoughts\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zephoria.org\/thoughts\/wp-json\/wp\/v2\/comments?post=6781"}],"version-history":[{"count":4,"href":"https:\/\/www.zephoria.org\/thoughts\/wp-json\/wp\/v2\/posts\/6781\/revisions"}],"predecessor-version":[{"id":6811,"href":"https:\/\/www.zephoria.org\/thoughts\/wp-json\/wp\/v2\/posts\/6781\/revisions\/6811"}],"wp:attachment":[{"href":"https:\/\/www.zephoria.org\/thoughts\/wp-json\/wp\/v2\/media?parent=6781"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zephoria.org\/thoughts\/wp-json\/wp\/v2\/categories?post=6781"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zephoria.org\/thoughts\/wp-json\/wp\/v2\/tags?post=6781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}