<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<rss version="2.0">
<channel>
<title>Technical FAQs - The five questions posted most recently:</title>
<description>Techical FAQs - solution to common problems in technology - from Edujini Labs</description>
<link>http://faqs.edujini-labs.com</link>	<item>
		<title><![CDATA[While using git-svn, I get an error "SVN/Core.pm" not found. How do I rectify this problem?]]></title>
		<description><![CDATA[<p>The <font face="courier new, courier, monospace">git-svn</font> command depends on the <font face="courier new, courier, monospace">SVN::Core</font> module which, incidentally, is not available on CPAN.</p><p>The <font face="courier new, courier, monospace">SVN::Core</font> module is available as a part of <font face="courier new, courier, monospace">subversion-perl</font> package that needs to be installed separately.</p><p>For Red Hat, Fedora and variants, you can either download the RPM (find on <a href="http://rpm.pbone.net">http://rpm.pbone.net</a>) or use the yum to download and install for you - <font face="courier new, courier, monospace" style="color: rgb(0, 0, 255);">yum install subversion-perl</font>.</p><p>For Debain, Ubuntu, XUbuntu, Edubuntu and their other relatives, use <font face="courier new, courier, monospace">apt</font> to download and install it for you - <font face="courier new, courier, monospace" style="color: rgb(0, 0, 255);">apt-get install subversion-perl</font>.</p><p>For cygwin, download and install the <font face="courier new, courier, monospace">subversion-perl</font> package.</p><p> </p><p /><p />]]></description>
		<link>http://faqs.edujini-labs.com/index.php?action=artikel&amp;cat=57&amp;id=13&amp;artlang=en</link>
		<pubDate>Thu, 09 Apr 2009 03:23:35 GMT</pubDate>
	</item>
	<item>
		<title><![CDATA[While uninstalling Windows Mobile 6 Professional SDK, I get an error "COM<X> in use, please verify". How do I fix this?]]></title>
		<description><![CDATA[<p>Or, you may get "There are not seven pairs of XPVCOM in system".</p><p>Well, this error may occur not only during uninstallation but also while launching the "Cellular Emulator" that is installed with the SDK.</p><p><b>Solution</b>:</p><ol><li>Go to your device manager. My Computer -&gt; Properties -&gt; Hardware -&gt; Device Manager<br /> </li><li>Go to the entry of "System Devices"<br /> <br /><img src="http://faqs.edujini-labs.com/images/sys_dev.jpg" /><br /> </li><li>Towards the end, you will find an entry "XPVCOM" (XP Virtual COM Port, I guess). Uninstall it.<br /> <br />You will see this entry only when you get the error "COM&lt;X&gt; in use, please verify".<br /> </li><li>Now, go to the folder where you have the Cellular Emulator. The default location is "<font face="courier new, courier, monospace">C:\Program Files\Windows SDK 6 Professional\Tools\Cellular Emulator</font>".<br /> </li><li>You will find a utility <font face="courier new, courier, monospace">InstallXPVCom.exe</font>. At the command prompt, execute the following:<br /> <br /><font face="courier new, courier, monospace">InstallXPVcom.exe Install</font><br /> </li><li>Try uninstalling again, it will work.<br /> </li></ol><p>Have fun!</p><p> </p><p></p>]]></description>
		<link>http://faqs.edujini-labs.com/index.php?action=artikel&amp;cat=55&amp;id=12&amp;artlang=en</link>
		<pubDate>Mon, 26 Jan 2009 02:32:27 GMT</pubDate>
	</item>
	<item>
		<title><![CDATA[How do I reset (root) password for MySQL?]]></title>
		<description><![CDATA[
<p>Alternative question: I forgot MySQL root password. How do I reset it?</p><p>MySQL database daemon (mysqld-nt.exe on Windows, mysqld on Linux and *nix) by default allows connection only after validating it against the users in the '<font face="courier new, courier, monospace">user</font>' table in the '<font face="courier new, courier, monospace">mysql</font>' database - what is referred to as the grant table.</p><p>You can turn this off by starting the server using <i><font face="courier new, courier, monospace">--skip-grant-table</font></i> option.</p><p>So, the steps would be:</p><ol><li>Stop MySQL server / daemon, if running.<br /> </li><li>Start the daemon as<br /><b><font face="courier new, courier, monospace">mysqld <i>--skip-grant-table</i></font> </b>(On *nix / Linux et al)<br /><b><font face="courier new, courier, monospace">mysqld-nt.exe <i>--skip-grant-table</i></font></b> (On Windows)<br /> </li><li>Connect using the client and change the password<br /><font face="courier new, courier, monospace">$<b>mysql -u root</b></font> (Don't specify any password, it won't be verified anyway)<br /><font face="courier new, courier, monospace">mysql&gt; <b>use mysql;</b><br />mysql&gt; <b>UPDATE user SET Password='Password' WHERE User='root';</b></font><br /> </li><li>Update privileges<br /><font face="courier new, courier, monospace">mysql&gt; <b>FLUSH PRIVILEGES;</b></font></li></ol><p> </p><p>There's another way out... a slightly more cumbersome. That uses the MySQL feature that when it starts, it can execute a set of SQL statements.</p><p>That's in another FAQ :)</p><p> </p>]]></description>
		<link>http://faqs.edujini-labs.com/index.php?action=artikel&amp;cat=53&amp;id=11&amp;artlang=en</link>
		<pubDate>Sun, 25 Jan 2009 11:52:35 GMT</pubDate>
	</item>
	<item>
		<title><![CDATA[I have an Ajax request. Why does the onreadystatechange callback is not fired on Firefox?]]></title>
		<description><![CDATA[
<p>If the Ajax request is fired synchronously, the onreadystatechange callback will not be fired on Firefox. I'm not sure if it is an issue or a design feature.</p><p>The semantics of the Ajax request are as follow:</p><pre>var request = getRequestObject();<br />request.onreadystatechange = function()<br />{<br />    if(request.readyState == 4)<br />    {<br />         alert('Request completed');<br />    }<br />}<br />request.open('GET', 'MyURL.php', <b>false</b>);<br />request.send(null);</pre><p>Notice a very important deviation from the common Ajax requests... the 3<sup>rd</sup> paramter is <font face="courier new, courier, monospace">false</font> - indicating that the request is a synchronous call.</p><p>The following observations is made:</p><i>In Firefox, the code after call to <font face="courier new, courier, monospace">send</font> method is executed only after the data is received from the server and also the <font face="courier new, courier, monospace">onreadystatechange</font> callback is never called</i>.<p>I will personally classify it a bug that the callback is not called since the readyState would be internally updated as the request is fired and data is received. As such, I would expect the callback to be called irrespective of whether it is a synchronous request or not.</p><p>Have a look at the test case attached with this FAQ entry.</p><p>So, whenever you fire the request in synchronous mode, ensure that you do care of this issue. The only workaround is to have your callback code called after <font face="courier new, courier, monospace">send </font>method.</p>]]></description>
		<link>http://faqs.edujini-labs.com/index.php?action=artikel&amp;cat=21&amp;id=10&amp;artlang=en</link>
		<pubDate>Sun, 29 Jun 2008 19:53:44 GMT</pubDate>
	</item>
</channel>
</rss>
