07.21.08

tabbing behaviour

Posted in Technology trends at 5:09 pm by ducky

I did a very quick, informal survey on how people use tabs when looking at Web search results. Some people immediately open all the search results that look interesting in new tabs, then explore them one by one (”open-parallel). Others open one result in a new tab, explore it, go back to the search page, then open the second result in another tab, etc. (”open-sequentially”). Note that the “open-sequential” people can have lots of tabs open at a time, they just open them one by one.

I was surprised to find that the people who had been in the US in the early 2000’s were far more likely to use the open-parallel strategy. There was an even stronger correlation with geekdom: all of the geeks used the open-parallel, and only two of the non-geeks did.

Open-parallel Open-sequential
Citizenship Where in early 00’s? Geek? Citizenship Where in early 00’s? Geek?
US Working/studying in US Y Canada Working/studying in Canada N
US Working in US Y US Studying in US N
US/Canada Studying in US Y Canada Studying in Canada N
Canada Studying/working in US Y Canada Studying in US N
Australia Working in Australia(?) Y Netherlands Working in Europe(?) N
US/Canada Working in US Y Canada University in Canada N
Canada Working in Canada sort-of Canada University in Canada N
US University in US N
India University in US N

Notes on the survey:

  1. The subject pool is not representative of the general propulation: everyone who answered lives or lived at my former dorm at UBC, has a bachelor’s degree, and all but one have an advanced degree or are working on one.
  2. I classified people as geeks if they had had Linux on at least one of their computers and/or had worked in the IT industry. The person with the “sort-of” in the geek column doesn’t qualify on any of those counts, but was a minor Internet celebrity in the mid 90s.

What does this mean?

What does this mean? I’m not sure, but I have a few ideas:

  • I suspect that the geeks are more likely to have used a browser with modern tabbing behaviour much earlier, so have had more years to adapt their strategies. (Internet Explorer got modern tabbing behaviour in 2006; Mozilla/Firefox got it in 2001.)
  • One of the benefits of the open-parallel strategy is that pages can load in the background. Maybe in 2001, Web access was slower enough that this was important and relevant. Maybe it’s not that the geeks have been using tabs longer, but that they started using tabs when the Internet was slow.
  • It might be that the geeks do more Web surfing than the non-geeks, so have spent more time refining their Internet behaviour.

06.09.08

Hillary-ites for McCain?

Posted in Politics at 5:34 pm by ducky

There are a number of stories out right now, like this one from US News, about how Clinton supporters are mad as hell at Obama and the Democratic Party for the sexism that Clinton had to endure during the campaign. The venom in the comments section of the above article is really breathtaking.

I am way, waaaaay unconvinced that Obama should apologize.

While there certainly were a whole lot of sexist comments in the mainstream media about Clinton, I don’t think that it is fair to blame Obama or the Democratic Party for that. Obama and the DNC do not control the mainstream news media. (And they *certainly* don’t control Fox!)

The only dismissive comment that I remember Obama making about Clinton was the “I like you okay, Hillary” comment, and he took heat for that. I think that Mr. and Mrs. Clinton both played much, much closer to the racism line (and they took heat for that).

Did Obama mean to be sexist? Probably not. Did the Clintons mean to be racist? Probably not. It’s a long campaign, people get tired, they make little slips, move on. I think the Clintons owe Obama much more of an apology for racism than Obama owes H. Clinton for sexism. I’m willing to forgive the Clintons; let’s move on.

There is also a lot of anger about the DNC “stealing” the Florida and Michigan votes. I think that everybody was very gentle with Clinton about that because it was clear that she was beaten, and nobody wanted to look like they were piling on. Let me be a bit more blunt: Obama didn’t “steal” Florida and Michigan, Clinton did! She wasn’t entitled to any of those votes, because of rules that she agreed to. Obama wasn’t even on the ballot, and didn’t campaign. It would have been surprising if a newcomer who wasn’t on the ballot had managed to get as many votes as someone with total name recognition who was on the ballot. The Florida and Michigan elections were not fair elections, and for her to keep insisting that she had won strained my patience with her.

Furthermore, while Hillary had to deal with sexism in the mainstream media, Obama has had to deal with an enormous amount of crap from rumour and innuendo. From the comments section: “I despise the MSM for not telling the voters the truth about Obama associations. He has no normal friends. terrorists,people full of hate for this country and i believe his wife is one of them.” or ” The same can be said for the President and Obama…. he has had bad company. He hangs out with Wright, Ferrakahn, etc….”

Um, excuse me? Didn’t B. Clinton pardon a bunch of sleazy people? Members of the FALN terrorist group? Mark Rich? Didn’t the Clintons associate with some very shady characters? Wasn’t B. Clinton’s own brother a cocaine addict? Me, I don’t think that it’s fair to judge people too harshly by what their associates do and particularly what their associates (e.g. Wright) say. We are all human, none of us is perfect.

I understand that Hillary backers are hurting. I understand that Hillary represented for them, a hope that our society had gotten past its misogyny. I understand, truly I do, and how crushing it can be to discover that no, it isn’t. But to blame Obama and the Democratic Party for that seems highly misplaced.

06.08.08

My (almost) lunch with Steve Wozniak

Posted in Random thoughts at 12:00 pm by ducky

One day, probably twenty years ago, I was in a car with a bunch of friends of mine, and Arthur asked the question, “If you could have lunch with anybody, who would it be?” I immediately answered “Richard Feynman”, having just finished one of his highly entertaining books. A chorus of voices rang out: “But he’s dead!” “You didn’t say they had to be alive”, I retorted.

After a bit more thought, I chose Steve Wozniak. He was famously geeky, and interesting to me because of that. I had heard that he had started a company Unuson, and was excited about what new technology The Woz might bring out. And he was alive.

While Arthur’s challenge of who to have lunch was was purely hypothetical, it got me thinking. My father had been in the Physics Department at the University of Illinois with two-time Nobel Prize winner John Bardeen. I had realized years later, after Bardeen had died, that I could have probably gotten to chat with John Bardeen if I had asked when I was a kid. The idea of lunch with Steve Wozniak gnawed at me, and finally I wrote him a letter, telling him that I would like to have lunch with him. I expected him to say no, but to my surprise he said yes.

It turned out to be difficult to actually schedule the lunch, between my schedule and his, but we finally got a date and time settled… and then I had to cancel because of jury duty. After that, it fell through. I don’t remember precisely what happened, but I have a vague recollection that he simply got cold feet. This made perfect sense to me; if I were a wealthy celebrity, I don’t think I’d meet a stranger for lunch!

Still, the experience made me bolder about asking to meet people. At one point a few years ago, a talented young man named Ping Yee popped up on my radar. On the day when I saw his name in my daily San Jose Mercury News in two different articles on two different subjects and ran across his name in some source code, I decided I would try to meet him. I think he was kind of bemused and puzzled at that, but I ended up having a very interesting lunch with him.

While I was at Green College, I invited a number of the university’s top brass to have dinner with my husband and I, in order to give them more exposure to Green College, and I was a little surprised at the number who accepted.

I still haven’t had lunch with Richard Feynman, though. ;-)

05.27.08

Rape by soldiers

Posted in Politics, Random thoughts at 11:49 am by ducky

There have been reports that peacekeepers have been raping children. This is bad, but unfortunately not surprising.  History seems to show that if you give men weapons, little accountability, and few dating options, they will rape.

There is a solution that seems blindingly obvious to me: send women soldiers.

I wonder if there is a place for an all-women, international peace-keeping army.  I can imagine that would be a great way to serve.

05.23.08

Marriage equality: is the opposition stupid?

Posted in Gay rights at 11:26 am by ducky

The people opposing marriage equality have asked the courts to delay allowing same-sex marriages, on the grounds that there will be a proposition on the ballot in November to write marriage discrimination into the state constitution.

Um, is my loyal opposition stupid?

If there is no delay, then yes, thousands of same-sex couples will get married between June 16 and Nov 4. I can see how my loyal opposition might not like that. It is my interpretation that even if the amendment passes, they will still be married — that the amendment doesn’t have the right magic wording to retroactively dissolve the marriages.

But if marriages are suspended, my loyal opposition will piss off thousands of same-sex couples who were planning on getting married. Their only shot at getting married, then, would be to make sure that the amendment goes down to a screaming defeat. They would donate money and time and talk to all their friends.

You, dear reader, might reflect on Proposition 22, and how it (with very similar language to the proposed amendment) passed with 61% of the vote. However, I will tell you, dear reader, that I worked on the fight against Proposition 22, and the support from the gay and lesbian community was tepid at best. They didn’t see why they should donate money to a lost cause where the worst that would happen is that they would lose the possibility of getting a right that they don’t currently have. (There was also a significant undercurrent of “we don’t want your heterosexist institutions anyway!”)

The sentiment in the gay and lesbian community is completely different now. They totally understand the importance of civil marriage now. And, if the delay comes through, they will be pissed. They will fight the amendment tooth and nail. If there is no delay, they might get somewhat complacent: “well, too bad for everyone else if the amendment passes, but we managed to get married on 17 June, so we are okay.”

So while a delay would be a short-term defeat for my side, I think it would lead to a huge, enormous victory long-term.

05.18.08

Advice for same-sex couples getting married in California

Posted in Gay rights, Married life at 3:35 pm by ducky

To my gay and lesbian friends, I am absolutely thrilled that you are going to be able to get married starting on June 16th!

I wrote some wedding advice for (straight) couples a few years back, and I’d like to give some specific advice to gay and lesbian couples who want to get married in the next few months.

  • Read Lorem Ipsum and/or the EQCA FAQ about the topic. Those are good, but there are a few things they leave out and a few points that I think are incorrect.
  • Consider carefully if you want to get married. I’m a big fan of marriage, but you need to be sure it is right for you. In addition to getting to throw a big party, you become (among other things) responsible for your spouse’s maintenance and their debts.
  • Get married between June 16 and November 4, 2008. There is going to be an initiative in November that will shut down same-sex marriages if it passes, but I hear from reputable sources that even if it passes, your June 16-November 4 marriage will be valid. I am not a lawyer, but I believe it is hard to pass retroactive laws, and the way that the amendment is worded doesn’t do the right magic to make it retroactive. Of course, Our Opposition could always file suit saying that it was retroactive, and they would lose, but that would be a big pain so let’s just defeat the amendment, okay?
  • Ask your wedding guests to give money to the anti-amendment campaign in lieu of gifts. (Or to NCLR, or to Lambda, or to the ACLU.) Remind people that there is a real risk that the next generation won’t be able to celebrate their love and comittment in the same way if the amendment passes.
  • Give money yourself to the campaign, NCLR, Lambda, or the ACLU.
  • Book your venue early. I expect that there will be an enormous demand for venues from June 16-Nov 4! (If you are straight, consider waiting until November 8 to avoid the crowds!)
  • Make plans for your officiant early. Clergy and Commissioners of Marriage might be heavily booked.
    • You can have a friend officiate via the Deputy-Commissioner-of-Marriage-for-a-Day program. Different counties have different rules, fees, and lead times for that program. (Some counties do not participate.) The EQCA FAQ says that there is a 60 day lead time, but I question whether that is true for all counties (or even for San Francisco — the San Francisco site says “You should come no sooner than 60 days from the date of the ceremony” which I interpret to mean as “Your deputization is only valid for sixty days”). When my uncle-in-law got deputized by the County of Santa Clara, he didn’t have to appear in person, he didn’t have to do a training class, but he did have to swear to uphold the U.S. Constitution. Check with the county that will issue the deputization. NOTE: it is not clear if yYou can get your marriage license in one county and the deputization in another. The wedding does not have to be in the same county that issued the Deputization or marriage license.
    • Note that you do not have to be married or straight to become a Deputy Commissioner of Marriage, so you can officiate at your friends’ weddings. Bonus!
    • You and your friends can get ordinated as clergy very quickly over the Internet. It took me less than fifteen minutes through the Universal Life Church. I am not a lawyer, but it sure looked rock-solid legal to me. However, weddings also are about social validation, and using quickie-clergy does sound kind of shady to some people. (Note: I didn’t feel so bad once I looked at what roles were traditionally allowed to officiate, and figuring out what they all had in common. I decided that the common feature was that they had proved that they were able to fill in paperwork correctly, and responsible enough to mail it in.) I would thus encourage you to do Deputy-for-a-Day instead of Internet ordination.
  • You might consider getting married at a County Building and/or doing a joint wedding with some good friends who also will (finally) be getting married. While you are free to do that, as a married person, I would recommend against that unless you’ve already done the big ceremony and party thing. There are (at least) two important functions of weddings above and beyond informing the state that they now have to recognize your relationship:
    • You make it clear to the people who are important to you that this person is special and that they have to treat your spouse as special.
    • The families and friends get to meet each other. While that might not be so important if you’ve been together for a zillion years already, it might be. I was really surprised at how much getting married connected our two families together. (Bad news: you now have to go visit your in-laws at Christmas. You can’t just send your spouse any more.)
  • If you get married at a county building (e.g. with one of their marriage commissioners), then (I think) you can get a marriage certificate right away. Otherwise, you have to ask for it. While my husband and I didn’t get asked for one until we moved to Canada (with different last names), it might be more important for you than for a straight couple.
  • There are lots of traditions associated with weddings. Some don’t really make sense in a same-sex wedding; some don’t even make sense in today’s hetero weddings. Remember, however, that it’s those strange traditions that make no logical sense that bind you most to your community. Why do you do X at a Foo wedding? Because you are Fooian. Doing X tells your guests (and your spouse) that you value being (or being married to) a Fooian, and that you honour the Fooian traditions.
  • There is a huge enormous wedding industry that is designed to extract dollars from your wallets. Remember that it is your wedding and you don’t “have” to do anything. If you don’t want flowers, party favors for the guests, a videographer, or a professional photographer, you don’t have to.
    • Everybody has a camera nowadays, and the cameras take good pictures. We asked our guests to take pictures and send them to us, and it worked extraordinarily well. Hubby and I also sat for a professional photographer in our wedding clothes the day before, and we were really happy with that as well.
    • We didn’t have a gorgeous six-tier wedding cake, and you know what? We were still married at the end of the day. Also, the (flat) carrot cake and the cupcakes tasted wonderful.
    • Unsolicited recommendation: at our wedding ten years ago, Continental Catering in Menlo Park did a fantastic job. A bit on the spendy side, but well worth it. (It was so good that most people didn’t notice that it was all vegetarian.) That was ten years ago, but hopefully their quality would still be good.

Note that there are lots of references to county buildings, county this, county that, but you remember people getting married at San Francisco City Hall. Marriage stuff is administered through counties in California. San Francisco is the only jurisdiction that is both a city and a county. (I think that means it is the only jurisdiction where a mayor could have decided to issue marriage licenses. Thank you, Gavin Newsom!)

05.17.08

Barack Obama: elitist?

Posted in Politics at 12:20 pm by ducky

I hear murmuring that American blue-collar white voters think Barack Obama is elitist.

On the one hand, since I favor Obama, I’m slightly distressed for practical reasons. But as a liberal American, I am secretly overjoyed at how far we’ve come that white folks to find a black man too smart, too successful, too restrained, and/or too cultured for them to relate to. I wasn’t alive fifty years ago, but I have the sense that many white folks thought African-Americans were too stupid, too lazy, and/or too emotional to be fit for many jobs.

It’s possible that what they are uncomfortable with is Obama not conforming to their image of a black man, and so seeming too slick, too phony. They might also just be uncomfortable about how cool (meaning restrained and unemotional) he is period: it might be that Obama he doesn’t seem like people they know personally, white or black. H. Clinton had more breakdowns and meltdowns, and perhaps that made her seem more genuine. (Also, everyone is well aware that she’s had way more than her fair share of marital troubles and has done the difficult thing and stuck by her man — the tough gritty thing to do.)

If I’m right, then I don’t think Obama can do anything about it. If he starts acting more emotional, that will give people an excuse to use the “bad” black stereotypes that I enumerated above.

“He’s Muslim” — religion or race?

I have also heard that there are people who don’t support Obama because he’s Muslim. While this might be discrimination against (his mistaken) religion, I think it’s more likely that this is actually racism. I suspect that when they say, “He’s Muslim”, they mean, “He is Other, he is from genetic stock that is not like ours”.

I remember at a racism discussion group I went to about ten years ago with a woman who considered herself Christian and whose parents considered themselves Christian. However, the Nazis felt differently, and put her (at a very young age) and her parents in a concentration camp, as her relatives were Jewish. This woman was frustrated by (among other things) her son insisting that they were Jewish. Clearly “Jewish” means both “the faith that you practice” and “who your ancestors were”.

So when people say, “Barack Obama is Muslim”, I suspect that what they are saying is not, “he worships at a mosque” but “his genetic stock is different from mine”. They might be concerned that blood is thicker than water, and that if he gets elected, then he will favour “his people” (i.e. people in Muslim countries) over “our people” (i.e. white Americans)

I can imagine that going to grade school in Indonesia also hurts him with people who think he is Other. I can imagine people for whom going to school in another country is so completely, totally, utterly outside their experience that it would seem suspicious.

If he’s going to be swift-boated, I think this is the topic they will use.

So if I were Obama, what would I do? I’d start releasing photos of Obama as a child surrounded by white Americana. Going to Disneyland. Little League. Blowing out birthday candles. At the zoo with his grandparents looking dotingly at him. The next thing I would do is allow videographers to shoot him playing basketball; how him getting (rightfully) pissed off at something and yelling “Shit!”

05.15.08

California Supreme Court: words matter

Posted in Gay rights, Married life at 2:04 pm by ducky

Today, something that I worked on for five years came to a successful completion today. No, not my thesis: the California Supreme Court ruled that marriage discrimination against same-sex couples was unconstitutional.

In 30 days (when the law takes effect), California will join the Netherlands, Belgium, Canada, South Africa, Spain, and Massachusetts in allowing same-sex couples to get married civilly.

I skimmed the court decision, and it all came down to words. They were very clear that California’s domestic partnership granted essentially all the same rights and responsibilities as California civil marriage. They were deciding

whether our state Constitution prohibits the state from establishing a statutory scheme in which both opposite-sex and same-sex couples are granted the right to enter into an officially recognized family relationship that affords all of the significant legal rights and obligations traditionally associated under state law with the institution of marriage, but under which the union of an opposite-sex couple is officially designated a “marriage” whereas the union of a same-sex couple is officially designated a “domestic partnership.

In other words, does the word matter? And if it does, is it okay to grant the word “marriage” to one group and not to another?

They determined that this was a question of the equal-protection-under-the-law clause, and as such, subjected it to a legal examination called “strict scrutiny”:

in order to demonstrate the constitutional validity of a challenged statutory classification the state must establish (1) that the state interest intended to be served by the differential treatment not only is a constitutionally legitimate interest, but is a compelling state interest, and (2) that the differential treatment not only is reasonably related to but is necessary to serve that compelling state interest.

They decided that the state didn’t have a compelling interest in perpetuating the differing language.

They also pretty comprehensively showed that the different language matters. One example they mentioned is that it is common to be asked “Are you single or married?” To respond truthfully, “I’m in a domestic partnership”, requires disclosing one’s sexual orientation in a situation where they might not want to.

Accordingly, we conclude that to the extent the current California statutory provisions limit marriage to opposite-sex couples, these statutes are unconstitutional.

WoohoooOOOO!!

I was sure that this would happen in my lifetime, but thought it would take longer.

05.14.08

Eclipse: double source windows?

Posted in Eclipse, programmer productivity at 12:51 pm by ducky

Andrew Ko, whose papers I have mentioned before, observed in An exploratory study of how developers seek, relate, and collect relevant information during software maintenance tasks that

When investigating [navigations back to previously-seen code fragments], nearly all seemed to be for the purpose of juxtaposing a set of code fragments while editing many dependent fragments. … Although Eclipse supports viewing multiple files side by side, placing any more than two files side by side would have incurred the interactive overhead of horizontal scrolling within each of the views.

Meanwhile, from my user study, I believe that the Package Explorer is usually not worth its screen real estate and the Outline View is probably harmful (which I will explain below). If I close the Package Explorer and the Outline View, on my 24″ monitor, I have oodles of room for two source files side-by-side. I think that is probably the way to go.

Package Explorer

Developers used the Package Explorer to find classes that had interesting strings in them. For example, in the Arrow task, they would do a “visual grep” to find classes that had the word “Arrow” or “Line” in them. Generally, however, they would explore the first class they found with “Arrow” or “Line” in it. While that happened to be okay in the Arrow task, it is easy to imagine situations where the first class could be uninteresting or even deceptive. I have come to the opinion that it is better in most cases to use Control-Shift-T to open the “Open Type” dialog, where you can enter in the string you are interested in. (Note that you can use wildcards, e.g. “*arrow” to find all Types that have the text “arrow” anywhere in their names.)

If you use the Open Type dialog, you will immediately (because it immediately displays matching type names as you type) have a very good idea of which / how many classes have that text in them. You are not going to miss one, and you are less likely to get distracted by the first one you see.

Now, I saw a very small number of cases where the Package Explorer was useful. For example, in the Output task, one guy looked at package names and guessed (successfully) that “proguard.io” might have something to do with IO. So I don’t think you should do away with the Package Explorer, but minimize it most of the time.

Outline View

As for the Outline View, you can search for strings in the method/field names using Control-O. Just like with the Open Type dialog, you can search for strings (including wildcards). Even better, with Control-O,Control-O, you can see what methods are inherited.

I don’t think I ever saw anyone wandering aimlessly (i.e. not doing a visual grep for a specific string) around the Outline View and having any good come of it. So I don’t think the Outline View is worth the screen real estate.

05.12.08

it’s not just me!

Posted in Hacking, Random thoughts at 8:31 pm by ducky

It’s not just me! Someone else gets frustrated by Web sites that won’t allow dashes or spaces in credit card numbers!

It is just unfathomable to me why any Web site would not insert the ONE LINE OF CODE to handle spaces and dashes. I am glad to see that it’s not just me.

« Previous entries