<?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>Chintoju's blog &#187; tech</title>
	<atom:link href="http://blog.chintoju.com/tag/tech/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.chintoju.com</link>
	<description>Can you get something out of nothing...</description>
	<lastBuildDate>Thu, 08 Oct 2009 02:07:03 +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>How to install OpenOffice.org 3.0 in Linux Mint</title>
		<link>http://blog.chintoju.com/2008/12/how-to-install-openofficeorg-30-in-linux-mint.html</link>
		<comments>http://blog.chintoju.com/2008/12/how-to-install-openofficeorg-30-in-linux-mint.html#comments</comments>
		<pubDate>Wed, 17 Dec 2008 11:12:38 +0000</pubDate>
		<dc:creator>Kishore</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linuxmint]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.chintoju.com/?p=50</guid>
		<description><![CDATA[This is pretty simple in the linux mint. (You usually already have OpenOffice.org 2.4 which comes by default, so this is more like an upgrade procedure)
You add the OpenOffice deb repository as this is not yet available from Ubuntu reps and do a mintUpdate which will quickly tell you what is ready to be updated. [...]]]></description>
			<content:encoded><![CDATA[<p>This is pretty simple in the linux mint. (You usually already have OpenOffice.org 2.4 which comes by default, so this is more like an upgrade procedure)</p>
<p>You add the OpenOffice deb repository as this is not yet available from Ubuntu reps and do a mintUpdate which will quickly tell you what is ready to be updated. Here we go.</p>
<p><strong>Step 1</strong> &#8211; Add openoffice.org repository. To do this first open Synaptic Package Manger, Go to Setting&gt;Repositories. Click new which will add new repository at the end of list. Add the following details as shown in screenshot for the new repository entry. Then press ok to save.</p>
<p><a href="http://blog.chintoju.com/wp-content/uploads/2008/12/add-repository-mint1.png"><img class="alignnone size-medium wp-image-57" title="add-repository-mint1" src="http://blog.chintoju.com/wp-content/uploads/2008/12/add-repository-mint1-300x187.png" alt="add-repository-mint1" width="300" height="187" /></a></p>
<p><strong>Step 2:</strong> Open mintUpdate (Menu&gt;Administration&gt;mintUpdate) and click on <strong>Refresh</strong>, Which will now show all the updates for open office. Click installl updates</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chintoju.com/2008/12/how-to-install-openofficeorg-30-in-linux-mint.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Retrieve items from Browser Cache (Firefox, Opera, IE)</title>
		<link>http://blog.chintoju.com/2008/07/retrieve-filesitems-from-browser-cache-firefox-opera-ie.html</link>
		<comments>http://blog.chintoju.com/2008/07/retrieve-filesitems-from-browser-cache-firefox-opera-ie.html#comments</comments>
		<pubDate>Fri, 18 Jul 2008 05:57:00 +0000</pubDate>
		<dc:creator>Kishore</dc:creator>
				<category><![CDATA[browsers]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://blog.chintoju.com/?p=24</guid>
		<description><![CDATA[Have you ever had to work on a live site and while uploading the changes something goes bad with whatever and your live copy gets deleted and that&#8217;s the only copy you have at the moment. (This can happen easily if you are using those file manager tools provided by hosting accounts which edit files [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever had to work on a live site and while uploading the changes something goes bad with whatever and your live copy gets deleted and that&#8217;s the only copy you have at the moment. (This can happen easily if you are using those file manager tools provided by hosting accounts which edit files in browser)</p>
<p>Anyway the quickest solution would be to get the files from the browser cache. If you have been testing the site simultaneously. I had to do this recently and it saved me lot of time and embarrassment. So here is how you can do it &#8230;.</p>
<p>On <span style="font-weight:bold;">Firefox 3</span> (My favourite browser)</p>
<p>Type <span style="font-weight:bold;">about:cache</span> in address bar and voila you get access to all the cache. The view is functional and easy to use.</p>
<p><a href="http://bp3.blogger.com/_znpAdmT-J6Q/SIA2GWho_pI/AAAAAAAACbA/YHwI7o-rhoo/s1600-h/ScreenShot004.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5224235050503569042" style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp3.blogger.com/_znpAdmT-J6Q/SIA2GWho_pI/AAAAAAAACbA/YHwI7o-rhoo/s320/ScreenShot004.png" border="0" alt="" /></a><br />
<a href="http://bp2.blogger.com/_znpAdmT-J6Q/SIA2Gk7WhSI/AAAAAAAACbI/ezmzaFYNM7w/s1600-h/ScreenShot005.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5224235054369506594" style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp2.blogger.com/_znpAdmT-J6Q/SIA2Gk7WhSI/AAAAAAAACbI/ezmzaFYNM7w/s320/ScreenShot005.png" border="0" alt="" /></a></p>
<p>On <span style="font-weight:bold;">Opera 9.5</span>(Increasingly competing for my favourite browser spot, can even do that with one plugin like Firebug)</p>
<p>Type <span style="font-weight:bold;">opera:cache</span> in address bar and voila you go.. the best cache browser in the industry. Opera has some more cool features like SpeedDial.. anyway you can discover all that yourself by downloading it.</p>
<p><a href="http://bp1.blogger.com/_znpAdmT-J6Q/SIAz9oyF2VI/AAAAAAAACaw/lZpLSc63A1w/s1600-h/ScreenShot006.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5224232701762328914" style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp1.blogger.com/_znpAdmT-J6Q/SIAz9oyF2VI/AAAAAAAACaw/lZpLSc63A1w/s320/ScreenShot006.png" border="0" alt="" /></a></p>
<p>On <span style="font-weight:bold;">IE 7</span>. This takes just a bit longer. Click on <span style="font-weight:bold;">Tools&gt;Internet Options&gt;Browsing History&gt;Settings&gt;View Files</span>.. pretty logical huh!</p>
<p>Anyway it does the job&#8230;</p>
<p><a href="http://bp0.blogger.com/_znpAdmT-J6Q/SIA1KL823LI/AAAAAAAACa4/vutoQj4nCeU/s1600-h/ScreenShot003.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5224234016872783026" style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp0.blogger.com/_znpAdmT-J6Q/SIA1KL823LI/AAAAAAAACa4/vutoQj4nCeU/s320/ScreenShot003.png" border="0" alt="" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chintoju.com/2008/07/retrieve-filesitems-from-browser-cache-firefox-opera-ie.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A particular session variable&#8217;s value disappearing from $_SESSION in PHP</title>
		<link>http://blog.chintoju.com/2008/07/a-particular-session-variables-value-disappearing-from-_session-in-php.html</link>
		<comments>http://blog.chintoju.com/2008/07/a-particular-session-variables-value-disappearing-from-_session-in-php.html#comments</comments>
		<pubDate>Sun, 13 Jul 2008 14:03:00 +0000</pubDate>
		<dc:creator>Kishore</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://blog.chintoju.com/?p=23</guid>
		<description><![CDATA[A particular session variable&#8217;s value disappearing from $_SESSION in PHP&#8230; ??
Just check to make sure you DON&#8217;T have register_globals turned On. This took me a few hour&#8217;s to figure out..
Example scenario..
Form Bean class

class FormBean
{
public $email;
public $name;
}

page1.php

$form = new FormBean();
$form-&#62;email = "someone@something.com.au";
$_SESSION['form'] = serialize($form);
header("location:page2.php");

page2.php

$form =NULL;
if(isset($_SESSION['form']))
{
$form = unserialize($_SESSION['form']);
}
echo $form-&#62;email;

Expected to print &#8220;someone@something.com.au&#8221; right. Usually it does. If [...]]]></description>
			<content:encoded><![CDATA[<p>A particular session variable&#8217;s value disappearing from $_SESSION in PHP&#8230; ??</p>
<p>Just check to make sure you DON&#8217;T have <span style="font-weight: bold;">register_globals</span> turned <span style="font-weight: bold;">On.</span> This took me a few hour&#8217;s to figure out..</p>
<p>Example scenario..<br />
<span style="text-decoration: underline;">Form Bean class</span><br />
<code><br />
class FormBean<br />
{<br />
public $email;<br />
public $name;<br />
}<br />
</code></p>
<p><span style="text-decoration: underline;">page1.php</span><br />
<code><br />
$form = new FormBean();<br />
$form-&gt;email = "someone@something.com.au";<br />
$_SESSION['form'] = serialize($form);<br />
header("location:page2.php");<br />
</code></p>
<p><span style="text-decoration: underline;">page2.php</span><br />
<code><br />
$form =NULL;<br />
if(isset($_SESSION['form']))<br />
{<br />
$form = unserialize($_SESSION['form']);<br />
}<br />
echo $form-&gt;email;<br />
</code></p>
<p>Expected to print &#8220;someone@something.com.au&#8221; right. Usually it does. If it doesn&#8217;t and you see that all other session variables are intact except &#8216;form&#8217;, then it&#8217;s time to look at your &#8216;register_globals&#8217; setting. One of my client uses this pretty lax hosting which had this on what it has done is &#8230;.</p>
<p><span style="text-decoration: underline;">page2.php</span><br />
<code><br />
<strong>$form =NULL;</strong> <span style="color: #f67c2a;">//This sets the form bean to NULL.. wherever it is stored. Throughout the entire website. (Even IN $_SESSION)</span></code></p>
<p><code> </code></p>
<p><code>if(isset($_SESSION['form']))<br />
{<br />
$form = unserialize($_SESSION['form']);<br />
}<br />
echo $form-&gt;email;<br />
</code></p>
<p>So the <span id="SPELLING_ERROR_0" class="blsp-spelling-error">lesson</span> learnt for me was&#8230; Just check to make sure <span style="font-weight: bold;">register_<span id="SPELLING_ERROR_1" class="blsp-spelling-error"><span id="SPELLING_ERROR_0" class="blsp-spelling-error">globals</span></span></span> is <span style="font-weight: bold;">Off</span> whenever you switch to new hosting.. <span id="SPELLING_ERROR_2" class="blsp-spelling-error"><span id="SPELLING_ERROR_1" class="blsp-spelling-error">coz</span></span> that is pure EVIL.</p>
<p>How you can turn it off.. There are two different ways.</p>
<ol>
<li><span style="font-weight: bold;"><a href="http://www.php.net/ini_set"><span id="SPELLING_ERROR_3" class="blsp-spelling-error"><span id="SPELLING_ERROR_2" class="blsp-spelling-error">ini</span></span>_set</a><br />
</span></li>
<li><span style="font-weight: bold;">.<a href="http://www.askapache.com/php/custom-phpini-tips-and-tricks.html"><span id="SPELLING_ERROR_4" class="blsp-spelling-error"><span id="SPELLING_ERROR_3" class="blsp-spelling-error">htaccess</span></span></a></span></li>
</ol>
<p>This also makes me feel that PHP&#8217;s OOP implementation is either misleading , buggy or at least fundamentally different to other OOP languages like Java or C#.</p>
<p>Consider this in Java:<br />
<span style="text-decoration: underline;">FormBean.java</span><br />
<code><br />
class FormBean<br />
{<br />
public String email;<br />
}<br />
</code></p>
<p><span style="text-decoration: underline;">TestFormBean.java</span><br />
<code><br />
class TestFormBean<br />
{<br />
public static void main(String[] args)<br />
{<br />
FormBean form1 = new FormBean(); <span style="color:#F67C2A">//Create new form bean</span><br />
form1.email = "someone@something.com.au"; <span style="color:#F67C2A">//populate form bean</span></code></p>
<p><code>FormBean form2 = form1; <span style="color:#F67C2A">//Assign created form bean object to another reference variable</span><br />
form1 = null;</p>
<p></code></p>
<p><code> System.out.println(form2.email);<br />
<span style="color:#F67C2A"><br />
//would still print "someone@something.com.au"<br />
//i.e. Just setting one reference to NULL won't kill its object instance.</span><br />
}<br />
}</code><br />
I have tested similar code with PHP though&#8230; I have only realised <strong>register_globals</strong> seems to affect the ways objects and their references are handled. Like setting one reference of an object to NULL killing the object instance, which essentially renders all my other references useless.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chintoju.com/2008/07/a-particular-session-variables-value-disappearing-from-_session-in-php.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse/RAD debugger timing out before starting server</title>
		<link>http://blog.chintoju.com/2008/06/eclipserad-debugger-timing-out-before-starting-server.html</link>
		<comments>http://blog.chintoju.com/2008/06/eclipserad-debugger-timing-out-before-starting-server.html#comments</comments>
		<pubDate>Sat, 21 Jun 2008 00:31:00 +0000</pubDate>
		<dc:creator>Kishore</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://blog.chintoju.com/?p=21</guid>
		<description><![CDATA[Is your RAD/Eclipse Java debugger timing out before starting the server?
Have a gazillion projects in RAD/Eclipse which all have to be deployed in server for debugging all the time like I do?
There is an easy way to increase RAD/Eclipse debugger timeout.

Go to Windows &#62; Preferences &#62; Java &#62; Debug

Increase both &#8220;Debugger time-out&#8221; and &#8220;Launch time-out&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>Is your RAD/Eclipse Java debugger timing out before starting the server?</p>
<p>Have a gazillion projects in RAD/Eclipse which all have to be deployed in server for debugging all the time like I do?</p>
<p>There is an easy way to increase RAD/Eclipse debugger timeout.</p>
<ol type="1">
<li>Go to <strong>Windows &gt; Preferences &gt; Java &gt; Debug<br />
</strong></li>
<li>Increase both &#8220;Debugger time-out&#8221; and &#8220;Launch time-out&#8221; value to be much larger. Try values like 180000/360000 respectively for time-out values of 3 and 6 mins.</li>
</ol>
<p><a href="http://bp0.blogger.com/_znpAdmT-J6Q/SFyEvDL2aqI/AAAAAAAACIA/IohQG_SUmTs/s1600-h/RAD_Eclipse_ScreenShot002.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5214188412431919778" style="margin: 0pt 10px 10px 0pt; cursor: pointer;" src="http://bp0.blogger.com/_znpAdmT-J6Q/SFyEvDL2aqI/AAAAAAAACIA/IohQG_SUmTs/s320/RAD_Eclipse_ScreenShot002.png" border="0" alt="" /></a></p>
<p>Full article at IBM</p>
<p><a href="http://www-1.ibm.com/support/docview.wss?rs=2042&amp;context=SSRTLW&amp;context=SSJM4G&amp;context=SSSTY3&amp;context=SSCGQ7C&amp;context=SSDV2W&amp;uid=swg21212755&amp;loc=en_US&amp;cs=UTF-8&amp;lang=en"></a><a href="http://www-1.ibm.com/support/docview.wss?rs=2042&amp;context=SSRTLW&amp;context=SSJM4G&amp;context=SSSTY3&amp;context=SSCGQ7C&amp;context=SSDV2W&amp;uid=swg21212755&amp;loc=en_US&amp;cs=UTF-8&amp;lang=en">http://www-1.ibm.com/support/docview.wss?rs=2042&amp;context=SSRTLW&amp;context=SSJM4G&amp;context=SSSTY3&amp;context=SSCGQ7C&amp;context=SSDV2W&amp;uid=swg21212755&amp;loc=en_US&amp;cs=UTF-8&amp;lang=en</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chintoju.com/2008/06/eclipserad-debugger-timing-out-before-starting-server.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recursively Delete files within all sub directories in DOS</title>
		<link>http://blog.chintoju.com/2008/06/recursively-delete-files-within-all-sub-directories-in-dos.html</link>
		<comments>http://blog.chintoju.com/2008/06/recursively-delete-files-within-all-sub-directories-in-dos.html#comments</comments>
		<pubDate>Fri, 13 Jun 2008 02:36:00 +0000</pubDate>
		<dc:creator>Kishore</dc:creator>
				<category><![CDATA[dos]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[quickfix]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.chintoju.com/?p=17</guid>
		<description><![CDATA[Ever wondered how to delete files matching a certain patten from within all sub-directories in DOS (aka Windows).
Simple
At your command prompt type simply DEL /S  *.exteg:To delete all .bak files within D:WorkspaceD:workspace>dels *.bak
But be careful.. there is no confirmation dialog.
]]></description>
			<content:encoded><![CDATA[<p>Ever wondered how to delete files matching a certain patten from within all sub-directories in DOS (aka Windows).</p>
<p>Simple</p>
<p>At your command prompt type simply DEL /S  *.ext<br />eg:<br />To delete all .bak files within D:Workspace<br /><code><br />D:workspace>dels *.bak<br /></code></p>
<p>But be careful.. there is no confirmation dialog.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chintoju.com/2008/06/recursively-delete-files-within-all-sub-directories-in-dos.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
