<?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>axing's blog</title>
	<atom:link href="http://xing.web.id/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://xing.web.id/blog</link>
	<description>Renew, reload, re-新の空</description>
	<lastBuildDate>Wed, 24 Jun 2009 13:14:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Another way of joining table without JOIN syntax in SQL</title>
		<link>http://xing.web.id/blog/2009/04/another-way-of-joining-table-without-join-syntax-in-sql/</link>
		<comments>http://xing.web.id/blog/2009/04/another-way-of-joining-table-without-join-syntax-in-sql/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 04:54:43 +0000</pubDate>
		<dc:creator>axing</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://xing.web.id/blog/?p=116</guid>
		<description><![CDATA[We often use JOIN syntax for joining 2 or more tables in SQL. Such as INNER JOIN, OUTER JOIN, etc. But here I found another way of joining table that much like INNER JOIN, that is by tricking WHERE syntax.
Below is the example of INNER JOIN between table Customer and Member:

SELECT customer.name, member.name
FROM customer INNER [...]]]></description>
			<content:encoded><![CDATA[<p>We often use JOIN syntax for joining 2 or more tables in SQL. Such as INNER JOIN, OUTER JOIN, etc. But here I found another way of joining table that much like INNER JOIN, that is by tricking WHERE syntax.</p>
<p>Below is the example of INNER JOIN between table Customer and Member:</p>
<div class="code-snippet">
<pre class="sql"><span style="color: #993333; font-weight: bold;">SELECT</span> customer.name, member.name</pre>
<pre class="sql"><span style="color: #993333; font-weight: bold;">FROM</span> customer <span style="color: #993333; font-weight: bold;">INNER</span> <span style="color: #993333; font-weight: bold;">JOIN</span> member</pre>
<pre class="sql">     <span style="color: #993333; font-weight: bold;">ON</span> customer.member_id = member.id</pre>
</div>
<p>Here is the magic of using WHERE syntax:</p>
<div class="code-snippet">
<pre class="sql"><span style="color: #993333; font-weight: bold;">SELECT</span> customer.name, member.name</pre>
<pre class="sql"><span style="color: #993333; font-weight: bold;">FROM</span> customer, member</pre>
<pre class="sql"><span style="color: #993333; font-weight: bold;">WHERE</span> customer.member_id = member.id</pre>
</div>
<p>Though the syntax doesn't look shorter enough, but it will be very handy for some SQL statement that joins a lot of tables.</p>
<p>This trick works fine with <a href="http://www.mysql.com/">MySQL</a> and <a href="http://hsqldb.org/">HSQLDB</a>. I haven't tried on another engine yet.</p>
<p>Tell me if i made a mistake. <img src='http://xing.web.id/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  thanks</p>
]]></content:encoded>
			<wfw:commentRss>http://xing.web.id/blog/2009/04/another-way-of-joining-table-without-join-syntax-in-sql/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Easiest Way of Making Money with Google Adsense</title>
		<link>http://xing.web.id/blog/2009/04/the-easiest-way-of-making-money-with-google-adsens/</link>
		<comments>http://xing.web.id/blog/2009/04/the-easiest-way-of-making-money-with-google-adsens/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 03:16:08 +0000</pubDate>
		<dc:creator>axing</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Google Adsense]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://xing.web.id/blog/?p=114</guid>
		<description><![CDATA[If you have Google Adsense, I bet you do know how hard it is to make money with it. You have to master all of webby things such as analyzing visitors, maintain your traffic, SEO, writing nice article, and a dozen of skills which to make your website a making money website.
Google Adsense is hard, [...]]]></description>
			<content:encoded><![CDATA[<p>If you have Google Adsense, I bet you do know how hard it is to make money with it. You have to master all of webby things such as analyzing visitors, maintain your traffic, SEO, writing nice article, and a dozen of skills which to make your website a making money website.</p>
<p>Google Adsense is hard, but if you keep focus and learning how it works, making money is no more just like flapping your hand. Imagine how beautiful your life is by seeing those earning digits jumping everyday...</p>
<p>Here I want to share the <strong>fastest</strong> and the <strong>easiest</strong> way to make money with Google Adsense. But before that, you might want to see how much I have earned today. See the screenshot below:</p>
<p><a href="http://xing.web.id/blog/wp-content/uploads/2009/04/googleads.jpg"><img class="alignnone size-medium wp-image-115" title="Google Adsense" src="http://xing.web.id/blog/wp-content/uploads/2009/04/googleads-300x161.jpg" alt="Google Adsense" width="300" height="161" /></a></p>
<p>Click <a href="http://googleadsensegenerator.com/" target="_blank">here</a> for the sake of your better life!</p>
]]></content:encoded>
			<wfw:commentRss>http://xing.web.id/blog/2009/04/the-easiest-way-of-making-money-with-google-adsens/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Outbound to Pulau Putri</title>
		<link>http://xing.web.id/blog/2009/03/outbound-to-pulau-putri/</link>
		<comments>http://xing.web.id/blog/2009/03/outbound-to-pulau-putri/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 04:30:51 +0000</pubDate>
		<dc:creator>axing</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Friends]]></category>
		<category><![CDATA[Outbound]]></category>

		<guid isPermaLink="false">http://xing.web.id/blog/?p=112</guid>
		<description><![CDATA[Update: Click here to see photos
Yesterday I was invited by Atek to go to Pulau Putri today. He also asked me to invite the others, the more the merrier. Well, I don't know what is he up to, suddenly invite all of us.
Today's weather is sunny, it's undoubtedly a great day for playing at the [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update: </strong><a href="http://www.facebook.com/album.php?aid=118703&amp;id=1514943303&amp;l=663851285d" target="_blank">Click here to see photos</a></p>
<p>Yesterday I was invited by Atek to go to Pulau Putri today. He also asked me to invite the others, the more the merrier. Well, I don't know what is he up to, suddenly invite all of us.</p>
<p>Today's weather is sunny, it's undoubtedly a great day for playing at the beach and adventuring. Pulau Putri, I never been there before. So I did a search and I found <a href="http://ghazyan.wordpress.com/2008/06/15/pulau-puteri-pulau-terluar-batam/">an article</a> that wrote about Pulau Putri.</p>
<p>By the way, this is my third outbound to island outside Batam. The first time was to Belakangpadang with Nengsih (her hometown), Kristian, and some of my friends (ouch, I forgot some, it was 6 years ago). The second was to Pulau Panjang with Aheng, Apek, Atek, Jimmy, Michael, Stone, and Apek's parent.</p>
<p>2 hours more to go there soon...</p>
]]></content:encoded>
			<wfw:commentRss>http://xing.web.id/blog/2009/03/outbound-to-pulau-putri/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today&#8217;s Big Events and Trivial Things</title>
		<link>http://xing.web.id/blog/2009/03/todays-big-events-and-trivial-things/</link>
		<comments>http://xing.web.id/blog/2009/03/todays-big-events-and-trivial-things/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 11:44:48 +0000</pubDate>
		<dc:creator>axing</dc:creator>
				<category><![CDATA[Blogging]]></category>

		<guid isPermaLink="false">http://xing.web.id/blog/?p=108</guid>
		<description><![CDATA[Big events:

According to Chinese Calendar, today (precisely at 11:44 UT or 18:44 West Indonesia Time which is my local time) is the middle of spring season or scientifically called Vernal Equinox. It is an astronomical event where the Sun is vertically above a point on the Equator, when duration of daytime is roughly equal to nighttime.
Today is the [...]]]></description>
			<content:encoded><![CDATA[<p>Big events:</p>
<ul>
<li>According to Chinese Calendar, today (precisely at 11:44 UT or 18:44 West Indonesia Time which is my local time) is the middle of spring season or scientifically called <a title="Equinox - Wikipedia" href="http://en.wikipedia.org/wiki/Equinox" target="_blank">Vernal Equinox</a>. It is an astronomical event where the Sun is vertically above a point on the Equator, when duration of daytime is roughly equal to nighttime.</li>
<li>Today is the first <a title="Earth Day - Wikipedia" href="http://en.wikipedia.org/wiki/Earth_Day" target="_blank">Earth Day</a> of the year (the second Earth Day is on April 22). Wow, there are 2 Earth Days, I just knew it. I think only just few people know it.</li>
</ul>
<p>Trivial things:</p>
<ul>
<li>Today is my last day of membership at a fitness center. Last year, my friends (Apek, Atek, Jim, Stone) and I registered and became member of Blue Horizon Fitness Center which is located at Planet Holiday Hotel, 5th floor. The reason why we chose there, well, I forgot. Even we (I think only myself) don't seem to be so fit enough, but during those days we had lotsa fun, and done some crazy things. Today we decided to go there for the last time (don't know when we will be there again), and will be taken some photos for memento.</li>
<li>Today is the last day that we (yes, we again: Apek, Atek, Jim, Stone, and me) supposed to be prepared all stuff, because we have planned to go traveling tomorrow. But, due to some lame reason, 2 persons can't go. It's postponed to the next few months.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://xing.web.id/blog/2009/03/todays-big-events-and-trivial-things/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sunsets in last 4 months</title>
		<link>http://xing.web.id/blog/2009/02/sunsets-in-last-4-months/</link>
		<comments>http://xing.web.id/blog/2009/02/sunsets-in-last-4-months/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 12:58:58 +0000</pubDate>
		<dc:creator>axing</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[Sunset]]></category>

		<guid isPermaLink="false">http://xing.web.id/blog/?p=106</guid>
		<description><![CDATA[I took these sunset scenes in last 4 months. Here I share:

Sunset on 14 Nov 2008

Sunset on 26 Dec 2008

Sunset on 23 Jan 2009

Sunset on 18 Feb 2009
]]></description>
			<content:encoded><![CDATA[<p>I took these sunset scenes in last 4 months. Here I share:</p>
<p><a title="Sunset in November '08 by axing, on Flickr" href="http://www.flickr.com/photos/30998175@N07/3315487725/"><img src="http://farm4.static.flickr.com/3352/3315487725_3e6b88b89c.jpg" alt="Sunset in November '08" width="500" height="375" /></a><br />
<small>Sunset on 14 Nov 2008</small></p>
<p><a title="Sunset in December '08 by axing, on Flickr" href="http://www.flickr.com/photos/30998175@N07/3316315430/"><img src="http://farm4.static.flickr.com/3549/3316315430_d570010bb5.jpg" alt="Sunset in December '08" width="500" height="375" /></a><br />
<small>Sunset on 26 Dec 2008</small></p>
<p><a title="Sunset in January '09 by axing, on Flickr" href="http://www.flickr.com/photos/30998175@N07/3316314956/"><img src="http://farm4.static.flickr.com/3475/3316314956_5f44e9008b.jpg" alt="Sunset in January '09" width="500" height="375" /></a><br />
<small>Sunset on 23 Jan 2009</small></p>
<p><a title="Sunset in February '09 by axing, on Flickr" href="http://www.flickr.com/photos/30998175@N07/3315489409/"><img src="http://farm4.static.flickr.com/3614/3315489409_b0559a9342.jpg" alt="Sunset in February '09" width="500" height="375" /></a><br />
<small>Sunset on 18 Feb 2009</small></p>
]]></content:encoded>
			<wfw:commentRss>http://xing.web.id/blog/2009/02/sunsets-in-last-4-months/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Latest jQuery v1.3.2&#8217;s bug on WebKit</title>
		<link>http://xing.web.id/blog/2009/02/latest-jquery-v132s-bug-on-webkit/</link>
		<comments>http://xing.web.id/blog/2009/02/latest-jquery-v132s-bug-on-webkit/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 10:06:18 +0000</pubDate>
		<dc:creator>axing</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[slickspeed]]></category>
		<category><![CDATA[WebKit]]></category>

		<guid isPermaLink="false">http://xing.web.id/blog/?p=97</guid>
		<description><![CDATA[I found a bug (may be a browser bug) which is happen on my favorite framework, the latest version of jQuery (v1.3.2) on WebKit browser when I was trying slickspeed with some popular JavaScript Frameworks.
Here the screenshots:
Safari 3.1.2

Chrome 1.0.154.48
 
No problem found in Safari 3.1.2 Nightly, Firefox 3.0.6, Opera 9.63 and IE7.
Test the slickspeed here: http://xing.web.id/slickspeed/
Selectors I [...]]]></description>
			<content:encoded><![CDATA[<p>I found a bug (may be a browser bug) which is happen on my favorite framework, the latest version of <a title="jQuery" href="http://jquery.com" target="_blank">jQuery</a> (<a title="v1.3.2" href="http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.3.2.min.js" target="_blank">v1.3.2</a>) on WebKit browser when I was trying <a title="slickspeed" href="http://xing.web.id/slickspeed/" target="_blank">slickspeed</a> with some popular JavaScript Frameworks.</p>
<p>Here the screenshots:</p>
<p><a title="View this screenshot" href="http://xing.web.id/blog/wp-content/uploads/2009/02/slickspeed-safari.jpg" target="_blank">Safari 3.1.2</a><br />
<a href="http://xing.web.id/blog/wp-content/uploads/2009/02/slickspeed-safari.jpg" target="_blank"><img class="alignnone size-medium wp-image-102" title="Click here to enlarge" src="http://xing.web.id/blog/wp-content/uploads/2009/02/slickspeed-safari-300x102.jpg" alt="slickspeed-safari" width="300" height="102" /></a></p>
<p><a title="View this screenshot" href="http://xing.web.id/blog/wp-content/uploads/2009/02/slickspeed-chrome.jpg" target="_blank">Chrome 1.0.154.48</a><br />
<a href="http://xing.web.id/blog/wp-content/uploads/2009/02/slickspeed-chrome.jpg" target="_blank"><img class="alignnone size-medium wp-image-104" title="Click here to enlarge" src="http://xing.web.id/blog/wp-content/uploads/2009/02/slickspeed-chrome-300x113.jpg" alt="slickspeed-chrome" width="300" height="113" /></a> </p>
<p>No problem found in <a title="View this screenshot" href="http://xing.web.id/blog/wp-content/uploads/2009/02/slickspeed-safari-nightly.jpg" target="_blank">Safari 3.1.2 Nightly</a>, <a title="View this screenshot" href="http://xing.web.id/blog/wp-content/uploads/2009/02/slickspeed-firefox.jpg" target="_blank">Firefox 3.0.6</a>, <a title="View this screenshot" href="http://xing.web.id/blog/wp-content/uploads/2009/02/slickspeed-opera.jpg" target="_blank">Opera 9.63</a> and <a title="View this screenshot" href="http://xing.web.id/blog/wp-content/uploads/2009/02/slickspeed-ie.jpg" target="_blank">IE7</a>.</p>
<p>Test the slickspeed here: <a href="http://xing.web.id/slickspeed/" target="_blank">http://xing.web.id/slickspeed/</a></p>
<p>Selectors I used:</p>
<ul>
<li>p:nth-child(even)</li>
<li>p:nth-child(n)[class] &gt; a</li>
<li>p:nth-child(even)</li>
<li>p:nth-child(n)[class] &gt; a</li>
<li>p:nth-child(even)</li>
<li>p:nth-child(n)[class] &gt; a</li>
<li>p:nth-child(even)</li>
<li>p:nth-child(n)[class] &gt; a</li>
<li>p:nth-child(even)</li>
<li>p:nth-child(n)[class] &gt; a</li>
</ul>
<p>JavaScript Frameworks I used:</p>
<ul>
<li><a href="http://jquery.com/" target="_blank">jQuery 1.2.6</a></li>
<li><a href="http://jquery.com/" target="_blank">jQuery 1.3.2</a></li>
<li><a href="http://www.dojotoolkit.org/" target="_blank">Dojo 1.2.3</a></li>
<li><a href="http://mootools.net/" target="_blank">MooTools 1.2.1</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://xing.web.id/blog/2009/02/latest-jquery-v132s-bug-on-webkit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chinese New Year 2009</title>
		<link>http://xing.web.id/blog/2009/02/chinese-new-year-2009/</link>
		<comments>http://xing.web.id/blog/2009/02/chinese-new-year-2009/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 17:30:39 +0000</pubDate>
		<dc:creator>axing</dc:creator>
				<category><![CDATA[Event]]></category>
		<category><![CDATA[Friends]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[CNY]]></category>
		<category><![CDATA[Occasion]]></category>
		<category><![CDATA[Picasaweb]]></category>

		<guid isPermaLink="false">http://xing.web.id/blog/?p=95</guid>
		<description><![CDATA[Day 1



Day 2





Day 3


View album
]]></description>
			<content:encoded><![CDATA[<p>Day 1<br />
<a href="http://picasaweb.google.com/lh/photo/aTSGjB5nXeTsRQq7wxHS3w?feat=embedwebsite"><img src="http://lh6.ggpht.com/_CRPag8w7i2c/SYxQTFCBThI/AAAAAAAAAyA/CLLXqzS7Rjs/s144/DSCN4347.JPG" alt="" /></a><a href="http://picasaweb.google.com/lh/photo/aFcAbRU8ZIoPOXDL0a5a8Q?feat=embedwebsite"><img src="http://lh5.ggpht.com/_CRPag8w7i2c/SYxQTNXI3fI/AAAAAAAAAyI/qct7ZYe07Ro/s144/DSCN4387.JPG" alt="" /></a><br />
<a href="http://picasaweb.google.com/lh/photo/0lb8Irz5PreV2HsLugCXaQ?feat=embedwebsite"><img src="http://lh4.ggpht.com/_CRPag8w7i2c/SYxQTG1rWDI/AAAAAAAAAyQ/IXPrDE93qgo/s144/DSCN4396.JPG" alt="" /></a><a href="http://picasaweb.google.com/lh/photo/ewnJCWdejruMBCR8nBCU7Q?feat=embedwebsite"><img src="http://lh5.ggpht.com/_CRPag8w7i2c/SYxQ6B8wjKI/AAAAAAAAAyY/X7VArL1bQQE/s144/DSCN4403.JPG" alt="" /></a></p>
<p><a href="http://picasaweb.google.com/lh/photo/NjFkwIQw6KIjn1-uBEZduw?feat=embedwebsite"><img src="http://lh6.ggpht.com/_CRPag8w7i2c/SYxQ6Fy1TbI/AAAAAAAAAyo/vlrWDwDwBX0/s288/DSCN4438.JPG" alt="" /></a></p>
<p>Day 2<br />
<a href="http://picasaweb.google.com/lh/photo/WhPs3Ayxb_YByi97uPPVqA?feat=embedwebsite"><img src="http://lh4.ggpht.com/_CRPag8w7i2c/SYxRmJADwPI/AAAAAAAAAzE/HRnYfo02XnA/s144/DSCN4448.JPG" alt="" /></a><a href="http://picasaweb.google.com/lh/photo/3bvSCnuCw8LTMG0aCv6nbw?feat=embedwebsite"><img src="http://lh6.ggpht.com/_CRPag8w7i2c/SYxRmDY9e7I/AAAAAAAAAzU/4gpKW25_RjY/s144/DSCN4454.JPG" alt="" /></a><br />
<a href="http://picasaweb.google.com/lh/photo/zG6pU8N1P5aQDVxiwCEGMA?feat=embedwebsite"><img src="http://lh5.ggpht.com/_CRPag8w7i2c/SYxRmfDbSLI/AAAAAAAAAzc/3Uo8RoAjtxY/s144/DSCN4465.JPG" alt="" /></a><a href="http://picasaweb.google.com/lh/photo/NYKNpRswSJAH2Q-EavNnRg?feat=embedwebsite"><img src="http://lh4.ggpht.com/_CRPag8w7i2c/SYxRmX_yIrI/AAAAAAAAAzk/EaSkWfQ3WP0/s144/DSCN4473.JPG" alt="" /></a></p>
<p><a href="http://picasaweb.google.com/lh/photo/DxVHh_E3mASX-HrCGBSUOA?feat=embedwebsite"><img src="http://lh3.ggpht.com/_CRPag8w7i2c/SYxSpTJ1JHI/AAAAAAAAAzs/r_V1lqEBoks/s144/DSCN4475.JPG" alt="" /></a><a href="http://picasaweb.google.com/lh/photo/SSfX8JZ3MxvaXl6oZwolTw?feat=embedwebsite"><img src="http://lh6.ggpht.com/_CRPag8w7i2c/SYxSpoSXv6I/AAAAAAAAAz8/s3WvIpWkuuc/s144/DSCN4486.JPG" alt="" /></a><br />
<a href="http://picasaweb.google.com/lh/photo/bLswb84tpMkJXocGUiMDRQ?feat=embedwebsite"><img src="http://lh4.ggpht.com/_CRPag8w7i2c/SYxTTZdOfhI/AAAAAAAAA0U/L71s_8NfuDk/s144/DSCN4492.JPG" alt="" /></a><a href="http://picasaweb.google.com/lh/photo/XtKGy9PSIvPbKPwqz4d43w?feat=embedwebsite"><img src="http://lh3.ggpht.com/_CRPag8w7i2c/SYxTTXqddqI/AAAAAAAAA0c/jbqG4R9ltks/s144/DSCN4495.JPG" alt="" /></a></p>
<p><a href="http://picasaweb.google.com/lh/photo/M8x6us2RHxQnN3YnlJ5OAg?feat=embedwebsite"><img src="http://lh3.ggpht.com/_CRPag8w7i2c/SYxTTjNoUCI/AAAAAAAAA0s/t_J5xHM8n4c/s288/DSCN4499.JPG" alt="" /></a></p>
<p>Day 3<br />
<a href="http://picasaweb.google.com/lh/photo/5mlJTtB61fYZsy8Uu8V1KQ?feat=embedwebsite"><img src="http://lh4.ggpht.com/_CRPag8w7i2c/SYxT8GOr6dI/AAAAAAAAA1M/pnwWkWYp6ck/s144/DSCN4533.JPG" alt="" /></a><a href="http://picasaweb.google.com/lh/photo/Co2sZTDJS3kwfTFeKJ4_5A?feat=embedwebsite"><img src="http://lh5.ggpht.com/_CRPag8w7i2c/SYxUMa83_cI/AAAAAAAAA1o/wizu-YtarlU/s144/DSCN4563.JPG" alt="" /></a></p>
<p><a href="http://picasaweb.google.com/lh/photo/kcMZUJ_ZApmUh4rdYPXIhA?feat=embedwebsite"><img src="http://lh4.ggpht.com/_CRPag8w7i2c/SYxT81ZUBlI/AAAAAAAAA1c/h02UGVO9_lo/s288/DSCN4543.JPG" alt="" /></a></p>
<p><a href="http://picasaweb.google.com/axing21/ChineseNewYear2009" target="_blank">View album</a></p>
]]></content:encoded>
			<wfw:commentRss>http://xing.web.id/blog/2009/02/chinese-new-year-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP.JS &#8211; Use PHP functions in JavaScript</title>
		<link>http://xing.web.id/blog/2009/02/phpjs-use-php-functions-in-javascript/</link>
		<comments>http://xing.web.id/blog/2009/02/phpjs-use-php-functions-in-javascript/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 06:31:54 +0000</pubDate>
		<dc:creator>axing</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Library]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://xing.web.id/blog/?p=94</guid>
		<description><![CDATA[PHP.JS is an open source project in which to port PHP functions to JavaScript. The library is developed by Kevin van Zonneveld and his contributors, and they have been working hard in adding more functions into it. By including this library into your own web projects, you can use those higher-level PHP functions such as file_get_contents(), [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://phpjs.org/" target="_blank">PHP.JS</a> is an open source project in which to port PHP functions to JavaScript. The library is developed by <a href="http://kevin.vanzonneveld.net/" target="_blank">Kevin van Zonneveld</a> and <a href="http://phpjs.org/authors/index" target="_blank">his contributors</a>, and they have been working hard in adding more functions into it. By including this library into your own web projects, you can use those higher-level PHP functions such as <code>file_get_contents()</code>, <code>mktime()</code>, <code>serialize()</code>, etc which JavaScript doesn't support them natively.</p>
<p>Here is a piece of sample code of PHP's encryption function: <code>base64_encode()</code>:</p>
<div class="code-snippet">
<pre class="javascript"><span style="color: #003366; font-weight: bold;">function</span> base64_encode<span style="color: #66cc66;">&#40;</span> data <span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></pre>
<pre class="javascript">&nbsp;</pre>
<pre class="javascript">    <span style="color: #003366; font-weight: bold;">var</span> b64 = <span style="color: #3366CC;">&quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=&quot;</span>;</pre>
<pre class="javascript">    <span style="color: #003366; font-weight: bold;">var</span> o1, o2, o3, h1, h2, h3, h4, bits, i = ac = <span style="color: #CC0000;">0</span>, enc=<span style="color: #3366CC;">&quot;&quot;</span>, tmp_arr = <span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">&#93;</span>;</pre>
<pre class="javascript">    data = utf8_encode<span style="color: #66cc66;">&#40;</span>data<span style="color: #66cc66;">&#41;</span>;</pre>
<pre class="javascript">&nbsp;</pre>
<pre class="javascript">    <span style="color: #000066; font-weight: bold;">do</span> <span style="color: #66cc66;">&#123;</span></pre>
<pre class="javascript">        o1 = data.<span style="color: #006600;">charCodeAt</span><span style="color: #66cc66;">&#40;</span>i++<span style="color: #66cc66;">&#41;</span>;</pre>
<pre class="javascript">        o2 = data.<span style="color: #006600;">charCodeAt</span><span style="color: #66cc66;">&#40;</span>i++<span style="color: #66cc66;">&#41;</span>;</pre>
<pre class="javascript">        o3 = data.<span style="color: #006600;">charCodeAt</span><span style="color: #66cc66;">&#40;</span>i++<span style="color: #66cc66;">&#41;</span>;</pre>
<pre class="javascript">&nbsp;</pre>
<pre class="javascript">        bits = o1&lt;&lt;<span style="color: #CC0000;">16</span> | o2&lt;&lt;<span style="color: #CC0000;">8</span> | o3;</pre>
<pre class="javascript">&nbsp;</pre>
<pre class="javascript">        h1 = bits&gt;&gt;<span style="color: #CC0000;">18</span> &amp; 0x3f;</pre>
<pre class="javascript">        h2 = bits&gt;&gt;<span style="color: #CC0000;">12</span> &amp; 0x3f;</pre>
<pre class="javascript">        h3 = bits&gt;&gt;<span style="color: #CC0000;">6</span> &amp; 0x3f;</pre>
<pre class="javascript">        h4 = bits &amp; 0x3f;</pre>
<pre class="javascript">&nbsp;</pre>
<pre class="javascript">        tmp_arr<span style="color: #66cc66;">&#91;</span>ac++<span style="color: #66cc66;">&#93;</span> = b64.<span style="color: #006600;">charAt</span><span style="color: #66cc66;">&#40;</span>h1<span style="color: #66cc66;">&#41;</span> + b64.<span style="color: #006600;">charAt</span><span style="color: #66cc66;">&#40;</span>h2<span style="color: #66cc66;">&#41;</span> + b64.<span style="color: #006600;">charAt</span><span style="color: #66cc66;">&#40;</span>h3<span style="color: #66cc66;">&#41;</span> + b64.<span style="color: #006600;">charAt</span><span style="color: #66cc66;">&#40;</span>h4<span style="color: #66cc66;">&#41;</span>;</pre>
<pre class="javascript">    <span style="color: #66cc66;">&#125;</span> <span style="color: #000066; font-weight: bold;">while</span> <span style="color: #66cc66;">&#40;</span>i &lt; data.<span style="color: #006600;">length</span><span style="color: #66cc66;">&#41;</span>;</pre>
<pre class="javascript">&nbsp;</pre>
<pre class="javascript">    enc = tmp_arr.<span style="color: #006600;">join</span><span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">''</span><span style="color: #66cc66;">&#41;</span>;</pre>
<pre class="javascript">&nbsp;</pre>
<pre class="javascript">    <span style="color: #000066; font-weight: bold;">switch</span><span style="color: #66cc66;">&#40;</span> data.<span style="color: #006600;">length</span> % <span style="color: #CC0000;">3</span> <span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></pre>
<pre class="javascript">    <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #CC0000;">1</span>:</pre>
<pre class="javascript">        enc = enc.<span style="color: #006600;">slice</span><span style="color: #66cc66;">&#40;</span><span style="color: #CC0000;">0</span>, <span style="color: #CC0000;">-2</span><span style="color: #66cc66;">&#41;</span> + <span style="color: #3366CC;">'=='</span>;</pre>
<pre class="javascript">    <span style="color: #000066; font-weight: bold;">break</span>;</pre>
<pre class="javascript">    <span style="color: #000066; font-weight: bold;">case</span> <span style="color: #CC0000;">2</span>:</pre>
<pre class="javascript">        enc = enc.<span style="color: #006600;">slice</span><span style="color: #66cc66;">&#40;</span><span style="color: #CC0000;">0</span>, <span style="color: #CC0000;">-1</span><span style="color: #66cc66;">&#41;</span> + <span style="color: #3366CC;">'='</span>;</pre>
<pre class="javascript">    <span style="color: #000066; font-weight: bold;">break</span>;</pre>
<pre class="javascript">    <span style="color: #66cc66;">&#125;</span></pre>
<pre class="javascript">&nbsp;</pre>
<pre class="javascript">    <span style="color: #000066; font-weight: bold;">return</span> enc;</pre>
<pre class="javascript"><span style="color: #66cc66;">&#125;</span></pre>
</div>
<p>The library is available in 2 different packages:</p>
<ul>
<li><a href="http://phpjs.org/compiled/php.namespaced.js" target="_blank">Namespaced</a> (<a href="http://phpjs.org/compiled/php.namespaced.min.js" target="_blank">min</a>/<a href="http://phpjs.org/compiled/php.namespaced.packed.js" target="_blank">packed</a>)- all functions are contained in one object; and</li>
<li><a href="http://phpjs.org/compiled/php.js" target="_blank">Normal</a> (<a href="http://phpjs.org/compiled/php.min.js" target="_blank">min</a>/<a href="http://phpjs.org/compiled/php.packed.js" target="_blank">packed</a>)- just a collection of standalone functions.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://xing.web.id/blog/2009/02/phpjs-use-php-functions-in-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Happy Chinese Niu Year!</title>
		<link>http://xing.web.id/blog/2009/01/happy-chinese-niu-year/</link>
		<comments>http://xing.web.id/blog/2009/01/happy-chinese-niu-year/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 03:34:29 +0000</pubDate>
		<dc:creator>axing</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://xing.web.id/blog/2009/01/happy-chinese-niu-year/</guid>
		<description><![CDATA[Wish you have a prosperous moo year.
新年新气象，牛年行大运，恭喜恭喜。
]]></description>
			<content:encoded><![CDATA[<p>Wish you have a prosperous moo year.<br />
新年新气象，牛年行大运，恭喜恭喜。</p>
]]></content:encoded>
			<wfw:commentRss>http://xing.web.id/blog/2009/01/happy-chinese-niu-year/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dealing with IE in Cross-Browser Test</title>
		<link>http://xing.web.id/blog/2009/01/dealing-with-ie-in-cross-browser-test/</link>
		<comments>http://xing.web.id/blog/2009/01/dealing-with-ie-in-cross-browser-test/#comments</comments>
		<pubDate>Sat, 24 Jan 2009 03:01:59 +0000</pubDate>
		<dc:creator>axing</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Cross-browser]]></category>

		<guid isPermaLink="false">http://xing.web.id/blog/?p=90</guid>
		<description><![CDATA[The following websites, Firefox add-ons and applications could be helpful for those web developers who are intended to test IE in cross-browser capability:

IE NetRenderer (Website, Firefox add-on)
This tools just simply show up a screenshot of your website from the submitted URL with selected IE version. This tool also available in Mozilla Firefox Add-ons, here is [...]]]></description>
			<content:encoded><![CDATA[<p>The following websites, Firefox add-ons and applications could be helpful for those web developers who are intended to test IE in cross-browser capability:</p>
<ul>
<li><a href="http://ipinfo.info/netrenderer/" target="_blank">IE NetRenderer</a> (Website, Firefox add-on)<br />
This tools just simply show up a screenshot of your website from the submitted URL with selected IE version. This tool also available in <a href="https://addons.mozilla.org/en-US/firefox/" target="_blank">Mozilla Firefox Add-ons</a>, here is the link <a href="https://addons.mozilla.org/en-US/firefox/addon/6455" target="_blank">https://addons.mozilla.org/en-US/firefox/addon/6455</a></li>
<li><a href="http://ietab.mozdev.org/" target="_blank">IE Tab</a> (Firefox add-on)<br />
This add-on can renders Microsoft Windows current IE engine on Mozilla Firefox's tab. By using this add-on, the necessary of opening the IE browser can be eliminated.</li>
<li><a href="http://browsershots.org/" target="_blank">Browsershots</a> (Website)<br />
A free open-source online service which makes screenshots of your website in different web browsers, in different operating systems. It has several options that can be set before making the screenshot, such as choosing screen size, color depth, Javascript enabling, Java and Flash which these features could be a strong point from the other similar service.<br />
The disadvantage of this service is it can't generate the screenshot <span style="font-style:italic;">on-the-fly</span>. Because the screenshot is made by a number of distributed computers who are volunteered their computers automatically takes the screenshots from their web browser and upload them to the server. The whole process could take some times</li>
<li><a href="http://tredosoft.com/Multiple_IE" target="_blank">MultipleIE</a> (Application)<br />
A very handy tool which could run almost all IE family from version 3 through 6. Unfortunately, MultipleIE doesn't support on Windows Vista.</li>
<li><a href="http://www.microsoft.com/windowsxp/virtualpc/" target="_blank">Microsoft Virtual PC 2007</a> (Application)<br />
A light-weight virtualization suite for Microsoft Windows operating systems, and it's faster than <a href="http://www.vmware.com/" target="_blank">VMWare</a> as I experienced before. If you are a Windows Vista user, using Virtual PC with the Windows XP + MultipleIE (or pre-installed IE6) can overcome the limitation of your IE testing capability. Unfortunately, Microsoft Virtual PC 2007 requires an OS with separated license key (even it works for pirated Windows, but it's illegal).</li>
<li><a href="http://www.my-debugbar.com/wiki/IETester/HomePage" target="_blank">IETester</a> (Application)<br />
IETester is a free web browser that allows you to have the rendering and javascript engines of IE8 beta 2, IE7, IE6 and IE5.5 on Microsoft Vista and XP, as well as the installed IE in the same process. This tool might not stable yet, since it's still an alpha release.</li>
</ul>
<p> </p>
<p>PS. The information above may out of date (in future), please visit their website for updated information.</p>
]]></content:encoded>
			<wfw:commentRss>http://xing.web.id/blog/2009/01/dealing-with-ie-in-cross-browser-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
