No free will in evolution

If we see ourselves as atoms that make us, our history becomes the history of the universe. Then, we were born in first stars as carbon, oxygen, nitrogen, and other light elements. If we identify ourselves with the molecules in our bodies, we are as old as the earth itself. We share our molecular history with the earth. We can insist that we are our genes or DNA. Yet, we share much of it with most of the species on the earth. Our human identity originated just a few thousand years ago in this cosmic journey spanning billions of years.

When we become highly identified with the newly acquired human form, we delude ourselves by thinking that we can “save the earth”. We happily ignore the right view: it is us, the human species, who need to be saved from our own misadventures on this planet. Earth has survived for billions of years and can survive for billions of years to come. Adding few poisonous gases into the atmosphere or pouring some harmful liquids into the oceans will not harm the earth: it will make us extinct.

This whole evolution of the universe was not a design to bring us to the scene. Things happened when conditions were conducive for them to happen and opening way for many new things to happen. One small piece missing in the chain of events, and the earth would be a dead planet. The origin of life on the earth was a beautiful accident. Yet, our extinction can be a planned genocide.

There was no universal will that evolved life. No intelligence other than the forces of nature. No God other than the laws of nature. The universe, the earth, and the life evolved because of the laws of the universe allow this possibility.

We, as human beings, intend something and then the action follows. This impression of free will is an effective model devised to explain the complex human behavior. Yet, however complex our behavior be, it still obeys the laws of nature. In this sense, there is no absolute free will. We still use the term “free will” in the limited sense as an effective model. The universe doesn’t need an intelligence or free will by which it intends to evolve. Nor does earth. However, we need “free will” in sense of an effective model to explain choices we make as humans.

No free will was needed for the origin of the life on this planet. However, we need “free will” to save life on this planet.


Life is what molecules eventually​ do on the habitable planets

Planets were created as the byproducts of stars. They inherited atoms from birth and death of stars. These atoms reacted. They made molecules including the most abundant molecule – water. All the water got evaporated from the hotel planets. The cooler ones lived in the ice ages. Some planets like earth could retain water. Heavier planets retained their atmosphere due to gravity. Air escaped into space on lighter ones. We on earth are lucky to have the oceans and the atmosphere. But, even our earth was not habitable in its formative stage. Some of the molecules that make me and you today were swimming in the ocean in the myriad of forms at that time. Some of them were flowing in the rivers, settling in the sediments, rising in the mountains, or clashing in the tectonic plates, or drifting with the continents. In those times, we all were erupting from volcanos, thundering in the sky among the clouds of not only water but all of the strange liquids we now sample in the bottles in our chemistry labs.

The molecules we identify as ours today were metamorphosing into all possible compounds documented in the chemistry books, both inorganic and organic. We were erupting, evaporating, boiling, blowing, raining, endlessly. There was no purpose. The earth was not arranging for the life to emerge out of this chemical soup. It was playing the whole game of geophysics and chemistry at the natural pace. The game continued for millions of year and then something significant happened according to our point of view. Life emerged. As for as the molecules that make us today are concerned, they had no point of view. They combined from simpler to the more complex combinations. Each new combination would open up the possibility of millions of newer combinations.

Our earth was not special: similar events might have unfolded on enumerable distant planets in the universe that are conducive to life. We are not alone in this universe. Who knows when which stroke of lighting produced first amino acid, or first RNA, or the first cell! Then, there were many such, replicating themselves, and improvising. The molecules that make us today, at that time, were living spread among millions of micro-organisms. Maybe, a part of you was at the north pole and another at the south pole. Every micro-organism responded to light or temperature or to some other molecules. Our emotions like desire and aversion can be traced back to these simple responses of the first living cells to the outside stimuli. These simple behaviors become more and more complex with time.

The micro-organisms replicated themselves, sometimes making replications errors. What we see today – the whole diversity of life – are the errors that were better equipped to survive. We do not see the other set of errors – less equipped to survive – due to the obvious reason that they didn’t survive long.

In that era, the molecules that make us today were living millions of lives, most of them wasted, but all necessary. Some of these life forms become more complex, multicellular. We developed organs. The first eye was just a pinhole camera: version 0.1. Then came version 0.2 which could tell few shades of lightness and darkness. Then, the resolution and color sensitivity improved with subsequent versions. Soon, life evolved out of oceans into the land. Gigantic animals like dinosaurs were evolved, sustained, and were destroyed on this earth. If we are the molecules that make our body,  we have lived in dinosaurs as well. When a meteorite destroyed the dinosaurs, we were there exploding in the blast and settling in the dust.

We, as molecules that make our body today, evolved in myriad life forms, always adapting to the new situations and building up complexity out of random fluctuations. Many of our life forms became extinct. Many survive still. We grew on the earth as forests and oxygenated the atmosphere. We blossomed as flowers and flew as bees and birds. The human form that we take as our exclusive identity evolved only just a few thousand years ago in this cosmic journey spanning billions of years.

Stars as ovens where the elements were cooked

After the big bang, all that exists today started its journey as a bunch of particles in space. Soon, hydrogen and some light elements were cooked in the hearth of early universe after big-bang. Frequently, these particles would come close to one another, saying hi, exchange a little energy, separating, and saying bye. They didn’t mingle to form molecules, clouds, stars, planets, oceans, bacteria, fish, butterflies, dinosaurs, or us. The same story repeated again and again for millions of years- the universe went on expanding and cooling.

Next, some regions, which were dense, as random fluctuations, became denser as gravity did its magic. Matter started accumulating. First gas clouds were born. Since we all are made of atoms, we were present as atoms in one or many of those clouds.

Bigger clouds grew bigger grabbing matter from around them. They become so big that they started collapsing under their own weight. Their cores becoming hotter and hotter. Hydrogen atoms started fusing into helium. Soon, newer light elements also were produced like carbon and oxygen – atoms that form most of our body weight today. Those of you who were living in heavier stars had access to heavier elements: sodium, calcium, phosphorous, aluminum, silicon. and so on, up to iron. but, none of us had any access to gold, platinum at that stage of cosmic evolution. Ours was a poor world. Then, the some of us were fortunate. Their stars blasted. Enormous energy was released. New, heavier elements were cooked in the aftermath. That’s why gold is so rare. Platinum is rarer. Uranium is still rarer. These rare elements were cooked only in the explosion of super heavy stars. The debris of explosion contracted and got heated further. New stars were made out of them- richer in elements.


The darkness of the night sky

When you look at the sky and see the darkness behind the stars, do you wonder about the nature of this darkness? I remind myself that what my eyes see as darkness is actually the primordial light that is coming to us from all directions. This primordial light was there even before the birth of a single star in the universe: invisible to our eye but visible to a radio telescope.

Looking a faint star through a telescope, we look back in time. In the moment of our looking, our eyes absorb the photon that was created in the star millions of years ago. The star might have been dead by now. The last photon it emitted toward us is might still be traveling in space. Perhaps, there will be no one on this earth to absorb that photon and witness the death of the star.

Had universe been existing from eternity, there would be no darkness in the night sky. If you would have pointed a dark patch to an astronomer in one direction, he would have said that we have to look further back in time with a more powerful telescope and we would find a star there. Our universe is not like this at all. The best telescopes have looked farthest in space and back in time till they find no stars there – they find a sphere beyond which there is total darkness. Yet, to some aliens that can see radio waves, this primordial darkness would be luminous. They would see it as the afterglow of the big bang – an event that created all that we see around us and all that we do not see as well.


The story​ of the universe

The universe doesn’t write its story. Yet, when we look to distant stars millions of light years away, we are looking at the story of the universe unfolding to us right now. Yet, we are also the part of the universe – we and the star we are looking at are made of the same stuff. When we look at a star in the night sky, it is the dust of the star itself that is looking at its own beauty. When any one of us contemplates the universe, it is the universe that is contemplating itself. This point of view might sound like mysticism. But, it is based on the reality that we are just atoms. If we view ourselves as a bunch of atoms, we are one with the universe. One might argue that we are more than the atoms. We have life and consciousness. But, the life and consciousness can just be two of the most amazing things the atoms do collectively. I also wonder if it is my life and my consciousness. Although, many human beings will like to believe that their life and their consciousness are something external to the universe and their arising is a violation of the universal laws. I believe that my life and my consciousness belongs to the universe as much as my atoms belong to the universe. In this sense, we are the like sense organs of the universe and, through us, it can be conscious of itself. The story of the universe will be our true story.


Red sunrises and sunsets in the blue sky

Have you ever wondered why the sky is blue? Why does the sky become red near the horizon at sunrise and sunset?

Light travels in space just like the waves travel on the sea, rising and falling periodically.  The distance between two successive crests or troughs is called the wavelength.

Imagine a boat floating on the sea. When the waves hit it, they lose track of their original path and scatter all around the boat. Smaller the wavelength, larger will be the scattering.

Unlike waves on the surface of the water, we can’t see the crest and troughs of the light waves. So, we can’t perceive their wavelength the way we do it for the water waves. Our eyes perceive the wavelength of the light waves as color. Blue light has a smaller wavelength than the red light.

The white light of the Sun contains the waves of all colors. When the sunlight comes toward Earth and enters its atmosphere, it encounters numerous dust particles. The light waves get scattered all around just like water waves were getting scattered by the boat. Smaller wavelengths scatter more as compared to the larger wavelengths. So, the blue light gets scattered all around making the sky blue. What happens to red light that has the largest wavelength in the visible part of sunlight? It manages to come directly towards us making the Sun and the sky appear red. So, the sky becomes reddish near the horizon during the sunrise and sunset.

(My answer to a question at quora.)


Why is it hot in summer and cold in winter?

A documentary filmmaker went to Harvard’s 1987 graduation ceremony and asked the students this question. Only two out of 23 were able to give a correct explanation. I like to draw the following lesson from the story: education often doesn’t give us scientific outlook.
Sun shines with equal power throughout the year. Yet, it doesn’t mean that the intensity on the surface of the earth is also same throughout the year. To understand this, consider the following analogy.
Imagine that a spherical ball is spinning along its axis in the vertical direction. Imagine a light bulb few meters away from the ball. The light of the bulb falls normally in the equatorial region of the ball. But, it falls tangentially in the regions near the poles. Hence, the equator will be brighter, and hotter, than the poles.
What happens if the axis of rotation of the ball is not vertical but inclined towards the bulb? Now, the northern hemisphere of the ball tilts towards the bulb. So, in the northern hemisphere of the ball, most of the light rays hit almost normally. In the southern hemisphere of the ball, most of the light rays will hit only tangentially. This makes the northern hemisphere hotter than the southern hemisphere.
Now, suppose the ball starts revolving around the bulb on a circular path in such a way that its rotation axis is transported parallel to itself. After the half revolution in the circular orbit, the southern hemisphere of the ball tilts toward the bulb. Hence, it is hotter than the northern hemisphere.
The earth is like the tilted ball and the bulb is like the Sun. It takes one year for the earth to complete one revolution around the Sun in a nearly circular orbit. For half of the revolution from the vernal equinox, the northern hemisphere tilts towards the Sun. This is the time when there is summer in the northern hemisphere and winter in the southern hemisphere. For the other half of revolution, it is the other way around.

[Answer to a question on Quora]

A brief introduction to Vim

Vim is a minimalistic but powerful editor. The best part is that it is free and open source software.

I do not want to convert you to Vim from your favourite text editor in this post. But, if you have already inclined to use Vim and are wondering how to make Vim your main editor, you are at the right place.

The first prerequisite is that you should be conversant with the terminal. Since I spend so much time on the terminal, I want it to look awesome. I use iTerm with a dark and semi-transparent background. Also, I have configured the terminal to appear or disappear just by pressing a hotkey. To run Vim, just type vim in the terminal. To open a file in Vim, type vim ~/path/to/my/file. Again, I usually locate my files using auto-completion or a fuzzy finder program called fzf.

We navigate a Vim document using commands. When you press any key after opening Vim, it is like clicking on a menu button that will perform some action on your document. Press j to move the cursor down to next line, k to move the cursor to the line above, h to move the cursor left by one character, and l to move the cursor right by one character. If you need to move the cursor in any of these directions by 2 units, press 2j2k2h, and 2l etc. The idea is that you can prefix a command with a number to repeat it that many times. Tired of moving character by character? Press 0 to move to the start of the line and $ to move to the end of the line. Press w to jump from word to next word. Of course, you can press 5w to jump by five words. Press b to jump word to word in the backward direction. If you are in the middle of a word and want to move the cursor to the end of the word, press e. My favourite commands are f and F. Press f followed by the character to which you want to jump. Is your target character to the left of the cursor? Use F instead of f. Press ; if you want to repeat any of your f or F movements.

You can navigate your document in bigger and bigger motions. Jump to previous or the next sentence by pressing ( or ); to the previous or next paragraph by pressing [ or ]. Remember to prefix a number if you need to make many such jumps. If you have an urge to press page up or page down keys, simply press and hold the control key and press b or f respectively. Want to move up or down by half page only? Press d or u with the control key instead of b or f. Wondering that the screen be redrawn so that your current cursor location comes to the center and looking for your mouse? Just press the control key and I together. This is the magic of Vim: your keyboard is your menu bar and tool bar and all your keys are your navigation and editing buttons! This is the normal mode of the Vim.

Unless you want to look up the meaning of various keys described in the previous paragraph every time you need to make the movements, device some mnemonics to remember them. It is fun! The key b means backward, f means forward, d means down and u means up. The key w means word. Well, the keys jkh, and l mean nothing that matches their functions in Vim. Yet, you can remember their functions like this: j looks like a down arrow, k looks like an upward arrow (if you self-hypnotize your mind to believe so),  h is to the left side, and l is to the right side in this set of four keys.

Once you are comfortable moving up and down in your document, you would like to know how to write and edit in Vim. Whenever you are in such a mood, press i to activate the insert mode of Vim. When you are done, press the escape key to revert back to the normal mode. As soon as you press i, the magic of Vim goes away. You press any key and it no longer works as a command. Instead, the corresponding letter is typed on the screen. The idea is simple: while writing (after pressing i), the special functions of the keys are not available. So, pressing j will type j on the screen instead of moving the cursor to the right. Plain usual editor, isn’t it?

You might be wondering that you need to hit i at the right place. Just at the point where you need to insert something. If you press i without first moving the cursor to the desired place of insertion, you have to move cursor using arrow keys in the non-Vim fashion. Vim has many commands to relive you of this extra effort. Press a instead of i if you want to insert not at the current location but after the end of the word. (Remember a as the append key.) Press I when you need to insert something at the beginning of the current line (instead of moving the cursor to the beginning of the line by pressing many h keys and then pressing i, or by pressing i and then moving left by pressing the left arrow key). Press A to append the text at the end of the current line. You can open a new line above or below the cursor, move the cursor to it and start typing there, by pressing O or o. Always remember to press the escape key whenever you are done with writing something so that you are back to the magical movements of Vim.

The best part of Vim is the way it edits a document. Whenever you finished writing, inserting, or appending something, and want to edit your writing (because you are a writer!),  just press the escape key and the editing world of Vim welcomes you. Your keyboard becomes your toolbar and keys become powerful editing buttons.

The simplest editing function is replacing a single character and still remaining in the normal mode. (Who does want to hit the escape key after deleting and inserting a single character?) So, here we go. Take the cursor to the unwanted character by pressing f and then the character key. Press x to delete the character. Press r followed by a new character if you want it to replace the old character. There are many such editing commands in Vim that keeps you in the normal mode. Press dw to delete the entire world at the cursor and dd to delete the entire line. Press D or d$ to delete everything after the cursor to the end of the line.

If you want to paste what you deleted, press p. If you want to copy something, press y and followed by some movement commands that tell Vim what to copy. So, y2w will copy two words from the cursor location. Press yy to copy the entire line and y$ to copy from the cursor location to the end of the line. Of course, pressing p will paste the copied text at the cursor location. These are the basic editing commands in Vim.

It is a little abstract to copy using the command y followed by some movement commands. If you want to make a visual selection and then copy the selected region, press v to go to the visual mode. Make your movements and see the selected region as highlighted. When satisfied with your selection, press y and to copy it.

When your document becomes large like the present post, you need to navigate by searching. Press /word to search for the word “word“. Press n for moving to the next match and N  for moving to the previous match. Press / followed the return key to repeat the search in the forward direction and press ? followed by the return key to repeat the search backward.

Here, I have described the basic Vim commands I use for viewing, writing and editing documents in Vim. There is much more to Vim than what I find useful. I want to finish this introduction to Vim by emphasising the Vim way. The way Vim approaches writing is like painting. A painter changes the modes frequently. Sometimes, he paints. Often, he simply watches the painting scanning its detail. Occasionally, he makes corrections here and there to give a finishing touch to the painting. You will feel like this painter while writing in Vim and changing modes. Another analogy is from dictation. You may think of Vim as your assistant who does jobs for you on your commands. You say, “Find (f) and move cursor to next occurrence of ‘n’ in the current line and replace (r) it by ‘m’  ” (by pressing fnrm). Vim obeys.

I hope that you will enjoy Vim more now!





Mirrors and images

Have you ever observed birds or animals encountering a mirror? They misidentify their image as someone looking at them from the backside of the mirror. If possible, they run around the mirror to verify whether someone is there! Of course, they find nothing there and get puzzled by this behavior. An image that appears to be there but is not actually there is called a virtual image. Contrast this with an image formed by a camera lens. When the lens of the camera forms an image of an object, the image is real. That’s why we can put a photographic plate or sensor at the image location and actually record the image.
Suppose you are standing in front of a verticle mirror. The image of your face will be behind the mirror at a distance equal to the distance between the mirror and your face. This is because the light travels in a straight line and reflects back when it hits a mirror at an angle equal to the angle at which it was incident on the mirror. The light rays from the different parts of your face reflect back from the mirror and our eyes detect them. Yet, our mind doesn’t interpret the whole event this way. The mind creates a perception in which the light rays traveled from the other side of the mirror toward our eyes. Hence, the rays appear to form an image behind the mirror.
If the mirror is a plane, all the reconstructed points on the other side of the mirror are of the same size and at the same distance from the mirror as their corresponding points on your face. This is because of the fact that the rays are reflected at the same angle at which they were incident on the mirror. If the mirror is not a plane, the reconstructed points on the other side of the mirror will produce a distorted image of your face. Visit a hall of mirrors, if you have not, to witness this effect.
Sometimes we have to ignore the perception of virtual image created by the mind reconstruct the location of the original objects by looking in the mirror. This is a difficult process requiring conscious thinking. One simple example is cutting our own hair by looking into the mirror. You will notice how difficult is it to judge the location of the hair and the scissors. The problem doesn’t arise in combing the hair. We have combed our hair for such a long time that our minds have adjusted to this reconstruction in this case. Another example is driving your car backward by looking in the mirrors.

(My answer to a question at Quora)