Ranjan Sakalley

Ranjan Sakalley

Sponsors

The Lounge

News

  • CodeBetter.Com Home



    I'm test-driven!



Advertisement

  • Writing unit tests for Windows Forms to test DataBinding

    Me and my pair were creating a form for the application, and basically testing out the data binding on the controls in the form. Having been bound to a domain object, the controls were tested as ...
    Filed under:
  • Dialog Units

    Microsoft recommends a left margin of 7 Dialog Units (DLUs) ( here ) between controls in forms. So what is this DLU? The definition follows - A vertical dialog unit equals 1/8 the font height, and a horizontal dialog unit equals 1/4 the font width. The actual problem is, when we talk about the system...
    Filed under:
  • New job

    I joined ThoughtWorks as an application developer. It was a wonderful day, had a real nice time talking to some of the people there. Incidentally, Martin Fowler is in the India office these day, so maybe I will get to meet him sometime. BTW, moving from Outlook 2003 to Lotus Notes is a hell of an experience...
    Filed under:
  • Some VS2005b2 likes and dislikes

    Likes - Clean Solution/Project Helps out to clean the solution/project output. Cleans out Copy Local assemblies, as well as the compilation output of the project. Reference properties - specific version (true/false) Very useful if different developer machines have different versions of components (though...
    Filed under:
  • Requirements collection for User Interfaces

    End users interact with your software only through the User Interface, and therefore, you must understand that for them the User Interface is the software....
    Filed under:
  • Product design and integration

    Integration and product design...
    Filed under:
  • Friday Trivia

    This was a poster put up in 1978 explaining something. Who put it up and what is being explained? * If it's there and you can see it--it's real * If it's not there and you can see it--it's virtual * If it's there and you can't see it--it's transparent * If it's not there and you can't see it—you erased...
  • Definition of a "Wicked Problem"

    Off late I have been using this term a lot, since I read about it in a Stephen Covey book. A wicked problem is a problem that could only be defined by solving it, or part of it. I have been busy currently on a product that manages more than a GB of data transfer between servers and automates several...
  • Can TDD help managing and guiding off-shore teams?

    One of the first ideas that I had, when I started reading about TDD was this - Can a manager/lead keep track of the code written by his team, by inspecting and adding to the tests written by them? My experiments give me an affirmative. What about you? Also, I wonder if an off-shore team can be managed...
    Filed under:
  • On quality consciousness of Off-shore development organizations

    Sahil here mentioned the state of H1B holders in the US. Profounding statements, and nicely put. Must read. There is a reference that comes though in one of the praragraphs, about the state of mind, and the their life style in the US. There is no mention on the work-quality, which has come under much...
    Filed under:
  • How to resize the columns of the grid databound to an array at runtime?

    While working on the new product (and that's why the break) we got into a DataBinding situation. We had a DTO class, something like this public class Employee { private string employeeName; private string employeeId; public string EmployeeName { get { return employeeName; } set { employeeName = value...
    Filed under:
  • TDD with Whidbey (Team Test)

    Honestly, its good to have a test generator right there in your own sweet copy of VS.Net. But you need to buy the Team Test edition of the Team System. Sad. In the past, I have argued with many people about generated test cases, from people who have written books on TDD to normal people like me, and...
    Filed under:
  • Friday Quiz I : Who wrote the first Hello World program?

    Thought about starting a quiz series, a question every friday kind of. So todays question is : Who wrote the first "Hello World" program? I might know it, but I am not sure. Do you know?
    Filed under:
  • Loading two versions of an assembly that are not in the GAC

    Many a time you might face this issue. Especially when you are using a third party component, which uses an older version of an assembly, of which you are using a newer version. Pre 2.0 (and I do not know for sure of 2.0) compiler compliant to the CLS do not support the functionality of a static reference...
    Filed under:
  • Using AppDomain.Unload II

    There were a few mistakes in the last post on the AppDomain.Unload solution (thanks Manoj for pointing out) (John Papa wanted to know why I did not use LoadFile, thanks John, now I know should have written that MarshalByRef, just forgot it completely.) And sorry for this delayed update, damn weekend...
    Filed under:
1 2 3 Next >