upgrading PEAR in centos 5.8

My OS was centos 5.8 and was trying to install Phing for PHP Application packaging. However, installation would fail because of the old PEAR that I had. The pear that I had was from yum installation.

It turned out that I had to manually upgrade to the latest pear and the instruction that I found was at:

http://pear.php.net/manual/en/installation.getting.php

If old pear from the installation via YUM is on the OS, even updating PEAR itself would fail. Only way to upgrade is to do it manually per the instruction.

wget http://pear.php.net/go-pear.phar
php go-pear.phar

The one that I used for the base dir during the installation was :

/usr/share/pear instead of /home/${USER}/pear.

meta tags for iphone site

Currently I’m working on a site that is expected to work fine on iPhone devices. Obviously I knew that I had to dig up meta tags for iPhone site for Safari on the iPhone devices.

Found this and here are the list of it:

  • <meta name=”apple-mobile-web-app-capable” content=”yes”> : sets whether a web application runs in full-screen mode. (refer to the documentation for the potential values)
  • <meta name=”apple-mobile-web-app-status-bar-style” content=”black”> : Sets the style of the status bar for a web application. (refer to the documentation for the potential values)
  • <meta name=”format-detection” content=”telephone=no”> : Enables or disables automatic detection of possible phone numbers in a webpage in Safari on iOS.
  • <meta name = “viewport” content = “width = 320,
    initial-scale = 2.3, user-scalable = no”> : Changes the logical window size used when displaying a page on iOS.

Mostly I was using viewport. 🙂

Tips on how to write a resume for web developer/engineer

I’ve been screening a lot of resumes these days to fill out one open position in our team. However, most of resumes that I reviewed writes about what projects were about and what role the candidate was on.

I rejected most of those resumes and sent back to recruiter.

Resume is a representation of you as an developer/engineer. As an engineer, don’t you want to discuss how you solve an puzzle instead of telling me what the puzzle was all about, what the rule the puzzle had, and so on?

I am looking for a resume that shows me how you solved an issue, how you improved performance, why you chose this approach over that approach, and so on.

In summary, I’d like to see more details on how and why you do.

pulling query string in node.js

in web development, pulling data from query string is the basic and fundamental task. In node.js, the syntax is like this:

you can actually test my test app here:

http://www.groupstick.com:8001/?name=shinstudio.com