siong1987

GraffitiGeo Co-founder 

Plugin is not always Good

There are so many free plugins and free libraries out there. Whenever you have a problem to solve, you will definitely find a plugin or a library that suits your problem. But, most of the plugins are heavy-weight. They solve your problem, but, they also bring unwanted burden on your code.

What is the best way to solve this problem? Look into the code of the plugin, extract out the code that you really want. If you find something that is wrong in the code, patch it and contribute back to the community.

Win win situation.

Comments [0]

Productive Day

One of my most productive days was throwing away 1000 lines of code.

-- Ken Thompson

Comments [0]

Matt Mullenweg On the Dvorak Keyboard Layout

Comments [0]

I still like Korean

Sent from my iPhone

Comments [0]

Relational Based Database Sucks

Obviously, MySQL sucks.

Google has BigTable. Amazon has SimpleDB. Both of them are not relatinal-based databases. So, what do you think? So, should we avoid MySQL? And, use Tokyo Cabinet or CouchDB instead?

In future, key-value based database will rule.

Comments [1]

Happy? Test!

119 scenarios (119 passed)
524 steps (524 passed)
0m46.846s

The current test scenarios seem to cover about 75%( estimated ) of all possible scenarios. Sometimes, edge cases will still happen.

Comments [0]

Point in Polygon

Do you want to know whether a point in a polygon or not?


Connect a point outside the polygon to the point of interest. If the line segment crosses the sides of the polygon in odd number of times, your point of interest is in the polygon.

Comments [0]

Behaviour Driven Development ( BDD )

If you are a RoR developer, you can always hear about all these buzz words about developing a RoR application. In fact, I am really a big fan of Cucumber + Rails development.

Forget about populatin your test database and './script/server -u', write up a Cucumber scenario and you are ready to go.

'rake features' rule!

Comments [0]

On Wine Again

Sent from my iPhone
Siong1987.com
Teng Siong Ong

Comments [0]

Green Tea Latte

Sent from my iPhone
Siong1987.com
Teng Siong Ong

Comments [0]