Jump to content
xisto Community

manish-mohania

Members
  • Content Count

    57
  • Joined

  • Last visited

Everything posted by manish-mohania

  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 :-)
  16. when a sql query is issued, two calls are made to the database: 1) To fetch the metadata i.e the column descriptions 2) To fetch the actual data In case of Statement object, these 2 calls are made, each time a query executes but In case of PreparedStatement object first call to fetch metadata is made only once. Performance with PreparedStatement is better in case of batch execution when a query needs to be executed again and again. Also, I think PreparedStatement helps to avoid sql injection attacks, for e.g: For query: String custId = "C001";String query = "SELECT * FROM customers WHERE id='" + custId + "'"; This query looks innocent and fine, but is subject to attack for e.g: String custId = "C001' or id='C002";would result in a query: SELECT * FROM customers WHERE id='C001' or id='C002'
  17. I won't call it a dumb site name, however quite a thought provoking site. I found its name quite interesting. If you visit this site using different browsers (i.e, firefox, opera etc..), you will note a few differences in the CSS support by these browsers. visit: http://dowebsitesneedtolookexactlythesameineverybrowser.com/
  18. yes, you are right ... now there exists a module for just everything.he he .. even if you know php, ... you will feel pretty useless, since you will be searching and adding premade code most of the time
  19. Hi, You can use google calendar; Before you can use it you need to have a google account. To know more on how you can embed google calendar on your website; please, visit: https://support.google.com/calendar/?answer=41207
  20. @Nameless_ 1) You can also put your blog at http://www.yourrealname.com/blog/* Does this method has an advantage in SEO, when creating backlinks etc... ?? 2) If you intend to use Drupal. You can provide access to your personal stuff to only certain members. To do that : I) Create a new Role - 'Family' II) Assign this Role to users to which you want to give access to your personal stuff. III) Assign permissions to this Role to view your personal stuff. 3) You may want to use gallery module in drupal to show your artwork/phographs. What to write in personal blog ?? I keep asking the same question to myself ... What you want to express to your family ?? that you are not able to express when you meet them in person ?? I think blog is a way to express yourself. Just be cool and be yourself ... and write about things you believe in and care about.
  21. @Nameless_.bash_something files are used by bash shell in linux to set up your environment like PATH variable/default editor; when you log in to your system via ssh/telnet.I do not know about other files, but I want to know so that if anything goes wrong, I would be able to troubleshoot easily Try to ftp your site as anonymous user without password. If you are able to ftp then there is no problem. Also, create a folder public_ftp with read/execute permission for all. Save some dummy file there and see if it is accessible through anonymous ftp. If you can access and then everything is fine as far as ftp is concerned.
  22. I think for a novice, development process in Java is a bit intimidating as compared to php. I mean you have to create servlet, install files in a particular web file structure. If you are using an IDE then it is fine, but still you need to have a bit of knowledge, just to get started.Java has it's own advantages, it has excellent database access API and testing and debugging tools. It has web application frameworks that provides clean seperation of presentation and bussiness logic.I find Javascript to be a bit difficult to debug. Good news for java developers is that they can use Google Web Toolkit(GWT) to build/test programs in Java and then translate them to javascript.I like both java/php
  23. @chrisdavis000 If your clients are few : You can ask them to send request for registeration by email, which you can approve by providing them with username/password and location where your keep their files. You can use .htaccess and .htpasswd files to password protect a directory. To know how you can do that, take a loot at : http://forums.xisto.com/no_longer_exists/
  24. @Nameless_ Reasons for different ports for different applications: Take an analogy with ip-address of a computer. To identify among lakhs of computers on internet, you need to have ip-address of the remote computer. Similarly, to identify among many applications running on a server, you need to know the port at which the application is running. There can be only one application that can listen on the same ip and same port. So if the server provides two services/applications ftp(port:21) and control panel(port:2082). Both services can not take same ip and same port. You can provide service at any unused port. For e.g: you can run your webserver(http) on port 80(default) or port 8080. Default ports are standard ports for some known services like (ftp,ssh,telnet,http). Had not they be give default ports; everybody would be using their own ports and it would be hell of mess to browse web or transfer your files over internet. Location of files on webserver I don't know about the file structure of Xisto. But I think things work this way. If you have a domain example.com then, you need to upload your web site(drupal) in public_html folder. Your site would be accessibe as http://forums.xisto.com/no_longer_exists/ If you want to install drupal in a sub-domain then, you need to upload your web site(drupal) in public_html/<path-to-sub-domain-folder>/ folder. Your site would be accessible as For e.g, For: sub-domain = test domain = example.com You will access site as http://forums.xisto.com/no_longer_exists/
  25. I do not know what SEO techniques Xisto employs but it is interesting to know that Xisto gets indexed so quickly.I did "view page source" on this page and I didn't see any meta description(do they matter much ?? ..) for this page. There is only title and page content. I think it's page content is very good and is very much related to title which makes it rank very high on search engines.me too wants to know what makes a web page SEO friendly ...
×
×
  • 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.