<?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>[ mkhairul.com ]</title>
	<atom:link href="http://mkhairul.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mkhairul.com</link>
	<description>Musings of a web ninja</description>
	<lastBuildDate>Sun, 07 Mar 2010 13:38:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SVN (Version Control) and binary files</title>
		<link>http://mkhairul.com/2010/03/07/svn-version-control-and-binary-files/</link>
		<comments>http://mkhairul.com/2010/03/07/svn-version-control-and-binary-files/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 13:38:46 +0000</pubDate>
		<dc:creator>mkhairul</dc:creator>
				<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://mkhairul.com/?p=1585</guid>
		<description><![CDATA[Does a version control eats a lot of space when using on binary files?  What I mean a lot is, for each changes, does it commit a new copy of the binary file and thus uses twice the amount of space?
No.
Taken from Subversion FAQ (How does Subversion handle binary files?) :

For storage and transmission [...]]]></description>
			<content:encoded><![CDATA[<p>Does a version control eats a lot of space when using on binary files?  What I mean a lot is, for each changes, does it commit a new copy of the binary file and thus uses twice the amount of space?</p>
<p>No.</p>
<p>Taken from Subversion FAQ (<a href="http://subversion.apache.org/faq.html#binary-files">How does Subversion handle binary files?</a>) :</p>
<blockquote><p>
For storage and transmission purposes, Subversion uses a diffing method that works equally well on binary and text files;
</p></blockquote>
<p>From what I <a href="http://svn.haxx.se/dev/archive-2003-01/2088.shtml">read</a>, it does <strong>reverse delta</strong> on the files being commit</p>
]]></content:encoded>
			<wfw:commentRss>http://mkhairul.com/2010/03/07/svn-version-control-and-binary-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Admin Error when Logged-In</title>
		<link>http://mkhairul.com/2010/03/05/magento-admin-error-when-logged-in/</link>
		<comments>http://mkhairul.com/2010/03/05/magento-admin-error-when-logged-in/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 04:19:12 +0000</pubDate>
		<dc:creator>mkhairul</dc:creator>
				<category><![CDATA[Troubleshoot]]></category>

		<guid isPermaLink="false">http://mkhairul.com/?p=1577</guid>
		<description><![CDATA[An error message is displayed when logged into Magento&#8217;s Admin.




One of the errors is as follow.
lib/Zend/Locale/Data/id.xml:227: parser error : out of memory error
By default, Magento sets the memory limit to 128MB. Check the hosting&#8217;s memory limit (depends on where you are, most probably its going to be 32MB).
Change the value for php_memory_limit in the .htaccess [...]]]></description>
			<content:encoded><![CDATA[<p>An error message is displayed when logged into Magento&#8217;s Admin.<br />
<br/></p>
<div style="text-align:center">
<a href="http://mkhairul.com/wp-content/uploads/2010/03/magento_error.png"><img src="http://mkhairul.com/wp-content/uploads/2010/03/magento_error-300x249.png" alt="" title="magento_error" width="300" height="249" class="aligncenter size-medium wp-image-1578" /></a>
</div>
<p>One of the errors is as follow.</p>
<blockquote><p>lib/Zend/Locale/Data/id.xml:227: parser error : out of memory error</p></blockquote>
<p>By default, Magento sets the memory limit to 128MB. Check the hosting&#8217;s memory limit (depends on where you are, most probably its going to be 32MB).</p>
<p>Change the value for php_memory_limit in the .htaccess file (in magento&#8217;s root folder) to the same value as the hosting.</p>
]]></content:encoded>
			<wfw:commentRss>http://mkhairul.com/2010/03/05/magento-admin-error-when-logged-in/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Predictable Design</title>
		<link>http://mkhairul.com/2010/02/28/predictable-design/</link>
		<comments>http://mkhairul.com/2010/02/28/predictable-design/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 18:22:13 +0000</pubDate>
		<dc:creator>mkhairul</dc:creator>
				<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://mkhairul.com/?p=1572</guid>
		<description><![CDATA[A Quote from Predictable Design (UX Magazine)

For a design process to produce an extraordinary product, two conditions must be met: stakeholders and participants must unequivocally accept that they aren&#8217;t designers, and trust the real designers&#8217; abilities.

]]></description>
			<content:encoded><![CDATA[<p>A Quote from <a href="http://uxmag.com/strategy/predictable-design">Predictable Design</a> (<a href="http://uxmag.com">UX Magazine</a>)</p>
<blockquote><p>
For a design process to produce an extraordinary product, two conditions must be met: stakeholders and participants must unequivocally accept that they aren&#8217;t designers, and trust the real designers&#8217; abilities.
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://mkhairul.com/2010/02/28/predictable-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jquery context menu problem in chrome and IE</title>
		<link>http://mkhairul.com/2010/02/25/jquery-context-menu-problem-for-chrome-and-ie/</link>
		<comments>http://mkhairul.com/2010/02/25/jquery-context-menu-problem-for-chrome-and-ie/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 05:08:33 +0000</pubDate>
		<dc:creator>mkhairul</dc:creator>
				<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://mkhairul.com/?p=1566</guid>
		<description><![CDATA[I was doing some image uploading with swfupload and added context menu to the pictures that were uploaded. I was told by a colleague (who helped me testing in other browsers) that the context menu is overlapped by the browser&#8217;s context menu (for those who don&#8217;t know what &#8216;context menu&#8217; is, its the menu when [...]]]></description>
			<content:encoded><![CDATA[<p>I was doing some image uploading with <a href="http://swfupload.org/">swfupload</a> and added context menu to the pictures that were uploaded. I was told by a colleague (who helped me testing in other browsers) that the context menu is overlapped by the browser&#8217;s context menu (for those who don&#8217;t know what &#8216;context menu&#8217; is, its the menu when you right click).</p>
<p>I&#8217;m using jquery&#8217;s <a href="http://plugins.jquery.com/project/jqueryContextMenu">contextmenu</a>. There&#8217;s a code needed to be changed. </p>
<p>Search for (which is probably at line 141)</p>
<pre class="brush: javascript" name="code">
$(el).add('UL.contextMenu').bind('contextmenu', function() { return false; });
</pre>
<p>Replace it with</p>
<pre class="brush: javascript" name="code">
$(el).add($('UL.contextMenu')).bind('contextmenu', function() { return false; });
</pre>
<p><strong>Reference</strong><br />
<a href="http://plugins.jquery.com/node/13085">jQuery Contextmenu DOESN&#8217;T WORK IN JQUERY 1.4 CHROME &#038; SAFARI</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mkhairul.com/2010/02/25/jquery-context-menu-problem-for-chrome-and-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Service Error 1067: The program terminated unexpectedly</title>
		<link>http://mkhairul.com/2010/02/17/mysql-service-error-1067-the-program-terminated-unexpectedly/</link>
		<comments>http://mkhairul.com/2010/02/17/mysql-service-error-1067-the-program-terminated-unexpectedly/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 19:25:38 +0000</pubDate>
		<dc:creator>mkhairul</dc:creator>
				<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://mkhairul.com/?p=1559</guid>
		<description><![CDATA[I was bugged by this error for 30 minutes, wondering what the hell is it? No spaces in data dir path? Or no spaces in some other paths?
What is needed is just to set the bin directory in the windows path.

If that does not work, check this steps out, MySQL Error 1067.
]]></description>
			<content:encoded><![CDATA[<p>I was bugged by this error for 30 minutes, wondering what the hell is it? No spaces in data dir path? Or no spaces in some other paths?</p>
<p>What is needed is just to <strong>set the bin directory in the windows path</strong>.</p>
<p><a href="http://mkhairul.com/wp-content/uploads/2010/02/mysql_config.jpg"><img src="http://mkhairul.com/wp-content/uploads/2010/02/mysql_config.jpg" alt="" title="mysql_config" width="320" height="239" class="aligncenter size-full wp-image-1560" /></a></p>
<p>If that does not work, check this steps out, <a href="http://kathirvelmariappan.blogspot.com/2009/03/mysql-error-1067-process-terminated.html">MySQL Error 1067</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mkhairul.com/2010/02/17/mysql-service-error-1067-the-program-terminated-unexpectedly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Refreshing PHP.ini on IIS</title>
		<link>http://mkhairul.com/2010/02/17/refreshing-php-ini-on-iis/</link>
		<comments>http://mkhairul.com/2010/02/17/refreshing-php-ini-on-iis/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 19:14:34 +0000</pubDate>
		<dc:creator>mkhairul</dc:creator>
				<category><![CDATA[Troubleshoot]]></category>

		<guid isPermaLink="false">http://mkhairul.com/?p=1553</guid>
		<description><![CDATA[One of the SOAP script that I did is not working (it works fine when using apache), so I know its not the script&#8217;s fault (most probably its the php configuration). I&#8217;m using a PHP script for sending SOAP data to a 3rd party server. The data needs to be encrypted (mcrypt) using an IV [...]]]></description>
			<content:encoded><![CDATA[<p>One of the SOAP script that I did is not working (it works fine when using apache), so I know its not the script&#8217;s fault (most probably its the php configuration). I&#8217;m using a PHP script for sending SOAP data to a 3rd party server. The data needs to be encrypted (mcrypt) using an IV (initialisation vector) provided by the vendor.</p>
<p>It also requires cURL to send data through an SSL connection (curl). I checked up on the php configuration and as I have suspected, mcrypt and curl is not loaded.</p>
<p>To enable the extensions, go to php.ini, and uncomment it (remove the semicolon). Reload the php.ini from IIS by recycling the application pool. </p>
<p>Start -> Run -> inetmgr -> ApplicationPools -> DefaultAppPool (Right click, Recycle)</p>
<p>Run a test script containing phpinfo() and check if the extension is loaded.</p>
<p><strong>Reference</strong></p>
<ul>
<li><a href="http://forums.iis.net/p/1134052/1858079.aspx">PHP.ini</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://mkhairul.com/2010/02/17/refreshing-php-ini-on-iis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>nuSOAP problem &#8211; Method not allowed</title>
		<link>http://mkhairul.com/2010/02/03/nusoap-problem-method-not-allowed/</link>
		<comments>http://mkhairul.com/2010/02/03/nusoap-problem-method-not-allowed/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 02:52:39 +0000</pubDate>
		<dc:creator>mkhairul</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Troubleshoot]]></category>

		<guid isPermaLink="false">http://mkhairul.com/?p=1547</guid>
		<description><![CDATA[I got a call from a friend working at the previous company that I worked for. I did the integration between their flagship application with a 3rd party payment gateway involving SOAP.
As usual, people call me expecting me to troubleshoot problem on the phone. At first I was a little bit confused as to what [...]]]></description>
			<content:encoded><![CDATA[<p>I got a call from a friend working at the previous company that I worked for. I did the integration between their flagship application with a 3rd party payment gateway involving SOAP.</p>
<p>As usual, people call me expecting me to troubleshoot problem on the phone. At first I was a little bit confused as to what the problem is, but then I remembered that I had already solved it and went through my notes.</p>
<p><strong>The web service client is calling the web service on SSL, it requires the use of cURL. Enable php_curl extension and everything should work fine.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://mkhairul.com/2010/02/03/nusoap-problem-method-not-allowed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Listing non alphabet records &#8211; MySQL</title>
		<link>http://mkhairul.com/2010/01/07/listing-non-alphabet-records-mysql/</link>
		<comments>http://mkhairul.com/2010/01/07/listing-non-alphabet-records-mysql/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 04:14:18 +0000</pubDate>
		<dc:creator>mkhairul</dc:creator>
				<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://mkhairul.com/?p=1531</guid>
		<description><![CDATA[I know this is rather simple, but I thought I&#8217;d just put it here because I haven&#8217;t been posting quite as often as I would like.
There&#8217;s this application, where it needs to list companies by alphabets. Click on &#8216;A&#8217; it displays all companies that starts with &#8216;A&#8217; or &#8216;a&#8217;.
So there&#8217;s this &#8216;Others&#8217;. Companies that starts [...]]]></description>
			<content:encoded><![CDATA[<p>I know this is rather simple, but I thought I&#8217;d just put it here because I haven&#8217;t been posting quite as often as I would like.</p>
<p>There&#8217;s this application, where it needs to list companies by alphabets. Click on &#8216;A&#8217; it displays all companies that starts with &#8216;A&#8217; or &#8216;a&#8217;.</p>
<p>So there&#8217;s this &#8216;Others&#8217;. Companies that starts their name with other symbols.</p>
<p>A simple regex will do the job.</p>
<pre class="brush: sql" name="code">
SELECT * FROM table WHERE column NOT REGEXP '^[a-zA-Z]'
</pre>
]]></content:encoded>
			<wfw:commentRss>http://mkhairul.com/2010/01/07/listing-non-alphabet-records-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The application does not work</title>
		<link>http://mkhairul.com/2009/12/17/the-application-does-not-work/</link>
		<comments>http://mkhairul.com/2009/12/17/the-application-does-not-work/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 08:52:48 +0000</pubDate>
		<dc:creator>mkhairul</dc:creator>
				<category><![CDATA[rants]]></category>

		<guid isPermaLink="false">http://mkhairul.com/?p=1523</guid>
		<description><![CDATA[There&#8217;s a project I&#8217;m involved in where the staff says to their boss that the software that we provide does not work. Since I have dealt with quite a handful of people in the past, I knew this was not the case.
The software that we use is Moodle (we dont actually sell Moodle, just the [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a project I&#8217;m involved in where the staff says to their boss that the software that we provide does not work. Since I have dealt with quite a handful of people in the past, I knew this was not the case.</p>
<p>The software that we use is Moodle (we dont actually sell Moodle, just the services like customization, training, setup and configuration). It seems simple enough to use but if you involve some complex process to it (like managing classes etc), it would be overwhelming to use hence the claim that was supposed to be &#8220;I don&#8217;t know how to use it&#8221; to &#8220;It does not work&#8221;.</p>
<p>I am slightly annoyed at this claim, since we&#8217;re dealing with a bunch of IT people (and working collaboratively trying to make this project a success) the phrase should be more precise on the things that &#8220;does not work&#8221;. For example, &#8220;I don&#8217;t know the step to do so and so&#8221;, &#8220;We can&#8217;t log into the application&#8221;, &#8220;We can&#8217;t batch upload the student csv files&#8221;, etc.</p>
<p>Oh, did I mentioned that the client is up far north, so collaborative work through the internet might be somewhat hard and awkward for them.</p>
<p>I&#8217;m going up there on new year&#8217;s eve to show them that the damn thing works and refute all the nonsensical claim that was made.</p>
]]></content:encoded>
			<wfw:commentRss>http://mkhairul.com/2009/12/17/the-application-does-not-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pondering while reading</title>
		<link>http://mkhairul.com/2009/12/16/pondering-while-reading/</link>
		<comments>http://mkhairul.com/2009/12/16/pondering-while-reading/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 15:07:41 +0000</pubDate>
		<dc:creator>mkhairul</dc:creator>
				<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://mkhairul.com/?p=1519</guid>
		<description><![CDATA[One of the few stuffs that I do while reading a book is to ponder at a sentence that makes a really good quote. Since I&#8217;m driving around now (less public transport), my speed to finish a book almost halted but I still bring a book everywhere I went to because you never know there&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://mkhairul.com/wp-content/uploads/2009/12/ponder.png" alt="ponder" title="ponder" width="185" height="136" class="alignright size-full wp-image-1520" />One of the few stuffs that I do while reading a book is to ponder at a sentence that makes a really good quote. Since I&#8217;m driving around now (less public transport), my speed to finish a book almost halted but I still bring a book everywhere I went to because you never know there&#8217;s bound to be late appointments, clients, waiting for something, etc.</p>
<p>Pondering is what I do when I read before going to sleep, sometimes the pondering puts me to sleep, other times it gives me the urge to write something in my notebook or do some google search and more reading on the subject matter.</p>
<p>Anyway, its nice to ponder.</p>
]]></content:encoded>
			<wfw:commentRss>http://mkhairul.com/2009/12/16/pondering-while-reading/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
