<?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: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-7692983256901405544</id><updated>2012-02-16T11:00:07.899-08:00</updated><title type='text'>Nanna Manasu</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://thevirusanddoctor.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7692983256901405544/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://thevirusanddoctor.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Expressions</name><uri>http://www.blogger.com/profile/01900229053470362206</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_-ILyEwY4gpM/S8aoLEWsagI/AAAAAAAAAfM/BW35H3wge3w/S220/02042010314.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7692983256901405544.post-4530797619723742037</id><published>2011-05-20T03:10:00.000-07:00</published><updated>2011-05-20T03:19:37.904-07:00</updated><title type='text'>Overriding the Overloaded</title><content type='html'>Most of the java programmers would have faced this problem, like i did.&lt;br /&gt;&lt;br /&gt;  I was reading about Collections and there was a line in double quotes in that web page..&lt;br /&gt;&lt;br /&gt;  "If you want to use equals() method for your class, you have to write hashCode() also".....&lt;br /&gt;&lt;br /&gt;  An any developer would do, i started writing a program to try this and i wrote following code&lt;br /&gt;&lt;br /&gt;  public class Emp{&lt;br /&gt;    private String Name;&lt;br /&gt;    private int code;&lt;br /&gt;&lt;br /&gt;  public int hashCode(){&lt;br /&gt;   return code;&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  public equals equals(Emp that){&lt;br /&gt;  return that.code == this.code; &lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt; COMPARISON NEVER WORKED ....&lt;br /&gt;&lt;br /&gt;  Can somebody explain me the reason ???????????????&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7692983256901405544-4530797619723742037?l=thevirusanddoctor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thevirusanddoctor.blogspot.com/feeds/4530797619723742037/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thevirusanddoctor.blogspot.com/2011/05/overrding-overloaded.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7692983256901405544/posts/default/4530797619723742037'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7692983256901405544/posts/default/4530797619723742037'/><link rel='alternate' type='text/html' href='http://thevirusanddoctor.blogspot.com/2011/05/overrding-overloaded.html' title='Overriding the Overloaded'/><author><name>Expressions</name><uri>http://www.blogger.com/profile/01900229053470362206</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_-ILyEwY4gpM/S8aoLEWsagI/AAAAAAAAAfM/BW35H3wge3w/S220/02042010314.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7692983256901405544.post-5704608754580632123</id><published>2011-03-14T21:53:00.000-07:00</published><updated>2011-03-14T22:18:33.255-07:00</updated><title type='text'>Making of "Ringtone" .........</title><content type='html'>All of us want new ringtones and we waste lot of time searching for them on the WWW. Do you know we can create ringtones without installing any additional software on our machine !!!.&lt;br /&gt;&lt;br /&gt;Let us explore the making of "Ringtone" ....&lt;br /&gt;&lt;br /&gt;System requirements:&lt;br /&gt;   &lt;span style="font-size:85%;"&gt;==&gt; Windows XP or above&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;STEP 1:&lt;/span&gt;&lt;br /&gt;         Open windows movie maker &lt;span style="font-weight: bold; font-style: italic;"&gt;Start -&gt; Programs -&gt; Windows Movie Maker&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;STEP 2:&lt;/span&gt;&lt;br /&gt;         On the left side you will see options to import Video, Pictures , Audio files etc.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;STEP 3: &lt;/span&gt;&lt;br /&gt;         Click on import Audio and select the file you want to cut / use for creating ring tone.&lt;br /&gt;Now you should be able to see the selected file in the Collection: Movie window.&lt;br /&gt;Drag and drop the file on the &lt;span style="font-weight: bold;"&gt;Time-line&lt;/span&gt; at the bottom.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;STEP 4:&lt;/span&gt;&lt;br /&gt;    Now you can cut the audio file by clicking and dragging the mouse on the &lt;span style="font-weight: bold;"&gt;Time-line &lt;/span&gt;as shown below.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/-yZBN_B67IHs/TX70rqPdqNI/AAAAAAAABZE/TZQUob45j5Y/s1600/moviemakerr.jpeg"&gt;&lt;img style="cursor: pointer; width: 400px; height: 233px;" src="http://4.bp.blogspot.com/-yZBN_B67IHs/TX70rqPdqNI/AAAAAAAABZE/TZQUob45j5Y/s400/moviemakerr.jpeg" alt="" id="BLOGGER_PHOTO_ID_5584169618896693458" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And this is how we cut the unwanted parts form the Audio file.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;STEP 5:&lt;/span&gt;&lt;br /&gt;Now save the file using &lt;span style="font-weight: bold; font-style: italic;"&gt;File -&gt; Save Movie File.&lt;/span&gt; Enter the &lt;span style="font-weight: bold; font-style: italic;"&gt;File Name&lt;/span&gt; and select the output directory.&lt;br /&gt;&lt;br /&gt;The Ringtone is ready in the output directory.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;NOTE:&lt;/span&gt;&lt;br /&gt; For phones which can play audio in wav format, just copy the ringtone created in the phone and set it as your ring tone. Otherwise you can convert the .wav file to .mp3 format &lt;a href="http://media.io/"&gt;online &lt;/a&gt;or by downloading a &lt;a href="http://dvdvideosoft.com/download/FreeAudioConverter.exe"&gt;free converter software&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt; Enjoy your new ringtones...&lt;br /&gt;&lt;br /&gt; For any queries : &lt;span style="font-weight: bold;"&gt;g.santoshpai@gmail.com&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7692983256901405544-5704608754580632123?l=thevirusanddoctor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thevirusanddoctor.blogspot.com/feeds/5704608754580632123/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thevirusanddoctor.blogspot.com/2011/03/making-of-ringtone.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7692983256901405544/posts/default/5704608754580632123'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7692983256901405544/posts/default/5704608754580632123'/><link rel='alternate' type='text/html' href='http://thevirusanddoctor.blogspot.com/2011/03/making-of-ringtone.html' title='Making of &quot;Ringtone&quot; .........'/><author><name>Expressions</name><uri>http://www.blogger.com/profile/01900229053470362206</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_-ILyEwY4gpM/S8aoLEWsagI/AAAAAAAAAfM/BW35H3wge3w/S220/02042010314.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-yZBN_B67IHs/TX70rqPdqNI/AAAAAAAABZE/TZQUob45j5Y/s72-c/moviemakerr.jpeg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7692983256901405544.post-4729414550169420005</id><published>2010-12-07T09:59:00.000-08:00</published><updated>2010-12-07T10:13:07.819-08:00</updated><title type='text'>Start and Run ..... Why do we need both ???</title><content type='html'>This post is about Java Threads. Usual way of starting a Thread ( As all the Java books mention ), is to call start() method on a Thread object.  Consider the following code&lt;br /&gt;&lt;br /&gt; public class  ThreadExample&lt;br /&gt;   {&lt;br /&gt;    class ThreadImpl implements Runnable&lt;br /&gt;       {&lt;br /&gt;          public void run()&lt;br /&gt;            {&lt;br /&gt;               System.out.println("Inside run method");&lt;br /&gt;            }&lt;br /&gt;       }&lt;br /&gt;&lt;br /&gt;    public static void main(String[] ar)&lt;br /&gt;        {&lt;br /&gt;            Thread t1 = new Thread(new ThreadImpl (),"T1");&lt;br /&gt;            Thread t2 = new Thread(new ThreadImpl (),"T2");&lt;br /&gt;            t1.run();  // This code doesn't start the Thread, instead calls the method run() on "t1".&lt;br /&gt;            t2.run();&lt;br /&gt;        }&lt;br /&gt;  }&lt;br /&gt;  &lt;br /&gt;      Here, instead of &lt;span style="font-style: italic; font-weight: bold;"&gt;t1.start()&lt;/span&gt;, we have used &lt;span style="font-weight: bold; font-style: italic;"&gt;t1.run()&lt;/span&gt;.&lt;br /&gt;  &lt;br /&gt;   When start() method is called Thread is created by the underlying platform  and scheduler takes care of all such Threads now on. But when we call &lt;span style="font-weight: bold; font-style: italic;"&gt;run()&lt;/span&gt;, it is just another method on a Java object and is not given to Thread scheduler.&lt;br /&gt;&lt;br /&gt;    &lt;span style="font-weight: bold;"&gt;Conclusion:&lt;/span&gt; If you want to write a multithreaded program, then always use &lt;span style="font-weight: bold; font-style: italic;"&gt;start()&lt;/span&gt; method, else you can use &lt;span style="font-weight: bold; font-style: italic;"&gt;run()&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;    Proof for above statement:  &lt;/span&gt;According to Thread design document by ORACLE (Sun), A Thread in the DEAD state can never go back to RUNNABLE state. That means, it is impossible to call start() method twice on a Thread, as shown below.&lt;br /&gt;&lt;br /&gt;            Thread t2 = new Thread(new ThreadImpl (),"T2");                  &lt;br /&gt;             t2.start();&lt;br /&gt;             t2.start(); // Throws an Exception,as Thread cannot go to RUNNABLE from DEAD state.&lt;br /&gt;&lt;br /&gt;     Where as, &lt;span style="font-weight: bold; font-style: italic;"&gt;run()&lt;/span&gt; method can be called as many times as you want like any other method.&lt;br /&gt;&lt;br /&gt;  Hence Proved.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7692983256901405544-4729414550169420005?l=thevirusanddoctor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thevirusanddoctor.blogspot.com/feeds/4729414550169420005/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thevirusanddoctor.blogspot.com/2010/12/start-and-run-why-do-we-need-both.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7692983256901405544/posts/default/4729414550169420005'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7692983256901405544/posts/default/4729414550169420005'/><link rel='alternate' type='text/html' href='http://thevirusanddoctor.blogspot.com/2010/12/start-and-run-why-do-we-need-both.html' title='Start and Run ..... Why do we need both ???'/><author><name>Expressions</name><uri>http://www.blogger.com/profile/01900229053470362206</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_-ILyEwY4gpM/S8aoLEWsagI/AAAAAAAAAfM/BW35H3wge3w/S220/02042010314.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7692983256901405544.post-385544841741330667</id><published>2010-12-07T02:14:00.000-08:00</published><updated>2010-12-07T09:57:00.050-08:00</updated><title type='text'>Java Threads - Implements Runnable V/s extends Thread</title><content type='html'>&lt;span style="font-family:lucida grande;"&gt;&lt;br /&gt;     &lt;span style="font-weight: bold;"&gt;Java Threads&lt;/span&gt; - Implements &lt;span style="font-style: italic;"&gt;Runnable &lt;/span&gt;V/s extends &lt;span style="font-style: italic;"&gt;Thread &lt;/span&gt;class&lt;br /&gt;&lt;br /&gt;    Threads are very  important part of any computer system, that wants to do multitasking. Threads are called low-weight processes. A process is a program under execution. Program has a text part, data part. It has memory to use for it's execution. Threads share this memory, so communication between threads is very simple and not costlier compared to IPC.&lt;br /&gt;&lt;br /&gt;       Java provides support for multi threading and also in java it is very easy to play with them.&lt;br /&gt;&lt;br /&gt; The below article is for people who already know how to implement a Thread in java. Java gives users, 2 options. Either they have to implement Runnable interface Or they have to extend from Thread class. Only then any class, say "X" can be Thread scheduled.&lt;br /&gt;&lt;br /&gt;  Thread scheduler is part of OS and not part of JVM. So the ways threads behave changes from platform to platform.&lt;br /&gt;&lt;br /&gt;  Why do we have 2 ways of creating Thread classes ?&lt;br /&gt;&lt;br /&gt;   First thing we have to keep in mind that, Java doesn't support multiple inheritance. i.e, "&lt;span style="font-style: italic;"&gt;class A extends B,C&lt;/span&gt;" is not true, where as "&lt;span style="font-style: italic;"&gt;class A implements B,C&lt;/span&gt;" is true.&lt;br /&gt;&lt;br /&gt;    So if a class &lt;span style="font-style: italic;"&gt;X extends Thread&lt;/span&gt;, then it cannot extend from any parent (So sad :-( ). In order to avoid this, Runnable interface is defined and it is always better to use interfaces than extending from a parent.&lt;br /&gt;&lt;br /&gt;      &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7692983256901405544-385544841741330667?l=thevirusanddoctor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thevirusanddoctor.blogspot.com/feeds/385544841741330667/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thevirusanddoctor.blogspot.com/2010/12/java-threads-implements-runnable-vs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7692983256901405544/posts/default/385544841741330667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7692983256901405544/posts/default/385544841741330667'/><link rel='alternate' type='text/html' href='http://thevirusanddoctor.blogspot.com/2010/12/java-threads-implements-runnable-vs.html' title='Java Threads - Implements Runnable V/s extends Thread'/><author><name>Expressions</name><uri>http://www.blogger.com/profile/01900229053470362206</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_-ILyEwY4gpM/S8aoLEWsagI/AAAAAAAAAfM/BW35H3wge3w/S220/02042010314.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7692983256901405544.post-466594581627084895</id><published>2010-01-11T00:59:00.000-08:00</published><updated>2010-04-18T23:06:55.753-07:00</updated><title type='text'>Eclipse Problems and solutions</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Problem&lt;/span&gt;: Eclipse opens the project and shows and ‘X’ mark at the project folder. The entire java build path etc is proper. Cleaning the propjet works, but building the project fails. The progress bar stops after showing “Copying resources to folder”.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt;: Goto &lt;i&gt;&lt;b&gt;project --&gt; properties --&gt; Build Path&lt;/b&gt;&lt;/i&gt; . Change the output folder to some other name ( usually it will be &lt;i&gt;&lt;b&gt;bin &lt;/b&gt;&lt;/i&gt;, change to &lt;i&gt;&lt;b&gt;bin1 &lt;/b&gt;&lt;/i&gt;etc ).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Root Caus&lt;/b&gt;e : Not known .&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-weight: bold; "&gt;Problem&lt;/span&gt;: A java error comes .... "ClassNotFoundException  a.b.c.DOMParser" .. During compile time / run time&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt;: Find out the jar file for this class and append the path to the classpth variable. Ex: add D:\Hui\xcers.jar to classpath to support DOMParser&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Root Caus&lt;/b&gt;e : No class file found in the class path .&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Problem: &lt;/b&gt;Tomcat was getting started and closed &lt;span class="Apple-style-span"   style="  border-collapse: collapse; white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family:arial, sans-serif;font-size:17px;"&gt;immediately &lt;/span&gt;without server stating completely.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Solution: &lt;/b&gt;&lt;span class="Apple-style-span"   style="font-family:arial, sans-serif;font-size:180%;"&gt;&lt;span class="Apple-style-span"  style="border-collapse: collapse;  white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;font-size:17px;"&gt;The CLASSPATH environment variable was having 2 values "D:\xx\xxxx\tools.jar;D:\xx\xxxx\xcerse.jar"&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial, sans-serif;font-size:180%;"&gt;&lt;span class="Apple-style-span"  style="border-collapse: collapse;  white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;font-size:17px;"&gt;I removed the last one and the semicolon.Tomcat is coming up and running.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial, sans-serif;font-size:180%;"&gt;&lt;span class="Apple-style-span"  style="border-collapse: collapse;  white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;font-size:17px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:arial, sans-serif;font-size:180%;"&gt;&lt;span class="Apple-style-span"  style="border-collapse: collapse;  white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;font-size:17px;"&gt;&lt;b&gt;Root Cause: &lt;/b&gt;NO idea....&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-weight: bold; "&gt;Problem&lt;/span&gt;: When compiled a project, an error is shown ==&gt; "&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: arial, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif; font-size: 13px; "&gt;&lt;h1 style="font: normal normal bold 13px/normal tahoma; "&gt;The hierarchy of the type &lt;i&gt;&lt;classname&gt; &lt;/i&gt;is inconsistent&lt;span class="Apple-style-span" style="font-family: Georgia, serif; font-weight: normal; font-size: 16px; "&gt;"&lt;/span&gt;&lt;/h1&gt;&lt;/span&gt;&lt;div&gt;&lt;br /&gt;&lt;b&gt;Solution&lt;/b&gt;: Find the classes which the faulty class extends and make those base classes compile clean / If they are missed in the project source files, add them.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;b&gt;Root Caus&lt;/b&gt;e : Suppose the class name here is &lt;b&gt;A &lt;/b&gt;and &lt;b&gt;A &lt;/b&gt;extends &lt;b&gt;B&lt;/b&gt;, then the error is shown if&lt;b&gt;B &lt;/b&gt;is not compile clean / It is missed in the project source files.&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7692983256901405544-466594581627084895?l=thevirusanddoctor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thevirusanddoctor.blogspot.com/feeds/466594581627084895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thevirusanddoctor.blogspot.com/2010/01/eclipse-problems-and-solutions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7692983256901405544/posts/default/466594581627084895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7692983256901405544/posts/default/466594581627084895'/><link rel='alternate' type='text/html' href='http://thevirusanddoctor.blogspot.com/2010/01/eclipse-problems-and-solutions.html' title='Eclipse Problems and solutions'/><author><name>Expressions</name><uri>http://www.blogger.com/profile/01900229053470362206</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_-ILyEwY4gpM/S8aoLEWsagI/AAAAAAAAAfM/BW35H3wge3w/S220/02042010314.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7692983256901405544.post-3819328402989049564</id><published>2009-12-12T00:25:00.000-08:00</published><updated>2009-12-12T01:28:04.329-08:00</updated><title type='text'>Advantages of Being in Koramangala</title><content type='html'>Hello People ,&lt;div&gt; &lt;/div&gt;&lt;div&gt;        If you are a bachelor / married / old age and looking for a house in a good locality in bangalore ... Give first priority for Koramangala  .... You have all these advantages ... &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;     &lt;b&gt;Houses and Rent : &lt;/b&gt;If you are a bachelor , the best area is near Forum ( 5th block ) or BDA Park ( 8th block ). You will get a 2BHL for 7-8K and a 1BHK for 3.5 - 4 K , with advance of 30K - 50K . &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;      &lt;b&gt;Food : &lt;/b&gt;For both veggies and non Veggies , there are restaurants almost on each and every road . All are open till midnight and some are open till 4AM . So no problem for food !!!!!!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;     &lt;b&gt;Parks : &lt;/b&gt;Koramanagala has lot pf parks maintained by BDA . They are really good and you can go there with anybody at any time ...... &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;     &lt;b&gt;Pubs : &lt;/b&gt;There are more pubs than roads in Koramangala . You can spend your weekends here .... !!!!!!  ... But please "Don't Drink And Drive" ... &lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;     &lt;/b&gt;&lt;b&gt;Hopcoms : &lt;/b&gt;There are many Hopcom shops , for vegetables , fruits etc .&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;     Koramangala Plus : &lt;/b&gt; Koramangala Plus is a free magazine , which you get once in a month .You will get all news about hot and happenings in you area / block.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;     Hospitals and Medical Shops :&lt;/b&gt; You can find doctors all over koramangala and also medical shops .&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;     &lt;b&gt;Lots of Gods : &lt;/b&gt;Siva , Ganesha , SaiBaba temples  are everywhere in koramangala .&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;     Camel Ride : &lt;/b&gt;Every weekend , a boy comes with a camel . You can enjoy Camel Riding on saturdays .&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;     &lt;b&gt;Malls in Koramangala&lt;/b&gt; &lt;b&gt;:&lt;/b&gt;&lt;/div&gt;&lt;div&gt;       &lt;1&gt; Forum Mall&lt;/div&gt;&lt;div&gt;       &lt;2&gt; Big Bazaar&lt;/div&gt;&lt;div&gt;       &lt;3&gt; Start Bazaar&lt;/div&gt;&lt;div&gt;       &lt;4&gt; Monday to Sunday&lt;/div&gt;&lt;div&gt;       &lt;5&gt; Raheja Arcade&lt;/div&gt;&lt;div&gt;       &lt;6&gt; BDA shopping complex&lt;/div&gt;&lt;div&gt;       &lt;7&gt; Oasis Mall &lt;/div&gt;&lt;div&gt;       &lt;8&gt; Lifestyle&lt;/div&gt;&lt;div&gt;      etc etc etc ...&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;     Koramangala is the bangalore's &lt;b&gt;Hottest Area :-) .,.... Be Hot and See Hot ....&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7692983256901405544-3819328402989049564?l=thevirusanddoctor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thevirusanddoctor.blogspot.com/feeds/3819328402989049564/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thevirusanddoctor.blogspot.com/2009/12/advantages-of-being-in-koramangala.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7692983256901405544/posts/default/3819328402989049564'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7692983256901405544/posts/default/3819328402989049564'/><link rel='alternate' type='text/html' href='http://thevirusanddoctor.blogspot.com/2009/12/advantages-of-being-in-koramangala.html' title='Advantages of Being in Koramangala'/><author><name>Expressions</name><uri>http://www.blogger.com/profile/01900229053470362206</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_-ILyEwY4gpM/S8aoLEWsagI/AAAAAAAAAfM/BW35H3wge3w/S220/02042010314.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7692983256901405544.post-7965276320110097002</id><published>2009-10-09T02:47:00.000-07:00</published><updated>2009-10-09T03:03:40.563-07:00</updated><title type='text'>Reverse Math == Proof for 1=2</title><content type='html'>Hi ...... &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;      Here is the proof finally ....&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;                                          Let &lt;/div&gt;&lt;div&gt;                                                          &lt;/div&gt;&lt;div style="text-align: center;"&gt;  -20 = -20 &lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;Can be also written as&lt;/div&gt;&lt;div style="text-align: center;"&gt;25-45 = 16-36&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;also&lt;/div&gt;&lt;div style="text-align: center;"&gt;5 * 5 - 9*5  =  4*4 - 9*4&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;also&lt;/div&gt;&lt;div style="text-align: center;"&gt;5 ^2 - 9*5   =  4^2 - 9*4&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;Add  (9/2 )^2  on both sides&lt;/div&gt;&lt;div style="text-align: center;"&gt;5 ^2 - 9*5  + (9/2 )^2   =  4^2 - 9*4 + (9/2 )^2&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;Also &lt;/div&gt;&lt;div style="text-align: center;"&gt;5 ^2 - 9*5* (2/2)  + (9/2 )^2   =  4^2 - 9*4* (2/2) + (9/2 )^2&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;Can also be written as&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;5 ^2 - 2*5* (9/2)  + (9/2 )^2   =  4^2 - 2*4* (9/2) + (9/2 )^2&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;Are of the form  a^2 - 2ab + b^2 ........&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;So,&lt;/div&gt;&lt;div style="text-align: center;"&gt;      (5-9/2)^2  =  (4-9/2)^2&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;   Taking square root both sides ,&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;      (5-9/2)  =  (4-9/2)  &lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;  Cancel common 9/2 from both sides&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;               5   =  4   implies 1 = 0 &lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;div style="text-align: center;"&gt; ???????????????????????????????????????????&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;  ............. Forgot Maths ???????????? ......Dont you think i should get PhD for this ?????                                              &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7692983256901405544-7965276320110097002?l=thevirusanddoctor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thevirusanddoctor.blogspot.com/feeds/7965276320110097002/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thevirusanddoctor.blogspot.com/2009/10/reverse-math-proof-for-12.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7692983256901405544/posts/default/7965276320110097002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7692983256901405544/posts/default/7965276320110097002'/><link rel='alternate' type='text/html' href='http://thevirusanddoctor.blogspot.com/2009/10/reverse-math-proof-for-12.html' title='Reverse Math == Proof for 1=2'/><author><name>Expressions</name><uri>http://www.blogger.com/profile/01900229053470362206</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_-ILyEwY4gpM/S8aoLEWsagI/AAAAAAAAAfM/BW35H3wge3w/S220/02042010314.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7692983256901405544.post-9023833083949323164</id><published>2009-09-24T10:24:00.000-07:00</published><updated>2009-09-24T10:46:33.990-07:00</updated><title type='text'>Rain Compilers - Most of You wont understand this...</title><content type='html'>I am still wet ....... Shivering ..... Its very cold ..... Finally i reached my house in koramangala after waiting for 3 hours for the process to stop. Whole team was coding , building , debugging and he was compiling his rain program. Finally he executed it at 6PM and the process ran for 3 n a half hours. Sometimes in background n sometimes in foreground. God knows on which algorithm the rain program runs. Usually it is a distributed algorithm ( wet MGRoad , dry ElecCity  ). Today it was not the same . I think he wanted to try some different algorithm this time..... There were comments in between getting printed on the sky (  standard output ) . Trace macro's were not used , so only a small number of platform traces are generated in Jalahalli ... Immediately  process started utilizing  CPU n MEMORY completely . But the OS stopped it , as it was running for a long time and putting other processes into ready state..... Nature's Deadlock Solved .....&lt;div&gt; &lt;/div&gt;&lt;div&gt;      --- Santosh Pai ... A mad blog writer &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7692983256901405544-9023833083949323164?l=thevirusanddoctor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thevirusanddoctor.blogspot.com/feeds/9023833083949323164/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thevirusanddoctor.blogspot.com/2009/09/rain-compilers-most-of-you-wont.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7692983256901405544/posts/default/9023833083949323164'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7692983256901405544/posts/default/9023833083949323164'/><link rel='alternate' type='text/html' href='http://thevirusanddoctor.blogspot.com/2009/09/rain-compilers-most-of-you-wont.html' title='Rain Compilers - Most of You wont understand this...'/><author><name>Expressions</name><uri>http://www.blogger.com/profile/01900229053470362206</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_-ILyEwY4gpM/S8aoLEWsagI/AAAAAAAAAfM/BW35H3wge3w/S220/02042010314.jpg'/></author><thr:total>0</thr:total></entry></feed>
