Thursday, December 16, 2010

Romania Road Trip

The long-awaited post on my October trip is finally here.

High-level Synopsis.
I tagged along with my friend Florian on the tail end of a Balkans road trip and then spent a few days in Vienna. The itinerary included Serbia (2 days), Romania (5.5 days), Hungary (1.5 days), and Austria (4 days). The Romania portion involved a lot of driving with my German friends Florian and Lorenz. The Austria portion involved a lot of running around Vienna being loud and American with my friend Kate. (Balkans-related photos here; Vienna photos here.)

The Trip.
I started by meeting some German students in Belgrade, Serbia, where they were stopping during their Balkans road trip. The eastern Europeans in the group introduced me to the meat-eating culture: I broke my no-red-meat principle to sample the ćevapčići and pljeskavica. (If you go, make sure to have burek for breakfast, too.) Belgrade is intense: people party hard amidst remnants of the NATO bombing in the 1990's. (We went to a really cool club in an abandoned building.) Our Serbian friend described the culture as "People live like there is no tomorrow."

After a couple of days in Belgrade we made our way to Romania in Florian's parents' minivan. We passed the Serbian town of Golubec, where we drove past a medieval fortress. It was not sufficiently satisfying to just observe the fortress from the road, so we scaled the side of the fortress to get to the top. The dopamine high from fearing certain death throughout the treacherous climb led us to instate the tradition of having one adventure per day. The most dangerous adventures may have involved the other road trip participants going to sleep while I drove in the night.

Our first Romanian destination was Targu Jiu, where we found a place to eat by asking some pedestrians and where we found a hotel by driving to a street where we thought there might be hotels. (The first hotel was too expensive, but they pointed us to a more reasonably priced one.) There I learned about the sculptor Brâncuşi, who walked to Paris to meet Auguste Rodin (of "The Thinker" fame) and then turned down an invitation to study with him, saying "nothing grows in the shade of a tall tree."

After Targu Jiu we spent a few days in the city of Sibiu, which has beautiful churches and other architecture. We drove out to some locations including a fortified church, the medieval town of Sighişoara, and Vlad Dracul's castle. We were particularly haunted by the village of Hunedora, which housed the ruins of a beautiful castle alongside industrial ruins from the Communist era. In the midst of all this were these ornamental gypsy houses decorated with tin with begging gypsy children all around. We exited Romania by way of Timișoara, the most modern city we visited in Romania. There we saw the rose garden, many churches, and Piazza Unirii, a beautiful square. We are not sure why, but we witnessed at least 3-4 weddings in the day we were there.

On the way back to Vienna we drove through Hungary without a map or idea of where to eat/stay. We drove toward Budapest, stopping in the city of Szeged for dinner. We again asked some pedestrians for a dinner recommendation but ended up going to an amazing restaurant on the recommendation of a friend of a friend. There we tried the local specialty, carp soup (the Hungarians love their paprika), while listening to live traditional Hungarian folk music. We then had a bigger adventure in Budapest, where we drove the streets trying to find a hostel from Florian's memory of his last visit there ten months previously. Budapest turned out to be much more of a hot spot than the Romanian cities: the first two places we tried had no vacancies. (It turns out that it is currently trendy to go to Budapest, Prague, and Vienna on the same trip.) We spent most of the next day relaxing in the geothermal baths (which had a surprisingly large and varied selection of baths, saunas, and steam rooms) before heading back to Vienna.

In Vienna I met my friend Kate and we did the standard tourist activities. On the first day (which was also my 24th birthday) I had half a day before Kate arrived, during which I walked through the quarters, got acquainted with a a live Mozart statue, visited the Mozarthaus, and walked into an amazing artist's studio because I liked the way the paintings looked. Kate and I spent our time hanging out in cafes and palaces. We proudly represented America by loudly saying "RAWWR!" (see photo from the Pratersauna, a club in a former sauna) whenever there was doubt as to our origins. All in all, Vienna was as (everything had a curlicue or flourish) as expected.

Reflections.
The driving was quite memorable. There is no interstate highway system in use, so we drove through the main road, which most often had two lanes and passed through the centers of villages. Driving was not as fast as expected given the 60 km/h speed limit, the presence of tractors, cows, and baby carriages, and the difficulty of passing slower vehicles. Night driving was particularly exciting because there were no lights and many exciting curves marked with multiple glowing arrows. Florian often drove the day shifts because of his love for the "national sport" of passing cars. As a result the bulk of my driving experience to date has involved night driving in the Transylvanian woods. I am surprised we are still alive.

I loved Romania a surprising amount. The countryside was beautifully natural: for the first time I observed someone cutting grass with a scythe. On one drive we encountered the most breathtaking sunset I have ever seen. It was also interesting going through Romania during an off tourism season because there were no lines and also no special performances for tourists. I am really glad I went to Romania before it became more modernized (and before there is an interstate highway).

A final important thing I learned on this trip is that you can travel in luxury with carry-on luggage using do-it-yourself travel size containers.

Saturday, September 04, 2010

The Art of Taking Breaks

The serious runners I know take one day off from running each week and alternate training and rest days. Most runners who race also understand to taper: easing up before a race so that your body can heal and reap the benefits of the training. Good coaches teach runners to honor the limitations of their bodies and to take precautions to prevent injury. Given the high injury (burnout, loss of inspiration, apathy, etc.) rate in academic programs, professors should preach analogous rest-based approaches to academic challenges.

I could have used such advice, as I certainly did not appreciate the value of mental breaks for most of my life. My first two years of college were governed by a rigorous schedule of studying, eating, sleeping, and light socializing. I did not realize how extreme my lifestyle was until my friends Jeremy and Marianne suggested that I do some activity with them as a break the night before a big exam. I looked at them blankly. I did not take breaks longer than 15 minutes.

Fortunately, I have moved away from such a regimented lifestyle with such short breaks. After my work came to require more creativity and after reading articles about daydreaming gives our brain critical downtime for our creative processes, I came to appreciate downtime. A repetitive stress injury and my measures to recover (yoga, taking more time off) have taught me that stepping away from my work can help productivity. I have also started taking breaks from from digital devices altogether. (There is a nice NY Times article about how digital devices are not conducive to rest.) My experience has shown that small breaks can be immensely helpful for productivity.

As a move from mental sprints (short deadlines and well-defined tasks) to mental marathons (the long deadlines and ambiguous tasks of my Ph.D.), my next conquest goal is the art of the extended break. After speaking with some friends who went on meditation retreats, I looked into doing one and discovered that the required length for a first retreat was a few weeks. This had seemed like blasphemy: I had not been away from e-mail for longer than a a couple of days since graduating high school. I have since come around to the view that the brain's rest process cannot be rushed: if you need a mental break, you should accept the time that your mind needs to recover. The solution to feeling overwhelmed by tasks at hand may not be to slog through and face them unproductively, but to step completely away and return when ready.

In the last few years, I have come to the view that practicing Frederick Taylorism (maximizing productivity according to a greedy algorithm) on my life only works with small, well-defined tasks. If I am pushing your mind to its limits, strategically resting (for possibly long periods of time) can take me much further.

By the way, Cal Newport has a related post on Study Hacks where he advises students to do less so they can enjoy what they do more (and thus be better at it).

Monday, August 16, 2010

America's Unnecessarily Crowded Prisons

I read this column by Neal Peirce about how America locks up all kinds of people for unnecessarily long periods of time. According to Peirce and his sources, people caught for street drug trafficking and heck, even importing orchids without properly doing paperwork are thrown into jail alongside rapists and murderers. Peirce does a nice job of highlighting the present problematic situation.

Sunday, August 15, 2010

Friendship Among the Self-Reliant

My college roommate Marianne sent me this Wilson Quarterly article by Daniel Akst calling for Americans to value friendship more. We are more disconnected from each other than ever before: though half of American adults are unmarried and over a quarter live alone, we have only one third the number of non-family confidants than we did two decades ago--and a quarter have "no such confidants at all."

In the article, Akst provides hypotheses for why friendship has become so weak. A major reason is the rise of false friendship: University of Chicago psychologist John Cacioppo say that Americans are lonely "not because we have fewer social contacts, but because the ones we have are more harried and less meaningful." Other factors include the tendency for people to buy what they need (therapy, pets), the "cult of busyness" (people are too busy to develop meaningful intimate relationships), the culture's "reverence for self-sufficiency," the "remorseless eroticization of human relations" (providing a context where "bromance" is a legitimate concept), divorce, and the "wildly inflated view of matrimony to subsume much of the territory once occupied by friendship."

I particularly like the way Akst addresses the phenomenon of viewing one's significant other as the one-stop shop for social needs. He writes, "Your BFF nowadays—at least until the divorce—is supposed to be your spouse... except that spouses and friends fill different needs, and cultivating some close extramarital friendships might even take some of the pressure off at home."

This article provides an excellent reminder for us not to let work or a significant other distract us from developing meaningful friendships. Sadly, too many people forget that friends are important for providing stability and happiness.

Tuesday, August 10, 2010

Guided mental conditioning

As I've gotten bored in my ten-year relationship with running, I have been exploring various group workout options. Participating in instructor-led workouts has been surprisingly good for improving my mental strength.

My latest activity is an indoor cycling class I do 1-2 times a week at the Pro Club, the swank gym where Microsoft gives us a virtually free membership. For those of you unfamiliar with these classes, they have an enthusiastic instructor on a bike telling us to work harder so we can give it our all when we're chasing Lance Armstrong up the last hill in the Tour de France. It's somewhat goofy of me to do indoor cycling when I haven't used my bike for over a year, but I love the intensity of the workouts. Each class the instructor leads a different workout: there have been various hill workouts and interval ones. The instructors have been surprisingly good at getting me to push myself: they tell us how our body should be reacting to each resistance/cadence (breathing should be heavy, heart rate should go up in the first 10 seconds, etc.), they don't tell us in advance how many intervals are left, and at the end of the intense parts they emphasize how little time is left ("Twenty more seconds! Give it all you've got!"). It's kind of like having a coxswain--in fact, these workouts are quite similar to the machine workouts I used to do on the crew team*. Some of the workouts have been, as one instructor calls it, "quite a head trip" because they require so much focus on exerting power while maintaining form. I leave many workouts barely able to walk--it has been a while since I have been able to push myself to run this intensely.

This summer I have also continued doing heated power yoga 3-4 times a week. I have been doing baptiste yoga at Be Luminous, an amazing (and amazingly Lululemon-land**) studio by the Westlake Whole Foods. Not only do the instructors lead physically intense yet fun workouts, but they also pay attention to precision of alignment and the mental aspects (focus on breath, being present) in a way that leaves me feeling incredible afterward. The instructors coax us to push our limits by describing the physical beauty of the poses and the intensity we should feel. Yoga tests my focus in a very real way: if I lose my concentration, I will likely fall out of a pose. I leave the studio feeling mentally and physically cleansed.

Both cycling and yoga force me to be in the moment and focus on the physical: the combination (along with some moderate running) has kept me (arguably) sane after long days of reading bytecode***. I encourage skeptics to try out such "group fitness" activities--other people can get you out of your head much better than you can.

* I used to row crew, where the coxswain is the person who tells the rowers how quickly and how hard to stroke.
** My fellow yogis are rather well-dressed in high-end yoga gear as a result of what I call the "yoga arms race." Each age group of people sees people 10 years older (and 10 years wealthier) looking better than they do, so they spend more on flattering spandex.
*** Coconut juice has also been a key factor.

Monday, August 09, 2010

Morality TV

As I have recently gotten more into reality TV*, I have been pleasantly surprised/amused by how it has made me realize I could be a better person.

The most fascinating of the bunch, in a trainwreck/rubbernecking way, is True Beauty, a show where contestants are secretly judged on their "inner beauty." This season the premise was that the contestants were competing to be the "face of Vegas." While they are competing in challenges revealed to them (being voted the best tour guide on a bus tour, shooting the best ad for a restaurant wearing only food, etc.), the contestants are also being judged on their performance in hidden challenges (opportunities to steal, cheat, help someone, etc.). I initially felt somewhat dirty about the voyeurism of the show and about the hypocrisy of the judges (and the show itself!), who make fun of the contestants for not being nicer people. Human nature compelled me to continue watching, and though I found some of the criteria for evaluating inner beauty to be questionable (preferring sins of omission to sins of commission, etc.), the show made me realize how much nicer I could be. By the end the judges were splitting hairs--it came down to things like who threw a temper tantrum under pressure vs. who talked about other contestants behind their backs. I was impressed with some of the contestants' niceness despite being under the pressure of being on a reality show for weeks. It was refreshing to see diva behavior not being rewarded**.

Another show that is actually quality is What Would You Do?. In this show they set up hidden cameras at the site of various social experiments and see how onlookers react. For instance, they have someone stealing a bike and vary the gender and race. (When a beautiful blond woman steals a bike, everyone offers to help, even when she says it is not hers.) Some other scenarios include a girl at a bar being taken away by a stranger, shoppers who are the victims of racism, and a lottery ticket holder who is cheated by the store owner. For each scenario, they have interviews with academics who study the particular situation at hand, people who have been involved in similar real-life situations, and the people who walked into the hidden camera experiment. This show does a great job of making people aware of situations they should be aware of and providing some guidance on how to properly react. (For instance, it's important to speak up if you see a girl who you think may be assaulted because she could be killed.) Since this show is more serious and less flashy than True Beauty I have, unfortunately, only watched two or three episodes. (But don't let this stop you!)

While we're on the subject of reality TV, I would like to briefly discuss this season's The Bachelorette, starring Ali Fedotowsky. To paraphrase one of my friends, it's amazing: this woman is dating (at least, initially) 20+ guys and managing them well. Yes, the show can be cheesy and they sometimes cut the footage in a groan-inducing way, but the way Ali forms and maintains relationships with these men is quite interesting. (This is what courtship looks like when it's not through IRC!) I have gotten some of my friends hooked; I encourage you to check it out if you haven't already.

So... If you are waiting on work/e-mail responses for me, I have been hiring my, um, proxy to watch and summarize these shows for me. ;) (Okay, I need some form of entertainment while cooking, right?)

* Note that my relationship with TV is fairly new; at the end of the spring I was confused that the shows I watched were no longer on. (For those of you less aware of real life than I am: TV shows come in units of seasons.)
** But it's predictable that reality TV would have come to this. Rubbernecking in the lives of angry, unbalanced people has become so ten years ago.

Sunday, July 04, 2010

Lindau Nobel Laureate Meeting 2010

I just returned from 60th Nobel Laureate Meeting for chemistry, physics, and physiology in Lindau, Germany. What a week!

The Lindau meetings provide a way for Nobel laureates to pass on advice and inspiration to young researchers. In 1951, Count Lennart Bernadotte became the patron of a meeting that included 7 laureates, 400 doctors, and 70 students. This year, Count Bernadotte's daughter Countess Bettina Bernadotte presided over the meeting of 59 laureates and 650 young researchers. The group of young researchers was quite diverse, with 171 from Germany, 94 from the United States, 36 from China, and representation across many other countries. The program consists of four days of morning lectures followed by parallel sessions of afternoon talks, panels, and discussions. The meeting provided a stimulating atmosphere to reflect upon how to solve society's big problems.

Through talks, discussions, and panels, the Nobel laureates gave excellent advice about pursuing scientific research. Professor Oliver Smithies shared his passion for doing experiments and described his procedure for keeping organized lab notebooks. When asked about his hard work, he said that he viewed it not as working hard but as playing hard. Professor Martin Chalfie talked about the cumulative nature of scientific success and the different routes by which one could arrive at it. Some laureates discussed the importance of translational research (actually working with patients); other laureates emphasized the importance of basic research, talking about how they ended up solving problems that they did not predict when choosing an initial research direction. Many of us did not know whether to feel better or worse when one laureate said that after winning the Nobel Prize, he still has to cite possible reviewers of his funding proposals. :)

Attending the meeting helped me to better understand the Nobel laureates as real people. Professor Chalfie talked about how he had not been a science superstar earlier in life; Professor Kurt Wuthrich said that he had come uhttp://www.blogger.com/post-edit.g?blogID=29172085&postID=2815301772702208782pon his work in proteins through his early interest in sports. When asked about his non-science passions, Professor Smithies said that he was also passionate about flying and about his wife, and that the ideal Saturday consists of flying in the morning, taking his wife to lunch, and then doing experiments in the afternoon. At lunch, physics laureates Professors Cronin, Smoot, 't Hooft, and Gross were very approachable and talked about everything from pranks they pulled as students to the technological singularity. Many of the laureates also brought their spouses who were not in science--this provided a nice view into their lives.

At the meeting, the Nobel laureates also discussed social issues that scientists should think about. They addressed the usual topics of global warming and the energy crisis. Prof. Christian de Duve gave a talk on evolution and said that the future of human life is threatened by overpopulation as a result of evolutionary success and suggested population control as a possible effective solution. Prof. Harry Kroto gave a talk (which I did not attend, but heard about from many people) about the "GooYouWiki" world and the importance of educating the public about science. Science communication was a common thread among many of the topics and panels: it is necessary not just for having lasting impact in one's field, but also for having impact of science policy.

I was happy about the meeting with respect to representation of women in science. Though the ratio was quite skewed when it came to the laureates, the ratio was much better among the young researchers. Chemistry laureate Professor Ada Yonath talked about her granddaughter at the end of her lecture to show young women that they could do science and have a family, too. Dr. Francoise Barre-Sinoussi talked about the importance of having a supportive partner and told the story of how, in lab on her wedding day, she received a phone call from her partner asking whether she was still coming. Professor Smithies, when asked about the leaky pipeline of women in science, said that it is important to recognize that some women want time to raise children. In his evolution talk, Professor de Duve said that we may be better off putting women in charge, since females may be more wise as a result of having evolved to consider the future when taking care of the young.

Besides being an incredible academic/research learning experience, the meeting was also a great social experience. As you can see in my Lindau photo album, many of my memories are not from talks but from social events. The Monday dinner was quite a bonding experience when everyone joined together to be paired with a stranger in dancing the polonaise. I loved meeting fellow young researchers at events such as the Grill & Chill, the Bavarian evening, and the boat trip to the isle of Mainau. It was interesting to learn about the academic, research, and life experiences about people working in different fields and research environments from me.

I am grateful for the Bernadotte family, Microsoft Research (my nominating institution), and everyone else who made this experience possible!

Sunday, June 20, 2010

Quitting Coffee

It has been four weeks since I quit*; it had been four years since my relationship with coffee began. I am glad to put that period of my life behind me.

After years of looking for more time in my day, I thought I had found the solution by including coffee in my morning routine and decreasing my quantity of sleep. My decision had been backed by some pop scientific research that coffee could be a health drink: the negative correlation between coffee and Alzheimer's, the negative correlation between coffee and gout, etc. (In fact, I have a blog post here about why I started drinking coffee.)

My decision to quit was driven by several reasons. I found that I sleep better (at the right times and more deeply) when I haven't had coffee, coffee is hard on my stomach, and that I had become quite addicted (in that I function significantly more poorly in the absence thereof). I had also developed an awareness of and distaste for how wound up coffee makes me.

Quitting has been difficult for the obvious alertness reasons. In addition, my concentration got worse and I felt hungry more often. My hypothesis is that as a stimulant, caffeine stimulates the part of my brain that helps me focus. The hunger can be explained by the "fact" (checked against the internet) that caffeine can be an appetite suppressant. Not being caffeinated has also made social interactions more difficult, perhaps because it has become more difficult to focus on conversations. The good news is that all of these issues have (slowly) been going away.

Despite the challenges, I have been enjoying my coffee-free existence. My quality of sleep has improved, which has helped me to be more naturally alert and focused. It has been a relief not to have to look for sources of caffeine on weekends and when out of town. In general, I have been feeling less wound up and more well.

For those of you thinking about quitting: don't be afraid to do it!

* Somewhat ironic is that it happened the day I arrived in Seattle. I have since had decaf twice, but that is it.

Saturday, June 12, 2010

PLDI 2010 in Toronto, Canada!

I just returned from PLDI 2010 in Toronto, Canada. The papers, talks, and non-technical content were all great!

This year parallelism and concurrency seemed to be the hot topics, as there were two tracks for each of those. According to the program chair Alex Aiken (if I remember correctly), there were relatively high acceptance rates for papers on types, static analyses, and programming language designs. Some papers that I particularly liked include Viktor Kuncak et. al.'s Complete Functional Synthesis about using decision procedures at runtime for synthesizing program expressions, Khoo Yit Phang et. al.'s Mixing Type Checking and Symbolic Execution on a hybrid type-checker/static analyzer, and my adviser Armando Solar-Lezama's Smooth Interpretation with Swarat Chaudhury on smoothing program spaces for analysis/synthesis. The other papers in the verification session with me (Zach Tatlock's Bringing Extensibility to Verified Compilers, Adam Chlipala's paper on type computations and meta-programming with Ur, and Michael Emmi's Parameterized Verification of Transactional Memories) are also cool.

This year they reduced talk length to 15 minutes (instead of 20), which people seemed to have strong thoughts about. The general consensus seemed to be that people appreciated having the time limit for others' talks, as people who worked hard on their talks would take the effort to make a good 15-minute talk, and the short length kept people awake and even enticed people to attend talks on areas of marginal interest. People generally seemed unhappy/concerned about the shortened time for their own talk. Also, someone commented that having shorter talks made them more intense and left less (perhaps necessary) time for zoning out.

This year there was no PLDI-wide outing, but having everyone staying in a huge hotel (Fairmont Royal York) with its own bar, restaurants, shops, etc. promoted PLDI-wide unity. There were also many restaurants and tourist attractions within walking distance, which made it easy to embark on food and other excursions with fellow PLDI-ers. Being by the waterfront was also nice: Tom Ball led a running contingent along the waterfront path every morning at 7am. Before and after the conference, I managed to do a fair amount of sight-seeing: pictures here.
(Toronto is huge and has so many interesting neighborhoods! I loved Kensington Market and Old Cabbagetown. Toronto also apparently has multiple Sri Lankan restaurants!)

This was a big conference for me because not only did I give my first conference talk, but my paper with my MSR mentor Chris Hawblitzel (Safe to the Last Instruction: Automated Verification of a Type-Safe Operating System) won the best paper award!

Talk slides below:

Articles about Women and the Workplace

One week away and I've collected so many articles about women in my inbox!

Women in Science
  • Gender stop-gaps - a Nature article about the under-representation of women in academic science and the measures being taken/advised to address it, including growing the applicant pool, providing a more family-friendly environment, and increasing mentoring. This article also cites organizational changes as important: for instance, a researcher noticed that in smaller biotech startups with flat organization structures, women were as likely as men to hold a patent, while at universities and larger companies men patented significantly more.
  • NCWIT Report Examines Women's Declining Participating in Tech - a blog post describing a report about the attrition of women in IT careers compared to the past and compared to the numbers of women who pursue tech-related fields in college. The report also describes barriers to participation and how to address them, recommending an "ecosystem of reform."
  • Daring to Discuss Women's Potential in Science - a New York Times article about a proposed law that would require the White House science adviser to oversee workshops promoting gender equity. In this piece Tierney raises the question of whether bias exists. This point is not the most relevant to raise, as the existence of differences does not invalidate the need for equity. Rather, learning about differences can educate us about how to provide equal opportunities and make progress in a way that allows people with different cultural backgrounds and strengths to contribute. This Jezebel post makes some good criticisms of the article.
More general
  • Dressed to Distract - New York Times columnist Maureen Dowd discusses the firing of Debrahlee Lorezana from Citigroup, for the reason that her looks and dress were "too distracting" for her male coworkers and supervisors. Dowd points out that while this is usually the other way around (beautiful people get what they want), women are often punished professionally for being too beautiful. Dowd writes, "A male friend once told me he was looking for an unattractive personal assistant so he wouldn’t be tempted. And when I was hiring a Grace Kelly blonde as a researcher a few years ago, a male colleague asked me not to because it would be 'too distracting' to him; two girlfriends cautioned me not to because it would be depressing... for me to work with someone so good looking."
  • In Sweden, the Men Can Have It All - a New York Times pieces about gender equity in Sweden, where women have equal rights at work and men have equal rights at home--85% of Swedish men take parental leave. This is part of the women around the world series.
  • A short history of "feminist" anti-feminists - a nice Slate piece about "the early sisters of Sarah Palin," women who claim to be feminists but organize in opposition to the feminist movement. And (yes!) the article cites Camille Paglia ("I'm not soft and silly like all the other women") as the "iconic leader" of a group of contemporary anti-feminists including Christina Hoff-Summers ("why can't a woman be more like a man?").

Sunday, May 23, 2010

Reviewing resolutions: time and technology

Earlier I wrote about my New Year's resolutions regarding time and technology. Since we're halfway through the year, it's time to evaluate how we're* doing.

While I have improved at spending time the way I want to, I need to be more honest about how much time actually exists. Being more honest with myself about how much I slack off/am capable of working has helped me to do more things I enjoy. This past spring I have taken up acrobatics, gotten involved with Graduate Women at MIT, been meeting new people, going to shows, etc. without taking a terrible productivity hit. A problem is that I often do too many things I enjoy, making it difficult to appreciate each thing (and to get enough sleep). My friend Geneva linked me to a Zen Habits blog post about slowing down and enjoying life more: I plan to take its advice about doing things more slowly and mindfully. I would like to arrive at an equilibrium where I am doing what I want and I am not rushing through life.

As the increase in my non-work activity has increased my volume of e-mail and phone communication, improving my relationship with technology requires more drastic measures. My goal is to limit my electronic communication and internet use to activities that enhance my experience of the physical world. Compartmentalization will be important in reaching this goal: separating productive use of technology (writing e-mails to friends, reading informative media pieces, etc.) from unproductive use (browsing online sales instead of going to bed) and separating time for engaging with technology from time for engaging strictly with the physical world. To get into the habit of interacting with the physical world I plan to have explicit, contiguous "off-grid" blocks of time when I don't use my phone or the internet: I am going to start with one hour each weeknight and five hours (at once, but either day) each weekend. I would like to reach a point where I can leave my phone and computer for extended periods of time without causing anyone (including myself) anxiety and where checking e-mail/Facebook is not the first thing I do every morning.

Here's to slowing down and enjoying life in the rest of 2010. :)

* Yes, editorial "we" again. ;)

Tuesday, May 04, 2010

CRA-W Grad Cohort 2010

April 22-24 I was in Seattle for the Computing Research Association's Grad Cohort for Women. For the last ten years, the CRA has annually been sponsoring graduate women in computer science in their first through third years from across US and Canadian institutions to convene.

Initially skeptical of women-only conferences ("I don't need a special conference to network and discuss research"), I signed up for this upon my friend Oshani's recommendation. CRA-W Grad Cohort turned out to be a highly positive experience. One of the senior women sums it up well in an explanation to a male colleague: "Imagine if you went to work every day and there were only women. Imagine if you went to a conference, excited to discuss your research ideas, and there were only women around. Wouldn't you be excited to encounter another man?"

The program was informative and thought-provoking: there were helpful sessions and panels on topics such as presentation skills and interdisciplinary research. There was also a session on touchier subjects such as how to deal with small-scale harassment and how to identify and handle bias. Additionally, there was a poster session where the second-years presented their research. The program also made good use of the meal times to allow graduate women to network with other women (graduate students and professors) in the same area and at the same point of the academic progression.

It was incredible to be surrounded by and discuss research with so many women in computer science. (It was also somewhat overwhelming because I had never imagined there to be so many women in CS!) The dance party that took place the evening of the first day was also one of my most fun activities in recent times. I highly recommend attending this meeting*!

* There is also the Grace Hopper Celebration for women in CS in the fall.

Sunday, April 25, 2010

Revival of MIT's PL offsite tradition

Upon Prof. Saman Amarasinghe's (persistent) suggestion, I organized (with some other kids) an MIT programming languages/software engineering off-site with six PL-related groups. Each group had 30 minutes to present their work. There were two professors panels, one on research advice and one on the future of MIT programming languages research.

The goals of the off-site, as state on our website, were to "discuss the current and future directions of MIT's PL research." The event was surprisingly productive in terms of getting everyone up to speed on what different groups were working on and in terms of discussing what students and professors should do to improve the research experience at MIT.

During the research advice panel, one professor gave four pieces of advice: 1) learn, 2) teach, 3) do slow research, and 4) have an attitude. The third point sparked quite a bit of controversy among the other professors, most of whom argued that computer science research is inherently fast-paced and thus our research practices should adapt to accomodate the pace. Another interesting thing was that most professors seemed to agree that the current peer-reviewed conference model is not the best model for how PL research should work, but there was not consensus on how it should be done.

During the future of MIT PL research panel discussion, there was some interesting discussion not just about what the future of PL entailed, but how much of the present and past to retain. (A big question was the degree to which it is important to teach type theory to MIT students and, given nobody at MIT does type theory research, what the best way of doing that would be.)

A result of the off-site was the goal to stay more connected throughout the year. I would be curious to hear how other schools' programming languages groups sync up to discuss ideas and learn new concepts.

Oh, and if you don't believe this actually happened--there are some nice photos here with a group shot here.

Grad Women @ MIT Keynote: The Evolution of Bias

I'm excited for Dr. Freada Klein's keynote talk for the Graduate Women at MIT spring kick-off. Description of the talk, "The Evolution of Bias," is as follows:

Though women have been a part of the work force for decades, they still face bias, implicit and explicit, in the workplace. Freada will describe how these biases have changed as a result of research and policy over the years, focusing on the most recent research on implicit biases.

There will be refreshments and an opportunity for mingling and discussion following Freada's talk.

The talk will be 5:30-6:30 (with reception following) in 46-3002.

Freada's husband Mitch Kapor is tweeting to advertise the talk.

Friday, April 23, 2010

C/C++ course on MIT's OCW

Eunsuk Kang and I taught a C/C++ course for undergraduates during MIT's 2010 Independent Activities Period. The course description is as follows:

Ever hang your head in shame after your Python program wasn't as fast as your friend's C program? Ever wish you could use objects without having to use Java? Join us for this fun introduction to C and C++! We will take you through a tour that will start with writing simple C programs, go deep into the caves of C memory manipulation, resurface with an introduction to using C++ classes, dive deeper into advanced C++ class use and the C++ Standard Template Libraries. We'll wrap up by teaching you some tricks of the trade that you may need for tech interviews.

We see this as a "C/C++ empowerment" course: we want you to come away understanding

  1. why you would want to use C over another language (control over memory, probably for performance reasons),
  2. why you would want to use C++ rather than C (objects), and
  3. how to be useful in C and C++.

The materials are now online on MIT's Open Courseware.

Sunday, April 18, 2010

The gender gap in Silicon Valley

Thanks to Clarissa for sending this.

A recent NY Times article Why So Few Women in Silicon Valley discusses the (sometimes surprisingly overt) sexism and other factors that are responsible for women creating only 8% of venture-backed start-ups and being 6% of the chief executives at the top 100 tech companies.

Fryer-Levitt math gender gap study

Thanks to Jie Tang for sending this.

Economists Roland Fryer and Steven Levitt have a 2009 study, "An Empirical Analysis of the Gender Gap in Mathematics," in which they analyze the gender gap in the US, explore causes, and discuss cross-country data which shows that countries with same-sex schooling don't have this gap. Paper here; abstract excerpt below:

We document and analyze the emergence of a substantial gender gap in mathematics in the early years of schooling... in the United States. There are no mean differences between boys and girls upon entry to school, but girls lose more than two-tenths of a standard deviation relative to boys over the first six years of school... We explore a wide range of possible explanations in the U.S. data, including less investment by girls in math, low parental expectations, and biased tests, but find little support for any of these theories... The cross-country data reveal that girls do not lag boys in math in countries with same-sex schooling, raising an intriguing question as to whether this relationship is causal.

I am not surprised. Since traditional gender roles are so ingrained in our consciousness, it is natural that young men and women would look to them in determining acceptable behavior*. Having young women hold back in math causes a feedback loop that makes it increasingly difficult for young women to develop their mathematical ability: as fewer women become good at math, 1) people become less accustomed to seeing women who are good at math, making it difficult for women to proves themselves w.r.t. math and 2) women with mathematical talent are less likely to develop it, since they are not expecting to be good.

These findings corroborate the hypothesis that the US gender gap in math is largely due to cultural factors. (See my other link.) They also fit with my personal experiences: one of the biggest social challenges I faced in leaving my all-girls high school for a coed college environment was having people treat me like I shouldn't know what I'm doing when it comes to math. This was not only frustrating but also harmful to my self-confidence--it probably caused some amount of deadweight loss in my mathematical development.

Shifting current gender roles could go a long way in bridging the gender gap.

* I am curious to see studies analyzing how other traits associated with masculinity (physical strength, debate ability) fare under an analogous analysis.

The Evelyn duo

Amanda Palmer's latest musical project is Evelyn Evelyn, a fictional singing conjoined twin duo Evelyn and Evelyn Neville created with Jason Webley. Evelyn Evelyn's eponymous album is brilliant and hilarious, featuring songs like "Have You Seen My Sister Evelyn" and "Love Will Tear Us Apart." The genre is neo-cabaret/circus/jazz/other. Wired reviews the album positively here.

I didn't get to see them at the Oberon this past week, but they'll be playing at the House of Blues in Boston June 19.

To provide another perspective, I am compelled to link to this blog post regarding the ableist issues with Palmer's and Webley's representation of conjoined twins.

Gender imbalance among Harvard's CS undergrads

I was recently interviewed for this Harvard Crimson article about the dearth of female undergraduates concentrating in computer science at Harvard. While the article misrepresents some details about me, it gets it right that a large factor in the skewed ratio is the male dominance in terms of both numbers and culture (which manifests in things like problem set groups).

Tuesday, March 30, 2010

Safe to the Last Instruction

Chris Hawblitzel and I just submitted the camera-ready version of our PLDI 2010 paper Safe to the Last Instruction: Automated Verification of a Type-Safe Operating System.

The main idea is as follows. Much of traditional operating systems verification is quite difficult because the projects verify properties of low-level code. Microsoft's Singularity project aims to make the verification process easier by verifying an operating system written in a higher-level, type-safe language (C#) that provides memory safety properties for free. The problem here is that OS's necessarily have low-level code--for instance, context-switching code involves moving the stack pointer. We propose a verification approach that involves designing the OS around a small low-level "Nucleus" that we verify using Hoare logic, verifying the interface between the Nucleus and higher-level, type-safe code, and writing the rest of the OS using the higher-level language. We describe Verve, a prototype OS verified automatically end-to-end for type safety.

Abstract below; paper here:

Typed assembly language (TAL) and Hoare logic can verify the absence of many kinds of errors in low-level code.We use TAL and Hoare logic to achieve highly automated, static verification of the safety of a new operating system called Verve. Our techniques and tools mechanically verify the safety of every assembly language instruction in the operating system, run-time system, drivers, and applications (in fact, every part of the system software except the boot loader). Verve consists of a “Nucleus” that provides primitive access to hardware and memory, a kernel that builds services on top of the Nucleus, and applications that run on top of the kernel. The Nucleus, written in verified assembly language, implements allocation, garbage collection, multiple stacks, interrupt handling, and device access. The kernel, written in C# and compiled to TAL, builds higher-level services, such as preemptive threads, on top of the Nucleus. A TAL checker verifies the safety of the kernel and applications. A Hoare-style verifier with an automated theorem prover verifies both the safety and correctness of the Nucleus. Verve is, to the best of our knowledge, the first operating system mechanically verified to guarantee both type and memory safety. More generally, Verve’s approach demonstrates a practical way to mix high-level typed code with low-level untyped code in a verifiably safe manner.