<?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>entroducing.com</title>
	<atom:link href="http://www.entroducing.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.entroducing.com</link>
	<description>to prove that i have too much time</description>
	<lastBuildDate>Sun, 15 Aug 2010 08:36:49 +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>extend wireless network: Part 2 &#8211; extend with linksys (DD-WRT)</title>
		<link>http://www.entroducing.com/view/extend-wireless-network-part-2-extend-with-linksys-dd-wrt</link>
		<comments>http://www.entroducing.com/view/extend-wireless-network-part-2-extend-with-linksys-dd-wrt#comments</comments>
		<pubDate>Sun, 15 Aug 2010 08:07:32 +0000</pubDate>
		<dc:creator>Benny</dc:creator>
				<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://www.entroducing.com/?p=264</guid>
		<description><![CDATA[<!-- Easy AdSense V2.94 -->
<!-- Post[count: 2] -->
<div class="ezAdsense adsense adsense-midtext" style="text-align:center;margin:12px;"><script type="text/javascript"><!--
google_ad_client = "pub-2129133735497044";
/* 468x60, created 7/30/10 */
google_ad_slot = "6059165703";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<!-- Easy AdSense V2.94 -->

<br this 2nd part of &#8220;extend dlink 655 wireless network with linksys (DD-WRT) and engenius routers&#8220;, I will show you how to set your linksys router (DD-WRT firmware) to connect to d-link 655 router in WDS mode. To recap, my linksys router is a repeater of my main internet router d-link655 and it is connected [...]]]></description>
			<content:encoded><![CDATA[<p>In this 2nd part of &#8220;<a href="http://www.entroducing.com/view/extend-dlink-655-wireless-network-with-linksys-dd-wrt-and-engenius-routers-part-1">extend dlink 655 wireless network with linksys (DD-WRT) and engenius routers</a>&#8220;, I will show you how to set your linksys router (DD-WRT firmware) to connect to d-link 655 router in WDS mode.</p>
<p>To recap, my linksys router is a repeater of my main internet router d-link655 and it is connected to a printer.</p>
<p><a href="http://www.entroducing.com/wp-content/uploads/2010/08/wds_layout1.jpg" rel="shadowbox[post-264];player=img;"><img class="alignnone size-full wp-image-259" title="My WDS setup" src="http://www.entroducing.com/wp-content/uploads/2010/08/wds_layout1.jpg" alt="" width="500" height="500" /></a></p>
<p><span id="more-264"></span>Click on the below screenshots below to enlarge</p>
<p>1. Configuration in basic setup.</p>
<p>Here yo set both gateway and local DNS server to 192.168.0.1</p>
<p><a href="http://www.entroducing.com/wp-content/uploads/2010/08/wds_linksys_basicsetup.png" rel="shadowbox[post-264];player=img;"><img class="alignnone size-full wp-image-278" title="wds_linksys_basicsetup" src="http://www.entroducing.com/wp-content/uploads/2010/08/wds_linksys_basicsetup.png" alt="" width="691" height="553" /></a></p>
<p>2.  Click on &#8216;Wireless&#8217; tab and &#8216;basic settings&#8217; subtab.</p>
<p>Select &#8216;Client Bridge&#8217; mode</p>
<p><a href="http://www.entroducing.com/wp-content/uploads/2010/08/wds_linksys_wireless_basic_setting.png" rel="shadowbox[post-264];player=img;"><img class="alignnone size-full wp-image-287" title="wds_linksys_wireless_basic_setting" src="http://www.entroducing.com/wp-content/uploads/2010/08/wds_linksys_wireless_basic_setting.png" alt="" width="750" height="367" /></a></p>
<p>3. Select &#8216;Wireless Security&#8217; sub tab</p>
<p>Enter your  security mode and shared key</p>
<p><a href="http://www.entroducing.com/wp-content/uploads/2010/08/wds_linksys_wirelesssecurity.png" rel="shadowbox[post-264];player=img;"><img class="alignnone size-full wp-image-288" title="wds_linksys_wirelesssecurity" src="http://www.entroducing.com/wp-content/uploads/2010/08/wds_linksys_wirelesssecurity.png" alt="" width="644" height="306" /></a></p>
<p>4. Go to &#8216;Advanced Settings&#8217;. I think I leave everything as default.</p>
<p><a href="http://www.entroducing.com/wp-content/uploads/2010/08/wds_linksys_wireless_advanced.png" rel="shadowbox[post-264];player=img;"><img class="alignnone size-full wp-image-279" title="wds_linksys_wireless_advanced" src="http://www.entroducing.com/wp-content/uploads/2010/08/wds_linksys_wireless_advanced.png" alt="" width="761" height="1095" /></a></p>
<p>5. Go to &#8216;WDS&#8217; subtab.</p>
<p>Enter your main router IP address for the first line. This is to tell your router to linked up with your main router</p>
<p><a href="http://www.entroducing.com/wp-content/uploads/2010/08/wds_linksys_wireless_wds.png" rel="shadowbox[post-264];player=img;"><img class="alignnone size-full wp-image-282" title="wds_linksys_wireless_wds" src="http://www.entroducing.com/wp-content/uploads/2010/08/wds_linksys_wireless_wds.png" alt="" width="742" height="633" /></a></p>
<p>6. Reboot both your main router and dd-wrt router and try again.</p>
<p>Does it works?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entroducing.com/view/extend-wireless-network-part-2-extend-with-linksys-dd-wrt/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to solve yellowish tint or layer in Windows 7 Photo Viewer</title>
		<link>http://www.entroducing.com/view/how-to-solve-yellowish-tint-or-layer-in-windows-7-photo-viewer</link>
		<comments>http://www.entroducing.com/view/how-to-solve-yellowish-tint-or-layer-in-windows-7-photo-viewer#comments</comments>
		<pubDate>Sun, 15 Aug 2010 07:39:08 +0000</pubDate>
		<dc:creator>Benny</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.entroducing.com/?p=266</guid>
		<description><![CDATA[One fine day, when I were viewing my photos in windows 7, I got shocked when I saw a yellowish tint or an overlayer that appeared on not only for one photo but all my photos! I googled around and found out that this is a bug or issue caused by buggy/conflicting monitor profile with [...]]]></description>
			<content:encoded><![CDATA[<p>One fine day, when I were viewing my photos in windows 7, I got shocked when I saw a yellowish tint or an overlayer that appeared on not only for one photo but all my photos!</p>
<p><a href="http://www.entroducing.com/wp-content/uploads/2010/08/yellowtingwin7photoviewer.png" rel="shadowbox[post-266];player=img;"><img class="alignnone size-full wp-image-267" title="yellowtingwin7photoviewer" src="http://www.entroducing.com/wp-content/uploads/2010/08/yellowtingwin7photoviewer.png" alt="" width="528" height="539" /></a></p>
<p>I googled around and found out that this is a bug or issue caused by buggy/conflicting monitor profile with Windows 7.</p>
<p>And here&#8217;s the step-by-step procedures to solve it.</p>
<p><span id="more-266"></span>1. Click on &#8216;start&#8217;, &#8216;control panel&#8217; and click on &#8216;Adjust screen resolution&#8217;</p>
<p><a href="http://www.entroducing.com/wp-content/uploads/2010/08/yellowtingwin7photoviewer_1.png" rel="shadowbox[post-266];player=img;"><img class="alignnone size-full wp-image-268" title="yellowtingwin7photoviewer_1" src="http://www.entroducing.com/wp-content/uploads/2010/08/yellowtingwin7photoviewer_1.png" alt="" width="530" height="329" /></a></p>
<p>2. Select &#8216;Advanced settings&#8217;</p>
<p><a href="http://www.entroducing.com/wp-content/uploads/2010/08/yellowtingwin7photoviewer_2.png" rel="shadowbox[post-266];player=img;"><img class="alignnone size-full wp-image-269" title="yellowtingwin7photoviewer_2" src="http://www.entroducing.com/wp-content/uploads/2010/08/yellowtingwin7photoviewer_2.png" alt="" width="606" height="376" /></a></p>
<p>3. Select &#8216;Color Management&#8217; tab</p>
<p><a href="http://www.entroducing.com/wp-content/uploads/2010/08/yellowtingwin7photoviewer_3.png" rel="shadowbox[post-266];player=img;"><img class="alignnone size-full wp-image-270" title="yellowtingwin7photoviewer_3" src="http://www.entroducing.com/wp-content/uploads/2010/08/yellowtingwin7photoviewer_3.png" alt="" width="353" height="415" /></a></p>
<p>4. Follow the steps as shown below.</p>
<p><a href="http://www.entroducing.com/wp-content/uploads/2010/08/yellowtingwin7photoviewer_5.png" rel="shadowbox[post-266];player=img;"><img class="alignnone size-full wp-image-272" title="yellowtingwin7photoviewer_5" src="http://www.entroducing.com/wp-content/uploads/2010/08/yellowtingwin7photoviewer_5.png" alt="" width="609" height="471" /></a></p>
<p>5. Click &#8216;continue&#8217; when prompt</p>
<p><a href="http://www.entroducing.com/wp-content/uploads/2010/08/yellowtingwin7photoviewer_6.png" rel="shadowbox[post-266];player=img;"><img class="alignnone size-full wp-image-273" title="yellowtingwin7photoviewer_6" src="http://www.entroducing.com/wp-content/uploads/2010/08/yellowtingwin7photoviewer_6.png" alt="" width="609" height="471" /></a></p>
<p>6. Click &#8216;close&#8217; or &#8216;OK&#8217; all the way back to control panel. Now try open any photo/image and it should display correctly now.</p>
<p><a href="http://www.entroducing.com/wp-content/uploads/2010/08/yellowtingwin7photoviewer_ok.png" rel="shadowbox[post-266];player=img;"><img class="alignnone size-full wp-image-274" title="yellowtingwin7photoviewer_ok" src="http://www.entroducing.com/wp-content/uploads/2010/08/yellowtingwin7photoviewer_ok.png" alt="" width="603" height="616" /></a></p>
<p>Does it helps?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entroducing.com/view/how-to-solve-yellowish-tint-or-layer-in-windows-7-photo-viewer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>extend dlink 655 wireless network with linksys (DD-WRT) and engenius routers: Part 1</title>
		<link>http://www.entroducing.com/view/extend-dlink-655-wireless-network-with-linksys-dd-wrt-and-engenius-routers-part-1</link>
		<comments>http://www.entroducing.com/view/extend-dlink-655-wireless-network-with-linksys-dd-wrt-and-engenius-routers-part-1#comments</comments>
		<pubDate>Sat, 07 Aug 2010 12:10:46 +0000</pubDate>
		<dc:creator>Benny</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.entroducing.com/?p=254</guid>
		<description><![CDATA[Extending a wireless network is not an easy task.

There are various way to extend your wireless network - you can connect a cable directly from one router to another and extend from there OR you can 'join' 2 wireless router via wireless means.The article here will talk about the second option. The correct term for this wireless-wireless setup is Wireless Distribution System (WDS).]]></description>
			<content:encoded><![CDATA[<h4>Introduction</h4>
<p>Extending a wireless network is not an easy task.</p>
<p>There are various way to extend your wireless network &#8211; you can connect a cable directly from one router to another and extend from there OR you can &#8216;join&#8217; 2 wireless router via wireless means.The article here will talk about the second option. The correct term for this wireless-wireless setup is Wireless Distribution System (WDS).</p>
<h4>WDS</h4>
<p>By <a href="http://en.wikipedia.org/wiki/Wireless_Distribution_System" target="_blank">definition</a>, a <strong>Wireless Distribution System</strong> (WDS) is a system that enables the wireless interconnection of access points in a wireless network.<br />
It allows a wireless network to be expanded using multiple  access points without the need for a wired backbone to link them, as is  traditionally required.</p>
<p>Limitation (or Requirement) of WDS</p>
<ul>
<li>Some router might not support the newer WPA2 security. Note that Tomato firmware on Linksys WRT54g does not support WPA2 in WDS mode. Fortunately, DD-WRT does support.</li>
<li>Speed may decrease by 50%</li>
<li>Not all routers support WDS. I bought a Belkin N router and only realized that it doesnt support WDS wireless. Thus, do some &#8216;googling&#8217; before you go and buy a wireless router.</li>
<li>A lot of patience for trial and error- if it doesn&#8217;t connect for the first time, try rebooting all the routers and try again.</li>
</ul>
<h4>My Wireless Setup</h4>
<p>My setup is quite a challenging one as I am not only extending 1 router but 2.<br />
Due to the location of my furniture in my living room, I have to extend 2 routers to cater for both my xbox360 and my wired network printer.</p>
<p>In short, my overall wireless layout is as below.</p>
<p><a href="http://www.entroducing.com/wp-content/uploads/2010/08/wds_layout1.jpg" rel="shadowbox[post-254];player=img;"><img class="alignnone size-full wp-image-259" title="My WDS setup" src="http://www.entroducing.com/wp-content/uploads/2010/08/wds_layout1.jpg" alt="" width="500" height="500" /></a></p>
<p>The routers that I am using for my setup are</p>
<ul>
<li>D-link 655 &#8211; main router which connects to the internet modem</li>
<li><a href="http://www.engeniustech.com.sg/products_details.php?ID=188&amp;CatName=NEW+PRODUCT+LAUNCH&amp;SubCatName=3G+Wireless+Router" target="_blank">Engenius ESR6550</a> &#8211; A 3G cum B/G/N wireless portable router which is connected to my XBox360</li>
<li><a href="http://en.wikipedia.org/wiki/Linksys_WRT54G_series" target="_blank">Linksys WRT54G</a> &#8211; an old (but reliable) G wireless router which is connected to my <a href="http://www.epson.com.sg/epson_singapore/printers_and_all_in_ones/inkjet/product.page?product_name=Epson_Stylus_Office_TX510FN" target="_blank">Epson Stylus Office TX510FN</a></li>
</ul>
<p>Some basic concept/setup for WDS to work</p>
<ol>
<li>You need to manually set the ip address for each of the access points (sub-router) and the IP address must not conflict with each other. i.e. my dlink ip address is 192.168.0.1, and the rest of the router is 192.168.0.2,192.168.0.3</li>
<li>The access point&#8217;s gateway IP should point to the main router. i.e. in my Linksys router, my IP address is 192.168.0.3 and the gateway IP is 192.168.0.1</li>
<li>If you are using DHCP, you can set it in the main router ONLY or in each router. If you are using the latter option, the DHCP range must not conflict with the rest.<br />
For example, if you using only the main router for DHCP only. The main router DHCP ip address is set from 192.168.0.100 to 192.168.0.199<br />
if you are using DHCP for each routher, you can set 192.168.0.<strong>100 </strong>to 192.168.0.<strong>150 </strong>for router A, 192.168.0.<strong>151 </strong>to 192.168.0.<strong>199 </strong>for router B and so on</li>
<li>Set DNS server in the access point  to your main router i.e. 192.168.0.1</li>
<li>Wirerless SSID for all routers should be the same</li>
</ol>
<p>My setup</p>
<ul>
<li>Main router IP address is 192.168.0.1</li>
<li>Engenius router is 192.168.0.2</li>
<li>Linksys is 192.168.03</li>
<li>Subnet mask for all routers is <script type="text/javascript">// <![CDATA[
dw(st.mask);
// ]]&gt;</script>255.255.255.0</li>
<li>Using WPA2 AES security</li>
<li>Gateway IP and DNS are my main router IP address &#8211; 192.168.0.1</li>
<li>Wireless channel 6</li>
<li>Same wireless SSID for all 3 routers</li>
</ul>
<p>Coming soon: WDS setup part 2</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entroducing.com/view/extend-dlink-655-wireless-network-with-linksys-dd-wrt-and-engenius-routers-part-1/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Solve TF2 ping spikes or onboard sound related issues in Windows 7</title>
		<link>http://www.entroducing.com/view/solve-tf2-ping-spikes-or-onboard-sound-related-issues-in-windows-7</link>
		<comments>http://www.entroducing.com/view/solve-tf2-ping-spikes-or-onboard-sound-related-issues-in-windows-7#comments</comments>
		<pubDate>Fri, 06 Aug 2010 17:46:27 +0000</pubDate>
		<dc:creator>Benny</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[entroducing]]></category>
		<category><![CDATA[onboard sound issue]]></category>
		<category><![CDATA[sound lag]]></category>
		<category><![CDATA[sound shutter]]></category>
		<category><![CDATA[tf2]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://www.entroducing.com/?p=247</guid>
		<description><![CDATA[omg, I had this ongoing &#8220;lag&#8221; issue in TF2 whereby my fps would drop dramatically in a fight in TF2 (team fortress 2) game. Things get more frustrated when I recently upgrade my graphic card from the old 8600GT to the GTX260 and the lag problem does not go away! Its only recently that I [...]]]></description>
			<content:encoded><![CDATA[<p>omg, I had this ongoing &#8220;lag&#8221; issue in TF2 whereby my fps would drop dramatically in a fight in TF2 (team fortress 2) game.</p>
<p>Things get more frustrated when I recently upgrade my graphic card from the old 8600GT to the GTX260 and the lag problem does not go away!</p>
<p>Its only recently that I came across <a href="http://forums.steampowered.com/forums/showthread.php?t=1043281" target="_blank">this thread</a> in steam forum that suggest a fix to this problem.</p>
<p>if you have a similar setup like mine</p>
<ul>
<li>Intel Core2Duo E6320</li>
<li>4GB RAM</li>
<li>Windows 7 Home</li>
<li>GTX260</li>
<li>Onboard Realtek soundcard</li>
<li>MSI P65 Neo2 motherboard</li>
</ul>
<p>and encounter the following symptoms&#8230;</p>
<ul>
<li>lag or shutter after 2-3 seconds when you walk in a straight line in the game</li>
<li>framerate drop to 10+ in heavy fight</li>
<li>sound shutter in heavy fight</li>
<li>ping spikes randomly</li>
</ul>
<p>for the following steam games&#8230;</p>
<ul>
<li>Source Engine Games (Team Fortress 2 (TF2), Left 4 Dead, Counter Strike Source (CS:S, CSS))</li>
<li>Heroes of Newerth (HoN)</li>
<li>Call of Duty Series (CoD), possibly including Modern Warfare</li>
<li>Overlord Series (Overlord, Overlord: Raising Hell, Overlord 2)</li>
</ul>
<p>perhaps you may want to try the following method and see if the problem would go away.</p>
<ol>
<li>Open regedit</li>
<li>Go to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile</li>
<li>There will be an entry for network performance throttling, default value is 10; set it to FFFFFFFF hex (willl look like 0xFFFFFFFF to the right of the entry</li>
<li>Reboot</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.entroducing.com/view/solve-tf2-ping-spikes-or-onboard-sound-related-issues-in-windows-7/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ivyandchris.com</title>
		<link>http://www.entroducing.com/view/ivyandchris-com</link>
		<comments>http://www.entroducing.com/view/ivyandchris-com#comments</comments>
		<pubDate>Sat, 31 Jul 2010 09:07:45 +0000</pubDate>
		<dc:creator>Benny</dc:creator>
				<category><![CDATA[entroducing]]></category>

		<guid isPermaLink="false">http://www.entroducing.com/?p=240</guid>
		<description><![CDATA[Hi Guys, Here&#8217;s a new wedding website which I createdfor a friend &#8211; http://www.ivyandchris.com The animation in the website is not running in Flash and it is built with JQuery animation. Thus, the animation is viewable in non-flash devices such as iPhone and iPad. The photo gallery (&#8220;sweet memories&#8221;) is built with Adobe&#8217;s Spry technologies [...]]]></description>
			<content:encoded><![CDATA[<p>Hi Guys,</p>
<p>Here&#8217;s a new wedding website which I createdfor a friend &#8211; <a href="http://www.ivyandchris.com">http://www.ivyandchris.com</a></p>
<p style="text-align: center;"><a href="http://www.entroducing.com/wp-content/uploads/2010/07/home.jpg" rel="shadowbox[post-240];player=img;"><img class="size-medium wp-image-241 aligncenter" title="home" src="http://www.entroducing.com/wp-content/uploads/2010/07/home-300x199.jpg" alt="" width="300" height="199" /></a></p>
<p>The animation in the website is not running in Flash and it is built with JQuery animation. Thus, the animation is viewable in non-flash devices such as iPhone and iPad.</p>
<p>The photo gallery (&#8220;sweet memories&#8221;) is built with Adobe&#8217;s Spry technologies and XML.</p>
<p>The floating heart shapes animation is built with <a href="http://www.gayadesign.com/diy/puffing-smoke-effect-in-jquery/">Gaya Design&#8217;s Puffing Smoke Effect scripts</a>.</p>
<p>Would appreciate for your comment guys. Thanks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entroducing.com/view/ivyandchris-com/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display last few lines for a file in linux shell</title>
		<link>http://www.entroducing.com/view/display-last-few-lines-for-a-file-in-linux-shell</link>
		<comments>http://www.entroducing.com/view/display-last-few-lines-for-a-file-in-linux-shell#comments</comments>
		<pubDate>Thu, 15 Jul 2010 03:40:29 +0000</pubDate>
		<dc:creator>Benny</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.entroducing.com/?p=234</guid>
		<description><![CDATA[To display the default last 10 lines for a file&#8230; tail error_log.txt To display a specified no of lines for a file&#8230; tail -15 error_log.txt]]></description>
			<content:encoded><![CDATA[<p>To display the default last 10 lines for a file&#8230;</p>
<pre class="brush: bash;">tail error_log.txt</pre>
<p>To display a specified no of lines for a file&#8230;</p>
<pre class="brush: bash;">tail -15 error_log.txt</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.entroducing.com/view/display-last-few-lines-for-a-file-in-linux-shell/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Premature end of script headers in perl script</title>
		<link>http://www.entroducing.com/view/premature-end-of-script-headers-in-perl-script</link>
		<comments>http://www.entroducing.com/view/premature-end-of-script-headers-in-perl-script#comments</comments>
		<pubDate>Sat, 03 Jul 2010 08:30:19 +0000</pubDate>
		<dc:creator>Benny</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[perl cgi]]></category>
		<category><![CDATA[cgi]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://www.entroducing.com/?p=230</guid>
		<description><![CDATA[&#8216;Premature end of scrip headers&#8217; error message refers to the script being stopped for whatever reason before it actually return any output to the browser. The first time to check is to ensure the below codes are output first print &#34;Content-type: text/html\n\n&#34;; And then to debug the error, simply add the below line(preferably after the [...]]]></description>
			<content:encoded><![CDATA[<p>&#8216;Premature end of scrip headers&#8217; error message refers to the script being stopped for whatever reason before it actually return any output to the browser.</p>
<p>The first time to check is to ensure the below codes are output first</p>
<pre class="brush: perl;">print &quot;Content-type: text/html\n\n&quot;;</pre>
<p>And then to debug the error, simply add the below line(preferably after the above code).</p>
<pre class="brush: perl;">use CGI::Carp qw(fatalsToBrowser);</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.entroducing.com/view/premature-end-of-script-headers-in-perl-script/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shanghai Expo 2010</title>
		<link>http://www.entroducing.com/view/shanghai-expo-2010</link>
		<comments>http://www.entroducing.com/view/shanghai-expo-2010#comments</comments>
		<pubDate>Tue, 18 May 2010 14:43:55 +0000</pubDate>
		<dc:creator>Benny</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.entroducing.com/?p=193</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5190.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5190'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5190-150x150.jpg" class="attachment-thumbnail" alt="IMG_5190" title="IMG_5190" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5196.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5196'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5196-150x150.jpg" class="attachment-thumbnail" alt="IMG_5196" title="IMG_5196" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5201.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5201'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5201-150x150.jpg" class="attachment-thumbnail" alt="IMG_5201" title="IMG_5201" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5207.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5207'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5207-150x150.jpg" class="attachment-thumbnail" alt="IMG_5207" title="IMG_5207" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5208.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5208'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5208-150x150.jpg" class="attachment-thumbnail" alt="IMG_5208" title="IMG_5208" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5240.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5240'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5240-150x150.jpg" class="attachment-thumbnail" alt="IMG_5240" title="IMG_5240" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5253.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5253'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5253-150x150.jpg" class="attachment-thumbnail" alt="IMG_5253" title="IMG_5253" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5255.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5255'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5255-150x150.jpg" class="attachment-thumbnail" alt="IMG_5255" title="IMG_5255" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5289.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5289'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5289-150x150.jpg" class="attachment-thumbnail" alt="IMG_5289" title="IMG_5289" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5293.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5293'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5293-150x150.jpg" class="attachment-thumbnail" alt="IMG_5293" title="IMG_5293" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5319.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5319'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5319-150x150.jpg" class="attachment-thumbnail" alt="IMG_5319" title="IMG_5319" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5364.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5364'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5364-150x150.jpg" class="attachment-thumbnail" alt="IMG_5364" title="IMG_5364" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5377.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5377'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5377-150x150.jpg" class="attachment-thumbnail" alt="IMG_5377" title="IMG_5377" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5381.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5381'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5381-150x150.jpg" class="attachment-thumbnail" alt="IMG_5381" title="IMG_5381" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5443.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5443'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5443-150x150.jpg" class="attachment-thumbnail" alt="IMG_5443" title="IMG_5443" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5462.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5462'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5462-150x150.jpg" class="attachment-thumbnail" alt="IMG_5462" title="IMG_5462" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5468.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5468'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5468-150x150.jpg" class="attachment-thumbnail" alt="IMG_5468" title="IMG_5468" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5484.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5484'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5484-150x150.jpg" class="attachment-thumbnail" alt="IMG_5484" title="IMG_5484" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5508.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5508'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5508-150x150.jpg" class="attachment-thumbnail" alt="IMG_5508" title="IMG_5508" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5519.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5519'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5519-150x150.jpg" class="attachment-thumbnail" alt="IMG_5519" title="IMG_5519" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5532.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5532'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5532-150x150.jpg" class="attachment-thumbnail" alt="IMG_5532" title="IMG_5532" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5545.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5545'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5545-150x150.jpg" class="attachment-thumbnail" alt="IMG_5545" title="IMG_5545" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5575.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5575'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5575-150x150.jpg" class="attachment-thumbnail" alt="IMG_5575" title="IMG_5575" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5576.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5576'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5576-150x150.jpg" class="attachment-thumbnail" alt="IMG_5576" title="IMG_5576" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5580.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5580'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5580-150x150.jpg" class="attachment-thumbnail" alt="IMG_5580" title="IMG_5580" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5643.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5643'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5643-150x150.jpg" class="attachment-thumbnail" alt="IMG_5643" title="IMG_5643" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5668.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5668'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5668-150x150.jpg" class="attachment-thumbnail" alt="IMG_5668" title="IMG_5668" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5669.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5669'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5669-150x150.jpg" class="attachment-thumbnail" alt="IMG_5669" title="IMG_5669" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5727.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5727'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5727-150x150.jpg" class="attachment-thumbnail" alt="IMG_5727" title="IMG_5727" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5728.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5728'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5728-150x150.jpg" class="attachment-thumbnail" alt="IMG_5728" title="IMG_5728" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5740.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5740'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5740-150x150.jpg" class="attachment-thumbnail" alt="IMG_5740" title="IMG_5740" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5833.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5833'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5833-150x150.jpg" class="attachment-thumbnail" alt="IMG_5833" title="IMG_5833" /></a>
<a href='http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5834.jpg' rel='shadowbox[album-193];player=img;' title='IMG_5834'><img width="150" height="150" src="http://www.entroducing.com/wp-content/uploads/2010/05/IMG_5834-150x150.jpg" class="attachment-thumbnail" alt="IMG_5834" title="IMG_5834" /></a>

]]></content:encoded>
			<wfw:commentRss>http://www.entroducing.com/view/shanghai-expo-2010/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>roofs</title>
		<link>http://www.entroducing.com/view/roofs</link>
		<comments>http://www.entroducing.com/view/roofs#comments</comments>
		<pubDate>Sat, 06 Mar 2010 18:45:28 +0000</pubDate>
		<dc:creator>Benny</dc:creator>
				<category><![CDATA[photography]]></category>

		<guid isPermaLink="false">http://www.entroducing.com/?p=188</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.entroducing.com/wp-content/uploads/2010/02/entroducingphotography_00018.jpg" rel="shadowbox[post-188];player=img;"><img class="alignnone size-full wp-image-166" title="entroducingphotography_00018" src="http://www.entroducing.com/wp-content/uploads/2010/02/entroducingphotography_00018.jpg" alt="" width="614" height="409" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.entroducing.com/view/roofs/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create new log file with log4j FileAppender when using Quartz Scheduler</title>
		<link>http://www.entroducing.com/view/create-new-log-file-with-log4j-fileappender-when-using-quartz-scheduler</link>
		<comments>http://www.entroducing.com/view/create-new-log-file-with-log4j-fileappender-when-using-quartz-scheduler#comments</comments>
		<pubDate>Tue, 02 Mar 2010 14:49:18 +0000</pubDate>
		<dc:creator>Benny</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[log4j]]></category>
		<category><![CDATA[quartz]]></category>

		<guid isPermaLink="false">http://www.entroducing.com/?p=177</guid>
		<description><![CDATA[Recently came across a problem whereby the quartz scheduler could not recreate a new log4j FileAppender log when the job is call again. Googled a bit and found out a couple of solutions such as using a custom log4j classes, which create a seperate thread when being called in quartz scheduler. I find that it [...]]]></description>
			<content:encoded><![CDATA[<p>Recently came across a problem whereby the quartz scheduler could not recreate a new log4j FileAppender log when the job is call again.</p>
<p>Googled a bit and found out a couple of solutions such as using a custom log4j classes, which create a seperate thread when being called in quartz scheduler.</p>
<p>I find that it is too complex and had try several ways to recreate the log file inside Quartz.</p>
<p>And finally came up with this one line of code.</p>
<p>Before I begin, let&#8217;s take a look at my log4j config.<br />
This log4j config will create a simple console system out logger and also a FileAppender logger.<br />
For my case, I want to re-create a new log file whenever this job is run.</p>
<pre class="brush: plain;">
log4j.rootLogger=INFO, stdout
log4j.additivity.stdout=false
log4j.additivity.joblog=false
log4j.appender.ROOT.layout.ConversionPattern=[%d] %t %c %-5p - %m%n

#console
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %p - %m%n

#per job execution log
log4j.logger.com.yourcompany=INFO, joblog
log4j.appender.joblog=org.apache.log4j.FileAppender
log4j.appender.joblog.layout=org.apache.log4j.PatternLayout
log4j.appender.joblog.File=../jobtemp.log
log4j.appender.joblog.Append=false
log4j.appender.joblog.layout.ConversionPattern=%d %p - %m%n
</pre>
<p>and here&#8217;s the schedule job</p>
<pre class="brush: java;">
public class ScheduleJob implements StatefulJob {

	private static Logger logger = Logger.getLogger(ScheduleJob.class);

	public void startJob() throws SchedulerException{
		Scheduler scheduler =
			StdSchedulerFactory.getDefaultScheduler();
		scheduler.start();
	}

	public void execute(JobExecutionContext context)
		throws JobExecutionException {

		//reset log4j config for FileAppender
		PropertyConfigurator.configure(&quot;../conf/log4j.properties&quot;);

		RunJobImmediately newJob  = new RunJobImmediately();
		newJob.performJob();

	}

	public static void main(String args[]){
    	try{
    		ScheduleJob scheduleJob = new ScheduleJob();
    		scheduleJob.startJob();

		}catch(Exception e){
			logger.error(e);
		}
	}
}
</pre>
<p>and finally the one line of code to recreate the log file.<br />
Apparently, this line will somehow &#8216;reload&#8217; the log4j  utitlies, which thus recreate the FileAppender logger to re-create the log file.</p>
<pre class="brush: java;">
PropertyConfigurator.configure(&quot;../conf/log4j.properties&quot;);
</pre>
<p>Feel free to let me know if there is any performance issues or it is not working at your side.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entroducing.com/view/create-new-log-file-with-log4j-fileappender-when-using-quartz-scheduler/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
