Android Development Ready

I bought Google Nexus 4 last month and convinced 2 other female friends to buy the same model. All of us are happy about what we got. I was fascinated with the smoothness of the user interaction and elegance of the user interface. It’s priced at half of iPhone 5’s retail price with a quarter…


MSFT Office, SQL, Azure team interviews

I decided to write a post about the interview questions forSDE 2 (level 61) positions at Microsoft. The interview experience was betterthan what I had before. I thought I could easily get the jobs but wrong. Fromthe feedback, I think it was more a disagreement on coding practices thananything else. The recruiters did not have…


Experiencing Windows Azure 0

It’s been a while since I looked at Windows Azure. Recently I received an employee pass to use Windows Azure. I was given small computing power and storage but good enough to beat the trial version of Windows Azure. The Windows Azure Platform management portal at https://windows.azure.com/default.aspx has improved to have the look and feel…


Custom Developed Home Alarm System

Introduction: It all started from a break in A few weeks ago, an intruder broke into my house. My neighborhood was known for no break-ins in the past 11 years. No neighbors had break-ins since the community was built.I did not activate the home alarm system or pay for ADT security service. Suddenly, security became an…


Android Development Proof of Concept

I started experiencing Android development with Eclipse and my Samsung Galaxy s 4G I rooted and unlocked. It was the nicest mobile computing unit I’ve ever bought. I thought why not write a mobile app for my phone? That’s how I started. It was not easy to set up the development in the beginning but…


Count the number of combinations that add to a given sum in an int array

My roommate Long Tran gave me a coding problem he found on the Internet this afternoon. I first did not think it was actually a coding problem but a puzzle. He gave me 2 samples of integer arrays: 5,5,10,2,3 and 1,2,3,4,5. The goal is finding the number of combinations which add up to 15. I…

2

Visual Studio 2010 x64 code coverage

The internal code coverage tool I was talking about in my previous post has been shipped with Visual Studio 2010. The full path to it is \Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Performance Tools\x64 for the 64 bit code coverage. 1 layer up the folder is for the x86 code coverage. The commands are the…


UIAutomationClient

In the other blog about UI automation, I forgot to mention how to add the reference and should have included the solution. The assembly to reference is called UIAutomationClient in Visual Studio 2010. Use this MSDN article and James McCaffrey’s blog to get started. I am attaching my sample solution here but the Windows form…


Load Code Coverage Data to SQL database

Load Code Coverage Data to SQL database Use Visual Studio’s code coverage tools to obtain the .coverage file Visual Studio has a set of tools that can collect your code coverage data. The data structure of the collected code coverage data is in a table format. As you can see from the link, it shows…

1

Test .NET library using PowerShell and Visual Studio Debugger

Often times, when a developer builds a C# library, there is always a need for unit testing it. If your company already has strictly guidelines on how to enforce unit testing before any code is checked in, you might want to read the policy procedure about how to do it. Visual Studio Team System 2008…