Thinking and having fun at the same time!

If man evolved from monkeys and apes, why do we still have monkeys and apes? I went to a bookstore and asked the saleswoman, "Where’s the self-help section?" She said if she told me, it would defeat the purpose. If a man is standing in the middle of the forest speaking and there is no….

Abstraction

Finding common properties among set of objects so as to differentiate identified set of objects from other sets of objects. Example: Classification of anything e.g. taxonomy in biology. Defining classes in source code with defined characteristics…..

Temperature of Heaven

The temperature of Heaven can be rather accurately computed.  Our authority is Isaiah 30:26, "Moreover, the light of the Moon shall be as the light of the Sun and the light of the Sun shall be sevenfold, as the light of seven days."  Thus Heaven receives from the Moon as much radiation as we do….

Hierarchy

Tree like structure Examples: Inheritance tree of classes. ‘Part of’ relationship among parts of composite object. ‘Reports to’ relations among employees in a company…..

Modularity

Degree to which system is capable of being disassembled or assembled into/with many parts at a reasonable cost Example: Cup is not very modular as if you ‘disassemble’ it by breaking, putting it back together, exactly as it was like before, will be tough. Laptop is more modular as you can disassemble it with screw….

Polymorphism

Multiple implementations behind single public interface Examples: Multiple cars with different engines behind similar interface to drive them. Virtual method with same signature implemented in different classes in same hierarchy. Two different classes implementing same interface…..

Encapsulation

Private implementation behind public interface Example: Car engine is an implementation which is ‘hidden’ behind public interface made up of steering wheel, clutch, gear-knob, brakes, accelerator and key. In a restaurant, waiter is public interface which hides kitchen & chefs – an implementation. Computer IO (Display, mouse, keypad, touchpad) is an interface while mother-board, processor,….

Why would you buy Nokia N8 ?

I am aware that there is a war out there. Following is what I find ‘valuable’ in Nokia N8 based on my own experience, in no particular order. Note that India still has no good 3G coverage. 1. Watch AVI, mp4 videos. You can watch a movie easily without breaking for recharge. Performance is amazing…..

Inside/Outside

You look at a thing and you want to describe and understand it. There are many ways, but we can broadly define two principal ways. Outside View Point (OVP): Everything has external view to its environment. When a thing is described with less focus on its internals, that is OVP. Inside View Point (IVP): Everything….

Interesting predictions for out sourcing

It is highly likely that India will be challanged even more for cost efficiency and higher valued services. Here are some observations and predictions from Gartner, Bernstein Research and Forrester Research; with my interpretation for implications. Evolving From Evolving To Implications Offshore labor primarily in India Labor in multiple geographies India will have competition; also….

Design is a contexual process

(Though following is written from point of view of software designer, ideas are valueable to any engineering designer.) Software design is creative process. Design involves significant mental efforts towards creating new ideas or using existing ones for a purpose. Software does not exist before you design it. You, as a designer, play a role of….

New features of C# 3.0

Look at simple source code to learn few of new features of C# 3.0. [cc lang=”c#” escaped=”true” width=”100%” noborder=”1″ theme=”blackboard” height=”460″ line_numbers=”on”] public class Book { //Auto implemented properties public string Name { get; set; } public int ID { get; set; } } public class AllLINQ { public static void ShowAll() { //Collection Initializer….

C# and .Net Delegates

Please read following simple source to know more about delegates in C# and .Net. Note that this article is for people who wants to learn by looking at simple sample source code without reading too much weed. [cc lang=”c#” escaped=”true” width=”100%” noborder=”1″ theme=”blackboard” height=”460″ line_numbers=”on”] using System; namespace Delegates { class Program { //Following is….

Example of Code Snippet for Visual Studio

Ever wondered how to write code snippet? Have a look at these simple example code snippets – these are specially for people who learn by looking! You have to place these code snippets (basically XML) into file with .snippet extension. Then you can put all your snippet files into appropriate directory. This directory can be….

Programmers need these!

Large monitor, or if possible – two of them! Reasonably fast PC (compiler, IDE, browser and db server etc to go fast) As much RAM as possible(PC should not slow down due to lack of RAM when RAM could be expanded) Reasonably fast internet connection (Not to watch movies, but to view self-learning videos etc)….

Top features of Visual Studio 2010 and .Net 4 (not all, only which apealed to me)

Better Ajax (e.g. ClientID in webforms, clean HTML emission)Better Entity FrameworkBetter WCF, WF and WPF (specially DataGrid in WPF)Covariance and ContravarianceCode ContractsCharting in ASP.NetDynamic Language Runtime and dynamic keyword in C#Generate code element from usageImproved Intellisense and Code navigationManaged Extensibility FrameworkMemory-mapped filesMulti-MonitorMVC (Area and Asynch controller) Named and optional argument in C#Office programmabilityOne-click DeploymentProfiling, Debugging….

Great but lesser known shortcuts in Microsoft Word 2007

Ctry+Y: Redo (reversing Ctrl+Z!)F4: Repeate Last CommandF5, Ctrl+G: Open Go To DialogboxCtrl+L/E/R/J: Align Left/Center/Right/JustifyCtrl+B/I/U: Bold/Italics/UnderlineCtrl+F/H: Find/ReplaceDoubleclick on word: Select wordCtrl+Click: Select sentenceTriple Click: Select ParagraphClick small arrow on bottom-right of group in ribbon: Open dialogbox F7: Start spell checkerCtrl+Arrow Keys: Jump wordsCtrl+Shift+Arrow Keys: Select wordsAlt: See shortcuts on screenCtrl+F1: Show/Hide ribbonCtrl+F2: Show Print PreviewCtrl+F6: Change….