I just transferred my blog location to a better one with better blog provider. I shifted to wordpress and exported all the entries as well as the comments to the new site. This blog will still be here but I won't be updating it anymore. Please visit my new blog here
The most challenging day of this year, so far
Posted by xar_asbir | Filed under bad events
Whew, what a day. I've been into a lot of problems challenges today. There's just so much things that I wanted to post in this blog about what happened today. I wanted to blog this out, let this out so that these things wouldn't have to stuck on my mind any longer.
Everything didn't go really well today. As usual, I woke up early and absent again in my first class. I met nene at school later in the morning and helped her making report prototype. Our OJT project was not going very well. There's so much misunderstanding between our group, our content adviser, and the OJT adviser. But thank God, we were able to solve them right on time. The defense schedule will be moved to next week.
Later this day, I recieved my perlim grade on Filipino exam and got an 'F'. What the...?! (Sir, I asked for a numbered grade not a letter!). Anyways, I must admit that it was in fact my fault for not giving the best shot during the exam.
I was quite down too a while ago, knowing that Nene wasn't done yet with her reporting preparation which is suppose to be passed tomorrow. She was stressed out and so I was. The problems didn't end just there. My phone's charger got busted and I don't have any idea how to fix it. The SHOUTCAST server we just subscribed won't work. And I was thinking, "God, don't tell me that this ain't finish yet." Today is really a long problematic day.
Nevertheless, I still thank God for giving me another day, for giving me lessons that I should learn from this life. I'm really glad that I still have my families and friends at my side, supporting me, encouraging me to move forward: to my mom for keeping on reminding me to take care and for providing all my needs throughout the day; to my lil sister for making silly things, making me forget all my problems and laugh; to LA, Lurch, and Shenzee for the very delicious pizza they treated me; to my groupmates who have been very cooperative and supportive; to Nene for giving me the warm hug and the smile that brighten up my day; to ricky for committing himself to help me in my filipino assignment; and to everyone else for completing my day.
This is not the end of everything yet. I believe that there are still ways to fix things up. I'll be working on my assignments for the next 4 hours (yes, I won't sleep 'till 3am). I don't want to regret for not doing my best. Guess, I just learned that time is gold, or perhaps more valuable.
Comments (4) | 10:38 PM
What do you think of me?
Posted by xar_asbir | Filed under xar
Hi guys! I'm pretty new to this world of blogging. People come and go in this cyber world. Most of you don't know me and neither do I. Whoever you are, I want you to spare a few minutes of your time to answer this survey. I just want to know how people look at me based on what I'm writing here as well as how I present myself (to those who knows me personally). You can start it now by clicking here.
Update:
The result of the poll will be posted here next week. :) So far, I have 4 respondents already.
Comments (5) | 8:18 PM
Rain rain go away
Posted by xar_asbir | Filed under bad events
Rain rain go away
Come again another day
Grown-up syarief wants to play!
Looks like Zeus extended his vacation in the Philippines. The rainy season is suppose to be over and sun should be brightly shining. But where the heck is Mr. SunShine? The cloudy sky covers the fun of everyone. The weather has been like this for almost a month and it's not getting any better.
So where's the "Global Warming"? Damn it! I love being burned under the sun during the mid day rather than having myself frozen. I'd rather have my t-shirt full of sweat than having my jacket wet and my snickers full of mud.
I just hate rains. I hate cold weather. Everytime I take a bath, I have to think twice coz I know once I pour down the water through my body, it feels like I'm in the north pole walking around naked. My clothes are all stuck in the washing machine. There is no sun to dry the clothes. My lil sister keep on asking me "Kuya, when are we going to jog together?"
Well, hope, tomorrow will be a new day. It's almost summer and I want to see the sign of it.
Comments (0) | 12:06 AM
Philippines as the 51st state of USA
Posted by xar_asbir | Filed under americans
I was just wondering, what would happen to Philippines if it becomes the 51st state of the United States of America.
The Good Things
One thing that excites most of Filipinos if this will become a reality is that the currency will become US Dollars. Filipinos can call themselves as Americans. Filipinos can go to the main land US anytime they want without having to worry about the visa application and other documents. No one will dare to mess up with the Philippines anymore.Having Philippines as a part of the United States of America can fix the economic crisis that we have for a long time and can make life of thousands of Filipinos a lot easier.
So what's the dark side of it?
Filipinos should expect wars especially in Mindanao and the other part of the country. There's a big possibility that there will be discrimination, majority of Americans is not going to like this. Few years ago, a southern congressmen thought Filipino men can be a social threat to white Americans. Many Filipinos think that having this could wipe away the cultures that they had.
And the fact
- When the Philippines was under USA, Filipinos was technically a US citizens. They are American Nationals. Filipinos were allowed to freely go to the mainland US but were not allowed to cast a vote during the election.
- The Philippines does not want to be part of the United States, that's why we have the Philippine-American War. The United States wanted to colonized the Philippines, while the Filipinos wanted to be independent.
Filipinos speaks:
- Do you want to see a Filipino in the White House? or even smoke belching jeepneys in Massachusetts Avenue?
- Selling Philippines for economic fixes is like selling your daughter for a piece of bread.
- Should the Philippines be a american stateYes. the Philippines should be the 215th State of the USA... (i.e. after all the other nations would become states. Hahahahaha. )
- do u think Americans would like to pay for our debt?
- [it] is a depressing sign of inferiority and hopelessness.
- we would immediately become the largest most populated state [...] constitute 1-4th(25%) the population of the entire new united states, that is a huge chunk.
- they killed our people and they've stolen the bells from the filipino people
Therefore...
I don't think neither sides wants this to happen. Americans don't want Filipinos to become part of them. If Filipinos can vote and are united, then they can bring a Filipino right into the white house. Americans don't like Filipino flooding at their own hometown getting jobs while there are still white Americans jobless. They think Filipinos are stubborn and gossiper. The only reason why they colonized the Philippines is because of its strategic location in the South East Asia.
Likewise, most Filipinos doesn't want to see Americanse at their own neighborhood who used to think that they're superior just because they're bigger. Despite of all the MTV generation we got today, there are still Filipinos who doesn't want their cultures to be vanished by the west traditions. The spices, the natural resources, the beautiful beaches, and the marine life, Filipino would never give that up for the Americans because they believe that once, their forefather had sacrifice their life for the country.
Links
- http://groups.google.com/group/alt.history.what-if/browse_thread/thread/055308f8844dc992?pli=1
- http://www.asiafinest.com/forum/index.php?showtopic=38442&st=0
- http://www.geocities.com/us_int/USI-Philippines.html
- http://en.wikipedia.org/wiki/51st_state#Philippines
- http://www.strategypage.com/militaryforums/77-183.aspx
Comments (0) | 6:21 PM
Getting the geolocation of your visitors using php
Posted by xar_asbir | Filed under code, php
Sometimes, you need to know where your visitors came from. This information can be vital for some website especially to websites which targets readers from a specific area or to a website with geo-targeted advertising.
This article will show you how to get the information using PHP and mySQL.
The data of IP address and its specific location comes from MaxMind's GeoIP. MaxMind offers free as well as commercial databases which supports all kinds of programming languages. For this article, let us assume that we are using the free one, which can only detect an IP address up to the Country level unlike the paid version that can locate an IP from its state and country of origin.
To simplify and make your life easier I've prepared an sql file containing all the records from GeoIP which you can download it right away from here.
Importing the database:
You can import the file provided earlier and import it to your MySql database.
The php function:
function gettingGeoFromIP($ip){
$sqltable="geolocation"; //Edit this to your table where you place the record
$ip_temp=explode(".",$ip);
$ipnum = ( 16777216 * intval ($ip_temp[0] ) ) + (65536 * intval ($ip_temp[1] ) ) + (256 * intval ($ip_temp[2] )) + (intval ($ip_temp[3] ));
$q=mysql_fetch_array(mysql_query("SELECT * FROM $sqltable WHERE begin_num<=$ipnum AND end_num>=$ipnum LIMIT 0,1"));
return $q['country_full'];
}
Calling the function:
$ip='121.54.98.30'
echo gettingGeoFromIP($ip);
If you want the complete php file of this you can download it from here. If you have any problems or concerns regarding the code you can drop a comment below.
Note: The link to the files are not working as of the moment.
Comments (1) | 4:55 PM
karma does matter
Posted by xar_asbir | Filed under plurk
Plurk introduces me to a whole new world of micro-blogging.
...Through plurk I met new friends
...Because of plurk I've been able to express myself in a better way
...And plurk teaches me that karma does matter
Comments (0) | 11:39 AM

