Wednesday, December 18, 2013

I'm Using Python Now

I have a confession. All these years I've been evangelizing strongly statically typed languages, I've been going home at night and using Python. Not all the time. It's more like the hungry vegetarian graduate student who comes to the free lunch and discovers only meat dishes. Sometimes you have to do what you have to do.

It started with small things here and there. Because of its libraries, Python has been my go-to language for web scraping jobs. Because of its relative concision to Java and its relative principles to PHP, Python has become my go-to language for web backend programming. And as the web is getting fancier and fancier, I've been doing more of this. As the web has been getting fancier, my research has also involved more of this. Web backend programming. And also Python.

It's true. I'm now doing research programming in Python*. For my PhD, I've been developing Jeeves, a new programming language (and soon-to-be web framework) for automatically enforcing privacy policies. Jeeves makes the programmer's life easier by making the language runtime responsible for keeping track of the privacy policies policies. As this approach happens completely at run-time rather than compile-time right now, it is a great fit for embedding into Python, which does most things dynamically (at run time). And so we switched from the Scala implementation we had been maintaining for a couple of years to Python.

The initial reason for switching to Python was that it is my favorite popular language for web backends. Popularity matters: a web framework is a big piece of software. Lots of people using it usually corresponds to lots of people developing and maintaining it, as well as more documentation for how to use it. I had found both of these to be issues with Scala web frameworks: the two popular Scala web frameworks, Lift and Scalatra, have learning curves that are quite steep. The people-power behind development, maintenance, and documentation also means that it is likely that lots of people will continue using it.

Another reason for the switch was that Python is what the (MIT undergraduate) kids are learning these days. I had thought that I could push Scala upon undergraduate research assistants using the force of my charisma, but this is harder than it might sound. It can take upwards of half a semester to teach even a motivated, bright undergraduate Scala. And given that undergraduates tend to be around for about a semester, that does not leave much productive work time.

After switching to Python, I learned that playing with language features in Python is much faster than in Scala. Much of the time spent coding in the Scala implementation involved an intricate dance with Scala's type system. While it's thrilling never knowing if your new tricks will allow you to save yourself from writing type-casing boilerplate, it takes a lot of time to convince the Scala type-checker that you're doing something reasonable in all cases. Sure, people might object that writing in Python is like swimming without a life jacket or something, but if you're an experienced swimmer trying out different moves in a small body of water, a life jacket is just going to hinder you. Same effect for experienced programmers prototyping a research language...

Something else that I've discovered is that people outside of programming languages seem much more excited about using my language when I tell them it is embedded in Python. These people include computational biologists, computer scientists working in areas other than programming languages (systems; the web), and undergraduates who are trying to work on our research project. A computational biochemist I spoke to who has been using logic programming was quite excited that we were embedding our language in Python. There are already many biological modelling toolkits written in Python, he said, so he could easily envision people picking up our tool.

I'm not saying everyone should use Python instead of Scala. I still stand by everything I say in my other blog post praising Scala: Scala is a less pretty version of the ML family of languages that is potentially way more usable because of its interoperability with Java. If you're trying to do quick-and-dirty language prototyping or trying to build a web framework, however, Scala may not be the tool for the job.

I know I'm not going to be able to check my Python programs before I run them. And I know I'm never going to be able to run my programs super fast. But I've looked into the tradeoff space and made my choice. Good thing Python is for girls.

* In the past few decades, the fashion has been to conduct programming languages research using statically typed languages with strong type systems. The idea is that since we have the compute power to check our programs before our run them, it is irresponsible not to. Thus using something like Python is considered somewhat scandalous.

Wednesday, October 23, 2013

Dual Booting Ubuntu and Windows 8

This blog post commemorates the better part of a work day I spent installing a dual boot of Ubuntu Linux 13.10 and Windows 8 on my Lenovo X230 Thinkpad. I did not expect to have such trouble, but I did, and once I came out in the open about it on Facebook and Twitter I heard from many others who have fought the good fight--and given up. So maybe this post will be helpful to some of you.

If you're looking for quick instructions for adding an Ubuntu partition to a machine with Windows 8 installed, here they are:
  1. Manually partition your memory on your Windows 8 operating system. Go to the Control Panel, go to Disk Management, and create a new partition from your main partition. (More information here.)
  2. Acquire an Ubuntu installation mechanism, either from Ubuntu or by downloading a disk image and burning it onto a flash drive or CD.
  3. When starting up your computer, press "Enter" to interrupt the normal boot sequence. Press F12 to get into the boot menu. Select the option to boot from the flash/CD drive. Follow the directions to install Ubuntu.
  4. The Ubuntu install will mess up your boot loader and prevent you from loading Windows properly. To fix this, install Boot Repair on your Linux system and select "Recommended Repair." This will reinstall your GRUB and do some other things.
  5. The final piece of what you'll need to do is disable Secure Boot in your BIOS. Windows 8 uses it to make sure the pre-OS environment is secure. You can do it by pressing "Enter" at startup, getting into the BIOS options, and selecting "Disable" for the Secure Boot option. (More here on Secure Boot and here on disabling it.)
Read on for the full story.

The first question to address is why the dual boot. Linux is non-negotiable for coding. Besides feeling somewhat like it would be a waste to wipe out Windows, Windows is pretty useful for programs like Powerpoint, SolidWorks, and the new software that came with my drawing tablet (Autodesk, ArtRage, and Photoshop). Why don't I just get a Mac, you might ask. Maybe I'm waiting for free software to get good enough that I don't have to use Windows anymore. Or maybe I just haven't... yet...

The second question to address is why the dual boot and not virtual machines. At one point I was running a Windows virtual machine on Linux to use Powerpoint. And then my Windows decided to install updates... for ten minutes... during the beginning of my Research Qualifying Exam. After that, I decided dual boot was the better way to go. I hear having Windows as the host is better, but I mostly spend my time in Linux anyway. Windows is just for the special stuff every now and then.

Now for the story. I went on the Ubuntu website, downloaded a disk image, and burned it onto a disk as I normally do, expecting to be able to boot off the disk as usual. Ha. I tried turning on my computer a couple of times, thinking the system would detect the disk and boot off of it. That didn't work, I had thought because the boot order was not in my favor. I then wondered if I could take the easy route and use WUBI, the Ubuntu Windows installer, which was also part of the Ubuntu disk image. It looked like I was getting a little bit far in my Ubuntu installation: the system told me it succeeded and I even got a pretty "which OS do you want, Ubuntu or Win 8?" screen. But every time I tried to select the "Ubuntu" option I got a black screen of death saying my \ubuntu\winboot\wubuildr.mbr file was missing. A quick internet search revealed that WUBI is not to be used in conjunction with Windows 8 or UEFI hardware. (Okay, here I'll admit I tried reburning the CD at least once before doing this...) Apparently WUBI doesn't work with UEFI, the Universal Extensible Firmware Interface, because it uses grub4dos, which doesn't support GPT (GUID partition table) disks, which is a more flexible disk partitioning mechanism associated with UEFI.

I tried a little harder to boot off the disk and discovered that pressing "Enter" got me out of the normal boot sequence and F12 allowed me to boot off the disk. It looked like I successfully installed Linux again, until I shut down and tried to enter my Windows partition. There I got an equally scary screen saying my Windows couldn't be accessed anymore. I searched the error on Google and it said that I could probably address my boot issues using Boot Repair. I installed it, and during installation it reinstalled the GRUB (GNU GRand Unified Bootloader) and told me I needed to disable Secure Boot. Wondering if the second part was really true, I tried starting up Windows without disabling Secure Boot. No luck. It turns out that if Secure Boot is enabled, Windows 8 expects it to report back on certain properties that the dual boot breaks. (More here.) I went into the BIOS, found the Secure Boot [Enabled] option on the right-most screen, and set it to [Disabled]. (Apparently Linux systems can support Secure Boot now, but--unless I'm missing something--not for dual booting.)

And... then... it... worked! Now I have a working dual-boot of Windows 8 and Ubuntu 13.10. My usage of Windows 8 has been an endless source of amusement for my office friend Rishabh. ("Why do you have to do this just to get that to work?") Perhaps this can be the subject of a future blog post.

Wednesday, September 18, 2013

Why I'm Not Taking a Vacation from Facebook

The internet does not seem to like Facebook these days. Studies are coming out (for instance, this PLOS ONE study) suggesting that Facebook decreases happiness in young adults. In solidarity with the teenagers, Kayak founder Paul English is taking a vacation from it the month of October.

This is too bad. I don't hate social media. Like any of you I also like going into the mountains, throwing my phone into a lake, and bonding over shared processing of primal angst. But I wouldn't be the most happy doing only that. I thrive on being connected to hundreds of people at once. And you might, too.

I have always loved the internet for making this possible. As a kid with diverse interests and not that many people to talk to about them, the internet was a way for me to have the conversations I wanted to have. I have had an e-mail account since 1995. I may have read every page on the internet about the USA women's gymnastics team during the 1996 Olympics. I got a lot of flak for running my own GeoCities website about tamagotchis--complete with pop-ups and frames--in middle school. During my teenage years, when I became only slightly cooler, my social life consisted mostly, to my mother's chagrin, of spending my evenings with at least five AOL Instant Messenger chat windows open while "doing my homework." I talked to friends from my school, friends from other schools, friends I met at summer camp, and friends of friends who were interesting to talk to. If only there were a way for me to do this more efficiently...

When Facebook first came out, I was excited that everyone else could join me in having an active online life. As part of the first Harvard class ('08) to have Facebook accounts before arriving on campus, we all spent the later parts of our summers stalking our soon-to-be classmates. By the first week of freshman year, it was rare to come across someone who had not already established, through judging self-manufactured personas on Facebook, who was hot, who was not, and who was planning to take way too many classes. And sure, at times it was a bit overwhelming to be able to browse just how much smarter, better-looking, and popular other people seemed to be. But that's college. Insecurity is inevitable, especially on a campus where it seems like every other person is jumping to tell you how early they got up, how many miles they ran, or how smart their boyfriend was. And you learn to calibrate for the "Facebook gap:" people are probably adding a couple of inches to their height, taking a few pounds of their weight, and lying about their age... oh wait, that's online dating.

Even in the beginning, Facebook was useful for facilitating deeper connections. In late August before our freshman year, one of the Harvard websites had a glitch that allowed us to see our room assignments, which normally would not be available until we arrived on campus. News of this glitch spread through the mailing list for the incoming class (another useful virtual community) and many of us posted our room assignments to Facebook. This is how four of my five freshman roommates and I found each other and began corresponding. By the time we had gotten to school, we already knew where the others were from, what our backgrounds and habits were like, and what our hopes and dreams were for our freshman year. This helped us establish a rapport--as well as real memories we still refer back to--before we were able to meet in person. It may not be a coincidence that despite being quite different on the surface, the four of the five of us continued living together for the rest of college.

Social media, by supporting the broadcast-and-see-what-comes-back method of social interaction, has enriched my life in many ways over the years. When I was younger and less busy, I would announce on Facebook whenever I was going to be in a different city so I could meet up with whichever friends happened to be there at the time. One time, Facebook helped me reconnect with a Korean-American friend I had not seen since we met at art camp in high school who was randomly teaching English in my Chinese hometown. Another time, my Facebook-location-announcement scheme facilitated a San Francisco hang-out with a childhood friend who introduced me to a friend who introduced me to a friend--via Facebook--who ended up showing my friend and me a fun evening in Barcelona. By giving me a forum for announcing my intentions to the world, Facebook has made it easy for the world to help me achieve what I want, whether it is having a discussion about some topic or acquiring some physical object. Facebook has given me all sorts of things: product and app recommendations (I learned about InstaPaper through Facebook), link suggestions, and even roommate invitations.

Because of how easy it makes it to access interesting information, social media has come to dominate my media consumption. For the media diary we were supposed to keep for a class last semester on the news ecosystem, I discovered that I spent 78.6 hours in conversations and it was my primary form of media consumption. (I had a pretty insane spreadsheet for tracking this...) Of my conversations, 27.6% occurred on social media. One could wonder whether I am spending my time gossiping when I could be reading the news, by let me convince you that this is not the case. On Facebook and Twitter, I like to follow people (for instance, Arianna Huffington) and organizations (for instance, Forbes Tech News) who post informative pieces. I also actively unfollow people who flood my stream with posts I don't care about. I have recently also begun following Facebook pages that provide a steady stream of positive quotes, for instance Positivity. Social media has made it much easier to do two of my favorite things: read about the world and have conversations about what I read.

You might ask whether this time I am spending on Facebook is taking time away from forming genuine connections. I don't think so. Much of the time I spend on Facebook is time I would otherwise use for working or reading, activities that are not particularly social. If I weren't having a conversation on social media, I would likely not be having a conversation at all--in-person conversations during work breaks take far higher levels of coordination and serendipity than the asynchrony of social media requires. For me, taking a break to go on Facebook or Twitter is like walking down a hallway full of exactly whom I want to see. For some kinds of work, it's also nice to have Facebook providing a warm background buzz. Of course it's good to have one-on-one conversations, but sometimes it's nice to be able to go to a coffee shop or party and experience human interaction secondhand. And just as it's not the best idea to do all of your work in the busiest coffee shop in town, you probably do not want to be constantly connected to all 3000 of your best Facebook friends.

So sure, if you are a misanthrope or agoraphobe it's probably best to stay off, but social media does not have to be bad. It may take some establishment of good practices, but what worthwhile activity doesn't?

Tuesday, July 23, 2013

Travel Meets Technology: A Weekend in Portland, Oregon

When Facebook Graph Search came out, skeptics bemoaned the end of personal privacy. Now that people can perform targeted queries over your social media history, there are few places to left hide. Facebook Graph Search will make it all too easy for your mother to find out that you have been drinking and for your boss to find out that you are a Republican.

The unveiling of Graph Search was exciting to me for more than voyeuristic reasons. For years, I have appreciated how Facebook has helped better connect me with people and enrich my world view. I have also liked how social media democratizes knowledge and allows for everyone to express their views in ways only experts and journalists previously could. Graph Search seemed like a useful way to learn even more about the people in my social network and also the rest of the world.

To explore my stance, I decided to see if Graph Search was useful for researching topics other than my friends’ personal lives. I came up with the goal of researching a lifestyle piece using solely Graph Search. As the target destination I chose Portland, Oregon because I had never been there and did not have many friends posting about it on Facebook. I assumed having few contacts in a location would be the most common experience of someone using Graph Search to learn about something new, as most people’s social networks tend to be fairly limited. I then planned a trip to Portland to compare the Graph Search itinerary to the New York Times’s 36 Hours in Portland, which represents an expert-curated itinerary for the same length of time.

This project became not just an evaluation of the effectiveness of Facebook Graph Search, but a study of the changing relationship between people, technology, and experts. On the one hand, technology provides us tools to scour the internet’s fares and opinions to potentially provide us with succinct summaries of the world’s information. On the other hand, it is not clear whether someone familiar with the domain in question can outperform technology. There is also the question of how we can use technology to enhance interactions with experts or to democratize the availability of expert knowledge. To explore this, I used other tools such as AirBnB, Bing Travel, and non-Graph Search capabilities of Facebook. The final itinerary is a result of cross-referencing the Graph Search and Times itineraries with sites like Yelp and with Portland locals, combined with serendipitous events.

I found my ad-hoc internet travel agent to be immensely useful for giving me fast and easy access to large quantities of information. Fare search and predictors give even amateur trip planners a good idea of times and prices at which to buy. Graph Search allowed me to see a collage of what my trip could look like visually through a simple search of “Photos taken in Portland, Oregon.” Sites like Graph Search, Yelp, and AirBnB provided up-do-date information about where people where spending their time and money. Advances in search technology, combined with innovations in peer-to-peer models for communication, allow us to learn about the world in previously impossible ways. With all this information at hand, it is tempting to think that the masses provide us with all of the opinions we need.

During this project, however, I learned to appreciate the curation of experts. Someone local or known to have good taste is more likely to make good recommendations than a random sampling of people from the internet. In general, unless you know something about the people posting about a place, it is difficult to determine how much to listen to the opinions presented. I realized that with sites such as Yelp and AirBnB, I close-read the writing style and content of reviews to form my own opinion about how “expert” I deem a reviewer about the relevant domain. It is, at present, difficult to determine the taste “footprint” of Facebook users posting about a place. Especially for researching travel and entertainment, it would be useful to be able to identify and weigh more highly the contributions of certain people, for instance relative experts or those with similar taste.

I describe the results in the form of a timeline for both the planning and trip periods.

Some night, months before.
12am.
Use only Facebook Graph Search to research a travel itinerary for Portland, Oregan (see According to Facebook Graph Search: 36 Hours in Portland, Oregon and Facebook Graph Search as a Journalistic Tool).

The next day.
Post to Facebook, Twitter, and your Gmail chat status about these posts. Chat online with a friend on the West Coast until he suggests a trip to Portland to explore these itineraries. Use Bing travel's fare predictor to decide the best time to book plane tickets. (In my case, it told me to wait.)
Tools: social media; online messaging; fare search.

Some other night, a month before.

11pm.
Plot geographic locations corresponding to both the Graph Search and the New York Times (NYT: 36 Hours in Portland, Oregon) itineraries. Discover that the Graph Search itinerary seems to be concentrated around downtown (West) Portland, while the NYT itinerary has locations on both sides of the Wilamette River. Discover that many of the places mentioned in the NYT article, written in August 2011, have already closed.
Tools: Google Maps; Google Places.

12am.
Examine the availability of people renting available apartments, rooms, and guest houses on AirBnB. Discover that the more interesting, affordable, and highly rated locations seem to be in East Portland. Make a booking in the Mt. Tabor neighborhood.
Tools: AirBnB.

Yet another night before the trip.
Make a proposed itinerary for the weekend by combining activities from the two itineraries. Cross-reference with Yelp; discover that many of the Graph Search locations seem to be reviewed less favorably as being "touristy." Cross-reference with TripAdvisor; find that the recommended activities seem to be less urban and more outdoorsy.

Use Facebook to contact Joe, a friend of a friend who lives in Portland. Make plans to meet up.
Tools: Yelp; TripAdvisor; messaging.

Friday of the trip.

11am.
Brunch at Cafe Broder, whose Scandinavian brunch comes highly recommended by the Times. Broder is worth every minute of the potentially long wait. Try the lefke (potato pancake) and a baked egg scramble.
Tools: New York Times.

2:30pm.
Walk off brunch by shopping in the vintage and curiosity shops. Walk past Pok Pok, one of the most popular Asian restaurants in Portland.
Tools: serendipity.

4pm.
Get a late lunch at Por Que No? Taqueria, recommended by the Times itinerary. The Times warns of a long wait, but during off-peak hours the line is fine. The ceviche is delicious and there is the option of getting it on cucumber slices rather than with chips.
Tools: New York Times.

7pm.
Jog up Mt. Tabor, recommended by fellow reviewers of your lodging on AirBnB. Mt. Tabor once an active volcano but is now merely a hill. Watch the gentlemen of Portland ride low bikes and skateboards down the hill as the sun sets.
Tools: AirBnB; serendipity.

10pm.
Try in vain for thirty minutes to call a cab from numbers off Google Search. (We still don't know if Mr. Taxi is real.) Default to dining at Sapphire Hotel, recommended by both your AirBnB host and a friend, a former seedy hotel that now probably has one of the better cocktail menus you have ever seen. Enjoy bacon-wrapped figs and perhaps a burger while your friend drinks the "You're not my real dad," a bourbon cocktail that comes with a cigarette.
Tools: word of mouth.

12am.
Take a walk down Hawthorne Street, recommended by AirBnB reviewers as being close to shopping and dining locales of interest. Consider stopping in and playing pool or drinking a beer at one of the bars. Walk past various closed shops and a group of 20-somethings sitting on an awning and drinking. Take the scenic route back along residential streets. Take some time to smell the flowers. Especially if it is summer, they will smell great.
Tools: AirBnB; serendipity.

Saturday.

11am.
Propose going to the Portland Saturday Market, recommended by Graph Search. Wait for Joe to veto this suggestion, saying that it is full of people from the suburbs. Have Joe instead take you for Vietnamese food at Ha VL in Southeast Portland. Be impressed by the fact that it is in a shopping complex full of Asian restaurants and that the other patrons are largely Asian. Did you know that the Vietnamese have pho for breakfast?
Tools: Graph Search; word of mouth.

1pm.
Take a walk around the Japanese garden, recommended by Graph Search, the Times, and most other travel itineraries for Portland. After you achieve a sense of peace, take in the beauty of the rose gardens, founded in 1917 and the oldest continuous operating rose garden in the United States.
Tools: Graph Search; New York Times; word of mouth.

3pm.
Get all natural, hand-crafted ice cream at Ruby Jewel, recommended by Joe. If you have enough appetite, try the salted caramel apple pie a la mode.
Tools: word of mouth.

4pm.
Do some shopping downtown at stores you serendipitously discover by wandering around. Tanner, Polar, and Yo! Vintage are all on the same block.
Tools: serendipity.

5pm.
Wander around Powell's Books, discovered by Graph Search as a highly recommended destination. The largest independent new and used bookstore in the world, Powell’s takes up a city block and has multiple sections, including ones for comics and rare books.
Tools: Graph Search.

7pm.
Discover Cacao Drink Chocolate while walking and take a hot chocolate break. Sample the hot chocolate espresso shot or a cup of melted single-origin chocolate.
Tools: serendipity.

8pm.
Dine on French cuisine at the Little Bird Bistro, recommended by the NYT as the more accessible alternative to the popular Le Pigeon, flagship of chef Gabriel Rucker.  Spend a leisurely couple of hours enjoying the food and cocktails.
Tools: New York Times.

11pm.
Imbibe local beers at  Eastburn, recommended by Joe for its proximity to Little Bird. Enjoy the wide variety selection of beers on tap, perhaps on the patio.
Tools: word of mouth; serendipity.

Sunday.

11am.

Have brunch at Woodsman Tavern, which you discovered on your way back from Broder the other day that a local called her favorite restaurant in Portland. On your way out, browse the snacks and sodas at the adjoining store.
Tools: serendipity; word of mouth.

2pm.
Ditch the original plan of going to Voodoo Donut, discovered via Graph Search, after a local tells you that it is "touristy" and a "last result." After failing to hunt down the donut truck that is supposedly the best source of donuts, pick up a snack at Blue Star Donuts before they run out for the day. (This usually happens in the early afternoon!)
Tools: Graph Search; word of mouth.

3pm.
Wander around the boutiques of East Burnside. There is Redux, recommended by the Times as an analog Etsy housing the work of over 300 artists. There are also fun surrounding vintage shops. In the way of designer boutiques there is Machus for mens's high fashion and Lille for lingerie.
Tools: New York Times; serendipity.

5pm.
Continue exploring downtown Portland. Walk around Pioneer Courthouse Square, recommended by Graph Search. Peer into some boutiques you passed by earlier but did not enter, such as Frances May.
Tools: Graph Search; serendipity.

7pm.
Dinner at Biwa, a homestyle Japanese restaurant recommended by the Times. Enjoy the yakitori (grilled chicken), handmade ramen and udon, rice balls, and sake.
Tools: New York Times.

Discussion.
It turned out that while Graph Search provided a nice initial preview of what Portland would be like, the New York Times and locals suggested higher-quality activities: those that were more highly reviewed on internet sites such as Yelp and by other locals. Serendipity is also a useful tool: finding one thing you like can help you find other similar things, either by walking around the neighborhood or by asking people there for suggestions. For all technology can do to provide new ways for people to interact, for purpose of travel it would do well to start by replicating these processes of consulting experts and exploring clusters of similar options. Since we already have sites like Yelp and TripAdvisor to allow people to do this with strangers, it will be interesting to see how Facebook Graph Search can allow us to leverage the social graph to improve upon this.

Wednesday, May 15, 2013

Facebook Graph Search as a Journalistic Tool

Facebook is becoming an ever-powerful stalking tool. The social network now associates users with not just profiles stating some facts about their status and interests, but also, among other things, with photographs, location check-ins, games, and "pages" corresponding to businesses, brands, and celebrities. Until recently, however, the only way to thoroughly stalk someone was to manually comb accessible photos, locations, and pages.

Then came Facebook Graph Search. Graph Search allows users to search Facebook data to which they have access. Not only is it now easy to find which friends, friend of friends, and friends of friends of friends live in each city in the world, but we can find out who is tagged in photos with whom, who has been to what location with whom, and what pages our friends are liking. Anything that gets posted can now be scrutinized by those with permissions to access.

Facebook has posited that this is potentially a useful tool for journalists. For the final project of the News and Participatory Media class I am taking at the MIT Media Lab, I decided to investigate this claim. As part of this endeavor, I wrote According to Graph Search: 36 Hours in Portland, Oregon, a travel piece written without much prior knowledge of the destination and researched solely using Facebook Graph Search.

In this post, I describe how Facebook could be useful for writing about lifestyle and recreation. I also discuss why Facebook and Graph Search may need to undergo some changes for it to be useful for topics with more political and policy implications.

What can I do with Facebook Graph Search?
Facebook Graph Search allows users to programmatically access information about data that other users have posted socially. The interface currently allows users to search photos, tagged people and locations, and pages that users have "liked." Example searches include:
  • Games that my friend play.
  • Restaurants in Cambridge, Massachusetts that people I work with visited.
  • Photos of Democrats and Republicans.
  • Friends of my friends of friends who live in Cambridge, Massachusetts.
This search capabilities allows users to search the activities of a specific person or the people associated with specific photos, locations, etc. Graph search allows me to discover that my friend Jane has been at the Grand Canyon either by searching Jane or the Grand Canyon.

Graph search currently only supports search over explicitly labeled data: user tags, location tags, and page tags. Thus it does not support search over status updates and "likes" of status updates. This is not a fundamental limitation of graph search: being able to search the contents of posts would require graph search to work on a much larger scale. Adding hashtags would allow users to be able to search based on dynamically generated labels. Supporting search over the content of posts would require crawling over post data in real time. This is at the cutting edge of search technology and probably more than we can expect from Facebook at this point.

There have been some concerns about Graph Search and privacy. Privacy by obscurity is no longer possible: users can no longer hide behind how difficult it is for other users to access information. Graph Search guarantees that searches will only search over what a user is allowed to see. Users are now allowed to see more information than was previously convenient to browse. For instance, a user can "hide" a photo in which they are tagged from their timeline, but it is possible for Graph Search to make this photo available to those with permissions to see the tags. Previously, a user would have had to go to the profile of the user posting the photo in order to discover it. While these problems are not fundamental privacy issues, we increasingly rely on Facebook to support and correctly enforce palatable policies on what data other users can search.

How useful is Graph Search for journalism right now?
Facebook Graph Search allows people to easily search people who may have useful information about an event or location. For instance, "People who have been to the Boston Marathon Finish Line." These searches can also be narrowed: "People I work with who have been to the Boston Marathon Finish Line." There is also potentially useful timestamp information, as users can see when a photograph or check-in happened. It is also helpful that Facebook users tend to list some basic demographic information publicly, for instance name, gender, and current city. Many users also publicly list educational and/or work information.

Graph Search provides a nice first pass for writing about locations and people. Facebook has "pages" that are essentially profiles for celebrities, businesses, brands, and other non-persons. Pages can be tagged in photographs and check-ins. Pages report the number of users that "like" the page, that have "checked in" to the location corresponding to the page, and that are currently "talking about" the page--either through a check-in, on the page's "timeline," or in a tag. Facebook also supports star rating and reviews for pages corresponding to businesses. These reviews tend to be much shorter than Yelp reviews, making it possible to get a wider range of opinions. The flip side of this democratization is that there is less filtering.

There are some open issues with using Graph Search for journalism. One obstacle is verification: determining the veracity of tags and identities. It also remains unclear what barriers privacy settings might impose on using Graph Search for journalistic purposes. Journalists using Graph Search must be careful to account for the fact that the cross-section of location, photo, and "like" data is skewed based both on who is sharing information: people in their social networks and also people sharing information publicly. It seems, however, that there is always such a bias in journalism.

Facebook and Graph Search are currently not well-suited for reporting on topics outside of lifestyle and recreation. For breaking news, people do not seem to post as much news on Facebook as on Twitter and there is currently no way to search by topic. Ever since Facebook allowed "public" posts, there is more information publicly available, so these seem to be more incidental issues. A major issue that remains, however, is the linking of user identity with posts. It is one thing to associate restaurant reviews with your identity, but for many, especially those in countries with more restrictive governments, it is another thing entirely to associate your identity with political opinions. Because it is more difficult to be anonymous on Facebook, Facebook will need to implement additional mechanisms--and ones that people trust--to feel they can share "serious" opinions with relative impunity. What prevents people from posting more political opinion outside of small trusted circles is a more fundamental issue.

On using Graph Search to write a travel piece.
As Facebook and Graph Search currently seem to be best suited for lifestyle pieces, I wrote According to Graph Search: 36 Hours in Portland, Oregon using primarily Graph Search to evaluate it as a journalistic tool. The only other source of information I used was Google Maps for learning about relative locations. I proceeded as follows.
  1. I looked at the results of the query "Photos taken in Portland, Oregon" to see what looked interesting.
  2. I looked at the pages associated with the locations tagged in the photos to learn more.
  3. I queried for restaurants, bars, night clubs, and coffee shops in Portland, Oregon to fill out the rest of the weekend. In selecting which activities to include, I looked at the average star rating assigned by Facebook users, how many "likes" and check-ins the place had, and the general sense I got from reading the description, wall posts, and reviews.
  4. To help order the activities in a sensible manner, I used Google Maps to plot the locations.
  5. To flesh out the article, I returned to the pages corresponding to the businesses and look at the wall posts and reviews for quotes. I also looked at the
  6. Whenever I used a quote, I looked up the profile of the user associated with it to see what other information I could find. Most users had their current city publicly listed. I did not go further to verify these details, but I suspect that reporters do not go much further in cases like this, where identities do not matter as much. 
I was surprised to produce weekend plan that I would be happy following. I was also surprised that so much information about people's opinions of businesses was available to me essentially publicly: I only came across one post from a Facebook "friend" and I did not end up using this information.While it would have been interesting to see what friends post, for journalistic purposes it seems better to search based on the less social aspects of Facebook data. An additional note is that while people made their opinions public, their profiles remained relatively private: I was not even able to see the current city of some of the users.

In comparing to the New York Times's version of 36 Hours in Portland, Oregon, I learned that I had the right idea with many of the activities (beer; karaoke; antiques; nature) but only overlapped with the Times writer Freda Moon on one activity, the Japanese Gardens. Since the "36 Hours" activities are fairly specific and a weekend is a short period of time, the lack of overlap is not surprising. The activities proposed by Moon are arguably more hip and sophisticated, perhaps reflecting the difference between the intended Times audience and the cross-section of population making public posts on Facebook. The curation of the Times is useful: there is less quality control when crowd-sourcing travel advice to Facebook.

In its current state, Facebook Graph Search is better-suited for writing a travel article than Twitter but not obviously better than Yelp or Google Maps/Places. Facebook has an obvious advantage over Twitter because it contains more information about users and links data from users with data about locations and businesses. At present, Facebook's advantage over Yelp or Google is that it lowers the barriers for Internet users to post opinions, thus decreasing the selection bias. Because of the relative youth of these features in Facebook, however, Yelp and Google currently have more reviews.

In the future, I could see Facebook surpassing Yelp or Google to provide more relevant personalized recommendations. It is incredibly powerful to have a system that associates user identities with demographic information with other activities such as "like" and check-in information. In the future, it will be easy to find people according to what they like and where they have been. It will also be easy to figure out what is popular among whom. If we could look at how star rating change based on different interests, locations, and other likes, we can get a precise idea of who is interested in what. This could make it possible to algorithmically generate travel suggestions tailored to the interests of each individual traveler.

A Future with Graph Search
As Graph Search matures, it is exciting to see how it enables journalists to write about people's preferences and opinions. I am curious to see how adding features like search through posts could make it Facebook more useful for reporting breaking news and public opinion on topics outside of lifestyle and recreation. In order to make people feel comfortable posting "serious" opinions on Facebook, however, Facebook will need to think about how to protect people's identities while allowing them to share information credibly.

Despite my affiliation with Facebook as a Facebook Fellow and former intern, the views I express in this post are 1) my own and 2) based solely on publicly available information.

Tuesday, May 14, 2013

According to Graph Search: 36 Hours in Portland, Oregon

Photo credits, clockwise from top left: The Portland Japanese Garden Facebook page; Powell's Books Facebook page; Ray's Ragtime Facebook page; LaurelThirst Public House Facebook page; Jesse Cornett via Facebook; Deke Dickerson via Facebook.

I wrote this piece as part of an experiment to see how much I can learn about a city primarily using Facebook Graph Search. I chose Portland because I have never been there, have only a vague idea of what the city is like, and have few Facebook "friends" who post about it.

The goals of this piece are twofold: to produce an act of journalism in the style of the New York Times's 36 Hours series on weekend trips and to evaluate hypotheses about the viability of Facebook Graph Search for journalistic purposes. I wrote this article using leads obtained solely information from using Facebook. I used Google Maps for validating locations and for clustering sighseeing of nearby locations. After each activity, I have a brief note on how I discovered it.

Some questions to think about while reading this piece are as follows. How might my social network be biasing the article? How might the population of active Facebook users be biasing the article? How are these biases different from the usual biases of journalists? What information is missing if we look only on Facebook? For comparison, you may be interested in reading the New York Times's version of 36 Hours in Portland, Oregon.

FRIDAY

4 p.m.
Start your weekend at Powell’s City of Books, a popular book store, coffee shop, and tourist attraction liked by 17,204 Facebook users. Over 66,740 Facebook users checked into this book store and 374 are currently "talking about" this "bibliophile's dream." Portland resident John Stephenson says, “I know some folks that should live here simply for this one store.” According to Nicole Bell of Oregon City, “Everything and Anything to read is right at your Fingertips.” Portland State student and National Guard member Bobby N Marci claims this is her favorite place on earth. Those who "like" Powell's also "like" the author Haruki Murakami and advice columnist Dear Sugar from the online literary magazine The Rumpus.

I discovered this by searching "Shopping & Retail places in Portland, Oregon."

7 p.m.
Grab a burger and a beer at the Deschutes Brewery, a Pearl District destination liked by 2,954 Facebook users and visited by 33, 392 users that combines Northwest culture with a Scottish Pub feel. Deschutes has 18 taps featuring, in addition to the mainstays, seasonal and experimental beers developed and brewed on site by Ben Kehs. Vancouver, Washington resident Steven Venetta says this is his "favorite place to go out to eat/drink in Portland." For food, Venetta recommends the elk burger; for beer, he recommends Abyss, Hop Trip, and Green Lakes. Facebook user Charles Replogle raves about the gluten-free menu and reports that there is a "TASTY" gluten-free microbrew on tap.

I discovered this by searching "Restaurants in Portland, Oregon."

10 p.m.
Go for drinks and karaoke Alibi Tiki lounge, liked by 2,109 Facebook users and visited by 14,402 users. According to Los Angeles musician Deke Dickerson, Alibi is a "national landmark" frequented by "young hipsters" that "retains enough local flavor to be the real deal." Locals and tourists alike seem to be enthusiastic about the karaoake and the tiki aspects of this lounge. Cornelius, Oregon resident Geoffrey Waggoner recommends the "Luau Pork Sammich," calling it “orgasmic.” Regulars like to post on the Facebook page when they plan to go for, in the words of Portland resident Jessica Boyd, "sexy singing times."

I discovered this by searching "Photos taken in Portland, Oregon."

SATURDAY

10 a.m.
Spend a leisurely few hours at the Portland Saturday Market, liked by 68,158 Facebook users and visited by 53,966 users. In operation since 1974, it is our nation's largest continually operating outdoor arts and crafts market. At the artist's booths, you can not only meet the artists but witness the creation of one-of-a-kind pieces. You can pick up breakfast and lunch from the exotic food offerings while enjoying the live music. Facebook fans rave about everything from the food to the live clothing to how the market is a “great place to take pics.” According to several Facebook fans, this is the one destination they do not miss during visits to Portland. But be careful: Matthew Futrell of South Carolina cautions against “beggars and cigarette bums.”

I discovered this by searching "Photos taken in Portland, Oregon."

2 p.m.
Take a relaxing hour or two to enjoy a stroll through the beautiful hills of the Portland Japanese Garden, liked by 14,776 Facebook users and visited by 25,893 users. The garden has been proclaimed the most authentic Japanese garden outside of Japan. Facebook fans like the "peace" and "perspective" that a walk through the garden provides. Those who like the garden are quite enthusiastic about recommending it to others. Federal Way, Washington resident Lance Ferrell says, "I would make a special trip to Portland just to see this."

I discovered this by searching "Photos taken in Portland, Oregon."

4 p.m.
Grab a snack at Voodoo Donut, a vegetarian and vegan restaurant liked by over 107,000 Facebook users and visited by 141,100. According to US News and Travel, Voodoo is among America's best donuts. Alaska resident Lori Campbell high recommends the maple bacon donut, saying she hand carried it all the way back to Anchorage, Alaska. Brandon Krenzler of Pendleton, Oregon says, "You'll not find doughnuts like this anywhere else" and calls Voodoo a "Keep Portland Weird classic."

I discovered this by searching "Photos taken in Portland, Oregon."

5 p.m.
Take a stroll along the Portland Waterfront and surrounding areas. Watch people play with their dogs in the Waterfront Park, walk by the Portland City Hall, and make your way to Pioneer Courthouse Square, liked by 8.248 Facebook users and visited by 50,512. In this city park there are shops, there is food, and there are people. There are public movie showings. This next month, Weezer is coming for a free concert. According to photographer and Independence, Oregon resident Ryan Zeigler, this is the "REAL center" of Portland.

I discovered this by searching "Photos taken in Portland, Oregon."

8 p.m.
 Rest your feet at Portland's historic non-profit Hollywood Theatre, liked by 5,199 Facebook users and visited by 1,348. According to the Facebook page, it was built in 1926 and has "beer, wine, pizza, and the best popcorn in Portland." It has hosted vaudeville shows, silent films with live orchestration, and more. Facebook fans are enthusiastic about the theater's "personality," its popcorn, and its film selection. Vix Standen of Kingston upon Thames writes, "the hollywood is the best cinema in the entire universe. the staff are beautiful, the 'corn is delicious, the seats are super comfy and, most importantly, the film selection is always rad."

I discovered this by searching "Photos taken in Portland, Oregon."

11 p.m.
Check out local live music at the LaurelThirst Public House, liked by 2,241 Facebook users and visited by 4,463. According to Ben Waterhouse in the 2011 WWeek bar guide, "The leaders of the city's bluegrass, folk, old-time, gypsy jazz and Americana scenes, plus various combinations thereof, can be found every night at this entirely kickass bar. I've never seen a bad show here." According to bar's Facebook page, there is live music every day and twice a day Wednesday through Sunday.

I discovered this by searching "Night clubs in Portland, Oregon."

SUNDAY

11 a.m.
Have brunch at Tasty n Sons, liked by 4,236 Facebook users and visited by 20,327. Tasty serves "Toro Bravo style brunch" with a menu that changes based on seasonal variations, local farmers' produce, and the kitchen crew's inspiration. Patrons are excited about, among other things, the bacon-wrapped dates, cauliflower, and lamb sausage. Carl Brochu of Renton, Washington recommends the bloody Mary. Anna Va writes that Tasty served her the "best and most memorable food I've ever had."

I discovered this by searching "Restaurants in Portland, Oregon."

1 p.m.
Relax in Wilamette Park. When you are ready, try stand-up paddle-boarding on the Wilamette River, renting boards at Gorge Performance.

I discovered this by searching "Photos taken in Portland, Oregon" and then trying searches involving "Wilamette."

4 p.m.
Get a cup of coffee at the Coffeehouse Northwest, liked by 567 Facebook users and visited by 1,153. Portland resident Jon Powell admires the “little patterns in the mocha,” saying it is “like a dream.” Portland residents Leah Flores and Michael Jensen say this is their favorite coffee shop in Portland. Nicholas Walton of Corvallis, Oregon comments on the "beautiful space" and "beautiful equipment." Shem Ishler of Minneapolis, Minnesota says the coffee is “the way it was meant to be."

I discovered this by searching "Coffee shops in Portland, Oregon."

5 p.m.
Go vintage shopping at Ray’s Ragtime, a vintage shop featured on LA Frock Star. According to the Facebok page photos, the store features clothing across the decades, jewelry, masks, books, dolls, and other collectible items. Portland resident Victoria Taylor says that this is “one of her favorite all-time stores.”

I discovered this by searching “Photos taken in Portland, Oregon.” 

Have fun! And in case you are curious, I reflect on this experiment using Facebook Graph Search in this post, Facebook Graph Search as a Journalistic Tool.

Thursday, April 11, 2013

On Choosing Between Good Schools

I have been talking to many people recently about choosing schools, both for undergraduate and graduate education. Here is a compilation and elaboration of what I have been saying. It is important to read the last point so you can appropriately discount this advice!

Note that this advice is for the last stages of the decision process. For some more substantive advice about doing the research to get to this point you may want to read my blog posts on school visits and choosing schools/advisors.
  • Don't assign yourself too much responsibility for deciding your life outcome. Do your research and all about what's good and bad and what's a good fit, but remember that there are many things out of your control. For undergrads: you might find that you are interested in completely different fields from what you expected. For grads: your advisor might transfer; you might transfer; you might decide to do research in an entirely different area; you might decide to drop out. It's good to plan but always remember that if you over-optimize for your current life plan while screwing yourself over with respect to all other possible futures, you're probably doing yourself a disservice.
  • Look at what people are showing rather than telling. It's easy to become convinced by schools telling you how great they are, especially according to metrics they have designed to make themselves look good. In addition, professors can be really awesome, but how great someone is on paper or during a short interaction is not necessarily indicative of how your life will be like working with them. Look at the senior students in a program and ask yourself and them whether they represent what you want. What resources have they had access to? What are they going to do with their lives? Are they happy? Are you impressed with how smart they seem? Are you impressed with the work they've done? Are you impressed with the people they have become? Ask about past students to help with extrapolation.
  • Go with what you're in love with. We are governed by our emotional selves. In some cases you will have a gut reaction. You should pay attention to that gut reaction. If you really want to be somewhere, even if can't put your finger on why, you will be fine doing more work (for instance, having a lower standard of living or taking on a heavier courseload) to make that happen. If you only like something on paper but can't become emotionally invested, it's going to be hard work.
  • If you're not in love with anything, then the choices probably aren't that different. If you've done the research and there are a bunch of choices that are the same to you, flip a coin (or roll an n-sided die). Yes, your future will be different based on the choice you make but in most cases there are multiple parallel universes in which you develop into different versions of yourself but are happy. At this point you're not going to screw up your life with any of the choices. It's about making a choice in such a way that you won't keep wondering what would have happened had you made another choice.
  • Nobody (reasonable) will hate you for not choosing them. This doesn't matter at all for undergrad, as you might expect, since nobody is really keeping track. As for grad school, I still keep in touch with many of the professors at schools where I didn't go: I am friends with many of them on Facebook and we say hi at conferences. I found my current advisor because I had talked to his advisor at Berkeley and ultimately decided not to go there because I liked the cultural fit of MIT better. (It helped that I communicated that I had decided go elsewhere for reasons of cultural fit rather than research fit.)
  • Beware of advice. A professor once told me once that during her assistant professorship she stopped taking advice because it was all "highlights and wishful thinking." People tell you a lot of things but you have to remember that our world views and value systems are different from yours. And before you know what you want it's useful to ask people what they would do, but remember it comes with the context of what they wish they had been told.
The important thing to remember is to have fun. Nothing is so important and life is all about what you make of it anyway.

Saturday, March 16, 2013

The Longest I Ever Sit Still

At the end of 2012, after months of extreme travel, extreme work, and extreme play, I craved balance. When I went home for the holidays I dusted off the copy of Zen Flesh, Zen Bones pretentious teenage-me had bought and never read. This inspired me check some boxes related to Buddhism and spirituality on Meetup. Next thing I knew, I was confirmed to attend my first meditation sit at the Cambridge Zen Center.

As with everything else in my life, I approached this activity with enthusiasm and inadequate preparation. On the day of, I arrive at the Center a few minutes late for my newcomer orientation. "Hello!" I shout. "Welcome," the instructor replies in a softer, calmer tone. There are two of us starting that day. The other, a good-looking professionally-dressed man some age between 22 and 35, seems to have been there for a while. We are so focused on pretending we have read the preparatory materials (or maybe that's just me) that we do not even look at each other.

The instructor takes us into the room, large with large flat cushions on hardwood floors, and explains the sequence: bowing, chanting, walking meditation, a 25-minute sit, more walking meditation, and a 20-minute sit. The sit occurs on cushions in a cross-legged "lotus" position. He recommends that we meditate by counting our breaths to ten in a continuous loop. We are to notice our thoughts as they "come up" but not to "hold on" to them. I note that this is will probably be the longest I have ever been still.

The veterans join us and we begin. The bowing is fine: like yoga but with less lunging. The group chanting is fine: like middle school music class but without the singing. The walking meditation is even fine, though I keep wondering if I am doing it right. I find all this enjoyable, calming, comforting. Then comes the sit. The first long sit is... intense. Here is are some of the thoughts and questions that "came up" for me, punctuating more serious thoughts about fear, love, and everything else.

"I am terrified."
"What if I fall asleep and fall over?"
"What if I accidentally yell?"
"I can focus on both counting and thinking. Shit, that's not the point."
"How do I know if I'm meditating?"
"My leg is falling asleep. What if I fall over?"
"How do I keep from falling asleep?"
"How should I be feeling?"
"I wonder if other people are falling asleep too.
"I hope this is not a cult*."
"I still don't know what it's supposed to feel like."

Fortunately, finally, the instructor rings the bell indicating the end of the first session. As my legs have fallen asleep, I spend the subsequent walking meditation focused on not falling over. My legs do not fully regain circulation until it is time to begin the second sit. Here are some of my thoughts during that.

"How am I going to do this again?"
"I am less scared now."
"I wonder when this is over."
"If I count more slowly, time will go by faster."
"My leg is falling asleep again. This means this session must be over soon."
"I really want this to be over!"
"I wonder if I fall asleep, this will end faster."

The instructor rings the bell indicating the end of the second sit and I run out the door. It was a strange feeling, the feeling of having accessed thoughts and feelings that in normal consciousness you have pushed away and never expected to see again. If doing yoga is, as my instructor says, like reaching into the "garage of your feelings," meditating is like spending time in the second secret attic of your mind. So this is what I think about when I am not actively thinking: wow; yikes. I felt the way I do after finishing a major deadline: simultaneously drained and hyper-alert.

In the months to follow, as I have gone to meditation more times, I have slowly been able to let go of the meta-thoughts and focus more on settling into my mind. These long sits have become less draining and I would like to think that it has improved my focus and my sense of well-being. During one of my most recent sessions, towards the end of the second sit, I was even able to enter into a rhythm where I did not actively think about anything and simply existed. ("Was this meditation? Is this how peaceful people normally feel?" I wondered.) I have also been working on the issue of falling asleep: when I asked a Zen teacher about how to stop, he said that fatigue is just another feeling that arises, the same way anger may come up for someone else. This has taught me to notice and honor the exhaustion that I thought I could suppress.

My goal is to eventually meditate every day. (If both Zen teachers and CEOs recommend it, there must be something to it.) I am still a long way from my goal, but if there is one thing meditation has taught me, it is to be patient with my mind and not to force anything.

* In a previous attempt to become more spiritual, I accidentally almost joined a cult.

Friday, February 01, 2013

Life without Wine, Whiskey, or Even St. Germain

I used to be deeply suspicious of non-drinkers. I assumed that everyone who categorically refused alcohol (who was neither a Muslim nor a former addict) was using their sobriety to guard at least one sordid secret.

Then months of deadline pressure, frequent timezone switches, coffee, and alcohol left my stomach in rebellion. After eliminating the other offenders one by one, I realized that I would have to stop drinking--at least for a while. Two months later, I am grateful to my body for forcing me to abandon what I thought were reasonable habits. It has been enlightening.

It was not that I was a heavy drinker. I would order a drink with everyone while dining out; I would have a few drinks out dancing or at a party. And if I was meeting a friend for a drink, of course I was not going to sit there and awkwardly drink nothing. Drinking was an important part of my life: not only did it enable me to participate in fulfilling social activities, it was a relaxing activity. Or so I thought.

I have discovered not drinking to help me have more fulfilling interactions with others: it forces me to be honest about how much I am enjoying myself. A small amount of alcohol can go a long way to mask the intolerable: a dull conversation partner becomes fascinating; 4 A.M. feels like 10 P.M. During the first nights out without alcohol, everything felt boring and exhausting. I spent a few weekends avoiding social situations--I was "too tired," "had other plans," or "might be out of town"--before I realized that I was going to need to learn to socialize sober. Since then, I have learned to enjoy myself in many situations where it seems like everyone else is drinking: karaoke nights, parties, and even New Year's in Montreal. If I am bored, I find a more interesting conversation topic or partner. If I am tired, I leave. There remain some situations that are unbearable without the appropriate anaesthetization: for instance, when people are sloppily falling over and spilling drinks on me. But this is not a situation I should be enjoying anyway. Sobriety provides a good barometer for determining when the night is over for me.

Being sober has also allowed me to explore other, more long-term sustainable, methods for relaxation. Well before I stopped drinking, I read that frequent alcohol use can cause or worsen anxiety and depression. While this idea caused me some amount of anxiety, I assumed my alcohol use was sufficiently infrequent to avoid this. I was convinced that the edginess I felt after a night of drinking was caused by sleep deprivation and stress from other parts of my life. If anything, drinking helped with that stress. When I stopped drinking, however, that edginess went away. After a late night out sober, I might feel tired or stressed from the week, but no longer that anxious buzz. In addition to helping me feel happier, sobriety has created space for more relaxation. I now have more time, money, and presence of mind for cooking, yoga, and meditation.This has increased my overall happiness and wellness.

To alleviate the some fears of those considering non-drinking: the most surprising thing has been how little it has changed the structure of my social life. Fortunately, it turns out that most people are less suspicious of non-drinkers than I had been. It helps to be with people who will not pressure you to drink. (But what kind of real friends would pressure you to drink after you tell them you stopped for "health reasons?") There is also no reason to tell people you are not drinking--and default assumption is that you are. Most people do not ask you the exact contents of that glass of water, ginger ale, or soda-and-juice concoction. (Nicer lounges often have delicious non-alcoholic cocktails. The other day, I had a lovely Sprite-based beverage with pomegranate and pineapple juices.) I have also come to enjoy talking about alcohol with my non-drinker friends: it is validating to discuss the benefits of not drinking and strategies for staying sober among drinkers.

I do not plan to categorically swear off alcohol forever: I miss my St. Germaine gin cocktails; I miss tipsy philosophizing over whiskeys neat. I expect, however, that when I do drink again it will be a far more infrequent indulgence. I have become too aware of the tradeoffs.

To my fellow alcohol-loving friends: you do not have to become an alcoholic or pregnant to stop drinking! Try it for a while. You might find that you like it.

Friday, January 25, 2013

The Problem with "Mansplaining"

The "mansplaining" meme, which captures the phenomenon of men being patronizing to women in conversation, is trending on the internet. There is a Tumblr here; a Hillary Clinton meme there. While it is good that women are speaking out about sexism, there are some issues with using the term "mansplaining." Not only does it distract from the real problems, it also perpetuates behaviors that prevent progress. Allow me to mansplain.

The term "mansplaining" conflates two issues: that men tend to explain things in a manner that may be interpreted as patronizing and that people explain things to women with the assumption that they are ignorant. The first can largely be explained by conversational differences between men and women: in Talking from 9 to 5, Georgetown sociolinguist Deborah Tannen discusses how in conversations, (American) men tend to seek a dominant position, while women tend to prevent the other person from taking a subordinate position. Men also often use knowledge (for instance, statistics about sports teams) to establish this dominance. It is no wonder, then, that conversations between men and women often end up having the man explaining things in a condescending manner to women. Rather than mocking men, it is more productive to create awareness of these conversational differences. Men can use this awareness to be more careful when talking to women (or anyone else from a culture where establishing dominance is not the norm) and women can use this awareness to perceive the situation differently (for instance, be less offended or intimidated) when talking to men.

Because it brings in stereotypes about men vs. women, the "mansplaining" distracts from the real issue: that people are often condescending to women. In Why So Slow?, psychologist Virginia Valian explains that this often because of statistical bias. Using heuristics to make snap judgments is how we are able to effectively deal with overwhelming amounts of input. Using these same heuristics is often why people (men and women) assume women are less capable. Especially in technical fields, there are fewer capable women. Thus, given any specific woman, she is more likely to be ignorant than knowledgeable. Thus a reasonable snap judgment is to assume that a woman knows less than she does. Fortunately, we can second-guess our snap judgments. Awareness can again mitigate this problem: if we know we are likely to make a snap judgment that is wrong, we can be conscious of these situations and adjust our judgments accordingly. In overcoming snap judgments, it also helps to focus on specific attributes of a person instead of whether they are a man or a woman.

The term "mansplaining" perpetuates this gender-based statistical bias by focusing attention on the male gender rather than the behavior. The fact that this term exists makes it more likely that people will assume someone is "mansplaining" simply because he is a man. This is not productive for men who may be trying to overcome "mansplaining" tendencies. It increases the chances that the other person will dismiss what the "mansplainer" is saying outright, giving him less opportunity to practice having conversations with people who may not be accustomed to his dominance-seeking style of speaking. Also, the term "mansplaining" distracts from the fact that women can be sexist and condescending as well.

The "mansplaining" meme has been useful for raising awareness both about the tendency of men to come off as patronizing and the tendency of people to be condescending to women. But it distracts from the real problems and perpetuates gender-based bias. To work towards a solution for productive cross-gender conversation, we should focus on specific behaviors rather than gender stereotypes and on listening rather than on pointing fingers.