25 10 / 2012

23 10 / 2012

The web kills off other protocols because it has something most protocols lack: a simple way of labeling every available item. Every resource on the Web has at least one URI. You can stick a URI on a billboard. People can see that billboard, type that URI into their web browsers, and go right to the resource you wanted to show them. It may seem strange, but this everyday interaction was impossible before URIs were invented.

22 10 / 2012

"the easier you can communicate, the faster change happens."

19 10 / 2012

Generating ideas is the easiest part of creating a presentation. The hard part is deciding what to keep. Many of your ideas may be fascinating or clever, but you can’t squeeze them all in — and no one wants to hear them all, anyway.

19 10 / 2012

The flipside of the increasing file-sizes is that the internal storage of smartphones and tablets is becoming a scarcer resource, as the device capabilities struggle to keep up with the requirements of apps and mobile content. Markkanen predicts, “Especially the consumers with 16GB devices are likely to become more conscious about what apps to keep and what to uninstall, so the developers’ bar to impress will be getting even higher than it is now. This could also speed up the adoption of the mobile cloud as a storage remedy quite significantly.”

10 10 / 2012

The most common reason for managed heap corruption is bad PInvoke’s. We pass in a buffer to a native (non .net) API which the native API is supposed to return some data in, but the buffer is too small for the results. Since the API has no clue about .net and no clue about the boundaries, it just happily writes its data.


The moral of the story? First off, make sure that if you call an API and one of the parameters is an [out] parameter you need to make sure that your buffer is large enough to store the result. Secondly, if you get this kind of issue, the first thing you should look for in the code is calls to unmanaged API’s.


10 10 / 2012

Tracing Win32 API While Debugging a Process

  • 1: 0:001> !logexts.loge
  • 2: 001> !logc e *
  • All categories enabled.
  • 2: 001> !logo e d Debugger Enabled Text file Disabled Verbose log Enabled
  • 2: 001> g

10 10 / 2012

you need to install the following below in the following order to get VS 2005 running properly on Windows 7.

1. VS 2005 SP1

- http://www.microsoft.com/download/en/details.aspx?DisplayLang=en&id=5553

2. Visual Studio 2005 Service Pack 1 Update for Windows Vista

- http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=7524

09 10 / 2012

In 1976, a landmark paper by Michael Fagan[2] found that code inspections can remove the overwhelming majority of code defects (up to 90%); no other quality assurance technical comes close.

[2] Fagan, Michael, “Design and Code Inspections to Reduce Errors in Program Development,” IBM Systems Journal 15, no. 3: 182–211.

(Source: techbus.safaribooksonline.com)

08 10 / 2012

How can one achieve a work-life balance? How can one keep professional life from dominating everything?

Set inviolable rules (the easy part) and then don’t violate them (always much harder). In the mid-1990s, I was simultaneously involved in rushing a product to market and being the full-time single dad of a middle-school son. I made a point to take my son to school every morning, to pick him up most afternoons, and to have dinner with him and lots of other “quality time” every evening. At the slight expense of my pulling all-nighters on a weekly-or-more basis, everything worked out okay: We shipped the product without delay, it won national recognition, and my kid turned out okay (except, of course, for becoming a software engineer). A few months after the product was shipped, my company cancelled it, and a few years later, I had a heart attack at age 46. Since then, I’ve been willing to draw much more reasonable rules and abide by them, well, like my life depended on them. Think very, very hard about the word life in the phrase “work-life balance!”

(Source: Making it Big in Software: Get the Job. Work the Org. Become Great )