Lessons Learned from A Scam

This post contains some hard lessons I recently learned through a craigslist transaction. Hopefully it could help you to become more cautious if you decide to sell something through craigslist or other similar online sites. A while ago I won a competition at the company and the prize was an Xbox 360 with a 20G…


Performance Inspections

Note: This article is updated at Software Performance Inspections. In this post, I’ll focus on design, code, and deployment inspections for performance.  Inspections are a white-box technique to proactively check against specific criteria.  You can integrate inspections at key stages in your life cycle, such as design, implementation and deployment. Keys to Effective Inspections Know…


Performance Tips with SqlClient

Here’s a list of things to know if you’d like achieve the best performance/scalability with SqlClient: Use SqlBulkCopy to send large sets of data to the server Set DbDataAdapter.UpdateBatchSize to send batches to the server Use strongly typed getters instead of GetValue/GetSqlValue Turn on CommandBehavior.SequentialAccess and call GetChars/GetBytes when working with BLOBs Use parameterized queries…


Seattle Works Day 2007

1,000+ participants at 30+ project sites added up to nearly 4,000 hours of service in a single day. Seattle Works Day is a fun and easy way to green up Seattle. Microsoft also broke Seattle Works Day records. We had three projects this year with over 300 participants – our largest group ever. Microsoft has…


New Adventure

After working in SQL for more than 19 months, I have decided to pursue a new opportunity in Office Live. On June 1, I’ll begin my Office Live adventure.


Microsoft Surface

Cool product, cool name, cool website. I saw the demo in our company meeting and I really like it. http://www.microsoft.com/surface/ Executive Q&A: What the new surface computing category means for Microsoft and consumers http://www.microsoft.com/presspass/features/2007/may07/05-29Surface.mspx Microsoft Launches New Product Category: Surface Computing Comes to Life in Restaurants, Hotels, Retail Locations and Casino Resorts http://www.microsoft.com/presspass/press/2007/may07/05-29MSSurfacePR.mspx


10 Reinvigorating Facts About Microsoft’s Profits

I’d like to share an interesting article on Microsoft’s profits published a while ago: 10 Reinvigorating Facts About Microsoft’s Profits … Microsoft last week announced quarterly revenue of $14.4 billion and net income of $4.93 billion. In other words, Microsoft’s daily net income is about $55 million. That’s $55 million in pure profit every 24…


64-bit vs 32-bit

As 64-bit machines become more common, the problems we need to solve also evolve. In this post I’d like to talk about what it means for the GC and the applications’ memory usage when we move from 32-bit to 64-bit.   One big limitation of 32-bit is the virtual memory address space – as a…


Baking Performance Into the Life Cycle

Note: This article is updated at Baking Performance into the Life Cycle. To engineer for performance, you need to embed a performance culture in your development life cycle, and you need a methodology. When you use a methodology, you know where to start, how to proceed, and when you are finished. Keys to Performance Engineering…


Progressive Development

My mentor James at Microsoft recently started a blog with the name “Progressive Development”. It talks about best and worst practices of software engineering in the format of entertaining conversations between two figures Motley and Maven. I knew James through his class at Microsoft and he is a fantastic teacher with excellent engineering knowledge and…