Posts

Showing posts from March, 2016

Sunrise!

Image
This is about her. When you can be yourself with someone, she's the one. An old love when awaken is stronger than  your mind. So, don't bother thinking on fighting it back. Let your heart beats freely, let it decide without holding back for you won't regret it in the end. When you fall in love, well it's science more like lots of chemical reactions happening in your brain. But, let's skip that part. When I fall in love, I think of bad things ahead; pessimist, I am. But now, I'm changing it. I promised to myself to look for a better SUNRISE everyday. And why the heck not? I'm like torturing myself before. After all, happiness should start from within, like it's a choice;mindsets. But we can't ignore the fact that someone/some things have different value for us. So, it gives different impact or amount of happiness. What we need to do is segregate those "things" or "people" in our life. If it doesn't make you ha...

Optimizing Near-real Time Module

Image
Super-Related Post:  GEODJANGO + GEOSERVER + OPENLAYERS COMBO! The scenario is we have a python script that runs on a given interval that automatically loads shapefile into PostgreSQL with PostGIS database.This shapefile is from a simulation done by a computer and it is updated on a timely basis. Near-real Time module of the app performs INTERSECT query to generate statistics. This involves two tables on the database. Every query took more than 5 minutes which is unacceptable. No matter how I try to change(optimize) my query, it's still SLOOOOOOOOOOOOOOOOOOOOOOW! So, instead of directly performing INTERSECT query between two tables every time the user take request. I have this instead: I created a stats table where the results are inserted and stored on it. After loading the shapefile into the database, a PostgreSQl function will be called and perform the INTERSECT query then insert the new result to the stats table. The database server will just perform select quer...

Pour Toi

Image
S ome twists and turns in our life are unexpected. W hen she came, I have to take a leap of faith. I  hope He is working it for us! F orever? She does not believe when being asked. T ogether, she prefers. A nd I agree. K nowing her thoughts is like riding on a bike that puffs colours. M eaning, it leaves wonderful marks. A nd just to let you know,I can sing all day for you. HAHA R ead my mind. R each the innermost part of it. Y ou're there. M ight not convince you ehh?!!! Anyway... E njoying each day having a tête-à-tête with you! thanks for reading this trying-hard-to-put-meaning-on-each-letter poem listen to the song below :)

I'll be safe and sound...

Image
Cause, nothing compares to what we share. I don't have a care in the world. Cause even if it all came crashing down, As long as you're around, I'll be safe and sound. *I just love the song so much <3