Only Me and Me

慢慢看就知道了

Professionalism

Rule 1: Don’t bring your personal sentiment to work.

Rule 2: 习惯决定命运,细节决定成败。

今天说说第二点。

下午在做一些与刚刚release的Windows Live Contact Gadget有关的东西:http://dev.live.com/blogs/devlive/archive/2006/08/18/46.aspx

在Contact Gadget的Get Started的Tutorial里,短短一个页面,就出现以下错误:

1. Element ID不匹配,定义的地方写id="ContactsGadgetSite",引用的地方写:getElementById("ContactGadgetSite")。看出错误没有?少了个"s".

2. 很多地方的引号都是Unicode Encoded,而不是ASCII Encoded。这个不仔细看根本看不出来,比如下面这两句:

<script type="text/javascript"
src="http://dev.live.com/scripts/AddressManager/ContactSelectorPartner.js"&gt; </script>

<script type=”text/javascript”
src=”http://dev.live.com/scripts/AddressManager/proxy.js”> </script>

第一句没问题,第二句错。仔细看的话,会发现第二句里的引号有点不同,但放在程序里,javascript就直接Object Undefined出错。

问题是看到这个页面的人会怎么做呢?他们一般都直接cut & paste,想试试看程序运行的效果,结果不work,于是得出结论是MS发布了一个不work的东西给大家用。

细节啊,细节。

==========================================================================

Update: All problems fixed.  Welcome to try out the newly released Windows Live Contacts Gadget:

http://dev.live.com/blogs/devlive/archive/2006/08/18/46.aspx

==========================================================================

给我的车换了个新的license plate:

10 responses to “Professionalism

  1. Annie August 25, 2006 at 12:10 am

    怎么看都觉得上下那两行字象是PS上去的?

  2. Demon August 25, 2006 at 12:23 am

    Nope, that\’s the real license plate I am having now.

  3. Annie August 25, 2006 at 2:09 am

    ok..
    but..why "GOOGLE" , instead of "MS"..^^

  4. Demon August 25, 2006 at 2:49 am

    It looks cool by driving a car with a Google license plate in MS campus.

  5. Swing August 27, 2006 at 8:08 am

    听说在可口可乐公司里喝百事可乐是要被开除的;不知道ms有没有诸如此类的规定…… -..-
     
    xena

  6. Demon August 27, 2006 at 3:44 pm

    我们上班的时候还经常要用Google呢,也开除么? ^_^

  7. Annie August 28, 2006 at 2:15 am

    充分证明。。这是个和谐发展,互利互惠的社会。

  8. Demon August 28, 2006 at 2:36 pm

    暗战,暗战。

  9. King August 28, 2006 at 9:23 pm

    牛!酷!但非常不错!哈哈
    虽然是"Msn"的员工,但是能够始终告诉自己要多吸取"google"的优点,集众家所长,非常不错,我这么理解你了,可以吧?!

  10. Demon August 29, 2006 at 2:29 am

    呵呵,我就是这个意思,show my respect, : )

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: