I know the answer (it's 42)

A blog on coding, .NET, .NET Compact Framework and life in general....

Browse by Tags

Tagged Content List
  • Blog Post: .NET Just in Time Compilation and Warming up Your System

    One of the primary obstacle we face while scaling our system is Just In Time (JIT) compilation of the .NET stack. We run a .NET managed application server at a huge scale with many thousands of managed assemblies on each server (and many many thousands of those servers distributed globally).We deploy...
  • Blog Post: Fastest way to switch mouse to left handed

      I think I was born left handed, unfortunately I was brought up to be right handed. This was not uncommon in India 30 years back. Left hand usage was looked down upon. However, the good thing is I am still ambidextrous (equal handed) in some things like using the mouse. For ergonomic reason I keep...
  • Blog Post: .NET: NGEN, explicit loads and load-context promotion

    If you want to know the conclusion and want to skip the details jump to the end for the climax :). If you care to see this feature in, please vote for this at http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/5194915-ngen-should-support-explicit-path-based-assembly-l Load-Context...
  • Blog Post: .NET: Figuring out if your application is exception heavy

    In the past I worked on a application which used modules from different teams. Many of these modules raised and caught a ton of exceptions. So much so that performance data was showing that these exceptions were causing issues. So I had to figure out an easy way to programmatically find out these code...
  • Blog Post: Arduino Fun – Door Entry Alarm

      Arduino UNO based door entry alarm Physical computing and “internet of things” is a super exciting area that is unfolding right now. Even decades back one could hook up sensors and remotely get those data and process it. What is special now is that powerful micro-controllers are dirt cheap and...
  • Blog Post: C# code for Creating Shortcuts with Admin Privilege

    Context If you just care about the code, then jump to the end In the CLR team and across other engineering teams in Microsoft we use build environments which are essentially command shells with a custom environment setup using bat and cmd scripts. These scripts setup various paths and environment variables...
  • Blog Post: Moving to Outlook from Google Reader

    I am sure everyone by now knows that Google Reader is being shutdown. I am a heavy user of Google Reader or Greeder as I call it and I immediately started looking for an alternative, when this suddenly occurred to me, that all PC’s I use have Outlook installed on them. So if you work for an organization...
  • Blog Post: Core Parking

    For some time now, my main box got a bit slow and was glitching all the time. After some investigation I found that some power profile imposed by our I T department enabled CPU parking on my machine. This effectively parks CPU on low load condition to save power. However, This effects high load conditions...
  • Blog Post: Managing your Bugs

    I have worked on bunch of large scale software product development that spanned multiple teams, thousands of engineers, many iterations. Some of those products plug into even larger products. So obviously we deal with a lot of bugs. Bugs filed on us, bugs we file on other partner teams, integration bugs...
  • Blog Post: WP7 Mango: The new Generational GC

    In my previous post “ Mark-Sweep collection and how does a Generational GC help ” I discussed how a generational Garbage Collector (GC) works and how it helps in reducing collection latencies which show up as long load times (startup as well as other load situations like game level load) and gameplay...
  • Blog Post: WP7 Mango: Mark-Sweep collection and how does a Generational GC help

    About a month back we announced that in the next release of Windows Phone 7 (codenamed Mango) we will ship a new garbage collector in the CLR. This garbage collector (GC) is a generational garbage collector. This post is a “ back to basics ” post where I’ll try to examine how a mark-sweep GC works and...
  • Blog Post: Emulator updates for the new Windows Phone Mango tools

      GPS One of the most requested feature for the emulator was support for sensor. Developers were apparently asking their managers for travel budget to go to Hawaii/Europe so that they could test out their location based apps :). Today at MIX11 we announced that GPS sensor support for the emulator...
  • Blog Post: Windows Phone 7, my story

    Now that Windows Phone 7 is released all the gadget/tech blogs like TechCrunch, Engadget , Gixmodo are humming with reviews. Given that it’s a Version 1 product (ignore that 7 in the phone name) the reviews are great. Seeing all the buzz around gets me thinking about how I got involved in the project...
  • Blog Post: Some things I have learnt about SW development

    Working in the developer division is very exciting because I can relate so well with the customers. However, that is also an issue. You relate so well that you tend to evolve some strong opinions that can cloud your view. While working in the Visual Studio Team System team and now in the .NET Compact...
  • Blog Post: Indic Language Input

    If you have tried inputting Indian languages in Windows you know it’s a major pain. That is particularly sad because Windows comes with very good support of Indian languages. I had almost given up using my native language Bengali on a computer due to this. Even when I was creating the About Page for...
  • Blog Post: Silverlight: Where are my colors

      The Silverlight System.Windows.Media.Colors class is a trimmer counterpart of the WPF Colors class. E.g. Colors.AliceBlue is available in WPF but not present in Silverlight. However, these standard colors are indeed available in Silverlight XAML. In effect in Silverlight XAML you can use <Border...
  • Blog Post: Technical Presentation Tip

    I’m no Scot Hanselman , but even then I guess I can share at least one tip for delivering technical presentation that has worked very well for me. At the very beginning of your presentation always have a slide clearly calling out what the attendees will “Take Away” and what is the “Pre-requisites'” of...
  • Blog Post: Floating point operations in .NET Compact Framework on WinCE+ARM

    There has been a some confusion on how .NETCF handles floating point operations. The major reason for this confusion is due to the fact that the answer differs across the platforms NETCF supports (e.g. S60/Xbox/Zune/WinCE). I made a post on this topic which is partially incorrect. As I followed that...
  • Blog Post: How many heaps does the .NET Compact framework use

    While discussing the memory architecture with an internal customer, he inquired about how many heaps .NETCF creates. I’m not sure how it might be helpful to users, but the answer is 5. This has been touched upon in some blogs and presentations (e.g. MEDC 2005) but I thought I’d put up a handy list. Heap...
  • Blog Post: .NET Compact framework GC Quantum

    In my post When does the .NET Compact Framework Garbage Collector run I mentioned that one of the causes for starting a garbage collection is that 1 MB of data has been allocated from the last garbage collection. Essentially we keep a counter which is reset to 0 on each GC and it is incremented each...
  • Blog Post: Small Basic

    Today my father in law started teaching my 4 year old daughter how to write in Bengali which is her native language. Below is the screen shot of her attempt to write অ আ ই , the first character is written by her teacher and the rest by her. This got me thinking around when the time comes how do I introduce...
  • Blog Post: Back To Basics: How does the GC find object references

    This post is Part 9 in the series of posts on Garbage Collection (GC). Please see the index here. Most garbage collection algorithms needs to know all other objects referenced by a given object to correctly traverse object hierarchy. All of reference counting, mark-sweep and even coping collectors...
  • Blog Post: Back To Basics: Generational Garbage Collection

    This post is Part 8 in the series of posts on Garbage Collection (GC). Please see the index here. One of the primary disadvantage discussed in the post on mark-sweep garbage collection is that it introduces very large system pauses when the entire heap is marked and swept. One of the primary optimization...
  • Blog Post: Back To Basics: Handling overflow in mark stage

    This post is Part 7 in the series of posts on Garbage Collection (GC). Please see the index here. Let’s first recap the basic algorithm of the mark-sweep garbage collection . In C like pseudo code the algorithm looks like void GC() { HaltAllThreads(); ObjectCollection roots = GetRoots(); for(int...
  • Blog Post: Back to Basics: Optimizing reference counting garbage collection

    This post is Part 6 in the series of posts on Garbage Collection (GC). Please see the index here. One of the comments on my previous post on reference counting GC prompted this post. The comment goes as “Ref counting GC seems to have some hard issues. How does it still get used?” The advantages...
Page 1 of 2 (45 items) 12