Ariel Y.'s profileAriel's Life MagazinePhotosBlogLists Tools Help

Ariel Yang

Occupation
Location
Interests
一个乐观自信的想变成坏男人的好男人;-)滑雪,和高手K歌,游泳,都是可以使我很兴奋的活动。在家看看书,听听CD,又是很修身养性的。喜欢每个周末和一位新朋友出来坐坐,和他她们谈谈天,聊聊人生。
arielyangpan@msn.com
There are no music lists on this space.

Ariel's Life Magazine

Record my lifestyle
11/20/2006

It's time to SKI~~~~

又到了ski的season了~~
 
Let's一起去enjoy那风驰电掣的快感~~~~~~~
 
陪滑time和quota有限,dude和beauty们快快约me!
 
 
 
 
--------------------------------------
又是一找抽的帖子~
10/1/2006

今天好失落

唉,将有长达7天的时间不能去上班了,好失落啊~~~~~
 
 
大家拍砖吧 *(&^$#^%#^$%&*%# ;-)
8/14/2006

雨后彩虹,浪漫与你共分享

人生就是这样,有时吃亏是福,有时乐极生悲。
刚刚还在埋怨没能按时离开公司;没想到就是耽误这半个小时,让我遇见了久违的
记得上一次见到彩虹,情窦初还没开呢的年纪吧
兴奋啊,激动啊,于是
彩虹太近太大,占据了半边的天,即使是旁边路人的广角相机也没能拍下全景,上两张我的C600拍的,1.3 MEGA PIXEL。
 
 
由于过于激动,忘了在这个浪漫的时刻许个愿望。无谓,随性的人生不需要强求。倒是想为些朋友许些祝福,归来的,远行的和即将远行的。
 
 
-------------------我是分隔线-------------------
 
最新更新:
新闻说彩虹只有5分钟左右,我的第一张图片是19:04,最后一张是19:09?真这么幸运?????
请注意第一张图,虹的外边还有一道霓,浪漫幸福的一对儿做伴~~霓虹。
7/5/2006

凌晨5点30分

我支持的东道主德国队出局了,此记。
 
一场真正男人般的较量,这里没有失败者。
 
伟大的意大利左后卫,他继承了意大利左后卫的光荣传统!
 
祝令人尊敬的意大利决赛走好~~~
6/27/2006

那一夜

意大利晋级了,澳大利亚回家了,黄健翔抽疯了~~~
6/14/2006

世界杯精彩MSN签名集锦……持续集成中

听说最近“持续集成”这词儿挺热?

  • 今年6、7月份失去爱情的男人不要伤心,因为你们还有足球;失去工作也不要担心,因为你们还有猎头…………
  • 对优秀球员的要求=对优秀程序员的要求---完美的技术+紧急时刻用不完美的动作解决问题
  • 当澳大利卡希尔进第二球时**解说员说会有更多的中国球迷记住他
  • 不列颠用几百万镑的贝氏弧线轰炸民兵组织!让人想起海湾战争
  • 瘦死的骆驼比马大,胖死的肥罗也比一般人强
  • 本次世界杯,分组形式对中国不利
  • 电视卡,没卡住我的世界杯
  • 世界杯成了欧洲杯的小妾
  • 郑智把西塞踢成了郑智化
  • 我是澳大利亚队!!!
  • 富的流足球的人赢了
  • 顶不住了
  • 西
  • 男人看球女人看人

版权声明:如果您认为我的引用侵犯了您的版权,请MSN联系我,我会及时移除。

6/7/2006

罗兰加洛斯的玛蒂娜

刚刚看到新闻,瑞士公主再次从法网出局了。
 
不禁回忆起九年前高中时候和ziyang一起啧啧的那个美貌智慧的天才少女Hingis,ziyang时时高喊于嘴边的年轻小伙子们:David Beckham, Steve McManaman and Raul Gonzalez。
 
ziyang,你还能想起他们当年的模样么?时光流逝,我们是在成熟还是在老去?
 
突然很想你,ziyang,我远在异国的同桌,我的兄弟,希望你会看到这里,留下你的些许言语。

The Wimbledon '97
6/5/2006

Welcome to Airel's ZOO, say sorry to you all ;-)

There are too many groups in my Messenger. It’s so difficult to find a buddy out.

Though we can find a buddy by typing its contact or number in Windows Live Messenger 8.0, I still dislike typing.

 

So I decide to create a special group to save those buddies whoever talks with me frequently. For my convenience, I hope I can arrange this group at the end of the group list. It seems groups are sorted by its name, so the special group has to be named as a word starting with letter Z.

 

The first flashing word in my mind IS ZOO. Ok, that’s it!! Sorry guys~~, now, I’ll put you all in my ZOO, Airle’s ZOO, hahahaha~~~

 

List some of lucky guys in my ZOO here (Sort by name):

l          Anne

l          Carter

l          Daniel

l          Diudiu

l          Enigma

l          Felix

l          Jiawei

l         

Leon

l          Lulu

l          Lydian

l          Stan

l          Sandy

l          TianTian

l          ......

 

6/3/2006

今夜随笔

晚上回来,决定不打车。
 
走了段路回家,省下的钱买了束香水百合带回家插进花瓶,最后留下一元硬币放在了路边拉胡琴的盲人老伯的铁罐罐里。
5/9/2006

我从Firewall中看到的责任

像大多数人评论的,影片是乏味的,没有什么买点,Harrison Ford也确实老了。但是在影片的最后,当Harrison从房子背后走出来,拥抱家人的时候,我突然间醒悟到一个中年男人对家庭,对妻子、孩子的责任。当妻子、孩子陷于绝境的时候,她们只能也是唯一可以依靠的,只有她们的丈夫、父亲。身为人夫、人父,你别无选择,必须不惜一切,挺身而出。
4/17/2006

Golden Beijing, Golden Monday

今天一早起来,不见阴云密布,但看黄沙漫天。
 
楼下的树木、汽车和房子好像被神仙点了法术,变得土筑一般。
 
GTalk上看见远在长春的zincyhi,向其诉说了郁闷之情。
 
zincyhi依然保持他语出惊人的风格:“Golden Beijing, Golden Monday!”。
 
Oh my god!
 
-----------------------------我是分隔线--------------------------------
 
最新更新:
 
有人说,今天这场景就是所谓传说中老谋子的《满城尽带黄金甲》~~~

精品早餐

昨夜早憩,今晨早起。
养气血2小时,醒来顿觉耳聪目明,精神为之大振。
 
昨夜重温Sleepless In Seattle,于是乎打开一张Original Motion Picture Soundtrack,为自己准备一份精品早餐:
  • 一碗燕麦泡牛奶,微波炉打热
  • 玉米肠一根,微波炉打热
  • 小番茄一个切片生食,不加糖
  • 荷包煎蛋一个,不粘锅摊开,加老抽、小磨少许

嗯,香~~~

2/21/2006

抱歉

今天回家,做了一次彻底的大扫除,断断续续从八点多一直做到十二点。因为一直忙着,忘了把自己的从风衣兜里掏出来,而且一直是振动的状态。直到快十二点了,听到卧室里嗡嗡的声音,跑过去才发现是自己的在振动。
 
本来是和朋友约好晚上通的,还一直在想怎么还没联系我,没想到是自己没有把手机拿出来,朋友早就给我发了,我没有听见所以没有回。
 
真是抱歉,生气了,我能听出来。真心地说一声:“对不起”,以此文为记。
 
当时我一急也抱歉的出了一身汗,不知是冷的是热的
2/12/2006

Funny Visual Studio Guy & MSDN Webcast Guy

First, I feel they are very funny. But suddenly I find that they are so similar with the characters in the movie The Incredibles. Look!

Visual Studio Guy!
Visual Studio Guy!Visual Studio Guy!
Visual Studio Guy

The Incredibles

MSDN Webcast Guy!
See Me In Action!MSDN Webcast Guy!
MSDN Webcast Guy

The Incredibles

1/15/2006

一行代码搞定你的Query String (原创!)

Web开发做得多了,总觉得是体力活,于是搞些代码让自己脱离无聊的Coding吧(是脱离“无聊的”Coding,不是脱离无聊的“Coding”)。
 

初级阶段

为每个QueryString写转换的代码,针对不同的类型,进行转换和错误处理。
 

中级阶段

写了一个函数,专门做转换(1.1里写的,还没有泛型):
  /// <summary>
  /// Convert query string to parameter
  /// </summary>
  /// <param name="name">Name of query string</param>
  /// <param name="defaultValue">Default value of query string</param>
  /// <param name="isRequired">If the query string is required</param>
  private object ConvertParameter(string name, object defaultValue, bool isRequired)

高级阶段

今天写的,大家拍砖吧:
 
主要是用了Attribute和反射的思想,首先给变量设置HttpQueryString的属性,绑定上相应的QueryString,然后由Page基类来读取相应的QueryString信息。
 
属性这么写:
 
 

using System;

namespace GooKuu.Framework.Web

{

/// <summary>

/// Specifies a field for a query string.

/// </summary>

[AttributeUsage(AttributeTargets.Field)]

public sealed class HttpQueryStringAttribute : Attribute

{

private string _name;

private object _defaultValue;

private bool _isRequired;

/// <summary>

/// Constructor. The query string must be provided.

/// </summary>

/// <param name="name">Name of the query string</param>

public HttpQueryStringAttribute(string name)

{

_name = name;

_defaultValue = null;

_isRequired = true;

}

/// <summary>

/// Constructor. If the query string is not be provided, using the default value.

/// </summary>

/// <param name="name">Name of the query string</param>

/// <param name="defaultValue">Default value of the query string which is not provided</param>

public HttpQueryStringAttribute(string name, object defaultValue)

{

_name = name;

_defaultValue = defaultValue;

_isRequired = false;

}

/// <summary>

/// Name of the query string.

/// </summary>

public string Name

{

get { return _name; }

}

/// <summary>

/// Default value of the query string which is not provided.

/// </summary>

public object DefaultValue

{

get { return _defaultValue; }

}

/// <summary>

/// Indicates if the query string must be provided.

/// </summary>

public bool IsRequired

{

get { return _isRequired; }

}

}

}

 
页面基类是这样的:
 

using System;

using System.Reflection;

using System.Web;

using System.Web.UI;

namespace GooKuu.Framework.Web

{

/// <summary>

/// Base class of all pages.

/// </summary>

public class PageBase : Page

{

/// <summary>

/// Override OnLoad method of base class.

/// </summary>

/// <param name="e"></param>

protected override void OnLoad(System.EventArgs e)

{

ParameterInitialize();

base.OnLoad(e);

}

/// <summary>

/// Initialize parameters according to query strings.

/// </summary>

private void ParameterInitialize()

{

// Get Type of current page class.

Type type = this.GetType();

// Get all fields of current page class.

FieldInfo[] fields = type.GetFields();

foreach (FieldInfo field in fields)

{

// Get HttpQueryStringAttribute of current field.

HttpQueryStringAttribute attribute = (HttpQueryStringAttribute)Attribute.GetCustomAttribute(field, typeof(HttpQueryStringAttribute));

// If has HttpQueryStringAttribute, this field is for a query string.

if (attribute != null)

{

SetField(field, attribute);

}

}

}

/// <summary>

/// Set field according to the HttpQueryStringAttribute.

/// </summary>

/// <param name="field">The field will be set</param>

/// <param name="attribute">The attribute of current field</param>

private void SetField(FieldInfo field, HttpQueryStringAttribute attribute)

{

// The query string must be provided.

if (attribute.IsRequired)

{

if (Request.QueryString[attribute.Name] != null)

{

SetFieldValue(field, this, attribute.Name, field.FieldType);

}

else

{

throw new Exception(string.Format("Query string \"{0}\" is required", attribute.Name), new NullReferenceException());

}

}

// If the query string is not be provided, using the default value.

else

{

if (attribute.DefaultValue == null || field.FieldType == attribute.DefaultValue.GetType())

{

if (Request.QueryString[attribute.Name] == null || Request.QueryString[attribute.Name] == string.Empty)

{

field.SetValue(this, attribute.DefaultValue);

}

else

{

SetFieldValue(field, this, attribute.Name, field.FieldType);

}

}

else

{

throw new Exception(string.Format("Invalid default value of query string \"{0}\"({1})", attribute.Name, field.Name), new NullReferenceException());

}

}

}

/// <summary>

/// Set the value of current field according to the query string.

/// </summary>

/// <param name="field">The field will be set</param>

/// <param name="obj">The object whose field value will be set</param>

/// <param name="name">The name of query string</param>

/// <param name="conversionType">The type to be converted</param>

private void SetFieldValue(FieldInfo field, object obj, string name, Type conversionType)

{

try

{

// Set field value.

field.SetValue(obj, Convert.ChangeType(Request.QueryString[name], conversionType));

}

catch (Exception ex)

{

throw new Exception(string.Format("The given value of query string \"{0}\" can not be convert to {1}", name, conversionType), ex);

}

}

}

}

 

在页面里,这样写就OK了:

using System;

using System.Data;

using System.Configuration;

using System.Collections;

using System.Web;

using System.Web.Security;

using System.Web.UI;

using System.Web.UI.WebControls;

using System.Web.UI.WebControls.WebParts;

using System.Web.UI.HtmlControls;

using GooKuu.Framework.Web;

public partial class _Default : PageBase

{

[HttpQueryString("Name", "Anonymous")]

public string name;

[HttpQueryString("UserId")]

public int userId;

protected void Page_Load(object sender, EventArgs e)

{

Response.Write(string.Format("Name is {0}<br/>", name));

Response.Write(string.Format("UserId is {0}<br/>", userId));

}

}

11/25/2005

中国互联网电子商务的普及程度?!

都说首都人民爱讲政治,街头的大妈也都议论国家大事,原来,不仅如此……

最近几天,家里的牛奶喝光了。所以早晨8点30分从家里出发去上班,都要到楼下的小摊上买一袋蒙牛高钙牛奶。至于为什么在小摊上买呢,就是因为它在我上班的路上,可以比去旁边的超市节约那么30秒和1角钱。

奇怪的是,这个摊子的摊主总是不那么固定,这几天的摊主就分别是:一位年迈的老大爷,一位中年家庭妇女和一个略带残疾的大妈。摊子的主营项目(这个词有点太……)就是卖一些日报和牛奶,都是低成本的小经营。估计是经济状况不太好的一家人或者几个下岗的女工一起办的,虽然挣不到什么大钱,但也可以补贴家用。有一次发生的事情让我知道了这一点点钱对她们是多么重要:那天早晨我买了一袋牛奶,1.8元。平时我是根本没有注意过这么一袋牛奶的价格的,恰好在这前一天因为在超市找零让我记住了这个价。我给了买东西的中年家庭妇女5元,她找了我4块2,我就在那里纳闷儿地说:“1块8?4块2?”她马上意识到,她多找给了我1块钱。我还给了她,她道了谢。呵呵没什么吧。这下可好了,以后我每天从她们家买牛奶的时候,她逢人就说:“哎呀,这个小伙子可真不错啊,上次@$^&*&(*(^&^”。呵呵。

说到这了,是不是离题越来越远了?稍等,以上都是前话儿。猜我今天早晨听到她们在说什么?“你说xx家的张三就在家呆着。”“他也不上班啊?为啥啊?”“哎,不爱去,懒呗。”“他不是能上网吗?可以在网上开个店赚钱啊。”

中国人民很行!

11/13/2005

微软好员工的十个标准

  1. 对自己所在公司或部门的产品具有起码的好奇心是极为重要的一点。你必须亲自使用该产品。对于身处计算机行业的人来说,这一点怎么强调都不为过。当然,这一点同样适用于其他知识密集型领域,因为在这些领域内技术与应用发展更新极快,对其技术的掌握很难做到一劳永逸。如果你对这些产品没什么兴趣,你将很快落伍,并被淘汰出局。
     
  2. 在与客户交谈如何使用产品时,需要以极大的兴趣和传道士般的热情和执着打动客户,了解他们欣赏什么,不喜欢什么。同时必须清醒地知道本公司的产品有哪些不足,或哪里可以改进。
     
  3. 了解了客户的需求后,必须乐于思考如何让产品更贴近并帮助客户。
     
  4. 作为一个独立的员工,必须与公司制定的长期计划保持步调一致。员工需要关注其终身的努力方向,如提高自身及同事的能力。
     
  5. 在对于周遭事物具有高度洞察力的同时,必须掌握某种专业知识和技能。特别是一些大公司,他们要求员工迅速掌握专业技术。没有人能保证他目前拥有的技能仍适用于将来的工作,所以,好学精神是非常关键的。
     
  6. 非常灵活地利用那些有利于发展的机会。在微软,我们通过一系列方法为每一个人提供许多不同的工作机会。任何热衷参与微软管理的员工,都将被鼓励在不同客户服务部门工作。
     
  7. 一个好的员工会尽量去学习了解公司业务运作的经济原理,为什么公司的业务会这样运作?公司的业务模式是什么?如何才能盈利?员工必须了解导致本行业中企业盈利或亏损的原因,才能对自己所从事的工作的价值有更深入的理解。
     
  8. 关注竞争对手的动态。我非常欣赏那些随时注意整个市场动态的员工,他们会分析我们的竞争对手的可借鉴之处,并注意总结,避免重返竞争对手的错误。
     
  9. 好的员工善于动脑子。分析问题,但并不局限于分析。他们知道如何寻找潜在的平衡点,如何寻找最佳的行动时机。思考还要与实践相结合。好的员工会合理、高效地利用时间,并会为其他部门清楚地提出建议。
     
  10. 不要忽略了一些必须具备的美德,如诚实、有道德和刻苦,这些都是很重要的,在此无需赘言。

点击这里链接到引用地址

11/12/2005

又闻米香~

好久没有煮大米粥了,今天突然很想吃。到楼下买了点米,回来淘米,热水,煮一小锅。
不一会儿,米香就弥漫了整个厨房 ,不禁深深的吸了一口气,啊……
 
一碗清香的大米粥,你多久没喝了?

The Official Mascots of the Beijing 2008 Olympic Games

Like the Five Olympic Rings from which they draw their color and inspiration, the Five Friendlies will serve as the Official Mascots of Beijing 2008 Olympic Games, carrying a message of friendship and peace--and blessings from China--to children all over the world.
Designed to express the playful qualities of five little children who form an intimate circle of friends, the Five Friendlies also embody the natural characteristics of four of China's most popular animals--the Fish, the Panda, the Tibetan Antelope, the Swallow--and the Olympic Flame...
11/11/2005

Core Idea from MSF

Partner with Customers – Customer validation is often the difference between real and fictional business value. Understanding the value proposition of your solution and communicating it effectively is a key success factor.

Foster open communications – In order to maximize members' individual effectiveness and optimize efficiencies in the work, information has to be readily available and actively shared

Work toward a shared vision – Having a generally long-term and unbounded vision inspires the team to rise above its fear of uncertainty and preoccupation with the current state of things and to reach for what could be.

Empower team members – In an effective team, all members are empowered to deliver on their own commitments and to feel confident that other team members will also meet theirs.

Establish clear accountability and shared responsibility – Failure to establish clearly understood lines of accountability and responsibility on projects often results in duplicated efforts or missing deliverables.

Focus on delivering business value – While many technology projects focus on the delivery of technology, technology is not delivered for its own sake—solutions must provide tangible business value.

Stay Agile, Adapt to Change – The more an organization seeks to maximize the business impact of a technology investment, the more they venture into new territories. This new ground is inherently uncertain and subject to change as exploration and experimentation results in new needs and methods. To pretend or demand certainty in the face of this uncertainty would, at the very least, be unrealistic and, at the most, dysfunctional.

Invest in quality – An investment in quality therefore becomes an investment in people, as well as in processes and tools. Successful quality management programs recognize this and incorporate quality into the culture of the organization.

Learn from all experiences – Taking time to learn while on tight deadlines with limited resources is difficult to do, and tougher to justify, to both the team and the stakeholders. However, the failure to learn from all experiences is a guarantee that we will repeat them, as well as their associated project consequences.

Always Create Shippable Products – The team should be committed to creating the highest quality product while making changes. Each change should be done in the context of the belief that the product should be ready to ship at any time.

10/14/2005

Microsoft is dogfooding their own go-live license for ASP.NET 2.0

> telnet www.microsoft.com 80

> GET /

Date: Thu, 12 Oct 2005 22:17:52 GMT
Server: Microsoft-IIS/6.0
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo C
NT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 21706

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
...

10/10/2005

MSN Tips

Start a conversation with a contact: msnim:chat?contact=@hotmail.com
Add a contact to your contact list: msnim:add?contact=@hotmail.com
Send an invitation to start a voice conversation: msnim:voice?contact=@hotmail.com
Send an invitation to start a video conversation: msnim:video?contact=@hotmail.com

做网站可能需要注意的地方(转载)

1,对每一个超级链接点击之后采用新开窗口还是直接跳转,必须认真对待。如果用户点击一个link之后是要放弃当前页面开始新的体验,则应用直接跳转。如果用户点击link是要了解更多的信息,但是当前页面的信心仍然有用,则应新开窗口。

2,在每一个用户可能需要帮助的地方提供帮助信息或帮助按钮。完善的帮助系统是一个产品,网站成功很重要的因素。

3,区别对待你用户中的菜鸟和大虾,对于菜鸟有简单易上手的教程和循序引导,对于大虾应有快速开始体验的绿色通道。

4,对每一个功能使用的词语要慎重措辞。易懂,清楚描述提供的功能含义。不要让过于“酷”的词语吓跑用户。

5,是否有良好的快速的Bug反馈机制和投诉渠道,并且对bug与投诉及时反应。不要让这些问题石沉大海,没有回应。同时注意,尽量不要使用email这样的反馈机制,开发一个良好互动的反馈系统是有必要的。让其他用户可以看到另外的用户的提问和解答的情况。

6,了解你的用户群习惯,Office,Windows的操作习惯无疑是他们最熟悉的,所以,Word式的编辑器,Windows式的操作界面对大多数用户来讲往往会是最友好的。当你不清楚的用户的喜好的时候,多搞简短的问卷调查来帮助你改善提高往往是有效的。

7,在适当的时候和地方体现你的幽默是可爱的。用户会对这样的设置会心一笑,无形中增加对你的喜爱,认可度

8,不要轻易对你的用户承诺什么,但是一旦承诺了,就要尽最大努力去兑现。

9,对于由于开发者的粗心或者失误给用户造成的损失和伤害,不要沉默,不要试图去隐瞒否认,而是诚挚道歉,承担责任,解决问题。

10,功能齐全不是最重要的。做好核心功能,对核心功能体验良好是应该优先考虑的。不是你推出的服务越多,用户越喜欢,而是你推出的某项核心服务足够好,吸引了用户。事实上,一个网站理论上可以提供的功能是可以无限增加的。不要忘记了用户来这里的最重要的目的。

11,不要试图在一个还不错的产品里去强行捆绑(并且不可卸载)自己还不够成熟的产品。体验差的产品只会伤害用户,并且使得他们对你今后的改进也会保持一种惯性上的敬而远之。

12,提供信息型的网站是应该让用户获取所需并且快速离开当前板块。

13,在不泄漏商业机密的情况下,让用户知道你的开发进度和目标是值得赞许的。一个和用户足够接近并且亲切的开发团队能够赢得用户的认可。

14,开放的心态尤其重要。让你的用户来去自由,从长远来讲可能反而能够对用户形成最大的粘性。不要像某些SP一样,一旦使用了其服务,就不让你在退订。不要让用户有上了贼船的感觉。

15,粘住用户是我们的最终目的。但是注意途径和方式。说得虚一点:留住用户的心,比留住用户的人更加重要。

16........

最后,纸上谈兵谁都会,说易做难。说一百件,不如做十件,做十件,不如做好一件。

YY完毕。:)

8/29/2005

今天在7-11看到了一瓶椰果

不自觉地就买下了,回来送给想吃的人吧。
 
Photo 1 of 20