Jump to content
xisto Community

manish-mohania

Members
  • Content Count

    57
  • Joined

  • Last visited

About manish-mohania

  • Rank
    Member [Level 1]
  1. I do not know If I consider myself religious or not; but when I am going through hard times I do go to temple. It somehow strengthens me and relaxes me.I am hindu by birth and my religion teaches us that we are descendant of gods. When I look at this way and feel that I belong to people who were so cultured and so much able in every way; makes me confident and makes me believe that I can do anything. When I connect to gods as my family, I get rid of fear as I know there is someone who is taking care of me even in my hard times.Just think about this when you were a kid and your parents told you that Santa Claus would bring you gift on christmas. Did you believe them ?? When you got the gifts on Christmas then did you believe them ?? I am sure you always had the doubts, but the hope that you will get a gift and merely the idea that someone will give a gift or complete your wish; was too much to make you wanting to believe in a fairy tale.
  2. yup, it is cool ... I found it useful for some tasks that require scheduling, like generating reports at regular intervals. There are open source api(s) for scheduling like Quartz, they provide additional features like: 1. you can provide time interval in unix cron like format. 2. Persistent jobs For J2ee applications, EJB's do not allow to create a new thread. TimerTask is a thread, so EJB's have their own way of scheduling tasks.
  3. I have used Tapestry, Click and Struts. No framework is my favourite. I have found that each framework has made some things simple and the rest overly complicated. Click framework is a commercialized version of Tapestry, however I found that it is much easier to develop/debug web applications in Tapestry than in Click. I do not know why companies are fond of commercial web frameworks when there already are free/open source frameworks. Tapestry is a much cleaner and straightforward approach to build web applications. It is a component based web application framework whereas Struts is an action based web application framework. However, some things are overly complicated in tapestry for e.g: To redirect to a Page you use a simple tag, similar to anchor tag: <a jwcid="@PageLink" page="Home">Home</a> However, to download a file, you will have to create a seperate service. You will not use a simple anchor tag. You will have to create a Java Class to do this basic task. I have also used GWT; I found that it is really an impressive technology allowing you to do client side javascript programming in Java. You write program in Java, which is then later converted to Javascript, there by giving you full access to Java tools like debugger. However it is best suited to projects that want to use ajax and are developed completely in GWT. I would like to know experiences of others in using these frameworks and others.
  4. If you want a completely free service, without having to post in forums like Xisto. You can use google app engine. It allows you to host your web application on google infrastructure. There is a free starting plan and payed plan as well. https://cloud.google.com/appengine/?csw=1 https://cloud.google.com/appengine/docs/java/?csw=1
  5. @sheepdog ya, me love'ng it ... @mahesh2k It is sad, people who have power and money, do such things even when they know its repurcusions; just for fun and entertainment. We need to raise not just awareness but consciousness as well. We are "humans" - there are better ways to express that. @nirmaldaniel I got to know that they have a blog site as well supporting this campaign. Well, good to know that there are people who care about their surroundings. At the very least we can grow more trees around us. It may not help those endangered tigers ... but still ... Cheers !!! We are not alone.
  6. Hi,Recently, there are lots of advertisements in media about the number of Tigers left in India. There are only 1140 tigers left in India. The rate at which we are using our natural resources, it seems as if everything is in danger - land, water, air, petrol ... . The list is endless.When I see from my point of view; I feel helpless and feel I can do nothing. These tigers live in forests. How can an ordinary citizen living in capital city protect tigers ? I may not even see a real tiger in my entire life. What is the point of these advertisements ? Are not they wasting money on these ads. Why do we give money in the hands of the government, just to waste away on ads each year. What are they doing to protect these tigers ? I certainly am angry and every Indian should be; Tiger is our national animal.If anybody knows; what I can do to save our tigers, I would be very happy to know. Please, share your views/suggestion.
  7. I guess, she is not serious in to relationship at all ... she is being only flirt and playful.... some girls want this only ... do you want to love every girl that comes in your life ? Why not just stay playful ?? I would not misss out makeout at times However on a serious note: 1. It is difficult to maintain relationship with a person that lives far. 2. I feel that you are deeply emotionally connected to her but she is not because if she was deeply emotionally connected to you, she would not have left you in the very first place. 3. she wants to give it one more try ... why not ?? ... just make sure, you do not spend much money on her and keep searching for your dream mate. if you are concerned that she will think that she is getting you very easily; Tease her; First dismiss her then accept her. Respect,Dignity ... umm ... I am (love)moral **All opinions are subject to love risks Sorry, if I offended you in any way. ** Note: A pun on mutual funds/shares advertisement - "All mutual funds are subject to market risks"
  8. @mra550 Bash is a shell. (Bourne Again Shell). It comes with linux/unix operating system. It is like DOS Command Prompt in Windows. Bash provides a scripting language which has branching and looping constructs similar to those found in C/C++. Just like you can run commands like dir, del in DOS command prompt; you can run commands in bash shell. You can combine these commands with branching/looping contructs to create more powerful and complex commands. I hope you can feel, what I am trying to say .. @Inspiron Hi, Problem is that while loop is spawning a new shell to do the work. x in the sub-shell is incrementing but the x in the parent shell remains the same. when the sub-shell exits, you get to see the old value. #!/bin/bashIFS=''file=( $( < test.txt ) )echo "file (*): ${file[*]}"echo "No. of elements: ${#file[*]}" If you want to see the change; you may wish to see the following sample code. #!/bin/bashfunction change() { eval "$1=$(($1+1))"}x=10echo "Before change: $x"change xecho "After change: $x"
  9. @Nameless_Basic1. Easy to learn2. Fun to program in.Python1. teaches good programming habits2. good design / language constructs; let you write concise and readable code.3. Can be used for web development / stand alone application development.Pick any language, but stick to it for a while. Explore the application areas; learn what you can do with this language.When I joined B.Sc computer science course, I didn't know how to operate computer. My first language was "C". Funniest thing is that I didn't know it is a tough language and I learn't it fast
  10. Hi,It will be helpful if you show the programming code.A stack error may occur due to many reasons like infinite recursion etc.In C/C++,1. literal values are stored on stack.2. When a method is called, paramter values are stored on stack.If I were to debug it, I would see:1. enough memory is allocated to store each line.2. enough memory is allocated for array used to sorting.3. Since strtok would be used for each line. Am I properly initializing strtok for each line ?4. Am I properly checking the end of file condition when reading input from file.Good Luck ..
  11. @BCD I agree with you. It can be done... but I think posting policy at that time was not that liberal and it didn't give the poster sole right to it's posts. I do not exactly remember ... I might be wrong. @Nameless_ From the logo being displayed at Xisto footer. I realize that it is CC (by-sa) license and NOT CC(by-nd). CC(nd) prevents any derivative work from the original work. In reality, people usually don't sue for copyright violations unless and until it involves large sum of money. Best way to fight copyright violations is to make more and more people aware of your work. Let people know that it is your work. Ah ... thank god .. good souls still live on earth
  12. Hi, I think CC license means, others can: 1. create a new work based on your work. 2. create a derivative of your work. but on a condition that others have to give credit to you for your work. It doesn't mean others can steal your hard work. It just allows others to share your work. I think it will allow more people to have access to your content/work and will thus bring more fame to you -- edit -- Ooops ... I missed the two posts above .. sorry ..
  13. @shadowx@k_nitin_rThanks for your suggestions ... reinstalling the linux and cleaning up the case, and re-plugging the cables did the trick. I think it may be giving problems due to loose wires. But I have to admit I had to install linux a few times to get it working. I still can't believe solution is so simple :)I have installed KNOPPIX on my system and it is working fine, Let's see if it stays for a month with no problem then I will think to switch to debian/ubuntu. As for now I am happy with this system.Thank you all for all the help. I am falling in love with this forum.
  14. @AllThank you for addressing my problem @Jlhaslipyup, I downloaded the Ubuntu ISO. I used the GParted utility to check the drive and it showed no bad blocks. It uses e2fsck to check drive. please, Let me know if you know someother hard disk checking utility. I have installed Ubuntu on my drive and right now I am posting this reply using Ubuntu only However I am having problems with Ubuntu also. I think I should check my system with a new hard drive (I don't know but I am getting a strong feeling about this). My system didn't run with initrd enabled, I had to run it with noinitrd command line option as:root (hd0, 1)linux /vmlinuz noinitrdat grub command line.When I tried to mount initrd image as loop device (Is it possible to do this ???). I found the CRC error when unzipping the image with gzip utility.Also, I found problem with panel while l logged in to the system. No Applet(clock, etc) was registered with panel.I checked the md5sum of Ubuntu ISO and it was O.K. I also did the disk integrity check, It was O.K. Installation also went fine. Ubuntu as a Live CD ran absolutely fine.No clues what went wrong ??? @rvalkassyup, you may be right !!!I am able to run any Live CD perfectly well. It is just when I install on my hard drive, it start to malfunction. Interesting thing is it doesn't show up any errors for bad blocks or anything.Actually my drive is still on warranty period. I would get it repaired if anything is wrong with it. However they won't take it unless it actually shows up any errors on disk check. :DI don't know if it is my wish to get my hdd replaced or it is really a bad disk.
  15. Hi all, It is going to be long post, so please be patient and stay with me. When I boot my linux I get the following error : What can be the cause ? I have tested my RAM with memtest86. All results O.K I have seagate 160GB sata drive, I have tested it with SEATOOLS provided by the same company. All results OK Detailed Problem Description ------------------------------------ Initially I had Debian Linux on my system, It started giving error when I log in to GNOME: Later, I started to get this error on boot: I did not get this error consistently. Sometimes my system booted fine with no error and sometimes I got this error. and eventually I started getting this error: My first thought was that my installation has gone corrupt so I am getting these errors, hence I re-installed my system but this time I installed Fedora Core 9 But Fedora also refused to boot with the same error: I am able to run Knoppix Live CD with no problem. It is running fine with graphical mode. It think it can't be a RAM problem ??? What can be the probable cause ? Can it be RAM problem ... ? Can disk checking utilities provide false reports ? ... What other tools can I use in Linux to check for bad blocks in hard disks in Linux ? Thank you for your patience and time :-)
×
×
  • 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.