The following are the blog posts for the month of May 2008
May
31
2008

The HP Pavillion TX1210AU: my convertible is home.

On one of my previous posts, I wrote on my intention of getting my very own HP Pavillion TX1210.

eBay-ing

Last Sunday (May 25, 2008), I won the item at eBay. The seller and I agreed to settle the payment within two days and have it shipped right after the payment. Tuesday (May 27, 2008) afternoon, I officially owned the item after settling the payment. The seller had it shipped right away after confirming the payment. Since the package was shipped under LBC D1 package, it was expected to reach our home within twenty-four hours.


Banco de Oro Deposit Slip — receipt side

Spoiler — a sneak peak

The Laptop Adventures: Flying from Manila to General Santos

Tuesday night, I slept very early; not the usual 8am sleep. Early to sleep, early to rise. I woke up by 3am with my growling stomach. And so I fulfilled my stomach’s request. I tried tracking the package using LBC Track and Trace web application. I was not able to track it due to some ASP.net errors. I also tried emailing about 10 LBC outlets nationwide to track my package.

The sun rose and still I kept wasting my time surfing the Internet. Since the first commercial plane bound for GenSan arrives at 9:05am, I tried to call the local LBC outlet by 10:00am hoping for available information but to no avail. About 9:30am, I kept on refreshing the LBC Track and Trace page of my package and by 9:45am the information was already available. The results dumped that the package already reached Mindanao Exchange the previous day and it was already shipped to General Santos. By 10:00am, I received an email from one LBC branch I contacted stating that the package was already shipped to GenSan 11pm the previous day.

When my little brother woke up, I convinced him to watch Witch Yoo Hee on YouTube to waste some time. We enjoyed the series while waiting; woot!

Then the clock struck 11am. We were still waiting for Men in Red. Tik-tak-tik-tak. Watched the show again then by 11:51am, one of our household members told me that the Men in Red were already outside. I raaaaan my way out of the house and received the item by myself.

Unpacking

I’m tired of writing. A picture tells a thousand words. For those with slow internet connections, the pictures show how I wrestled with the very secure and hard-to-mutilate packaging.


Before Unpacking


FRAGILE! (more…)

Tags: ,  
Posted in Gadgets


May
28
2008

I Hate Oprah Winfrey

Since we stopped our cable TV subscription, my frequency in watching Oprah’s show increased from about once every three months to thrice a week. I then realized that Oprah sucks big time, really.

Oprah Winfrey sucks! Oprah is not a good talk show host. Oprah is not an influential person. Oprah is not the Oprah she is now.

Why do I hate her? Oh yeah, I’m going for another lame bulleted list of reasons. I’m not hating her for no reason. Oprah, you got to read this! (more…)

Tags:  
Posted in Personal


May
26
2008

Google Treasure Hunt 2008 Robot Maze

All images and questions from Google Treasure Hunt 2008.

Question:

A robot is located at the top-left corner of a 58 x 64 grid (marked).

The robot can only move either down or right at any point in time. The robot is trying to reach the bottom-right corner of the grid (marked ‘Finish’).

How many possible unique paths are there?

The image is not drawn to scale. For illustration purposes only.

Solution

Since I love PHP, I will be attempting the solve the problem in PHP.

Here’s how I am gonna do it.

Since it is a 58×64 grid, to reach the 1,1 location the robot needs to go down 57 times and go to the right 63 times yielding a total of exactly 120 steps to reach its location.

So the rule is:
Number of times to go down = Y coordinate origin of robot – 1 = numdown
Number of times to go right = X coordinate origin of robot – 1 = numright
Number of steps to reach location = Number of times to go down + Number of times to go right = maxnum

The Plan

Generate

Generate strings maxnum length using two characters of my own choice which will be 0 and 1. 0 will represent movement to the right while 1 will be movement downwards.

I will generate the strings 0000…001, 0000…010 to 1111…111. All must be of length maxnum or in my case 120.

Screening

On the course of generation, one conditional with two arguments will be made.

These are, if the number of 0s and 1s in the string being generated exceed the number of allowable 0s and 1s (numright and numdown), then throw the string and proceed to the other.

Increment the Counter

If it passes the screening, then increment the counter. After the generation of possible combinations, echo or print the number in the counter. The number represents the number of possible movements.

Optimization

The code to be used could be optimized by:

  • screening should be done every after generation of a complete maxnum length string instead of screening the string while generating it character-by-character.

My head is already aching! Waaaa, I wanna solve it during the week. I won’t stop until I solve this. Amf!!

Try to play it here.

Posted in Programming


May
26
2008

A Blogger’s Greed

Bloggers are greedy. Greedy are bloggers.

Most of the bloggers I know except my very own sister who have tried monetizing their blogs are greedy. Sorry for the generalization but I bet its true 99% of the time.

And since I am tired of structuring good sentences and paragraphs, I’ll bullet the rest of this post.

  • At one point of a blogger’s life, he (can be used in refering males/females) sees himself drowned by sponsored post. If not by sponsored posts, with so much advertisement blocks around that’s occupying much of the space.
  • Most bloggers find it hard to blog a long and fun experience to the extent that they never post about it. But a blogger can easily make a paid review given a certain price.
  • Cruel bloggers aka modern-day civilized bastards like me, have thought of starting a “fight” with other more famous bloggers. Personally, I have thought of writing an article on a local blogger in the Philippines who is claiming to earn more than he does. Shame to him that his blog is driven by pornsters looking for Pinay scandals! Another hint: he’s not blogging lately.
  • I can’t explain how the above item is related with greed.
  • A blogger that receives his earnings in cold cash starts to become anxious of his earnings in the succeeding payouts.
  • There’s more, it’s also the time projections for next payout’s earnings are projected; which are usually higher. (A Blogger’s Proactivity)

Oh know, I’m crapping this blog with this post. Okay, I’ll stop now. Add things on the list. Discuss them in the comments area and have fun.

Yes I’m greedy. But as famous Jun Lozada said, “moderate your greed”.

Ui, binasa niya ang post. Pacheeseberjer ka naman! Cheeseburjer, cheeseburjer. Plug ko lang: watch these Davao Bloggers on their cheeseburger video.

Tags:  
Posted in Blogging


May
25
2008

Considering HP Pavillion TX1210

Hello.

I’ve been seriously considering HP Pavillion TX1210 as a laptop.


Photos from Amazon.com

Here are it’s specs.

  • Processor: AMD Turion 64 X2 mobile technology TL-58 / 1.9GHz (64bit dual-core)
  • Cache: 1MB L2 Cache
  • Hard Disk: 160GB SATA-150
  • Installed RAM: 2GB (2 x 1GB) DDR2 SDRAM
  • Optical Storage: DVD±RW (+R DL) / DVD-RAM — supports LightScribe
  • Card Reader: 5-in-1 (supports Memory Stick, MultiMediaCard, SD Memory Card, XD-Picture Card, Memory Stick Pro)
  • Display: 12.1 TFT active matrix (max. resolution: 1280×800)
  • Video: NVIDIA GeForce Go 6150 video with 128mb dedicated video
  • Audio Device: Altec Lansing + Dual Mic and Dual Audio Jacks
  • Interfaces: Bluetooth with Enhanced Data Rate, 802.11n/b, Fast/Gigabit Ethernet, 3 x Hi-Speed USB – 4 pin USB Type A, 1 x Display / video – VGA – 15 pin HD D-Sub (HD-15), 1 x Display / video – S-video output, 1 x Modem – Phone line – RJ-11, 1 x Network – Ethernet 10Base-T/100Base-TX/1000Base-T – RJ-45, 1 x Remote control – Infrared, 1 x Docking / port replicator
  • Other: Biometric fingerprint security, HP Remote Control

The laptop can also be converted to a tablet (stylus provided).

  • Dimensions:12in x 8.8in x 1.5in
  • Weight: 4.2lbs or 1.91kg

What do you think?

Tags: ,  
Posted in Gadgets


May
24
2008

Google thru Mozilla Firefox tagged PRC.GOV.PH an attack site

A while ago while surfing through the different reviews made on the PRC Board Exam Results [dot] com, I encountered this link to http://www.prc.gov.ph/, the official Professional Regulation Commission website.

I tried accessing the site when suddenly my newly installed Mozilla Firefox 3 Release Candidate warned me with this screen:

When I checked why the site was blocked: (more…)

Tags: ,  
Posted in Internet


May
24
2008

UFC 98 Free Live Stream Links

For UFC 100, click here.

UFC 98 Poster

Later tonight, UFC 98 will be airing on television at exactly 10pm. Here are some of the UFC 98 live stream links I gathered around the Internet.

  1. UFC 98 thru Direct PCTV (High Quality, subscription required)
  2. UFC 98 Free Live Stream Online by Ambrosio Carlos – Life of an MMA addict
  3. UFC 98 Online Stream and Replay Downloads by Yoseh
  4. Watch UFC 98 Live Stream by 91ers on the Web
Tags:  
Posted in Random


May
24
2008

WordPress 2.5.X: Your attempt to edit this page/post has failed. Please try again.

Are you looking for a fix on the WordPress error: “Your attempt to edit/save this page/post: [post/page title] has failed. Please try again.”? If you are, you are on the right page!

Yesterday, my WordPress for this blog went problematic after the server reboot at my web host’s end. The first problem I encountered was the corruption of the table wp_options of my WordPress database which resulted to WordPress asking me to reinstall the blog. I fixed it using the Repair DB functions of cPanel.

The next problem I saw was that I can’t post or edit any page. It keeps on dumping “Your attempt to edit this post [post title] has failed. Please try again.” I tried searching for the problem in the Internet and learned that it is caused by the WordPress autosave function.

To fix it, you should have access to your WordPress blog from cPanel file manager or FTP. Browse to [blog_root]/wp-admin/ and locate the file post-new.php. After locating the file, edit it directly thru your File Manger (cPanel) or download it thru FTP. Edit the file using your favorite text editor such as NotePad if you downloaded it thru FTP. (more…)

Tags: ,  
Posted in Wordpress Stuff


May
23
2008

UFC 98 Live Stream

Here are some UFC 98 Live Stream links for your viewing pleasure.
1. UFC 98 Live Stream Fight Video
2. UFC 98 Video Replay
3. Watch UFC 98 Live Stream Free
4. UFC 98 Live Stream Online
5. UFC 98 thru Direct PCTV (High Quality but subscription required)

Let’s all watch and support the Ultimate Fighting Championship 98!

Tags:  
Posted in Uncategorized


May
22
2008

Received my Ubuntu 8.04 CDs

A number of Ubuntu 8.04 CDs from the Netherlands reached my hands just this morning — after three weeks of long wait; which was actually a week ahead from their promised duration.

I tried running it in a Live CD mode in a user can try the OS from the CD without actually installing it. Finally, they supported WPA-PSK personal preshare keys for Wi-Fi networks. Enough reason to use it!

I tried to install it a while ago on a different partition but I keep on getting PartitionMagic Error 983 (Too many errors found, process halted) and Error 1529 (Information mismatch on directory entry). I tried searching for solutions online. The solutions I found was to perform CHKDSK with repair and force parameters on then defrag then try dividing the partition again. I have done a million of CHKDSK with slash f and slash r (/f /r) parameters and defragged my hard disk but to no avail. (more…)

Tags: ,  
Posted in Linux