Kent J. Chen's WebLog

a personal journal by an addictive geek

Email failed to deliver to certain domains with an SMTP protocol error occurred message

Posted in Information Technology on December 13th, 2009 by Kent

It happened lately in my office that emails sent to certain domains first got delayed and then failed with a SMTP error code 4.4.7 in the final NDR. Error code 4.4.7 usually indicates that the message in the queue has expired and usually the problem is on the receiving server. However, that is obviously not the case this time. Also on the server side, all queued messages all have one same warning message, “an SMTP protocol error occured”.

Dig it a little deeper by performing a MX lookup to all these domains that we had problem sending emails to and…

How to get rid of index.php to make the pretty permalinks in WordPress

Posted in WordPress on December 10th, 2009 by Kent

Permalink is very important. It’s one of the first things that you need to configure when you build up a website. Not only does it provide you a more comprehensive url but it also helps you in the search engine optimization (SEO).

WordPress has this feature with 4 options built in out of the box. What you want to choose is either “Day and name” and “Month and name” because they provide a better results.

But things will be getting complicated when you want a pretty permalink structure that does not have the annoying “index.php” in it,…

How to remove duplicate records from a table in SQL database

Posted in Information Technology on December 10th, 2009 by Kent

Scenario 1, one record is completely identical to another

Meaning that there is no way of identifying them who is who. Usually, it happens when the table doesn’t have a unique id field due to the poor database design. Because of that, there is no way in SQL to delete one of these duplications without deleting them all first.

You can copy the whole table into a new table first,

SELECT DISTINCT * INTO newTable FROM oldTable

And then, delete the old table and move all the records back but this time make sure you have the unique identifier…

Running Chrome OS on VMware Player 3.0

Posted in Information Technology on December 2nd, 2009 by Kent

Google released the source code of their upcoming Chrome OS, and claimed that the official release of this Operation System won’t happen until next year 2010. So now, if we want to taste the goodies that Chrome OS brings to us, we would have to build Chromium OS from the source first. Luckily, several developers out there have released installable builds that saves us the trouble, one of which is from gdgt.com that offers Chrome OS in VMware format. And here is how I got mine copy and run it on my VMware Player…

This copy of Microsoft Office is not genuine, now what?

Posted in Information Technology, Tips & Tricks on December 1st, 2009 by Kent

My colleague came to me the other day asking why his laptop was telling him that his copy of Microsoft Office is not genuine. This was new to me, so I asked him to bring his laptop over so I can take close look. Sure enough, the following window pops up every time he opened Word.

Clicking Learn More opens a web page that explains a little bit more why it happens but offers no good. You basically only have two choices, either buy one from their online store or uninstall it from your computer. If you are…

Virtual Desktop vs. Desktop Virtualization

Posted in Information Technology on November 26th, 2009 by Kent

This had confused me before so I am sure if you are just into Virtualization world you might be confused on what’s the difference between these two types of virtualization. Rodney Buike had a great post up on IT Pro Connection that explains pretty well what they are.

Basically, Desktop Virtualization is the act of running a virtual machine on a desktop PC while the Desktop Virtualization is having the virtual machines running on a server in the datacenter.

So if you have a running virtual machine on your desktop using Virtual PC, VMware Workstation, Sun…

Google is considering adding site speed into search result rankings

Posted in Internet on November 18th, 2009 by Kent

It’s not a rumor. It’s from Matt Cutts on his interview with WebPreNews at PubCon.

there is strong lobbying in Google to introduce a new ranking factor into the algorithm. The new ranking factor has to do with how fast a site or page loads. Matt described this as one of his ‘what to expect in 2010′ bullet points in his presentation yesterday evening in Las Vegas.

Would that be a big thing? I believe so. Not only does it make those webmasters try hard to crack their code to make their site faster,…

Daily Reading: Google announces big price cuts on paid extra storage, plus 3 more

Posted in Information Technology on November 13th, 2009 by Kent

Stop Paying for Windows Security

Posted in Information Technology, Security on November 13th, 2009 by Kent

The awesome How-To Geek had a very good post on lifehacker the other day, which I think worths a post space here spreading the word, loudly.

What he basically claimed in the post was

When it comes to keeping your Windows PC secure, all of the scare tactics and overblown virus stories out there make it hard to feel safe online. The fact of the matter is that you don’t need to pay for Windows security.

And he backs up with 6 reasons.

1. Microsoft Security Essentials is a GREAT anti-virus application

MSE is a…

Daily Reading: CIO: I would never talk to my CEO about the cloud

Posted in Stuff in General on November 10th, 2009 by Kent