It seems like such a trivial thing to be talking about but not knowing the difference between the two operators can make a huge difference between working code and code that only seems to work. Let me illustrate: bool b = false; bool c = true; if(b & c) ...
Tuesday, March 17, 2009
Friday, March 13, 2009
March 13, 2009
Rather than using Copy[Ctrl C] and paste [Ctrl V] in pairs, developers can store multiple cut/copy segments in the memory and use Ctrl+Shift+V to cycle through them. To try this, simply select texts in editor and continue to copy your selections using Ctrl C. You can copy up to 20 selections at a time. Now point your cursor where you want to insert these selections and select Ctrl+Shift+V. Keep hitting ‘V’ key to cycle through the list...
Tuesday, March 10, 2009
March 10, 2009
From my recent engagements I collected few performance anti-patterns that make ASP.NET web application to perform the way that is less than optimal. Many related to architecture and design. Below is the list of the anti-patterns and related materials on how to identify, analyze, and fix it. Have fun - if you feel like sharing your own experiences - that would rock my world! Why My ASP.NET Application Slow? Improper HTML Rendering ASP.NET...
Thursday, March 5, 2009
March 05, 2009
Introduction JQuery is a powerful JavaScript library that enables the developer to do more in less code, a point which I hope to show you in this article. Rather than give a brief overview, let's learn in this article by example. To start, JQuery uses the $ notation to target the HTML elements for retrieval or manipulation purposes. As an example, take a look at some of the ways you can access HTML elements. Listing 1: Accessing a single or...
March 05, 2009
1. The Byzantine Generals Problem (1982) by Leslie Lamport, Robert Shostak and Marshall Pease - The problem with distributed consensus 2. Go To statements considered harmfull (1968) - by Edsger W. Dijkstra - Didn't you always want to know why ? :) 3. A Note on Distributed Computing (1994) - by Samuel C. Kendall, Jim Waldo, Ann Wollrath and Geoff Wyant - Also on Michael's list but it is one of the foundation papers on distributed computing 4. Big...
March 05, 2009
On the criteria to be used in decomposing systems into modules – David Parnas A Note On Distributed Computing – Jim Waldo, Geoff Wyant, Ann Wollrath, Sam Kendall The Next 700 Programming Languages – P. J. Landin Can Programming Be Liberated from the von Neumann Style? – John Backus Reflections on Trusting Trust – Ken Thompson Lisp: Good News, Bad News, How to Win Big – Richard Gabriel An experimental...
Tuesday, March 3, 2009
March 03, 2009
In your applications there may be times when you want to give the user the ability to override a setting or configuration value. Often times you want to provide sensible defaults so that every single configuration option does not have to be specified, only those you which to override. I want to show a very simple way to make your applications a bit smarter when creating classes with overridable default values. Example 1: ...