Archive for the ‘Toys/Hobbies’ Category

Upgrading to Wordpress 2.5 on Brinkster

Friday, April 25th, 2008

It’s been awhile since my last blog update adventure and while I was expecting a smooth upgrade from version 2.2.2 to 2.5, things turned out quite differently. It’s also worth noting that I was on Brinkster’s Windows Pro hosting plan which means IIS and PHP 5.2.3.

Part 1

The first sign of something broken were the few lines of cryptic error messages appearing at the top and bottom of the upgrade.php page.

"Undefined index: PATH_INFO" in wp-settings.php

The simple fix was to comment out the lines of code in wp-settings.php (lines 71-74 if I remember correctly) that tried accessing the PATH_INFO server variable.

Now after proceeding to upgrade the database, which was successful, more cryptic error messages appeared at the top and bottom of the page:

Undefined index: REQUEST_URI in wp-settings.php

After much Googling, it finally dawned on me that Brinkster might not actually be using the PATH_INFO server variable that is used to populate the REQUEST_URI server variable. Instead, they were using ORIG_PATH_INFO, so the simple fix this time was to apply the following code over lines 71-74 of the wp-settings.php file.

I’ve also posted a solution here, which would be helpful if you want to follow a discussion on the issue and check out solutions for non-Brinkster related hosts.

Part 2

Ok, so now it seemed like everything was up and running smoothly and I was about to bask in the satisfaction of another successful, albeit long overdue, upgrade. Clicked on a link to a post, and I was hit with a 404 error. What? Clicked on some other posts, 404. My pages, 404. Categories, 404. Calendar, 404. Not only were all my permalinks were broken, everything else was too! Except, of course, the link to the Site Admin page which didn’t require any special URL rewrites.

After mucking around with permalinks and more Googling for a good 2 hours plus, it finally dawned on me that only the default yucky http://www.pagesofink.com/?p=123 style links would work. Not good, considering a lot of links to other posts in my blog and from other blogs use the http://www.pagesofink.com/index.php/archies/post-name format. No other code hacks like this one here worked and I was getting desperate to the point of considering other hosting providers like Dreamhost.

In a final last-chance attempt, I contacted Brinkster Live Support to ask if I could have my subscription migrated to an equivalent Linux package. Surprise surprise, they were very obliging and had it all done within the hour. Now, I’ve been using Brinkster for a long time now, and if there’s anything good about them, it’s their Live Support. Live Support is cool because you get to chat real-time with an operator online and they are usually very helpful and responsive. As much as I complain about Brinkster, I must admit their Live Support have pulled me out of a couple of jams in the past. Plus, it sure beats e-mail as you never know when the next response is coming.

Part 3

Now that I’m on Linux and having been given the assurances that the Linux Apache webserver comes with the necessary mod_rewrite plugin for pretty permalinks to work properly, I was full of anticipation that I would be out of the woods soon enough.

So I give my .htaccess file proper write rights using the chmod (777) command in my FTP client and browsed to the permalinks settings page (wp-admin/options-permalink.php) hoping to put my permalink misery out for good, when all of a sudden I’m faced with 500 errors. Everywhere. Even the Site Admin pages.

Argh

Now, sparing the painful details of how I narrowed this down, it appears that Brinkster does not like you to play around with the .htaccess file. Period. Contrary to what Wordpress tells you, do not go and manually put the following settings into the file:

# BEGIN WordPress
<ifmodule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</ifmodule>
# END WordPress

The Brinkster default .htaccess file looks like this:

# -FrontPage-

#IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<limit GET POST>
order deny,allow
deny from all
allow from all
</limit>
<limit PUT DELETE>
order deny,allow
deny from all
</limit>
AuthName inkyneil.brinkster.net
AuthUserFile /sites/blah/inkyneil/home/public_html/_vti_pvt/blah.pwd
AuthGroupFile /sites/blah/inkyneil/home/public_html/_vti_pvt/blah.grp

You simply need to change it to:

# -FrontPage-

#IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<limit GET POST>
order deny,allow
#deny from all
allow from all
</limit>
<limit PUT DELETE>
order deny,allow
#deny from all
allow from all

</limit>
AuthName inkyneil.brinkster.net
AuthUserFile /sites/blah/inkyneil/home/public_html/_vti_pvt/blah.pwd
AuthGroupFile /sites/blah/inkyneil/home/public_html/_vti_pvt/blah.grp

So, it’s one last trip back to the permalink admin page to update the permalink structure. Lo-and-behold, everything finally works and is back to normal.

Seriously, that was way too much work just to upgrade Wordlress. Now, to get email working (Brinkster has got certain restrictions with phpmailer), upgrade my plug-ins, find a new theme, and I’m all set! :D

Popularity: 52% [?]

Toy for the Baby Photographer

Thursday, November 22nd, 2007

It has been an agonizing wait - since June this year - for Nikon to release a new DSLR (Digital Single Lens Reflex) camera body. Merv was kind enough to let me borrow his Nikon D80 on and off over the past few months (a fantastic camera no less!) but I figured it was time to get my own as he has more and more shooting assignments to do for church nowadays.

When the Nikon D300 was announced back in August, I can still remember how I rushed down to my regular camera shop - John 3:16 @ Funan - after work to place a pre-order. It seemed silly at the time, almost kiasu even, but in retrospect I’m glad I did.

The Nikon D300 finally arrived in stores island wide yesterday, and of the measly two boxes that arrived at the shop, I turned out to be 2nd on the waiting list! Samuel, the guy who tends to the shop, even told me that many people tried to cut the queue by offering more money, but God bless that man, he stands firm on his beliefs and ethics! He also shared how one rich banker tried to cut the queue but when turned down, told him he was impressed by his attitude and placed a huge deposit for a camera from the next batch. This episode reminded me on the importance of how being a good testimony can bring about blessings because people are always constantly looking at how Christians behave under temptation. :D

Can’t wait to take this baby out for a spin, on the real baby!
INK's Nikon D300

Anyway, new toy or not, I’m still going to continue documenting Ashley’s adventures like I always have. Nothing inspired me more than this quote from Australian photographer Suzette Nesire a in book by Bill Hurter titled “Children’s Portrait Photography Handbook”:

“…As a photographer I feel there is nothing more important than capturing your little ones and their early years - their faces, their expressions, their little hands and their habits that constantly change. A portrait of your young child is a priceless reminder of a time that once passed and will never return again. Choose to make an investment in a portrait of your child, as pictures convey so much more than words can ever express.”

Oh yes, here’s a tip for the husbands out there, that great quote helped made it easier for me to get approval from the home accountant, aka wifey, but don’t tell anyone I said that! Hee hee.

Time to start shooting!

Popularity: 30% [?]

Tech Baby Builds a Computer

Monday, November 19th, 2007

INK: Today is the one year anniversary of my computer and to celebrate the occasion, here’s is Tech Baby Ashley Rei who will give us a simple lesson on how to build a computer from a scratch!

Ashley Rei builds a computer

ASHLEY: Before embarking on a computer building project, make sure that you buy all the necessary parts and equipment first. Not all parts are compatible with one another, so prior research is very important. In Singapore, the best places to shop for computer parts are in malls like Sim Lim Square and Funan - The IT Mall. Bargaining also works especially if you bring along a chio-bu like me to do the talking! (~_^)

INK: Nowadays, computer parts are also very cheap compared to a 5 years ago (the last time I built a computer which has now been inherited by wifey!) so building a very souped up system with a budget of between $1K to $2K is very feasible.

Ashley Rei and computer gear

ASHLEY: Once everything is ready, start with the motherboard as this is where a lot of components will be plugged into. I don’t know why it’s called motherboard, but it sure is as sexy as mummy! (♥_♥)

INK: A often overlooked component is the computer case. Working with a computer case that has a slide-out motherboard tray makes the whole assembly process much easier, especially when you accidentally drop screws when mounting components.

Ashley Rei and computer motherboard

ASHLEY: The next important component to mount is the CPU (Central Processing Unit) which is the brain of the computer. In the past, CPUs with higher megahertz (MHz) numbers signified faster units, but with modern CPUs on the market today this no longer holds true. The trend nowadays is for smaller CPUs that consume less power but are still as efficient when it comes to crunching numbers. Like they say, good things come in small sizes! (^-^)V

INK: I couldn’t agree more! (Then turns to wifey and says he wants another one)

ZHIYI:

Ashley Rei finds a CPU

ASHLEY: Once the CPU has been unpacked, gently drop it into the motherboard CPU socket and fasten the lever to secure it. This process is very delicate because if any legs or pins on the CPU gets bent, the whole chip is rendered useless. Similarly, if you’re building a computer in a carpeted room, ensure that you’ve discharged yourself by touching a conductor that is grounded (e.g. a tap) as static electricity can easily fry a CPU. All in all, these little babies must be handled with care! (OωO;)

INK: Not only that, CPUs can get very very hot so a cooling fan is a must! Without one, a CPU will easily overheat in under half a minute. As a matter of interest, some CPUs are rated to be able to go up to 90°C before fizzing out. Yikes, that’s hot enough to cook eggs!

ZHIYI: A very good reason not to use laptop computers on your lap for extended periods!

ASHLEY: Thank God I’m alive… ( ̄~ ̄;)

Ashley Rei mounts CPU on motherboard

ASHLEY: Next up, the RAM (Random Access Memory). RAM is very important as it helps the computer remember things when it is powered up. Daddy also likes to say that I have a lot of RAM because I remember new words very well! 「(゚ペ)

INK: Where possible, also install RAM in pairs as it allows the computer to remember things much faster. A bit like how having two hands helps you type faster. Of course, having 4 sticks of RAM is the best, but I’m having trouble learning how to type with my feet…

Ashley Rei mounts RAM on motherboard

ASHLEY: What good is having a powerful computer if you’re not able to see any eye candy? That’s where a graphics card comes in. This baby is responsible for ensuring that pictures and text appear beautifully on the computer monitor. Especially pictures of meeeeeeeee! (*´▽`*)

Ashley Rei connects graphics card to motherboard

ASHLEY: Whereas RAM helps the computer remember things when it is on, a HDD (Hard Disk Drive) helps it remember things when it is off. HDD drives today are humongous (just like my appetite) where terabyte-sized drives can easily store hundreds of thousands of pictures. (o_O)

INK: HDDs also get very hot as they spin at speeds of up to 7200 rpm (rotations per minute) so best to secure them near a casing fan! Sidenote: It’s amazing how many components in a computer can cook eggs…

Ashley Rei mounts the HDD

ASHLEY: DVD drives or writers are another essential component for without one, I wouldn’t be able to watch my Hello Kitty cartoons on the computer. Other times, it makes a great milk bottle holder! ヘ(^_^ヘ)

INK: (Wondering why his DVDs are so sticky…)

Ashley Rei mounts the DVD

ASHLEY: Last but not least, all these gizmos need juice to run! In charge of delivering that energy is the PSU (power supply unit), an unassuming box with a fan and lots of wires sticking out of it. Make no mistake, this baby can easily deliver over 500W of electricity, enough shock to make you go afro for a year!
∑(O_O;)

INK: Newer PSUs allow you to disconnect the wires you are not using, thereby minimizing wire clutter. This also improves air flow inside the casing and helps to keep all components nice and cool. Remember to keep all loose wires away from babies, especially if they are teething!

Ashley Rei connects the power supply

ASHLEY: That’s it! The computer is now complete and ready for a test run. What remains is to connect other peripherals like the monitor, keyboard, mouse and speakers. Nothing beats the thrill of seeing a new computer start up for the first time! p(^^)q

Ashley Rei finishes up building here computer

ASHLEY: Well, all good things must come to an end, and I hope you enjoyed our little adventure in electronics. The next time you happen to walk past a computer shop, stop to think of all the poor deprived babies out there who have yet to own a computer. It’s not too late to put a smile on a loved one this coming Christmas! (ノ^_^)ノ

Ashley Rei builds a computer

Credits:
Starring: Ashley at 10 months old and 17 months old.
Camera Equipment: Merv.
Emoticons: Here, here and here.

Popularity: 61% [?]

Brinkster Woes

Sunday, August 12th, 2007

Lately, my blog has been acting up and returning the following cryptic error message whenever links to post comments and categories are clicked.

CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers.

After chatting a few times with Brinkster support and emailing them without any success, I finally got myself moved to a different server running an older version of PHP 5.1.1 and thank God everything was back to normal. According to the technical rep, they are in the midst of upgrading all servers to the latest PHP version, i.e. 5.2.3, so I’m dreading when the problem will return.

In the meantime, I’m now evaluating whether to move to a different hosting provider called Bluefish. If any other dudes/dudettes out there are running Wordpress on Bluefish, let me know what you think of their service and reliability! :)

Popularity: 16% [?]

Let’s Do The Twist

Wednesday, April 12th, 2006

Thanks to this hugely fun game introduced by Pris called Text Twist, we spent a large chunk of last Sunday exercising our vocabulary.

The objective of the game is to form as many words as possible from a set of 6 random letters within a given time. Words can range from 3 letters to all 6 letters. The caveat is that you must guess at least one 6 letter word in order to advance to the next level.

Here is us killing time waiting for a meeting down at church to start. Super exciting way to kill time!

And the final word that got us through was? Yeah right! Heh heh…

After the meeting, we were joined by the rest of the guys (Changky, Gab and Merv) for dinner, movie and, yup you guessed it, more Text Twist!

A few hours of Text Twisting results in very exhausted and “stoned” faces.

Popularity: 18% [?]

Surfin’ on the Big Screen

Wednesday, March 8th, 2006

After one and a half years since moving into our new place, we finally decided to get a TV.

What, you guys survived for so long without a TV???

Yup, that’s true! We never saw the need for a TV as we we were always so busy. The thought of being glued to a google box seemed like a distant fantasy, a luxury we weren’t interested in investing in. Furthermore, we didn’t think that the timing was right either as prices for flat panel TVs were comparable to daylight robbery.

One baby later, how things have changed! Imagine the mind numbing boredom of staying at home everyday, carrying and breast-feeding baby every hour or so. Imagine my surprise when the CFO of the house, wifey, walked up to me one day with a huge newspaper ad for TVs and asked me for recommendations.

Woohooooooooooooo!

Here is a pic of our new acquisition, a decent 37-inch Hitachi LCD TV purchased from a small electrical shop in the west after haggling off a cool $500+ from the RRP. And, being the geek I am, what better “hack” than to turn our new TV into a glorified web browsing machine! Hehe…

Ahhh… nothing like slouching back into the couch and typing away. Now, all I need is an ottoman, i.e. cushioned footstool.

Geek paradise!!!

Popularity: 16% [?]

WordPress 2.0 is Out!

Sunday, January 1st, 2006

What could be more fitting to usher in the new year than by upgrading my blog from WordPress 1.5.2 to WordPress 2.0. Although, the site still looks the same (that’s because I’m using the same theme), the administration pages have been totally revamped. I’ll be playing around with the new features over these next few days as well as to find a fresh new theme to symbolize the coming of spring.

Some interesting blogs about WordPress 2.0:
10 Things You Should Know about WordPress 2.0
5 little things I like about Wordpress 2.0

Popularity: 18% [?]

Older (and Hopefully Wiser!)

Thursday, December 15th, 2005

I suppose many folks will be wondering how I spent my birthday this year. Yesterday, a lot of colleagues were asking me if my wife and I would be doing anything special, to which I gave them my standard reply.

“Ummmmmm….”

Anyway, I must say, I’m really blessed to be able to spend my birthday on leave doing absolutely nothing related to work for a change. To be specific, how I spent my birthday this year:

  • Slept till 3pm.
  • Ate honey cornflakes for lunch.
  • Christmas shopping.
  • Dinner at Fish n Co.
  • More shopping!
  • Arrived home and got a SURPRISE from my mom and sis who were faithfully waiting for me with a nice chocolate cake. *burp*

Present from wifey!!! Finally, a more “formal” looking watch to wear to work.

On Tuesday, I was also very blessed to be able to celebrate my birthday together with Dave (albeit a belated one for him) and the other unit folks. We went to this place called Sistina Restorante at Jalan Merah Saga (it’s one of those small lanes across the road from Holland Village).

Check out the romantic ambience! Hope our rowdy bunch didn’t ruin it for the other couples. *chuckle*

I must say I’m really blessed to have such caring “seniors” in church like Elaine, Mabel, Chris, Yihong, David and Li San; who are all always so willing to help me out with advise on how to take care of a Care Group. It’s indeed a real joy to be able to serve together with such sweet spirited and cheerful folks!

My partners in crim… I mean, Christ! Serving faithfully together since the beginning of 2005.

(Click on the image above to download the original)

Finally, if anybody is interested in trying out the food at Sistina, I wholeheartedly recommend the Pasta Carbonara. It’s one of the best I’ve ever tasted so far. :D

Popularity: 22% [?]

MSN Agony

Wednesday, December 7th, 2005

The .NET Messenger service seems to be down again for me! Been trying and trying to get online for the past 3 hours but to no avail. I can log in using my wife’s account though on the same machine so it’s definitely not a software or firewall problem.

The source of my consternation…

Anyway, thankfully after so much trying, things seem to be normal now and I can sign-in, only to realize that all my friends are now gone! Were they kicked-out too? Hmmm…

Popularity: 14% [?]

World Cyber Games 2005

Thursday, November 24th, 2005

This year, Singapore played host to what was arguably the best World Cyber Games (WCG) to date, with US$435,000 up for grabs and around 40,000 spectators walking through its doors. Team USA walked away with the most medals but it was heartening to see Singapore also managing one silver medal in Dead or Alive.

In the spirit of this great sporting event, the geekier wing of IslandHope popped down Suntec City after church today to soak up the atmosphere of all the matches (death matches!) taking place in the cavernous exhibition hall. Unfortunately, by the time we got there, the Warcraft III finals had already finished. Update: Seems like Tigerming managed to catch the Warcraft III match! Changky, Guppy and MC Hammer stayed on to watch the Counterstrike finals between Team USA vs Kazakhstan and I heard from Gab later on that it was an adrenaline filled match. Although Kazakhstan was totally annhilated, they still did their country proud by reaching the finals despite only having dial-up internet to train on (the rest of the world is probably already on broadband!).

The Olympics of TV and computer games, with a venue to match.
Click for source
Note: Image taken from WCG official web site.

MC Hammer, Ariel, Guppy, Changky and Princess at WCG! The seats behind us were totally filled up when the Counterstrike match began.

INK cannot resist making a rare appearance on his blog for a geeky event like this! The proud wifey agrees.

Toys on exhibit! Check out that super duper old Nintendo Entertainment System clone in the middle (ah nostalgia). Those days, you didn’t need mod-chips to play “friendly” games.

Credits: Changky for lending his Lumix FX9 for the first two shots and for personally taking the third photo.

Popularity: 40% [?]

Pages: 1 2 Next