<?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>Cow Computing &#187; Bug</title>
	<atom:link href="http://www.cowcomputing.com/category/bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cowcomputing.com</link>
	<description>Share Info about Cloud Computing &#38; Programming</description>
	<lastBuildDate>Thu, 22 Jul 2010 17:10:24 +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>WordPress Error: Cannot Modify Header Information</title>
		<link>http://www.cowcomputing.com/2010/03/08/wordpress-error-cannot-modify-header-information/</link>
		<comments>http://www.cowcomputing.com/2010/03/08/wordpress-error-cannot-modify-header-information/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 02:14:06 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Bug]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Header]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.cowcomputing.com/?p=198</guid>
		<description><![CDATA[Have you ever encountered the error: &#8220;Cannot modify header information&#8221; when you try to access the admin page of wordpress? The debug message might have suggested you to look at &#8220;pluggable.php&#8221;. When searching thru google, people often advise you to turn off installed-plugin one by one to see if the problem get resolved. The above [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever encountered the error: &#8220;Cannot modify header information&#8221; when you try to access the admin page of wordpress? The debug message might have suggested you to look at &#8220;pluggable.php&#8221;. When searching thru google, people often advise you to turn off installed-plugin one by one to see if the problem get resolved.</p>
<p>The above might work, but i would suggest you to try the following method before going thru the turn-off plugin cycle. For example, if you have modified &#8220;functions.php&#8221;, and the above header information header appeared right after, you can easily resolve this by removing all the extra whitespace before the &#8220;&lt;?php&#8221; and &#8220;?&gt;&#8221; tag. Viewing thru editor, you might not notice any whitespace, but try this trick:</p>
<ol>
<li>Remove the &#8220;&gt;&#8221; from the &#8220;?&gt;&#8221; tag at the end of file</li>
<li>Then keep holding Delete key (not backspace) for a few seconds. (*note that the cursor should be locate after the &#8220;?&#8221;)</li>
<li>You will notice some whitespace being deleted. Amazing isn&#8217;t it?</li>
<li>Add the &#8220;&gt;&#8221; after the &#8220;?&#8221; to properly close the php tag</li>
<li>Save the file, and try accessing it, the header information error should have been resolved</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.cowcomputing.com/2010/03/08/wordpress-error-cannot-modify-header-information/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solution: Eclipse Mouse Click Problem in Ubuntu 9.10</title>
		<link>http://www.cowcomputing.com/2009/12/15/solution-eclipse-mouse-click-problem-in-ubuntu-9-10/</link>
		<comments>http://www.cowcomputing.com/2009/12/15/solution-eclipse-mouse-click-problem-in-ubuntu-9-10/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 06:49:05 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Bug]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Shell Script]]></category>

		<guid isPermaLink="false">http://www.cowcomputing.com/?p=139</guid>
		<description><![CDATA[Recently, i have my Ubuntu VM upgraded from 9.04 to 9.10 aka Karmic. And when i tried to develop program using eclipse, i found out that, sometimes, in certain dialog boxes, &#8220;next&#8221; or &#8220;ok&#8221; button didn&#8217;t give any response. Initially, i thought it&#8217;s my VM&#8217;s problem, but when i repeated it with my desktop, the [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, i have my Ubuntu VM upgraded from 9.04 to 9.10 aka Karmic. And when i tried to develop program using eclipse, i found out that, sometimes, in certain dialog boxes, &#8220;next&#8221; or &#8220;ok&#8221; button didn&#8217;t give any response. Initially, i thought it&#8217;s my VM&#8217;s problem, but when i repeated it with my desktop, the same thing happened. After googling abit, it was found that the problem was due the the recent change in GTK with 9.10.</p>
<p>To get around the problem, the simplest thing to do is to &#8220;Tab&#8221; and &#8220;Enter&#8221;. It was so annoying&#8230;</p>
<p>Luckily, there&#8217;s a trouble-free solution to it. You might try to set the environmental variable &#8220;GDK_NATIVE_WINDOWS&#8221; to true before executing the eclipse. To make thing simpler, here&#8217;s a eclipse.sh that you might want to use for starting eclipse.</p>
<pre class="brush:shell">#eclipse.sh
#!/bin/sh
export GDK_NATIVE_WINDOWS=true
&lt;path to eclipse folder&gt;/eclipse</pre>
<p>Do change the &lt;path to eclipse folder&gt; to your eclipse&#8217;s current location. <em>chmod it to 777</em> and run it with <em>./eclipse.sh</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cowcomputing.com/2009/12/15/solution-eclipse-mouse-click-problem-in-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JAVA Substring Bug!</title>
		<link>http://www.cowcomputing.com/2009/09/06/java-substring-bug/</link>
		<comments>http://www.cowcomputing.com/2009/09/06/java-substring-bug/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 09:53:41 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Bug]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://steve.katyyeung.com/?p=24</guid>
		<description><![CDATA[Sometimes, when we are working with string in java, we are always tempted to use the substring method for extracting part of a string. It’s neat and efficient when you are working with small program or little string processing. However, this method is evil. It is actually causing you whole lots of problem. The substring [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes, when we are working with string in java, we are always tempted to use the substring method for extracting part of a string. It’s neat and efficient when you are working with small program or little string processing. However, this method is evil. It is actually causing you whole lots of problem. The substring returns the part of the original string rather than a new one. Thus, GC wont collect the original string. So when the file or string get larger and larger, it’s actually taking up more and more memory, and thus OutOfMemory Error. To solve this, there’s nice workaround which is simple.</p>
<pre class="brush:java">String newString = new String( oldString.subString(0, 5) );</pre>
<p>Simple, Right?!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cowcomputing.com/2009/09/06/java-substring-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
