Sunday 27 September 2015

Cult of science

I wish there in the world were no cult of money, religion, and power, but cult of science. That people thought more about what we are. What is that world around us so strange and so difficult to understand? If only we all valued the achievements of those people lived before us collecting bit by bit the precious knowledge about Nature! They were often wrong. But at the same time they often spent their whole lives in search for a thing that has become a mere sentence in our textbook. Looking for answers to the eternal questions we stop changing others, and we try to change the world ... to make it better

Thursday 16 April 2015

The big program problem

In big programs the programmer has to make many decisions. Decisions become constrains. Constrains become assumptions. Next, writing with many assumptions is tricky. A genius programmer can keep many assumptions in his head at the same time, but the human abilities are still limited. Code decomposition organized in a way that separate parts require less number of assumptions is a solution. However, it leads to inefficiency of the code, because knowing more internal details of separate modules allows more efficient interaction but causes tighter interconnections between them.
Hence, there is a dilemma for big program: either having more assumptions and risking introducing bugs by human mistakes breaking some of the assumptions, or, having greater decomposition introducing inefficiency in memory and execution. For small programs, neither is a problem. For medium programs, a balance between the two can be achieved. But for big programs, both sides impact hard: the program is inefficient due to decomposition and has many assumptions allowing introducing bugs.

Monday 19 January 2015

What is thought

Human thoughts is a little brother of schizophrenia.

PS The speed of a thought is high only because of inability to observe its progress.