• Ankur

    Can you crack this II?

    • 6 Comments
    Here are the next round questions 1. This was a jigsaw the we solved to get pictures with following words go a little soft to find the latest one:- picture of chicago the movie -----> statue of elvis ---------> picture of london 's eye...
  • Ankur

    Can you crack this?: Solutions

    • 2 Comments
    First thing first sorry guys for not posting for so long was out for long time. Here are the solutions: This was very straight forward. Blue Gene , the IBM super computer. Royal DNA (Gene) born out of sand (which is how you make silicon). It...
  • Ankur

    Can you crack this?

    • 6 Comments
    One of the carziest puzzels I ever came accross... We(me, Amit Chat and Satej) are taking part in the onlie treasure hunt organized by ISB folks . The first day was a breeze the moment we saw the clue we had the answer. Here is the clue: I...
  • Ankur

    Thread.Abort() on a thread executing a Finally/Catch or .ctor block.

    • 4 Comments
    Issue: If a thread t is in some catch or finally or cctor block, calling t.Abort() from another thread does not have any effect on the thread. Here is the code to repro this. using System; using System.Threading; namespace ConsoleApplication2 { class...
  • Ankur

    Migration of partial history from VSS to TeamFoundation

    • 0 Comments
    I have an VSS repository i have been using for past 5 years but i do not care for history beyond 2 years. Moving to Teaamfoundation i would like to discard that history. How do i do that? Either you can use archieve feature in VSS to remove that history...
  • Ankur

    Incremantal migration with VSSConverter

    • 0 Comments
    Why incremental migration? Case 1: Migration takes a lot of time so I will migraqte a copy of my VSS repository and continue working on the original. after migration of copy I will migrate the delta between original and copy. Case 2: Migration was...
  • Ankur

    More about F1 profiler ( shipped with VS 2005)

    • 0 Comments
    Angry Richard's blog talks about some cool features of new F1 profiles. VSInstr has an option called include and exclude. This allows you to instrument only certain functions inside your app. It accepts wildcards so you can do things like instrument only...
  • Ankur

    Profiling: Sampling doesn't report my functions wait time.

    • 0 Comments
    Working on performance of VSSConverter. I am using the new F1 profiler being shipped with VS 2005. I have a simple code sample like this: using System; using System.Collections.Generic; using System.Text; using System.Threading; namespace perf_test {...
  • Ankur

    Settings File for VSSConverter

    • 4 Comments
    There is some problem with VSSConverter documentation at http://msdn2.microsoft.com/en-us/library/ms181247 . It has some bogus <i> </i> inserted in all XML snippets. For details on how to migrate see Akash's blog . If you are just stuck...
  • Ankur

    How to stop threads on threadpool when my windows service is being stopped?

    • 1 Comments
    I came accross a mail thread which deals with the problem i was facing some time back. Sharing it to you all. Problem: I have written a windows service in .Net that uses the ThreadPool.QueueUserWorkItem() call to do some processing. Each work item...
  • Ankur

    Path.GetTempFileName()

    • 2 Comments
    In C# the class Path gives an easy way to get a temporary file for your application but you have to be careful using this API. This API create zero-byte temporary files in Windows temporary folder and when there are 65536 files it gives an IOException...
  • Ankur

    How does VSS Converter works?

    • 1 Comments
    VSS provides IVSS automation interface to program. This interface is used to retrieve the information from VSS repository. Converter reads the history from VSS repository and adds into an intermediate database (SQL). This history is processed to take...
Page 1 of 1 (12 items)