Discover the power of algorithms

Complexities of algorithm, thier applicability. Optimization techniques associated with diffrent algos.

Mar 18, 2010

Perception a boon or a killer ?

Perception is considered to be starting point of thinking. In most of the cases perception starts with our experiences we have from life. If we look thinking steps it would be:- a) We see, observe or feel. b) We percepts i.e. start thinking and analyzing. c) We conclude and take actions. <p><p><p><p><p><br /> </p></p></p></p></p> Most...



KISS optimization principle.

Process/Code optimization is all time burning issue for projects/products in Industry. If we search for optimization techniques we get lots of complex theory and lengthy algorithm which claims to give optimizations. But its not advisable to run after such solution at very first level. One need to understand the need for it and that's what KISS principle is all about. The "keep it simple, stupid" (KISS) principle, calls for giving simplicity a high priority in development. So one need to consider...



Mar 10, 2010

C++ Brain Food : A must solve c++ question.

I really like this c++ question. It really helps us to understand exception handling mechanism of c++. Lets check you will get it right or not:- Don't just execute code with compiler to get the result, try out by doing dry run. What output does this program generate as shown? Why? #include using namespace std; class A { public: A() { cout << "A::A()" << endl; } ~A() { cout << "A::~A()" << endl; throw "A::exception"; ...



Mar 5, 2010

What is Inline function in c/c++? A discussion on its Advantages,Disadvantages,Performance and Uses Guidelines.

Inline function is the optimization technique used by the compilers. One can simply prepend inline keyword to function prototype to make a function inline. Inline function instruct compiler to insert complete body of the function wherever that function got used in code. Advantages :- 1) It does not require function calling overhead. 2) It also save overhead of variables push/pop on the stack, while function calling. 3) It also save overhead of return call from a function. 4) It increases locality of reference by utilizing instruction cache. 5) After in-lining compiler can also...



Mar 4, 2010

The unbalanced discovery boosts the unseen blast.

Lets see how much conclusion one can draw from this post topic. This will help testing your creativity.Such random exercise help one's to open their mind, to let it fly in this big sky of imagination. Let's see how far you can fly...



Mar 2, 2010

How to achieve code portability ? Basic 10 quick tips.

Code portability basically refers to making source code able to compile on different platform without making any changes in source code. While coding its very important to keep portability in mind.The best way to introduce code portability is while coding.Keeping certain things into account we can achieve code portability with lesser effort, which we will discuss in this post.There are certain tools too which detect portability problems on source code, its a post processing of code and requires extra effort. Non-portable code introduces problems like maintenance of different versions, reduces...



What's the difference amongst code portability, software portability and application poratoability ?

Many people gets confused of terms Code Portability, Software portability and Application portability. Lets understand the differences amongst them. Application portability means that application is designed in a way that it can run independently without actually installing its file on the system. A portable application did not install any file on the system and can be run with the help of removable devices like USB, portable hard drive, CD, flash drive or floppy disk. Application portability is often get confused with Software portability, where as Software portability refers to designing of...



Mar 1, 2010

"Lathmar Holi" a traditional Indian Holi showing Radha's Sweet Festive Revenge

Today is Holi, the Indian festival of colors. One will not find as many color as found in this festival. Auspicious red, Soothing silver, Sunkissed gold, Pretty purple, Blissfull blue, Forever green all colors are there. People used to play holi by forgetting all thier previous rivalry and used to enjoy great indian cusine of sweets, typical indian "bhang",traditional drink called as "thandaii", play color names as "gulal". Its all very colorful and you can put color to anybody by just saying "Bura na mano holi hai". Holi get celebrated in many ways and...



Feb 28, 2010

How to add label cloud to your Blog ?

Its very easy to add label cloud to your blog. Just follow below step to make your blog tag cloud enabled. 1) Go to Layout section of your blog. 2) Add gadget named as "label" 3) Configure labels as shown in above figure to Display type "cloud". This would help your blog look more organized and easy for navigation too. Keep Blogging -Tajen...



Feb 27, 2010

Understanding which is faster Post or Pre increment operator ( i++ vs ++i ) ?

In c++ pre and post operator are used with variables where one need to just increment or decrement value by 1.For incrementing value ++ operator can be used and for decrementing -- operator can be used. Its use is very simple one can easily say ++i or i++, to increment its value by 1. Many a times i found people very confused about it's usage (at beginners level) and some professional showing lots of concerns about its performance .That's what made me writing this post. lets focus on its use first:- One can now ask question that why there are two different version present for if we simply need...



Feb 24, 2010

Sachin's record 200* In ODI vs South Africa, memorable milestone in cricketing world

I can’t stop myself writing on Sachin's 200, it’s a mmmmm what can I say just got spellbound from his performance.Its a magical mesmerizing memorable milestone performance from maestro the “Sachin Ramesh Tendulkar”. Sachin slammed 200 not out today against one of the strongest ODI team South Africa at Captain Roop Singh Stadium Gwalior. It’s a working day in our company and all are just busy with their scheduled work. And suddenly one guy screamed from his cube that “Sachin made 185 not...



How to allocate memory dynamically on stack ?

I read some time back that memory operation on stack is much faster than heap. With thisinformation the first thing came into my mind was that if we get a way to allocate memory dynamically on stack it would surely help us to optimize memory operation cost. I started searching for it and finally I found one such way J. Before going into its detail let’s take a look at dynamic memory allocation on heap. Generally when it comes to dynamic memory allocation new/malloc  the well known callsComes into mind. They help us to dynamically allocate memory on the heap. For e.g.  int...



Feb 22, 2010

How to register Blog with google search ?

If you are a new blogger and want to get noticed on internet, then you can use google search engine for it. Google search engine is the straight and most convincing way of attracting web traffic. Start writing good content , just be patient and surely your blog ranking will increase. Follow below step to register it with google blog search :- 1) Got to link Goggle Blog Search. (http://blogsearch.google.com/ping) 2) Followin page would appear under it. 3) Enter your blog address into...



Feb 21, 2010

Google Buzz started with Buzzing Issue (Breaking User Privacy Law). Is it a genuine issue or smart trick?

Google Buzz ? The most buzzing event of Google nowadays and it’s also buzzing loud on all technical news too. Let’s find out what is so buzzing with it. Google buzz is actually a smart way of short and sharper communication. The most attractive thing here is that it’s got integrated in your Gmail inbox, so don’t need to go onto some other link to access it. Google Buzz is initiative toward getting strong in social networking domain. Currently Facebook covers almost 46% of the social network...



Feb 20, 2010

How to register URL with search engines ?

Everyone wants to get noticed on Internet after launching very first content on new site :). There are several ways by which one can get noticed on internet like search engines, backlinks, social networking sites, forums etc...I have explored search engine registration mechanism.Its not very difficult to register your blog/website with famous search engine. Search engine are the most effective tool to get web traffic to your blogs/website. When it comes to search engine google, yahoo and msn live...



Feb 19, 2010

JUGAAD .... creativity from Northern Rural India

In Feb' 2009 I went to a marriage in Uttar Pradesh near Hathras city. It’s a rural area of Northern India. No malls, no multiplexes, no super bazaars, and no four lane road all things are just as typical like Indian rural areas. But suddenly I noticed one strange thing running on road, its an open engine vehicle having enough space for loading goods. This vehicle had really made a mark in mine memory. By seeing such a strange thing how one can stop himself from asking -"what is this item actually?...



Feb 18, 2010

Parallel Thinking......A constructive conclusion tool

The approach is called as “Parallel Thinking”."Parallel thinking" means that at any moment everyone is looking and thinking in the same direction. There is no attack and defense.There are six modes of thinking. Each mode is symbolized by a colored “HAT”. So when the Black Hat is in use, everyone is focusing on possible dangers, weakness faults, etc..When the Yellow Hat is in use everyone focuses on benefits and values.The Green Hat is for creativity and new ideas.The Red Hat is permission to put forward emotions, intuitions and feelings - without any need to justify them.The Blue Hat is...



What is Blog ? Fun, Money, Passion, Award, Dream

Blog : What exactly blog is ? Blog basically refers to an organized "web logs" i.e. storing any type of data on web any time. This log can be published on internet, to make it visible to desired users.Lets try to eloborate Blog in a way acronyms does , it can beBeautiful List of Organized Gesture,Best Literature of Ordinary Guys,Blast of Last Opera Group,Breaking Lines with Oozing Guts,Building Leagues of Outstanding Gallants,Blossoming Life by Omitting Grudges. We can easily map ourself to one of the catogeries from above acronyms. Now lets look at another perspective of blogs, why we should...



Feb 17, 2010

Starting my "IDITAROD"

IDITAROD: - It’s the Dexterous Initiative Towards Aggregating Radical Orientations from Diversity.Starting my blog with tilted “IDITAROD”, it’s amongst the toughest race on earth. Very motivational and inspiring trial race, every time it shows new Orientations. So, thought to begin with it. If we observe this race, it will surely help us in Dextering our skills. Let’s take a brief of it; The Iditarod is a dog sled race that takes place every March in Alaska. It is sometimes called the "Last Great...



Page 1 of 1212345Next