<?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>ss &#124; blog &#187; Coding/Development</title>
	<atom:link href="http://blog.siansiew.com/category/dev/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.siansiew.com</link>
	<description>Geeky (and non-geeky) ramblings.</description>
	<lastBuildDate>Mon, 27 Jul 2009 11: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>Shrinking VMware VMDK files before distribution</title>
		<link>http://blog.siansiew.com/2007/10/29/shrinking-vmware-vmdk-files-before-distribution/</link>
		<comments>http://blog.siansiew.com/2007/10/29/shrinking-vmware-vmdk-files-before-distribution/#comments</comments>
		<pubDate>Mon, 29 Oct 2007 11:55:30 +0000</pubDate>
		<dc:creator>Benny Chew</dc:creator>
				<category><![CDATA[Coding/Development]]></category>
		<category><![CDATA[Tips & Tweaks]]></category>
		<category><![CDATA[virtualisation]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://siansiew.com/2007/10/29/shrinking-vmware-vmdk-files-before-distribution/</guid>
		<description><![CDATA[Recently been researching and testing with VMware images for the deployment of our application at work which turned out to work pretty well (Ubuntu + Java 6 + MySQL + Glassfish). However, one thing which became bothersome was the overgrowing .vmdk images which didn&#8217;t seem to reduce in size even after file deletions were made [...]]]></description>
			<content:encoded><![CDATA[<p>Recently been researching and testing with <a href="http://www.vmware.com/" target="_blank">VMware </a>images for the deployment of our application at work which turned out to work pretty well (Ubuntu + Java 6 + MySQL + Glassfish). However, one thing which became bothersome was the overgrowing .vmdk images which didn&#8217;t seem to reduce in size even after file deletions were made in the virtual disk itself.</p>
<p>Again, Google came to the rescue for this, linking me to <a href="http://h0bbel.p0ggel.org/shrinking-vmdk-files" target="_blank">this site</a> which gave a 2 step process for doing the shrinking. Do note that the instructions are for those who are using Windows as their host OS.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.siansiew.com/2007/10/29/shrinking-vmware-vmdk-files-before-distribution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Obscure Java error</title>
		<link>http://blog.siansiew.com/2007/10/28/obscure-java-error/</link>
		<comments>http://blog.siansiew.com/2007/10/28/obscure-java-error/#comments</comments>
		<pubDate>Sun, 28 Oct 2007 08:45:09 +0000</pubDate>
		<dc:creator>Benny Chew</dc:creator>
				<category><![CDATA[Coding/Development]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Tips & Tweaks]]></category>

		<guid isPermaLink="false">http://siansiew.com/2007/10/28/obscure-java-error/</guid>
		<description><![CDATA[Got a &#8220;java.lang.InternalError:Can&#8217;t connect to window server&#8221; while trying to get Glassfish up and running on a Mac G5 running Mac OS X recently at work which was pretty odd as our application and Glassfish do not fire up any GUIs. After some googling, problem was fixed by adding a &#8216;-Djava.awt.headless=true&#8217; to the list of [...]]]></description>
			<content:encoded><![CDATA[<p>Got a &#8220;java.lang.InternalError:Can&#8217;t connect to window server&#8221; while trying to get <a href="https://glassfish.dev.java.net/" target="_blank">Glassfish</a> up and running on a Mac G5 running Mac OS X recently at work which was pretty odd as our application and Glassfish do not fire up any GUIs. After some <a href="http://jira.atlassian.com/browse/CONF-2075" target="_blank">googling</a>, problem was fixed by adding a &#8216;-Djava.awt.headless=true&#8217; to the list of system variables.</p>
<p>Although it was fixed relatively easily, it seems rather odd that Java would actually try to access the X server even though I was running it through a SSH terminal window (PuTTY)..</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.siansiew.com/2007/10/28/obscure-java-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse IDE 3.3 (Europa) released</title>
		<link>http://blog.siansiew.com/2007/07/02/eclipse-ide-33-europa-released/</link>
		<comments>http://blog.siansiew.com/2007/07/02/eclipse-ide-33-europa-released/#comments</comments>
		<pubDate>Mon, 02 Jul 2007 13:40:11 +0000</pubDate>
		<dc:creator>Benny Chew</dc:creator>
				<category><![CDATA[Coding/Development]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://siansiew.com/2007/07/02/eclipse-ide-33-europa-released/</guid>
		<description><![CDATA[If you&#8217;re developing in Java and have not used Eclipse before, you don&#8217;t know what you&#8217;re missing out. :) Probably would test out the Web Tools project of the Europa release as web services and distribution seems to be my domain at work in recent times..]]></description>
			<content:encoded><![CDATA[<p><img src="http://siansiew.com/wp-content/uploads/2007/07/eclipse_logo.gif" alt="Eclipse" />If you&#8217;re developing in <a href="http://java.sun.com/" target="_blank">Java</a> and have not used <a href="http://www.eclipse.org/" target="_blank">Eclipse</a> before, you don&#8217;t know what you&#8217;re missing out. :)</p>
<p>Probably would test out the <a href="http://www.eclipse.org/webtools/main.php" target="_blank">Web Tools</a> project of the <a href="http://www.eclipse.org/europa/" target="_blank">Europa</a> release as web services and distribution seems to be my domain at work in recent times..</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.siansiew.com/2007/07/02/eclipse-ide-33-europa-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript setInterval() issues</title>
		<link>http://blog.siansiew.com/2007/07/02/javascript-setinterval-issues/</link>
		<comments>http://blog.siansiew.com/2007/07/02/javascript-setinterval-issues/#comments</comments>
		<pubDate>Mon, 02 Jul 2007 13:27:26 +0000</pubDate>
		<dc:creator>Benny Chew</dc:creator>
				<category><![CDATA[Coding/Development]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://siansiew.com/2007/07/02/javascript-setinterval-issues/</guid>
		<description><![CDATA[I decided to use AJAX calls to get the browser to make keep-alive calls every 2 minutes (using setInterval) and somehow stumbled into an issue where it makes the call once, and then stops. After talking the Javascript and Flash god in the office, we found out that it was because the script goes out [...]]]></description>
			<content:encoded><![CDATA[<p>I decided to use AJAX calls to get the browser to make keep-alive calls every 2 minutes (using setInterval) and somehow stumbled into an issue where it makes the call once, and then stops. After talking the Javascript and Flash <em>god </em>in the office, we found out that it was because the script goes out of scope and thus stops looping as it should.</p>
<p>A quick fix for this can be found <a href="http://killustar.blogspot.com/2005/04/javascript-setinterval-problem.html" target="_blank">here</a>. It&#8217;s been working for me without any adverse effects since. ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.siansiew.com/2007/07/02/javascript-setinterval-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More geek humour</title>
		<link>http://blog.siansiew.com/2007/06/24/more-geek-humour/</link>
		<comments>http://blog.siansiew.com/2007/06/24/more-geek-humour/#comments</comments>
		<pubDate>Sat, 23 Jun 2007 15:16:08 +0000</pubDate>
		<dc:creator>Benny Chew</dc:creator>
				<category><![CDATA[Coding/Development]]></category>
		<category><![CDATA[Humour]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://siansiew.com/2007/06/24/more-geek-humour/</guid>
		<description><![CDATA[Came across quite a few recently.. Introduction to abject-oriented programming Linux funnies Asshole driven development]]></description>
			<content:encoded><![CDATA[<p>Came across quite a few recently..</p>
<ul>
<li><a href="http://typicalprogrammer.com/programming/abject-oriented/" target="_blank">Introduction to abject-oriented programming</a></li>
<li><a href="http://www.videotopic.com/linux.html" target="_blank">Linux funnies</a></li>
<li><a href="http://www.scottberkun.com/blog/2007/asshole-driven-development/" target="_blank">Asshole driven development</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.siansiew.com/2007/06/24/more-geek-humour/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error 1305</title>
		<link>http://blog.siansiew.com/2006/11/19/error-1305/</link>
		<comments>http://blog.siansiew.com/2006/11/19/error-1305/#comments</comments>
		<pubDate>Sun, 19 Nov 2006 08:33:21 +0000</pubDate>
		<dc:creator>Benny Chew</dc:creator>
				<category><![CDATA[Coding/Development]]></category>
		<category><![CDATA[General Tech]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://siansiew.com/2006/11/19/error-1305/</guid>
		<description><![CDATA[That was the error code which I encountered while trying to install Python on the server at work which ran on Windows Server 2003. The installer actually executed but threw that &#8216;setup file could not be found&#8217; error just after selecting the destination directory for the install. Initial googling for this gave results which were [...]]]></description>
			<content:encoded><![CDATA[<p>That was the error code which I encountered while trying to install <a target="_blank" href="http://www.python.org/">Python</a> on the server at work which ran on Windows Server 2003. The installer actually executed but threw that &#8216;setup file could not be found&#8217; error just after selecting the destination directory for the install. Initial <em>googling</em> for this gave results which were along the lines of &#8216;clean the CD as it may be dirty&#8217; didn&#8217;t make much sense since it was being installed from the hard disk itself!</p>
<p><a target="_blank" href="http://asendure.wordpress.com/">Mr sysadmin AsenDURE</a> didn&#8217;t have an answer for it either, so I went back to do more googling which one of them actually fixed it. Although the installer (<a target="_blank" href="http://en.wikipedia.org/wiki/Microsoft_Installer">msi</a>) file was on the hard disk locally, it was in a network share which Windows Server 2003 disapproves of. After moving the file to an unshared directory, the install process was completed without any issues. That&#8217;s Windows I guess. ;)</p>
<p>Another thing which I&#8217;ve learnt after the first week is not to run services/applications which were built for *nix on Windows. I had heaps of problems in migrating <a target="_blank" href="http://www.nongnu.org/cvs/">CVS</a> to <a target="_blank" href="htp://subversion.tigris.org/">SVN</a> which would never have been an issue had it been a *nix box.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.siansiew.com/2006/11/19/error-1305/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MozSearch plugin</title>
		<link>http://blog.siansiew.com/2006/09/30/mozsearch-plugin/</link>
		<comments>http://blog.siansiew.com/2006/09/30/mozsearch-plugin/#comments</comments>
		<pubDate>Sat, 30 Sep 2006 09:00:52 +0000</pubDate>
		<dc:creator>Benny Chew</dc:creator>
				<category><![CDATA[Coding/Development]]></category>
		<category><![CDATA[Tips & Tweaks]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://siansiew.com/2006/09/30/mozsearch-plugin/</guid>
		<description><![CDATA[AsenDURE messaged me on MSN yesterday about having a search plugin for any site integrated into Firefox. After having a look at it, I gave it a shot and now this site has a search plugin which you can install into Firefox 2.0 and search directly from the search bar. ;) Following the steps from [...]]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" href="http://asendure.wordpress.com/">AsenDURE</a> messaged me on MSN yesterday about having a search plugin for any site integrated into Firefox. After having a look at it, I gave it a shot and now this site has a search plugin which you can install into Firefox 2.0 and search directly from the search bar. ;)</p>
<p>Following the steps from <a target="_blank" href="http://developer.mozilla.org/en/docs/Creating_MozSearch_plugins">here</a>, your currently selected search plugin (by default Google) would glow blue when it automatically detects a search plugin. And the following screenshots on how to add and use it are rather self explanatory.</p>
<p>Adding it:<br />
<img id="image100" alt="MozSearch_1" src="http://siansiew.com/wp-content/uploads/2006/09/opensearch_1.png" /></p>
<p>Using it:<br />
<img id="image101" alt="MozSearch_2" src="http://siansiew.com/wp-content/uploads/2006/09/opensearch_2.png" /></p>
<p>There should be a 16&#215;16 icon image for it, but I don&#8217;t have one for it now though. ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.siansiew.com/2006/09/30/mozsearch-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>spherebox re-launched!</title>
		<link>http://blog.siansiew.com/2006/08/28/spherebox-re-launched/</link>
		<comments>http://blog.siansiew.com/2006/08/28/spherebox-re-launched/#comments</comments>
		<pubDate>Mon, 28 Aug 2006 03:43:32 +0000</pubDate>
		<dc:creator>Benny Chew</dc:creator>
				<category><![CDATA[Coding/Development]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://siansiew.spherebox.com/2006/08/28/spherebox-re-launched/</guid>
		<description><![CDATA[As posted by Han Kern earlier, we finally got spherebox completed 2 days ago. All credit to him for the writeups. ;) This page should be a good start if you&#8217;re wondering what it is all about. For those interested in the nitty-gritty technical details, the site was designed based on a WordPress installation with [...]]]></description>
			<content:encoded><![CDATA[<p>As <a target="_blank" href="http://hankern.com/2006/08/26/spherebox-relaunched/">posted</a> by <a target="_blank" href="http://hankern.com/">Han Kern</a> earlier, we <em>finally</em> got <a target="_blank" href="http://spherebox.com/">spherebox</a> completed 2 days ago. All credit to him for the writeups. ;) <a target="_blank" href="http://spherebox.com/what-do-we-do/">This page</a> should be a good start if you&#8217;re wondering what it is all about.</p>
<p>For those interested in the nitty-gritty technical details, the site was designed based on a <a target="_blank" href="http://wordpress.org/">WordPress</a> installation with numerous changes to the <a target="_blank" href="http://en.wikipedia.org/wiki/Cascading_Style_Sheets">CSS</a> and templates of the theme it&#8217;s based on (<a target="_blank" href="http://wpthemes.info/misty-look/">MistyLook</a>). <a target="_blank" href="http://codex.wordpress.org/Main_Page">WordPress Codex</a> was an excellent resource for all the stuff I did and has everything categorised pretty well.</p>
<p>As expected, <a target="_blank" href="http://www.microsoft.com/ie/">IE</a> decided not to display some things as how the other 2 browsers displayed it (stuff just above the header images were misaligned or got &#8216;covered&#8217; by the image below it) and I chose to use the <a target="_blank" href="http://virtuelvis.com/archives/2004/02/css-ie-only">conditional comments method</a> to get around this. The site now shows up appropriately in <a target="_blank" href="http://www.mozilla.com/firefox/">Firefox</a> 1.5, IE 6 and 7, <a target="_blank" href="http://www.opera.com/">Opera</a> 9 on <a target="_blank" href="http://www.microsoft.com/windows/default.mspx">Windows</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.siansiew.com/2006/08/28/spherebox-re-launched/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 6.06 LTS Server setup guide</title>
		<link>http://blog.siansiew.com/2006/08/25/ubuntu-606-lts-server-setup-guide/</link>
		<comments>http://blog.siansiew.com/2006/08/25/ubuntu-606-lts-server-setup-guide/#comments</comments>
		<pubDate>Thu, 24 Aug 2006 14:33:24 +0000</pubDate>
		<dc:creator>Benny Chew</dc:creator>
				<category><![CDATA[Coding/Development]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://siansiew.spherebox.com/2006/08/25/ubuntu-606-lts-server-setup-guide/</guid>
		<description><![CDATA[About a month ago, I got some old computer parts from Kah Wai which weren&#8217;t in use and set up a headless server using the latest Ubuntu server edition. I stumbled upon this guide which was excellent in guiding me through the process of setting it up and I would highly recommend it if you [...]]]></description>
			<content:encoded><![CDATA[<p>About a month ago, I got some old computer parts from <a href="http://kahwai.spherebox.com/">Kah Wai</a> which weren&#8217;t in use and set up a <a href="http://en.wikipedia.org/wiki/Headless">headless</a> server using the latest <a href="http://www.ubuntu.com/">Ubuntu</a> <a href="http://www.ubuntu.com/server">server edition</a>. I stumbled upon <a href="http://www.howtoforge.com/perfect_setup_ubuntu_6.06">this guide</a> which was excellent in guiding me through the process of setting it up and I would highly recommend it if you are new to setting up a server from scratch.</p>
<p>I&#8217;m pretty impressed by the <a href="http://www.debian.org/">Debian</a> derived <a href="http://en.wikipedia.org/wiki/Advanced_Packaging_Tool">package management system</a> which makes it very easy to add, remove or update almost any application available for it. I remember the times when I had to deal with all sorts of dependency errors when attempting to install stuff on <a href="http://www.mandriva.com/">Mandrake</a> 9.0 (now called Mandriva). Besides the server services such as <a href="http://www.apache.org/">Apache</a>, <a href="http://www.php.net/">PHP</a>, <a href="http://www.mysql.com/">MySQL</a>, I got <a href="http://www.samba.org/">Samba</a> installed as well so it&#8217;s now also functioning as a dump box besides its primary function as a development server (not much so recently though..). :D</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.siansiew.com/2006/08/25/ubuntu-606-lts-server-setup-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How software development works</title>
		<link>http://blog.siansiew.com/2006/08/20/how-software-development-works/</link>
		<comments>http://blog.siansiew.com/2006/08/20/how-software-development-works/#comments</comments>
		<pubDate>Sun, 20 Aug 2006 06:00:49 +0000</pubDate>
		<dc:creator>Benny Chew</dc:creator>
				<category><![CDATA[Coding/Development]]></category>
		<category><![CDATA[Humour]]></category>

		<guid isPermaLink="false">http://siansiew.com/2006/08/20/how-software-development-works/</guid>
		<description><![CDATA[Pretty true to a certain extent. :P via digg Coincidentally, I found another pic lying on my hard disk of a similar vein: I do not wish to prove this true during the usability testing session with my project&#8217;s client in 2 days time though.. It&#8217;s going to be a pain if that happens. XD]]></description>
			<content:encoded><![CDATA[<p>Pretty true to a certain extent. :P</p>
<p><a rel="lightbox" title="How software development works" href="http://siansiew.spherebox.com/wp-content/uploads/2006/08/how-sd-works.jpg"><img id="image70" alt="How software development works" src="http://siansiew.spherebox.com/wp-content/uploads/2006/08/how-sd-works.thumbnail.jpg" /></a></p>
<p><em>via <a href="http://digg.com/programming/Software_Development_Comic_How_it_Works">digg</a></em></p>
<p>Coincidentally, I found another pic lying on my hard disk of a similar vein:</p>
<p><img id="image71" alt="46-1.jpg" src="http://siansiew.spherebox.com/wp-content/uploads/2006/08/46-1.jpg" /></p>
<p>I do not wish to prove this true during the usability testing session with my project&#8217;s client in 2 days time though.. It&#8217;s going to be a pain if that happens. XD</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.siansiew.com/2006/08/20/how-software-development-works/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
