Jump to content
xisto Community

varalu

Members
  • Content Count

    466
  • Joined

  • Last visited

Everything posted by varalu

  1. Ok.. here is my answer... This is similar to finding the middle element in the link list with slight variation.. 1. Have two pointer initially ( first and second ) 2. move the second pointer alone 5 nodes. 3. Now move both the pointers one node at a time until the second reaches the end. when the second reaches the end , the first node will be the 5th last element.. node * first ,*second;first = second = root;// moves the second ptr 5 nodes..int i =0;while ( (i < 5) && (second != NULL) ){ second = second-> next; i++;}while( second->next != NULL ){ first = first->next; second = second->next;}return (first) ; // first ptr is the 5th node from the last.. The above solution is same as the one Sanjay gave. This algorithm can be even generalized to find the kth node from the last similarly.... But the answer that i expected is below.. Just scan the list twice. You can get the kth element from the last. This algorithm is known as hare and tortoise algorithm.
  2. Microsoft is pretty much stable.. In the sense... if something is not working in Vista.. where do you think people go? To mac? Definitely not. Its XP... which is again a product of Windows and they are still giving updates to Xp. Guess whats the best part? -- Windows 7 has already started to send ripples in the community. And I am sure they have got bitter experiences and responses from Vista and I am sure this time they have learnt from the past mistakes and the OS will definitely much much better than Vista and also stable. I do not think they can lose a major chink of the crowd as the alternatives are very less and not very friendly. Tell me the OS in which you can install the latest PS games seamlessly and start playing? They are countable and on that front Windows is rock solid and so many vendors are dead dependent on Windows. So... Microsoft is not losing in any front...
  3. This is madness. This news is allover the web and kind of sending waves. Why the hell is this happening and why the hell he has to commit suicide with audience? - Crazy.!!
  4. I kind of missed the last few days in Xisto and so many things have changed. I will consider the change is for good. So... now the credit stuff will be closed shortly and we will be moving to myCents. That much i understood. All i need to know is... I have a free web hosting account in Xisto. Do i have to register for that again once the credit system expires? Only now, I registered myself in https://support.xisto.com/ and after reading the forums, I came to know how it works. I think that will get linked to my Xisto account in few hours and i will start accumulating myCents.... HOw easy it is to start over again? - I mean the switching and stuff without my site going down for long? Do i have to make any changes in DNS and stuff when this transition happens? The whole point is that... these days I am spending less and less time here and do not want to go through the hassle. Hope they make it easier for the members who already have an hosting account. From the record, I believe they will do so... Also.. I think this is very cool, as more things can be done using the cents i earn... which was not possible using the credits earned. Thanks Xisto for all you do and for the great ideas. You rock.
  5. How many of you guys have a knowledge management portal in your organization (school/ college/ office)?And how many think that a knowledge management is necessary in the organization?
  6. Check out the below link. http://www.inquisitr.com/7719/neighbourhood-size-reactors-within-5-years/ Generating power from small nuclear reactors installed in households. Company's website for more on this -- http://www.gen4energy.com
  7. Did any of you come across this service called heysan.com. I am not very sure as to what they do.. but they have been spamming many people, my friends which comes from real experience and I am very annoyed at them. They just like that send messages to the contacts from gtalk and believe me I got some 5-10 messages asking me to join the service.. the problem being... the messages from my friends contacts... Some of friends got annoyed and sent me a mail telling that it was not them who sent them.. but the service... Hi Guys, If you get any gtalk ping from your contacts with a similar kind of message.. Ignore it.. Its sending to all the gtalk contacts and spreading like anything.. Dont click the link.. your_email_ID@gmail.com posted a photo of you, untag it here: http://forums.xisto.com/no_longer_exists/ This is very bad for the service... Then i did some checking... and realized they are good, but this is not a way to get popularity and get hits. If you guys are not doing it, its your responsibility to stop the spammers who use your identity and do it. Else the credibility (if you have something like that... ) of the service will be lost. Thanks.
  8. All,I am using bbPress for my personal use (in the sense... to facilitate communication with my friends and college mates.. ). I want to know this...Is there an option to add the below features in the forum...1. Adding polls in topics (though.. only moderators can do it)2. Adding signatures. This should be available to all the users... and in all the posts. I basically tried for such an extension... but did not find the right one... It would be great if someone can point me to such an extension... 3. Who's online stats at the page end, which can give overall stats to the forum. Pretty useful stuff... Tell us how these things can be accommodated and also new extensions if you know which can do these stuff...If you have anything in your mind... let me know. Any help appreciated.Thanks in advance.
  9. Ha ha ha.. This is a nice one... But I see a big hole in the beginnning. I knew this already so... not an issues. Anyways thanks for sharing and making some blood bleed... LOL..
  10. Replying to Do You Like Water? - what crap question is this?You do not have a choice dude. Even if you do not like it, you have to depend on it for survival. Its a bad thing, not to like water .
  11. Dogs are my all time favorites. And the sad part is I do not have a dog. My dad did not allow me to have one (the main reason being we lost one dog some years back and that kind of pulled everyone in the family down...). So, there will be a big "NO" when it comes to having a dog in my house.May be I will get one in the future. Hope my love towards them remains the same. :lol:Next to dogs, I would also like to have birds and fishes. Fishes though i used to have... this was back when i was in college.birds, just gives a very natural feeling to the place they live. So i have a special liking towards them.I do not know... but i think i will like anything that lives with me... So... any pet is fine. nothing very wild though.
  12. Do you want to give a try on Sony Cyber-shot DSC-T70 and Canon Digital IXUS 80 IS? One of my friend was asking me suggestions on getting one of this camera... Both are equally good. When it comes to stylish look and support, Sony is better. When it comes to camera brand - Cannon is better. For first time users... you wont find much difference in image quality and stuff. Its up to you to select one. here is the link for comparison between sony and cannon. still finding it difficult to choose the right one? go read the reviews in websites. http://alatest.com/ Read the experts reviews here -- http://www.steves-digicams.com/camera-reviews/sony/dsc-t70/sony-dsc-t70-review.html
  13. lies and betrayal the most. Everything else is just fine.
  14. I am not hooked to a particular service when it comes to online payment, though there are so many options out there.Most of the time, it will be either a debit or credit card which is acceptable by the service I use online.Sometimes I also use the services via an online banking account like mobile payments, electricity payments and for other utility services.I do have an paypal account which I use very rarely, reason being, most of the sites that provides paypal access also provides credit card access and why take the pain of creating an paypal account. There are some services which will only agree to payments only from a particular service... see checkout (a payment service launched by Google some days back) for example (Some of the Google services, do not remember which one exactly will accept payments only from checkout.. i think the service was Google base. But It might have changed it model now...).There are n number of such 3rd party services pitching in... these days, financial service providers itself like retail banks, try and challenge in these payment services against separate providers... Anyways consumers have options and that is a very good thing to have.
  15. Check the below link. It tells you how the world financial crisis is impacting the IT industry. http://forums.xisto.com/no_longer_exists/ Guess what? In few days, there will be a new tab called "Project Allowance" in the salary slip, which will be half the CTC and will be paid only if you are actually working in a project. So... idle in bench (actually exploited by the company) and being paid fully may not be the case in the future. . Note: This information is true in India and may or may not be applicable in other countries.
  16. there used to be a time when i used to install and uninstall the OS once a month. That was back in college, where i use to try so many stuff. Having dual boot was having fun. In fact having multiple OS in your machine was a geeky thing to do... . Yes it was. It used to be fun... to format the system... installing the new OS and trying out all new softwares launched and crashing the machine again. But it a learning phase and used to try stuff. These days... the number of stuff I try has reduced a lot. May be I install an OS once in a year and forget about its existence... provided it does not trouble me much... but i have never stepped back in trying out new softwares... but a bit cautious these days. I have a jinx with worms... and trojans. So, I want a guarantee that the software I am about to install is error free and not a malicious one. Otherwise, I am not an orthodox and like trying stuff from all corners of the web. Next question What is the OS that I have recently? Windows XP and EDUBUNTU - Dual boot. Softwares That's a very big list. Will try and compile it when I am relatively free.
  17. I do not think so. 1. You are wasting energy if are not running something very important. 2. Computing Resource is being wasted for nothing. 3. Your computer ages and cannot be used for so many years. Wear and tear.
  18. Its tough to stop viruses. Because some are made and some come by mistake. So... its not easy to stop them. But its possible to be safe from them. Install a very good antivirus software and update it as frequently as possible with the the new virus definition database and keep your system secure.
  19. Please read through the following points very carefully & don't send emails and post rumors related to Medical ailments, AIDS in this case without having complete knowledge about it (even partial knowledge could be grossly dangerous... which i can see in the forum ).* HIV - Human Immuno deficiency virus (virus) requires *ONLY* *Blood or Semen* as medium to transmit from one body to another. This is proven. Some people debate about Saliva. Read through the next point. You will get a picture.* HIV (AIDS causing virus) cannot be transmitted even through *Saliva*(mucous) i.e . even if HIV-infected patient coughs or smooches and another person is exposed to his sputum (cough) or saliva, the virus still can not transmit because concentration of virus particles in sputum is almost NIL & exposure to air anyway kills virus in fraction of seconds. In one of the interviews i heard a doctor say that a bucket of saliva has to be transferred between parties for possibility of HIV virus to be transported... funny... huh...* This is a very rare situation and has not happened much to my knowledge. In case an HIV-infected person gets an injury (like the cut in below mentioned story) and he is bleeding, the virus can transmit to another person only if another person has a cut/wound in his body & that too when blood from both person comes in contact with each other* (this is also very very rare unless bleeding is very high) and not otherwise. Direct contact is not possible most of the time.* HIV can never survive in any other liquid medium also other than blood or semen. There was this rumor that existed... where HIV exists in food items that came from the one who cooks it and eating the contaminated food will bring you HIV, which is a complete *BLEEP*. So there is no truth in as it cannot exist in such mediums.* Will drinking of the infected blood cause the infection/ disease? - Even if one drinks an HIV infected blood (or semen) (which is again a very very rare case) of someone (ingest through Intestinal track or the digestive system), the HIV virus can not survive in the acidic (HCL acids present inside the stomach) pH of stomach. Highest extent of acidity is 0 (practically not possible) so imagine 1 as pH which is in our stomach. (This pH can burn your own finger in less than a second if you dip in that acid). So ignore this possibility too...* Exposure of the HIV virus to air for relatively less time will kill it for sure(hence people carrying needles and infecting others). Even if blood from a wound (of infected person) dries up (clotting of the blood), HIV is no more alive and can not infect anyone else* Transmission of HIV is considered ONLY an INFECTION and not the disease itself. i.e.entrance of virus in one's body. It DOES NOT MEAN AIDS right away.* A person infected with HIV (which is after the entrance of the virus) can progress to a condition of AIDS (which is actually a disease) only after so many years.. so if you have heard of rumors of AIDS tomorrow or the day after... its all crap.* Ok. I have heard that its not HIV that kills a person but something else. What is this all about?Yes. Its true. Its not the virus that kills the infected person but other diseases that attacks the body due to lack of immunity. * Then how is AIDS a killer?Yes. right question. Because, HIV is responsible for the death of your immune system in the first place. That is what HIV do. fight against your immune system.. that is the white blood cells and kill them and makes your body vulnerable for other diseases.* How can i be safe from the disease?--> Safe sex--> Safe blood transfusion (check before taking and giving)--> Avoid blood contact during an accident/ chances--> clean habits.--> Right information like this one. No rumors.
  20. I think so its personal. If you want to have many... go ahead and have as many as you want. Law? - stop worrying about it... as if everyone holds to it like life. I have to say this... whats happening is polygamy has been made illegal and prostitution has been made legal. Why take the pain of supporting someone when I can go and get what I want so easily without all the hassle. what say?forget about right and wrong. I cant even imagine that this is not happening. Its happening in every damn part of the globe at all scales.
  21. Ideas for burning belly fat...I do not want "go to gym" ideas... I want simple exercises that will burn them and make it flat .
  22. Cool.. I am sure going to have some fun with these plugins. After all I am a big fan of firefox even if it sucks sometimes... . I am purely in for the test drive.I expect some of these features to become part of the next version of Firefox by default and do not want to hang over with extensions. That being said... I will try these extensions and give my feedback... so that when it becomes part of firefox, its as expected and works.
  23. One of my friend recently asked the basic difference between Investment banking and traditional banking.... Traditional banking is the normal bank accounts we have. Like, put your money in the bank and they act as a security and you will get only the normal interests (decided by RBI in our case, FED bank in US). Investment banking is entirely different. Here, people who are having so much money (money in excess which will yield only less interest if in Banks) will invest their money and get higher returns. For example, If i have more money instead of taking the pain of investing in share market, buying properties etc. I will give to investment banks and they will do the money management and give me higher returns when compared to traditional banks. And FYI... GS and JP Morgan are not becoming Traditional banks, but Bank holding companies which is a little different -- http://forums.xisto.com/no_longer_exists/. Thats because, these companies have made little profit, but meager chance to come out of this crisis and in need of so much liquid cash, which obviously FED will have or other traditional banks will have... (that's y Ameri. Bank gave a hand to Merill Lynch). Why? - Traditional Banks will always have Liquid cash. Check out the the 2 links in this post 2 understand y exactly this financial crisis and what is sub prime lending -- I am sure... I have not explained everything in full. Someone can elaborate on this more.
  24. The google chrome browser is good... But still lots of things have to be added to the box fr it to catch up with the big players in the market. It has just started... so we can expect a lot of new features getting added to it in the days to pass.. having my fingers crossed. Also, its very fast and cool.I don think its going to be a big blow to IE... because they will not shift that easily. Its only the people who are using firefox, will be shifting. Basically the power users. Lets wait and see how the browser usage trend changes in the future.
  25. For those of you... who really reall Ok... I am sharing to Xisto an easy to use image file to brush up your understanding of database normalization. Everytime I have to understand the concepts, I have to go through the complete text and its a little hard to do that... Had some requirement recently, and I thought I will prepare something like this and refer to, when there are future requirements. This is not exhaustive and very detailed. Helps to get some basic understanding. Prior knowledge about the databases, structure will help in understanding the complete concepts in a detailed way. Here is the PDF format of the same file for your convenience. Created using freemind, a free mind mapping tool. Its awesome. I have started to use this extensively now. I have been recommending many people about this software. Choice of many.... If you have some doubts on this, go ahead and post it in the thread... Will try to answer them when time permits.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.