Friday, October 11, 2013

Digital Image Processing

Learning an intricate subject such as digital image processing can be a quite of a difficult expedition to undertake. The student should have a firm background in mathematics. He/she should have taken a number of different pre-requisite courses in mathematics and signal processing before even being considered eligible to study image processing. Raafael C. Gonzalez, however, makes that task easy for the student. Digital Image Processing by Gonzales is a book written for the maths shy student. It assumes that the student would have little mathematical background. In so many ways this book can be compared favorably with the one written by Richard G. Lyons on digital Signal Processing i.e. Understanding Digital Signal Processing. In a metaphorical sense these books can be considered cousins of each other for two closely related subjects. 

After preparing the student with initial background material in the first two chapters, the authors illustrates a few spatial domain image treatments. In the first two chapter concepts such as linearity, pixel distance measures, spatial versus greyscale resolution, and shrinking and zooming are described. Chapter 3 discusses image enhancement in the spatial domain. Topics such as contrast enhancement, histogram matching, histogram processing, equalization etc. are explained.  

Chapter 4 is about frequency domain transformation and processing. The author explains the 2-D Fourier transform. In my opinion, this is the best part of the book. The explanation of Fourier transform is not only lucid, it gives key insights into how the whole transformation of image from the spatial domain to the frequency domain is realized. This is done in a step by step manner so the reader may fully grasp the inner workings of the otherwise quite enigmatic Fourier transform. Moreover, it is explained how filtering can take place with the Fourier transform. 

The subsequent chapters discuss more advanced topics such as image restoration and color image processing techniques, image compression. Lossy and lossless methods of compression are discussed. 

Overall the book is quite fun to read and it makes the reader enthusiastic about the subject of image processing. Although it is assumed that the reader has some familiarity with calculus and linear algebra, it is still a very good resource for almost any student from any background interested in studying digital image processing.

Articles Writer

Tuesday, October 08, 2013

A Reader Profile

Yesterday I visited The Muslim Blogger, a website that helps people in building word-press blogs from an Islamic point of view. As I was browsing through the website I came across a nice article that had tips for blog traffic enhancement. One of the ideas was to develop a reader profile. The idea is based on the observation that as writing for a wider audience is difficult to do as opposed to writing for a single particular reader in mind, one should write for a single ideal reader. This was probably the only idea that particularly caught my attention. Although there are other nice ideas listed there as well. Anyhow, the main benefit of addressing one's ideal reader is that through addressing him/her one addresses the whole of his/her audience. This is quite convenient.

The reason why I liked the idea was that as soon as I read it, I felt that I do have that ideal reader in my mind. That ideal reader in my particular case is nobody other than Sam Harris. I have been reading the work of Sam Harris for a long time now. The main reason why I started rewriting this blog was to be able to argue with him about his criticisms on religion. The idea was to be reasonable and rational. Moreover, by leveraging from the lenses of reason and rationality, the idea was to be able to argue whether he is right about his convictions about religion. Indeed, it is a difficult thing to do as the objections he raises to religious doctrines are quite too many. But I, like so many others, have tried to build the whole argument thing step by step. This blog was an attempt to that. I tried to post things concerning human consciousness and its survival after bodily death, about Islamic perspective on western spiritualism, about existence of God (Allah), and my understanding of free will.

The main objective of writing this blog, however, was not to criticize the work of Sam Harris alone, or anyone else's. One of the reasons was to develop an understanding of how atheists or other people think about Islam. I believe that if Sam Harris and Richard Dawkins can be convinced that atheism is at least wrong, that would be a great job indeed. Generally I like Sam Harris. He writes extremely well and has a very good expression. I am sure he is also a nice man. I also think that at some point in his life he may as well convert to Islam. That would be good news. 

Sunday, October 06, 2013

Understanding Consciousness

One of the topics that is quite hyped these days is the study of human consciousness and its possible survival after death. The argument that human beings have souls that depart to a certain afterlife once we are dead is one of the major tenets of almost every religion. The materialist view, that we human beings, along with all the other life forms. are merely flesh and bones defies any such notion that human beings have souls or that they depart to some other world once we die. To this end, they also argue that there is no such divine entity, such as a godhead, that may have created life. The religious doctrines of creation of universe can be explained away with the help of theories of astronomy, cosmology and astronomy. Similarly, the religious doctrines about the creation of life and humanity can be explained away with the help of Charles Darwin's theory of natural selection. 

Rationalists try to understand and study the nature of survival of human consciousness with the help of various ways in which they can try to tap into the afterlife and communicate with the dead. There might be a possibility that some religious people may have the ability to do it already. I heard (or possibly read somewhere) that Jews have been prohibited to do it according to Torah. Given that it is considered the old testament for Christians and a holy book to be revered by the Muslims, it may be supposed that the followers of these two religions are also prohibited from tapping into the so-called unseen world. Particularly, Muslims are advised to follow a set path and believe in the unseen and are advised not to long for miracles. 

Whether or not there is an afterlife, or whether or not people survive bodily death cannot be proven by believing merely in someone's word of mouth. A religious scripture no matter how convincing it may be is not a proof of any of the extraordinary claims it makes. The claims must be proven from sources other than where they have been claimed. Thus, objectivity demands an honest scrutiny.

People who are interested in knowing about human consciousness and its survival of bodily death leverage mostly from the research of near death experiences (NDEs). As the name suggests, in an NDE a person is subjected to a clinical death of sorts in which electrical activity in the brain of the subject stops. Once rehabilitated back to normal life, the subject is asked to describe his/her experience. A keen survey reveals that there are hundreds of thousands of NDE stories. A review of the NDE research also indicates that NDE research has become a mature field of study with considerable adoption of scientific method.

Another discipline that tries to tap into afterlife is spiritualism. Spiritualism is rather old and established itself in the late nineteenth century. In simply world spiritualism entails methods to communicate with demised soul and to tap into the spirit world. A wide variety of literature is available by various contemporary and prolific scholars of the late nineteenth and early twentieth century. Older people include Arthur Conan Doyle, Alfred Russell Wallace and William Crookes, to name but a few. History of spiritualism by Sir Arthur Conan Doyle is probably the best resource on the subject.

If the findings of NDEs and spiritualists are correct that human beings survive bodily death, and that human beings do indeed have souls that depart to another world as we die, it means that materialism and its related theories of evolution etc. have already been explained away. For skeptics it means that they would have one less dimension to think about as regards existence.
    

Applications of Free Will

A keen study of free will would suggest to you that it does not really matter whether you have it or not. What would matter most is that as long as you have some degree of freedom in choosing and doing things in one way or the other, you would prefer to pursue your goals. If you are an athletic type, you may want to enroll in a gymnasium and develop a great body. You may also train to become a kick-boxer. And as soon as you have learnt something about the art, you may find your heartiest adversary and you may apply a perfect flying kick right on one of his jaws. This, however, depends on how you define virility. Even if you do not care much about the masculinity of your approach, or rather if you are a person of a nonviolent type, even then you may want to do something with your newly learnt martial arts skills and your toned body. You might at least go to a beach, take your shirt off and stand in the knee-deep water. All of a sudden you stretch and raise your right leg above your head,  so quickly so as to create a great splash in the water. You get yourself photographed. Congratulations! You are in the news now!! You are Jean Claude Van Damme!!!

The above narrative was one of the many examples of how a person can hone and use one's mental and physical faculties. It was supposed to be funny! The debate that whether humans have free will or not is a totally different one. In as much as the subject may sound trivial or insignificant from a practical point of view, its study has rather serious applications in various scientific and academic disciplines that concern human development and well-being in one way or the other. These are social science, psychology, human behavior, neuroscience, law, politics, philosophy, war and religion, to name but a few.

For the purpose of brevity it may be worthwhile to look at the importance of this subject from the vantage point of its relevance in studying neuroscience. I believe that neuroscience is one such area which has started to dominate many other spheres of life in today's interdisciplinary world. It attempts to study things as simple as emotional well being of humans to issues as complex as motivations behind peoples actions and their repercussions on social order and legislation.

Consider psychology and mental health, for instance. Why do people choose to be angry when they can smile? Why do people choose to steal things from others while they could simply have helped an old person cross the street?

A very interesting reason for studying free will is to understand human consciousness. Analysis of human consciousness is a very hot topic these days. On a coarse level it tries to understand the human consciousness and along with that whether or not it survives bodily death or not. In either case, that is, whether or not human consciousness survives bodily death, it becomes quite interesting and important to understand as to how to live this earthly life happily and peacefully? What forms a healthy coexistence? What is the role of religion in our lives? This and many other interrelated questions urge us to study the nature of free will. May Allah help us all to live and coexist peacefully.



Saturday, October 05, 2013

Understanding Free Will

The subject of free will has fascinated me for a long time. I have wanted to learn about the subject for a number of reasons. The first time the subject drew my serious attention has a rather boring description. But the event was that a few acquaintances had broached up the topic and were trying to explain to each other what it means for a person to have free will. I had to remain quiet because I had no concrete explanation of the subject in my mind. However, that was the first time the subject drew my serious attention. Ever since then I have been interested in studying about various other reasons too. Why do people behave in one way or the other? Why do siblings fight with each other whereas they could be affectionate with each other at the very same time. Similarly, why should we be jealous of a friend or cousin when he/she tells us about his/her recent achievement, whereas we could have felt happier and could have had a congratulatory appearance at the same time?

Why should we prefer to choose one thing over the other? Are we free to make our choices and act on them? And what are the consequences of acting upon our choices, no matter how good or bad they are? Why does a good person end up in a jail and a person who is perceived to be mean by people become a member of the parliament? These and many other questions inspired me to read and understand about the subject of free will. This article is a summary of my understanding that I developed after reading articles from various writers. I must mention that the explanations I have found most lucid about this subject are those of Sam Harris.

On a very coarse level free will can be defined as the ability to make choices under certain constraints. This means that a person is both free to choose and also act upon his/her choices while not violating the constraints which define boundaries for his/her actions. A more refined definition of free will is the ability to choose. The ability to act is called as volition. Another term that is associated with free will is determinism. The theory of determinism suggests that everything we do or choose to do is already predetermined and that we are not free either in making choices or in acting upon them. Between free will and determinism there is a spectrum of positions that vary between soft and hard determinism. However, to keep the discourse simple, for me at least, I will stick only to the presence or absence of free will. The position that free will does not exist can be explained with the help of the following example.

Assuming that you have read this article up to this point this can be done fairly easily. Assume that now I ask you to judge this article on a scale between 1-- 5 for its quality of content. Depending upon whether you are a casual or a seasoned internet user you may find this task absolutely boring or quite interesting. You may also have a mixture of feelings. On one hand you may feel like totally abandoning this article as crap and doing something else instead. At the same time you may think that it may be an interesting thing to rate an article for its content. You might think that it may hone your skills as a reader and a reviewer. At the same time you think that it is absolutely trivial and useless both to write and read about something as monotonous as free will. But then you think to give it a try. You may get motivated by thinking that you may grasp a few nice ideas for writing something more interesting. At the same time you are aware that you have to attend to the eggs that you have put on the stove to boil. You feel like leaving this computer of your's and going to the kitchen. But then you decide to hang on for a few moments till the time you reach the end of this paragraph.

If I have portrayed your thought process to some degree of accuracy while you were reading the above paragraph then indeed you have had a stampede of thoughts. A midst all of those thoughts, ideas and feelings you have managed to read this blog post to this point. You don't know exactly why you are reading it. But your eyes are slipping through line after line and you think that it is worth reading it. Indeed, if you have read it through to this point, you are pretty much engaged with this article by now. You do not know exactly why you are reading this or whether you like it or not. You even do not know exactly why you opened this article in the first place and started reading it and kept on doing so, whereas you had other tasks to complete too. Bingo! You have finished reading another paragraph.

If you are a neuroscientist, or you know someone closely who is a neuroscientist, you may get an explanation from the point of view of electrical activity in your brain. You may be told, or you may have learnt, that your choices are governed by complex electrical activity in your brain that take place on the level of synapses and neurons. You may argue that it is actually the chemical reactions in your brain that govern your behavior in the present moment. Let's call it the electrochemistry of your brain for the sake of simplicity. You may even believe that you are not consciously choosing to read these words as they slip before your eyes. Instead you may believe that the decision to keep on reading through moment by moment has already been made by the temporal lobe of your brain a few microseconds (or milliseconds) in advance of what you are currently reading. This kind of reasoning is brought forward by the opponents of the existence of free will camp to argue that it does not exist. Irrespective of whether you are a proponent of this line of reasoning or not interested in it at all, it might be altogether mysterious to you as to why you have read this article through to another paragraph.

In the same way as I have tried to explain my understanding of the non-existence of free will, anyone can try to explain its existence. Consider now to look at things from my vantage point. In the same way as you may be baffled about why at all have you read this article, I might be confused on as to why I have written it in the first place. Is it all about electrical impulses, auroral charges, and whims of the mind through which I have grown out to write this. Among a myriad of things on my to-do-list for today why did I write this article at all? Indeed I thought about writing about free will a few months ago. This has al most been a year that I thought that I should write my thoughts about the subject of free will. The reason is that I find the subject both fascinating and challenging. Indeed, one of the most challenging things in the world is to satiate the intellectual curiosity of a philosopher. And free will is a subject that very much falls under the umbrella of philosophy.

In as much as I wanted to write about free will, I kept on postponing it. I have listed the reasons why I wanted to write about it above. But what are the reasons due to which I have been postponing it to this point. Well, there are quite a few reasons indeed. One of them is procrastination. Another is the fear that I may end up writing something stupid. The underlying guilt that I want to gain attention is another reason for holding back for so long. Another reason is that it sounds all the more pretentious to be publishing one's thoughts in the public domain. It is a blog post that I am writing after all!

But no matter what the reasons may be, I have at last chosen to write about this subject. This, out of the choices I had (i.e. to write or not to write about free will), and irrespective of all the reasons for writing or not writing about this topic, I have at last chosen to consciously write about it. And as you have reached the end of this article I would conclude it by saying that this ability of humans to make deliberate choices suggests that we do indeed have free will. May Allah help us in using it well.


Creative Commons License
Psyops by PsyopsPrime is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Based on a work at http://www.psyops.tk/.
Permissions beyond the scope of this license may be available at http://www.psyops.tk/.


Friday, October 04, 2013

The Alchemy of Happiness

The Alchemy of Happiness is a wonderful book by the renowned medieval Muslim scholar, philosopher and mystic, Abu Hamid Mohammad ibn Mohamad Al-Ghazali (RA). Although Imam Ghazzalli (RA) is remembered mostly for his works in philosophy, his book, the alchemy of happiness, aims to elucidate its readers on as to how to live a happier and a more fuller life according to the tenets of Islam. Original title of the book is Kimiya-yi saadat. The book has many chapters that are divided into four main parts.

Mainly the book discusses various forms of worship including prayers and dhikr. A significant portion of the book deals with the various aspects concerning human relations. The most interesting thing about the book is that discusses various spiritual and psychological problems and their cure. Emotional problems an individual can have such as hate, anger, spite, envy and jealousy etc. are discussed and their cures are suggested.  For instance, the author suggests simple cures such as to praise the person for whom one has jealousy in his/her heart. To this end, the book is also a very good resource for learning about emotional intelligence.

Sunday, September 29, 2013

The Conquest of Happiness

Conquest of Happiness is a very interesting and a wonderful book by Bertrand Russell. Bertrand Russell was one of the most prominent intellectuals of the early twentieth century. His major domains were philosophy and mathematics. However, this book is about life. Particularly, the book lists many tips and tactics for acquiring happiness in life and for developing a happier and a more content personality. Apart from its contents, the book is also very well written and is a good resource for anyone willing to improve their reading comprehension of the English language. There are many good examples in the book through which Russell has tried to persuade his readers to live with a simpler lifestyle. The book also gives a reflection of the simplistic mindset that Bertrand Russell had.

The most interesting thing about the book is where the author gives and example regarding struggle for survival. I do not remember the story verbatim, but it somewhat goes like this. Russell gives the example of a businessman living in a big city such as London. He spends most of his time with his work. He is so much workaholic that he hardly has time for his spouse and children. He leaves home early in the morning and comes back much late at night. On work he spends most of his time devising strategies in order to beat his business rivals. This is how his life goes on. Russell suggests that if you ask such a man on as to why he works so hard? The usual answer would be that he has to struggle for survival. Russell argues that this is not struggle for survival. Russell then gives an example of two friends stuck on a wrecked ship. Everyone except them has died on the ship. In order to feed themselves to stay alive they have eaten up all the corpses. Their plight is now such that in order to remain alive one of them would have to eat the other. This, Bertrand Russell argues, is struggle for survival.

There are many other interesting things in the book and avuncular advice to his readers for achieving happiness. For instance, Russell suggests that achieving happiness is not a one day endeavor. Rather it should be acquired over time and should be considered as a lifetime goal. Among other things Russell also argues that one should never feel guilty or remorseful from the point of view of having committed a sin. Although Russell asserted that he would explain his rationale somewhere latter in the book, as far as I remember he did not do it.

Overall the book is very nicely written and despite the fact that it is very old, it is still very much relevant for everyone to read.

Sunday, September 22, 2013

Stratfor

Many people try to understand the world affairs through various sources such an news, newspapers, gossip and conspiracy theories. This normally leads to more conspiracy theories. People end up having either no understanding of the reasons for things happening around the world or they develop a foggy view of affairs at best. This lack of objective development of opinions can be further obscured by cultural conditioning. For instance, many people in the Muslim world would presume that the U.S. has a hand in the recent chemical attacks in Syria, while being oblivious of the ideological humanitarian struggle that has refrained the former from going to war or attacking the latter in response to the chemical attacks. Although, at least apparently, the two phenomena are quite orthogonal. Indeed, the way things are understood can be painful and ridiculous. It is a pity! Similarly, one may wonder what, for instance, the Europeans actually think about the role Russians have played in averting any possible air, or whatever, strikes. Indeed, there could be many misunderstandings.

Startfor addresses such misconceptions and misunderstandings very effectively through its weekly geopolitical analysis reports. Stratfor, as the name suggests, is a syncronym for strategic forecast. It is a Washington based think tank. It covers almost any situation in the world that may have any significant impact on the geopolitics of the world. Irrespective of whether it is an economic situation arising in Europe, a military situation raising its head in Afghanistan, a hurricane that may affect American trade or a political handshake in China that may affect the export of toys elsewhere and its consequence on global economy, Stratfor tries to explain that through its own vantage point of objectivity. Overall stratfor is quite objective in its treatment of various issues it picks. Stratfor can also be quite blunt and surprising in the way it explains a situation. It appears that the major objective of Stratfor is to talk about ulterior motives of nations.

The most noteworthy thing about Stratfor is the way its CEO, George Friedman, writes about any geopolitical situation. Apart from the content about the matter, the articles are interesting to read in their own right. That means that apart from his choice of topics, the way he writes is quite inspiring. Usually he starts off with a random phrase or a thought and then slowly builds his argument in the light of examples, limitations and lessons from history. The choice of words and the structure and flow of article keep the reader engaged till the end of the read. And the most fascinating thing is the way he ends his discourse.


Machine Learning

Machine Learning by Tom M. Mitchell is the first text book for students who aspire to learn the subject of machine learning. It presents detailed and easy to understand illustrations of various concepts that are used in the field of machine learning. These include, necessary topics concerning probability and statistics, artificial intelligence, neural networks and evolutionary algorithms. 

The best thing about the book is its illustration of feed-forward, back-propagation, multi-layer perceptron (MLP). The good thing about it is that the underlying mathematical concepts are explained in a layman friendly manner. One learns techniques for computing partial derivatives and the chain rule for differentiation for the first time in high-school calculus without having any apparent and significant practical benefit. Their utility becomes clear when one reads and understands how the MLP works. More precisely, Mitchell explains how partial derivatives are computed with respect to the weight coefficients at every step of the MLP so as to guide the gradient descent algorithm to plunge into some locally or globally optimal solution. Similarly, Mitchell shows the significance of applying the chain rule to derive weight coefficients at every layer and node of the MLP with respect to the input values at its first layer. The whole explanation is quite fascinating and exciting.

Mitchell also introduces and covers the complicated topic of evolutionary algorithms in a very nice way. Initially various concepts surrounding genetic algorithms are introduced in a lucid manner to make the student comfortable with the subject. Mitchell then illustrates genetic programming. Other important and interesting algorithms are also discussed. For instance, coverage of the famous simulated annealing algorithm is quite interesting. The book is an excellent guide for any student who has began to learn machine learning. 

Sunday, September 15, 2013

Fatwa on Terrorism and Suicide Bombings

During the last ten days of this Ramadhan I managed to treat myself with a thorough and complete read of the Fatwa on Terrorism and Suicide Bombings. The fatwa is written by Shaykh-ul-Islam, Dr. Muhammad Tahir-ul-Qadri. Dr. Qadri is an eminent Muslim scholar and his book is an attempt to guide Muslims in particular, and rest of the humanity in general, on as to why terrorism is wrong when seen through the central teachings of Islam. The book is more or less 450 pages long and contains narrations from Quran, hadith and examples from the conduct of early Muslim rulers and caliphs. The central aim of the book is to address the confusion that lurches within the minds of young Muslims viz a viz terrorism and jihad. According to Dr. Qadri the current intensity and magnitude is becoming a great cause of atheism in the world. Another reason is that the wave of terrorism that has persisted for more than a decade has been a great cause for bringing disrepute to the Muslim Ummah in general and Pakistan in particular, where Dr. Qadri  is originally from. He argues that while majority of the Muslims condemn terrorism in all forms, a minority of Muslims give it a tacit approval. It is worth remembering that Dr. Qadri was one of the first Muslim scholars who condemned the world trade center tragedy extremely vociferously.


In almost the first three quarters of the book Dr. Qadri has argued against terrorism and rebellion in a painstaking manner. In reality, this portion of book is dedicated to arguing against internal rebellion within a Muslim state. The matters concerning rights of non-Muslims living in Muslim countries have also been discussed thoroughly. Dr. Qadri argues that devout Muslims should not revolt against their unjust rulers even if they are unjust, cruel and tyrant, as it is forbidden. On the other hand, they should acquire lawful and constitutional means for getting their matters resolved by the state. Dr. Qadri argues that the people who abandon peaceful routes, such as adoption of democracy or a peaceful constitutional struggle, and rebel against the state are outlaws and should be dealt with severely accordingly.

Dr. Qadri also argues that according to the central teachings of Islam it is the duty of the Muslim state to protect the rights of the non-Muslims who live in their country. It is the duty of the state to provide security for their life, family and property. They should have proper privileges to practice their religious chores while not coming in conflict with the tenets of Islam. 

The last part of the book is dedicated to Muslims living in non-Muslim countries. Dr. Qadri argues that Muslims living in non-Muslim countries should abide by the rules and regulations of the country they reside in. Muslims should not become a source of mischief for the country they reside in. Instead they should pray and wish well for their country of residence. 

In order to strengthen his argument regarding the conduct of Muslims living in non-Muslim countries he quotes the classical event of migration of early Muslims to Abyssinia (modern day Ethiopia). He quotes that the early Muslims who migrated to Ethiopia were received well by the Negus who was a Christian. The Negus treated them with humility, honor and respect. In return Muslims who lived there were also extremely loyal to the Negus. So much so that in one of the conflicts of the Negus with one of his rivals the Muslims prayed to Allah for his victory and even vowed to help him in time of need. Dr. Qadri argues that such should be the conduct and intentions of Muslims while living in non-Muslim countries. 

Dr. Qadri ends the book by suggesting a few peaceful alternatives to violence and unrest. For instance, he proposes Muslims to acquire modern education, make effective use of print and electronic media to convey their concerns, stage peaceful demonstrations and rallies, and learn from other societies about how to live and coexist with peace, harmony and nonviolence. Every Muslim and non-Muslim should read this book. 

Long Time No See

I remember having written my last post during the month of Ramadhan. It has been more or less 40 days I did not write anything on this blog ever since. But this does not mean that I did not wish to write. Writing is fun! My last post was about Shaykh-ul-Islam, Dr. Muhammad Tahir-ul-Qadri. I wrote about him in the context of his new book concerning his fatwa on terrorism and suicidal bombing. After writing about him the next thing I wanted to do immediately was to grab his book and have a read at it. And that is precisely what I did. I read the book. But I fell short of writing a review about it, as that is what I wanted to do also. 

The book is very nice and argues extremely against all forms of terrorism from an Islamic perspective. I believe that every Muslim and non-Muslim should read it. I had a few other ideas in my mind about writing too. These included, for instance, to write about topics such as consciousness, free will, geopolitics and more book reviews etc. In fact I had made a list of topics I had wanted to write about. Reiterated, writing is a lot of fun! The reason why I stopped writing was that I wanted to give myself a break and contemplate on what I really wanted to do for future. The reason why I did not write a review about the fatwa is a bit obscured in my mind and I also do not understand precisely why I did not reflect on it. But I suppose I did not write about it because I think that by writing about it I am only trying to coax a humanity that does not really care about such things. Specially given that what is happening in the world around us on a daily basis. More precisely, given that what is happening in Afghanistan, Syria and elsewhere and given also the role of global powers in such affairs, I feel that people concerned and involved in such affairs care less about such literary efforts and more about their own ulterior motives. I nonetheless feel that everyone should retire for a while , though, from whatever roles they have in their wild pursuits and try to reflect on consciousness and other aspects of life and/or afterlife.

But who cares what a book writer has to say or a blogger has to write on peace specially when the stakes are too high. But how high are the stakes really?

Monday, July 29, 2013

Shaykh-ul-Islam

Shaykh-ul-Islam, Dr. Muhammad Tahir-ul-Qadri, is an Islamic scholar and a political and a social worker from Pakistan. He is the founder and CEO of Minhaj-ul-Quran International (MQI) which is an NGO aimed at promoting religious moderation, quality education, and interfaith dialogue. Dr. Muhammad Tahir-ul-Qadri is a cogent thinker and writer who has written many books on various topics about Islam. Recently he has written a very interesting book titled Fatwa on Suicide Bombings and Terrorism. This is supposed to be a very interesting and inspiring book. In this book, according to Dr. Tahir-ul-Qadri himslef, he has left no stone un-turned in the theology of Islam in order to argue against suicide bombings and terrorism. This means that he has turned every page of Quran and Sunnah and claims to have argued against terrorism in light of that. This is quite interesting and remarkable. Presuming that the writing of this book is motivated by rationality and reason, it could be a great resource for understanding true Islam. The book is being reported to have been translated in other foreign languages too. Furthermore, I have heard that the book has already been translated to Danish language.


I remember having met Dr. Tahir-ul-Qadri when I was an undergraduate student. I suppose it was back in 1,999 or 2,000. Current era of terrorism had not began yet and the world was a peaceful place in some sense. The reason for meeting him was quite interesting. Two of our very dear friends had become atheists. I would not disclose the names for the purpose of confidentiality. Another one of my friends was very concerned about this. He was affiliated with MQI and proposed to us to take both of them for a dialogue with Dr. Qadri. After much efforts we reached MQI center in Lahore. We were a group of around more than 50 people as I remember. Dr. Qadri was somehow not expecting us. He nonetheless greeted us warmly and we had our meeting and dialogue with him. As the meeting progressed, incidentally the two of our dear friends chose to keep quite. This was rather strange because they used to be very vociferous about their atheistic ideas on the campus. After all the idea of taking them to Dr. Qadri ensued due to this. And they had agreed to having an open dialogue with Dr. Qadri prior to going there.


Seeing their silence and the consequent gravity of the situation, I decided to ask all the atheistic questions that I thought could be the most compelling about the existence of God. I found it interesting because I had recently started to learn to speak in English those days. I used to form a sentence in my mind and then utter it. It used to be questions normally. I learnt to become a bit more spontaneous over the years due to my interaction with books, movies, the Internet and various people. Similarly, my knowledge about atheism was also very limited. I remember that the friend of mine who had reverted to atheism used to keep a thick book along side him. I remember that it posed questions about the existence of God. The idea that someone would read something about the existence of God used to appear very weird to me in those days. I think it would be just as if an atheist or a materialist would find it hard to grasp the idea that God somehow existed. But for me, just like many religious people, God simply existed. There was no question about that!


So as the discussion proceeded, I asked many questions and they were answered and the congregation listened. Most of the questions revolved around the existence of God Himself, creation of life and of universe. Dr. Qadri answered each one of them in the light of Quranic verses. There were other questions like if God created the universe and all the life then who created God. Such a question has a basis in philosophy and the cosmological argument addresses it. There were also other typical questions of the sort that why does an onion have so and so number of peels and why not any other number. For instance, a typical question could be that why is God not like this or why is He like that. Or, why cannot God be seen if He exists. Such questions were also answered. But a problem with such questions is that no matter how much one dwells in to their explanations, the answers can never quell the concerns. Latter in my life I took atheism seriously and read it. This gave me a clearer perspective on what atheism was all about.

Meeting Dr. Qadri was otherwise a pleasant experience. He is a simple and a courteous man. I hope his new book on terrorism is read by every Muslim and non-Muslim.

Fractals

One of the possible sources through which one comes across a knowledge about fractals is the study of Internet traffic behavior. Internet traffic can be said to behave in a self-similar manner. Self-similarity means that given a network traffic trace, the pattern of variability of various network metrics, such as end-to-end delay or variance, at various time-scales does not exhibit any change. In other words it means that given a time-series of network statistics, no-matter how much you zoom-in or zoom-out of  that time-series, the pattern you observe is the same.

Internet traffic behaves in such a way due to various reasons. Self-similarity is modeled using heavy-tailed or long-range statistical distributions. A heavy tailed distribution is one which has its hump on one side and it is skewed to another side. Its tail is rather thick and that is probably why it is called heavy. They are normally classified as belonging to some exponential family of statistical distributions. Pareto and Weibull distributions are examples of such statistical distributions. It has a finite mean and an infinite variance. It is the consequence of this infinite variance that anything modeled through it exhibits a self-similar behavior as described above. I presume that if something like a time-series of internet delays has an infinite variance, it will exhibit the same type of variability no-matter what time-scales you choose to look at it. This makes it self-similar.

The simplest way of understanding self-similarity is usually proposed to be the study of fractals or fractal art. A fractal in fractal art is a piece of art that apart from its aesthetic appeal has one additional quality. That quality is that if one zoom's in or out of the picture, one gets to see the same pattern repeating as was seen in the previous step.

Sunday, July 28, 2013

Crime and Punishment

I read crime and punishment by Fyodor Dostoyevsky during the summer of 2004. It was recommended to me by a dear friend. With a typical slow start of a huge novel, the author introduces us with the characters of his novel, about the living circumstances of the people of his time, about the poverty of St. Petersburg, and the lonely and cold Russian streets of its time.

The central character of the novel is a young man named Raskolnikov who lives in a small rented room in St. Petersburg. For some odd reason he develops an idea that he should kill an old lady, who is a pawn-broker. After much pondering Raskolnikov sneaks into the old woman's apartment and kills her with an axe. He also murders her half-sister. Nonetheless, apart from a few things he leaves the apartment untouched and does not take anything substantial from it. As Raskolnikov fled, he somehow fortunately managed to do so unseen and unobserved.

The plot of the novel takes various turns and twists with a number of events emerging as it progresses. But what is central to the novel is the thought process of Raskolnikov as he holds the secret of his crime in his heart. Even though nobody knew of his crime, his psychological bewilderment make him appear as a suspicious person. Eventually he discloses his secret to his beloved, Sonya. Despite there being a minimal  practical chance of him being convicted, he eventually confesses upon Sonya's persuasion. He is eventually sentenced to eight years of penal servitude in Siberia. Sonya follows him there too. After some time in the prison the process of his redemption and moral rehabilitation begin. This happens due to the affectionate influence of Sonya.

Reading Crime and Punishment can be an extremely depressing thing to do. A sensitive reader can himself go through various psychological phases during the read. The most tormenting thing here is of course to go through the tormenting thought process of Raskolnikov after he commits the murder. Putting oneself in the shoes of Raskolnikov is the other difficult thing to do. Actually it is not only difficult, it is unavoidable too. While reading the novel the reader unconsciously maps himself on to the circumstances and the personality of Raskolnikov. This adds further anxiety to the nerves of the reader. Visualizing about the poverty ridden  circumstances of St. Petersberg is the last thing that keeps the reader melancholic for a few days of viscous reading. Through crime and punishment Fyodor Dostoyevsky creeps into the conscience of every one of its readers.

Mesmerism

Tomb of Hazrat Gul baba Bektash in Budapest, Hungary
It may astonish a few, surprise some others and annoy the others to know that mesmerism is also claimed to have a basis in Islamic mysticism. I read about this in the book Irfan. I made a few translations from that book. My reading of Irfan was motivated by my desire to understand the nature of consciousness. I read it after I read atheism, specially The End of Faith by Sam Harris. The chapters I translated include An Account of Invocation of Jinns, Angels and Souls, The Reality of European Spiritualists and Their Misunderstanding and Certainty in Belief is Dependent Upon Seeing.The book is written by Hazrat Faqir Noor Muhammad Sarwari Qadri Kalachwi (RA). This book was first published in 1942. It has two parts. Both parts also  have translations in English. The urdu version of the first volume can be read here and English version can be read here.

Somewhere in Irfan the author suggests that mesmerism also has a basis in Islamic mysticism  According to the narrative in the times in which Franz lived there used to be Hazrat Gulshan baba Bektashi (or probably it was Gul baba) somewhere in the Eastern Europe. I do not remember the country precisely but I think that it was Hungary. Hazrat Gulshan baba used to treat the people about their problems. By the blessings of Allah he could cure the sick. He was also blessed enough by Allah the he could treat the wounded. Thus, it was reported that many wounded soldiers used to come to him and he  used to make dum on them. In hours of desperation he even used to apply his spit to the wounds of the sick and they used to heal by the blessings of Allah. Even Christian soldiers used to come to him and he was quite venerated by them.



In those years Franz Mesmer started visiting his shrine. From there he acquired a few tricks of the trade viz a viz what we now know as mesmerism or its descendant, hypnotism. This is what I read in Irfan, Allah knows the best.

God of the Orient

The other day I came across an Urdu novel titled "Khuda-e-Mashriq", literally meaning "God of the Orient" in English. I casually browsed its pages and I could not resist reading a part of it with a lot of concentration. I shall talk about that latter. But first I would like to briefly describe what the novel is about. The novel is written by Muhammad Zahid Afghan. As the name suggests, the writer is most possibly from Afghanistan. The central character of the novel is a British female who travels all the way from England to various Eastern countries and probably lands up somewhere in the subcontinent. Her name was Salomi. I am not sure though, but I think that I should reconfirm. There she makes friends. And she has her perplexities and bewilderment typical of a traveler.

The part that I found the most interesting was that the favorite personality of Salomi was the renowned German philosopher Friedrich Nietzsche. In her conversations with her friends she talks about Friedrich Nietzsche and his nihilism. This was the part that I found most interesting. I heard about Friedrich Nietzsche  and a few about his quotes a long time a go from friends. Names such as Friedrich Nietzsche and others can be quoted in educated circles as a symbol of intellect. But after a long time, I started wondering what his really philosophy was. After all it is important to know what someone really contributed as a philosophy as opposed to merely quoting from his/her quotations. I came to know that Friedrich Nietzsche was an atheist and that much of atheism of the present day can be attributed to having a background in Nietzsche-ism. Well, I could be wrong but I suppose that Friedrich Nietzsche still has an impact. Latter I came to know that Friedrich Nietzsche was a nihilist about the existence of God. And I wondered what were the reasons that led Friedrich Nietzsche in to nihilism.

Salomi explained the underlying reason very clearly. At one point she starts narrating about the life of Friedrich Nietzsche to her friends with an emotional vigor. She says that as Christianity arrived, for some odd reason the West started indulging in barbarism. As a consequence Friedrich Nietzsche became agnostic about the existence of God. He abandoned his civil life and went somewhere in the alps to live there. There he created a new God. Zarathustra! 



Latter while having a discussion with her friends, they ask each other that then who was the God of Zarathustra. One of the characters proposes that the God of Zarathustra was the God of Hazrat Ghulam Moi-ud-din Chishti (RA). He (RA) was a sufi saint with a substantial following in the subcontinent. It is interesting to note that Zarathustra (AS) was himself a prophet of Islam. Overall the novel is nicely written and tries to address various philosophical curiosities. It is interesting to note also that there are people in Afghanistan who try to do such delicate and creative work.

Saturday, July 27, 2013

Awaken the Giant Within

I was recommended to read Awaken the Giant Within, written by Anthony Robbins, a long time ago by a close friend. The book was recommended for learning about acquiring better emotional health. I have to admit that I could not put the book down as soon as I started reading it. It is a very fascinating and motivating book. It describes many methods for becoming emotionally healthy. Along with that it also provides guidelines for acquiring good physical health and for becoming financially sound. However, it is mainly focused on emotional health which, in my opinion, is also the best thing about the book.


The author takes a multi-pronged approach to rehabilitate the emotional health of its readers. It tells motivating stories about the lives of people who at some points in their lives were stuck in extraordinary circumstances. They eventually liberated themselves of their misery because of things like courage, motivation, dedication and hope. Indeed it is quite encouraging to read audacious stories about people who had a multiple personality disorder with around hundreds of altars, or of people who were stuck in concentration camps during the holocaust.



The book also offers practical tools such as neuro-associated conditioning (NAC). Following such methods and tools can definitely affect a person's personality in better ways. Among many fascinating things about the book, one is the power and ability of any person to change his/her state of mind extremely quickly. That no matter in whatever state of mind a person is, one can change that within an instant. Although there are many quotes in the book that affect a person immediately. But the one I liked the most is: Change your focus, change your life. 

The goal of the book is to make the reader to learn to become a happier and a more prosperous person. The main emotion one experiences while reading the book is that of euphoria. Anthony Robbins has indeed done a great job by writing such a marvelous book.

Friday, July 26, 2013

Understanding Digital Signal Processing

Understanding digital signal processing (DSP) can both be intriguing and frightening in the beginning. The mathematics involved in various integral transforms can turn off many teachers. The mysterious domain transformations can fascinate many a novice. For a long time as a graduate student I was amazed by the underlying idea behind transformation of a digital signal from time domain to frequency domain. I simply could not understand how it happened. After going through many lectures and books, I eventually came across Understanding Digital Signal Processing by Richard G Lyons. 

Understanding Digital Signal Processing (DSP) treats the subject in a way no other author or teacher has ever done. The best thing about the book is that elucidates the various and many key concepts of DSP in an extremely layperson friendly manner.  It is quite inspiring to learn with the help of examples on as to what the various transforms and transfer functions do with a digital signal. One has a great eureka moment when one learns that the Fourier transform is basically a cross-correlation function. In order to know the strength of a particular frequency component in a multi-spectral signal, the signal is simply corss-correlated with another signal of that particular frequency. This is a very enlightening way to learn about the Fourier transform.

There are many other cherish-able ideas in the book. For instance, to know that a FIR filter is basically a smoothing function. Similarly, the rationale behind choosing a particular Nyquist's sampling rate is also quite informative. The reasons for having bell-shaped windowing functions and their linkage with spectral leakage is also explained in a very nice manner. Other topics like the Z-transform, or IIR filtering are also covered in a very nice way.

 Understanding digital signal processing can is the best book for anyone who wants to learn DSP from the ground up. It is also quite suitable for anyone who is an expert but wants a revision of concepts. It is specially useful for learning the key concepts of DSP and for developing a transparency in the mind about what actually happens to the signal when it is transformed from one domain to another. Any person who wants to learn DSP should definitely read Understanding Digial Signal Processing by Richard G Lyons. Understanding digital signal processing (DSP) can both be intriguing and frightening in the beginning. The mathematics involved in various integral transforms can turn off many teachers. The mysterious domain transformations can fascinate many a novice. For a long time as a graduate student I was amazed by the underlying idea behind transformation of a digital signal from time domain to frequency domain. I simply could not understand how it happened. After going through many lectures and books, I eventually came across Understanding Digital Signal Processing by Richard G Lyons. 

Understanding Digital Signal Processing (DSP) treats the subject in a way no other author or teacher has ever done. The best thing about the book is that elucidates the various and many key concepts of DSP in an extremely layperson friendly manner.  It is quite inspiring to learn with the help of examples on as to what the various transforms and transfer functions do with a digital signal. One has a great eureka moment when one learns that the Fourier transform is basically a cross-correlation function. In order to know the strength of a particular frequency component in a multi-spectral signal, the signal is simply corss-correlated with another signal of that particular frequency. This is a very enlightening way to learn about the Fourier transform.

There are many other cherish-able ideas in the book. For instance, to know that a FIR filter is basically a smoothing function. Similarly, the rationale behind choosing a particular Nyquist's sampling rate is also quite informative. The reasons for having bell-shaped windowing functions and their linkage with spectral leakage is also explained in a very nice manner. Other topics like the Z-transform, or IIR filtering are also covered in a very nice way.

 Understanding digital signal processing can is the best book for anyone who wants to learn DSP from the ground up. It is also quite suitable for anyone who is an expert but wants a revision of concepts. It is specially useful for learning the key concepts of DSP and for developing a transparency in the mind about what actually happens to the signal when it is transformed from one domain to another. Any person who wants to learn DSP should definitely read Understanding Digial Signal Processing by Richard G Lyons. The book is particularly suitable for the mathematics shy.

Thursday, July 25, 2013

Bunny in the Clouds

Muhammad (PBUH) written naturally in the clouds.
I remember having read an article a few months ago in connection with Dr. Eben Alexander's much hyped book Proof of Heaven. I don't remember exactly but I think that the article was published in the scientific American magazine. The article had a mention of a phenomenon of seeing a "bunny in the cloud" in it. According to my extrapolated understanding of it the term is related to wishful thinking. That no matter what random shape the rather amorphous clouds acquire, if a person is adamant about seeing a bunny in the cloud, he/she will eventually see it. This is a nice analogy to explain the idea of wishful thinking. That no matter what a person sees or feels in his/her dreams, hallucinations, spiritual trances or commas, if a person is hellbent on perceiving it as heaven, he/she will eventually do so. 

Laa Ilaaha Illa Allah written in a farm in Germany.
It makes a lot of sense to wonder that whether the phenomenon of seeing a bunny in the cloud is always a visual illusion or can it also be attributed some authenticity at times. Here I presume the use of the term "bunny in the clouds" to be metaphorical. This means that both bunny and the clouds can mean anything that can be seen or observed. For instance, bunny can mean a flower, food, drinks, a knife, a sword, Jesus (PBUH), Marry (PBUH), Muhammad (PBUH), Allah, a garden, heaven or fire. Similarly cloud can also mean anything like a cloud, a dream, moon, a potato or a watermelon. 

Religious people have a great propensity for seeing different types of such metaphorical bunnies in different types of those so-called clouds. Thus, it is not uncommon to see visual appearances in the clouds that resemble Jesus Christ (PBUH). Some of them are vague and there are others that seem to be made up. But there are indeed a few that appear to be shadows of a standing man with a staff in his hand. I have chosen one of such pictures of the clouds to post here. 
Jesus (PBUH) in the clouds.

Obviously it is no proof that it Jesus standing in the clouds with his staff in his hand. One cannot even claim that it absolutely looks like as if a man is standing in the clouds at all. These are just randomly arranged clouds. But still if we look at these clouds closely, they do appear to have a human head with rather thick and curly hair. A left arm. The bends of the chest. and something that resembles a stick. But whether this man is Jesus (PBUH) or not cannot be claimed. But this is only one picture. There could be other more vivid pictures on the web that may be easily claimed and classified to be containing Jesus (PBUH) in them. 


Allah written on a cactus.
Muslims also have a tendency for finding names of Allah and Muhammad (may Allah's peace be upon him) written on clouds and other things. Indeed, there are many pictures on the Internet in which the word Allah has appeared to have been written naturally in the clouds.
Muhammad (PBUH) written on a goat

Similarly, a simple search query reveals that pictures with the word Muhammad (PBUH) in Arabic appearing on clouds and other things like stones, bread, or in a fruit are also quite numerous. At some points such appearances are vague but at others they are quite vivid. 
Allah written on foreheads of newborn twins

Such phenomenon has also been termed as pareidolia. There is also religious paredolia in which names or figures of religious figures visually appear in various natural phenomena.
Allah written inside a pomegranate

It is quite wonderful to observe that many of the appearances in the pictures are extremely vivid. One can only hope that these pictures are real and not forged. 

Wednesday, July 24, 2013

Gora

The Urdu word "Gora" literally means "white man" in English. Its feminine counterpart "gori" means a white woman. The word is commonly and quite frequently used to refer to an average white person of a Western origin. Particularly, it is used to refer to European and American white men. But it would not be an exaggeration to include people from other racial backgrounds, like the Chinese and the Japanese, to form a generalization. In short, the word gora can be used to refer to a person belonging to any of the advanced countries. In a literal sense it is used to refer to a white man of Caucasian background.  

It is not uncommon to hear mentions of gora in normal everyday discussions in Pakistan. Gora did this, gora did that. Gora is a genius. Gora is creative. Gora has better laws in his country. Gora has better values. Gora is humane. Gora is humble. Gora is funny. Gora is fun. Gora is simple. Gora is honest. Gora is innocent. Gora's science. Gora's research. Gora's technology. Gora's ideas. Gora is not jealous. Gora is not wicked. Gora's this and gora's that. Indeed, gora can sometimes be discussed in Pakistan like  the way shrimps were cherished by Bubba in Forrest Gump.  

It would not be an exaggeration to say that the gora has earned this good reputation and respect among the Muslim societies due to his/her superior character of the personality. Gora can be discussed in many diverse circles and places, ranging from markets to mosques. Indeed, many Muslims believe that should the gora recite the testimony of purity and convert to Islam, he/she would be a better Muslim than them already. Muslims claim to have with them a code of the most supreme morality in the form of Quran and Sunnah. It is a pity that the values of Quran and Sunnah are not practiced by the Muslims as the way they should be. They, nonetheless, find a practical implementation of these values in the life of a gora. Muslims, however, appreciate this strength of character.