.Net Architect
Saturday, June 02, 2007
Tuesday, May 15, 2007
A few good sites about XP and testing
Ron Jeffries' site www.xprogramming.com
Harry Robinson's web site http://www.geocities.com/model_based_testing/ has a lot of interesting information on testing, although generally more on system/integration/acceptance testing.
Sunday, May 13, 2007
Microsoft has been losing top talents
“Those who build great companies understand that the ultimate throttle on growth for any great company is not markets, or technology, or competition, or products. It is one thing above all others: the ability to get and keep enough of the right people.” – Jim Collins.
Microsoft has been losing top talents in the last a few years. I am wondering how Steve Barmer is going to turnaround this situation. Bill and Steve are around retirement age now. How can they compete with Google's "teenages"? Furthermore, Google's compensation package is now at a level where Microsoft has no way to match up.
Thursday, May 03, 2007
比尔盖茨的10大优秀员工准则
比尔盖茨的10大优秀员工准则
第1条准则 对自己公司的产品抱有极大的兴趣 1.对公司的产品具有寻根究底的好奇心 2.始终表现你对公司及产品的兴趣和热爱 3.热爱并专注于自己的工作 4.天下没有一劳永逸的事,要不断自我更新。
第2条准则 以传教士般的热情和执着打动客户 1.以传教士般的热情和执着打动客户 2.站在客户的立场为客户着想 3.最完善的服务才有最完美的结果。
第3条准则 乐于思考,让产品更贴近客户 1.了解并满足客户的需求 2.思考如何让产品更贴近客户。
第4条准则 与公司制定的长期目标保持一致 1.跟随公司的目标,把握自己努力的方向 2.做一个积极主动的人 3.奖金和薪水不是惟一的工作动力 4.把自己融入到整个团队中去 5.帮助老板成功,你才能成功。
第5条准则 具有远见卓识,并提高专业知识和技能 1.对周围的事物要有高度的洞察力 2.吃老本是最可怕的 3.不断学习,提高自己的工作能力 4.掌握新知识新技能,以适应未来的工作 5.做勇于创新的新型员工。
第6条准则 灵活地利用那些有利于你发展的机会 1.机会从来不会缺乏 2.用行动创造机遇 3.敢于冒险,才能抓住成功的机会 4.珍惜和利用公司提供的不同工作机会 5.抓住每一个展现自己的机会。
第7条准则 学习经营管理之道,关注企业发展 1.好员工应该学习和懂得经营管理之道 2.认定工作的价值,为公司赚取更多的利润 3.树立主人翁意识,处处为公司着想 4.视自己为老板,把公司当做是自己开的。
第8条准则 密切关注和分析公司的竞争对手 1.时刻关注本行业的发展动态 2.树立正确的竞争意识,敢于竞争 3.了解和分析竞争对手,才能战胜对手 4.学习竞争对手,避免重犯对手所犯的错误。
第9条准则 有效利用时间,用大脑去工作 1.善于动脑子分析问题,产妥善解决问题 2.有了好的想法就立即去做 3.合理有效地利用时间,准时做事 4.从时间手中赢得机会 5.及时向公司提出合理化建议。
第10条准则 员工必须具备的美德 1.忠诚 2.诚实 3.守信 4.勤奋 5.节俭 6.热情 7.敬业 8.责任心。
Thursday, April 26, 2007
Good Code...
1. Is easily testable
2. Constains no duplication
3. Has intentional coupling, strong cohesion, and clarity.
-- NetObjects.
Sunday, January 21, 2007
Monday, January 08, 2007
"Access Denied" when ASP.Net accesses Eventlog
Stupid thing happened today, which was blocking the integration bed:
The ASP.Net applicatin returned an "Access Denied" error when it was accessing the eventlog.
I couldn't help jumping on this too since it was blocking. I was pretty sure it's not the GPO's fault at the very beginning because the GPO hasn't been used here yet. The identity for the App pool was the "Network service" account. Thus I
checked the security settting for the event log:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog
\Application\CustomSD
I added a WRITE access for the "Network service" account: (A;;0x2;;;NS). It didn't work. Then I checked web.config and found the site was using "impersonation" and basic authentication. I added (A;;0x2;;;AU) for authenticated users, the site started to work again.
What the heck is (A;;0x2;;;AU)? You can check out Microsoft's weirdo SDDL (Security Descriptor Definition Language) at MSDN or here.
