Saturday, February 11, 2017

Perhaps, Perhaps, Perhaps

I run quite consistently, at least every Saturday morning. This morning was another great session in the park, with continuous running for half-an-hour followed by some simple calisthenics. And while running (as always, ideas come streaming into my head) it occurred to me to blog today about the scientific method. This is probably because I've been catching up on some of the developments in particle physics recently and I'm back in my "scientific mood".

I think I've blogged elsewhere before that an education in the science stream during my secondary school days has been one of the biggest influence in my life. Since those feverishly passionate days of devotion to science, I've always adopted a scientific attitude towards everything in life.

What do I mean by the 'scientific attitude'? Well, it is at its core, a respect for hypothesis, experimentation and data. No assumption should be left unexamined; skepticism should be the guiding principle towards everything, including everyday life situations.

Does that mean that one goes about life not trusting anything or anyone? Certainly not. It means, first and foremost, never prejudging any situation or anyone. Always go by the facts and never jump to any conclusions. Even when something seems 'obvious', always verify. Never assume.

The other scientific attitude that I adopt is: always go for the simplest explanation as a starting point. It doesn't mean that I'm being simple-minded or naive, on the contrary, it reflects a cautious attitude towards any superfluous explanations of things. Occam's Razor is my favourite instrument. Someone texts me about some rumour; I'll read it and say in my mind 'perhaps'. 'Perhaps' is my mind's favourite word. And perhaps not coincidentally, one of my favourite oldies is the song, 'Perhaps, Perhaps, Perhaps' (of which Nat King Cole's rendition Quizás, Quizás, Quizás is my favourite).

I am comfortable with not full knowing everything. Sometimes we just don't have sufficient facts to conclude about something; so just let it be and wait until there's further data. Ask more questions, investigate and always ask yourself: is there an alternate explanation for what is being implied by something or someone.

A scientific attitude towards everything is even more important nowadays when our social media is littered with unverified or downright fake news. Sometimes we just believe what we like to believe. What we want to believe in is usually driven by our ego and prejudices. A true scientist knows that he has to put aside his favourite hypothesis, no matter how reluctantly, if the facts do not support it. As did Johannes Kepler (read my previous entry, Perfect Ideas), who had to give up his idea of perfect circles for the orbits of planets around the sun when Tycho Brahe's accurate measurements indicated that they moved in ellipses.

The scientific attitude also comes in handy in my line of work, which involves a lot of debugging and troubleshooting. We coders know that it is very difficult to detect our own bugs. That's why, alpha and beta testing phases are very important in development. Similarly, anyone who writes frequently also knows that it is difficult to detect one's own typos. Our minds tends to move faster than our hands or fingers.

We must be aware that the mind has a tendency to assume and gloss over things. The only way to overcome this mental bias is to habitually relook at things from a different perspective. Break the pattern: Read, starting from the last sentence to the first. Or go do something else first: get something to eat, take a walk, water the plants and then come back to tackle your work with a fresh mind.

Looking at things from many different perspectives is a very scientific attitude indeed. After Kepler successfully described the elliptical orbits of planets around the Sun, Isaac Newton re-looked at it and figured out that Kepler's laws are a natural consequence of a universal force of gravity acting between objects with mass: the Sun's gravitational force keeps planet in their elliptical orbits and they can be proven mathematically from the basic principle of an inverse square law. And then, in the 20th century, Einstein astounded the world with his General Theory of Relativity which re-formulated Newton's law of gravity as the geometric curvature of space-time. How simple and ingenious is Nature!

To adopt a scientific attitude is to apply some very basic common sense. With so much data and information bombarding our senses should our phones, tablets, computers and televisions, it is increasingly difficult to separate the wheat from the chaff. But one should not despair: access to information is better than none. Question is: will we always be able to distinguish the true from the false? I don't really know. Perhaps, perhaps, perhaps.

Sunday, February 05, 2017

Learning, Unlearning and Relearning

Most people will be starting work tomorrow. The past week has been good as the traffic in KL was still rather sparse; it was great being able to zip from place to place easily.

I've made a resolve to be more independent when it comes to work. I used to have to depend on the services of a graphics designer to do some of the design that comes part and parcel with app and web development. Engineers are usually hopeless when it comes to even the simplest graphics design. They are almost aesthetically blind, having no sense at all of the basic elements of balance, contrast and harmony.

I've been spending the past week doing some of the graphics on my own. All graphics designers have Adobe Photoshop and Adobe Illustrator as their basic tools. Many use pirated copies. I don't own or pay subscription to any of these tools. And I was reluctant to invest time to build up proficiency in using proprietary tools, even though they are considered industry standards.

Frustrated by the entire industry's dependence on these tools and how we are forced to pay for them, I made a resolve to find open source alternatives. Here, I'm glad to say that I've tested and found good open source substitutes: GIMP for bitmap images and Inkscape for vector graphics. Using them, I'm already able to import all my old Adobe Illustrator assets and make modifications to them. I am finally free, at least for what I'm doing, from the need for the services of a graphics designer and the tyranny of Adobe tools. And it feels very liberating indeed.

I've also made another resolve (I actually have new year resolutions after all!), to be free from the Windows operating system. Unlike many of my friends in the industry, I'm also not a Mac die hard. On the server side, I've been using various distribution of Linux for years and have no issues with it. My laptop is set up to dual-boot with Windows and Ubuntu. And lately, I've been finding myself using Ubuntu exclusive for all my needs and I'm doing just fine. GIMP and Inkscape work beautifully on Ubuntu. Being completely free from Microsoft, Apple and Adobe definitely gives me a great sense of satisfaction.

I rarely write about IT matters on my blog, even though that's been my profession all these years. Today's entry must seem like a rare exception. But I'm also trying to inject fresh subjects into this blog of mine and there are many philosophical insights that one can gain from IT too. These will be interesting blog topics for the future.

I guess 16 years is long enough time for me to get over any disillusionment I had with the industry. I realized that it is the only industry where the skill to learn is perhaps the most valuable skill of all. The pace of change in this technology is staggering and the only survival skill one needs is the skill to re-skill oneself. As the eminent futurist Alvin Toffler once said: “The illiterate of the 21st century will not be those who cannot read and write, but those who cannot learn, unlearn, and relearn.”

And that's the only thing that I've been doing consistently all my life.