<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2311694430874052423</id><updated>2024-08-28T13:52:10.725+10:00</updated><title type='text'>Chitra&#39;s Wiki</title><subtitle type='html'>A log of the fixes and features I have implemented...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://chitraswiki.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://chitraswiki.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Chitra</name><uri>http://www.blogger.com/profile/11171060155891885832</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>37</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2311694430874052423.post-1264807178730170260</id><published>2012-03-26T08:06:00.000+11:00</published><updated>2012-03-26T08:07:44.072+11:00</updated><title type='text'>How to obtain Xalan and Xerces&#39;s version numbers from their jars?</title><summary type="text">Both Xerces and Xalan has a utility class that reports its version number:java -cp ./xerces.jar org.apache.xerces.impl.Versionjava -cp ./xalan.jar org.apache.xalan.Version</summary><link rel='replies' type='application/atom+xml' href='http://chitraswiki.blogspot.com/feeds/1264807178730170260/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://chitraswiki.blogspot.com/2012/03/how-to-obtain-xalan-and-xercess-version.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/1264807178730170260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/1264807178730170260'/><link rel='alternate' type='text/html' href='http://chitraswiki.blogspot.com/2012/03/how-to-obtain-xalan-and-xercess-version.html' title='How to obtain Xalan and Xerces&#39;s version numbers from their jars?'/><author><name>Chitra</name><uri>http://www.blogger.com/profile/11171060155891885832</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2311694430874052423.post-6983192510065136186</id><published>2011-11-24T12:19:00.002+11:00</published><updated>2011-11-24T12:25:24.374+11:00</updated><title type='text'>How to fix GWT 2.3.0&#39;s  No source code is available for type ; did you forget to inherit a required module?</title><summary type="text">To fix the following error (or similar errors) when doing a mvn clean compile on a GWT 2.3.0 app:[ERROR] Errors in &#39;jar:file:/C:/Documents%20and%20Settings/myfolder/.m2/repository/com/google/gwt/gwt-user/2.3.0/gwt-user-2.3.0.jar!/com/google/gwt/editor/client/EditorDriver.java&#39;[ERROR] Line 97: No source code is available for type javax.validation.ConstraintViolation; did you forget to inherit a </summary><link rel='replies' type='application/atom+xml' href='http://chitraswiki.blogspot.com/feeds/6983192510065136186/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://chitraswiki.blogspot.com/2011/11/how-to-fix-gwt-230s-no-source-code-is.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/6983192510065136186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/6983192510065136186'/><link rel='alternate' type='text/html' href='http://chitraswiki.blogspot.com/2011/11/how-to-fix-gwt-230s-no-source-code-is.html' title='How to fix GWT 2.3.0&#39;s  No source code is available for type ; did you forget to inherit a required module?'/><author><name>Chitra</name><uri>http://www.blogger.com/profile/11171060155891885832</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2311694430874052423.post-6305432715398366939</id><published>2011-09-13T13:27:00.001+10:00</published><updated>2011-09-13T13:27:40.804+10:00</updated><title type='text'>Adding &#39;cmd.exe&#39; onto the Windows context menu</title><summary type="text">Manually add the context menuIn explorer, open Tools, Folder Options.Select the File Types tab.For Windows XP: Go to NONE / Folder.For Windows 2000: Press n to scroll to the N/A section.For Windows NT/98/95: Press f to scroll to the Folders section.Select the entry labeled FolderFor Windows 2000/XP: Press Advanced button.For Windows NT/98/95: Press Edit button.Select NewIn the action block type &quot;</summary><link rel='replies' type='application/atom+xml' href='http://chitraswiki.blogspot.com/feeds/6305432715398366939/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://chitraswiki.blogspot.com/2011/09/adding-cmdexe-onto-windows-context-menu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/6305432715398366939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/6305432715398366939'/><link rel='alternate' type='text/html' href='http://chitraswiki.blogspot.com/2011/09/adding-cmdexe-onto-windows-context-menu.html' title='Adding &#39;cmd.exe&#39; onto the Windows context menu'/><author><name>Chitra</name><uri>http://www.blogger.com/profile/11171060155891885832</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2311694430874052423.post-2607848199418343993</id><published>2010-07-21T18:05:00.001+10:00</published><updated>2010-07-21T18:06:58.543+10:00</updated><title type='text'>Setting tomcat in debug mode</title><summary type="text">To set Tomcat in debug mode:1. Run {catalina_home}/bin/tomcat6w.exe2. In Java tab, add the following lines to Java options:-Xdebug-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=yThats it!</summary><link rel='replies' type='application/atom+xml' href='http://chitraswiki.blogspot.com/feeds/2607848199418343993/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://chitraswiki.blogspot.com/2010/07/setting-tomcat-in-debug-mode.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/2607848199418343993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/2607848199418343993'/><link rel='alternate' type='text/html' href='http://chitraswiki.blogspot.com/2010/07/setting-tomcat-in-debug-mode.html' title='Setting tomcat in debug mode'/><author><name>Chitra</name><uri>http://www.blogger.com/profile/11171060155891885832</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2311694430874052423.post-3445955601955947310</id><published>2010-05-20T17:23:00.004+10:00</published><updated>2010-05-20T17:40:44.308+10:00</updated><title type='text'>m2eclipse (Maven 2 Eclipse Plugin) does not resolve project dependencies in Eclipse Ganymede/Eclipse Gallileo workspaces</title><summary type="text">This has bitten me too many times in the arse that I have finally decided to write myself a wiki on how to resolve this issue.Reproducable on---------------Eclipse 3.4 GanymedeEclipse 3.5 GallileoIssue------Maven does not resolve all the dependencies and add the jar files in the workspace.How to Resolve----------------1. Ensure that the following tags is in your .classpath file in your project (</summary><link rel='replies' type='application/atom+xml' href='http://chitraswiki.blogspot.com/feeds/3445955601955947310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://chitraswiki.blogspot.com/2010/05/m2eclipse-maven-2-eclipse-plugin-does.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/3445955601955947310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/3445955601955947310'/><link rel='alternate' type='text/html' href='http://chitraswiki.blogspot.com/2010/05/m2eclipse-maven-2-eclipse-plugin-does.html' title='m2eclipse (Maven 2 Eclipse Plugin) does not resolve project dependencies in Eclipse Ganymede/Eclipse Gallileo workspaces'/><author><name>Chitra</name><uri>http://www.blogger.com/profile/11171060155891885832</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2311694430874052423.post-8124442880726384787</id><published>2010-05-14T10:27:00.001+10:00</published><updated>2010-05-14T10:28:28.832+10:00</updated><title type='text'>Checking security settings for each Windows user</title><summary type="text">To check the security settings for all your Windows users, go to:gpedit.msc &gt; &quot;Local Computer Policy&quot; &gt; &quot;Computer Configuration&quot; &gt; &quot;Windows Settings&quot; &gt; &quot;Security Settings&quot; &gt; &quot;Local Policies&quot; &gt; &quot;User Rights Assignment&quot; &gt;</summary><link rel='replies' type='application/atom+xml' href='http://chitraswiki.blogspot.com/feeds/8124442880726384787/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://chitraswiki.blogspot.com/2010/05/checking-security-settings-for-each.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/8124442880726384787'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/8124442880726384787'/><link rel='alternate' type='text/html' href='http://chitraswiki.blogspot.com/2010/05/checking-security-settings-for-each.html' title='Checking security settings for each Windows user'/><author><name>Chitra</name><uri>http://www.blogger.com/profile/11171060155891885832</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2311694430874052423.post-1102879713954775004</id><published>2010-01-29T11:07:00.002+11:00</published><updated>2010-01-29T11:19:35.863+11:00</updated><title type='text'>Embedded jetty version problems in Eclipse</title><summary type="text">Issue:In my project, I was getting maven to download two dependencies:1. &lt; dependency &gt;    &lt; groupId &gt;org.mortbay.jetty&lt; /groupId &gt;    &lt; artifactId &gt;jetty-embedded&lt; /artifactId &gt;    &lt; version &gt;6.1.9&lt; /version &gt;   &lt; /dependency &gt;2.  &lt; dependency &gt;    &lt; groupId &gt;org.openqa.selenium.client-drivers&lt; /groupId &gt;    &lt; artifactId &gt;selenium-java-client-driver&lt; /artifactId &gt;    &lt; version &gt;0.9.2&lt; /version &gt;</summary><link rel='replies' type='application/atom+xml' href='http://chitraswiki.blogspot.com/feeds/1102879713954775004/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://chitraswiki.blogspot.com/2010/01/embedded-jetty-version-problems-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/1102879713954775004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/1102879713954775004'/><link rel='alternate' type='text/html' href='http://chitraswiki.blogspot.com/2010/01/embedded-jetty-version-problems-in.html' title='Embedded jetty version problems in Eclipse'/><author><name>Chitra</name><uri>http://www.blogger.com/profile/11171060155891885832</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2311694430874052423.post-5142028021772849274</id><published>2009-12-15T11:57:00.003+11:00</published><updated>2009-12-15T11:59:26.677+11:00</updated><title type='text'>How to increase the heap size available to a JUnit Test Class in Eclipse?</title><summary type="text">If your running a JUnit Test on Eclipse, do the following to increase the heap size available for it:1. Click on &#39;Run&#39; and &#39;Open Debug Dialog&#39;2. Click on &#39;JUnit&#39; on the left pane of the window3. Enter a name for the JUnit test4. Fill up all the relevant details in the &#39;Test&#39; tab5. Click on the &#39;Arguments&#39; tab6. In &#39;VM arguments&#39;, type the following:-Xmx1024M</summary><link rel='replies' type='application/atom+xml' href='http://chitraswiki.blogspot.com/feeds/5142028021772849274/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://chitraswiki.blogspot.com/2009/12/how-to-increase-heap-size-available-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/5142028021772849274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/5142028021772849274'/><link rel='alternate' type='text/html' href='http://chitraswiki.blogspot.com/2009/12/how-to-increase-heap-size-available-to.html' title='How to increase the heap size available to a JUnit Test Class in Eclipse?'/><author><name>Chitra</name><uri>http://www.blogger.com/profile/11171060155891885832</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2311694430874052423.post-3730828328208499595</id><published>2009-11-02T14:36:00.004+11:00</published><updated>2009-11-02T14:52:58.560+11:00</updated><title type='text'>Getting the attributes of an OpenLayer.Feature.Point that has been clustered in a OpenLayers.Layer.Vector layer</title><summary type="text">I encountered this problem and spent a day trying to understand how it worked. I have figured it out and am sharing my understanding with everyone.Issue------------I had a GeoJSON parser that parsed the following geojson file:{   &quot;type&quot;: &quot;FeatureCollection&quot;,   &quot;features&quot;: [       {&quot;type&quot;:&quot;Feature&quot;, &quot;id&quot;:&quot;computer1&quot;, &quot;properties&quot;:{&quot;trial&quot;:&quot;test&quot;}, &quot;geometry&quot;:{&quot;type&quot;:&quot;Point&quot;, &quot;coordinates&quot;:[143, </summary><link rel='replies' type='application/atom+xml' href='http://chitraswiki.blogspot.com/feeds/3730828328208499595/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://chitraswiki.blogspot.com/2009/11/getting-attributes-of.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/3730828328208499595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/3730828328208499595'/><link rel='alternate' type='text/html' href='http://chitraswiki.blogspot.com/2009/11/getting-attributes-of.html' title='Getting the attributes of an OpenLayer.Feature.Point that has been clustered in a OpenLayers.Layer.Vector layer'/><author><name>Chitra</name><uri>http://www.blogger.com/profile/11171060155891885832</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2311694430874052423.post-8522041723732008309</id><published>2009-10-30T13:18:00.004+11:00</published><updated>2009-10-30T15:13:02.963+11:00</updated><title type='text'>Printing Javascript object properties</title><summary type="text">If you would like to print out all the properties of an Javascript object and their associated values, do this:Note: Replace &lt; objName &gt; below with the name of your instantiated object.var str;for(prop in &lt;  objName &gt;){str += prop + &#39; value :&#39; + &lt; objName &gt;[prop]+ &#39;\n &#39;;}alert(str); //Show all properties and its value</summary><link rel='replies' type='application/atom+xml' href='http://chitraswiki.blogspot.com/feeds/8522041723732008309/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://chitraswiki.blogspot.com/2009/10/printing-javascript-object-properties.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/8522041723732008309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/8522041723732008309'/><link rel='alternate' type='text/html' href='http://chitraswiki.blogspot.com/2009/10/printing-javascript-object-properties.html' title='Printing Javascript object properties'/><author><name>Chitra</name><uri>http://www.blogger.com/profile/11171060155891885832</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2311694430874052423.post-3606356530715745734</id><published>2009-10-16T13:58:00.003+11:00</published><updated>2009-10-16T14:09:20.547+11:00</updated><title type='text'>Resolving the Exception in thread &quot;main&quot; java.lang.UnsupportedClassVersionError:  com/google/gwt/dev/GWTCompiler(Unsupported major.minor version 48.0)</title><summary type="text">When I tried compiling my GWT project using TestProject-compile.cmd, I got the following exception:Exception in thread &quot;main&quot; java.lang.UnsupportedClassVersionError: com/google/gwt/dev/GWTCompiler (Unsupported major.minor version 48.0)         at java.lang.ClassLoader.defineClass0(Native Method)         at java.lang.ClassLoader.defineClass(Unknown Source)         at </summary><link rel='replies' type='application/atom+xml' href='http://chitraswiki.blogspot.com/feeds/3606356530715745734/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://chitraswiki.blogspot.com/2009/10/resolving-exception-in-thread-main.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/3606356530715745734'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/3606356530715745734'/><link rel='alternate' type='text/html' href='http://chitraswiki.blogspot.com/2009/10/resolving-exception-in-thread-main.html' title='Resolving the Exception in thread &quot;main&quot; java.lang.UnsupportedClassVersionError:  com/google/gwt/dev/GWTCompiler(Unsupported major.minor version 48.0)'/><author><name>Chitra</name><uri>http://www.blogger.com/profile/11171060155891885832</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2311694430874052423.post-3793071327812043887</id><published>2009-10-13T10:53:00.004+11:00</published><updated>2009-10-13T11:07:19.387+11:00</updated><title type='text'>How to print output on the same line on the console in Java?</title><summary type="text">Trying to continuously print output onto the same line in a console using Java?Try this:System.out.print(&quot;TEST TEXT\r&quot;);The &quot;\r&quot; (carriage return) character returns the cursor to the beginning of the output line. Just remember that if you do System.out.print(&quot;TESTTEXT\r&quot;); and then System.out.print(&quot;BLAH\r&quot;);, your final output will beBLAHTEXTThis is because the remaining characters from the </summary><link rel='replies' type='application/atom+xml' href='http://chitraswiki.blogspot.com/feeds/3793071327812043887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://chitraswiki.blogspot.com/2009/10/how-to-print-output-on-same-line-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/3793071327812043887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/3793071327812043887'/><link rel='alternate' type='text/html' href='http://chitraswiki.blogspot.com/2009/10/how-to-print-output-on-same-line-on.html' title='How to print output on the same line on the console in Java?'/><author><name>Chitra</name><uri>http://www.blogger.com/profile/11171060155891885832</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2311694430874052423.post-2609758950287399547</id><published>2009-10-12T10:12:00.002+11:00</published><updated>2009-10-12T10:41:13.966+11:00</updated><title type='text'>Internet Information Services - Setting Up Access Permissions for Specific Windows Users to Access Specific FTP Virtual Directories</title><summary type="text">To set up the Windows IIS FTP Server to allow certains Windows users to access certain virtual directories, ensure that you have done the following:1. Install an IIS FTP Server2. Ensure that you have a Windows User account set up for the user you want to log on as, onto your FTP Server.3. In the &#39;Default FTP Site Properties&#39;, uncheck the &#39;Allow Anonymous Connections&#39; checkbox which can be found </summary><link rel='replies' type='application/atom+xml' href='http://chitraswiki.blogspot.com/feeds/2609758950287399547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://chitraswiki.blogspot.com/2009/10/internet-information-services-setting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/2609758950287399547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/2609758950287399547'/><link rel='alternate' type='text/html' href='http://chitraswiki.blogspot.com/2009/10/internet-information-services-setting.html' title='Internet Information Services - Setting Up Access Permissions for Specific Windows Users to Access Specific FTP Virtual Directories'/><author><name>Chitra</name><uri>http://www.blogger.com/profile/11171060155891885832</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2311694430874052423.post-493988180489479605</id><published>2009-10-12T09:05:00.003+11:00</published><updated>2009-10-12T10:08:38.130+11:00</updated><title type='text'>Why does a file on a Windows machine have different timestamps on different Windows machines?</title><summary type="text">I have a program (which runs on a Windows machine) that gets a list of files and their corresponding timestamps from a remote Windows machine.On the 4th of Oct (the day when Daylight savings triggered of a 1.59am to 3am time change in Melbourne, Australia), my program returned a null value when retrieving the last modified timestamp of a file that was created at 1.21am that day.What puzzled me </summary><link rel='replies' type='application/atom+xml' href='http://chitraswiki.blogspot.com/feeds/493988180489479605/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://chitraswiki.blogspot.com/2009/10/why-does-file-on-windows-machine-have.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/493988180489479605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/493988180489479605'/><link rel='alternate' type='text/html' href='http://chitraswiki.blogspot.com/2009/10/why-does-file-on-windows-machine-have.html' title='Why does a file on a Windows machine have different timestamps on different Windows machines?'/><author><name>Chitra</name><uri>http://www.blogger.com/profile/11171060155891885832</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2311694430874052423.post-8658240678103716868</id><published>2009-09-25T11:15:00.002+10:00</published><updated>2009-09-25T11:28:21.993+10:00</updated><title type='text'>Postgres 8.3 error: Internal account lookup failure: no mapping between account names and security IDs was done</title><summary type="text">If you have encountered this error on a Windows XP machine, check to see if your machine name in the &#39;Account Domain&#39; field (in the PostgreSQL installer GUI) is correct. If you are pulling up the GUI through the command line which has the servicedomain=&#39;&#39; parameter, your &#39;Account Domain&#39; field will be populated to have the value &#39;&#39;. This is obviously erroneous because of the single quotes in the </summary><link rel='replies' type='application/atom+xml' href='http://chitraswiki.blogspot.com/feeds/8658240678103716868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://chitraswiki.blogspot.com/2009/09/postgres-83-error-internal-account.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/8658240678103716868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/8658240678103716868'/><link rel='alternate' type='text/html' href='http://chitraswiki.blogspot.com/2009/09/postgres-83-error-internal-account.html' title='Postgres 8.3 error: Internal account lookup failure: no mapping between account names and security IDs was done'/><author><name>Chitra</name><uri>http://www.blogger.com/profile/11171060155891885832</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2311694430874052423.post-9144954366810231589</id><published>2009-09-21T12:51:00.002+10:00</published><updated>2009-09-21T13:05:17.260+10:00</updated><title type='text'>SimpleDateFormat parse error - from 12pm to 12am</title><summary type="text">I got this error today, only to find out that it was a very simple code error that I overlooked.The Error-----------I have a SimpleDataFormat parser to parse a date string variable to a required format:String time = &quot;Mon Sep 21 2009 12:56:02&quot;;SimpleDateFormat df= new SimpleDateFormat(&quot;EEE MMM dd yyyy hh:mm:ss&quot;);Date parsedDate = sdf.parse(time);However, a System.out.println(&quot;parsedDate = &quot; + </summary><link rel='replies' type='application/atom+xml' href='http://chitraswiki.blogspot.com/feeds/9144954366810231589/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://chitraswiki.blogspot.com/2009/09/simpledateformat-parse-error-from-12pm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/9144954366810231589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/9144954366810231589'/><link rel='alternate' type='text/html' href='http://chitraswiki.blogspot.com/2009/09/simpledateformat-parse-error-from-12pm.html' title='SimpleDateFormat parse error - from 12pm to 12am'/><author><name>Chitra</name><uri>http://www.blogger.com/profile/11171060155891885832</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2311694430874052423.post-5980809899347786975</id><published>2009-09-16T19:10:00.000+10:00</published><updated>2009-09-21T12:51:39.626+10:00</updated><title type='text'>What is a Windows lmhosts file?</title><summary type="text">lmhosts stands for LAN Manager Hosts file. This host file is called &#39;hosts&#39; and can be found in C:\WINDOWS\system32\drivers\etcTo put it very simply, it is a file that maps IP addresses to the NetBIOS host names of the machines. For example, write this into your hosts file:192.168.1.1 Test-MachineHence, when &#39;Test-Machine&#39; is pinged, it will be translated to &#39;192.168.1.1&#39; without needing to check</summary><link rel='replies' type='application/atom+xml' href='http://chitraswiki.blogspot.com/feeds/5980809899347786975/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://chitraswiki.blogspot.com/2009/09/what-is-windows-lmhosts-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/5980809899347786975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/5980809899347786975'/><link rel='alternate' type='text/html' href='http://chitraswiki.blogspot.com/2009/09/what-is-windows-lmhosts-file.html' title='What is a Windows lmhosts file?'/><author><name>Chitra</name><uri>http://www.blogger.com/profile/11171060155891885832</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2311694430874052423.post-8555364681534544673</id><published>2009-07-24T16:26:00.002+10:00</published><updated>2009-07-24T17:22:27.465+10:00</updated><title type='text'>Windows SYSTEM user</title><summary type="text">I have a program that copies files from one machine to another over a network. It uses port 445 (called the SMB port - SMB is a protocol for sharing files between computers in a network). When I ran this program in MS DOS, the remote folder in which the remote files are in was recognised as a directory (i.e. dir.isDirectory() = true). However, when I ran this program from Windows Services, the </summary><link rel='replies' type='application/atom+xml' href='http://chitraswiki.blogspot.com/feeds/8555364681534544673/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://chitraswiki.blogspot.com/2009/07/windows-system-user.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/8555364681534544673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/8555364681534544673'/><link rel='alternate' type='text/html' href='http://chitraswiki.blogspot.com/2009/07/windows-system-user.html' title='Windows SYSTEM user'/><author><name>Chitra</name><uri>http://www.blogger.com/profile/11171060155891885832</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2311694430874052423.post-68435077851340653</id><published>2009-07-23T08:55:00.000+10:00</published><updated>2009-07-23T09:02:31.730+10:00</updated><title type='text'>Basic PostgreSQL Must-Know&#39;s</title><summary type="text">1. String concatenation using the PL/pgSQL language is done like this:declare split_table_name text[]; v_PK      text;          v_Query         text;v_Query := &#39;select &#39; || v_PK || &#39; from &#39; || split_table_name[1];2. To run the above query string variable (i.e v_Query), use the EXECUTE statement like this:declare result      text;EXECUTE v_Query into max_num_str ; orEXECUTE &#39;select &#39; || v_PK || &#39; </summary><link rel='replies' type='application/atom+xml' href='http://chitraswiki.blogspot.com/feeds/68435077851340653/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://chitraswiki.blogspot.com/2009/07/basic-postgresql-must-knows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/68435077851340653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/68435077851340653'/><link rel='alternate' type='text/html' href='http://chitraswiki.blogspot.com/2009/07/basic-postgresql-must-knows.html' title='Basic PostgreSQL Must-Know&#39;s'/><author><name>Chitra</name><uri>http://www.blogger.com/profile/11171060155891885832</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2311694430874052423.post-1920466119656937107</id><published>2009-07-23T08:43:00.000+10:00</published><updated>2009-07-23T09:03:45.562+10:00</updated><title type='text'>Advanced PostgreSQL Queries</title><summary type="text">All Postgres users, like it or not, will need to retrieve information about the tables, triggers, sequences etc that they have in their databases. The following are some of the things you might want to query:1. What constraints does my table have?select pgc.relname as &quot;TableName&quot;, pc.conname as &quot;ConstraintName&quot;,contype as &quot;ConstraintType&quot;, conkey as &quot;KeyCols&quot;,confkey as &quot;ForeignCols&quot;, consrc as &quot;</summary><link rel='replies' type='application/atom+xml' href='http://chitraswiki.blogspot.com/feeds/1920466119656937107/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://chitraswiki.blogspot.com/2009/07/advanced-postgresql-queries.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/1920466119656937107'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/1920466119656937107'/><link rel='alternate' type='text/html' href='http://chitraswiki.blogspot.com/2009/07/advanced-postgresql-queries.html' title='Advanced PostgreSQL Queries'/><author><name>Chitra</name><uri>http://www.blogger.com/profile/11171060155891885832</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2311694430874052423.post-4514269364009653889</id><published>2009-07-13T01:07:00.000+10:00</published><updated>2009-07-13T01:14:23.152+10:00</updated><title type='text'>Setting the &#39;Show Desktop&#39; keyboard shortcut in Ubuntu</title><summary type="text">Having just moved from a Windows environment to Linux, I have been trying to find my way around Ubuntu 9. Everytime I have something that I want to do in the OS, I have used the Windows way of doing it, without any success :pFor those of you trying to set up your Linux OS to &#39;Show Desktop&#39; when the Windows + D key is pressed, this is what I found out on how to do it:1. Go to System -&gt; Preferences</summary><link rel='replies' type='application/atom+xml' href='http://chitraswiki.blogspot.com/feeds/4514269364009653889/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://chitraswiki.blogspot.com/2009/07/setting-show-desktop-keyboard-shortcut.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/4514269364009653889'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/4514269364009653889'/><link rel='alternate' type='text/html' href='http://chitraswiki.blogspot.com/2009/07/setting-show-desktop-keyboard-shortcut.html' title='Setting the &#39;Show Desktop&#39; keyboard shortcut in Ubuntu'/><author><name>Chitra</name><uri>http://www.blogger.com/profile/11171060155891885832</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2311694430874052423.post-1108037995300917054</id><published>2009-05-22T17:04:00.000+10:00</published><updated>2009-05-22T17:05:34.620+10:00</updated><title type='text'>Firefox Sucking Up Your Memory?</title><summary type="text">THis is a good article to read on how to tune your Firefox: http://stayupdate.com/tips-tricks/increase-firefox-speed-and-decrease-firefox-memory-usage-20-tips/567</summary><link rel='replies' type='application/atom+xml' href='http://chitraswiki.blogspot.com/feeds/1108037995300917054/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://chitraswiki.blogspot.com/2009/05/firefox-sucking-up-your-memory.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/1108037995300917054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/1108037995300917054'/><link rel='alternate' type='text/html' href='http://chitraswiki.blogspot.com/2009/05/firefox-sucking-up-your-memory.html' title='Firefox Sucking Up Your Memory?'/><author><name>Chitra</name><uri>http://www.blogger.com/profile/11171060155891885832</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2311694430874052423.post-77171954207866714</id><published>2009-05-20T12:52:00.000+10:00</published><updated>2009-05-20T12:56:36.360+10:00</updated><title type='text'>Divide 0 by 0</title><summary type="text">Here&#39;s a simple algo to divide 0.0 by 0.0:double a = 0.0 / 0.0;double b = 1.0 / 0.0;double c = 0.0 / 1.0;double d = 1.0 / 1.0;System.out.println(a);System.out.println(b);System.out.println(c);System.out.println(d);Here are the results:NaNInfinity0.01.0Good reference: http://www.math.utah.edu/~pa/math/0by0.html</summary><link rel='replies' type='application/atom+xml' href='http://chitraswiki.blogspot.com/feeds/77171954207866714/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://chitraswiki.blogspot.com/2009/05/divide-0-by-0.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/77171954207866714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/77171954207866714'/><link rel='alternate' type='text/html' href='http://chitraswiki.blogspot.com/2009/05/divide-0-by-0.html' title='Divide 0 by 0'/><author><name>Chitra</name><uri>http://www.blogger.com/profile/11171060155891885832</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2311694430874052423.post-8567901337583658670</id><published>2009-05-04T21:23:00.000+10:00</published><updated>2009-05-04T22:01:09.409+10:00</updated><title type='text'>Getting the rendered height of a html body tag</title><summary type="text">I came across this problem the other day.I have a html page with a couple of divs in the body tag. My divs had lengthy text and images. Hence, when I made the border of page visible (by setting the border style of the body tag), the border encaptulated all the divs and was visible when i scrolled down.When I then included a div that had a background image that I wanted to repeat vertically, this </summary><link rel='replies' type='application/atom+xml' href='http://chitraswiki.blogspot.com/feeds/8567901337583658670/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://chitraswiki.blogspot.com/2009/05/getting-rendered-height-of-html-body.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/8567901337583658670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/8567901337583658670'/><link rel='alternate' type='text/html' href='http://chitraswiki.blogspot.com/2009/05/getting-rendered-height-of-html-body.html' title='Getting the rendered height of a html body tag'/><author><name>Chitra</name><uri>http://www.blogger.com/profile/11171060155891885832</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2311694430874052423.post-7698459814689847871</id><published>2009-05-04T18:08:00.000+10:00</published><updated>2009-05-04T18:21:02.491+10:00</updated><title type='text'>GWT-EXT error: com.google.gwt.core.client.JavaScriptException: (TypeError): &#39;$wnd.Ext.StatusBar&#39; is null or not an object</title><summary type="text">The reason why you are getting this error is most probably because you have not installed ext and included the ext.jar file in your build path. Hence, you have a ext wrapper classes (eg. Gwt-Ext) but not EXT itself. First of all, download EXT 2.0.2 from http://yogurtearl.com/ext-2.0.2.zip (link can be seen in http://code.google.com/p/gwt-ext/)Then, add the ext-base.js, ext-all.js and ext-core.js </summary><link rel='replies' type='application/atom+xml' href='http://chitraswiki.blogspot.com/feeds/7698459814689847871/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://chitraswiki.blogspot.com/2009/05/gwt-ext-error-comgooglegwtcoreclientjav.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/7698459814689847871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2311694430874052423/posts/default/7698459814689847871'/><link rel='alternate' type='text/html' href='http://chitraswiki.blogspot.com/2009/05/gwt-ext-error-comgooglegwtcoreclientjav.html' title='GWT-EXT error: com.google.gwt.core.client.JavaScriptException: (TypeError): &#39;$wnd.Ext.StatusBar&#39; is null or not an object'/><author><name>Chitra</name><uri>http://www.blogger.com/profile/11171060155891885832</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry></feed>