Welcome to MSDN Blogs Sign in | Join | Help

December 2005 - Posts

Watson, look up at the sky and tell me what you see

" Sherlock Holmes and Dr. Watson go on a camping trip, set up their tent, and fall asleep. Some hours later, Holmes wakes his faithful friend. "Watson, look up at the sky and tell me what you see." Watson replies, "I see millions of stars." "What does
Posted by abhinaba | 4 Comments
Filed under:

snooping into TeamSystem activity logging

Brian Harry had blogged before on how we are using the activity logging on our Team System data-tier to actually measure load on our Team Foundation Server. How to enable logging TFSActivityLogging is a databsae created on the DT (data-tier) of TFS. To
Posted by abhinaba | 9 Comments
Filed under:

Team Build RSS Feed

<Update: After some complains that it is difficult to cut paste code out of the blog, I have zipped and placed the source here > <Update: Fixed so that you no longer need to copy the Microsoft.TeamFoundation.Build.Common.dll. Thanks to a Watson
Posted by abhinaba | 17 Comments
Filed under:

Attachment(s): TeamBuildRssFeed.zip

C#: Did if( a = b) lose its sting

One of the common typo of using if (a = b) in place of if (a == b) gave a lot of grief to programmers working in C and C++. If you make the typo, you have an expression that is always true if b is not 0 (mostly it isn't) and the compiler is not even polite
Posted by abhinaba | 7 Comments
Filed under:

C#: Do we need checked exception in C#

We recently got hit by a bug where some method threw an exception which it was not supposed to. Since the thrown exception was not in the methods documented list of exception classes we did not have a catch for it and landed up with an unhandled exception
Posted by abhinaba | 11 Comments
Filed under:

C#2.0: Nullable types, lifted operators and some compare weirdness

Recently I was stumped on some weird comparisons and I promised myself I'd do some investigations. I figured out with help of some people like Erric Lippert they are due to the inclusion of nullable types in the language. When a new feature is added the
Posted by abhinaba | 1 Comments
Filed under:

What do we work on here in Microsoft India

Frequently I have been asked the question, what kind of work is done in Microsoft India or MIDC? The number of questions grew with my recent post on BillG's visit to India and his announcements regarding the plans to grow MIDC and MS India in general.
Posted by abhinaba | 0 Comments
Filed under:

C#: And I thought parallel assigment expressions were good

When I began using Ruby I loved most of the things I saw. I made couple ( 1 , 2 ) of posts on some of those features that I'd like to see in C#. When I started re-visiting code I wrote sometime back my views started to change considerably. One of these
Posted by abhinaba | 7 Comments
Filed under: ,

The programmer's disease of doing it yourself

I had been taking a lot of digital pictures over the last few months, especially of my daughter. The numbers had grown so much that managing them was getting out of hand, so I did what most programers would do. I wrote code to do the backup. I used Ruby
Posted by abhinaba | 10 Comments
Filed under:

C# 2.0: Generics, default(T) and compare to null weirdness

<Added additional stuff after a discussion on internal CSharp user list> I was going through the generics spec in C#2.0 and found something really weird. default(t) Consider the following code. class MyGenClass <T> { public void Method( ref
Posted by abhinaba | 22 Comments
Filed under:

Bill Gates is in India and he's all over the place

I opened the morning newspaper and there he was on the top-page almost taking 25% of it. I opened the TV and he's there in the news rolling out grand plans for the future of Indian SW industry. Bill Gates is especially dear to Hyderbaadis. When all SW/HW
Posted by abhinaba | 3 Comments
Filed under:

C#: some corner cases

I was just reading the blog entry corner cases in C# and Java when I remember two of such corner cases I hit Multi-line comments I was working on a tool to count source lines. In that I printed out number of uncommented lines as well. While working on
Posted by abhinaba | 3 Comments
Filed under:

C#: if sealed is supported then why not singleton

As I had said in my previous blog " Usefulness of a new feature is best understood if you try to implement something that the feature targets without using that feature ". Lets take the example of the sealed class modifier. A sealed class cannot be inherited.
Posted by abhinaba | 13 Comments
Filed under:

Developers are Super-hero

Bill Gates is coming to India for the launch of Visual Studio 2005, SQL Server 2005 and Biztalk. To celebrate this the rock band Parikrama has come out with a song about us (developers). Download the mp3 and lyrics from the Microsoft India site . I had
Posted by abhinaba | 6 Comments
Filed under:

C# 2.0: life was a bit more difficult without Static classes

Usefulness of a new feature is best understood if you try to implement something that the feature targets without using that feature. I started programming in C# when v2.0 was already available internally, so I got used to many of the new features in
Posted by abhinaba | 2 Comments
Filed under:
 
Page view tracker