<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Vinh Pham</title>
	<atom:link href="http://vinhboy.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://vinhboy.com</link>
	<description>Vinh Pham</description>
	<lastBuildDate>Thu, 11 Mar 2010 18:01:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Meg Whitman is crazy</title>
		<link>http://vinhboy.com/blog/2010/03/03/meg-whitman-is-crazy/</link>
		<comments>http://vinhboy.com/blog/2010/03/03/meg-whitman-is-crazy/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 15:49:09 +0000</pubDate>
		<dc:creator>vinhboy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vinhboy.com/?p=770</guid>
		<description><![CDATA[In all honestly, I do not know enough about this woman to say she is crazy. But I just saw 6 of her commercials attacking Steve Poizner, in 30 minutes of &#8220;My name is Earl&#8221;. That is a crap load of commercials, and a crap load of money she&#8217;s got there.
Not only that, the messages in [...]]]></description>
			<content:encoded><![CDATA[<p>In all honestly, I do not know enough about this woman to say she is crazy. But I just saw 6 of her commercials attacking Steve Poizner, in <strong>30 minutes</strong> of &#8220;My name is Earl&#8221;. That is a crap load of commercials, and a crap load of money she&#8217;s got there.</p>
<p>Not only that, the messages in her commercials are extremely &#8220;partisan&#8221; &#8212; for lack of a better word. Now, if you read my other blog post, I am not a fan of bi-partian politics either, but attacking a person because they are not &#8220;conservative&#8221; enough, is like those people who attacked Obama because he was not &#8220;black&#8221; enough.</p>
<p>Her key points were something a long the lines of &#8220;Poizner did not vote for tax cuts&#8221;, &#8220;Poizner supported Al Gore&#8221;, &#8220;Poizner miss church last Sunday&#8221; (kidding on the last one). Well sheesh lady, maybe he had a good reason for making those choices? Can you tell me something concrete about the man, rather than trying to convince he&#8217;s the anti-Chris because he supported Al Gore? And for goodness sake, according to the news, you haven&#8217;t been politically active your entire adult life.</p>
<p>Perhaps I am just more politically aware this election, but those are my early observations and the campaign season hasn&#8217;t even begun yet&#8230; Well, good thing I don&#8217;t watch TV that often..</p>
]]></content:encoded>
			<wfw:commentRss>http://vinhboy.com/blog/2010/03/03/meg-whitman-is-crazy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google Analytics: How do I manually track clicks on outbound links?</title>
		<link>http://vinhboy.com/blog/2010/03/02/google-analytics-how-do-i-manually-track-clicks-on-outbound-links/</link>
		<comments>http://vinhboy.com/blog/2010/03/02/google-analytics-how-do-i-manually-track-clicks-on-outbound-links/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 15:53:55 +0000</pubDate>
		<dc:creator>vinhboy</dc:creator>
				<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://vinhboy.com/?p=766</guid>
		<description><![CDATA[So if you found this page then you are in luck, because you probably landed on this page first:
http://www.google.com/support/analytics/bin/answer.py?hl=en&#38;answer=55527
And if you tried what is written on there, you know that it DOES NOT work. I still can&#8217;t figure out why Google offers that as their official advice when it clearly does not work. Here is [...]]]></description>
			<content:encoded><![CDATA[<p>So if you found this page then you are in luck, because you probably landed on this page first:</p>
<p><a href="http://www.google.com/support/analytics/bin/answer.py?hl=en&amp;answer=55527">http://www.google.com/support/analytics/bin/answer.py?hl=en&amp;answer=55527</a></p>
<p>And if you tried what is written on there, you know that it <strong>DOES NOT </strong>work. I still can&#8217;t figure out why Google offers that as their official advice when it clearly does not work. Here is why:</p>
<ol>
<li>Your link will redirect before Google finishes the logging call to their server.</li>
<li>_trackPageview does not offer any callbacks, so there is no way to detect completion</li>
</ol>
<p>Here is how I fixed the problem using jQuery, but you can do this with any JavaScript you want.</p>
<p><script src="http://gist.github.com/319191.js?file=gistfile1.js"></script></p>
<ol>
<li>_trackEvent has a callback so we are piggy-backing on it to log _trackPageview</li>
<li>You can set the _trackEvent to whatever, I am just using what makes sense to me here</li>
<li>Degrades nicely in case the user does not have JavaScript enabled.</li>
</ol>
<p>Anyways &#8212; Enjoy, I hope this helps someone out there. If I am wrong, or if you know a better way to do this, please let me know!</p>
]]></content:encoded>
			<wfw:commentRss>http://vinhboy.com/blog/2010/03/02/google-analytics-how-do-i-manually-track-clicks-on-outbound-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress hacked by inii.info</title>
		<link>http://vinhboy.com/blog/2010/03/01/wordpress-hacked-by-inii-info/</link>
		<comments>http://vinhboy.com/blog/2010/03/01/wordpress-hacked-by-inii-info/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 16:36:54 +0000</pubDate>
		<dc:creator>vinhboy</dc:creator>
				<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://vinhboy.com/?p=757</guid>
		<description><![CDATA[BEGIN Update (3/2/10) 
Thanks to Frank Farmer we have found that this seems to be a MediaTemple + Wordpress problem. Try the following.
1) Get this: Firefox User Agent Switcher
2) Select: Yahoo Slurp
3) Visit: http://clintoon.com/zguda.php?p=hawaii-beach-report &#8211; I don&#8217;t know who&#8217;s site this is, I am just using it as an example so be kind to whoever [...]]]></description>
			<content:encoded><![CDATA[<p><strong>BEGIN Update (3/2/10)</strong> </p>
<p>Thanks to Frank Farmer we have found that this seems to be a MediaTemple + Wordpress problem. Try the following.</p>
<p>1) Get this: <a href="https://addons.mozilla.org/en-US/firefox/addon/59">Firefox User Agent Switcher</a><br />
2) Select: Yahoo Slurp<br />
3) Visit: http://clintoon.com/zguda.php?p=hawaii-beach-report &#8211; I don&#8217;t know who&#8217;s site this is, I am just using it as an example so be kind to whoever this is.</p>
<p>So what you see here is a link-farm of affected sites. I been chasing this all morning. If you have MediaTemple and Wordpress, check your site for malicious code now!! I have to get back to doing some real work now. If someone has the time, please help notify the domain owners that their site has been compromised.</p>
<p>The farm is <del datetime="2010-03-03T00:15:19+00:00">endless</del> pretty big. Sometimes it gets circular, but <del datetime="2010-03-03T00:15:19+00:00">trust me, it&#8217;s endless</del> it&#8217;s big. You just have to keep going down further.</p>
<p><strong>END UPDATE</strong></p>
<p>I run a lot of Wordpress installations because it is easy to install and a lot of people are familiar with the platform. However, in the last month, one of my Wordpress site has been hacked twice by the same people using an attack vector I <strong>still do not</strong> know yet.</p>
<p>The first attack wrote some redirection code to the <span style="text-decoration: underline;"><strong>wp-blog-header.php</strong></span> file:</p>
<p><script src="http://gist.github.com/318521.js"></script></p>
<p>Notice how it points you to inii.info &#8212; Anyways I deleted this code and a couple of weeks later the blog was hacked again.</p>
<p>This time they wrote a file named &#8220;&#8230;&#8221; (three dots) to my /etc directory and included the file through index.php. It&#8217;s a hidden system file: <a href="http://gist.github.com/318530">Link</a>.</p>
<p>This one was a bit more interesting. Notice how the file was base64 encoded. I had to decode it 5 times before the actual code revealed itself.</p>
<p><script src="http://gist.github.com/318541.js?file=decoded.php"></script></p>
<p>Again, this was telling the blog to redirect itself to inii.info &#8212; Interestingly, it only targeted search engine bots. So here are my conclusions:</p>
<p>1) This is probably a Wordpress vulnerability that has not been discovered yet since it only targets my Wordpress files.<br />
2) This is probably just a spam/link-farming operation because it just redirects search engine traffic to a link-farm page<br />
3) The website I am running is on some sort of list that gets pinged once in a while to make sure the hack is still in place.<br />
4) Although the attacker has access to my system files, ie they were able to write new files to my system, it does not look like they have done anything else.</p>
<p>Surprisingly one of the most useful tool that aided me in finding these code injection is Git. Git allowed me to find changes to my files that I had not made. So it&#8217;s one cool side effect of using Git that I am grateful for.</p>
]]></content:encoded>
			<wfw:commentRss>http://vinhboy.com/blog/2010/03/01/wordpress-hacked-by-inii-info/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Photographer Websites</title>
		<link>http://vinhboy.com/blog/2010/02/27/photographer-websites/</link>
		<comments>http://vinhboy.com/blog/2010/02/27/photographer-websites/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 16:49:42 +0000</pubDate>
		<dc:creator>vinhboy</dc:creator>
				<category><![CDATA[Rant]]></category>

		<guid isPermaLink="false">http://vinhboy.com/?p=755</guid>
		<description><![CDATA[Been looking at a lot of photographer&#8217;s websites lately.
Here is one piece of opinion for all you photographers out there
Please, for the love of humanity, stop using flash.
Using flash is a terrible way to display your photographs.
1) It takes forever to load.
2) The photos are small and often cannot be resized.
3) You cannot link to [...]]]></description>
			<content:encoded><![CDATA[<p>Been looking at a lot of photographer&#8217;s websites lately.</p>
<p>Here is one piece of opinion for all you photographers out there</p>
<p>Please, for the love of humanity, stop using flash.</p>
<p>Using flash is a terrible way to display your photographs.</p>
<p>1) It takes forever to load.</p>
<p>2) The photos are small and often cannot be resized.</p>
<p>3) You cannot link to a photo to you like</p>
<p>4) The user interface/interaction your flash designer created is horrible</p>
<p>5) Your creative flash intro/effects are not that creative and I don&#8217;t really care for it.</p>
<p>What you should do:</p>
<p>1) Use a popular image gallery like flickr or picasa if you are not paranoid about privacy</p>
<p>2) Show bigger photos if you have them</p>
]]></content:encoded>
			<wfw:commentRss>http://vinhboy.com/blog/2010/02/27/photographer-websites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Commuter Bus</title>
		<link>http://vinhboy.com/blog/2010/02/26/commuter-bus/</link>
		<comments>http://vinhboy.com/blog/2010/02/26/commuter-bus/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 15:39:30 +0000</pubDate>
		<dc:creator>vinhboy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vinhboy.com/?p=677</guid>
		<description><![CDATA[I have spent many posts railing about how much I hate Muni and Bart, but today I want to say something positive. This is very rare, so pay attention closely.
I actually enjoy taking the commuter bus and the commuter ferry. I also like taking the Amtrak train. There is something about taking the commuter bus [...]]]></description>
			<content:encoded><![CDATA[<p>I have spent many posts railing about how much I hate Muni and Bart, but today I want to say something positive. This is very rare, so pay attention closely.</p>
<p>I actually enjoy taking the commuter bus and the commuter ferry. I also like taking the Amtrak train. There is something about taking the commuter bus that makes me feel like I am a part of a group of hard working people.</p>
<p>You see, the commuter buses cost a lot to ride. It&#8217;s about $10 each way. So most who gets on one of these buses are hard working people, and not likely to be stupid thugs who jumped over the railing like on Bart or Muni.</p>
<p>Also, people who get up in the morning at 6am to hop on a 1 hour bus ride are probably not here for fun. We are here because we have work to do, a paycheck to make, families to take care of. Not like the bums who hop on Muni to ride from one street corner to another to sell their drugs.</p>
<p>On the trip home, people on these commuter buses are trying to get home to their families, to the people they love and care about. That is probably why everyone sits quietly and patiently as the buses and ferries drag their tired bodies home.</p>
<p>It is out of shared suffering, that a sense of community and sympathy is born. Everybody here has something to do, someone to care about, and the last thing they want to do is cause trouble for all the people around them experiencing the same thing day in day out.</p>
<p>I think maybe that&#8217;s how we can improve Bart and Muni. Build bigger metal bars that goes up to the ceiling, raise the price to ride the train, and do not allow standing. Being packed in a sardine can with gate jumpers would make anyone mad&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://vinhboy.com/blog/2010/02/26/commuter-bus/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Bad Web Hosting Companies</title>
		<link>http://vinhboy.com/blog/2010/02/25/bad-web-hosting-companies/</link>
		<comments>http://vinhboy.com/blog/2010/02/25/bad-web-hosting-companies/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 15:34:10 +0000</pubDate>
		<dc:creator>vinhboy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vinhboy.com/?p=747</guid>
		<description><![CDATA[As a web developer, I have to work with many hosting companies. Here is my list of hosting companies that you should avoid like the plague.
1) Register.com &#8211; They have a horrible control interface. And there is virtually no way to set up a subdomain.
2) Hostway &#8211; For the life of me, I could not [...]]]></description>
			<content:encoded><![CDATA[<p>As a web developer, I have to work with many hosting companies. Here is my list of hosting companies that you should avoid like the plague.</p>
<p>1) Register.com &#8211; They have a horrible control interface. And there is virtually no way to set up a subdomain.</p>
<p>2) Hostway &#8211; For the life of me, I could not find any way to access their database. Then they locked me out of SSH. They have an equally horrible control interface.</p>
<p>3) MediaTemple &#8211; They have a pretty good user interface and SSH access, but they also have a ton of down time. Although this company is huge, their gridservers go down almost once every two weeks. It&#8217;s a tragedy really.</p>
<p>4) Web.com &#8211; Decent interface, but the security is horrible. They put your password in the url params.</p>
<p>That&#8217;s all for now. Will add more later.</p>
]]></content:encoded>
			<wfw:commentRss>http://vinhboy.com/blog/2010/02/25/bad-web-hosting-companies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I am cold</title>
		<link>http://vinhboy.com/blog/2010/02/24/i-am-cold/</link>
		<comments>http://vinhboy.com/blog/2010/02/24/i-am-cold/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 16:06:47 +0000</pubDate>
		<dc:creator>vinhboy</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://vinhboy.com/?p=742</guid>
		<description><![CDATA[When people say things like, &#8220;Not a day goes by when I don&#8217;t think about [him/her]&#8220;, I have always thought that they are exaggerating. However, lately I am starting to believe that it is possible.
Although I don&#8217;t think about my dad everyday, I do remember him more frequently than I expected.
And one of the most [...]]]></description>
			<content:encoded><![CDATA[<p>When people say things like, &#8220;Not a day goes by when I don&#8217;t think about [him/her]&#8220;, I have always thought that they are exaggerating. However, lately I am starting to believe that it is possible.</p>
<p>Although I don&#8217;t think about my dad everyday, I do remember him more frequently than I expected.</p>
<p>And one of the most bitter sweet thing about this whole experience is his physical manifestation in my life even now.</p>
<p>You see, my dad was a freak about heaters. He gets cold easily, and blamed being cold for almost every disease known to man. So not surprisingly he had a huge collection of portable heaters. One of his most recent and favorite acquisition was an oil heater. After seeing it at someone&#8217;s house, he searched high and low for one bought it.</p>
<p>When we were cleaning out his things, I took the oil heater back home with me because Uyen was also someone who always gets cold. Needless to say, the heater has become one of our most treasured item through this abnormally cold winter. It is an irreplaceable part of our room that keeps us warm through the bitter cold nights.</p>
<p>It&#8217;s kind of funny because every time I look at it now, it reminds me of my dad. I can&#8217;t help but think that even now, he has a presence in my life, keeping me and my fiancee safe and warm.</p>
]]></content:encoded>
			<wfw:commentRss>http://vinhboy.com/blog/2010/02/24/i-am-cold/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>1800Flowers</title>
		<link>http://vinhboy.com/blog/2010/02/14/1800flowers/</link>
		<comments>http://vinhboy.com/blog/2010/02/14/1800flowers/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 16:05:12 +0000</pubDate>
		<dc:creator>vinhboy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vinhboy.com/?p=736</guid>
		<description><![CDATA[No offense to the lady in the photo, but this makes 1800Flowers look like a porn site.

When I am out buying flowers for my lady, I don&#8217;t really want to be advertised to like this. Try a happy looking old woman, or a gay man.
]]></description>
			<content:encoded><![CDATA[<p>No offense to the lady in the photo, but this makes 1800Flowers look like a porn site.</p>
<p><img class="aligncenter size-full wp-image-737" title="flower" src="http://vinhboy.com/blog/wp-content/uploads/2010/01/flower.png" alt="flower" width="350" height="246" /></p>
<p>When I am out buying flowers for my lady, I don&#8217;t really want to be advertised to like this. Try a happy looking old woman, or a gay man.</p>
]]></content:encoded>
			<wfw:commentRss>http://vinhboy.com/blog/2010/02/14/1800flowers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dear President Obama</title>
		<link>http://vinhboy.com/blog/2010/01/25/dear-president-obama/</link>
		<comments>http://vinhboy.com/blog/2010/01/25/dear-president-obama/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 16:27:47 +0000</pubDate>
		<dc:creator>vinhboy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vinhboy.com/?p=739</guid>
		<description><![CDATA[I am happy that you got elected. It&#8217;s nice to see an intelligent person in control, rather than a team of retards. Although, I must say, I am rather not fond of your long winded speeches. Many people are impressed by your oratory skills, I&#8217;d prefer it if you cut the crap and get to [...]]]></description>
			<content:encoded><![CDATA[<p>I am happy that you got elected. It&#8217;s nice to see an intelligent person in control, rather than a team of retards. Although, I must say, I am rather not fond of your long winded speeches. Many people are impressed by your oratory skills, I&#8217;d prefer it if you cut the crap and get to the point.</p>
<p>Anyways, I am writing you today to let you know that you should stop this conciliatory, team effort, bullshit. The idea of working together sounds great, and stupid people love it because it makes it seem like you care about them, and that they are being heard. But the reality is, people are stupid, and it is your job to basically protect them from themselves.</p>
<p>I am tired of hearing about WallStreet bonuses, tea parties, homophobia, death panels, warrantless wiretaps, torture, pro-life, illegal immigration, etc, etc, etc&#8230;</p>
<p>I know you are to blame for many of these atrocities, and continuing many of Bush&#8217;s agenda, but shit man, at this point I don&#8217;t really care where you stand, I just wish you&#8217;d do something.</p>
<p>Stop playing footsies with the Congress and just kick some ass already. If I disagree with you, I&#8217;ll protest or vote against you. But sitting around waiting for you to make a &#8220;collaborative&#8221; effort happen is extremely annoying.</p>
<p>Listen dude. I don&#8217;t agree with you on my things, but I know one thing for sure. I hate the way Republican party is <strong>ruining</strong> America. And your democratic buddies are just as bad. Can you please get off this &#8220;team work&#8221; bullshit and do something?</p>
]]></content:encoded>
			<wfw:commentRss>http://vinhboy.com/blog/2010/01/25/dear-president-obama/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SEO: Domain name keyword matters</title>
		<link>http://vinhboy.com/blog/2010/01/19/seo-domain-name-keyword-matters/</link>
		<comments>http://vinhboy.com/blog/2010/01/19/seo-domain-name-keyword-matters/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 17:51:17 +0000</pubDate>
		<dc:creator>vinhboy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://vinhboy.com/?p=732</guid>
		<description><![CDATA[Couple of weeks ago I asked the question &#8220;SEO: How much does domain name keywords matter?&#8220;. 
Here are the results after about two weeks.

If you search &#8220;profit and loss templates&#8221;, the website I created will be the 8th result. I added a little more content today in hopes that I will jump from 8th to [...]]]></description>
			<content:encoded><![CDATA[<p>Couple of weeks ago I asked the question &#8220;<a href="http://vinhboy.com/blog/2010/01/04/seo-how-much-does-domain-name-keywords-matter/">SEO: How much does domain name keywords matter?</a>&#8220;. </p>
<p>Here are the results after about two weeks.</p>
<p><a href="http://vinhboy.com/blog/wp-content/uploads/2010/01/profit_and_loss_templates.jpg" rel="facebox" rel="lightbox attachment wp-att-733"><img src="http://vinhboy.com/blog/wp-content/uploads/2010/01/profit_and_loss_templates-300x212.jpg" alt="profit_and_loss_templates" title="profit_and_loss_templates" width="300" height="212" class="aligncenter size-medium wp-image-733" /></a></p>
<p>If you search &#8220;profit and loss templates&#8221;, the website I created will be the 8th result. I added a little more content today in hopes that I will jump from 8th to the 1st spot.</p>
<p>Wish me luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://vinhboy.com/blog/2010/01/19/seo-domain-name-keyword-matters/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
