Liveblog: Edward Sanders, From Prison to Paralegal

This is a liveblog taken at the University of Michigan School of Information on September 19, 2018. Any mistakes are my own.

Edward Sanders
with Kentaro Toyama
Information Alliance for Community Development

Sanders entered prison in 1975, at age 17. Convicted of first degree murder as an accessory to murder and sentenced to life.

Sanders had mentioned to his grandfather that he was going to try to make everything he could out of his time in prison. Had a third grade education going in. Had to give up the luxury of televison and radio, but saved to go to school. Started in remedial classes, then moved to GED programs. Immediately signed up for college through Macomb Community College and worked as a teacher's aide. He intentionally delayed graduation because he would have to stop taking classes after he graduated. Some prisons were more progressive than others, school was a way to get out of that environment for a while.

School wasn't intended for inmates sentenced to life. He would have to wait for someone with a lesser sentence to cancel in order to get into classes. Many inmates, including Sanders, wanted to learn more about how to defend themselves in courts.

Sanders joined the lifer law program or "lifers." It was run mostly by war veterans. Some used their GI payments to pay for attorneys to give lectures for inmates. Talked to peers who were writing their own legal documents. Many of them had been in prison multiple times due to addiction and had learned about the legal system.

Sanders looked forward to graduating with his Bachelor's degree, but had no hope of leaving to find a job. Instead he focused on helping his fellow inmates.

Kentaro asks how Sanders felt when he got out.

The first week was about getting back into society. UMich and WSU social work students worked with him. Three members of his "reentry" team brought his sisters to pick him up. The next couple days were spent getting ID, bridge card (SNAP), and registering to vote. Sanders stresses the importance of voting: "choose your own fate." The first day, his team took him out to lunch. Now he takes others out to lunch as a way to say thank you.

Sanders knew a former inmate who had gotten a law degree and passed the bar, but is not allowed to practice in Michigan. He looked at that situation to judge his own path forward.

Kentaro asks about digital technology.

In recent years, cell phones had started coming in. He says the best technology you could get in prison was a pen. They had typewriters and word processors, but they were taken away because they allowed the inmates to litigate too well. Inmates were given access to a law library after a difficult legal fight. Had computers, but no internet access. The law library was a safe haven for him.

In his first week out, his sister made him get an iPhone (now he uses an Android). He hasn't needed a dictionary since he got out of prison.

There were many challenges getting used to digital technology. Working with Kentaro Toyama and Finda Ogburu helped him overcome these challenges.

Sanders explains that the three worst institutions in society are slavery, war, and prison. They are traumatizing. There's an institutional bias built into prison. Guards don't like imates to be better educated than they are. Inmates had to "dummy down." Draws parallel to war. In war, some remain behind to get education. Education helps soldiers re-integrate into societiy. Sanders argues that it can do the same with prison. It's not easy for inmates to get jobs after being released. Now, you need to use the internet to apply to jobs. Inmates aren't allowed to get that experience.

When applying at McDonalds, he made a mistake and didn't submit the online application. He went in for the interview and they did it anyway. If he had applied online, his application would have been discarded without a human seeing it. By the time the interviewer got to asking about his felony, he'd made such an impression that he got the job.

There is a battle for computer literacy. Inamtes need it to be successful and reenter society. Anyone who has the ability to help can help reduce crime. He praises volunteers from universities who have helped him and other inmates. He explains that the real world experience also helps students gain a deeper understanding of information and improve their retention.

Audience Questions

Q: High school students are often preparing for a life among gangs. What would you tell them?

A: All of us can make decisions, but not all decisions are quality decisions. We need to learn to make quality decisions if we have the faculties to do so. He references the Koran: the worst thing is to have an ability and not use it.

Sanders ends by telling audience to make a difference, even if we've made mistakes.

Liveblog: FCC Commissioner Jessica Rosenworcel @UMich

This is a liveblog taken on 17 September 2018. Apologies for any inaccuracies

Jessica Rosenworcel, FCC Commissioner
Jack Bernard, Associate General Counsel, University of Michigan

Bernard: What is the FCC?

Rosenworcel: FCC oversees 1/6 of US economy.

Bernard: How does the FCC interact with the internet?

Rosenworcel: FCC authority lies with transmission: where there's a wire in the ground or a transmission in the air.

Bernard: Talked to campus community about NN. There is a wide range of views on what NN is. What is it?

Rosenworcel: Broadband providers have to treat traffic on their networks equally, so they do not discriminate based on source, destination, or content. You can go where you want and do what you want online, and your internet provider does not decide for you.

Bernard: What does equal mean?

Rosenworcel: Analogy to basic telephone network: you can call whoever you want. The telephone company can't tell you who to call or edit your conversation. Really talking about nondiscrimination.

Bernard: Different broadband providers provide different services and options. What are you really talking about?

Rosenworcel: Totally OK under net neutrality to choose how fast of a connection you pay for.

Bernard: How could the absence of NN allow broadband providers to undermine experience?

Rosenworcel: Since rollback of NN, broadband providers can block websites, throttle services, or censor content. Can approach entrepreneurs and charge them to access customers. Do they have technical capability? Yes: network management. Business incentive? Yes. When rights, capabilities, and incentives are aligned, behavior will emerge in the market.

Bernard: Broadband argues that internet was working fine. What is the need to pass regulation?

Rosenworcel: Competitive marketplaces are the best moderators of oversight. Broadband is not a competitive marketplace. You can't take your business elsewhere: there's nowhere else to go.

Bernard: Felt constrained by choices even with NN.

Rosenworcel: NN helps manage in absence of competition.

Bernard: What changed after rollback of NN?

Rosenworcel: NN says can't block, throttle, or censor. Rolled back over Rosenworcel's dissent.

Bernard: What was your experience as a dissenter?

Rosenworcel: People don't remember what you said, they remember how you said it. Have to make arguments in a principled way and repeat them again and again.

Bernard: How do you build collegiality?

Rosenworcel: Whatever disagreement we have is like a book on a shelf and we move onto the next volume. Always find something in common.

Bernard: Can you steel-man instead of straw man anti-NN position?

Rosenworcel: Want to give customers most options. Want to make sure there are financial incentives to support providers.

Bernard: We hear that NN is a barrier to investment and providing service.

Rosenworcel: We do have broadband challenges in rural US. Instead of having theoretical arguments about NN, would rather identify where the gaps in coverage are and plan how to fill them.

Bernard: Is it possible to advocate for industry incentives and NN?

Rosenworcel: Can do both at the same time. False choice to say it's one or the other.

Bernard: Can less than equitable service be better overall? Example: carpool lanes?

Rosenworcel: That assumes you have multiple lanes. We don't.

Bernard: If there was greater competition?

Rosenworcel: We could revisit.

Bernard: NN advocates argue that without NN there will be cartels causing content to be only avialable to certain providers. Is there evidence?

Rosenworcel: Yes, there is discussion that it's happening already. Even if conetent is only slowed down, people switch. That's an obstacle for entrepreneurship.

Bernard: Those in the room have internet access through academic network. Difficult to understand other perspectives.

Rosenworcel:

Bernard: Americans now know the name of the FCC chair. What's that like?

Rosenworcel: Likes some anonymity, but it's good for the public. Collect pubic input. Have to figure out how to make issues accessible to allow a broader swath of Americans to participate.

Bernard: Did going against FCC cause a problem?

Rosenworcel: No one likes disagreement, but you have to stand up and do what's right.

Bernard: Pai said that California's proposal are flouting federal law.

Rosenworcel: The FCC is in a strange legal position regarding preemption. FCC argued they didn't have authority to regulate (Rosenworcel disagrees). But if FCC doesn't have authority to regulate, they don't have authority to preempt.

Bernard: What was Pai getting at? First amendment issue?

Rosenworcel: More about commerce clause.

Bernard: How would you summarize your stance?

Rosenworcel: You should be able to go where you want and do what you want without your provider choosing for you.

Bernard: Explain concerns over media consolidation?

Rosenworcel: Media has changed. There was a time when you got news from the morning newspaper and the evening news, and that was it. Modern news cycle is exhausting and stresses media company resources. Media companies have responded with consolidation. Rosenworcel understands, but favors competition. We have less local news now.

Bernard: Concern is that if too many outlets are owned by the same company there isn't enough diversity?

Rosenworcel: There used to be laws preventing, for example, one company from owning a radio station and a newspaper. Not any more. How do you maintain diverse viewpoints?

Bernard: What are the next steps? How should government step in?

Rosenworcel: National laws prevent companies from owning over a certain percentage of broadcast outlets. Most Americans still get their local news through TV and radio.

Bernard: Over the last year, the President has suggested revoking NBC's license. Purportedly this is a result of criticism of the administration. How realistic is that?

Rosenworcel: Trying to be diplomatic. A year ago, saw President's tweet, decided that so much is wrong with it, and tweeted a reply. The reply linked to the FCC manual on broadcast licensing. It's a story about what's to come: antagonism towards the news. Rosenworcel finds it troubling. Politicians criticising news is not new: Alien and Sedition act, Kennedy described the media as his enemy. What worries Rosenworcel is when the government uses its power to stop the media from reporting on abuses of that power.

Bernard: In the 2016 election, about 17% of people under 30 voted. People feel disenfranchised, not part of "we the people."

Rosenworcel: Doesn't have time for cynicism. Public servants have to be impatient optimists. It has in many ways never been easier to build a movement. Thinks as citizens, we need to use it. Nothing stopping everyone here from having a clear voice in Washington.

Audience Questions

Q: Last mile internet issue. 30 million Americans without reliable high-speed internet. What needs to be done to connect these people? Would gap exist if internet was treated more like a utility?

A: FCC estimates 24m without broadband, mostly rural. One thing we should do nationally, is map where broadband is and is not. We need to make it a citizen science project, crowdsource how many bars we have.

Q: How does NN relate to privacy?

A: FCC's ability to regulate privacy online was taken away. Hopes to align privacy policy across sectors of the economy (website, broadband, etc.)

Q: Do connected devices change discussion around connected vehicles? When will FCC decide between 5G and dedicated short range communication service (DSRC)?

A: Speed of change has been unimaginable and exciting. 5G was from 1999, which is now "old." NTSB expects it will take years to be able to deploy DSRC. Need to figure out what we can do in the meantime with what we have.

Bernard: Should we be narrowing the spectrum of any industry?

A: Spectrum is zoning in the sky. Certain frequencies were for different purposes. Now auctioned off for flexible use. Now, everyone wants some. Experimenting with milimeter band technology. Really need to get more creative with sharing. We can't expand the physics, but we can be more efficient with exisitng spectrum. Public safety uses have to be primary.

Bernard: Would that mean throttling?

A: Different services require different expectations.

Q: What's the future of municipal broadband?

A: In about half the states in the US, the state has prohibited it. Rosenworcel finds this rerettable. People are being left behind and need as many solutions as they can get.

Q: Based on the infrastructure analogy, what makes a toll to pay for cybersecurity different from a road toll? Shouldn't providers be able to take a cut of income from pornographic websites?

A: Control needs to be in the hands of the customers.

Bernard: We already don't have a lot of control. Will anything really change without NN?

A: Universities are deploying apps to try to detect altered internet traffic. Important to measure.

Bernard: Claims there's little evidence companies will tamper with traffic.

A: Some enforcement shifted to FTC. They address harm after it occurs in court. Not accessible to small entrepreneurs.

Q: Does FCC regulate fake news? Should internet service providers be able to?

A: FCC? No. Town square is largely digital. A lot of authority offered to online platforms. Granting similar authority to service providers would compound the problem.

Q (twitter): How does NN relate to corporate mergers?

A: Incentive for service providers to privilege content owned by the same company.

Q: Could net neutrality be offered for a fee?

A: Possible after rollback of NN regulations.

Q: What are some ways to encourage broadband competition?

A: We need to identify every possible way. Some are mundane but consequential. "Dig once" policies allow multiple companies to lay fiber when a road is torn up for only 1% additional cost to construction costs. Changes in policy and reducing bureaucracy to access utility poles. Biggest ways occur with technology change.

Q: How closely does the FCC work with network engineers?

A: Have an office. It's not big enough. Rosenworcel advocated for an engineering honors program to bring in young engineers from top universities. Need more onramps. Need more digital natives serving in government, who see opportunites in new technology.

Q: Is the internet a human right?

A: You do not have a fair shot at prosperity in the 21st century if you do not have access to the internet. Figuring out how to get more people connected at a high speed is crucial to civic future of the country.

What HOPE can do better

This year at HOPE, the biennial hacker conference in NYC, several incidents led to a statement of no-confidence in HOPE's code of conduct. You can read more in the statement itself, but the gist is that there were a small number of far-right attendees, including a self-described "nationalist", who were disrupting and intimidating both talks and attendees. The staff didn't handle it well. This is unfortunately consistent with my own experience. I know that the top-level organizers of HOPE genuinely care about creating an inclusive environment, but the current staff and procedures aren't working. Based on both my past experiences at HOPE and on my experiences creating inclusive spaces, here are some observations about where the process is failing and what can be done.

Trained Staff. CoCs need to be applied consistently to create an environment of trust and safety. Enforcement of the CoC at HOPE has been highly variable between staff members, with some seeming to think that it's optional. HOPE requires volunteer work from hundreds of people, but not all of them need to be trained to handle CoC complaints, only the points of contact, which leads to the next point...

Points of Contact. The CoC listed a phone number and an email address for making CoC complaints. If you are being physically threatened, the need is immediate and a phone call or email is not sufficient. Having a single person on call isn't sufficient either. The venue spans 18 floors of the Hotel Pennsylvania, where the line for the elevators takes about the same time as your flight to NYC. Anywhere there are attendees, there need to be identifiable, well-trained points of contact for immediate response to CoC complaints.

Intimidation. Over the past several events, the staff has shown a pattern of refusing to enforce the CoC until a physical assault has occurred, meaning that threats and intimidation have been treated as totally allowable. People who have been going to HOPE for a long time often describe it as feeling like "home." There's no way to have that feeling if you're being threatened or harassed. I understand the importance of free speech in the hacker ethos, but speech can be separated from intimidation. In the recent incident, one attendee bragged (on mic to an entire room) about attending an alt-right rally. That was intimidation, and should have been a sufficient CoC violation to get him removed from the event.

Validation. There has been much less attention to this point, but it's an important one: the effectiveness of a response to a complaint depends just as much on emotional connection as it does on the concrete outcome. Typically, when HOPE staff aren't able to act, they have minimized and invalidated the experience of complaining attendees. Unicorn Riot reported one staffer responding to a complaint by saying he wouldn't care even if an attendee came in with a swastika flag. Instead, just taking the time to understand and discuss a complaint can go a long way towards creating an environment of trust, even if no concrete action is possible.

I'm already looking forward to the next HOPE. A lot of attendees are questioning whether they want to attend again, but I believe in the organizers and in the majority of the community. There's a lot of work to do, but HOPE can and will fix this.

Social Capitalism

CW: refers to sexual assault

When high-profile individuals are outed for patterns of sexual assault, their friends and collaborators always seem to be completely surprised, unlike the other people who inevitably come forward as having been assaulted. Right now, the national dialogue is about Harvey Weinstein, but the same story seems to be repeating itself every few months. Closer to home, several high profile information security activists and researchers have recently been called out for sexual assault. Activists? Committing sexual assault?! The people who are supposed to spend their time and energy making the world better?!?! Yes, them. In fact, it happens so often, there's a book about it. So how is it that high-profile profile people can hide their abusive behavior from their friends, and convince the wider world that they're virtuous moral authorities? And how can it happen so very often? What if it’s not a coincidence? What if people make it to positions of power and visibility specifically because they are willing to take advantage of others? A certain type of high-visibility success is built on social capital, and the perverse incentives of financial capitalism apply just as well to social capitalism.

First, let me be clear about what I mean by “capitalism.” Capitalism is many things, but at its core, it’s a system where people who have resources (land, equipment, money) lend it to those who need it, and then take a cut of what they make. Capitalism is arranged so that the only way to be successful is make someone wealthy even wealthier. The same is true for social capital. Social capital is, as the saying goes, “who you know.” Social capital is introductions to influential people. It’s access to insider information. It’s going out for drinks with the people who make decisions. And just like in financial capitalism, the way to be successful is to help those who are already are, even if it’s at the expense of those who aren’t. This capitalist social dynamic holds even in the most progressive or anti-capitalist communities.

If you look at an industry like entertainment, you have powerful and influential people like Harvey Weinstein at the top, and a lot of folks competing for their favor. Let’s say you’re one of the folks in the middle, and you see someone powerful abusing that power. What do you do? Well, you could take a stand and call them out. In the best case scenario, they’re held accountable, but then you’ve lost any social capital you’ve built up with them. But even worse, so have your peers who were banking on that social capital, and a lot of them will blame you. And other powerful people are more likely to see you as a liability. Of course the powerless folks who were being taken advantage of will be appreciative, but they have nothing to offer you. Under social capitalism, those who speak up for the powerless fade into irrelevance, while those who turn a blind eye climb to the top. So is it really that surprising that the top is rotten with selfish amorality?

So what's to be done? It's tempting to "play the game" to try to change things once you're on top. Maybe it’s possible, but from where I stand, it looks like a long, hard journey that changes most people, and not for the better. So there's the catch 22. You can't change anything without power, and you can't get power without enabling the very behavior you're trying to change. As a sentient AI in a 80s hacker movie once said, "the only winning move is not to play." In my experience, there are people out there making a big difference by building alternative social systems rather than supporting corrupt ones, they just don't get a lot of press. It can be hard to tell the difference between someone who genuinely wants to do good, and someone who wants to be known as a person who does good. But if you want to spot a social capitalist, just look at how they treat people who don't have anything they want.

Re-Decentralizing the Web (Penguicon 2017)

"The internet has become increasingly centralized, with large corporations like Facebook, Google, Apple, and Amazon controlling the most-used services and placing all of us under surveillance. We’ll discuss FOSS tools that can help replace centralized corporate services with community-based alternatives." (slides)

Decentralized Organizing (Penguicon 2017)

"Groups like Occupy in the US and Podemos in Spain have created large-scale movements without a traditional, top-down leadership structure. But are they successful? (Spoiler: yes, just in different ways.) These “leaderless” -- or more accurately “leaderful” -- movements have been able to grow quickly and create large-scale demonstrations without needing grants or full time staff. How’d they do that? Come learn techniques you can use, and how they can be applied within the free/open software community." (slides, sticky notes)

How to start a fire

Somehow, you've found yourself deep in the woods, and a storm is coming. It's dusk, the rain has started, and you know it's going to get a lot darker and a lot colder. So you and your companions decide to make a fire. You've seen other people do it. How hard could it be? You pile some sticks and logs together, throw a match on them, and watch a tiny flame catch, smolder, and disappear. Watching the tiny wisps of smoke fade away after a few more false starts, you come to understand the popularity of lighter fluid. But you don't have any, and you're out in the cold, so you resolve to figure it out with what you have.

You're surrounded by trees, but you realize not just any wood will work. The sap-filled green branches all around you thrive on the rain. They will not burn, they have no reason to. But the soggy, trampled deadfall at your feet won't do either. It has no fire left to give. So you seek out standing dead trees and begin snapping off the dry twigs and bark. For the most part, you collect the smallest you can find, although you don't shy away from larger branches if they look well-seasoned and ready to burn. You collect as much as you think you need, and then a few times more than that. And then you collect more still. Your friends look on skeptically. How will such small twigs be of any use? How much time are you wasting when it will take large logs to keep you warm?

You place a patch of bark on the wet ground, and begin arranging your fuel. First the smallest twigs and scraps of bark. You even take your pocket knife to a twig and meticulously shave paper-thin strips into a curly mass and place it in the pile. Then, a few bigger pieces. Still twigs, but bigger. The twigs are woven together closely, with just enough space to breathe comfortably. You add some bark and larger twigs around the outside to keep the wind out and to keep the heat in. By this time, your friends are upset that you've left them standing in the rain while you play with twigs.

Finally, you ask for a match and slide it under one side of the pile. Then a few more on different sides. Some small shavings catch, burn away, and smolder while the flames move along the matches towards the center. For a minute, it looks as if nothing is happening... then wisps of smoke start to rise. A tiny flame appears on one small twig shaving. It spreads, flickers, then dies, leaving a thin stream of smoke. Part of you wants to start over. Part of you wants to pile more fuel on. But instead, you continue methodically, shielding the small pile from the wind, blowing gently. A few tiny embers glow with each breath. And then, after a few long minutes, a flame erupts in the middle of the twigs, quickly consuming all those small pieces you took so long to collect. But in the process, a couple larger twigs catch solidly on fire. You add more shavings and a few larger sticks. In a moment, flames surround the whole pile and you continue adding larger sticks and logs. Soon, you have a roaring fire, unfazed by the thickening rain.

The fire keeps you and your friends warm while you wait for the storm to pass. You keep feeding it sticks and logs. You place some damp deadfall around the outside and watch the water sizzle and boil out of it, before it too begins to burn. You place a ring of stones around the fire to keep it from spreading too far, because you realize that as bad as the storm is, the fire could be even worse without the proper care. Your friends' doubts have faded, and you are grateful to be with them, warm and dry.

What can I do now?

Donald Trump won the 2016 US Presidential election a few hours ago. Since then, the most common thing I've heard from my friends is: "Now what? What can I do now?" They are, like me, disgusted by the bigotry, misogyny, and xenophobia that Trump represents. My answer: organize. And I don't necessarily mean start a new nonprofit. There are plenty of those doing great work already, which is good, because that means you don't have to start from scratch. I'm talking about something bigger. There are millions of people in this country who want it to be safe for women, safe for queer folks, and safe for people with darker skin. There is more love than hate. The hard part has always been channeling it to create change. And we have a new pattern for that, modeled after groups like Occupy and BlackLivesMatter.

Let's say you're organizing a demonstration, or trying to get some legislation passed. Traditionally, you'd notify your mailing list, talk to strangers on the street, and maybe even make cold calls. But these methods are incredibly wasteful. First, they waste time and resources, because most of the people you talk to won't be able/willing to help with your particular issue, and the ones who are willing to help will be lucky to recognize the issue as one they care about while they're wading through all the other emails, petitions, and calls they get. More importantly, these one-time impersonal interactions don't build relationships. Much of the success of Occupy and BlackLivesMatter has been due to their focus on building relationships, both between people and between organizations.

So what's the big deal about relationships? If you think about your friends, you know who might be interested in helping with a particular issue. And if you want to work on an issue, it's a lot easier to get involved if one of your friends already is. You can spend less time dealing with spam email blasts and more time making change. And more generally, our personal relationships have a huge influence on our world-view and our culture. By engaging in activism through meaningful personal connections, we learn to understand different perspectives and bake our principles into our daily lives and habits. And as people participate in different groups, those values and skills become part of a larger activist culture. And that kind of culture-building can be a powerful force to counteract the dangerous political polarization facing the US. And of course, working on things you care about with friends is fun, and fun is an excellent motivator.

So what does it look like in practice? On top of traditional activism, it looks like meeting regularly with small groups of people who have some common ground (i.e., affinity groups). It's even better if the groups are also diverse in some ways. So for example: people who all live in the same city but work on different issues, or people who work on the same issue but in different formal organizations. On top of the meetings, you can add a mailing list, or an ongoing Google Hangout, or a group message in Signal. When each person is part of multiple groups, skills and ideas quickly spread across the entire activist ecosystem, and it's easy to signal boost a call (or offer) for help to a very large group of people who will actually act on it. If you contact a couple people, and each of them contacts a couple more, and so on, the number of people you reach grows (literally) exponentially. So activism doesn't always have to be about taking steps towards a specific plan, it's sometimes more useful to build a network that allows you to mobilize resources when and where they're needed.

Once more time, with feeling! Toward reproducible computational science

My scientific education was committed at the hands of physicists. And though I've moved on from academic physics, I've taken bits of it with me. In MIT's infamous Junior Lab, all students were assigned lab notebooks, which we used to document our progress reproducing significant experiments in modern physics. It was hard. I made a lot of mistakes. But my professors told me that instead of erasing the mistakes, I should strike them out with a single line, leaving them forever legible. Because mistakes are part of science (or any other human endeavor). So when mistakes happen, the important thing is to understand and document them. I still have my notebooks, and I can look back and see exactly what I did in those experiments, mistakes and all. And that's the point. You can go back and recreate exactly what I did, avoid the mistakes I caught, and identify any I might have missed. Ideally, science is supposed to be reproducible. In current practice though, most research is never replicated, and when it is, the results are very often not reproducible. I'm particularly concerned with reproducibility in the emerging field of computational social science, which relies so heavily on software. Because as everyone knows, software kind of sucks. So here are a few of the tricks I've been using as a researcher to try to make my work a little more reproducible.

Databases

When I'm doing anything complicated with large amounts of data, I often like to use a database. Databases are great at searching and sorting through large amounts of data quickly and making the best use of the available hardware, far better than anything I could write myself in most cases. They've also been thoroughly tested. It used to be that relational databases were the only option. Relational databases allow you to link different types of data using a query language (usually SQL) to create complicated queries. A query might translate to something like "show me every movie in which Kevin Bacon does not appear, but an actor who has appeared in another movie with Kevin Bacon does." A lot of the work is done by the database. What's more, most relational databases guarantee a set of properties called ACID. Generally speaking, ACID means that even if you're accessing a database from several threads or processes, it won't (for example) change the data halfway through a query.

In recent years, NoSQL databases (key-value stores, document stores, etc.) have become a popular alternative to relational databases. They're simple and fast, so it's easy to see why they're popular. But their simplicity means your code needs to do more of the work, and that means you have more to test, debug, and document. And the performance is usually achieved by dropping some of the ACID requirements, meaning that in some cases data might change in the middle of a calculation or just plain disappear. That's fine if you're writing a search engine for cat gifs, but not if you're trying to do verifiably correct and reproducible calculations. And the more data you're working with, the more likely one of these problems is to pop up. So when I use a database for scientific work, I currently prefer to stick with relational databases.

Unit tests
Some bugs are harder to find than others. If you have a syntax error, your compiler or interpreter will tell you right away. But if you have a logic error, like a plus where you meant to put a minus, your program will run fine, it'll just give you the wrong output. This is particularly dangerous in research, where by definition you don't know what the output should be. So how do you check for these kinds of errors? One option is to look at the output and see if it makes sense. But this approach opens the door to confirmation bias. You'll only catch the bugs that make the output look less like what you expect. Any bugs that make the output look more like what you expect to see will go unnoticed.

So what's a researcher to do? This is where unit tests come in. Unit tests are common in the world of software engineering, but they haven't caught on in scientific computing yet. The idea is to divide your code into small chunks, and test each part individually. The tests are programs themselves, so they're easy to re-run if you change your code. To do this in a research context, I like to compare the output of each chunk to a hand calculation. I start by creating a data set small enough to analyze by hand, but large enough to capture important features, and writing it down in my lab notebook. Then for each stage of my processing pipeline, I calculate what the input and output will be for that data set by hand and write that down in my lab notebook. Then I write unit tests to verify that my code gives the right output for the test data. It almost always doesn't the first time I run it, but more often than not it's a problem with my hand calculation. You can check out an example here. A nice side effect of doing unit tests is that it gives you confidence in your code, which means you can devote all of your attention to interpreting results, rather than second guessing your code.

Version control

Version control tools like git are becoming more common in scientific computing. On top of making it easy to roll back changes that break your code, they also make it possible to keep track exactly what the code looked like when an analysis was run. That makes it possible to check out an old version of code and re-run an analysis exactly. Now that's how you reproducible! One caveat here: in order to keep an accurate record of the code that was run, you have to make sure all changes have been committed and that the revision id is recorded somewhere.

Logging

Finally, logging the process of analysis scripts makes it a lot easier to know exactly what your code did, especially years after the fact. In order to help match my results with the version of code that produced them, I wrote a small logging helper script that automatically opens a standard python log in a directory based on the experiment name, timestamp, and current git hash. It also makes it easy to create output files in that directory. Using a script like this makes it easy to know when a script was run, exactly what version of the code it used, and what happened during the script execution.

As for the specific logging messages, there are a few things I always try to include. First, I always have a message for when the script starts and completes successfully. I also wrap all of my scripts in a try/except block and log any unhandled exceptions. I also like to log progress, so that if the script crashes, I can know where to look for the error and where to restart it. Logging progress also makes it easier to estimate how long a script will take to finish.

Using all of these techniques has definitely made my code easier to follow and retrace, but there's still so much more that we can do to make research truly open and reproducible. Has anyone reading this tried anything similar? Or are there things I've left out? I'd love to hear what other people are up to along these lines.

Nonviolent Communication Is Not Emotionally Violent

A friend of mine and I have a running joke that everyone who starts a hackerspace should get a free copy of Marshall Rosenberg’s Nonviolent Communication: A Language of Life. Rosenberg was a psychologist who started his career as a mediator, for example, helping resolve conflicts in recently-integrated schools in the U.S. South after the end of racial segregation. Nonviolent Communication, or NVC, was his attempt to codify the strategies he found most successful during his years as a mediator. Since I came across NVC a few years ago, it’s been incredibly helpful in all aspects of my life, including running a hackerspace, which another friend of mine describes as “making sure 200 roommates all get along with each other.” If you look around online, you can read stories from many people who have been helped by NVC, but you can also find some very harsh criticism. Although NVC isn’t the perfect tool for every situation, most of the criticism I’ve seen stems from a misunderstanding of what NVC actually is. So I’d like to clear that up and respond to some common criticisms.

In short, NVC is a framework for identifying the things you need to know about yourself, and the things you need to know about the person you’re talking to, in order to make your conversation a collaboration rather than a competition. It’s often summarized with a four-part template: “(1.) When you [observation], (2.) I feel [emotion], because (3.) I need [need]. (4.) Would you [request]?” This script is a tool to learn which things are most helpful to communicate (observations, emotions, needs, and requests). In practice, NVC doesn’t take the form of reading from a rigid script, but it does communicate the same content. And this is where most criticism gets it wrong. Almost all criticism I’ve seen of NVC describes it as being about how you say something, when it’s really about what you say, and even more importantly, about the self-awareness and empathy you need to exercise in order to put those things into words. So with that out of the way, I’ll address some specific criticisms.

"You have to put the needs of others before your own."

It’s easy to see how someone might think this about NVC. Practicing NVC involves accepting the observations, emotions, and needs of others as valid. If you are thinking of a conversation as a competition, then obviously this means putting someone else ahead of yourself, but not so in NVC. Observations in NVC are meant to be free of judgement, meaning they are statements everyone can agree on. If there are disagreements, you focus on finding the things you do agree on first. There’s no win or lose, just a better mutual understanding of the situation. Next, you have to acknowledge the validity of emotions. But that doesn’t mean giving someone a free pass to act out on those emotions or agreeing with the thinking that led to the emotion. If someone is scared of kittens, I can acknowledge and validate their fear without agreeing that kittens are dangerous and need to be exterminated. Likewise, acknowledging someone’s needs does not mean you need to satisfy that need. And that’s why the last stage is “request” and not “demand.” It comes down to this: you don’t have to put someone else before yourself, but you can’t ask them to put you before themselves either.

But what if listening to someone’s emotions and needs is harmful? Should a victim of violence have to listen to the emotions and needs of the perpetrator? No, not at all. NVC is a tool for communicating, but only if you want to communicate! Also, NVC begins with self-awareness. If you need to avoid talking with a particular person or about a particular subject, NVC encourages you to realize that and act accordingly.

"NVC doesn’t allow you to identify abusive emotions."

This one is true, but it’s not a bug, it’s a feature. Emotions aren’t abusive, actions are. When someone makes this criticism, they’re failing to realize that there’s a difference between how you feel and how you act. Of course not all emotional responses are healthy, but it’s up to each individual to take responsibility for their emotional health. Trying to control someone else’s feelings is emotional violence, which is why it has no place in NVC. But NVC does allow you to respond to someone’s actions. Focusing on actions is beneficial because they’re what actually affect other people and they’re easier to change than emotional responses. Also, abusive behavior often happens because someone experiences a strong emotion, which they see as something that happens to them and therefore not their responsibility, and then believe they’re entitled to act instinctively on that emotion. NVC helps identify harmful behaviors, which can be changed, and helps disentangle them from the emotions that motivated them. For example, if someone cuts you off in traffic you’re likely to experience anger, and that’s a valid emotion, but it doesn’t justify chasing them down and beating them up, even if that’s what you want to do when you’re angry.

"Using NVC is engaging in non-consensual emotional intimacy."

NVC is based on empathy, and this criticism says that empathizing requires consent. The key here is that NVC is meant to be used when emotions are already on the table, meaning someone has already consented. If the clerk at the DMV asks for two pieces of ID, I’m not going to ask them about the deep emotional roots of that need. NVC is more useful when someone is using their emotions to justify a harmful action. But even then, it’s not necessary to discuss their emotions. Yes, part of NVC is identifying your own emotions, but you don’t always need to discuss them, the important part is being conscious of them. In NVC, any (or all) stages (observation, emotion, need, request) can be used internally rather than externally. In a less emotionally intimate context, it’s perfectly acceptable to just make observations and requests. What NVC does is help you remove judgement from observations and figure out what you actually want to ask for.

"NVC can be used to legitimize emotional violence."

The argument here is that harmful statements can be disguised to look like NVC. For example, “When you ruin everything, I feel like you’re an asshole because I need you to do everything I say. Would you stop being horrible?” To anyone familiar with NVC, this is very obviously not NVC. But it is true that people sometimes try to pass emotional violence off as NVC in this way. But the problem isn’t with NVC. Those people would still be committing emotional violence without NVC, they’d just phrase it differently. It is a problem if the victim of emotional violence is tricked into accepting it. And NVC provides precisely the tools necessary to identify emotional violence, even when it’s disguised as NVC or anything else. So yes, bad stuff can be called NVC, but the problem is entirely the bad stuff, not the NVC.

So those are my responses to the most common criticisms I’ve heard. There are some valid limitations of NVC, but the above are not them, and they’re much less severe. One of the main limitations I’ve come across is that, because it relies on cognitive empathy, it doesn’t work very well for anyone on the autistic spectrum or people with certain personality disorders. Another limitation is that when you’re on the receiving end of emotional violence, it can be incredibly tempting to try to teach NVC to whoever is inflicting it, because you can see that there’s a win-win outcome if they could only see it too. But trying to teach someone to dance is not going to make them stop punching you. So word to the wise: if you find yourself trying to teach someone NVC, cut your losses, tell them you need to be left alone and GTFO.

Learning NVC has helped me realize how poorly we understand our own emotions. How often do we say “you made me feel…”? But NVC teaches us that our feelings are the results of our needs and our beliefs, which coincidentally, is the basis of Cognitive Behavioral Therapy, one of the most successful evidence-based psychotherapy techniques. And how often do we describe our feelings as “disrespected” or “lied to” or “manipulated”? Which, of course, are not emotions at all, but interpretations of other people’s actions that (while possibly accurate) are only weakly correlated with our emotional responses to those actions. What leads to one person feeling angry, may lead to another feeling sad, or even happy (see, for example, compersion). So based on my experiences, NVC is not the problem. The problem is that we live in an emotionally illiterate and emotionally violent culture. If someone complains that NVC makes it difficult to fight fire with fire, they’re really missing the point.

Pages