March 24, 2009

Digg this Post page to del.icio.us

In honor of Ada Lovelace Day, I would like to recognize Ms. Henry, my first computer science teacher. I was quite privileged to have attended a high school where female teachers made up a significant portion of the math and science departments. In my opinion, nothing was more encouraging or empowering than filling the faculty with great role models.

What set Ms. Henry apart from other educators was her effective teaching methods. Her explanations were always clear and concise. I was turned on to computer programming because she made it seem easy.

She challenged the more astute students with programming competitions. For struggling students, she always had the patience to spend extra time with them, explain concepts again, perhaps differently until it would finally click. She was always very encouraging, never condescending and she would never give up until the material was properly understood. This was especially important because we had to cover the fundamentals.

Ms. Henry not only provided me with the nurture I needed to become a software developer, she also inspired me to become a teacher one day, so that I may show other girls that computer science is not scary or difficult.

January 13, 2009

Digg this Post page to del.icio.us

gal_bartz.jpg I signed the Ada Lovelace Day pledge to write about a woman in technology on March 24th, so I have been keeping my eyes out for a worthy person to write about. Carol Bartz is in the headlines today for being the new CEO of Yahoo.

Who is Carol Bartz?

I must admit that I have never heard of her until today. It turns out that she is the executive chairman of the board at Autodesk. She was previously the chairman, president and CEO of Autodesk.

Prior to Autodesk, she worked at Sun, DEC and 3M.

She sits on the board of directors for Intel, Cisco, NetApp, and the Foundation for the National Medals for Science and Technology.

She was also appointed to President Bush's Council of Advisors on Science and Technology.

Carol also has a Computer Science degree from the University of Wisconsin, and 3 honorary doctorates.

Pretty impressive resume.

Techcrunch describes her as a 60-year-old veteran of the tech industry. 60? Seriously? Amazingly enough, she doesn't look a day over 40 in that photograph. What did she look like when she was younger?

72376267-2000.jpg

Here is a picture of Carol Bartz from 2000. The years have been especially kind to her.

Is this amazing woman worthy of an Ada Lovelace Day write-up? Judging from Yahoo's plummeting share price today, maybe not... but I still have 2 more months to decide.

July 25, 2008

Digg this Post page to del.icio.us

An article entitled Girls = Boys at Math on ScienceNOW reports that a study conducted by University of Wisconsin, Madison researchers found that female students have the same ability to solve complex math problems as male students.

May 20, 2008

Digg this Post page to del.icio.us

I was working on a complicated layout where I was trying to center a div. For some reason, the usual auto margins technique would not work because the div always expanded to the full width of its container even though the width was not set to 100%.

The only way I could get the div to center was to use auto left and right margins in conjunction with setting a width. However, I wanted the layout to scale gracefully if the font size was changed. The solution was to specify the width in em. This makes the div resize with the font. Quick and dirty, but it works well enough until I have time to come back to take a closer look at the problem again.

March 25, 2008

Digg this Post page to del.icio.us

True story that happened to me today: someone asked me to snail mail them a copy of one of my blog entires and gave me their home address.

The first question that comes to mind is how they figured out how to get to my blog and leave a comment on it without figuring out how to save a web page or print it. Furthermore, what made them think I would honour their request to mail them a copy of my blog entry? (I'm not going to.)

Is this type of user representative of an average web user or a less-than-average web user? How many people like this are out there and do they matter?

Being a computer engineer, I really take computer literacy for granted. This type of encounter with lay people gives me an interesting perspective on the type of audience my products may attract when building the Internet.

March 1, 2008

Digg this Post page to del.icio.us

I'm at the MySpace OpenSocial Dev Jam but I'm leaving in an hour even though the event is supposed to run from 9:00 AM - 9:00 PM. All street parking in the area has a 2 hour limit, and all the paid lots in the area are closed.

Aside from the parking situation, who starts a developer event in the Bay Area at 9:00 AM on a Saturday?

February 21, 2008

Digg this Post page to del.icio.us

p3p.gifMy introduction to P3P was purely out of need. I maintain a website where we were using Google Analytics to count our users but we noticed that a disproportionate number of Firefox users were being reported. Further inspection revealed that visits from over half of our Internet Explorer users were not being recorded.

This web site appeared within an iframe on a different domain than the frame parent, and we noticed that the Google Analytics cookies were not being set in the default Internet Explorer environment with a medium privacy setting. A privacy icon also appeared in Internet Explorer's status bar, indicating that site cookies have been blocked.

Why does this cross-domain cookie issue only manifest itself in Internet Explorer 6 and Internet Explorer 7?

It turns out that Firefox and Internet Explorer have different definitions for "third-party" cookies. In IE, a cookie is considered to be "third-party" if the cookie's domain differs from the domain shown in the address bar (even if the domain of the cookie is the same as the domain of the page that is setting the cookie.) In Firefox, a cookie is considered to be "third-party" if the domain of the cookie is different than the domain of the page that is setting the cookie, (regardless of the address that appears in the location bar.)

Here is a summary of what you need to do in order to allow third-party cookies to be set in IE:


  1. Create a human-readable privacy policy for your web site (i.e. in HTML)

  2. Translate the human-language privacy policy into an XML document using IBM's P3P Policy Editor (considered to be the best free tool available.)

  3. IBM's P3P Policy Editor will also generate a P3P compact policy for you.

  4. Emit a compact policy and a reference to the full privacy policy in the HTTP header of your web page

  5. Place your policy reference XML file (p3p.xml) and policy XML file (policy.xml) in the well-known location set forth by the P3P standard (/w3c/p3p.xml and /w3c/policy.xml)

  6. If your privacy policy is satisfactory, your web page will be permitted to set cookies. This MSDN article contains a table of things that will make your privacy policy unsatisfactory.

Although the P3P standard specifies that only the XML policy files in the well-known location and human-readable privacy policy are necessary and sufficient, IE6 doesn't work that way. IE6 only honours the compact policy (and ignores every other implementation method.) IE7 behaves as expected.

Now that we've discussed the solution, we can go on to explain why P3P was created. P3P Toolbox has a lengthy discussion about the need for P3P. The main idea behind P3P is that it is burdensome and unreasonable for the average web user to hunt down the privacy policy for every site that they directly interact with, let alone the sites that they unknowingly interact with (like those displayed in iframes.) Regular people just don't do this. P3P was created to standardize the discovery of privacy policies from site to site.

P3P does not enforce that site owners adhere to their own privacy policies, it merely automates the interpretation of the legalese in which most privacy policies are written. The enforcement of privacy laws is left to the judicial system.

Recent Jobs

Web Portfolio

www.flickr.com