<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Matt Bernhard on Medium]]></title>
        <description><![CDATA[Stories by Matt Bernhard on Medium]]></description>
        <link>https://medium.com/@mattbernhard?source=rss-6070db03bc77------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GBV5pM3PILHKiIGyY8eiHQ.jpeg</url>
            <title>Stories by Matt Bernhard on Medium</title>
            <link>https://medium.com/@mattbernhard?source=rss-6070db03bc77------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 00:30:38 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mattbernhard/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Building a microcluster]]></title>
            <link>https://mattbernhard.medium.com/building-a-microcluster-812b176e2f76?source=rss-6070db03bc77------2</link>
            <guid isPermaLink="false">https://medium.com/p/812b176e2f76</guid>
            <dc:creator><![CDATA[Matt Bernhard]]></dc:creator>
            <pubDate>Sun, 31 Jan 2021 18:46:41 GMT</pubDate>
            <atom:updated>2021-01-31T18:46:41.254Z</atom:updated>
            <content:encoded><![CDATA[<p>I frequently have a need to do fairly large computations™. In the past, this has relied on using single machines with many cores, for example when we needed <a href="https://mbernhard.com/papers/bbp.pdf">simulations of 10 million elections</a>, each with a million cast ballots over 500 different margins of victory. However, even on a beefy server, this took a long time (and resulted in me accidentally running up an AWS bill of $5,000). Ideally, I’d like to have my own compute machines to avoid the spurious AWS bills, and even if my local compute isn’t enough, it is at least useful for test runs to make sure my code does what it should.</p><p>Recently my colleague Dan Wallach built <a href="https://github.com/votingworks/arlo-e2e">a really cool implementation of VAULT</a>, end-to-end encryption for use in post-election ballot comparison audits. Doing encryption over a large set of ballots is not that different than running simulations of elections, since both require vectorizing ballots, doing computationally heavy things like generating randomness and <em>doing math</em>. Since post-election audits are fairly time sensitive, it would be great to do all of the VAULT encryption and verification work in this lifetime. To satisfy this constraint, Dan turned to <a href="http://ray.io/">Ray</a>, a distributed computation engine that seeks to abstract nearly everything about compute scaling (see Dan’s talk about this experience <a href="https://youtu.be/m7r33EuN6Zw">here</a>). As luck would have it, I inherited maintenance of this implementation, which means I finally have a valid excuse to build the home cluster I’ve always dreamed of.</p><p><strong>Hardware</strong></p><p>To facilitate my home cluster, I’d like to not break the bank. I settled on playing around with Pine64’s RockPro64 single-board computer platform as a jumping off point. Lots of people have built <a href="https://www.pidramble.com/">clusters with Raspberry Pis</a> of various flavors, but the Pine64 boards are a bit more computationally beefy for not that much more money (6 cores instead of 4, slightly better clock speeds, and I really like what Pine64 is doing in general). As with most single board computers (SBCs), these are 64-bit ARM chips, with fairly minimal specs otherwise.</p><figure><img alt="A picture of the RockPro64 SBC" src="https://cdn-images-1.medium.com/max/525/1*0NqYfG1imHnWBhKl81FoYw.jpeg" /><figcaption>A Rockpro64 SBC (photo courtesy of <a href="https://pine64.com/product/rockpro64-2gb-single-board-computer/?v=0446c16e2e66">Pine64</a>)</figcaption></figure><p>My original microcluster attempt involved a <a href="https://www.amazon.com/gp/product/B00A121WN6/ref=ppx_yo_dt_b_asin_title_o05_s01?ie=UTF8&amp;psc=1">TP-Link switch</a> and a <a href="https://www.amazon.com/gp/product/B07D5NM9ZG/ref=ppx_yo_dt_b_asin_title_o06_s00?ie=UTF8&amp;psc=1">cloudlet case</a> that had to be modified to support the RockPro64s. I powered everything with a fairly <a href="https://www.amazon.com/gp/product/B07WLD32RP/ref=ppx_yo_dt_b_asin_title_o05_s01?ie=UTF8&amp;psc=1">unique UPS</a> with barrel jack outputs at various voltages. Unfortunately, the fans provided with the cloudlet case weren’t up to the task of cooling my RockPro64s, so I wound up seeking other alternatives.</p><p>In addition to the RockPro64s, Pine64 also sells a <a href="https://pine64.com/product/clusterboard-with-7-sopine-compute-module-slots/?v=0446c16e2e66">clusterboard</a>, a mini-ITX board with 7 SO-DIMM slots for SOPINE compute modules, slightly less powerful 4-core ARM boards. The nice thing about the clusterboard is it handles power distribution and networking between boards, providing an eight gigabit backplane, meaning I only need one ethernet and power cable instead of seven each.</p><figure><img alt="A Pine64 clusterboard next to a SOPINE SO-DIMM compute module" src="https://cdn-images-1.medium.com/max/800/1*C0K_nmFHV36_RcXiNIpkLQ.jpeg" /><figcaption>Clusterboard with SOPINE module, courtesy of Pine64.</figcaption></figure><p>The clusterboards are in fairly high demand, but I managed to snag one with seven of the modules. To house them, I got a <a href="https://www.amazon.com/gp/product/B085KLGP8C/ref=ppx_yo_dt_b_asin_title_o03_s03?ie=UTF8&amp;psc=1">Silverstone FARA R1 case</a> (chosen so that I could mount several clusterboards on top of each other if I wanted), a bunch of <a href="https://www.amazon.com/gp/product/B07PFBPHL6/ref=ppx_yo_dt_b_asin_title_o03_s01?ie=UTF8&amp;psc=1">120mm fans</a>, a way-too-beefy <a href="https://www.amazon.com/gp/product/B0832LZCPJ/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8&amp;psc=1">power supply</a> (over provisioned for expandability), and a <a href="https://www.amazon.com/gp/product/B07KZG5433/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8&amp;psc=1">grab bag of heat sinks</a> to help cool the modules.</p><p>After doing some test runs, I realized that the clusterboard couldn’t hold a candle to the power of five RockPro64s (even with thermal throttling of the RockPros due to the insufficient cooling of the cloudlet case), so I endeavored to find a way to mount everything in the Silverstone case. This required finding a <a href="https://www.amazon.com/gp/product/B01NBU2C64/ref=ppx_yo_dt_b_asin_image_o01_s00?ie=UTF8&amp;psc=1">breakout board</a> and <a href="https://www.amazon.com/gp/product/B018B7HCAO/ref=ppx_yo_dt_b_asin_image_o01_s00?ie=UTF8&amp;psc=1">splitter</a> for ATX 24-pin power cables, drilling some holes, and getting everything routed and installed. I also had to switch to a Linksys switch, as the TP-Link required 9v power and ATX doesn’t provide that without modifications. The breakout board I chose leaves a lot to be desired when routing more than a few cables, since it only provides two +12v screw terminals, which means cramming three positive wires into each one (one for the switch, five for the RockPros). In the future I will experiment with different means of distributing power, and I currently have a different breakout board on order that at least provides more terminals.</p><p>For cooling I experimented with putting the same heatsinks I got for the SOPINEs on two of the RockPros, only to realize that the <a href="https://pine64.com/product/rockpro64-slim-profile-graphene-heatsink/?v=0446c16e2e66">low-profile graphene heat sinks</a> sold by Pine64 work way better.</p><figure><img alt="Black silverstone case housing the clusterboard, a stack of five rockpro64s, an ATX power breakout and splitter, and router" src="https://cdn-images-1.medium.com/max/1024/1*7FFGjtTbsW7LkfS2IBFrdA.jpeg" /><figcaption>Everything mounted into the case.</figcaption></figure><p>I flashed a bunch of eMMCs I also got from Pine64 with Armbian, and we’re off to the races. Getting Armbian to work on the RockPro64 is a cinch. You flash the boot disk, pop it in, and boot the thing. If it’s connected to a network, SSH is already up and running and all you have to do is log in with default credentials, set up an account, and you’re done. On to the software!</p><p><strong>Yak shaving</strong></p><p>One major issue with using Ray on ARM is that there are no releases available to install via Pip. That means I had to build them myself. Actually, that means someone else had to and I just had to find <a href="https://github.com/ray-project/ray/issues/12128">their post in a Github thread</a> on the Ray repo.</p><p>Once I got Ray installed, the next hurdle was attempting to take advantage of the neat cluster management tooling Ray provides. Essentially it rolls an Ansible-like framework into a command-line interface that deploys docker instances to whatever compute infrastructure you like. There’s support for most cloud providers as well as support for local clusters, and it makes pushing Ray-powered code out ridiculously easy. There’s a catch, though: the docker images provided by Ray are, you guessed it, only for x86_64, meaning I had to rebuild the docker stack for ARM as well.</p><p>Since I already had to gussy up the dockerfiles, I also made some other changes to tailor them more to my use case. Mostly, I stripped out Anaconda in favor of Pip, since that is what I’m most comfortable with. Doing this resulted in some PATH breakages that were fixed pretty easily with some bashrc modifications (I don’t usually like installing things through Pip as sudo, since if you ever need to change versions of Python or use multiple versions at once, it creates really thorny dependency issues). I haven’t gotten the full ML stack Ray provides in their ray-ml dockerfile, since I don’t really need anything it provides, but everything else has been ported and is available on <a href="https://hub.docker.com/u/umbernhard">Dockerhub</a>. The dockerfiles are also hosted on <a href="https://github.com/umbernhard/ray-docker-arm">Github</a>, should you wish to modify them further.</p><p>That’s all for now. I’m still tweaking and testing things, but the fact that I can seamlessly deploy some fairly advanced vectorized computations at the snap of my fingers is really freakin’ cool. If you’re curious about what I’m actually doing with all of this, the code I’m playing with is also <a href="https://github.com/umbernhard/audit-sim">available on Github</a>. As I continue to tweak the hardware I’ll try to update this post.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=812b176e2f76" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bagels!]]></title>
            <link>https://mattbernhard.medium.com/ive-been-wanting-to-try-making-bagels-for-a-while-939f8eed78df?source=rss-6070db03bc77------2</link>
            <guid isPermaLink="false">https://medium.com/p/939f8eed78df</guid>
            <category><![CDATA[bagels]]></category>
            <category><![CDATA[cooking]]></category>
            <category><![CDATA[baking]]></category>
            <category><![CDATA[recipe]]></category>
            <dc:creator><![CDATA[Matt Bernhard]]></dc:creator>
            <pubDate>Thu, 30 Apr 2020 23:23:20 GMT</pubDate>
            <atom:updated>2020-05-01T20:24:31.070Z</atom:updated>
            <content:encoded><![CDATA[<p>I’ve been wanting to try making bagels for a while. Most of the recipes I found required diastatic malt or barley syrup, which I don’t have. Instead, beer!</p><p>I cobbled this together from a variety of sources, including Basics with Babish’s <a href="https://basicswithbabish.co/basicsepisodes/bagels">bagel</a> recipe, Binging with Babish’s <a href="https://www.bingingwithbabish.com/recipes/bagelsandwiches">bagel sandwich</a> recipe, <a href="https://www.youtube.com/watch?v=W8j-ZUp7KD0">Joshua Weissmann</a>, and a <a href="https://www.youtube.com/watch?v=CdGNXi5HL-A">Bon Appetit </a>video about Philly bagels. This recipe makes 12ish bagels.</p><h3><strong>Ingredients</strong>:</h3><h4><strong>Dough:</strong></h4><ul><li>585g AP flour</li><li>65g Wheat bread flour (you could just use 650g AP)</li><li>350g water</li><li>10g yeast</li><li>10g salt</li><li>25g sugar</li></ul><h4><strong>Resting</strong>:</h4><ul><li>A few tbsp panko bread crumbs</li></ul><h4>Boil:</h4><ul><li>1 bottle Amber Lager (12 oz)</li><li>~1.5 gallons of water</li><li>~3 tsp baking soda</li><li>1/4 cup of sugar</li></ul><h4>Bake</h4><ul><li>Badia Everything Bagel Seasoning</li><li>1/2 cup of water used to boil bagels in bottom of pan</li></ul><h3><strong>Equipment</strong></h3><ul><li>Stand mixer, dough hook, bowl</li><li>A couple of other containers with lids for proofing and fermenting</li><li>Wire baking rack, sheet pan</li><li>Large pot for boiling water</li><li>Spider</li><li>Scale</li><li>Spoon for stirring water</li></ul><h3><strong>Instructions</strong></h3><ul><li>Mix 225g AP flour and 25g of wheat bread flour, all water, and yeast, and let autolyse for ~2 hours</li><li>Add the rest of the flour (400g), salt (10g), and sugar (25g) into the bowl of a stand mixer along with the autolysed mixture, and mix on low for 20 minutes</li><li>Put dough in fridge overnight. (Alternatively, wait until the bagels are formed to do this)</li><li>Let dough warm up and rise for about an hour or so after coming out of the fridge (or after kneading, if you didn’t fridge them yet).</li><li>Cut dough into 12 roughly equal pieces and shape into balls on an unfloured surface. I’s important that the dough sticks to the surface, so that the gluten is stretched as much as possible. Longer gluten strands equals more chewiness!</li><li>Let the dough balls rest for about 15 minutes to let the gluten relax a little bit. If you start rolling them out and find they aren’t cooperating, wait a little while longer and try again.</li><li>Roll out each ball into a flat circle, and roll the circle up like a sleeping bag, pulling the dough out a little bit each time you roll it a little further.</li><li>Roll the resulting rope of dough out until it is about 8 inches long, and then twist it by moving your hands in opposite directions and rolling the dough along the counter top. The Babish video has a good demonstration of this:</li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FZrJtpCTZk38%3Fstart%3D249%26feature%3Doembed%26start%3D249&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DZrJtpCTZk38&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FZrJtpCTZk38%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/306bb797de852072ec63ff424174a0fa/href">https://medium.com/media/306bb797de852072ec63ff424174a0fa/href</a></iframe><ul><li>Grab one end of the now twisted rope of dough and wrap it around your knuckles, joining it with the other end. Roll the now-joined ends a little to get them to stick together.</li><li>Line a baking sheet with panko bread crumbs (corn meal works too, I just didn’t have any), and place the now-formed bagels on it. Cover with a damp kitchen towel, and let them sit for an hour to proof (a good place for this is in a turned-off oven with the oven light on as a heat source).</li></ul><figure><img alt="My bagels weren’t perfect, but this was a first try" src="https://cdn-images-1.medium.com/max/1024/0*sX_FcRCEFZMvZaRz" /></figure><ul><li>After letting bagels sit for an hour, either stash them in the fridge over night if you haven’t already, or get ready to boil.</li><li>Boil one and a half gallons of water and one bottle of amber lager (I used Wolverine State, but the quality of the beer doesn’t really matter). Add in 3 tbsp of baking soda and 1/4 cup of sugar. I’m not sure how important these ingredient are, but they’re standing in for barley syrup.</li><li>Once the water is near boiling, set your oven to 450 degrees Fahrenheit.</li><li>Drop the bagels into the liquid, making sure they float. If they don’t, you didn’t get enough yeast development. Also, don’t crowd these too much, as they’ll stick to each other and the side of the pot. Ask me how I know.</li><li>Boil bagels on each side for about a minute</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KKn6_5exqiJ7rHM9vfwc6A.jpeg" /></figure><ul><li>Remove the bagels from the pot and put them on a wire rack, and put the wire rack onto a baking sheet. If you would like to add seasoning, do so now. I used Badia’s everything bagel seasoning because it’s what we could find at the store.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*24XbAHTf3UGLlzfc" /></figure><ul><li>Pour a 1/2 cup of the boiling liquid from the pot into bottom of pan, and place the bagels into the oven for 10ish minutes, flip, and bake for at least 10 more minutes. The timing here may vary depending on your dough.</li><li>Pull them out of the oven, let cool, and enjoy!</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cKW15zYZn8V1TeAS" /></figure><p>P.S. the breadcrumbs/seasoning/boiling liquid leave a tasty crust in the bottom of the pan</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bnGUsvAkjsCBclNzoqbK_w.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=939f8eed78df" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Serious Vulnerabilities in Georgia’s Online Voter Registration System]]></title>
            <link>https://mattbernhard.medium.com/serious-vulnerabilities-in-georgias-online-voter-registration-system-cc319cbbe3d8?source=rss-6070db03bc77------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc319cbbe3d8</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[politics]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[voting]]></category>
            <category><![CDATA[elections]]></category>
            <dc:creator><![CDATA[Matt Bernhard]]></dc:creator>
            <pubDate>Mon, 05 Nov 2018 04:43:08 GMT</pubDate>
            <atom:updated>2018-11-05T04:43:08.805Z</atom:updated>
            <content:encoded><![CDATA[<p>Yesterday afternoon, Marilyn Marks sent an email thread to me and several other election security experts. The email was seeking to confirm two serious vulnerabilities in Georgia’s online voter registration system. It contained a technical description of the problems, apparently reported by a party volunteer. Without exploiting the vulnerabilities, I confirmed that the description appeared to be technically accurate, and that the problems were very serious. Around 7 PM yesterday, the information was reported to the Georgia Secretary of State by Bruce Brown, an attorney for the plaintiffs in <em>Curling v. Kemp</em>, in which I am serving as a technical expert.</p><p>The first vulnerability lets users access and change other voters’ records. The Voter Registration server has a trivial “URL manipulation” vulnerability that allows any logged-in voter to access other voters’ registration pages (<a href="https://www.dummies.com/programming/networking/url-manipulation-hacks-in-web-applications/">here’s an explainer for URL manipulation</a>).These pages contain sensitive personally identifiable information, including the voter’s address and date of birth. The initial technical description also indicated that driver’s license information and the last four digits of a voter’s social security number were available through this vulnerability, but I could not confirm that without exploiting the vulnerability. With this information, an attacker can log into Georgia’s online voter registration system as that other voter and change their registration information. In the worst case, an attacker could automate this process to change the registrations of many voters, resulting in their not being able to vote on election day.</p><p>The second vulnerability is a “URL manipulation” vulnerability in the My Voter Page server. An incorrectly implemented function allows anyone to read arbitrary files from the server’s internal filesystem, simply by changing a URL. This exposes sensitive information — including the server-side application program files, as well as system and network configuration files — that would help an attacker break farther into the server, and potentially into other parts of the voter registration computer systems.</p><p>Georgia’s voter registration is handled by a system called <a href="https://pcctechnologyinc.com/electionet/">ElectioNet</a>, a voter registration suite that is sold by PCC Technologies. ElectioNet is used in <a href="https://pcctechnologyinc.com/client-list/">15 states for voter registration functions</a>, and the issues with Georgia’s system may also apply to those states. PCC also produces software for other election functions, including for election-night reporting, and that software should be carefully scrutinized.</p><p>The State of Georgia, other affected states, and PCC Technologies need to take action immediately to remedy these vulnerabilities and assess whether voter registration records have already been changed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc319cbbe3d8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Spurious Correlations in Election Data]]></title>
            <link>https://mattbernhard.medium.com/spurious-correlations-in-election-data-9c0cf789b9a8?source=rss-6070db03bc77------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c0cf789b9a8</guid>
            <category><![CDATA[elections]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[politics]]></category>
            <dc:creator><![CDATA[Matt Bernhard]]></dc:creator>
            <pubDate>Sat, 22 Sep 2018 02:01:21 GMT</pubDate>
            <atom:updated>2018-09-22T02:01:21.198Z</atom:updated>
            <content:encoded><![CDATA[<p>U.S elections generate a LOT of data, and often times well-meaning analysts attempt to try and glean something more from election data other than just who won and whose votes they got. Fraud, arguably the most important thing to detect in an election, is frequently something that people attempt to discern by analyzing election returns, especially as US election until recently have provided very little in the way of corroborating evidence. I myself have done <a href="https://www.washingtonpost.com/news/monkey-cage/wp/2017/06/06/were-2016-vote-counts-in-michigan-and-wisconsin-hacked-we-double-checked/">a little work</a> in this arena, so I have a pretty good handle on how noisy election data can be, and how easy it is to project ones own biases into analysis of the data.</p><p>Unfortunately, it is not uncommon for people with preconceived notions about why elections went they way they did to attempt to analyze election data to confirm their expectations. This can easily lead people to see things in election data that isn’t there, or for which there is a more simple explanation. This seems to be the case with the particular genre of election fraud sleuthing focused on analyzing election data through the law of large numbers.</p><p>In general, the argument goes that voters should be fairly randomly dispersed in precincts, so that the proportion of votes a candidate gets in one precinct should be approximately the same as the proportion they get in another precinct. If voters and vote are randomly distributed, then precinct size also should not interfere with this being true. When we order precincts by size and then sum vote totals for each candidate, we expect the lines to be fairly flat if our assumption about precincts and voter distribution is accurate. Something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SVVvTsLMl2TgXBPOLra7Ug.png" /><figcaption>2016 Election results in Dane County, Wisconsin. Cumulative proportion of votes per candidate over cumulative vote count in precincts, ordered by size. Source: <a href="http://www.votesleuth.org/elections-by-state/wisconsin/2016-11-08-president/?ct=DANE">VoteSleuth</a></figcaption></figure><p>However, as many people have pointed out (<a href="http://www.votesleuth.org/">VoteSleuth</a>, <a href="http://electiondefensealliance.org/files/PrimaryElectionResultsAmazingStatisticalAnomalies_V2.1.pdf">Choquette and Johnson</a>, and <a href="https://www.statslife.org.uk/politics/2288-how-trustworthy-are-electronic-voting-systems-in-the-us">Beth Clarkson</a>, to name a few), this is often not the case:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DwqUA69oKCFFbC72-Pdzkw.png" /><figcaption>2016 Election results in Kenosha County, Wisconsin.</figcaption></figure><p>As these folks are quick to point out, this graph indicates that in larger precincts, Republicans tend to get a higher proportion of votes. In the Choquette and Johnson paper, they even control for demographics and find that this effect persists. Many, like VoteSleuth and UnhackTheVote, take this to mean that elections are systematically rigged in favor of Republicans.</p><p>However, as other have pointed out (<a href="https://www.dailykos.com/stories/2015/9/3/1417458/-Behind-the-Election-Fraud-Allegations-A-Visual-Primer">here</a>, <a href="https://www.dailykos.com/stories/2015/08/28/1416153/-Is-Something-the-Matter-with-Kansas-Putative-Anomalies-in-the-2014-Election">here</a>, and <a href="https://medium.com/@jdantangelo/why-do-democrats-do-better-in-small-precincts-ad40e7cc5749">here</a>), this misses half of what these graphs tell us. They also tell us that Democrats do better in smaller precincts. Are Democrats systematically rigging small precincts for themselves?</p><p>In any event, these effects are curious, and it is worth determining whether this effect is due to fraud of some kind, or if it is just an endemic property of elections, or a coincidence. As someone who works in election security, and as the claims being made by proponents of this analysis circulate around the fraud hypothesis, that is what I want to address here.</p><p>In short, there is no evidence that suggests that this effect is due to fraud. In fact, through the 2016 election and subsequent recounts, we actually have evidence that refutes the idea that fraud causes this effect. Both Michigan and Wisconsin did some form of recount by hand. The recounts were far from perfect: Wisconsin didn’t recount all its votes by hand, and Michigan only recounted 43% of its ballots before the recount was shut down. However, we do have data from these recounts that we can use to compare against VoteSleuth’s predictions about fraud.</p><p>Many counties in both states were completely recounted by hand. As Choquette and Johnson note in their paper, the most likely avenue for committing fraud is by hacking electronic voting machines to yield the desired result. As such, a hand recount should reliably detect electronic fraud: if the fraud occurred in a way that changed the outcome of the election, a hand recount should easily provide evidence to that fact.</p><p>According to VoteSleuth’s analysis, if the larger-precinct-more-Republican trend is indicative of fraud, it would mean that the number of votes that may have been fraudulently changed is at least the amount of deviation from the expected trend of the same proportion of votes regardless of precinct size. Using their example of Milwaukee County (on their home page), they expect something like 85,000 votes (20% of the votes cast in Milwaukee County) would have been manipulated, as a conservative estimation, since the margin deviates in large precincts by about 20%.</p><p>Unfortunately we cannot use Milwaukee County as a counterexample, because their recount was conducted by machine. But we can use other counties in Wisconsin and Michigan (data can be found <a href="https://elections.wi.gov/elections-voting/recount/2016-presidential">here</a> and <a href="https://www.michigan.gov/documents/sos/MIRecount_545037_7.pdf">here</a>, respectively). Kenosha County, posited by VoteSleuth as one of the most fraudulent counties, recounted entirely by hand.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AHzwjEitw-7_QP82F7utrw.png" /><figcaption>VoteSleuth’s ranking of highly deviant swing counties</figcaption></figure><p>According to VoteSleuth, a conservative estimate is that around 16,000 votes were manipulated. If we assume that they were manipulated by hacking the optical scan machines used in Kenosha County, then the recount should have found about 16,000 paper ballots whose vote differed from the electronic record. In fact, according to the recount data, only 772 votes changed. Both Clinton and Trump gained votes in the recount in Kenosha County, with Clinton gaining 28 votes to Trump’s 12. In short, nowhere near the 16,000 votes predicted by VoteSleuth.</p><p>A similar story applies in other Wisconsin counties and in Michigan. In several of the counties identified by VoteSleuth as potentially fraudulent, like Genesee, Ottawa, Ingaham, and others, we see a similar story. Vote changes due to the recount come nowhere even remotely close to VoteSleuth’s predictions.</p><p>If one were set on explaining these correlations as fraud, another possible reasonable explanation would be physical ballot stuffing. However, the sheer number of ballots that would need to be stuffed is astronomical, and VoteSleuth is predicting that this is happening in almost every state, systematically. While there could be a mass conspiracy to manipulate millions of votes in the United States, I’m going to go with Occam’s Razor and argue that the law-of-large-numbers approach to election fraud detection just doesn’t hold water.</p><p>My impression is that proponents of the model are dead set on proving that election fraud is occurring, without once stopping to consider the ridiculous implications of their model. This is especially notable in light of data directly refuting the notion that this kind of fraud is occurring where their model says it is. Moreover, the interpretation of the model that leads its proponents to claim that Republicans are systematically rigging elections in large precincts could just as easily be explained as Democrats rigging election in small precincts. When your model doesn’t fit the data, you find a new model.</p><p>I don’t know what causes larger precincts to swing Republican, and smaller precincts to swing Democrat, but I would bet money it has nothing to do with fraud.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c0cf789b9a8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to steal every vote in the state of Georgia]]></title>
            <link>https://mattbernhard.medium.com/how-to-steal-every-vote-in-the-state-of-georgia-adc511b1ae9a?source=rss-6070db03bc77------2</link>
            <guid isPermaLink="false">https://medium.com/p/adc511b1ae9a</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[politics]]></category>
            <category><![CDATA[elections]]></category>
            <category><![CDATA[georgia]]></category>
            <dc:creator><![CDATA[Matt Bernhard]]></dc:creator>
            <pubDate>Mon, 17 Sep 2018 15:51:31 GMT</pubDate>
            <atom:updated>2018-09-17T15:51:31.388Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u4Zh4-xQKlaw0E-NhAdwlg.png" /></figure><p><em>Disclaimer: vote tampering of any kind is a felony. Accessing computer systems without proper authorization is a felony. This post was not written with intent to enable election tampering, and I expressly condemn any activity to that end. Some technical details are omitted for both brevity and to prevent this from being a literal election-stealing guide. Rest assured, our adversaries already know it all.</em></p><p>Last week saw a federal court hearing in <em>Curling v. Kemp</em>, a lawsuit aimed to get paperless DRE voting machines out of use in the state of Georgia. The hearing had many surreal moments, which are well documented <a href="https://www.washingtonpost.com/world/national-security/in-georgia-a-legal-battle-over-electronic-vs-paper-voting/2018/09/16/d655c070-b76f-11e8-94eb-3bd52dfe917b_story.html?tid=ss_tw&amp;utm_term=.bd7c82fcb84d">here</a>, <a href="https://whowhatwhy.org/2018/09/13/crucial-georgia-paper-ballot-decision-imminent/">here</a>, and <a href="https://www.wjbf.com/news/georgia-news/reporter-s-notebook-what-was-said-in-court-case-arguing-georgia-election-security/1445420436">here</a>, among other places. The record of the hearing can be found <a href="https://coaltionforgoodgovernance.sharefile.com/d-s6d12a44653f41e59">here</a>. The testimony was chilling, but there were two clear standouts: the testimony of Michael Barnes (of the Secretary of State’s office, in charge of all Georgia voting systems) and Rick Barron (Fulton County’s Election Director). Both provided deep technical insight into how Georgia’s election system is run, and also made public several vectors by which votes can be stolen in Georgia. Nevertheless, the defense insisted that the system is secure, and that nothing is wrong.</p><p>This post comes in three parts: an overview of how Georgia runs elections, how adversaries can attack it, and what we can do about it. All of this information is as of now completely public, and I guarantee that any serious threat to our elections has known it for years.</p><h4>Georgia’s Election System</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RTwL5wfdXc30lWJtzcqv9A.png" /><figcaption>For a full-resolution version of this image, see <a href="https://mbernhard.com/ga.svg">https://mbernhard.com/ga.svg</a></figcaption></figure><p>Michael Barnes’s testimony gives us a relatively full picture of how Georgia’s election system works. There are three servers at the Secretary of State’s office: a public facing website, a ballot building server likely running GEMS (the program that allows election workers to manage ballots and program voting machines), and an ExpressPoll data server (the voter registration database). The public facing website was the one <a href="https://www.politico.com/magazine/story/2017/06/14/will-the-georgia-special-election-get-hacked-215255">indexed by Google that Logan Lamb accessed</a>, and contained a complete voter database file as well as GEMS database files (though Barnes claims these were just for training). According to Barnes, this server is not networked to the two servers that actually put data on voting machines and ExpressPoll units.</p><p>The other two servers are connected to a private (i.e. “air-gapped”, tightly controlled and not exposed to outside connections) network within the Secretary of State’s office, and data entry into these networks is done only via keyboard. However, there is at least one notable exception: Barnes’s office must distribute proof ballot files to the county election officials, so they can ensure all races and candidates are accounted for, spelled correctly, etc. To do this, he transfers PDF representations of the ballots from the GEMS “air-gapped” network to his personal, Internet connected work computer, and from there uploads them to a file-transfer (FTP) server so that the counties can retrieve them.</p><p>According to Barnes’s testimony, the USB drive he uses to transfer the ballot proofs has a write-lock (that Barnes refers to as a “lock position”) that in theory could prevent someone from writing data to the USB drive when they shouldn’t be able to. He also claims to format it after every use. He states that this is the only removable media device (excluding compact flash memory cards) ever connected to the “air-gapped” network.</p><p>Barnes states that from the supposedly air-gapped network, election data and voter databases are loaded onto encrypted CD’s and compact flash cards, respectively, and then hand-delivered to the counties by SoS staff. The CD’s with the ballot data can only be decrypted with a password contained by the SoS’s office, and counties must call with a verification code to get the password over the phone and decrypt the CD and download the election data to their own GEMS servers. From there, the counties’ GEMS servers are physically connected to one voting machine, and compact flash cards are loaded into this machine and programmed by the server. Then they are put into the voting machines to be used in each polling place, and each voting machine is dropped off at a polling place. A similar procedure is presumably followed for the electronic poll books, though Barnes’s testimony did not go into details about them.</p><p>At the end of each election, the election results are “accumulated” in each polling place by taking one compact flash card and plugging it into each voting machine in the polling place, aggregating the results. If you imagine each voting machine as its own ballot box, this is akin to putting all the ballots in one box. From there the results card is physically taken to the county office where it is combined with the rest of the county data in a manner similar to the polling place-level accumulation, and then election results are announced and transmitted to the SoS office.</p><p>As a brief aside, the one exception to this is Fulton county, where results cards and individual electronic ballots are taken to annexes and then transmitted to the county office via dial-up. Rick Barron, the Fulton County Election Director, insists his voting machines are never connected to the Internet, assuming that analog phone lines can’t be hacked. For reference, Apple Computers got started because its founders built “<a href="https://en.wikipedia.org/wiki/Blue_box">blue boxes</a>” which let them hack the phone network into giving them unlimited long-distance calling, among other things. A Fulton County poll worker has even said that the phone lines in Fulton County’s election preparation center get telemarketing calls. The very same lines over which election results are transmitted.</p><h4>Hacking Georgia’s election: top down</h4><p>Based on this layout, there are several points of entry that can give attackers full access to the state’s entire system. The most obvious one is Barnes’s computer: an attacker from anywhere in the world could send Barnes an email with a virus attached that could then spread to the USB drive, the ballot programming network, the county’s ballot CDs or voter registration cards, and then into every voting machine and voter registration tablet.</p><p>I can speak from <a href="https://www.michigandaily.com/section/crime/racist-emails-sent-university-engineering-computer-science-students">personal experience</a> that email is a particularly effective vector of attack. Impersonating someone via email is not hard, and in fact we teach undergraduates to do it at the University of Michigan. Phishing attacks, where a bad actor sends an email to someone to gain some sort of access, like stealing their password, are notoriously hard to defend. This was exactly the kind of attack that gave Russians access to <a href="https://www.cbsnews.com/news/the-phishing-email-that-hacked-the-account-of-john-podesta/">John Podesta’s email account</a> in 2016, so we know that at least one adversary is already more than competent of executing this attack.</p><p>Once the email has been sent to Barnes, the next step is building a virus that, once downloaded, will try to infect every USB device connected to the computer. There are <a href="https://www.bleepingcomputer.com/news/security/heres-a-list-of-29-different-types-of-usb-attacks/">numerous ways to do this that are publicly known</a>, and almost certainly even more that are known to hackers and intelligence agencies like NSA and GRU. It should be pretty easy to defeat the read-only setting that Barnes has on his USB stick, and if the malware manages to overwrite the firmware on the thumb drive, it could even be resilient to formatting. Hackers could just overwrite the code that tells the USB stick how to talk to whatever computer it’s plugged into with code that instead downloads files from a foreign server that will then get put on the “air-gapped” machines as soon as its plugged in to them. Attacks like these are how the U.S. and Israel (allegedly) carried out the <a href="https://www.wired.com/2014/11/countdown-to-zero-day-stuxnet/">Stuxnet attack</a> on Iranian nuclear centrifuges, and also how Russia has jumped air-gaps and gotten into <a href="https://www.wsj.com/articles/russian-hackers-reach-u-s-utility-control-rooms-homeland-security-officials-say-1532388110">U.S. industrial control systems</a> that aren’t connected to the Internet in recent months.</p><p>This line of reasoning applies to <em>any</em> USB that’s connected to the private network. If another employee ever sticks a USB drive into the network, the chance of bad guys getting in is just as high as if Barnes gets phished. It is nearly impossible to police employees to ensure they aren’t doing this, as NSA has learned with leaks like Snowden and Reality Winner, so I’m fairly confident this is just as viable an attack vector. Moreover, an attacker could craft a fake email from Barnes or another higher up instructing an employee to insert a thumb drive into the private network.</p><p>Once the malware is on the ballot building network, it would simply have to replicate itself onto some or all of the CDs burned and sent to county election offices. From there, it could exploit known vulnerabilities in either Windows XP drivers or in the Diebold GEMS software to gain control of the targeted county computers. Then once elections are programmed on memory cards, it could finally make the jump onto each and every voting machine in Georgia, or just ones targeted to achieve the desired outcome. Malware that steals votes and spreads in this manner has <a href="https://www.usenix.org/legacy/event/evt07/tech/full_papers/feldman/feldman_html/index.html">already been created by academics</a>; it’s no stretch of the imagination that such malware has also been built by our nation’s adversaries.</p><h4>Hacking Georgia’s Election: bottom up</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*wXj_fNV8sm8ajwdbI9yqUA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XhG9JsVDkGjCl523yCu9bQ.jpeg" /><figcaption>Voting machines sit unattended in Grady High School’s gym after Georgia’s 2018 Primary Election (p.c. Elijah Nouvelage/Bloomberg News and Marilyn Marks)</figcaption></figure><p>This is only one vector of attack. Rather than going top-down, a hacker could insert a bogus memory card into a voting machine that would install malware on that machine, much like the demo that Alex Halderman did during last week’s hearing (a similar demo can be seen <a href="https://www.nytimes.com/2018/04/05/opinion/election-voting-machine-hacking-russians.html">here</a>). Access to voting machine around the voting period is pretty easy to get. Voting machines are often left completely unattended for days at a time, relying on bicycle locks and cheap plastic seals to keep bad guys out. These seals are easy to beat; I can do it in about 6 seconds and it only took me a few minutes to learn.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FzdaMV0ZweOw%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DzdaMV0ZweOw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FzdaMV0ZweOw%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ced71c4fc24d6f1942d8fd8070df906a/href">https://medium.com/media/ced71c4fc24d6f1942d8fd8070df906a/href</a></iframe><p>Once a bad guy has physically broken into the machine, it’s easy to swap out the memory card and install a virus like the one developed at <a href="https://www.usenix.org/legacy/event/evt07/tech/full_papers/feldman/feldman_html/index.html">Princeton in 2006</a>, which targeted Georgia’s exact model of voting machine. When polls closed and results are aggregated, the virus can spread to the accumulator card, and from their to the county’s central server. If any memory card from the county ever gets plugged in somewhere else, then the virus can spread there. It only takes one contaminated card to spread a virus to the entire election system. If the FTP server he Secretary of State’s office uses to send out ballot proofs is misconfigured, as their web server was in 2016, then the virus could upload itself there and then onto every county election management machine. Again, in this scenario, an attacker can get malware running on every Georgia voting machine and change votes at will with access to only one machine. No Internet connection, no problem.</p><h4>The Adversary</h4><p>Georgia’s voting system was already exposed to a significant period of vulnerability with their open web server that Logan Lamb accessed. There can be almost no doubt that an adversary with enough money and desire could have also accessed the system, and worse. We live in an age of advanced persistent threats (APTs), where bad guys break into systems undetected and spend months or years laying groundwork for cyberattacks before taking action.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*Ugc-1Aat0qOZwLc1l5DJBQ.jpeg" /><figcaption>WJBF’s summary of Michael Barnes’s testimony about Georgia’s response to a breach in its election system</figcaption></figure><p>The gross negligence of Georgia’s Secretary of State in handling the vulnerable server is exactly the kind of scenario these kinds of attackers play into. Georgia’s elections office destroyed the only evidence we might have had of an intrusion of this kind, and from Michael Barnes’s testimony last week it is clear that the state is either incompetent or willfully ignorant in its handling of the breach. It is quite possible that Georgia’s elections have already been hacked. Because the voting machines are completely unverifiable, we have zero chance to find out. No effort has been made on the part of the state of Georgia to investigate the impact of the vulnerability or to decontaminate various state voting equipment.</p><h4>What do we do about it?</h4><p>The only remediation for Georgia’s current predicament is an immediate switch to a paper-based voting system. Optical scan machines, deployed to count paper ballots, are just as vulnerable to hacking as the current DREs, but with proper audits there is a very high chance of catching even a small change to an election outcome by bad guys (or errors). We know how to do this, and Georgia already has the resources to do it, with <a href="https://www.eac.gov/2018-hava-election-security-funds/">$10 million from a recent federal bill</a>.</p><p>Switching systems this close to the October 15th early voting period will be no small feat, but it is the only option to safeguard Georgia’s election. A new voting system and complete overhaul is not necessary, as Georgia already owns enough optical scanners to count the paper ballots. Paper ballots are already being printed for mail in and provisional ballots. The print orders can simply be expanded.</p><p>The question of election hacking is no longer one of spectral fears. Our elections are under attack, and for Georgia in November, it’s a question of the controlled chaos of switching to a secure voting system, or complete unmitigated chaos when the election gets hacked. Georgia voters deserve to have their votes count, and the state’s gross negligence up to this point is no longer excusable. Georgia needs paper. Now.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=adc511b1ae9a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You Belong to an Algorithm]]></title>
            <link>https://mattbernhard.medium.com/you-belong-to-an-algorithm-989e1d1df368?source=rss-6070db03bc77------2</link>
            <guid isPermaLink="false">https://medium.com/p/989e1d1df368</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[privacy]]></category>
            <dc:creator><![CDATA[Matt Bernhard]]></dc:creator>
            <pubDate>Sat, 12 May 2018 02:28:04 GMT</pubDate>
            <atom:updated>2018-05-12T02:31:59.629Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qXb_PqR37JtA1kobZvBbwA.jpeg" /><figcaption><a href="https://pixel.nymag.com/imgs/daily/selectall/2018/04/10/10-mark-zuckerberg-1.w710.h473.2x.jpg">p.c. NYMag</a></figcaption></figure><p><em>Disclaimer: I have, at best, passing knowledge of what is discussed in this post. If there are errors, please point them out and I will correct accordingly.</em></p><p>I’ve always loved listening to the radio. It’s a great way to discover new music, and it takes very little brain power: you don’t have to think about what plays next. But there’s also something special that the radio does once in a blue moon: it plays <em>that</em> song. You know, your favorite song. When that song comes on, you feel validated, as if someone else out there has good enough taste in music to <em>get</em> you, as if maybe they’ve walked some of the same path as you, <em>as if they understand</em>. But in an age when we can all walk around with almost all the music ever produced in our pockets, it can be really difficult to find that feeling. With so many songs, so much <a href="https://www.youtube.com/watch?v=5xoDXXhOhdY">content</a>, if we all listen to completely different subsets of music, how can anyone ever capture that special feeling of belonging?</p><p>The answer, as you may have guessed, is algorithms. It is generally impossible for humans to catalog, organize, let alone consume all of the data and content that is produced these days. Every minute, <a href="http://www.businessinsider.com/viewers-find-objectionable-content-on-youtube-kids-2017-11?utm_source=feedly&amp;amp;utm_medium=referral">hundreds of hours</a> of content is being uploaded to YouTube alone. In order to manage all of this stuff, the traditional engineering solution has been to find a way to automate these processes. Where computers are concerned (and in general, though typically not as explicitly), we use algorithms to do this.</p><p>“Algorithm” these days is somewhat of a buzzword, but in reality an algorithm is just a discrete set of steps for doing <em>something</em>. Recipes for cooking are algorithms: you prepare all of your ingredients (inputs), combine them in a specific order using specific techniques (the algorithm), and at the end of it you wind up with some sort of prepared dish (the output). When we abstract out the actual process for doing <em>something</em>, we can learn a lot about how most efficiently or effectively to do it, whatever <em>it</em> may be. There are very sophisticated techniques for studying and writing algorithms that are well beyond our scope here, but if you’ve ever wondered what some of us computer scientists do with our time, reasoning about algorithms ranks pretty high on the list.</p><p>Algorithms are rapidly coming to rule most of our daily lives. If you happened to catch any of Mark Zuckerberg’s <a href="https://www.youtube.com/watch?v=pXq-5L2ghhg">testimony in front of Congress last month</a>, you probably heard the term algorithm quite a bit. In a world with so much content companies have realized that not only are algorithms essential to making their services viable, but algorithms can be used to make their businesses profitable. Herein lies our problem: companies are attempting to maximize their profits by using algorithms to optimize the experience we the users have when using their products and services.</p><p>As we’ve recently seen with stories like <a href="https://krebsonsecurity.com/2018/03/checked-your-credit-since-the-equifax-hack/">Equifax</a> and <a href="https://www.theguardian.com/news/series/cambridge-analytica-files">Cambridge Analytica</a>, companies are willing to scoop up as much of your data as possible if they think it will make them money, either by selling it or by using it to convince you to use their service more. For companies like Facebook and Twitter, you are the product, and the more you use their service the better off they are. As such, companies like this are always looking for a way to grab your attention. More and more frequently, tuning into a sense of belonging is how they do it.</p><p>In short, your Twitter and Facebook feeds are engineered to make you feel like you belong, so you’ll keep using the service. This fabrication of a sense of belonging is often done by using a large swath of data about you, your friends, and currently trending topics. It can be very difficult to disentangle all the factors impacting your use of services that have your data, how those services use your data, and what can go wrong as a result.</p><p>In this post, my aim is to explain how you are represented as a digital facsimile of yourself, how companies acquire your data and facsimile, and how they use it to benefit themselves, often putting you at great risk. With this knowledge, hopefully you can have a better grasp on the current landscape of digital society, your role in it, and what you can do to better protect yourself in it.</p><p>Full disclosure, if you haven’t figured it out by now I have somewhat of a bleak outlook on all of this. It is important to remember that many of the services harangued below <em>do</em> provide a lot of value to a lot of people, myself included. My aim is not strictly to try to tear down these companies; my goal is to foster better understanding of how your data gets used and what you can do about it. With that being said, let’s talk about what “your data” is and why it matters.</p><h3>Everything is a Number</h3><p>By now I’m sure you’ve heard the digital cliche, “it’s all just 1s and 0s.” This is a core fact about how computers operate, but, in a much grander sense, it is a core fact about the world too. Everything is quantifiable. Everything can be assigned a number, including you and everything about you. When people talk about “your data,” typically what they mean is the amalgamation of numbers that represent you as a person. Not just your driver’s license number or your SSN — it goes much deeper than that. Companies build up a digital persona of you, a fingerprint that corresponds to only you and contains everything they could want to know about you.</p><p>Everything about you can be represented as a number. Height or age? Well, those are gimmes. Eye color? 1, 2, or 3. If blue, green, and brown don’t describe your eyes well enough, we can assign numbers in between 1, 2 or 3, or use <a href="https://en.wikipedia.org/wiki/Martin_scale">a different representation altogether</a>. Name? Mine is 77 97 116 116. Location? That’s what coordinates are for. Political preference? Ever wondered what these were for?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GY0kyXp7XEZnrzOhXTRYgg.png" /></figure><p>What’s scarier than just intrinsic properties being encoded in numbers is that less obvious things can also be represented this way. The way you <a href="https://gizmodo.com/how-your-mouse-movement-could-be-used-to-stop-identity-1795990339">move your computer mouse</a>, the particular <a href="https://arstechnica.com/information-technology/2014/11/where-have-you-been-your-smartphones-wi-fi-is-telling-everyone/">WiFi networks your cellphone tries to connect to</a>, even <a href="https://en.wikipedia.org/wiki/Gait_analysis">the way you walk</a> are all fairly uniquely identifying things <em>about</em> you, and things that can be easily collected from the device in your pocket. These numbers can be used to represent and identify you as well as any other attributes. Moreover, they are frequently used to study your behavior and to group you with others like you, as we shall see later on.</p><h3>All the hands are in all the cookie jars</h3><p>Figuring out which numbers are important, and whose numbers belong to whom, is big business. So much so that most of the sites you visit, including this one, go to great lengths to collect and associate as much data about you as they can. Obviously you willingly tell sites like Facebook a lot of information about you. But Facebook also knows a lot about you that you didn’t knowingly tell them. How do they do that?</p><p>To some degree, just visiting a website can reveal a lot about you. The kind of web browser you use, the operating system you’re using, what type of computer you have, even where you are in the world to some degree are all things that you almost have to tell any given website in order for it to work. The site needs to know what content you are capable of displaying (you know, those obnoxious flash player warnings and the like), and this information is very useful in making that determination. There are ways around this, of course, but for the average person, a fair amount of your data gets leaked every single time you click on a link or go to a new web page.</p><p>Unfortunately, that information is not particularly useful to, say, Amazon, if they’re trying to figure out what to sell you. This is where a lot of the much more invasive tracking comes into play. A primary vehicle sites use for tracking is cookies, which are essentially small pieces of data that sites store in your browser. Cookies are useful for many things: they prevent you from having to log in every time to visit a new page on a website, they keep track of what items you’ve put in your shopping cart, they allow you to authorize one website to access your account on another website (all those “Log in with Facebook” buttons you see), and more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*L3VWSv7OcU5Sq0xzfFagxQ.png" /><figcaption>Many sites store cookies to let you authenticate yourself to third parties. <a href="https://lipis.github.io/bootstrap-social/">Credit</a>.</figcaption></figure><p>But because cookies are stored in your browser across interactions with many different websites, they also allow sites to track you. Because websites often load content from other places, e.g. advertisements, it’s not uncommon for third-party cookies to be set in your browser to enable many different sites to know who you are. With this information, they can display ads that you have a high likelihood of clicking on (this is why when you look for kitchen supplies on Amazon you see ads for kitchen supplies on Facebook). This has a side effect of telling advertisers all the sites you’ve visited, which enables them to build up a profile of you.</p><p>It’s not all just cookies though. There are many other ways that sites can track you. Tracking pixels are a popular choice: a tiny, practically invisible image that can indicate that you’ve opened an email or scrolled to a particular part of a webpage. Sites can even track you across devices, and apps frequently track your physical location. Facebook was recently found to <a href="https://www.theverge.com/2018/3/25/17160944/facebook-call-history-sms-data-collection-android">scrape call and messaging data</a> on Android phones. For brevity I’m not going to go too much in depth into this, but <a href="http://myshadow.org/">Me and My Shadow</a> is a good resource for further reading. To find out how much your browser lets you be tracked, visit the EFF’s <a href="https://panopticlick.eff.org/tracker?aat=1">Panopticlick</a>. There are many defenses against tracking, like <a href="https://www.ghostery.com/">Ghostery</a>, <a href="https://www.ublock.org/">uBlock</a>, and <a href="https://brave.com/">Brave</a>, but again that discussion is a bit off topic for our purposes.</p><p>The long and short of it is that companies have the ability to collect <strong>a lot</strong> of your data, data you give them knowingly and otherwise. Any given company can likely create a fine-grained profile for you, and it is frequently in their interests to do so.</p><h3><a href="https://genius.com/Elvis-costello-mystery-dance-lyrics#note-8099054">But what’s the use of looking when you don’t know what they mean?</a></h3><p>So everything about you is a number, and lots of companies have all your numbers. So what? They’ve got everyone else’s numbers too, right? As I mentioned in my opening, this is a lot of data. We, as a civilization, barely know how to process all this data, and we’re just getting a grip on how useful it can be.</p><p>The primary driver of the Internet at present is advertising, so it’s no surprise that companies like Facebook and Google are trying to convert your data into ad revenue, and retailers are trying to figure out what to sell you before you know you want to buy anything at all. They build up profiles, and then use statistical techniques to find interesting correlations between profiles. For example, Walmart knows to stock up on <a href="https://www.nytimes.com/2004/11/14/business/yourmoney/what-walmart-knows-about-customers-habits.html">Pop-Tarts prior to hurricanes</a>. Target can know <a href="https://www.forbes.com/sites/kashmirhill/2012/02/16/how-target-figured-out-a-teen-girl-was-pregnant-before-her-father-did/">you’re pregnant</a> before you do. Companies can do all of this just because they’ve collected enough data from their customers to build powerful models of human behavior.</p><p>This is where a lot of the buzzwords you’ve heard typically come into play. The ways companies process data typically involve, at a very high level, some degree of artificial intelligence and machine learning. Processing all of this data into useful user profiles takes a lot of work, and usually relies on techniques from machine learning. Once you have a bunch of profiles of users made up of a bunch of different numbers corresponding to many attributes, you train algorithms to intelligently make predictions about how users with a particular profile will behave (this is the artificial intelligence part).</p><p>For instance, let’s say Amazon wants to figure out how to predict who is going to buy George Foreman grills. They can look at the user profiles of all the people who have bought grills in the past and find out what specific attributes these people have in common. They can also look at other purchases these people have made to find more similarities. Once they’ve done this, they can build a “proto-profile,” i.e. a profile of a fake user who would buy a George Foreman grill 100% of the time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/446/1*e12nUAkxavUyTp1vV21Cng.gif" /></figure><p>Once they have this profile, they can then compare against all other users who haven’t bought the grill yet. If some of these users have a very high similarity to the proto-profile, that indicates that they might soon buy a grill, and that they can likely be persuaded to buy a grill. Since Amazon wants to make as much money as possible, they can send these people ads for the grill to get their attention. They can also look at anyone who recently bought a grill and suggest related products that many other users have also purchased, again based on comparison with this proto-profile. For instance, maybe lots of people who buy the grill also buy bubble wrap, so Amazon can target grill-buying users with ads and recommendations for bubble wrap too.</p><p>This is cutting out a lot of the details and oversimplifying greatly, but hopefully you can see how using your data is hugely profitable. Companies are driven to maximize their profit, and naturally realized that the more data they collect, the more accurate predictions they can make and therefore the more sales they can make. This incentivizes them to collect as much data as possible, regardless of how useful it may seem at the time.</p><p>Cambridge Analytica is perhaps the most infamous example of how this profit-driven data collection and analysis can present serious security risks to you and me. It is not in Facebook’s best interest to protect our data; our data makes them all their money. It’s important to stress that Cambridge Analytica did nothing that strictly violated Facebook’s terms of service. In reality, they were just using Facebook as it is intended.</p><h3>You Are Fake News</h3><p>In order to deal with the loss of user trust in the fallout of the Cambridge Analytica story, Mark Zuckerberg went before Congress and pledged that Facebook is working hard on protecting its users from future data exfiltration. But make no mistake, selling your data is what Facebook does, so I am highly skeptical that we’ll see major reforms in that domain if Facebook is left to its own devices.</p><p>However, in order to keep users happy and increase the likelihood of Facebook continuing to provide profitable marketing services, Zuckerberg also indicated that there is another major issue at play: Fake News. During the 2016 election cycle in the United States, we saw a massive proliferation of fake news on sites like Facebook. This has called into question how Facebook decides to show what content to which users, the response to which is usually something like “algorithms.”</p><p>Because it’s Facebook’s business to make users happy so they’ll buy the products advertised on the site, the algorithms they use optimize for keeping users happy. Hence, when a fake story about how <a href="https://www.texastribune.org/2018/05/03/hysteria-over-jade-helm-exercise-texas-was-fueled-russians-former-cia-/">President Obama has ordered the U.S. Army to occupy the state of Texas and instate martial law</a> gets massive amounts of attention from users with certain similar attributes in their profiles, Facebook’s algorithm propagates the story far and wide amongst other people with those same attributes in their profiles.</p><p>But it’s not just news proliferation: Facebook recommends friends and pages to you based on its profile of you as well. People are happiest when they’re surrounded by friends and family who share similar viewpoints as them, and happy users click on ads. So Facebook is optimized to create filter bubbles to a great degree. Facebook isn’t the only culprit either; Apple, Google, Twitter, Microsoft, Medium, and many others all optimize to show you what they think you want to see.</p><p>This has the apparent effect of causing polarization. The world looks more purple to people who like purple and more green to people who like green because the algorithms, processing the data for their users to turn a profit, realize that putting purple people with other purple people and green people with other green people makes the company more money.</p><h3>Voices for the Voiceless</h3><p>But I think it goes beyond polarization. Technology, and specifically the Internet and social media, have empowered many more people than ever before to develop and express complex opinions. We each have our own platform to voice our opinions, and we hear so many more opinions from others at the same time than in years past. Because these platforms are incentivized to make us happy we most frequently hear voices that mostly align with our own.</p><p>Whereas before, fringe opinions were almost never represented and rarely heard, social media platforms can create the illusion that they are commonly held beliefs. Worse, <a href="https://www.brennancenter.org/blog/7-takeaways-trove-russian-back-facebook-ads">entities can manipulate these platforms</a> to make it appear as if these fringe beliefs are more common than they are, sowing discord amongst targeted groups. Because companies are so willing to collect our data and use it in ways that make them profit, we are all at risk of being manipulated by and for the ways we think.</p><p>To be sure, this is a symptom of the problem, not the problem itself. The Internet is not constructed to prevent companies from scooping up all our data and selling it, and instead incentivizes them to do whatever they can to make us want to give up our data. To fix this problem would require a fundamental change to the business model of the Internet, a change that is unlikely to come solely from the corporations and other entities that make the Internet what it is. <a href="https://en.wikipedia.org/wiki/General_Data_Protection_Regulation">Europe’s new privacy laws are about to go into effect</a>, and certainly provide a great incentive to force companies to rethink their practices. However, until other major players, like the U.S., step up and do the same, it’s unlikely we’ll see much change in the way business is done.</p><p>We can each do our best to protect ourselves and our data, but at the end of the day Facebook and Twitter and Google are <em>useful</em>. Tech companies will continue to mine our data and continue to create a false sense of belonging to encourage you to give up more of your data. This makes it really important to remember: whatever people or groups appear on it are not actual people or groups of people, merely projections of people into the digital world. Belonging to one of these groups is not truly belonging. On the Internet, you don’t belong to a group of complex, reasonable people. On the Internet, you belong to an algorithm.</p><p><em>Thanks to Ian and Letty for helping edit this post.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=989e1d1df368" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Time zones are dumb]]></title>
            <link>https://mattbernhard.medium.com/time-zones-are-dumb-d0309f6fc6fa?source=rss-6070db03bc77------2</link>
            <guid isPermaLink="false">https://medium.com/p/d0309f6fc6fa</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[travel]]></category>
            <category><![CDATA[geography]]></category>
            <category><![CDATA[watches]]></category>
            <category><![CDATA[time]]></category>
            <dc:creator><![CDATA[Matt Bernhard]]></dc:creator>
            <pubDate>Sun, 19 Mar 2017 00:00:30 GMT</pubDate>
            <atom:updated>2017-03-19T00:00:30.564Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YIluefI6Rz_1CW15EytXGg.png" /></figure><p>About a year ago, I was catching a 10 o’clock flight from Houston to Detroit. I arrived at the airport at about 9 A.M. and went to the counter to check my bag. I scanned my boarding pass, and then the person working the Southwest desk look at me like I was crazy. She said, “I don’t think your bag is going to make this flight.” This was puzzling to me, as Southwest’s baggage policy requires you to check a bag no later than 40 minutes before your flight (which I had previously discovered the hard way). I had plenty of time. What was wrong?</p><p>“Actually, I don’t think <em>you</em> are going to make your flight either. It just left.” What? Glancing at my boarding pass, I see plainly printed, “Departure time: 9:00 A.M. local time.” Crap. I’m normally fairly fastidious about travel. How did I mix this up? Fortunately, they rebooked me on the next flight out free of charge, and I eventually made it to Detroit (Southwest FTW). But still, I was confused. How did I miss this flight?</p><p>As I trundled my way through security and to the gate, it dawned on me: I had been relying on a calendar app for my flight time. My calendar is set to eastern time. My flight was in central time, and entered into my calendar automatically from the confirmation email the airline sent me. Apparently this feature doubly accounted for the time change, so my 9 A.M. flight was put onto my calendar as a 10 o’clock flight eastern time, and my calendar switch from eastern to central without adjusting the flight time. The net result was that my calendar had my flight at 10 A.M. central time.</p><p>The moral of the story is to always check your boarding pass for your flight time. But it got me thinking more critically about time zones, travel, and computers, and I’ve come to a conclusion. Time zones are dumb. They are a vestigial holdover from history, and we should get rid of them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T_7HP0Kh_sRHT-jCt78PvQ.png" /><figcaption>All banners sourced from: <a href="https://commons.wikimedia.org/wiki/File:Standard_time_zones_of_the_world.png">https://commons.wikimedia.org/wiki/File:Standard_time_zones_of_the_world.png</a></figcaption></figure><h4>A Brief History of Time (Zones)</h4><p>There is a long history of time and time keeping, far more than I want to go into (or that I know). I will give a rough summary for context, but note that I’m omitting a lot, including sources, for brevity. Feel free to verify this info on your own (and call me out if I’m wrong).</p><p>Time has been an essential part of human civilization since the first people began to worship the sun. Without some notion of time keeping, planning day-to-day activities would be very difficult. It isn’t as if our ancestors just wandered around each day, doing business simply through chance encounters. No, they relied on the sun, and they had relatively precise tools mark time leveraging the sun: sundials.</p><p>In the event that you <a href="https://www.youtube.com/watch?v=cU2dZz18P0c">don’t know</a>, the sun doesn’t shine on every part of the Earth equally. The day and night cycle is a feature of the Earth’s rotation, and as a result, it is day in Asia while it is night in the Americas. When a sundial says it’s noon in one part of the world, it would read something completely different at that instant somewhere else. Even a distance of a few hundred miles can account for minutes of difference.</p><p>For the majority of human history, this was never really a problem. The fastest we could travel was a few tens of miles an hour (by boat), and we didn’t have speed-of-light communication, so using sundials as a standard measure of time wherever you were was a pretty good way of doing things. In fact, even after accurate mechanical clocks were invented, they were still pegged to solar noon wherever clock was (solar noon is when the sun is directly overhead, hence <em>high noon</em> in a lot of western movies).</p><p>The Industrial Revolution, well, revolutionized this. Suddenly we could travel fast enough to distort the time measured by the sun as it tracked across the sky. This was a huge problem for trains: knowing when a train that left somewhere else hours ago would arrive is necessary so you can have a clear track and optimize routing, track switches, etc. And you thought those high school algebra problems about two trains leaving St. Louis were hard!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TzdSk-9ZaX1EXE-Ya5hoLw.jpeg" /><figcaption>Source: <a href="https://commons.wikimedia.org/wiki/File:Bittern_locomotive_king&#39;s_cross.JPG">https://commons.wikimedia.org/wiki/File:Bittern_locomotive_king&#39;s_cross.JPG</a></figcaption></figure><p>Train travel led to the establishment of Railway Time, which binned smaller differences of a few minutes in distant cities together, so that a train from London to Bristol would arrive at the same time in both places, even though their respective solar noons were different. Some variant of Railway Time was eventually adopted in most places in a sort of ad hoc way, morphing into Greenwich Mean Time (GMT). Offsets to GMT were used in many places around the world (thanks colonialism!), and it became the de facto standard.</p><p>In the late 1950s and early 1960s, computer technology and space travel had come about, and a more rigorous standard of time was needed both for fine-grained precision and consistency across even greater distances than just trans-continental. As the human understanding of the physical world had also come a long way since the days of Railway Time, time and time zones were just two of many quantities that were standardized around this period. This new standard was Coordinated Universal Time (Temps universel coordonné, UTC), and is used in some capacity by every country in the world, seeing its last adoption in 1986 by Nepal. However, <a href="http://www.cnn.com/2015/08/07/asia/north-korea-time-zone/">one country</a> has since left UTC, but it seems unlikely that others would follow any time soon. Practically, UTC and GMT are equivalent in most cases.</p><p>In summary, we have time zones because there was once a time when people could travel about as fast as they could communicate. Time had to be standardized and agreed upon prior to travel, and the only good way to establish what time it was in your time zone was to use the sun, or to use the sun in another time zone and offset. None of this is true any more. We have near-instantaneous communication, and we have already established <a href="http://www.ntp.org/">protocols to establish time</a> automatically on networked computers (admittedly not without flaws, but these can be addressed in the effort to abandon time zones, since it will be non-trivial anyway).</p><p>We don’t need time zones. Of course, that’s no reason to get rid of them. Time zones make life unnecessarily difficult, and likely cause a significant amount of economic inefficiency. Those <em>are</em> good reasons to get rid of them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gl_S9WdSEA5emtJeQji59w.png" /></figure><h4>Time zones suck for people</h4><p>While my own personally folly has caused me to greatly disfavor time zones, I don’t think I am an outlier. Time changes are bad in general. People have to adjust, which leads to lack of sleep, irregular eating cycles, and general misery. It’s easy to make mistakes about what is happening when. For reference, Daylight Saving Time (another terrible time institution in practice around the world), may cost <a href="https://sleepbetter.org/Lost-Hour-Economic-Index/">hundreds of millions of dollars</a> in lost productivity in the United States alone. In fact, this impact is so bad that some U.S. states have <a href="http://www.csmonitor.com/USA/USA-Update/2016/1105/Which-states-want-to-drop-daylight-saving-time">already abandoned the practice</a>, and <a href="https://www.washingtonpost.com/news/the-fix/wp/2015/03/12/a-bunch-of-states-want-to-get-rid-of-daylight-saving-time-is-your-state-one-of-them/">many more</a> have pending legislation to follow suit (though, much to my chagrin, <a href="http://www.dallasnews.com/news/politics/2015/05/08/house-set-to-vote-on-ditching-daylight-saving-time-in-texas">they don’t always follow through</a>).</p><p>To be sure, not all of these inefficiencies apply to time zones. You would still eat dinner at 7 P.M. in New York but 10 P.M. in San Francisco (assuming we pick eastern time as the global standard, which will be a contentious debate), and traveling between the two would cause some jarring. But we would eliminate scheduling problems with teleconferencing and we could prevent cases of confusion like my missed flight.</p><h4>Time zones suck for computers</h4><p>I wasn’t the only one to blame for missing my flight, though. Implementing time in computers is a remarkably difficult thing to do. Since they can’t exactly look at the sun to calibrate their clocks, computers rely on some external source to keep track of time. Often times this is a special <a href="https://www.wikiwand.com/en/Real-time_clock">battery powered component</a> that relies on the <a href="https://www.wikiwand.com/en/Crystal_oscillator">oscillation of crystals</a> (like quartz) when a current is passed through them. Without these kinds of independent time sources, computers often try to keep track of time internally, counting “clock ticks” since an established point in the past (midnight UTC, 1 January 1970, the beginning of the UNIX epoch). However, if the system ever loses track, it has to deal with “clock drift”, akin to the problem faced by mechanical clocks, which are ever so slightly imprecise that over time they lost synchronization with real time. This then also incurs the issue of synchronization, as we saw with clocks on the early railways, as different computers have different clock drift, and getting them to agree on a time is hard (though as previously mentioned we do have some idea of how to do it).</p><p>Disregarding the difficulty of a computerized notion of time, time zones provide another hurdle that makes everything more complicated than it should be. <a href="https://www.youtube.com/watch?v=-5wpm-gesOY">Just ask Tom Scott</a>. Without time zones, there would never be the potential for ill-defined behavior. Apps wouldn’t have to worry about compensating for time zones of the user or of other apps. Stuff would just work.</p><h4>Time zones aren’t future proof</h4><p>It’s telling to look at how time zones will fare in the future. As technology has advanced, humans have gained the ability to travel to more extreme places, and often times this does not mesh well with time zones. For instance, the twentieth century saw the first human expeditions to the poles of the Earth. Theoretically, all timezones converge at the poles, and depending on your radius from the poles you could literally walk around the clock. But in practice, <a href="https://www.theguardian.com/notesandqueries/query/0,5753,-18529,00.html">time of day doesn’t mean much</a> near the poles. The sun is up, or it isn’t, and this largely depends on the season. Time zones don’t work at extreme latitudes.</p><p>The twentieth century also saw human space travel for the first time. This is where time zones <em>really</em> lose their usefulness. Just orbiting the Earth means that you can see the sun rise and set many times an hour, so there is no notion of a traditional day and night, much less a geographically-dependent solar noon. Space programs peg their time to GMT/UTC, since this enables space flights to coordinate with their mission control centers back on Earth. This is a hack that is approximately the same as abolishing time zones, but as of yet it only applies to space travel.</p><p>We are also rapidly approaching human colonization of other planets, where again time zones as they currently function make no sense at all. A day on Mars is 40 minutes longer than on Earth, so diurnal clocks on each planet would rapidly get out of sync for long phases even without having to account for time zones on the Earth. If we eventually reach further into space, the sun will have even less bearing on the environment, meaning that any notion of time defined strictly by solar synchronization would quickly fall by the way side.</p><p>Greater distances in space also lend themselves to the effects of relativity and the fundamental limitation of the speed of light. Synchronizing clocks would be somewhat challenging, but certainly possible. This would only be complicated by compensating for Earth time zones, providing another reason for abandoning time zones.</p><p>In short, the future of humanity is beyond Earth. Time zones don’t work beyond earth. Abolishing time zones isn’t just something that might or should happen. It’s inevitable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jBSad_zB3RL0RgHjW9eE0Q.png" /><figcaption>Image sources: <a href="https://en.wikipedia.org/wiki/File:Analogue_clock_face.svg">https://en.wikipedia.org/wiki/File:Analogue_clock_face.svg</a>, <a href="https://en.wikipedia.org/wiki/File:The_Earth_seen_from_Apollo_17.jpg">https://en.wikipedia.org/wiki/File:The_Earth_seen_from_Apollo_17.jpg</a></figcaption></figure><h4>Standard Earth Time</h4><p>If we are to abolish time zones, of course we need a viable replacement. The obvious solution would be to use UTC everywhere, even in space. Humans naturally have an <a href="https://en.wikipedia.org/wiki/Circadian_rhythm">approximately 24-hour circadian rhythm</a> (sleep-wake cycle), and we evolved with our sense of time bespoke for the Earth. Using an Earth day as the standard for time everywhere in the human-universe just makes sense, and we can hasten our transition into a space-faring civilization by adopting a standard, global 24-hour clock now.</p><p>Time zones are dumb. We don’t need them anymore, and we will eventually get rid of them anyway. Were I king of the world for a day, I would abolish them.</p><p>(While I’m at it, I might even fix time’s screwy base 60 units. Of course, the last time someone tried that <a href="https://www.wikiwand.com/en/French_Republican_Calendar">a lot of people lost their heads</a>)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P4NGo0KLjs-I_lTebkJybw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d0309f6fc6fa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What might go wrong in the 2016 Election]]></title>
            <link>https://medium.com/security-at-michigan/what-might-go-wrong-in-the-2016-election-5fa95b55d61b?source=rss-6070db03bc77------2</link>
            <guid isPermaLink="false">https://medium.com/p/5fa95b55d61b</guid>
            <category><![CDATA[elections]]></category>
            <category><![CDATA[computer-security]]></category>
            <category><![CDATA[politics]]></category>
            <dc:creator><![CDATA[Matt Bernhard]]></dc:creator>
            <pubDate>Mon, 07 Nov 2016 08:14:38 GMT</pubDate>
            <atom:updated>2016-11-08T22:34:50.857Z</atom:updated>
            <cc:license>http://creativecommons.org/licenses/by/4.0/</cc:license>
            <content:encoded><![CDATA[<p><a href="https://mbernhard.com/"><em>Matt Bernhard</em></a><em> and </em><a href="https://jhalderm.com/"><em>J. Alex Halderman</em></a></p><p>Election technology in the United States is less than perfect, and <a href="https://www.brennancenter.org/sites/default/files/analysis/Fact_Sheet_Voting_System_Security.pdf">much</a> <a href="http://www.nytimes.com/2016/11/04/us/politics/five-possible-hacks-to-worry-about-before-election-day.html">has</a> <a href="http://www.cnn.com/2016/11/04/opinions/election-day-voting-threat-kayyem/">been</a> <a href="http://www.politico.com/story/2016/08/election-cyber-security-georgia-227475">said</a> about the security risks. However, U.S. elections are not homogenous: the voting machines in use vary county-by-county, and the potential impact of any problems depends on whether a local issue could tip a state’s electoral votes. In this post, we take a detailed look some of the things that could go wrong and in which districts, and we map the impact they could have on the Presidential race.</p><p><strong>The Bottom Line</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZUWSp1uLcDplZnJbEmLInw.png" /><figcaption><strong>Figure 1:</strong> Weighted electoral map showing at-risk states, shaded yellow. Red/blue indicate a Trump/Clinton lead in the state, respectively, and lighter colors indicate closer margins.</figcaption></figure><p>Unless the election is extraordinarily close, it is unlikely that an attack will result in the wrong candidate getting elected. However, there is a non-negligible risk that anomalous events could cause state-level disruptions. Figure 1 aggregates at-risk counties up to the state-level, over a proportionally scaled electoral map. If a state uses insecure electronic voting machines in more than half its districts, sees greater than 80% of its votes cast via mail-in ballots, or sees a majority of precincts that indicate extreme difficulty finding poll workers, we consider it at-risk.</p><p>Notably, several at-risk states have narrow margins in current polls. As jurisdictions with close races are most vulnerable to having their results perturbed or cast into doubt, these are the ones to be concerned about. Nevada, Pennsylvania, Ohio, and Colorado top the list of states to watch out for tomorrow. Together, they account for just under 10% of electoral votes.</p><p>Read on for an explanation of how we came up with this model, as well as details on the specific threats facing the election.</p><p><strong>The Data</strong></p><p>Our analysis combines data from <a href="https://fivethirtyeight.com/">FiveThirtyEight</a>, <a href="https://www.verifiedvoting.org/">Verified Voting</a>, and the Federal <a href="https://www.eac.gov/research/election_administration_and_voting_survey.aspx">Election Assistance Commission</a> (EAC). Collecting data about election mechanics in the U.S. is difficult, and in fact the only time we get relatively good data about elections is <em>during</em> and immediately after elections. The EAC only collects data each election cycle, and it can be difficult to pin down what kind of methods and voting technology will be used in the next election until it is held. Even then, U.S. elections are administered at the state and local levels, so data from individual precincts can be messy, uneven, or sometimes completely unavailable. We have tried to compensate for this by taking a conservative approach to conclusions of vulnerability, erring on the side of assessing less vulnerability when we have insufficient data to draw stronger conclusions.</p><p>Much of the data presented here was collected shortly after the 2014 election in EAC surveys, while the Verified Voting data dates to 2014 or later, with the most recent information available being used. Predicted election margins comes from FiveThirtyEight and are current as of 2:45 AM Monday, November 7th EST.</p><p><strong>Electronic Voting Equipment</strong></p><p>We begin by looking at direct-recording electronic voting machines (DREs). These computer voting machines store the primary (or only) record of each vote in electronic memory. Vulnerabilities in DREs have been thoroughly documented over the past decade (for instance, see <a href="http://www.sos.ca.gov/elections/voting-systems/oversight/top-bottom-review/">California TTBR</a> <a href="http://www.sos.ca.gov/elections/voting-systems/oversight/top-bottom-review/">a</a>n<a href="http://www.sos.ca.gov/elections/voting-systems/oversight/top-bottom-review/">d</a> <a href="http://www.patrickmcdaniel.org/pubs/everest.pdf">Ohio’s Project EVEREST</a>), and it is well established that they carry an elevated risk of hacking. Most DREs do not produce a physical record of each vote, so they provide little opportunity to detect or correct computer-based fraud.</p><p>According to Verified Voting’s data, roughly 30% of Americans live in precincts which use DREs as their standard polling place equipment. This is probably a slight overestimate, as many precincts have been switching from DREs to precinct-count optical scan paper ballots. (Paper ballots do provide a physical record of each vote, and most election security experts consider precinct-count optical scan to be the best available voting method). Figure 2 is based on Verified Voting’s data and highlights counties that use DREs as their primary means of voting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vzPvpNUsqsdJw7hwagI7Xg.png" /><figcaption><strong>Figure 2: </strong>Counties that rely on DRE voting machines are shaded yellow. Thinner hatches indicate DREs with VVPATs. Lighter colors indicate closer Presidential races.</figcaption></figure><p>Jurisdictions with thinner hatches in Figure 2 use DREs with voter-verified paper audit trails (VVPATs). This means they print a record of every ballot as it is cast. Only about 4% of voters live in precincts that use DREs with VVPATs as the primary mode of voting, and again this number is likely an overestimate. Ideally, voters can check the paper record before it is stored in a ballot box, but voters <a href="http://chil.rice.edu/research/pdf/CampbellByrne_EVT_(2009).pdf">often fail to spot discrepancies</a> on the printed record. If malicious software changes someone’s vote, they may not notice it. Even worse, the VVPAT records are almost never checked to see if they agree with the computer count.</p><p>Not only are DREs prone to hacking, but in the event of a close, disputed race, they produce little evidence to rule out computer-based fraud. DRE-dependent states with close margins will be important to watch tomorrow, particularly Nevada, North Carolina, Florida, Ohio, and Pennsylvania.</p><p><strong>Understaffed Precincts</strong></p><p>Poll workers are the first line of defense against election malfunction. They are responsible for carrying out important security procedures and for looking out for problems or attempted fraud. Unfortunately, nearly 20% of precincts reported difficulty finding poll workers in 2014, and those willing to volunteer were from populations which are less than representative of society at large. The vast majority of poll workers in 2014 were over age 41, and 26% were over 71.</p><p>Fewer poll workers means a much heavier burden on those who do show up, and in total it means fewer eyes watching the critical processes that comprise electoral procedure. Moreover, being stretched too thin can result in procedural mistakes. If an anomaly occurs, understaffed precincts will be less able to respond quickly and effectively, placing them at greater risk of disruption. Figure 3 shows the U.S. counties reported difficulty finding poll workers in 2014, shaded in orange.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rejHdeH9HFGQ-fUxWh33VQ.png" /><figcaption><strong>Figure 3:</strong> Precincts reporting difficulty finding poll workers, shaded orange</figcaption></figure><p>Not all precincts reported this statistic, so we’ve conservatively coded no-responses as “no trouble finding poll workers.” Again, watch for states with close margins (North Carolina, Ohio, Arizona, Nevada, and Colorado), as eye-witness accounts of anomalies are often pivotal in post-election court cases.</p><p><strong>Voting through the mail</strong></p><p>Five U.S. states allow voters to cast votes through the mail as a primary means of conducting the election, and in Washington, Oregon, and Colorado elections are exclusively held this way. Most states also allow absentee ballots to be sent through the mail. This method of voting does have some advantages: it’s convenient for voters and it produces a physical record of the votes. However, vote-by-mail is not ideal.</p><p>In most absentee voting procedures, voters have no way of knowing their ballot was received and counted. As mail-in ballots are filled out without the privacy of a voting booth, voters can be more easily threatened or bribed into giving their support to a particular candidate.</p><p>Figure 4 highlights vote-by-mail localities, including precincts that receive a high proportion of mail-in absentee ballots. As midterms often see lower turnout and other confounding effects, Figure 4 includes data from both the 2014 midterms and the 2012 presidential election. Interestingly, lower turnout in 2014 did not seem to significantly impact the proportion of absentee votes cast, so almost all of the districts overlap.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y8PpUdWqb-pb3lYK9oxPRQ.png" /><figcaption><strong>Figure 4: </strong>Precincts where over half of ballots were voted by mail in 2012 or 2014, shaded</figcaption></figure><p>Compared to DREs, vote-by-mail ballots are more robust to influence from computer hackers or foreign governments, and they do provide a physical record of each vote that can be audited in the case of a dispute. However, they are at somewhat greater risk of coercion or procedural error than traditional paper ballots.</p><p><strong>Putting it all together</strong></p><p>Each of the dimensions of election vulnerability above presents real risks, And localities that are subject to multiple of these risk factors would be especially attractive targets for malicious attempts to disrupt the election. Figure 5 shows all at-risk precincts: those using DREs, those reporting severe difficulty finding poll-workers, and those which see a very high proportion of mail-in ballots (&gt;80%).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3UhAP1gbjxmFQ4scq7X0vA.png" /><figcaption><strong>Figure 5: </strong>At-risk localities in the 2016 election. Localities with multiple risk factors filled in yellow, those with single risk factors are shaded yellow.</figcaption></figure><p>Election vulnerabilities are especially potent in races with close margins, as we have already discussed. Fortunately, only a few states have both our risk factors and close margins (less than 3%). Figure 6 inverts the margin colors to make at-risk, close-margin jurisdictions stand out. Key places to watch are Nevada and Colorado and certain counties in Ohio, North Carolina, and Pennsylvania.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wUdUzX6hwTii6zqERWcGAg.png" /><figcaption><strong>Figure 6: </strong>Inverted electoral map showing at-risk localities with close margins. Localities with multiple risk factors filled in.</figcaption></figure><p>Our risk analysis is not exhaustive. A well resourced adversary, for instance a foreign government, could do plenty of other things to disrupt the election. Cutting the power to a few key precincts could throw the entire election into chaos. Or an attacker could try to manipulate voter registration databases, so that large swaths of the population were reported to be ineligible to vote on election day. Attacks on major Internet sites, like the recent <a href="https://dyn.com/blog/dyn-statement-on-10212016-ddos-attack/">DDoS attacks</a> by the <a href="http://www.forbes.com/sites/leemathews/2016/11/03/someone-just-used-the-mirai-botnet-to-knock-an-entire-country-offline/#6fe9db6951f0">Mirai botnet</a>, could hinder voters from learning when and where they can vote. Fortunately, most precincts have fallback plans in the case of a complete failure of infrastructure (that have already been <a href="http://www.12newsnow.com/news/local/programming-issue-briefly-forces-chambers-county-voters-back-to-paper-ballots/341655957">utilized in some places</a>), and in all likelihood an election result would still be generated in the case of a large-scale cyberattack.</p><p>In conclusion, the 2016 election is less secure than it should be. While we think it’s unlikely that hackers will be able to silently change who wins, attacks that attempt to disrupt or discredit the electoral process in critical states are a distinct possibility.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5fa95b55d61b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/security-at-michigan/what-might-go-wrong-in-the-2016-election-5fa95b55d61b">What might go wrong in the 2016 Election</a> was originally published in <a href="https://medium.com/security-at-michigan">Security at Michigan</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Things that suck about mental health care]]></title>
            <link>https://mattbernhard.medium.com/things-that-suck-about-mental-health-care-a2e2344e2322?source=rss-6070db03bc77------2</link>
            <guid isPermaLink="false">https://medium.com/p/a2e2344e2322</guid>
            <category><![CDATA[depression]]></category>
            <category><![CDATA[mental-health]]></category>
            <category><![CDATA[healthcare]]></category>
            <dc:creator><![CDATA[Matt Bernhard]]></dc:creator>
            <pubDate>Wed, 14 Sep 2016 06:49:29 GMT</pubDate>
            <atom:updated>2016-09-14T06:49:29.562Z</atom:updated>
            <cc:license>http://creativecommons.org/publicdomain/zero/1.0/</cc:license>
            <content:encoded><![CDATA[<p>I have been struggling with anxiety and depression for a long time, and below lies many of the frustrations I have felt about the process of dealing with it. This is a reflection of my own experience with navigating mental health care, so your mileage may vary.</p><h3>Admitting something is wrong</h3><p>Amazingly, when your brain is sick it can be hard to think yourself into a place where you understand that something is wrong and that you need to do something about it. Given that our general health-culture fetishizes pushing through pain, this is only compounded by the fact that no one wants to be sick, let alone admit it and actively change their life in any way so as to deal with it.</p><p>What’s worse is that even if you know you have issues to deal with, there can be even more dread, as if admitting you need help somehow actualizes a condition that has already started affecting your daily life. This is not a cold, a thing you can wait out while your body fights it off. This is your brain waging full-scale chemical warfare on itself, and you are caught in the crossfire. That can be really scary to admit.</p><h3>Finding help</h3><p>Once you finally realize that you are sick, and you decide to look for help (no small feat in itself), things only get harder.</p><p>First, if you’re a student, <strong>take advantage of your campus’s mental health services.</strong> It will make finding a long term solution to mental health problems so much easier, and it will likely mean less of what I’m about to describe. Also it’s probably free. For a lot of people, this will be your introduction to this whole process, and fortunately there is some infrastructure to help you get used to what follows.</p><p>For the rest of us, welcome to hours of digging through various websites and directories, cross-referencing different sources to see if a doctor is a good fit and also covered by insurance. And you’re sick while you’re doing it, so this will feel a thousand times harder than it should be. You’ll want to quit, which is terrible because you’ll constantly remind yourself of how long it took you to pluck up the courage to begin this search in the first place.</p><p>Oh, that “care finder” your insurance provider has? Yeah, it’s total crap. I could have written better software when I was nine. I say this as someone who’s been computer science for a while: there is no excuse for this. Someone should offer a large sum of money for insurance companies to fix their damn websites so they actually work.</p><p>Found a doctor? Good. Now actually go to your appointments. Worry about running into people you know on the way. Worry about people <em>knowing </em>you are broken. Skip your appointments.</p><p>Regret skipping your appointments. Feel sicker. <strong>Go to your appointments.</strong></p><h3>Getting up to speed</h3><p>Once you finally get in the door, now all you have to do is try to explain everything that’s ever happened to you, why you think that is, and how it made you feel. Also you have to do this while feeling like a warm, damp blanket has been thrown over your brain. Fun.</p><p>It’s important to remember that this is the part where you actually start <em>making</em> yourself better. This is not a cold. You are your immune system here, and you have to work to fight off whatever pathogens your brain has decided to throw your way. Don’t discount drugs either; remember, you’re fighting a chemical war. Sometimes it’s necessary to fight fire with fire.</p><p>Even though you are “getting better,” this takes a lot of work. Not only will you be revisiting all the things you’ve ever done, people you’ve known, feelings you felt, you’ll be slogging through the entire spectrum of emotions you’ve ever felt. This ranges from the simplistic, overwhelming anxiety you felt when you couldn’t fall a sleep as a child and didn’t know why to your deep, nuanced ambivalence to the way people treated you in college and how you worry about how other people worry about how you worry about other people think about you. This is hard. Odds are good you’ve spent a lot of time and energy ignoring or building walls around these emotions, and by now you’re probably really good at it. For all the time you spent developing skills to deal with issues in the past, now you have to spend time developing skills to undo those things and rebuild yourself in the “right” way, whatever the hell that means.</p><h3>Progress</h3><p>Let’s say you’ve made it this far. Maybe you’re already starting to feel better, you aren’t freaking out about small things that make your life infinitesimally more difficult. Maybe your brain has stopped throwing emotional curveballs at you — thinking about your ex dating some new guy? That’s exactly what you should feel super upset about while standing in line to order a burrito! Maybe you’ve started to develop skills to more healthily process things. Maybe you’ve rebuilt some of your identity and some of your personality to be a better reflection of yourself, to be more well-suited to your current environment.</p><p>You’re really making progress. Your friends notice. You’re happy. You walk around whistling. You put yourself out there, you can have conversations with strangers. Talking to people no longer feels like a spectator sport where you watch your shell of a body carry out the bare minimum of social convention in some trivial interaction from some ghastly, external perspective. You’re engaged. You’re in control.</p><p>Your doctor isn’t covered by your insurance.</p><h3>Going it alone</h3><p>After months of seeing your therapist, after being assured by many different sources that he was in-plan, after charging his bills because he doesn’t run insurance, surprise! The insurance company won’t pay. Now you’ve got debt because you made a decision when your brain wasn’t fully functional. Now you literally can’t afford to take care of yourself, mentally. Well, you’re feeling better, right? Maybe you can go without therapy. Who knows, mental health care is really more of a luxury, right?</p><p>You’re still feeling good. You really begin to appreciate the progress you’ve made. You really like the person you’ve become, independent, in-touch, grounded. You’re still a little nervous about flying solo from a psychological perspective, but you’ll figure it out. You’ve got this.</p><p>You reflect on your time in therapy, and suddenly you begin to realize maybe your therapists wasn’t a very good fit. Sure, you feel better, but you begin to think about some of his theories that seemed way out of left field. You question his billing practices. You resolve to see someone else if you ever need therapy again.</p><p>You need therapy again.</p><h3>Starting over</h3><p>After a few months of going it alone, things seem to be alright. You’ve had a few stressful events that you handle pretty well. At times it can seem like the cards are stacked against you, but you got this.</p><p>“No you don’t.”</p><p>What? That’s ridiculous. That’s just one of those intrusive thoughts, like how you occasionally want to throw plates at the wall while you’re doing the dishes. Things are going fine, work is just stressful and you haven’t had as much time to socialize and do “fun things” as much lately, that’s all. You’re just tired, everything is fine.</p><p>“No it’s not.”</p><p>You begin to worry about backsliding into the chemical war. You begin to think about how <em>bad </em>you felt. How it felt like every day you wake up and that day, then and there, the world was going to end. How you withdrew from the world, how you stopped sleeping regular hours. How you slept a lot. That was terrible. Let’s never go back there again. You’re terrified of dealing with that again, but you know how to handle it this time. You’ll take action when it’s necessary.</p><p>It’s necessary.</p><p>Is it really though? Are you completely sure? Maybe it’s just that your schedule changed and you need to adapt. Let’s wait a little while longer. You can always make a phone call, it won’t be that hard. It will get better.</p><p>It doesn’t get better.</p><h3>Start over.</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a2e2344e2322" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Computer Usability and Realism]]></title>
            <link>https://medium.com/student-voices/computer-usability-and-realism-350c2a4b8733?source=rss-6070db03bc77------2</link>
            <guid isPermaLink="false">https://medium.com/p/350c2a4b8733</guid>
            <category><![CDATA[television]]></category>
            <category><![CDATA[usability]]></category>
            <category><![CDATA[mr-robot]]></category>
            <category><![CDATA[computer-science]]></category>
            <dc:creator><![CDATA[Matt Bernhard]]></dc:creator>
            <pubDate>Tue, 13 Sep 2016 21:35:32 GMT</pubDate>
            <atom:updated>2018-06-19T11:32:23.385Z</atom:updated>
            <cc:license>http://creativecommons.org/publicdomain/zero/1.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J-Sd45_qxX4gIX6CU9aF8Q.png" /></figure><p>Using a computer is hard. Showing how people actually use computers seems to be even harder. Television and movies generally seem to want to cash in on all the sexiness of technology without putting in any effort into understanding how it all works, and that can lead to some pretty unfortunate, if hilarious results. You may recall movies like <a href="http://www.imdb.com/title/tt0086567/">WarGames</a>, or the infamous Unix scene in <a href="http://www.imdb.com/title/tt0107290/">Jurassic Park</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*yJK3gN_PGjpH3ujajwhTvg.gif" /><figcaption>It’s a UNIX system. Wait, no it isn’t…</figcaption></figure><p>Don’t even get me started on the fact that there was briefly a <a href="http://www.imdb.com/title/tt3560060/">CSI show with the word <em>cyber</em> in the name</a>. And, of course I can always poke fun of <a href="http://www.imdb.com/title/tt0364845/?ref_=fn_al_tt_1">NCIS</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*xZj_Ek-mTBXzifnA2c-rNg.jpeg" /><figcaption>This is not how keyboards work</figcaption></figure><p>But not every show is disingenuous about how technology works. Shows like AMC’s <a href="http://www.imdb.com/title/tt2543312/">Halt and Catch Fire</a> or HBO’s <a href="http://www.imdb.com/title/tt2575988/">Silicon Valley</a> have finally discovered that there are interesting stories to be told in and around technology. Embracing technical details, and more importantly getting them correct, offers a chance to have more nuanced and interesting conversations about the role technology plays in society. Involving the tech community in this conversation is vital, and doing so can not only help improve technological literacy in the general population, but can actually help technology improve as well. This brings me to the 6th episode of Mr. Robot’s second season, <a href="http://www.imdb.com/title/tt5345894/?ref_=ttep_ep6">eps2.4_m4ster-s1ave.aes</a>. (In case you’re wondering, the episode titles often follow various Unix-like file naming conventions and file extensions,with a bit of bothersome <a href="https://www.wikiwand.com/en/Leet">1337speak</a> thrown in for good measure). What follows contains spoilers, and if you haven’t watched Mr. Robot yet, now is your chance. Just go watch the first episode. I’ll wait.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*cGBGsVMo4OksiKVdMqu0dw.gif" /></figure><p>Alright, now that you’re caught up (or more probably decided to not bother), let’s talk about how authentically portraying technology allows us to have a more productive conversation than doing otherwise. Episode 6 of season 2 sees Angela (one of the least technically-inclined characters in Mr. Robot) attempting to learn to hack so that Darlene and company can infiltrate the FBI and delete all traces of Mr. Robot and Angela’s involvement with the 5/9 attacks. Angela must be the one to carry out the hack, as she is the only one with physical access to vulnerable FBI network infrastructure. The catch: she has never even seen a terminal, let alone executed a complex series of shell commands to install a backdoor.</p><p>At this point, dear reader, you have been sorted into one of two groups: people who understood that last sentence, and people who didn’t. I shall refer to the former group henceforth as geeks, techie people who know how computers work and cringe when they see things like the aforementioned television follies. I will refer to the latter as non-geeks, people who might feel like their intelligence is being insulted by said follies (and possibly my next statement), but who <a href="https://i.imgur.com/YQi3ZFz.jpg">don’t know enough about computers to say otherwise</a>. Angela trying to learn to hack is an incredibly important scene for <em>both</em> of these groups. To better understand why, let’s break it down.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*5skoIxTItraiPVnwT9Brtg.gif" /></figure><p>For non-geeks, Angela is an every-woman trying to navigate her way through the complex world of computer hacking and corporate politics. She may not know much about computers, but she clearly has a refined set of skills that help her land her first job as an <a href="http://mrrobot.wikia.com/wiki/Angela_Moss">Accounts Executive</a> for the AllSafe computer security company. Later she puts these skills to use by finagling her way into a PR job at Evil Corp, where she constantly repositions herself to maintain as much leverage as possible over management. Angela is smart, motivated, personable, and yet she is completely hopeless when it comes to dealing with the multitudinous intricacies of computer science. In short, she is relatable. Her ultimate success at gaining access to the FBI network is a real triumph for non-geeks; in fact, from a technical perspective the show’s portrayal of hacking can be used as an accurate illustration on <a href="http://www.geekwire.com/2016/mr-robot-rewind-analyzing-fsocietys-hack-filled-cyber-heist-episode-6/">how hacking actually works</a>.</p><p>For geeks, however, Angela is a different story. I found myself immensely frustrated watching someone who should have some working knowledge of computers struggle to execute a simple ifconfig command. In fact, if we examine why she was struggling to “learn to hack” in the first place, we see that it’s simply due to a typo:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*DOvjAnmaP-ozM0Z1." /><figcaption>There should be a space between WLAN1 and WLAN2, and there’s an extra 2 at the end.</figcaption></figure><p>Watching this, I found myself struggling to reconcile how someone so capable could struggle so mightily with such a simple task. It was infuriating!</p><p>But then it occurred to me: this is exactly why computer science is broken. Us geeks spend so much time buried in technical obscurity we often forget what it was like to first learn how to install Linux or run a Bash script. The opaqueness of technology works both ways: on the outside it seems impossible to tell what’s going on; once you enter into the fray, it can become difficult to see the what the outside world looks like.</p><p>This is a well-documented problem. Studies like <a href="http://www.gaudior.net/alma/johnny.pdf">Why Johnny Can’t Encrypt</a> or <a href="https://www.usenix.org/system/files/conference/usenixsecurity13/sec13-paper_akhawe.pdf">Alice in Warningland</a> show that computer scientists, and especially those who focus on computer security, fundamentally lose touch with how <em>real</em> <em>people</em> interact with computer systems. There have even been security technologies that address usable security issues, for example <a href="https://www.apple.com/privacy/approach-to-privacy/">Apple now encrypts all iMessages by default</a>, and apps like <a href="https://en.wikipedia.org/wiki/Signal_%28software%29">Signal</a> make obscuring text messages and phone calls essentially pain free. But despite how well identified the problem is, despite the fact that <a href="https://mbernhard.com/projects.html"><em>I </em>am currently running a study</a> on how people use computers and how they interact with computer security, I briefly forgot how far removed from the average user I am. A TV show was capable of bringing me back to reality, and this is a point that cannot be emphasized enough.</p><p>I could go on about the importance of computer usability, but I’ll leave that for my day job. The point here is that television shows which actually engage with their source material, shows which don’t insult their audience’s intelligence, can actually make the world a better place. Don’t take it from me, take it from the<a href="http://www.peabodyawards.com/award-profile/mr.-robot"> Peabody Mr. Robot has already won</a>. By taking seriously the lives of the people engaged in the source material, and by taking the source material itself seriously, TV allows us to engage in a more meaningful dialog. Geeks (generally, communities on the fringes) feel validated, like they have more of a stake in society at large when a show earnestly tries to portray them, instead of <a href="http://www.cbs.com/shows/big_bang_theory/">reducing them to caricatures</a> for a quick laugh. Non-geek viewers of the show actually learn things — as I already mentioned, Mr. Robot does such a good job with its portrayal of “hacking” that you can actually <a href="http://www.geekwire.com/2016/mr-robot-rewind-analyzing-fsocietys-hack-filled-cyber-heist-episode-6/">do it real life</a>. Together, this helps us bridge the gap between obtuse technicality and the real world, even if just by a little. This is an incredible achievement for a television show, especially one that is so much fun to watch in the first place.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=350c2a4b8733" width="1" height="1" alt=""><hr><p><a href="https://medium.com/student-voices/computer-usability-and-realism-350c2a4b8733">Computer Usability and Realism</a> was originally published in <a href="https://medium.com/student-voices">Student Voices</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>