There was a time when the processor were just starting to explore their potential. Then code optimization made a huge difference in the performance of the code. But, today most programmers take the optimization for granted as the compilers are… Continue Reading →

In order to judge the performance of an algorithm, there exists a mental mathematical model. This mental mathematical model helps us to ensure the stability and high performance of algorithms. Also, one could compare two algorithms using this model. Mathematical… Continue Reading →

The Problem: The problem is a specification of valid input and the acceptable output for each valid input. Input Instance: The inputs which fall in the set of valid inputs according to the problem. Size of Input Instance: The memory/storage… Continue Reading →

Euclid out of nowhere proposed this algorithm which calculates the greatest common divisor of two numbers. The simplest way of calculating the GCD is probably the simple prime factorization method. But, Euclid was no common chap. He devised a way… Continue Reading →

The fact is that programming and mathematics go hand in hand. Working for a service company has made me lame with my programming skills. Its sad but true that, my brain now doesn’t relax enough to work for self improvement…. Continue Reading →

To begin with, lemme just state that I found nothing spectacular about the movie. However, the story line was intriguing and that is why the movie would appeal to any Indian viewer, as they aren’t used to such different stories…. Continue Reading →

Why file logs over database logs? Why do we even need logs, when we have databases? Databases are cool for storage of data. But as far as log performance is concerned, log files are far better than databases. They prevent… Continue Reading →

The unix/epox timestamp is not used by the active directories. Instead the number of ticks from 1st Jan 1601 is used. CAUTION: the number of ticks is not really in milliseconds, in fact 1 millisecond = 10000 ticks. Now, how… Continue Reading →

## Recent Comments