November 13th, 2007

This was taken in our apartment, well obviously before we sprayed the insect killer. But this guy(cockroach) is tough, he even kiss the insect killer bottle. This guy deserves the title “No Fear”. By the way, if you waned to know what happen next, well use your imagination…
Posted in Anonymous | No Comments »
November 10th, 2007

Every morning when I come to office, it is my routine to take a coffee or tea before start working. But its just today that I found this unusual tandem with my Starbucks mug and the Lipton tea bag tag. It made me laugh for a while that I am using a famous coffee mug but drinking a Lipton tea. I call this shot “good buddy”.
Posted in Phone Photography | No Comments »
November 9th, 2007

Believe it or not this is our apartments wireless router. Its hanging by a thread… One wrong move, “sayanara” wireless router.
Posted in Phone Photography | No Comments »
November 9th, 2007

This is a Maldita paper bag. It was placed on a window, but if you try to move away and half close your eyes and look at it, it resembles a computer Desktop with icons.
Posted in Phone Photography | No Comments »
November 9th, 2007

This was taken in our apartment in Pasig. If you will try to look at the shadow made by the shirt hanging, it resembles a Man’s face.
Posted in Phone Photography | No Comments »
November 1st, 2007
Pumpkins, Halloween masks, candles and flowers. These are some that things that are very common during Halloween or as we Filipino termed it “Undas”. This is a yearly celebration commemorating our beloved ones whom had passed away. During November 1, people usually come to cemetery bringing some flowers and candles and offer some prayers to their dearly beloved ones.
Just this day, Me and my wife (unfortunately my daughter is too young to go with us) went to the cemetery to light some candles on the grave of my brother, her relatives too. While I was on that place, I was reminiscing my childhood days when I was still collecting some candle drops and roll it into balls and sell it to local merchants, who then as I have known that they recycle this to make candles again. Its funny to think that when I was young I was also collecting these candle drops, making me go round the whole place just to collect more candle drops. I was also thinking that maybe in the future my children would be the one collecting these candle drops too. Well this can be a tradition handed down to my kids. Then another set of memories came, that during these that me and my friends share ghost stories. Stories that makes your shiver in fright and also stories that are hard to explain but they happen. I can still remember that after sharing these stories I wasnt able to come home alone that I ask some old folks to bring me back to our house. Well those were the days…
On the brighter side, part also of this celebration are the foods being sold on the sidewalk going to the cemetery. Foods that are already synanimous to the celebration. There are these “okoy”, “bibingka”, “BBQ”, “Sago’t gulaman” and “chicharon”. Hmmm… mouth watering indeed. These foods are yearly part of the celebration that without having a bite of them the occasion is incomplete. Well of course me and my wife bought 2 bibinka ang 2 okoy with sauce (suka, garlic and pepper).
While we were heading back home, my mind was wondering off things that I’m pretty sure you don’t want to think. Thoughts like when I am dead, will it be my turn to be visited yearly? When will that be? Will I also be buried in the same ground my brother was buried? Or I”ll just have my body cremated? Well this is a reality check for all of us, nothing is certain in this world but death. “Oh God I’m still young, don’t take me yet, I still have plans to make and goals to achieve”. But certainly sooner or later we all be dead, its just matter of how will that be and when will that happen. I may sound so creepy but hey! its Halloween, woooo…. Did I scare you?
Tags: childhood memory, Halloween, Undas
Posted in Life goes on | No Comments »
October 23rd, 2007
Last Sunday me and my wife inquired about the SUN Cellular Php350 plan. Well basically the idea came from my friend Dhing whom is a SUN subscriber. According to the representative we talked to, Plan 350 features the following
- Unlimited Call & Text SUN - SUN
- Free 250 Text to other networks
- Free Phonekit of your choice between
Sony Ericsson K310i,

Nokia 2626

Philips S660

Samsung SGH-X510

The plan is really enticing and tempting because of the offers this plan is giving. But I’m more concern on the performance of the network. I tried bringing up this problem to the representative to see how they react and tried to twist this problem with their marketing wit. Well they succeeded, because they were able to convince me to give the 350 plan a shot. The deciding factor basically is that they told me that postpaid subscriber have more priority on their network and “Always Busy Network” nightmare will seldomly occur as they explain. I was trying to get just a single plan but the representative advise me to get 2 plans each for me and my wife. She told me that I would be easier to call and text postpaid to postpaid because of the priority SUN is giving to them. So again I was captivated by their marketing advise and finally got the 2 350 plan which is 700 pesos a month, whew! But before we decided to get these two me & my wife talked first on how much we really consumed on our prepaid subscription with G****, according to her we are consuming more or less 1000 pesos a month. So comparing all factors weve finally decided that the 2 plans are still reasonable considering our lifestyle. So in the end we got the 2 350 plan with the Samsung SGH-X510 free phone.
So hows the plan now?
On this date we are on the 3rd day of the subscription, well in fairness the representative was right, connection to SUN-SUN was an ease. I didn’t have to wait for some time till my call is connected unlike the prepaid subscription. Text messaging? no problem! I tried making a test on how long it will take the text to arrive, so approximately 5 seconds, not bad as I have told my wife. So last night I’ve decided to broadcast my new SUN number to all my friends, I’m going to use this as my primary number and will later say goodbye to my G**** prepaid number.
So whats the benefit?
In our lifestyle me working in Manila and my wife in Pampanga. Call and text thru cellphone are our only communication from Tuesday to Saturday. Approximately we consume more or less 1000 pesos worth of load with our prepaid subscription. In fairness with G**** the service is the best, but with an alternative as offered by SUN and the savings we can get every month, who will refuse to avail.
Posted in Life goes on | No Comments »
October 23rd, 2007
Last time I announced it here the 1st PHP Developer’s Conference which will be held this December 1, 2007. As promised I will be posting updates every now and then of the event’s details so I would like to post this which was originally from the phpugph forum.
“Guys, I would like to announce that the online registration for our event - PHP Everywhere! this coming December 1 - is now available! For the meantime, you can access it at http://www.jotform.com/form/72883452322 while AJ’s still preparing our home page to embed the registration form on our website.Reserve your tickets early to avail our early bird promo and get a 50% off discount on the ticket price & ticket special promo!
- Student Tickets for Php 100 (Orig. Price: Php 200)
- Professional Tickets for Php 500 (Orig. Price: Php 1,000)
- Student Special Promo - Buy 2 Take 1 for Php 200 (Orig. Price: Php 400 )
- Professional Special Promo - Buy 2 Take 1 for Php 1,000 (Orig. Price: Php 2,000)
Promo ends on November 16, 2007. So, what are you waiting for? Hurry and secure your ticket now!”
As stated from the website, tickets were lowered as a promo for the early bird registration. The prices are reasonable having that we have student tickets which are just 100 pesos as if you are just buying a meal from a carinderia or local fast food chain. For the professional tickets, 500 pesos worth of a once in a lifetime experience is still cheap. So why wait, register early so that you can still enjoy these lowered price tickets . You’ll never know tomorrow, tickets would be sold higher than this due to the number of attendees interested.
So hurry register now!!! here is the link http://www.jotform.com/form/72883452322
Again I’ll keep you all posted for other announcements.
Posted in Anonymous | No Comments »
October 19th, 2007

PHP User Group Philippines, Inc. (PHPUGPH) will be holding its first PHP Developer’s Conference on December 1, 2007 from 9am - 6pm. The said event will be attended by professional LAMP developers, freelancers and companies which are very notable in the field of IT. The event’s main goal is to spread the news of using OSS(Open Source Software) technologies to a wider audience like schools, universities and companies. Last April was a similar even that the group conducted which I was not able to attend, but definitely I will be here! Details of the event’s venue will be posted soon.
Why attend?
If you are a student taking IT related courses, this is good exposure for you. You will get the chance to see the real IT world in the Philippines and the real guys behind the scene of the sites you are surfing, either for fun, entertainment or education purposes. Well I also believe that learning is not always achieved inside the 4 corners of the classroom.
If you are a PHP programmer or even non PHP programmer whether professional, mid-level or novice one, this event is definitely for you. This is a ones in a lifetime experience to attend the 1st ever event, this is history in the making in the Philippine IT History. It always a good feeling to be the first isn’t it? Your grand children will read this in their history books and you will be proud to say to them, I was there! You will learn so much from the topic that are lined up. You can find the complete list in AJ blog site.
If you are a company or an entrepreneur, this event will directly benefit you, since most of the speakers are also entrepreneurs, and IT company CEOs which I’m definitely sure will give some tips how to run an IT related business. If I’m not mistaken the Tipidpc guys will be there to share how the site came to be. Ideas will be be scattering all over the venue and you’ll never know, the solution you are looking in your company will be revealed here.
Sponsorship?
Basically I’m not the person in-charge of the sponsorship thing, but I can be your mediator and tell the phpug top guys about your intentions.
Well what are you waiting for, start marking those calendars as if this is a Christmas countdown. I’m pretty excited about this event and I hope to see you all there!
Posted in Anonymous, Life goes on | 2 Comments »
October 19th, 2007
Problem: You want to convert an array to string so that it is easier to print the result instead of looping inside the array and have this printed
Old Solution:
$aArr = array("Have you ever seen",
"the beauty of the world.",
"The wonderful creation of the Lord." );
foreach($aArr as $sString) {
print $sString;
}
Other Solution:
$aArr = array("Have you ever seen",
"the beauty of the world.",
"The wonderful creation of the Lord." );
$sString = implode(" ", $aArr);
print $sString;
In Action: I want to execute a linux command via PHP and get its result and extract the desire content. The example below will try to extract the ip address from the ifconfig command
exec("ifconfig", $aOutput);
$sTempString = implode(" ", $aOutput);
preg_match("/inet\saddr:(.*?)\s/i", $sTempString, $aMatch);
print $aMatch[1]; //
Tags: array, implode, php tutorial, string
Posted in Arrays, Strings | No Comments »