What she really said: Fighting sexist jokes the geeky way!

This is a guest post from Jessamyn Smith, an open source developer in Portland who tweets at @jessamynsmith and blogs at Dreamwidth. Read on to find out her technological solution to annoying sexist jokes.

I work at a startup, and most of the time, I enjoy it. Compared to most tech companies, and certainly most startups, we have quite a few people who are relatively clueful. There are relatively few moments of “brogrammer” culture. There is, however, one thing that has been bugging me for months, ever since it was introduced.

I took it for granted that everyone was familiar with the “That’s what she said,” joke, but a recent conversation with a consultant friend made me realize some industries don’t feature it on a daily basis. For those who haven’t heard it a million times, the idea is that when somebody says something that could remotely be turned into a sexual joke, e.g. “I’m trying to solve this problem but it’s really hard!” you say “That’s what SHE said,” in a lascivious tone.

Now, I admit to having made this joke myself, at times. Once in a while, I even find it funny. What I don’t find funny is a bot we have in our general IRC channel at work, that has some basic AI devoted to determining when to interject TWSS into the conversation.

I asked a number of times to have that bot function turned off, but got the usual combination of being ignored, being told it’s funny, and being told I should lighten up. I tried explaining once why it was objectionable, and managed to get the guys saying variations, e.g. “That’s what your DAD said,” for an evening, but that was about it.

Last Friday, the bot went a bit crazy and started throwing TWSS into the conversation with no apparent rhyme or reason. Finally, I had had enough. And then it came to me: I would write my OWN bot, that responded to TWSS with a quotation from a notable woman. If they are so keen on what she said, why don’t we get educated about what she really had to say. And so the “whatshereallysaid” bot was born. It might annoy the guys into shutting off the TWSS bot, or we might all learn about notable women. It’s a win either way, in my books!

I’d never written a bot, but how hard could it be? Python is my primary programming language these days, so I started searching for Python IRC bots. I tried a few different libraries before setting on twisted. I found a very nice example of a logging bot using twisted , and went from there.

Step 1: I copied the LogBot code into local files, and tried running it. Since the IRC channels I am normally in use SSL, I had to set up my own channel on a public IRC server for testing. It took a while to get the settings right, but finally I succeeded!

Step 2: I created a quotes file and put in a couple of my favorite quotes to test with. I created class to randomly select a quote from the file. I modified the log bot so that if you said its name, it would get a quote and post it to the channel.

Step 3: My ultimate goal was to put the bot in the work channel, so I needed it to support SSL. I found a stackoverflow thread about using a different connect function, one for SSL. Again, it took me some time to get the settings right, but eventually I got the bot to connect to the work IRC server.

Step 4: Now I needed more quotes! I found an excellent website of quotes by women and wrote a small script to scrape the quotes. I used the excellent python requests library. The script got the content of the main links page, and iterated over the links, using a regular expression to get the name and then following the link to the quotes page. Then it pulled the quotes out of the page content and stored them in a text file, one per line, with the woman’s name attached.

Step 5: I set up my own private channel and had my bot connect. I tested it to verify it was correctly noticing and responding to trigger phrases. Once I was confident of that, I tried in the general chat channel. Success!

Step 6: I cleaned up the code, removing everything unrelated to posting quotes, and adding a settings file. I made the trigger phrases configurable. I also added a virtualenv. I felt the project was now in good enough shape to post publicly, so I shared it on github.

Step 7: At this point, I was still running the bot on my own computer, which was clearly non-ideal. I wanted it to be in the channel all the time, not just when I was logged in! I found a python daemon implementation and made my bot run through that. Perfect! Now I could run it from one of the development servers at work.

Step 8: Unit tests, of course! No project is complete without them. I only have tests on the quote selector so far, but I am going to set up some mock tests on the bot logic.

Originally, I had called the project “whatshereallysaid”, but as I was working, I realized this could be much more broadly applied. Anyone could clone my github project and configure a bot to respond to whatever annoying comments they had to put up with. Inspired by “take back the night” and “hollaback”, I decided to rename the project “talkbackbot”.

I finished all this rather late on Friday night, so there was nobody around. I waited with anticipation to see what the response would be. To my surprise, many coworkers complimented me on creating the bot, including some I would never have guessed would appreciate it. Some people even retweeted my announcement that the bot was available on github.

It has been fascinating to watch the ongoing reactions. There have been complaints that we have too many bots in the channel now. There have been complaints about it spamming the channel. There were several “Make them shut up!” responses. These are not reactions I have seen the other bots elicit, certainly not with such intensity. One person even complained about the name being too long, though to his credit he realized right after he said that that several other people in the channel also have very long handles.

To me, all of this seems like typical geek behaviour: something is making them uncomfortable, and so they attack it on “rational” grounds. Most likely, they aren’t even aware of the gut reaction fueling their logic. Interestingly, the intensity of emotion seemed to carry over into subsequent discussions, including one about women in the Python community. For the most part, I have not responded to the comments. I did shorten the bot’s name to “twsrs”, and I pointed out that it’s trivially easy to have the bot not say anything: don’t say TWSS.

In any case, I feel that I have succeeded in constructively disrupting an aspect of my work culture that made me uncomfortable. This is the first personal project I’ve ever thought of, coded, and made public, and I am pretty excited about it! It makes me so happy every time the other bot says “that’s what she said,” and my bot responds with something like:

Our struggle today is not to have a female Einstein get appointed as an assistant professor. It is for a woman schlemiel to get as quickly promoted as a male schlemiel. ~ Bella Abzug

One of the most hilarious responses was a guy saying he was going to say TWSS a lot more, so he could get more quotes! I decided to add another trigger phrase just for him, since the last thing I want to do is encourage *more* TWSS!

Wednesday Geek Woman: Audrey Tang ( 唐鳳), Perl hacker

This is a guest post by Rick Scott, a Canadian philosopher-geek who’s interested in how we can collaborate to make technology work better for everyone. This post appeared on his blog for Ada Lovelace Day 2011.

Head and shoulders photo of Audrey Tang (self portrait)Audrey Tang is far and away the most awesome hacker I’ve ever had the privilege to have worked with. She’s best known for creating Pugs, a perl6 implementation in Haskell. Though it’s now semi-retired in favour of the newer implementations that it had a role in inspiring, it represented a huge leap forward and a quantum shift in Perl6 development at a time when enthusiasm around Perl6 was sorely flagging. She was the first CPAN contributor to have uploaded 100 modules. She’s the key figure behind Perl 5′s internationalization, as well as the i18n of many, many other individual pieces of software. She was part of the committee that designed the Haskell 2010 standard, and has made innumerable other contributions to the open source community.

I never got seriously involved with Pugs, but many of the things Audrey did with it shaped my thinking around open source, community, and how we should collaborate. First was the idea that a project should be optimized for fun (-Ofun1), not for control, or strict adherence to the founder’s vision, or anything else. Second, whereas many open source projects keep a very tight rein on who has commit access and make getting a commit bit an arduous process, Audrey aggressively gave out commit bits to anybody who happened to wander by in the general vicinity of Pugs. Got a great idea? Here’s a commit bit, go implement it. Notice something missing in the docs? Here’s a commit bit; go add it. Ranting in IRC that something’s not working? Here’s a commit bit; go fix it. Extending this trust makes people feel welcome and want to contribute. It fosters an air of community instead of making prospective new participants feel as though they are looking at climbing (or worse, building) a pyramid.

Audrey would likely demur at my calling her brilliant, but it’s a fitting descriptor for her. She has a unique and penetrating insight into code and an uncanny knack for encouraging the people who write it. I count myself as fortunate to have been able to work with her and to be part of a few of the communities she’s had such a profound impact on.


1 -Ofun: -O is the compiler option that tells it how you want your code optimized. Audrey’s presentation on -Ofun [pdf] talks more about how to maximize the amount of fun in your software project.

Creative Commons License
This post is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

Want to highlight a geek woman? Submissions are currently open for Wednesday Geek Woman posts.

Newbie coding puzzles and problems

This is an Ask a Geek Feminist question for our readers:

I am a relative newbie in the world of coding. I took two semesters of intro to programming with Java this past school year and I’ve been to a few python workshops. All in all, I’ve only been building programs for about eight months. I was wondering whether there are some good sources of newbie-friendly project ideas out there that will keep me going over the summer so that I don’t lose all my skills before my fall data structures class.

I have had Project Euler recommended to me in this capacity, but I don’t take the amount of delight in mathematics that the person who recommended the site to me does. Are there others that are a bit more down to earth?

This question seems to be seeking less ongoing projects, and more a source of short exercises and puzzles. Anyone got anything? I only know of Top Coder but it’s not newbie-focussed and from what I know of it it’s also rather focussed on mathematical puzzles.

Google, gossip, and gamification: comparing and contrasting technical learning styles

I just ran across Karen Rustad’s “How to teach programming: shy, practical people edition.” She cared more about making practical things than about what she perceived as “coding,” so her early technical life centered on HyperCard and making webpages, rather than boring faffing about with “mathematical curiosities.” Finally she came across a project she wanted to help, and scratching that itch meant learning more programming:

Basically what revived my interest was having the opportunity to work on OpenHatch. Getting thrown into web app development and all the associated languages and tools — Python, Django, git, Agile, bash and other command line nonsense — all at once? Yeah, it was a lot. But Python out of context is just a toy. Django out of context is plausible, but hard. Git out of context … wouldn’t've made any dang sense. So sure, I couldn’t remember half the git commands (Asheesh eventually made a wiki page for me :P) and I had to look up how to restart the Django development server practically every dang time. But I made do, and I learned it, because the context totally freaking motivated me to. Because *finally* code had a purpose — it was clear, finally, how it could be self-expressive and useful to me. Learning these tools meant I could help make OpenHatch exist. Like, fuck yes.

Different people learn in different ways, and for different reasons.

I figure I learn how to tinker in software, especially in open source, via three methods:

  • Google
  • gossip
  • gamification

I learn to search the Net well, iterating on keywords and site: and so on; I fall into or develop a network of folks who won’t think I’m stupid for asking questions; and I play little games with myself, or write them, feeling the thrill of the challenge, leveling up little by little.

I was missing all of these when I tried to Learn To Program.

Continue reading

“Put up or shut up”

One thing I love about open stuff, such as open source communities, is that we (try to) measure people by what they contribute.

I’m now Volunteer Development Coordinator for the Wikimedia Foundation (although I am not speaking for them in this post), so I care about the quality and quantity of contributions to MediaWiki, and about the people behind them.  In fact, I’ll partially be measuring my success through statistics on the number of people who offer code, bug reports, translations, documentation, talks, mailing list posts, and so on.

And it’s not just doing, it’s doing and sharing.  We value collaborative work, not hoarding.

This norm, among others, leads us to use “put up or shut up” to quash unproductive conversations, bikeshedding, trolling, and “you should…” unhelpful suggestions.  I once had the satisfying experience of saying, to a guy full of “why didn’t they do foo”, “you should totally post that suggestion to the mailing list!” and seeing him just shut up, defeated.  He knew that doing this without embarrassing himself would take a modicum of research and thought, and he had no intention of doing anything that arduous.  He’d just wanted to mouth off.  And now I’d revealed him as a noncontributor.

I saw another example in Kitt Hodsden’s talk about the Hacker Dojo community center.

all talk, no action

Another aspect of open source development we encountered, an aspect that is also found in just about every volunteer organization ever, are the troll subspecies “we oughta.”

The we-oughtas clan is often very vocal, they know what we should be doing. When it comes to the actual doing, however, they aren’t around, they aren’t available, or that’s not what they meant.

When this is the case, the response is either, that’s nice, and ignore it, or, just as in open source projects, “put up or shut up.” Essentially, if you’re not willing to put forth the effort of leading your own project – even if that leading is just finding someone else to lead your project – we’re not going to follow.

At its best, “put up or shut up” is empowering.  In Hodsden’s talk, she shared a story about a potential member whose “project was outside of our expected and supported hardware and software development spaces”:

We gave the answer we have learned to give for people who have crazy, though potentially awesome, ideas that in the future could work wonderfully in our space: lead the project: tell us what it is going to take for your project to succeed, develop a game plan, put in the safety measures, find supporters, work up a budget, start the fundraising, make it happen.

The community defines itself. If the community decides it wants to become a metalsmithing shop or an experimental biology lab, it’ll become that, because that’s what the community wants.

I bet all of us who have held leadership in FLOSS can attest to the two sides of “well go ahead then, patches welcome, make it happen, this is a do-ocracy.”  Great, we can empower people.  But how often do we use it to shut down discussions, ideas, and people we don’t like?  In particular, have you been part of an interaction where a privileged FLOSS project member used “you want it, you make it happen” to wrongly dismiss a concern that might require the whole community to change its behavior?

Look at what I did, in the anecdote I told in the third paragraph of this post.  I wasn’t purely kind or rational or ideologically anarchic in telling that guy to write to the list; I found him annoying and wanted him out of my hair.  I told him to contribute, superficially encouraging him, but really wanting to discourage him.  Have you ever been on either end of that, especially around geek feminist issues?

And I suspect this disproportionately affects newbies and non-native speakers of a community’s language.  This is the problem with saying “you want it, make it happen” in response to requests for a harassment policy, or for all of an app’s strings in one file to make localization easier.  The very people who need those new policies, procedures and abstractions are least able and worst placed to implement them.

(Small digression: in the case of harassment policies, consider “Did you know how to react?” by Noirin Plunkett, and Bitch Radio’s interview with Valerie Aurora.  The Ada Initiative, in suggesting and working towards conference anti-harassment policies, has far more energy and resources than would one individual seeking protection.)

Developers are used to dealing with requests for features or bugfixes, but FLOSS leaders are still learning how to deal with requests to socially engineer our projects.

And no matter whether you’re considering adding a feature, hosting a sprint, changing version control systems, or joining a conservancy, it’s sensible risk mitigation to chat about it before putting substantial effort in.  This is a different kind of work, not coding, but building support and getting the lay of the land.  And it’s part of contribution.

So, fellow FLOSS leaders: If you want to grow new contributors, along with giving them permission to suck, build personal relationships with them.  In private or face-to-face, listen as they vent and discuss their ideas, even the half-baked ones.  Listen for the difference between “we should” and “I’d like to/how do I?”.  Sometimes they’ll need sympathy, and sometimes advice.  If you say “go do it then,” say it encouragingly, not dismissively.  Watch out for moments when a marginalized potential contributor is essentially asking you, “help me help you.”  And watch yourself in case you’re about to do what I did, using “put up or shut up” to shut down someone you find abrasive.  Because sometimes I’m abrasive too, and sometimes I have good ideas.  :-)

As hypatia puts it: “a gentle ‘that’s definitely an issue, could you file a bug’ goes a long way.”

Lessons learned from the Boston Python Workshop, an outreach event for women

This is a guest post by Jessica McKellar. Jessica is a software engineer and an organizer for the Boston Python Meetup.

This entry originally appeared at the OpenHatch.org blog.

My name is Jessica, and I’m an organizer, curriculum developer, and lecturer for the Boston Python Workshop, a free, 1.5 day project-driven introduction to Python for women and their friends. The workshop has run twice, in March and May, and the third run is happening in July at Google Cambridge.

I’d like to share some of the lessons the Boston Python Workshop staff have learned about organizing outreach workshops and our goal of bringing more gender diversity to the local Python community.

First, the structure of the Boston Python Workshop

Boston Python Workshop logo

The Boston Python Workshop is for women and their friends who have no or limited programming experience (I’ll talk more about “women and their friends” in a bit).

The workshop is held on a Friday evening and all day Saturday. On Friday, attendees set up their development environments and start learning Python through a self-directed tutorial and practice problems.

On Saturday, attendees continue learning Python with a 2 hour interactive lecture. Attendees and staff socialize over a sponsored, on-site lunch. In the afternoon, we break out into groups to practice Python while rotating through three short projects on a variety of fun and practical topics. Our projects have included writing parts of a Twitter client, how to cheat at Words with Friends, writing a basic web app in Django, and writing graphical effects for a ColorWall. Our material is all online, so check it out.

This comes to a solid 10 hours of learning and practicing Python, with support from a strong group of volunteers from the local programming and open source communities. The workshop is run under the auspices of the Boston Python Meetup (I’m one of the Meetup organizers) and we hold follow-up events like an open Project Night through the Meetup.

Lessons learned about teaching Python to beginners

Boston Python Workshop attendees watch a presentation

There is a huge difference between teaching Python to people with programming experience in another language and people with absolutely no prior programming experience. The biggest lesson we learned is that if you are going to teach absolute beginners, you have to commit to really starting at the beginning:

Continue reading

Linkspamming the night away (11th May, 2011)

  • May 13 in Boston: A project-driven introduction to Python for women and their friends (unfortunately now gone to “waiting list only” status).
  • An open letter to the Australian SF community: However, the venue staging was awful, in terms of its accessibility. High, and only accessible by temporary stairs, the stage was off-limits to anyone in a wheelchair, anyone in an electric scooter and anyone with a significant mobility impairment… This should not be acceptable to us as a community in the twenty-first century.
  • How To Encourage More Brown Women To Launch Tech Startups I realized that simply asking, “Are you going?” is enough to make a difference in someone’s awareness.
  • As benno37 says: Tip to open source developers: don’t name your library after a sexist/offensive/illegal activity. I’m looking at you upskirt! Seriously, wtf. (So that not everyone has to google for the term, upskirt is a library to parse the Markdown syntax for webpages. The Wikipedia page for Markdown has loads of alternative implementations to choose from.)
  • Confessions of a Fairy Tale Addict: Because it is a lifestyle choice, to write fairy tale books. Make no mistake. I mean, in our culture, the phrase fairy tale practically means: trite, lightweight, and fluffy. You know, girl stuff.
  • There’s a long series of interviews conducted in 2010/2011 with women working in planetary science. See for example Natalie Batalha (From postdoc to Deputy Project Scientist on Kepler), Amy Jurewicz (Stardust, Genesis, and SCIM) and for that matter Emily Lakdawalla (It is NOT failure to leave academia).

You can suggest links for future linkspams in comments here, or by using the “geekfeminism” tag on delicious, freelish.us or pinboard.in or the “#geekfeminism” tag on Twitter. Please note that we tend to stick to publishing recent links (from the last month or so).

Thanks to everyone who suggested links.

Career change to programming

This is an Ask a Geek Feminist question for our commenters. This is the last post from round 4. Round 5 will run in the second half of 2011.

I have a 24 year old niece who is currently working as a fashion designer but is thinking about changing careers and getting a Computer Science degree. After two years in her job she has discovered that she doesn’t fit in very well with the culture or with her co-workers. She does really well with the graphic design programs (while all her co-workers are computer phobic), and she took some programming classes back in high school, so I think she can do it.

Since I’m an old geek feminist myself I’d like to encourage her in whatever way I can. Unfortunately, I’ve been unable to work for more than 10 years due to health issues so my knowledge of what skills are needed, and what job opportunities exist out there, is pretty outdated. My question is this (and I hope it can be phrased in a way that provides general help for anyone in this situation, not just my niece) -

Any advice on how to make this career change easier? She’s looking at going back to get a master’s in computer science (she would have to take a lot of basic math/science first) but I’d love to hear other suggestions. Are there informal venues where she could learn? Conferences or clubs or something like that? What are the best online places where newbies can hang out and learn? What programming projects could a beginner work on to get some hands-on experience that would make them more employable? What would help to give her confidence in her ability?

For example, back when I got my own degree (1978–1982), I worked at several different programming jobs on campus, mostly to pay my way through school, but it turned out that the work experience was invaluable when I started looking for a full-time job. Is this type of thing still relevant or is it hopelessly old fashioned?

Drupal Voices 100: Jack Aponte on Diversity, Power and Privilege in Open Source Communities

Neville Park is a queer mixie nerd in Toronto. This post originally appeared at Wild Unicorn Herd.

An interview with Palante Tech’s Jack Aponte (a. k. a. Angry Brown Butch) on, well, diversity in Drupal.

Background: Drupal is a kind of CMS (content management system); it’s a particularly powerful and versatile platform for building and managing websites. It is free and open source, which means that you don’t have to pay to use it, and anyone can help work on it. There’s a very large and international community of people who use and work on Drupal, and like the wider tech community, it’s dominated by white straight cis men. Open Source people, and Drupal people in particular, pride themselves on having a “doacracy”—a community that values getting stuff done above traditional authority. This could create a beginner-friendly, non-hierarchical environment of subversion and experimentation. In practice we just have white straight cis men getting SUPER DEFENSIVE at the suggestion that maybe they got where they are not only by the sweat of their brow, and shouting down any mention of patriarchy, racism, or any other systemic oppression when people run the numbers and get to wondering why there’s so little minority representation in Open Source.

There is a nice summary of the podcast at the link, and my transcript is below the fold. I’ve added links to give context to some of the references Jack and the interviewer make.

Continue reading

I blame the Patriarchy for my technical incompetence.

This is cross-posted at Restructure!

I demonstrated an aptitude for computers when I was a young girl, but I didn’t have home Internet access until I graduated from high school. I blame the Patriarchy, partly.

By the time I was in high school, I was usually the only person in my classes who didn’t have any Internet access, while most of my peers had high-speed access. When my peers communicated with each other through e-mail and chat, I was shut out of the social conversation and didn’t understand the “technical” terms they were using. I understood the creative potential of being able to communicate with computer users all over the world. I knew that Internet access would allow me to communicate with others without my social anxiety getting in the way. However, my father was hard-set against the idea of “the Internet”.

For five years, I was part of a persistent family campaign to convince my father that we should get Internet access. He thought that the Internet was a software program that was just a “fad” and would go out of style. Back then, the mainstream media was even more confused than now about what “the Internet” was. The news sensationalized stories about online predators luring young girls through “the Internet” to rape them. The implied moral of these news stories was that the Internet was dangerous and full of sexual predators.

My father did not work in an office then, so he heard more about “the Internet” through his coworkers. One male coworker basically explained to my father that The Internet Is For Porn. My father came home and told us that he was never going to let us have Internet access, because girls especially should be protected from exposure to pornography.

Continue reading