Welcome to MSDN Blogs Sign in | Join | Help

August 2006 - Posts

Use Team Build to make Tea

Why not? If someone can use MsBuild task to make coffee while the build is in progress, using Team Build for remotely making tea is trivial. Just take that task and modify it to make tea and plug it into Team Build . Fire your build on your home build
Posted by abhinaba | 0 Comments

FlagsAttribute could've done a bit more

Definition of FlagsAttribute on MSDN sez " Indicates that an enumeration can be treated as a bit field; that is, a set of flags ". It further goes on to indicate " Bit fields can be combined using a bitwise OR operation, whereas enumerated constants cannot
Posted by abhinaba | 5 Comments
Filed under:

C#: When indexers no longer remain cool

Manish was using a library for some image manipulation and hit upon a class which uses indexer. Indexer allows a class/struct to be indexed in the same way as an array. This is typically used by classes that encapsulates some other collection and wants
Posted by abhinaba | 7 Comments
Filed under:

C# Anonymous methods, lambda expressions and Ruby

In my last post I had discussed about anonymous methods. I had used the following code snippet to show how anonymous methods can be used to print out a List<string> List < string > nameList = new List < string >(); nameList.Add( "Abhinaba"
Posted by abhinaba | 4 Comments
Filed under: ,

Do programmers really use Anonymous methods

Anonymous methods provides a elegant way to inline callback functions (delegates). Anonymous methods typically work in the situation where you don't have significant amount of code in the callback and hence don't want to take the trouble of defining a
Posted by abhinaba | 8 Comments
Filed under:

Stylistic differences in using

There are two ways in which you can use using directive as outlined below Style 1 using System; using System.Collections.Generic; using System.Text; namespace MyNameSpace { // ... } Style 2 namespace MyNameSpace { using System; using System.Collections.Generic;
Posted by abhinaba | 4 Comments
Filed under:

Ahlen, Kasumai, Amole, Ezender, Wiñamek - ClustrMaps for tracking blog hits

I first noticed it on Rob Caron's blog . Provided by http://clustrmaps.com/ , it's a map of the world with red dots on it indicating hits to that blog from various countries. The idea is simple, you need to embed a html snippet into your blog and this
Posted by abhinaba | 0 Comments
Filed under:

Team Build Ticker: parting gift

I had blogged earlier about the BuildTicker tool which sits on the system tray and notifies of builds happening on the server. I have received many requests to get this tool. So here it goes. Get the executable from here and the sources from here . Since
Posted by abhinaba | 21 Comments
Filed under:

Ruby.NET

I had blogged earlier about Gardens Point Ruby.NET . After I read Don Box writing about it, I decided to give it a try. I tried compiling some Ruby code. I failed to get the retry code to run. It kept giving " Unable to cast object of type 'Ruby.Object'
Posted by abhinaba | 5 Comments
Filed under: ,

Front license plates are not required in NC and many other states in the US

While this can be very common and insignificant information for most people in US and specifically those from the 19 states that doesn't officially need a front license plate , it caught us by surprise. We (me another colleague Neeraja) went to Microsoft
Posted by abhinaba | 1 Comments
Filed under:

Null pointer access in C++

Language implementation quirks can lead to interesting things. Lets say I have the following C++ code. class MyClass { int i; public : void foo() { cout << "Hello" << endl; //i = 5; } }; int main( int argc, char * argv[]) { MyClass *mc; mc->foo();
Posted by abhinaba | 4 Comments
Filed under:
 
Page view tracker