Regular

You begin your journey not knowing where it will take you. You have plans, you have dreams, but every now and again you have to take uncharted roads, face impassable mountains, cross treacherous rivers, be blocked by landslides and earthquakes. That’s the way my life has been.

– Mr. Lee Kuan Yew

Whoever governs Singapore must have that iron in him. Or give it up. This is not a game of cards. This is your life and mine. I’ve spent a whole lifetime building this and as long as I’m in charge, nobody is going to knock it down

– Mr. Lee Kuan Yew

Have you ever have floated items (div, li, etc.) in a div or ul with a width set to be a percentage? You would have noticed that depending on how the browser handling the rounding of the percentage width to pixel, the last item will usually not be able to take up the remaining width of the containing div or ul.

After some research and finding this post, I've finally laid to rest one of the biggest problem I faced

h5validate is a jQuery plugin that adds form validation support to non-HTML5 or HTML5 browsers. What I like about the plugin is that it allows me to standardise the form markup and ensure that client-side validation works across browsers.

It's pretty simple to use, I'll go through a simple way to activate the plugin :)

The form markup:

<style>
    .hidden      { display: none; }
    .error       { color: red; }
    .input-error { border: solid 1px red; }
</style>

<form class="validatable" action="/post-target"

Just had my last post lasik consultation with Dr Julian Theng at Eagle Eye Centre in Singapore yesterday. It was great to confirm that I've recovered well and I have 6/6 vision now (or 20/20 depending on where you are from).

Getting my lasik done at Eagle Eye was the best decision ever. I was actually worried about a lot of things but during the consultation, the staff in the centre were really friendly and patient in answering

We either die believing that we can achieve our dreams, or die believing that we can't. We die anyway.

Our deepest fear is not that we are inadequate. Our deepest fear is that we are powerful beyond measure. It is our light, not our darkness that most frightens us. We ask ourselves, Who am I to be brilliant, gorgeous, talented, and fabulous? Actually, who are you not to be? You are a child of God. Your playing small does not serve the world. There is nothing enlightened about shrinking so that other people will not feel insecure around you.