<?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>benzwu &#187; Web</title>
	<atom:link href="http://benzwu.com/category/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://benzwu.com</link>
	<description>contemplation and lifestyle in between</description>
	<lastBuildDate>Tue, 07 Sep 2010 00:56:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Tuning Squid, my way</title>
		<link>http://benzwu.com/2010/09/tuning-squid-my-way/</link>
		<comments>http://benzwu.com/2010/09/tuning-squid-my-way/#comments</comments>
		<pubDate>Mon, 06 Sep 2010 02:24:45 +0000</pubDate>
		<dc:creator>benzwu</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Cache]]></category>
		<category><![CDATA[Squid]]></category>

		<guid isPermaLink="false">http://benzwu.com/?p=877</guid>
		<description><![CDATA[I&#8217;ve been using polipo and squid on my local but polipo was keep having segmentation faults that really annoying. To get the performance level up to polipo&#8217;s pipeline, you can add this line to your squid conf to enable pipelining which is disabled by default due to bandwidth management and logging issue which I don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using polipo and squid on my local but polipo was keep having segmentation faults that really annoying.</p>
<p>To get the performance level up to polipo&#8217;s pipeline, you can add this line to your squid conf to enable pipelining which is disabled by default due to bandwidth management and logging issue which I don&#8217;t use currently,</p>
<div id="_mcePaste">
<blockquote>
<div id="_mcePaste">pipeline_prefetch on</div>
<div></div>
</blockquote>
<div>Next bonus is to block ads on proxy level,</div>
<div>
<blockquote>
<div>acl ads dstdom_regex &#8220;/users/benzwu/adblock.txt&#8221;</div>
<div>http_access deny ads</div>
</blockquote>
<div>just fill the text file with simple regex rule like</div>
</div>
<div></div>
<div>
<blockquote>
<div>(^|\.)123banners\.com$</div>
<div>(^|\.)123found\.com$</div>
<div>(^|\.)123pagerank\.com$</div>
</blockquote>
<div>Ensquid!</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://benzwu.com/2010/09/tuning-squid-my-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SMF 2 and Facebook like button</title>
		<link>http://benzwu.com/2010/08/smf-2-and-facebook-like-button/</link>
		<comments>http://benzwu.com/2010/08/smf-2-and-facebook-like-button/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 14:10:46 +0000</pubDate>
		<dc:creator>benzwu</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[Like]]></category>
		<category><![CDATA[SMF]]></category>

		<guid isPermaLink="false">http://benzwu.com/?p=863</guid>
		<description><![CDATA[Here is the problem, Since SMF will add PHPSESSID at the URL for guest for 4 or 5 times first access, the facebook linter will return the URL with PHPSESSID and that would be undesired since it will not unique since PHPSESSID will be changing time to time and you won&#8217;t seeing the actual number [...]]]></description>
			<content:encoded><![CDATA[<p>Here is the problem,</p>
<p>Since SMF will add PHPSESSID at the URL for guest for 4 or 5 times first access, the facebook linter will return the URL with PHPSESSID and that would be undesired since it will not unique since PHPSESSID will be changing time to time and you won&#8217;t seeing the actual number of person click the like button.</p>
<p>And now is the solution,</p>
<p>In old days, SMF have similar issue when bot indexing SMF and it have been resolved. For Facebook we will use the same solution too. Just add the user-agent along with other bot.</p>
<p>Facebook said their linter come with facebooktexternalhist/1.1 user-agent string but the actual Like button it seems using other user-agent string. I just too lazy to open up the log so I just use facebook instead to capture the &#8220;linter&#8221; and it works.</p>
<p>Hope this will save you few hours of confusion that was happened to me.</p>
<p>Cheers</p>
]]></content:encoded>
			<wfw:commentRss>http://benzwu.com/2010/08/smf-2-and-facebook-like-button/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5Boilerplate, proven HTML5 Template</title>
		<link>http://benzwu.com/2010/08/html5boilerplate-proven-html5-template/</link>
		<comments>http://benzwu.com/2010/08/html5boilerplate-proven-html5-template/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 11:44:16 +0000</pubDate>
		<dc:creator>benzwu</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Template]]></category>

		<guid isPermaLink="false">http://benzwu.com/?p=855</guid>
		<description><![CDATA[Just in case you need to build ground up on HTML based web, even though in this &#8220;cms everywhere&#8221; era, or maybe you want to build your theme, HTML5Boilerplate could be as the starting point. Here is advertised on the website, After more than two years in iterative development, you get the best of the [...]]]></description>
			<content:encoded><![CDATA[<p>Just in case you need to build ground up on HTML based web, even though in this &#8220;cms everywhere&#8221; era, or maybe you want to build your theme, HTML5Boilerplate could be as the starting point.</p>
<p>Here is advertised on the website,</p>
<blockquote><p>After more than two years in iterative development, you get the best of the best practices baked in: cross-browser normalization, performance optimizations, even optional features like cross-domain ajax and flash. A starter apache .htaccess config file hooks you the eff up with caching rules and preps your site to serve HTML5 video, use @font-face, and get your gzip zipple on.</p></blockquote>
<p>Please note that</p>
<blockquote><p>Boilerplate is not a framework, nor does it prescribe any philosophy of development, it&#8217;s just got some tricks to get your project off the ground quickly and right-footed.</p></blockquote>
<p>Go get it at http://html5boilerplate.com/</p>
]]></content:encoded>
			<wfw:commentRss>http://benzwu.com/2010/08/html5boilerplate-proven-html5-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blocking Ads Without Tools</title>
		<link>http://benzwu.com/2010/05/blocking-ads-without-tools/</link>
		<comments>http://benzwu.com/2010/05/blocking-ads-without-tools/#comments</comments>
		<pubDate>Sat, 22 May 2010 13:55:59 +0000</pubDate>
		<dc:creator>benzwu</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Ad]]></category>

		<guid isPermaLink="false">http://benzwu.com/?p=734</guid>
		<description><![CDATA[Blocking ads is easy these days but I happened to hit the wall few times on my OS X. Glimmer Blocker is not facebook ajax upload friendl. Chrome plugin does not really block but hide the element only. I decided to do it hard way by mapping ad delivery network host to localhost ip. To [...]]]></description>
			<content:encoded><![CDATA[<p>Blocking ads is easy these days but I happened to hit the wall few times on my OS X. Glimmer Blocker is not facebook ajax upload friendl. Chrome plugin does not really block but hide the element only. I decided to do it hard way by mapping ad delivery network host to localhost ip.</p>
<p>To start, I found http://someonewhocares.org/hosts/ have extensive list and still maintained. Go there and find the instruction on that page.</p>
]]></content:encoded>
			<wfw:commentRss>http://benzwu.com/2010/05/blocking-ads-without-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jquery ui dialog with iframe</title>
		<link>http://benzwu.com/2010/01/jquery-ui-dialog-with-iframe/</link>
		<comments>http://benzwu.com/2010/01/jquery-ui-dialog-with-iframe/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 14:12:00 +0000</pubDate>
		<dc:creator>benzwu</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[dialog]]></category>
		<category><![CDATA[iframe]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[jqueryui]]></category>

		<guid isPermaLink="false">http://benzwu.com/?p=719</guid>
		<description><![CDATA[If you ever come across those combination, you&#8217;ll know where this post will lead. Whether we fire the dialog on the iframe element, the contained iframe in the dialog will adjusted it&#8217;s width to &#8216;standard&#8217; 150px regardless the dialog&#8217; width and iframe&#8217; width setting. To put it another way, you call dialog to show in [...]]]></description>
			<content:encoded><![CDATA[<p>If you ever come across those combination, you&#8217;ll know where this post will lead.</p>
<p>Whether we fire the dialog on the iframe element, the contained iframe in the dialog will adjusted it&#8217;s width to &#8216;standard&#8217; 150px regardless the dialog&#8217; width and iframe&#8217; width setting. To put it another way, you call dialog to show in 300px but the iframe contained only fill half of the dialog and leaving plain blank on the rest.</p>
<p>It&#8217;s been a pain to be in the situation but you really have to use those combination. I&#8217;ve been tinkering with it with no luck and luckily my hunch lead to the solution.</p>
<p>The key is to resize the iframe to fill the margin AFTER the dialog opened. Put it at the open event of the dialog.</p>
<blockquote><p>$(&#8220;#theiframe&#8221;).dialog({<br />
bgiframe: true,<br />
modal: true,<br />
width:600,<br />
height:480,<br />
close: function(event, ui) { $(this).dialog(&#8216;destroy&#8217;) },<br />
<strong>open: function (event,ui) {$(this).css(&#8220;width&#8221;,&#8221;100%&#8221;)}</strong><br />
});<br />
}</p></blockquote>
<p>That should do the trick!</p>
]]></content:encoded>
			<wfw:commentRss>http://benzwu.com/2010/01/jquery-ui-dialog-with-iframe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Chrome on Mac 4.0.221.8</title>
		<link>http://benzwu.com/2009/10/google-chrome-on-mac-4-0-221-8/</link>
		<comments>http://benzwu.com/2009/10/google-chrome-on-mac-4-0-221-8/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 14:44:39 +0000</pubDate>
		<dc:creator>benzwu</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Chrome]]></category>

		<guid isPermaLink="false">http://benzwu.com/?p=704</guid>
		<description><![CDATA[Recently I switch to Chrome at 4.0.221.8. In this build the flash is working fine, no more 100% cpu usage like the older build. No crash for this whole day browsing. Currently I&#8217;m using puk-puk theme. Looks great. This build is quite stable and pretty usable for now. Let see in coming weeks then.]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-705" title="google-chrome" src="http://benzwu.com/wp-content/uploads/2009/10/google-chrome.gif" alt="google-chrome" width="128" height="128" />Recently I switch to Chrome at 4.0.221.8. In this build the flash is working fine, no more 100% cpu usage like the older build. No crash for this whole day browsing. Currently I&#8217;m using puk-puk theme. Looks great.</p>
<p>This build is quite stable and pretty usable for now. Let see in coming weeks then.</p>
]]></content:encoded>
			<wfw:commentRss>http://benzwu.com/2009/10/google-chrome-on-mac-4-0-221-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Do you have a facebook account sir?</title>
		<link>http://benzwu.com/2009/08/do-you-have-a-facebook-account-sir/</link>
		<comments>http://benzwu.com/2009/08/do-you-have-a-facebook-account-sir/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 14:17:55 +0000</pubDate>
		<dc:creator>benzwu</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[fifth grader]]></category>

		<guid isPermaLink="false">http://benzwu.com/?p=665</guid>
		<description><![CDATA[Today I was asked by a fifth grader whether I have a facebook account or not and asked my email address. err&#8230; What? I guess these things adopted very fast on nowadays generations. I guess I should start creating facebook account for my first grader now.]]></description>
			<content:encoded><![CDATA[<p><img src="http://benzwu.com/wp-content/uploads/2009/08/facebook.jpeg" alt="facebook" title="facebook" style="margin: 10px;" width="150" height="56" class="alignleft size-full wp-image-625" />Today I was asked by a fifth grader whether I have a facebook account or not and asked my email address. err&#8230; What? I guess these things adopted very fast on nowadays generations. I guess I should start creating facebook account for my first grader now.</p>
]]></content:encoded>
			<wfw:commentRss>http://benzwu.com/2009/08/do-you-have-a-facebook-account-sir/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Brute, Online Fighting Game &#8211; English Version of La Brute</title>
		<link>http://benzwu.com/2009/05/my-brute-online-fighting-game-english-version-of-la-brute/</link>
		<comments>http://benzwu.com/2009/05/my-brute-online-fighting-game-english-version-of-la-brute/#comments</comments>
		<pubDate>Sun, 31 May 2009 02:13:04 +0000</pubDate>
		<dc:creator>benzwu</dc:creator>
				<category><![CDATA[Game]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Fighting]]></category>
		<category><![CDATA[Online]]></category>

		<guid isPermaLink="false">http://benzwu.com/?p=647</guid>
		<description><![CDATA[I mentioned La Brute in my old post several months ago. It&#8217;s quite fun, daily fights with random skills and weapons for few minutes break time. The main problem is it&#8217;s in french. Don&#8217;t know for sure the description of each skill obtained. Recently, I just found out that La Brute incarnate into english named [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-653" title="mybrutefight" src="http://benzwu.com/wp-content/uploads/2009/05/mybrutefight.jpg" alt="mybrutefight" width="494" height="295" /></p>
<p><img class="alignleft size-full wp-image-648" style="margin: 10px;" title="mybrute" src="http://benzwu.com/wp-content/uploads/2009/05/mybrute.jpg" alt="mybrute" width="171" height="171" />I mentioned <a href="http://benzwu.com/2008/08/11/la-brute-online-fighting-game/">La Brute in my old post</a> several months ago. It&#8217;s quite fun, daily fights with random skills and weapons for few minutes break time. The main problem is it&#8217;s in french. Don&#8217;t know for sure the description of each skill obtained.</p>
<p>Recently, I just found out that La Brute incarnate into english named My Brute. The concept is just the same, 3 daily fights (for initial after join you got 6 fights), random stat bonus-weapon-skill at level up, pick your &#8220;enemy&#8221; from the list and sit back watch the fight. They now have &#8220;clan&#8221; feature too. You can join any clan and create your own clan at level 10.</p>
<p>If you want some fight at break time, you should try this out. <a href="http://benzwu.mybrute.com">Click here to create your character now and let&#8217;s rumble, hiiiyaaaaaa *warcry*</a></p>
<p>ps: don&#8217;t forget to add password to your brute.</p>
]]></content:encoded>
			<wfw:commentRss>http://benzwu.com/2009/05/my-brute-online-fighting-game-english-version-of-la-brute/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opera&#039;s April fool</title>
		<link>http://benzwu.com/2009/04/operas-april-fool/</link>
		<comments>http://benzwu.com/2009/04/operas-april-fool/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 05:33:29 +0000</pubDate>
		<dc:creator>benzwu</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[April Fool]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[Opera]]></category>

		<guid isPermaLink="false">http://benzwu.com/?p=616</guid>
		<description><![CDATA[I was one of the victim of Opera&#8217;s April Fool but luckily I haven&#8217;t try it by my self. Opera said they launched face gesture feature into Opera 10 Alpha. Here is the hillarious known issues using face gesture, Beards and hair styles Face Gestures is compatible with most types of facial hair and haircuts. [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-617" style="margin: 10px;" title="opera" src="http://benzwu.com/wp-content/uploads/2009/04/opera.jpg" alt="opera" width="80" height="67" />I was one of the victim of Opera&#8217;s April Fool but luckily I haven&#8217;t try it by my self. <a href="http://labs.opera.com/news/2009/04/01/">Opera said they launched face gesture feature into Opera 10 Alpha</a>. Here is the hillarious known issues using face gesture,</p>
<blockquote><p><strong>Beards and hair styles</strong><br />
Face Gestures is compatible with most types of facial hair and haircuts. But if your face is covered with more than 25% of facial hair, recognition errors may occur. Please note that handlebars and goatees are compatible independently but if combined recognition will decrease. At the moment soul-patches crashes the browser and it refuses to relaunch, we are looking into this problem. Bushmen beards and emo haircuts are not supported.</p>
<p><strong>Adult Web sites</strong><br />
Users visiting Web sites that contain adult content sometimes make unconscious facial expressions. If Opera keeps opening Speed Dial and Zooming In and Out, please be aware that this not a bug. It may be useful to disable Face Gestures for a better experience. Also remember that wiping your cache is recommend after visiting untrusted websites.</p>
<p><strong>Financial Web sites</strong><br />
For compatibility reasons Face Gestures auto-detects financial news services and disables itself. The current version of the recognition software is unable to adapt fast enough to the sudden change in the users expression map. As soon as the new version is available you will be prompted to install stimulus_package.patch.</p></blockquote>
<p>Watch the demo here,<br />
<object width="445" height="284" data="http://www.youtube.com/v/kkNxbyp6thM&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x5d1719&amp;color2=0xcd311b&amp;border=1" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/kkNxbyp6thM&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x5d1719&amp;color2=0xcd311b&amp;border=1" /><param name="allowfullscreen" value="true" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://benzwu.com/2009/04/operas-april-fool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Safari+=Chrome</title>
		<link>http://benzwu.com/2009/02/safarichrome/</link>
		<comments>http://benzwu.com/2009/02/safarichrome/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 01:04:01 +0000</pubDate>
		<dc:creator>benzwu</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://benzwu.com/?p=584</guid>
		<description><![CDATA[The new Safari 4 is really add features in Chrome like tab in window bar and most frequently page but in cool way. I really like how the Top Sites, Cover Flow History, Cover Flow Bookmarks are presented. Apple DO know how to make things look good. The JS is snappier compared to previous Safari [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-588" style="margin: 10px;" title="safari" src="http://benzwu.com/wp-content/uploads/2009/02/safari.png" alt="safari" width="93" height="102" />The new Safari 4 is really add features in Chrome like tab in window bar and most frequently page but in cool way. I really like how the Top Sites, Cover Flow History, Cover Flow Bookmarks are presented. Apple DO know how to make things look good.</p>
<p>The JS is snappier compared to previous Safari and Opera but I believe Gears is still not working well in this release. One thing that keep me back to Safari is it&#8217;s performance. I like the way it scroll, so smooth. Guess I don&#8217;t need Chrome in my OSX anymore.</p>
]]></content:encoded>
			<wfw:commentRss>http://benzwu.com/2009/02/safarichrome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
