<?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>vibol.hou</title>
	<atom:link href="http://vibol.hou.cc/feed" rel="self" type="application/rss+xml" />
	<link>http://vibol.hou.cc</link>
	<description>seize the code</description>
	<lastBuildDate>Fri, 18 May 2012 03:23:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Breaking Reality</title>
		<link>http://vibol.hou.cc/breaking-reality</link>
		<comments>http://vibol.hou.cc/breaking-reality#comments</comments>
		<pubDate>Fri, 18 May 2012 03:23:08 +0000</pubDate>
		<dc:creator>vibol</dc:creator>
				<category><![CDATA[Fleeting Thoughts]]></category>

		<guid isPermaLink="false">http://vibol.hou.cc/?p=460</guid>
		<description><![CDATA[<p>Today marks the rekindling of my vision to create positive, sustainable change in Cambodia.</p> <p>My trip to Cambodia last December not only showed me how beautiful my family&#8217;s country is, but also illustrated the many real problems that trouble the country and its people. I have known this all along from the numerous articles I [...]]]></description>
			<content:encoded><![CDATA[<p>Today marks the rekindling of my vision to create positive, sustainable change in Cambodia.</p>
<p>My trip to Cambodia last December not only showed me how beautiful my family&#8217;s country is, but also illustrated the many real problems that trouble the country and its people. I have known this all along from the numerous articles I have read throughout the years, but it&#8217;s truly impactful to see and feel these those things firsthand. I have always had plans to go back to Cambodia one day so I could apply myself towards solving problems there, but the emotional roller coaster that underscored my recent visit brought about an urgency that I could not let pass.</p>
<p>My plan is simple:</p>
<ol>
<li>Create awareness</li>
<li>Raise money</li>
<li>Build schools and businesses in Cambodia</li>
</ol>
<p>I&#8217;ve spent the last ten years honing my skills and relationships to be able to make a difference. Yesterday was my last day working at <a href="http://www.demandmedia.com/">Demand Media</a>. I left a comfortable, promising job as a Director of Engineering to focus my full time and effort on moving this life goal forward.</p>
<p>In the coming days, I will reveal my first initiative towards bringing about awareness.</p>
]]></content:encoded>
			<wfw:commentRss>http://vibol.hou.cc/breaking-reality/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing node.js on CentOS 6.3</title>
		<link>http://vibol.hou.cc/installing-node-js-on-centos-6-3</link>
		<comments>http://vibol.hou.cc/installing-node-js-on-centos-6-3#comments</comments>
		<pubDate>Thu, 12 Apr 2012 10:13:12 +0000</pubDate>
		<dc:creator>vibol</dc:creator>
				<category><![CDATA[Snippets]]></category>

		<guid isPermaLink="false">http://vibol.hou.cc/?p=444</guid>
		<description><![CDATA[<p>Node.js does not come with RPMs for CentOS. <a href="http://www.chrisabernethy.com/installing-node-js-on-centos-redhat/">Chris Abernethy</a> provides instructions on how to do this but node.js has gained two major versions since then and files in the original source package have been removed. Here are the updated instructions without building the source as root.</p> Make sure you have the Development Tools [...]]]></description>
			<content:encoded><![CDATA[<p>Node.js does not come with RPMs for CentOS. <a href="http://www.chrisabernethy.com/installing-node-js-on-centos-redhat/">Chris Abernethy</a> provides instructions on how to do this but node.js has gained two major versions since then and files in the original source package have been removed. Here are the updated instructions without building the source as root.</p>
<ol>
<li>Make sure you have the Development Tools group installed
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo yum groupinstall 'Development Tools'</div></td></tr></tbody></table></div>
</li>
<li>Install supporting development libraries
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo yum install openssl-devel</div></td></tr></tbody></table></div>
</li>
<li>Download node.js 0.6.15 into your ~/rpmbuild/SOURCES folder
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mkdir ~/rpmbuild/SOURCES<br />
cd ~/rpmbuild/SOURCES<br />
wget http://nodejs.org/dist/v0.6.15/node-v0.6.15.tar.gz</div></td></tr></tbody></table></div>
</li>
<li> Download the latest specfile into you ~/rpmbuild/SPECS folder
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mkdir ~/rpmbuild/SPECS<br />
cd ~/rpmbuild/SPECS<br />
wget https://raw.github.com/vibol/node-rpm-spec/master/nodejs.spec</div></td></tr></tbody></table></div>
</li>
</ol>
<p>Feel free to  fork/update the specfile as versions change on GitHub:</p>
<ul>
<li><a href="https://github.com/vibol/node-rpm-spec">https://github.com/vibol/node-rpm-spec</a></li>
</ul>
<p>Here are the RPMs built from these instructions for the x86_64 architecture. Sorry, it&#8217;s unsigned.</p>
<ul>
<li><a href="http://vibol.hou.cc/files/x86_64/nodejs-0.6.15-1.x86_64.rpm">nodejs-0.6.15-1.x86_64.rpm</a> (x86_64)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://vibol.hou.cc/installing-node-js-on-centos-6-3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ZenfolioRSS for WordPress v1.0 Released</title>
		<link>http://vibol.hou.cc/zenfoliorss-for-wordpress-v1-0-released</link>
		<comments>http://vibol.hou.cc/zenfoliorss-for-wordpress-v1-0-released#comments</comments>
		<pubDate>Tue, 06 Sep 2011 09:07:10 +0000</pubDate>
		<dc:creator>vibol</dc:creator>
				<category><![CDATA[Fleeting Thoughts]]></category>

		<guid isPermaLink="false">http://vibol.hou.cc/?p=413</guid>
		<description><![CDATA[<p>It&#8217;s been almost exactly two years since the last update, but here it is.</p> <p>v1.0 Release Notes:</p> Tidied up code Cleaned up default settings Add support for HTML fragments before/after the widget and title. This is available in the Appearance &#62; Widget configuration of WordPress. If you&#8217;re upgrading from a previous version and have used [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been almost exactly two years since the last update, but here it is.</p>
<p>v1.0 Release Notes:</p>
<ul>
<li>Tidied up code</li>
<li>Cleaned up default settings</li>
<li>Add support for HTML fragments before/after the widget and title. This is available in the Appearance &gt; Widget configuration of WordPress.</li>
<li>If you&#8217;re upgrading from a previous version and have used the get_ZenfolioRSS() function directly, you may need to update your call to get_ZenfolioRSS() to pass a configuration array. See function docs for more detail.</li>
</ul>
<div>Head on over to the <a title="ZenfolioRSS for WordPress" href="/zenfoliorss/">ZenfolioRSS for WordPress</a> page to download the source files.</div>
]]></content:encoded>
			<wfw:commentRss>http://vibol.hou.cc/zenfoliorss-for-wordpress-v1-0-released/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Impressions after two weeks with the Palm Pre Plus &#8211; Review, Pros and Cons</title>
		<link>http://vibol.hou.cc/impressions-after-two-weeks-with-the-palm-pre-plus</link>
		<comments>http://vibol.hou.cc/impressions-after-two-weeks-with-the-palm-pre-plus#comments</comments>
		<pubDate>Sun, 23 May 2010 23:20:50 +0000</pubDate>
		<dc:creator>vibol</dc:creator>
				<category><![CDATA[Fleeting Thoughts]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[pre]]></category>

		<guid isPermaLink="false">http://vibol.hou.cc/?p=298</guid>
		<description><![CDATA[<p><a href="http://vibol.hou.cc/wp-content/uploads/2010/05/organized_connected.jpg"></a>Having decided to go back to Verizon after two years of AT&#38;T, I started shopping for a new smartphone. My poor experience with the Blackberry Bold really made me shy away from spending more money on a new Blackberry &#8212; I was on my 4th replacement Blackberry Bold by the time the one-year warranty [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://vibol.hou.cc/wp-content/uploads/2010/05/organized_connected.jpg"><img class="size-full wp-image-307 alignleft" title="Palm Pre Plus" src="http://vibol.hou.cc/wp-content/uploads/2010/05/organized_connected.jpg" alt="Palm Pre Plus" width="311" height="280" border="0" /></a>Having decided to go back to Verizon after two years of AT&amp;T, I started shopping for a new smartphone. My poor experience with the Blackberry Bold really made me shy away from spending more money on a new Blackberry &#8212; I was on my 4th replacement Blackberry Bold by the time the one-year warranty ran out on the phone. The shoddy data network and mediocre voice quality of the AT&amp;T network were important factors for my switch to Verizon.</p>
<p>My choice of carrier meant that the iPhone was out, though the lack of a physical keyboard took the iPhone out long ago. That left me to choose between a Google Android phone or a Palm webOS phone. With a keyboard being a requirement, I could choose from the Motorola Droid, Palm Pixi Plus or the Palm Pre Plus.<br />
<span id="more-298"></span><br />
I spent some time with a Motorola Droid a few days after it was released, but I wasn&#8217;t awed by the user experience. The UI felt like it was cobbled together and the keyboard was&#8230; well, was it really a keyboard? It was harder to type on than those old Casio calculator watches that had the same flat grid for a keyboard. Sometimes I wonder&#8230; when taking the time to build a product, months are spent on engineering something but sometimes it&#8217;s obvious that very little time is spent allowing target users to touch the device. That Droid keyboard is one of these situations; call it user experience ignorance. Apple does wonderful things with their hardware with incredible attention to detail; take the headphone jack, for instance, that triples as a headphone jack, an optical jack *and* a headset jack. Why can&#8217;t other companies do the same? It&#8217;s not always about what device has the most features; a lot of times it&#8217;s better to just do one thing extremely well and leave out the rest.</p>
<p>So I guess that left me with the Palm Pre Plus as the only choice left. I did a lot of reading and spent some time with the Palm Pre Plus before I decided to buy it. I read a lot of mixed reviews about the product, some from angry iPhone users that didn&#8217;t feel the phone lived up to they hype, others on forums complaining about hardware issues and so on and so forth&#8230; I don&#8217;t tend to believe things until I see them, so I went to try the phone out myself.</p>
<p>The story that follows is quite an interesting one in several ways. I knew of the Palm Pre&#8217;s mediocre sales in the market and was always curious about why they were doing poorly. Perhaps it is because I was one of the many people who believed that the Palm Pre was going to be a dud when it first came out. I never had a good impression of Palm, their software nor their devices. The company has had such a fractured past with product development that I stopped caring about them. When a friend of mine purchase the Palm Pre from Sprint on release day, told me how much he loved it and showed it to me, I dismissed the phone without so much as a thought. It&#8217;s a Palm, I thought, how great could it be?</p>
<p>Fast forward a whole year and now I&#8217;m sitting here contemplating buying one. Many of the choices on the market just don&#8217;t reflect what I need, but this phone seems to have it all: keyboard, touchscreen, good form factor, clear screen, a selection of apps and tethering on steroids (it can act as a WiFi router). I went to a real Verizon store (not one of those lookalike independent stores) to try one out and hit my first road bump: the in-store demo unit was broken. It was stuck on the Palm loading screen. Not starting off so well, I thought. I asked the manager if he had one I could take a look at and his response was &#8220;don&#8217;t buy that phone, those guys are going out of business.&#8221; I guess he hadn&#8217;t heard of HP&#8217;s recent acquisition of Palm. A few questions later and it was obvious to me that the store was not interested in selling the Pre. I was given a variety of reasons to stay away from Palm, but the kicker was the redirect to their newest Droid Incredible.</p>
<p>I still wanted to try the Palm Pre Plus so I eventually found a store that had one. It was an independent shop and the guy selling phones had a Pre Plus strapped to his belt. He was kind enough to  allow me to use his phone as we talked about his impressions of the Pre Plus. &#8220;How do you like it?&#8221;, I asked him. &#8220;It&#8217;s a simple phone. I don&#8217;t mind it but I like being able to tinker with the settings.&#8221; He told me about the back gesture as he handed it over and it took me a few seconds to figure out the rest.</p>
<p>After spending an hour at the store with the phone, I decided to buy it. My impressions were positive overall then and two weeks and one application developed later, they remain the same now. The phone does have some issues, but they are problems that can be solved with software updates. Here are some highlights of the pros and cons from my last two weeks with it.</p>
<p><strong>Palm Pre Plus Pros</strong></p>
<ul>
<li>Great form factor, feels solid in hand. Most people I&#8217;ve shown it to says it feels heavier than it looks, but I like the solid feel.</li>
<li>Very good screen and colors.</li>
<li>Great voice quality and sound volume from on-board speaker (con: Microphone is off if normal headphones are plugged in. My Blackberry left its on-board microphone on when a normal headphone is used.)</li>
<li>Great audio quality to headphones. I use Ultimate Ear SuperFi 5vis.</li>
<li>Very good contact list integration. Pulls all my Google, Exchange contacts in without any fuss.</li>
<li>Great calendar integration with Google and Exchange. (con: Where&#8217;s guest invites???)</li>
<li>Great keyboard. It took a little getting used to, but despite its size and hard tactile response, I can type faster than I did on my BB. The selection of keys was made for web usage (@ symbol is a dedicated key).</li>
<li>Excellent user interface interaction. The back gesture, couple with the concept and implementation of cards is flawless.</li>
<li>If you&#8217;ve ever used Mac OS X Spotlight or Windows 7&#8242;s Start button search, Universal Search is really great. Type something in while in card view and the phone starts an immediate search of your on-board databases (Contacts, etc.)</li>
<li>App Catalog. It has a smaller selection of apps, but the ones I use are there: Google Maps, Facebook, Web Browser, Pandora, Yelp, Evernote, Twitter, Weather. I liken the number of apps found in the App Catalog to that found in iPhone&#8217;s first generation phones. The number and quality will grow over time.</li>
<li>Stable device platform. This is really important to app developers because the hardware and software platforms will be consistent and stable. Palm only has a handful of device types to support which means more focused engineering  and updates. Apple does this with the iPhone. They have 3 generations of phones and 3 generations of software updates to date; each update usable on the previous generation phone. If you buy an Android phone, the software updates have to go through each manufacturer. With the number of Android models out there, that means manufacturers have to make a decision on which phones to update the OS on and which to ignore.</li>
<li>Excellent web browser.</li>
<li>Great Contact List application.</li>
<li>Settings are simple.</li>
<li>Data backup to the Cloud? Awesome.</li>
<li>GPS works well enough on Google Maps.</li>
<li>WiFi works great at home and office.</li>
<li>Mobile Hotspot mode is really awesome. Multiple users can log in to use it and I&#8217;m getting solid download rates (~250KBps). In fact, I&#8217;m using Mobile Hotspot to upload this blog post from a Starbucks right now.</li>
<li>Camera produces better images than my Blackberry Bold. Easy to share single photos (con: hard to share a group of photos) to e-mail/Facebook with ease.</li>
<li>It shoots and shares Video to Youtube/Facebook with ease. Allows you to clip and produces standard MPEG4 files.</li>
<li>Tasks sync up with Exchange seamlessly.</li>
<li>YouTube video player works well.</li>
<li>Based mostly on Open Sourced software, which means smart people can tinker with it to make it better. This has already happened with the Homebrew and Preware efforts. You don&#8217;t have to &#8220;jailbreak&#8221; this phone. It comes pre-wired for customization.</li>
<li>It views PDFs.</li>
</ul>
<p><strong>Palm Pre Plus Cons (and Complaints)</strong></p>
<ul>
<li>The touchscreen requires slightly more pressure than an iPhone. Occasionally I need to tap twice if I didn&#8217;t apply sufficient finger-surface-area to the touchscreen. Note that the protective film that comes with the camera should not be kept on the phone. It significantly reduces the capacitance detected by the phone. I had a lot of trouble with the screen before I removed this film and replaced it with a specialized matte screen protector.</li>
<li>Text selection really blows. It&#8217;s hard to get the cursor to line up just right. And on multi-line text fields, it&#8217;s a nightmare keeping the cursor on the right line. It&#8217;s a good thing I don&#8217;t use copy/paste much. Palm, if you&#8217;re reading, please study iPhone text selection.</li>
<li>You have to type in your periods. My Blackberry would automatically put in a period when I hit spacebar twice.</li>
<li>The contact list integration pulls in all or none of your Facebook contacts. I just want the contacts I have in my phone to be updated with Facebook information.</li>
<li>The battery life is on par with an iPhone and my Bold 9000. Users need to be aware of the applications that run on the phone. The phone&#8217;s awesome multitasking abilities also make it more susceptible to shorter battery life. I&#8217;ve read about some poorly written applications that have quickly drained battery life.</li>
<li>Long list browsing is a nuisance. I have 1,400 songs in my music player and I want to skip A-H so scrolling to I takes forever. Search doesn&#8217;t help me get to I any faster. iPhone does this right.</li>
<li>Mediocre media player. It plays music, period. iPhone has a full-fledged iPod built in. Palm can do better by focusing attention to this detail.</li>
<li>Scrolling action can be better. I can&#8217;t get it to scroll just enough for a page to go by in lists so I end up having to tap again to stop the scroll.</li>
<li>Why can&#8217;t I end a call by closing my phone? This should be a preference.</li>
</ul>
<p>I haven&#8217;t played a single game on my Pre since I got it. I use it mostly for email and business and it works like a charm for that. However, I read that it has a dedicated GPU for 3D graphics so games should be pretty impressive once the apps start rolling in.</p>
<p>Despite its inadequacies, I&#8217;ll be keeping this phone. It does the things I need it to do well enough to offset those things it doesn&#8217;t do well. Since Verizon is giving away the Mobile Hotspot for free, the cost savings from not having to pay $40/month for tethering will save me $480 this year and pretty much offset the cost of the phone and some service.</p>
<p>I have faith that Palm&#8217;s architecture and software roadmap around the phone is built in such a way that the concerns I have with it today will be remedied with a future software update. I say this because the open-source webOS movements (Preware, Homebrew) have already patched up many of the things they&#8217;ve found with the phone. If I wanted to fix the issue where closing my phone should end a call, there&#8217;s a patch for that. Palm just needs to take the time to LISTEN to its customers and developers and quickly incorporate those enhancements into the phone&#8217;s software.</p>
]]></content:encoded>
			<wfw:commentRss>http://vibol.hou.cc/impressions-after-two-weeks-with-the-palm-pre-plus/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Colorize and ignore whitespaces when using SVN diff</title>
		<link>http://vibol.hou.cc/colorize-and-ignore-whitespaces-when-using-svn-diff</link>
		<comments>http://vibol.hou.cc/colorize-and-ignore-whitespaces-when-using-svn-diff#comments</comments>
		<pubDate>Wed, 03 Feb 2010 17:00:53 +0000</pubDate>
		<dc:creator>vibol</dc:creator>
				<category><![CDATA[Fleeting Thoughts]]></category>

		<guid isPermaLink="false">http://vibol.hou.cc/?p=281</guid>
		<description><![CDATA[<p>To diff and ignore whitespace, create a script called &#8216;sd&#8217; with the following content:</p> 1<br />2<br />#!bin/sh<br /> svn diff --diff-cmd diff -x -uw $1 &#124; view - <p>Run it like so:</p> 1<br />sd -r13788:head]]></description>
			<content:encoded><![CDATA[<p>To diff and ignore whitespace, create a script called &#8216;sd&#8217; with the following content:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">#!bin/sh<br />
svn diff --diff-cmd diff -x -uw $1 | view -</div></td></tr></tbody></table></div>
<p>Run it like so:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sd -r13788:head</div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://vibol.hou.cc/colorize-and-ignore-whitespaces-when-using-svn-diff/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Protected: Ten Years in Review &#8211; New Decade Resolutions</title>
		<link>http://vibol.hou.cc/ten-years-in-review-new-decade-resolutions</link>
		<comments>http://vibol.hou.cc/ten-years-in-review-new-decade-resolutions#comments</comments>
		<pubDate>Fri, 01 Jan 2010 21:16:51 +0000</pubDate>
		<dc:creator>vibol</dc:creator>
				<category><![CDATA[Fleeting Thoughts]]></category>

		<guid isPermaLink="false">http://vibol.hou.cc/?p=206</guid>
		<description><![CDATA[There is no excerpt because this is a protected post.]]></description>
			<content:encoded><![CDATA[<form action="http://vibol.hou.cc/wp-pass.php" method="post">
<p>This post is password protected. To view it please enter your password below:</p>
<p><label for="pwbox-206">Password:<br />
<input name="post_password" id="pwbox-206" type="password" size="20" /></label><br />
<input type="submit" name="Submit" value="Submit" /></p></form>
]]></content:encoded>
			<wfw:commentRss>http://vibol.hou.cc/ten-years-in-review-new-decade-resolutions/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Uninstalling MacPorts</title>
		<link>http://vibol.hou.cc/uninstalling-macports</link>
		<comments>http://vibol.hou.cc/uninstalling-macports#comments</comments>
		<pubDate>Sat, 19 Sep 2009 23:07:44 +0000</pubDate>
		<dc:creator>vibol</dc:creator>
				<category><![CDATA[Snippets]]></category>

		<guid isPermaLink="false">http://vibolhou.com/?p=185</guid>
		<description><![CDATA[<p>Having upgraded to Snow Leopard, I wanted to wipe out my MacPorts installation and start clean. I&#8217;ve had tons of stuff installed and updated from the past (three versions of each port, in fact). Here&#8217;s how to uninstall MacPorts.</p> <p>The first step is to uninstall all the installed ports:</p> 1<br />sudo port -f uninstall installed [...]]]></description>
			<content:encoded><![CDATA[<p>Having upgraded to Snow Leopard, I wanted to wipe out my MacPorts installation and start clean. I&#8217;ve had tons of stuff installed and updated from the past (three versions of each port, in fact). Here&#8217;s how to uninstall MacPorts.</p>
<p>The first step is to uninstall all the installed ports:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo port -f uninstall installed</div></td></tr></tbody></table></div>
<p>Then remove any trace files lingering about:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo rm -rf /opt/local \<br />
/Applications/MacPorts \<br />
/Applications/DarwinPorts \<br />
/Library/Tcl/macports1.0 \<br />
/Library/Tcl/darwinports1.0 \<br />
/Library/LaunchDaemons/org.macports.* \<br />
/Library/StartupItems/DarwinPortsStartup \<br />
/Library/Receipts/MacPorts*.pkg \<br />
/Library/Receipts/DarwinPorts*.pkg \<br />
~/.macports</div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://vibol.hou.cc/uninstalling-macports/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Three steps to uninstalling MySQL on Mac OS X</title>
		<link>http://vibol.hou.cc/three-steps-to-uninstalling-mysql-on-mac-os-x</link>
		<comments>http://vibol.hou.cc/three-steps-to-uninstalling-mysql-on-mac-os-x#comments</comments>
		<pubDate>Sat, 19 Sep 2009 23:04:55 +0000</pubDate>
		<dc:creator>vibol</dc:creator>
				<category><![CDATA[Snippets]]></category>

		<guid isPermaLink="false">http://vibolhou.com/?p=187</guid>
		<description><![CDATA[<p>Here are three simple steps to uninstall the MySQL installation provided by MySQL.com. You should take care with these commands since a typo can obliterate portions of your OS, requiring a reinstall. If you&#8217;re comfortable with shell commands and understand what&#8217;s being done, here are the commands:</p> 1<br />2<br />3<br />sudo rm -rf &#34;/usr/local/mysql*&#34;<br /> [...]]]></description>
			<content:encoded><![CDATA[<p>Here are three simple steps to uninstall the MySQL installation provided by MySQL.com. You should take care with these commands since a typo can obliterate portions of your OS, requiring a reinstall. If you&#8217;re comfortable with shell commands and understand what&#8217;s being done, here are the commands:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">sudo rm -rf &quot;/usr/local/mysql*&quot;<br />
sudo rm -rf &quot;/Library/StartupItems/MySQLCOM/&quot;<br />
Go to System Preferences... &gt; ctrl-click the MySQL icon and remove it.</div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://vibol.hou.cc/three-steps-to-uninstalling-mysql-on-mac-os-x/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to find total file size in Linux</title>
		<link>http://vibol.hou.cc/how-to-find-total-file-size-in-linux</link>
		<comments>http://vibol.hou.cc/how-to-find-total-file-size-in-linux#comments</comments>
		<pubDate>Mon, 07 Sep 2009 19:04:23 +0000</pubDate>
		<dc:creator>vibol</dc:creator>
				<category><![CDATA[Snippets]]></category>

		<guid isPermaLink="false">http://vibolhou.com/?p=129</guid>
		<description><![CDATA[<p>DOS sums up the sizes of all the files it lists when using the dir command, but Linux ls does not. Here&#8217;s an awk script that will calculate that information.</p> 1<br />ls -la [filenames] &#124; awk '{ sum += $4 } END { print sum }' <p>An easier command (thanks <a href="http://crazytoon.com/">Sunny</a>):</p> 1<br />du -hs [...]]]></description>
			<content:encoded><![CDATA[<p>DOS sums up the sizes of all the files it lists when using the dir command, but Linux ls does not. Here&#8217;s an awk script that will calculate that information.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ls -la [filenames] | awk '{ sum += $4 } END { print sum }'</div></td></tr></tbody></table></div>
<p>An easier command (thanks <a href="http://crazytoon.com/">Sunny</a>):</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">du -hs * --total</div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://vibol.hou.cc/how-to-find-total-file-size-in-linux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento 1.3.2.2 and Google Chrome 3.0.193.1 (dev) Cookie Weirdness</title>
		<link>http://vibol.hou.cc/magento-v1-3-2-2-and-google-chrome-3-0-193-1-dev-cookie-weirdness</link>
		<comments>http://vibol.hou.cc/magento-v1-3-2-2-and-google-chrome-3-0-193-1-dev-cookie-weirdness#comments</comments>
		<pubDate>Sun, 19 Jul 2009 22:52:51 +0000</pubDate>
		<dc:creator>vibol</dc:creator>
				<category><![CDATA[Fleeting Thoughts]]></category>

		<guid isPermaLink="false">http://vibolhou.com/?p=110</guid>
		<description><![CDATA[<p>I installed a  fresh copy of Magento v1.3.2.2 on my development box using the installer and Google Chrome. After completing the install, I was unable to login to the Admin Panel through Chrome. It seemed to work fine in Firefox though. Each time I entered the admin username and password, I got sent back to [...]]]></description>
			<content:encoded><![CDATA[<p>I installed a  fresh copy of Magento v1.3.2.2 on my development box using the installer and Google Chrome. After completing the install, I was unable to login to the Admin Panel through Chrome. It seemed to work fine in Firefox though. Each time I entered the admin username and password, I got sent back to the login page. Upon further investigation, I was unable to create an account or login via the frontend user interfaces either. The frontend would send me to a page indicating that I should turn Cookies on. I took a look at Chrome&#8217;s cookie bin and surely enough, there were no cookies being stored for my domain (magento-1.myhost.com). Other sites seemed to work fine.</p>
<p>At this point, I was really unsure what was going on. I found some references online to Magento and Cookies, but nothing to do with Google Chrome. Perhaps my issue was a particular one, but it was repeatable and my problem criteria only partially matched the other problems found online (i.e. the localhost problem). I also found that Google&#8217;s diagnostic tools are severely lacking. Unlike Firefox, which has tools like Tamper Data to let users diagnose HTTP Header problems, Chrome had nothing like it.</p>
<p>After a bit of sleuthing, I was able to see that Magento sets the following default cookie parameters if nothing is configured in the Magento Admin Panel:</p>
<blockquote>
<div>Cookie Domain: magento-1.myhost.com (it looks up HTTP_HOST)</div>
<div>Cookie Path: /</div>
<div>Cookie Lifetime: 3600</div>
</blockquote>
<p>I thought these parameters looked fine, but they were not working for Chrome. On a hunch, I decided to change the Cookie Lifetime from 3600 to 0 to force the browser to only keep the cookie data until the browser is closed.</p>
<blockquote>
<div><img class="alignnone size-full wp-image-124" title="Magento Admin_1248045898014" src="http://vibolhou.com/wp-content/uploads/2009/07/Magento-Admin_1248045898014.png" alt="Magento Admin_1248045898014" width="484" height="177" /></div>
</blockquote>
<p>Surprisingly, it worked! I have not had time to figure out why this is the case yet, but I don&#8217;t have any concerns setting Cookie Lifetime to 0, so it will stay that way for now.</p>
]]></content:encoded>
			<wfw:commentRss>http://vibol.hou.cc/magento-v1-3-2-2-and-google-chrome-3-0-193-1-dev-cookie-weirdness/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

