Bar Charts on the console

I work on the UI action recorder and it has a strict performance requirement. The tool dumps the time it takes to record each action in it’s log and that is compared against the maximum allowed value (otherwise the system will seem sluggish). To do this obviously we need fancy charts, as everyone likes them,…

1

Support for range in programming languages

The .NET platform and the languages on top of it have limited or no support for range of values. Data ranges are one of the most common data-types and somehow it’s not there. Funnily most programmers do not even seem to miss it (unless of course if you have used Ruby). How would you specify…

5

Fun Windows Home Server site

Windows Home Server team has a nice light-hearted site up at http://www.stayathomeserver.com/. All of it was funny, until I reached the page http://www.stayathomeserver.com/book.aspx. It says “daddy wants to give mommy a special gift…. So he buys a stay-at-home server”.  That’s not funny, “Wife Acceptance Factor” would be reflecting nitrogen freezing point for a home server….

1

Choose your company name well

Sometime back Hutch phone in India got bought over by the international phone giant vodafone. They re-branded Hutch in India to Vodafone. Now when I call up home and the phone is busy I get a recorded message in Bengali which means “The Vodafone number you’re trying to call is busy”. All that is good but the…

2

Ravenous Bugblatter beast on Indian roads

From the HitchHiker’s Guide to the Galaxy. “The Ravenous Bugblatter Beast of Traal is a creature that hails from the planet of Traal, and will eat anything. If you are to encounter one, the Guide tells you that it’s impossible to slay, so you should wrap a towel around your head. This creature is so…

0

Newbie Question: How do I figure out the inheritance chain of a type

I got this question from someone just starting out on the .NET platform. He is used to hit F12 (go to definition) on types and then figure out the inheritance chain. However, he couldn’t do that say on a number (int) or array. The solution is to write a simple recursive routine as follows static void…

2

How do you name your computer

Windows gives examples of “Kitchen Computer” or “Mary’s Computer” for setting the name of a computer (Computer Name tab in System Properties). But I’m sure that most people don’t name their computers that way and show off a bit of creativity in it. Previously I used to use names from Asterix like GetAFix for my…

12

Woohoo – Rosario November CTP is out…

…and I can finally talk about what I’m working on for the last so many months. First things first, for more information on Microsoft Visual Studio Team System code name “Rosario” November CTP release head on to Jeff Beehler’s blog A small bullet in the list of features is Manual Test execution. What it means…

4

True object oriented language

  Today I was spreading the goodness of Ruby and why I love it so much (and you can expect multiple posts on it). SmallTalk programmers can sneer at me, but hey I wasn’t even born when SmallTalk came into being and hence I can be pardoned for pretending that Ruby invented this 🙂 Languages…

1

All programming languages evolve towards Lisp

In an internal DL people were debating what all should be included in the next version of C#. One of the things I suggested turned into an interesting thread. Abhinaba: Add if as expression (like in Ruby) so that I can do the following var ageGroup = if age < 2                   “Infant”               else if age <…

5