Have difficulty meditating? Try this!

Have you attempted and failed at practicing meditation? You are not alone! All of us lead hectic lives and the whole idea of meditating, for the calmness that it is deemed to bring, sounds excellent. However when we sit down, the mind sound can be aggravating, disruptive and totally irritating. Some friends have reported that they have actually stopped meditating since increasing their upset rather than lowering it!

Here is an ancient route for you, practiced by ascetics the world over, it is known as the King of meditations in Sanskrit.

Mahamantra Meditation: Making a sound offers the mind something to concentrate on, so that it is not roaming everywhere. The sound literally muffles all thought! The vibrations of the sound resonate in the body, with the effect of quieting down the mind. This extremely rapidly results in an intense silence within. When you stop the noise, the body/mind/spirit connection as in suspended animation, and quite quiet

Use a location where you will not be disturbed, where you can make noise and not be sidetracked by others or yourself. Sit easily with your back straight either using a chair or, if you want, in the Classic Lotus position. Proceed to hum intensely by making the noise of the letter M – nearly like a bumble bee. Just Mmmmmmm. Make this sound long and loud. Technique making the noise as though you are working out. Do it with strength and concentration. If your mind wanders away, bring it back to the sound. This “exercise” approach keeps your interest engaged. If your consciousness disengages, hum louder! Muffle those thoughts with the sound!

Do the sound meditation for 5- 15 minutes, and then sit quietly with soft music playing in the background. Relax to the tunes.

This mind-calming exercise can cut through mind noise like a dagger through warm butter and render you peaceful, unwinded and in tranquility in an extremely short time. Variants on this meditation consist of changing the noise to a Huuu sound. The Huu sound resonates in a different way and many people report that the pitch changes automatically as they do it. This attunement to the sound/energy flow, provides a sensation of oneness with all. Enjoy!

Note: this is a guest post by Martyn Williams

Martyn Williams is a world record holding extreme explorer, whose life experiences include guiding on Mount Everest, creating the first airline in Antarctica, and teaching enlightenment to monks in India. A yogi, entrepreneur and life coach you can find out more at his web site www.Haritaki.org

2-Room Flexi Review

Singapore’s HDB has gone a long way of providing affordable housing for Singaporeans since Singapore’s independence. It started by providing humble, relatively cheap 3-room and smaller flats; nowadays, the newer HDB flats are on the other hand larger and beautifully designed with quality furnishing. I’ve the privilege of visiting my relative’s BTO 3-room flat at Sengkang and I’m impressed, my Jurong 15-year-old flat in contrast looks “rundown”. Compared to other Asian countries/regions such as Japan, Taiwan, Hong Kong and Korean, HDB is a runaway success in the housing arena and Singapore’s home-ownership rate and housing satisfaction are probably near the top of the list if not the top.

Even though HDB housing in Singapore is relatively affordable, in absolute terms, housing is still the largest outlay for most Singaporean families. In a land scarce jurisdiction such as ours, this is understandable and unavoidable. Based on reports, articles and news, I understand that HDB is consistently looking for ways to cut costs and passing the savings to BTO buyers by adopting new technology and processes, making unit sizes smaller and even increasing subsidies and providing new schemes for the disadvantage and old-age families.

With that said, I look with great interest the 2-room flexi scheme. It’s an innovative idea. The aged family could downsize from a larger flat into the 2-room HDB with part of the balance proceeds placed in the CPF annuity scheme (LIFE) to generate lifelong income. The cost of the home is furthered reduced by tailoring to the family longevity profile and reducing the lease. The idea is to provide housing for the retired until the younger of the spouses reaches 95 year-old. I believe the 2-room flexi scheme is a good starting point for those families who want to monetize their larger HDB flats through the downgrading process. However, I believe that this scheme could be further enhanced to squeeze out the redundancy inherent in the assumptions. Let me explain.

The flexi scheme makes provision for the couple to live until 95 year old. However, most Singaporeans do not live till that age to meet one’s maker. In fact, the life table for Singapore tells us that the median lifespan of male Singaporeans is 82 while women live a few years more. That would mean that under the flexi scheme, perhaps 10 years of the lease are wasted and unconsumed. This extraneous lease, if monetized could very well enhance the living standards of the retiree home owners. In my humble opinion, I would think that HDB should provide an option for aged families to purchase “housing annuity” in a similar vein to the financial annuity that CPF LIFE provides. The housing board could be the counterparty in the provision of housing annuity where aged families are allowed to live in their flats for as long as their lifespan dictates. Thereafter, the ownership of the flats will be reverted to the board. This idea will not cost money for the government but could potentially improve the lifestyle of the retirees as the cost basis of HDBs has dropped. Adopting it will be especially beneficial to the families who do not want to leave a bequest or have no descendants. The leases sold to the flexi buyers could be reduced and the retirees get to stay in place for retirement. Like the CPF LIFE annuity, those families who kick the bucket early would subsidize those with more longevity.

The European Union expanded too fast and will probably fail, Lee Kuan Yew said back in 2012

This is a re-post from The Straits Times.

As the world struggles to make sense of Brexit, there has been renewed public interest in the future of Britain and the European Union(EU). One Singaporean who had tracked Europe’s great effort at integration over many decades was the late Lee Kuan Yew.

In the years following the European debt crisis which began unfolding in late 2009, Mr Lee was asked on several occasions for his views on the EU. He weighed in, speaking with clarity, depth of understanding and keen insight.

In September 2011, Mr Lee predicted at a dialogue the collapse of Europe’s currency union and said it would be “a very painful business” but that a one-tier Europe was too hard to achieve. At that time, the European debt crisis was some two years old, having been taking place since end 2009.

Mr Lee, Singapore’s founding prime minister, was speaking at a dialogue to mark the seventh anniversary of the Lee Kuan Yew School of Public Policy. He said European leaders would try very hard to keep the euro zone from collapsing as that would be “an admission that their aspiration of one Europe is not achievable”. “But I do not see it being saved. But they’ll try and keep it going.”

When asked by a participant if Singapore would buy the bonds of debt-ridden European countries, Mr Lee said Singapore’s gross domestic product was a fraction of the European Union’s, and thus it is “in no position to rescue the Europeans, nor do I think that buying their bonds will necessarily rescue them”.

He pointed to the currency union among the 17 EU countries as the problem. “A fundamental problem of the euro is that it makes everybody, every European country, march to the same drummer whereas each country has its own tempo and you cannot expect the Greeks to march like the Germans, so the problem will not go away.

“Eventually, I’m not sure when because it would be an admission of the aspiration being out of reach, a two-tier Europe or even a three-tier Europe is possible but a one-tier Europe with different spending habits, thrift habits and discipline is too difficult to achieve.”

The euro came into existence in 1999 in the hope of increasing economic cooperation and growth in Europe, while shoring up the EU’s presence on the world stage. But as several euro zone countries faced debt crises, the currency union came under fire because it forced other European countries to bail out the troubled member nations, as well as denied policymakers the flexibility of monetary policy as a tool to fight recession.

Mr Lee also said he did not think the Chinese were interested in “rescuing Europe for the sake of Europe. They’re interested in buying euro bonds cheap and hope that it will give a good return”.

Reports at that time estimated that up to one-quarter of China’s reserves may be euro-denominated. When moderator Kishore Mahbubani, dean of the Lee Kuan Yew School of Public Policy, said that a strong EU would be in China’s geopolitical interests, Mr Lee disagreed. He said: “No, no, no. It’s easier to deal with 27 weak European countries than to deal with 27 united European countries.”

In May 2012, Mr Lee met his old friend Helmut Schmidt for three days in Singapore to discuss China’s rise, Europe’s crisis and key issues in the East and West.

Mr Lee was then 89 years old and Mr Schmidt, who was chancellor of West Germany from 1974 to 1982, was 93.

Both men were interviewed by German newspaper Die Zeit during the visit and they were asked if, in the light of Europe’s history of feuds and hostilities, including two world wars, the European Union was inspite of its flaws a great achievement. Below is the exchange between the two former leaders and Die Zeit journalist Matthias Nass.


Lee: No, I do not view the European Union as an inspiration for the world. I view it as an enterprise that was conceived wrongly because it was expanded too fast and it will probably fail.


Lee: We cannot achieve integration in the same way, that is for sure. But what we can draw from this is the growing insight into our common interests, free trade zones, and then we can build up on it step by step. The problem in Asia is China’s dominant position.


Lee: Free trade and a feeling of belonging together; we do not fight each other. We settle differences, that is a fact. We meet regularly; we do not threaten each other.


Schmidt: In theory, you may be right, but in reality, we need leadership figures. We need people like Harry Lee or Jean Monnet.

Mr Lee also dwelt at length on Europe’s future in the book Lee Kuan Yew: One Man’s View of the World, published by Straits Times Press in 2013. Below is an excerpt from it.

“In the last two to three years, European leaders – including David Cameron, Nicolas Sarkozy and Angela Merkel – have separately declared that multiculturalism has failed in their countries. In other words, the Turks who have settled in Germany have not become Germans, nor have the Algerians and Tunisians in France become French. Increasingly, Europe sees these people as indigestible. Race is at the root of this inability to assimilate, although religion, culture and language are also factors. But it is also not possible for Europe to stop the inflow because these immigrants meet a pressing domestic need. So we may well see European governments letting in immigrants when they can, only to hit the brakes when electoral cycles come around and far right parties outflank their moderate opponents with angry rhetoric. However you look at it, they face a catch-22.

When Europe emerged from the devastation of two world wars, the idea of European integration seemed most natural. Here was a continent of countries that held many things in common. They had all lived through the Renaissance and the Enlightenment and had come away with one European culture, a similar way of thinking about themselves and the world. Christianity was the dominant religion. Going further back in history, these countries shared a heritage from the days of the Roman Empire, which gave them a certain uniformity in the way they organised society. Yet, for all their commonalities, what came to the fore dramatically in the 20th century were their disagreements and their separateness, as they were led by their worst angels to engage in brutal, internecine and protracted wars resulting in the death of millions. Integration, then, became a central mission for European leaders. It represented their best hope for enduring peace. It was the clearest way for the countries to build on their similarities, set aside their differences and bind the fates of their nations closer to each other so that they would never again have to suffer such horrible consequences that were, arguably, of their own making.

Having decided that this was an important project, they went about building the necessary institutions. They signed the Treaty of Paris in 1951, establishing the European Coal and Steel Community, the pioneer of the EU. In 1957, the Treaty of Rome, which proposed the creation of a common market, and common agricultural and transport policies, was agreed on. The community later evolved into the European Union and was expanded to include 27 states after the end of the Cold War. Of those states, 17 adopted a single currency, the euro.

Integration holds great promise apart from just peace. A Europe that achieves singularity in purpose would have much greater economic clout and, more significantly, a much bigger voice in international affairs. Put simply, it would be a more powerful Europe. If the Europeans were to deepen its integration efforts and go on to have one finance minister, and perhaps even to having one foreign minister and one defence minister, their augmentation in hard-power terms would be enormous. Consider the people of the United States of America. They are basically Europeans who have been transferred to another continent and have dropped their tribal loyalties and their different languages. If Europe integrates to the same extent and becomes the United States of Europe, there is nothing the Americans can do which they cannot do. Europe as one entity is more populous than America (500 million versus 310 million) and has an economy one-sixth larger than America’s. Such a Europe would certainly be in the running for the world’s leading superpower.

Alas, all the signs point to the impossibility of integration. They have so far failed to make a single currency work and are not likely to progress to a single foreign policy stance or a single military. They have individual histories, each going back many centuries. Each nation is proud of its own traditions. Above all, they want to keep their languages alive – there is glory and literature behind it. America decided to start afresh and create a new literature, but Europe will not be able to do so. Even though English is already the second language in all the other countries, those on Continental Europe will never accept it as the single working language.

What then will be Europe’s place in the world? They will be smaller players on the international stage. In the face of dominance by the major powers such as the US and China, and maybe later on, India, Europe will be reduced to the role of supporting actor. Most of the European countries will be treated – quite rightly – as ordinary small states. Germany might be able to carry its weight alone, thanks to its population and its economic success, although it will not want to raise its head above the parapet because it is still filled with guilt for having killed six million Jews during the Holocaust. The British will retain some influence because of their special transatlantic relationship with America.

But otherwise, Europe cannot hope to count for much at a table where the US, China and India are seated, even if some European leaders may still be reluctant to admit it because of their historical sense of self-importance and their long experience in playing the game of international affairs. In the end, you are comparing nations of 40, 50 or 80 million against 1.3 billion Chinese and 1.2 billion Indians. The Chinese, especially, will find that a fragmented Europe makes life easier for them. They can deal with each country individually, rather than in a group. Each European country will be more dependent on the Chinese than the Chinese are on them. This will be even more so as China’s economy moves towards being driven by domestic consumption.

Europe’s declining international voice, however, will not result in its living standards falling by the same magnitude. If it can survive the break­ up of the euro, it goes back to what it was. Europe loses its voice in the world, but the countries in it have a high standard of education and skills and can make a good living. There will be some decline, but each country will reach a steady state at its own level of competitiveness. The Europeans will lead lives that are happy enough.

I write more in sorrow than in derision about Europe’s inevitable decline. I do not want to run Europe down. The Europeans are a very civilised people. Yes, they were colonialists – the French, the Belgians, the British and the Spaniards. But the French had their mission civilisatrice to transfer their civilisation to the Africans. And on the whole, the British left institutions behind them, including in Singapore. We had the rule of law, we had statutes, we had the English language and we were wise enough not to change any of that. They have helped us to grow. Their institutions were already working. What I did was to make sure that we did not subvert the institutions but reinforced them.

The Belgians, in stark contrast, left Congo in a mess. They extracted the raw materials and when the time came to leave, the place just broke up into tribal warfare. Congo is still in trouble today. In Guinea, Charles de Gaulle was so angry with Ahmed Sekou Toure, who was a forceful freedom fighter, that they ripped off all the electric and telephone wires before they left. Guinea has still not recovered from that. They did not do that to all French colonies but they did that to Guinea because Sekou Toure baited the French government. Thus, Sekou Toure inherited a non-working system, which he never got back into working condition. These things make a difference.

If the British had left me with a French or Belgian situation, I am not sure I would have been able to build it up to today’s Singapore. The British left in good grace. The main building of the Istana was occupied by the last Governor, Bill Goode, who handed it over intact, everything in order. He took me around and introduced me to the butlers and so on before leaving. From here he went to North Borneo for a while and then retired. We should be thankful for their system and their graceful exit.”

Java: Join String Array

Java has a string split function, but it does not have a combine/join/unsplit string function. Below is an example modified from the StringUtils library.

package test;

public class Join {
    public static void main(String[] args) {
        String[] toppings = {"Cheese", "Pepperoni", "Black Olives"};
        System.out.println(join(toppings, ";"));
        System.out.println(join(toppings, null));

    public static String join(final String[] array, final String separator) {
        if (array == null) {
            return null;
        final StringBuilder buf = new StringBuilder();
        for (int i = 0; i < array.length; i++) {
            if (i > 0) {
                buf.append(separator==null ? "" : separator);
            if (array[i] != null) {
        return buf.toString();


Cheese;Pepperoni;Black Olives
CheesePepperoniBlack Olives

Java PadLeft/PadRight

Java left pad/right pad string functions. These’re also equivalent to C# and VB.Net PadLeft and PadRight methods.

package test;

public class Pad {
    public static String lpad(String str, int n, CharSequence c) {
        return (new String(new char[n-str.length()])).replace("\0", c) + str;

    public static String rpad(String str, int n, CharSequence c) {
        return str + (new String(new char[n-str.length()])).replace("\0", c);
    public static void main(String[] args) {
        System.out.println(lpad("astring", 10, "0"));
        System.out.println(rpad("astring", 10, "0"));



Java: Read/Write File

Below is the source code for reading and writing text files. Unless the file size is horrendously huge, this utility should suffice.  The source code works for all versions of Java.

package test;

import java.io.*;

public class FileReadWrite {

    public static void main(String[] arg) throws IOException {
        writeFile("C:\\temp\\b.txt", "Initial contents of this file.");
        String outfile = readFile("C:\\temp\\b.txt");
        System.out.println("Reading file contents: "
                + outfile);

        writeFile("C:\\temp\\b.txt", "This file has been overwritten...");

        outfile = readFile("C:\\temp\\b.txt");
        System.out.println("Reading new file contents: "
                + outfile);

    public static String readFile(String filename) {
        StringBuilder contents = new StringBuilder();
        try {
            File aFile = new File(filename);
            BufferedReader input = new BufferedReader(new FileReader(aFile));
            try {
                String line = null;
                while ((line = input.readLine()) != null) {
            } finally {
        } catch (IOException ex) {

        return contents.toString();

    public static void writeFile(String filename, String aContents) {
        try {
            File aFile = new File(filename);
            Writer output = new BufferedWriter(new FileWriter(aFile));
        } catch (Exception ex) {

Reading file contents: Initial contents of this file.

Reading new file contents: This file has been overwritten…