5,727 Posted Topics
Re: please don't do peoples' homework for them. It prevents them from learning and turns them into lazy bastards who cause professionals to have to work overtime while they themselves lounge in front of the television... | |
Re: [QUOTE=jephthah;1215940]Hmm.... i have noticed that every time i got curious about the origin of some site or another from one of spam links and did a DNS lookup, it was always registered in Pakistan.[/QUOTE] interesting. Doesn't quite match the average demographics of homework kiddos (the other 50% of new members) … | |
Re: Start small. First upgrade an existing PC with a new videocard, maybe add a harddisk or a CD ROM drive. The next step could be installing some new RAM. Soon you'll have all the experience to build a new machine from scratch, and all you need to build up is … | |
Re: [QUOTE=Ezzaral;1155760]Well, it's certainly not spam ;)[/QUOTE] hmm, could work I guess. Fried with hasbrowns and scrambled eggs on some toast? Not every day, but once in a while. | |
Re: There have been dozens of places where people said Atlantis (or some other sunken continent by some other name depending on their local mythology) would exist. The idea of an island or continent of extreme riches that was destroyed by the Gods and sank into the sea exists in almost … | |
Re: Honda Civic is a great car. Reliable, decent performance, comfortable, and easy to handle. Same for early model Ford Focus (they're supposed to have some problems in the 2003-2008 period, from what I hear). Mazda are supposed to be good too, but I wasn't too impressed checking them out in … | |
Re: [QUOTE=Ezzaral;1222708]You could stir-fry them with spam.[/QUOTE] spam, eggs, bacon, and spam! | |
![]() | Re: After 2 people in my family had serious accidents riding their bikes, and seeing the aftermath of a lot of other motorcycle accidents, I lost what little interest in the things I had. |
Re: so the guy just invented a radio receiver, so what? It's an obvious hoax, well known to be utterly useless. You may get a few millivolts and a few microamperes maybe that way. To get anything usefull you need massive coils and suspend them within a few meters of a … | |
Re: No different than you create any piece of software. Start by gathering requirements, than write the use cases, expand those into a full functional design. From that work out the technical requirements and the technical design. Then start implementing that technical design, test it to the functional requirements, package it, … | |
Re: [quote]The solution is to use the correct memory model for your project (see your compiler manual pages for details of how to do that). A better solution is to use a modern 32-bit compiler and join the rest of the real world. [/quote] And the best solution is to do … | |
Re: And don't go sending people private messages about it either. Especially PMs that are so utterly vague that it's impossible to know what you're trying to do... Or rather, indeed just don't send any at all. | |
Re: nope. Forget about the mathematical notation. Create a class to contain your complex numbers as 2 double precision floating point fields, one real and one imagenary. Either create operators (one of the few valid reasons to have operator overloading is pure mathematics like this) or regular methods for mathematical operations. | |
Re: So turn it off and then install Google desktop which stores a literal copy of every file on your harddisk, effectively doubling your storage requirements ;) thumbs.db files are harmless and make images load faster in preview mode, leave them be. Only reason to remove them is when packing a … | |
Re: well, the original was also wrong. The politically correct solution is simple: [code] System.out.println("you're morbidly obese"); [/code] is the correct response to any data entered into the application. | |
Re: Read up on JDBC. It's quite simple once you get around to experimenting and learning a bit. | |
Re: Had you done any searching at all you'd have found it quite easily as it's available (for development and testing work, NOT for production use) from Oracle themselves. Right there on their website is a big red block saying "Featured downloads", one of which is the latest database server, and … | |
Re: The first submit button defined in the form has automatic keyboard focus for key events relating to the Enter key. No need to do anything (unless you define your own higher level event handler to capture and discard those events of course, but then tabbing to the button and pressing … | |
Re: [code]./secondprogram | python firstprogram.py[/code] | |
Re: Both have their strengths and weaknesses. Of the two, I like Eclipse better, but neither is my favourite. I do most of my Java coding (what little there is left of it) in JBuilder 2005 these days, and the rest in VI. Almost all compiles are done using ANT scripts. | |
Re: learn about the different ways EJBs can be invoked and you'll know. | |
Re: compareTo is used for sequential placement of Objects. It's mainly useful in conjunction with sorted collections. equals is used to simply check for logical equality. In case of Strings compareTo will tell you which of the Strings being compared would come first in a case sensitive dictionary, equals would simply … | |
Re: I think it's explained pretty well what the program should do. Just read more carefully... | |
Re: sounds like a homework assignment as you can find the answers in any good textbook dealing with the subject. | |
Re: Lots and lots of diploma mills and fake certificate suppliers out there. Any "online certification" would automatically classify as one of those. And physical travel and stay in another country would negate any lower cost of the actual training itself. | |
Re: Of course it isn't. You need to first get the value of that variable from the environment yourself, and then use that to construct the actual path to write to. | |
Re: and why are you using a 20 year old compiler? | |
Re: I use Java professionally so no flashy stuff but solid corporate applications (mainly internet and intranet stuff for customers including several multinationals). Most of it is confidential and the rest no longer exists as the projects were cancelled or the companies taken over. | |
Re: English. And the real deal, not the IM shorthand that's used by so many idiots. | |
Re: So why did you do the lazy homework kiddo's homework for it? To show how stupid you are by falling for the oldest trick in the book? Or a misguided attempt to impress that kid with your brilliance in solving its problems for it? | |
Re: A common mistake is for people to expect replaceAll to literally replace all occurrances one string with another, but that's not what it does! replaceAll() uses a regular expression to determine what to replace. If the string you're giving it as the pattern to replace doesn't compile to what you … | |
Re: Turbo C is a 20+ (going on 30) year old product created for a different operating system entirely, an operating system that hasn't been supported by Microsoft for 15 years. No, it's not going to be supported. Anyone with a grain of common sense would realise that, and would not … | |
Re: Say after me: you can not access hardware on the client machine from a serverside application or script. You CAN print from your serverside application to any printer which is attached to the server (if PHP supports that...), but never to the client. | |
Re: so? If you're up to the job you don't need to be told the questions in advance. If you're not, you have no right to get that job. | |
Re: They're a European brand. They're a solid B brand here with aspirations to become a Big Name. Most of the quality and features of the majors but at a more reasonable price. I'd rather buy one of the Big Names (Toshiba, IBM, Sony) myself if the difference in price was … | |
Re: well, StringTokenizer had been deprecated for years back in 2004 ;) | |
Re: One thing you should have learned by now is how to think for yourself, and that includes coming up with ideas for projects. | |
Re: read the old file, record for record. Write all records to the tempfile, except the one(s) you want to delete. Remove the old file. Copy the tempfile completely to a new file with the same name as the old one. Remove the tempfile. | |
Re: So? Do you have the proper client library? Classes don't appear out of thin air. | |
Re: JDBC drivers are usually dependent on specific versions of the database engine in use. Find out what version of mySQL you're using and what driver you need for it. | |
Re: $35 for a decent editor isn't much. There are far more expensive ones out there... | |
Re: Or any of a lot of others. This is a very common example of the networking capabilities of Java used in many programming courses either as an assignment or as a case study. The fun is figuring it out yourself rather than taking some ready made solution and trying to … | |
Re: if you programmed it correctly it won't be "going all over the place" but following a highly predictable path dictated by it's starting position and energy vector. So you change those and it will follow whatever path you want it to if. | |
Re: his "concept of the abstract class" is flawed if he believes it's what lies at the heart of interfaces... | |
Re: If you need to ask that question, you're not prepared to carry the burden of executing such a project to a successful completion. I've no exact numbers, but you can expect it to take several months to years, a team of maybe dozens of people, and a budget of millions … | |
Re: Or one that took a group of dozens several years to build at the cost of many millions? | |
Re: so you're another freeloader who wants someone to do your work for you for free so you can then sell it? Get lost. A few thousand lines of code is nothing, certainly not something anyone is going to pay money for. | |
Re: [QUOTE=invisal;503103]Pirate is absolutely bad in developed country; however, it can be very helpful for under-developing country.[/QUOTE] Yes, Yemenite and Somali pirates make a decent living stealing merchant ships and holding the crews ransom. | |
Re: [QUOTE=Bench;289998]Alot of signatures are also pretty awful, or cliched, or taken from well known quotes, (and are seen all over the place!). The best ones are usually the few which are are original or little known :)[/QUOTE] And how do you know the person using it isn't the one who … |
The End.