I sure didn't vote for Senator Noynoy Aquino during the 2010 Presidential Elections. I preferred someone else. However, for the future of the country, I wish all the best for President Aquino and his administration. This is a difficult time for most of the country. I can only hope and pray that he succeeds in making the Philippines a just, peaceful and prosperous nation.
For the tough days ahead, I hope, Mr. President, that you will lead the nation and make the best decisions for the country. May you have the wisdom and the courage to do the right things at the right time.
Bon courage, Mister President.
Wednesday, June 30, 2010
Saturday, June 26, 2010
Friday, June 25, 2010
My first Adobe Flex application
I have always liked learning about new programming tools and am always on the lookout for which tools would do best which job. From time to time, I check on the status of rich internet applications, and in particular Adobe Flex (or Adobe AIR), which is a great framework in case you want nice user interfaces.
Finally, my chance came. My wife needed a software to record and analyze the trend of prices of various products on the market. So, basically, she needed a convenient way to store information into a database and display it on a chart, a use some statistical tools to come up with business decisions. And most importantly, she needed soon -- in about a week's time.
Adobe Flex first came to my mind and after a quick research, I determined that it's the right tool for the job. It's very convenient for making graphical controls (text input, buttons, tables), data visualization (charts), and -- after a bit of clarification -- it handles local file databases (sqlite). These can all be done with just a single XML file with a sprinkling of ActionScript in places.
For my first attempt, I spent a whole weekend (2 days) to come up with something almost complete. However, I was not satisfied with how my code looked. So I rewrote the whole code, specially user interface, for another day. Not bad for someone who's never programmed in Flex before. And my wife was happy as a clam -- she even showed it to her boss :-)
I called TrendViewer and here are some snapshots.
Finally, my chance came. My wife needed a software to record and analyze the trend of prices of various products on the market. So, basically, she needed a convenient way to store information into a database and display it on a chart, a use some statistical tools to come up with business decisions. And most importantly, she needed soon -- in about a week's time.
Adobe Flex first came to my mind and after a quick research, I determined that it's the right tool for the job. It's very convenient for making graphical controls (text input, buttons, tables), data visualization (charts), and -- after a bit of clarification -- it handles local file databases (sqlite). These can all be done with just a single XML file with a sprinkling of ActionScript in places.
For my first attempt, I spent a whole weekend (2 days) to come up with something almost complete. However, I was not satisfied with how my code looked. So I rewrote the whole code, specially user interface, for another day. Not bad for someone who's never programmed in Flex before. And my wife was happy as a clam -- she even showed it to her boss :-)
I called TrendViewer and here are some snapshots.
Of course, there are still some tiny bugs to be fixed, and there might be some performance issues with bigger data sets in the future, but this weekend I'll take a well-deserved rest.
Related reading(s):
Friday, June 18, 2010
Looking for a Chinese name
My second son, Andrew Meson, is now going to a new school since we moved late last month to the capital of the Philippines. It turns out that this school is catering to the East Asian community in the capital (mostly Chinese-, Korean-, and Japanese-Filipino students). And to add to our surprise, we were asked to give our son a Chinese name!
So, I spent the whole day yesterday trying to come up with a good name for my son. I already know some Chinese characters because I have learned Japanese during my stay as a student in Japan. Still, I found it a rather challenging task. So I can only wonder what it would be like for a parent who has no knowledge whatsoever of the Chinese language.
I found that many "baby names" websites actually have a list of popular Chinese names. So, if you don't want to complicate things, you just pick one from there. The downside is that it's not exactly tailored to what you might want for your child's name. For that I found the Mandarin Tools website really useful, in particular their Chinese character dictionary. Google's translation tool also helps, especially if you want to know the Chinese equivalent of common English names. Using it, I found that the Mandarin for Sanchez is 桑切斯 (Sāngqièsī). I've decided to use the first character (桑 Sāng, which literally means "mulberry tree") as the short version of our family name. And after several discussions with my wife, we've decided on our son's name: 桑 梅森 (Sāng Méisēn).
So, did I pick a good name?
Related reading(s):

So, I spent the whole day yesterday trying to come up with a good name for my son. I already know some Chinese characters because I have learned Japanese during my stay as a student in Japan. Still, I found it a rather challenging task. So I can only wonder what it would be like for a parent who has no knowledge whatsoever of the Chinese language.
I found that many "baby names" websites actually have a list of popular Chinese names. So, if you don't want to complicate things, you just pick one from there. The downside is that it's not exactly tailored to what you might want for your child's name. For that I found the Mandarin Tools website really useful, in particular their Chinese character dictionary. Google's translation tool also helps, especially if you want to know the Chinese equivalent of common English names. Using it, I found that the Mandarin for Sanchez is 桑切斯 (Sāngqièsī). I've decided to use the first character (桑 Sāng, which literally means "mulberry tree") as the short version of our family name. And after several discussions with my wife, we've decided on our son's name: 桑 梅森 (Sāng Méisēn).
So, did I pick a good name?
Related reading(s):
Wednesday, June 16, 2010
Eating right to prevent and cure diseases
I saw this very interesting TED talk by Dr. William Li: Can we eat to starve cancer?
The idea is that a lot of diseases, from cancer to obesity, are related to the growth of blood vessels or angiogenesis. And in the end, Dr. Li presents a strong case for changing our diets to control angiogenesis and, hence, control or prevent diseases like cancer and obesity.
Related reading(s):



The idea is that a lot of diseases, from cancer to obesity, are related to the growth of blood vessels or angiogenesis. And in the end, Dr. Li presents a strong case for changing our diets to control angiogenesis and, hence, control or prevent diseases like cancer and obesity.
Related reading(s):
Labels:
angiogenesis,
anti-cancer diet,
blood vessels,
cancer,
cancer treatment,
diet,
obesity,
ted talk,
william li
Tuesday, June 15, 2010
Football Frenzy!
The biggest sports event of the planet, the FIFA World Cup 2010, has started last Friday, the 11th of June 2010. Finally, I am in a country where football reigns supreme -- unlike my native Philippines that's living inside it's own NBA basketball bubble -- so I get to watch ALL the games!
By tomorrow, all the teams will have played their first matches. Germany leads the pack with a staggering 4-0 slaughter of the Australians. Let's see if they can keep it up. South Korea also did a splendid 2-0 win over the sluggish Greeks, and so did the Dutch against the Danes (although in a less spectacular manner). The Brazilians, though not quite showing good teamwork, have managed to win 2-1 over the North Koreans.
The most memorable gaffe so far is that of England's goalkeeper Robert Green, and for his sake I hope someone else (perhaps the Spanish keeper? hehehehe) will commit a graver error. So I'm keeping my fingers crossed for tomorrow's match between Spain and Switzerland.
Till then, allez, allez, olé!
By the way, what do you think of those noisy vuvuzelas?
Related reading(s):



By tomorrow, all the teams will have played their first matches. Germany leads the pack with a staggering 4-0 slaughter of the Australians. Let's see if they can keep it up. South Korea also did a splendid 2-0 win over the sluggish Greeks, and so did the Dutch against the Danes (although in a less spectacular manner). The Brazilians, though not quite showing good teamwork, have managed to win 2-1 over the North Koreans.
The most memorable gaffe so far is that of England's goalkeeper Robert Green, and for his sake I hope someone else (perhaps the Spanish keeper? hehehehe) will commit a graver error. So I'm keeping my fingers crossed for tomorrow's match between Spain and Switzerland.
Till then, allez, allez, olé!
By the way, what do you think of those noisy vuvuzelas?
Related reading(s):
Labels:
FIFA,
football,
World Cup,
World Cup 2010
Friday, June 11, 2010
Magnitka
This video by Sasha Aleksandrov, titled Magnitka, reminded me of what used to be the National Steel Corporation in Iligan City, Philippines. It amazes me how such crude industrial environments can be viewed as a living piece of art.
Labels:
industrial art,
Magnitka,
Sasha Aleksandrov,
short film,
steel factory,
steel mill
Thursday, June 10, 2010
Basketball, Culture and History in the Philippines
Thanks to my friend Martin, I bumped into this exciting book by Rafe Bartholomew, Pacific Rims: Beermen Ballin' in Flip-Flops and the Philippines' Unlikely Love Affair with Basketball. This is a great piece, not only of sports writing, but also into the role of a sport in the culture, politics and history of a country.
For someone as baffled as I am why basketball is super popular in the Philippines (and I'm a Filipino!) this book is a must have!
Subscribe to:
Posts (Atom)




