and don't forget package names, don't forget that classnames (as everything) are case sensitive, don't forget to include external jars required by the applet, etc. etc..
Interesting exception by the way, must be a very weird JVM you have running.
and don't forget package names, don't forget that classnames (as everything) are case sensitive, don't forget to include external jars required by the applet, etc. etc..
Interesting exception by the way, must be a very weird JVM you have running.
you "fix" it by analysing the observed incorrect behaviour and from that deducing what in your code is responsible for that behaviour, then correcting that.
not urgent
by law he's limited to 125cc or less :)
no doubt it's too late now.
yup, if you code it correctly that should be possible.
That's all that can be said without knowing what convoluted code you produced to generate the behaviour you describe.
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.
not really, no.
Of course you need enough data in the original file to be able to compress it at all.
A 1 byte file for example can't be compressed.
Apart from that, the compression algorithm might add more overhead in markers and stuff to the compressed file than it removes by compressing the orignal data.
That however is independent of file size, can happen with any size input (but might be more readily apparent with small input files than with large ones on average).
as long as you kids accept your teachers' heavily outdated curiculum, that curiculum will never change.
It's your money going down the drain (or that of your parents). File a complaint with the school, education board, or whatever other agency has the power to change things there.
You have well grounded reasons to complain, just take a while to write up good arguments (and no, TC isn't crap, in its day it was the very best C compiler for the x86 series of computers, it's just heavily outdated, overtaken by 20+ years of hardware and operating system development).
Talk to your teachers first, find out if it's the compiler they chose or whether they're stuck with it because someone else forced it on them. If the latter, they're probably happy to help you try to get the curiculum changed.
It might not help you this term, or the next, but eventually things will change and future generations will be happier as a result (and who knows, the action might cause people to look at the curiculum that you'll have to follow in a few years and modernise that as well).
It's just another file, of course you can load it.
And if you have the right libraries you should be able to visualise the models as well.
I guess such libraries would exist (try some search engines :) ), if not you'll have to write them (which would I guess not be a trivial undertaking, certainly not if you want to be complete and have it perform).
sorry, LSD is so 1960s :)
"does not work" doesn't tell us anything. Be more specific, a lot more specific.
And please correct your code tags, you tried to use them but I think you forgot the close tag.
what griswolf said. And the ones on Sun's website, and the books and notes your teacher told you to get/make, etc. etc.
Tons of information there, more than enough to learn to do this easily.
not urgent
Sounds trivial, can't see how you'd have trouble implementing that (apart from the formulae being utter PC nonsense, but that doesn't make implementing them in code any harder, in fact it makes it easier as reality is a lot more complex than that).
no, we're not going to do that.
For one you're asking something that simply going through the jdbc and jee tutorials would teach you, and then again you're hijacking your own thread here.
yup, write a parser for that format...
Not that hard, shouldn't take more than an hour or so at most.
substring is your friend :)
and a definition of what the heck a "percentage relative to a particular bar" is, as that phrase makes no sense whatsoever.
learn a bit about Java and you'd know the answer to that.
I suggest you reread your entire courseware and the Java tutorial from Sun's website, and actually study what's there.
it isn't. The educational system is incapable of keeping up with the speed at which the industry moves, as well as with the breadth of the technology used within the industry.
This is I think not something that can be rectified without stifling innovation and technology development in the industry.
That's not to say the educational system isn't in serious trouble, but that's for other reasons.
The fact that the majority of schoolkids (and even supposed university students) posting to sites like that seem to be borderline illiterate as well as terminally lazy and disinterested in studying (and I have a strong suspicion a lot of teachers encourage such attitudes, give them urls of forums with the instruction or at least suggestion they can dump their assignments there and someone will do the work for them) shows just in what serious trouble the educational system is.
Not only are kids not stopped from advancing in it who are clearly incapable of even reading and writing correctly, but they seem to be actively encouraged by that system to be slackers, incompetents.
The massive emphasis on physical activity and "social studies" over the sciences is no doubt a big part of that.
As I noticed myself at that age (30 years ago or more), anyone who doesn't excel at sports yet likes the sciences if turned into an outcast with the tacid (at that time, not I think active) approval of teachers, is bullied and beaten …
good, it should give that error. You've just proven that your compiler works.
It can't find the class because the class isn't in the same package and you failed to import it.
You stupidly didn't put the class in a package so it's of course quite impossible to import it, but that's something you can easily rectify.
so? What's stopping you? Too lazy to figure out how to do it yourself?
As already mentioned these for-profit institutes are all worthless. But then whats a workaround?
You are quite wrong there. For-profit doesn't mean low quality. At least in most of the world it doesn't.
But when for-profit is combined with an attitude among customers that quality is irrelevant, in this case "students" who don't want to learn a skill but only want a piece of paper stating they have it, it's a recipe for disaster.
But the same is true for a non-profit organisation offering the same services.
1. What is your title?
Master troll hunter
2. What are your responsibilities?
Annoying forum trolls
3. What kinds of skills do you need to perform your job?
A thick skin and a sharp tongue
4. Describe what you do during a typical day.
Read forums and annoy the trolls there
5. What other jobs have you held that might have helped prepare you for this position?
Apprentice troll hunter, a training position
6. Do you have people who work for you, and what do they do?
no, I don't need help now.
7. What is one of the most challenging things about the work you do?
Finding new and ingenious ways to annoy trolls.
8. What time management tips could you suggest?
Sleep well, but not too long. Trolls don't sleep after all.
9. How do you balance your family, job, work, and leisure time?
I don't
10. What advice would you give to someone interested in this career?
Don't ever troll forums
no, we don't help thread hijackers who are too lazy to even read the tutorials (if you'd done that you'd have figured it out for yourself).
what the heck are you doing studying CS if you don't even know what it is?
so start learning. Just dumping your homework on forums and waiting for others to do it for you isn't going to make you learn anything.
no, you can't.
I could, but not you as you lack the required knowledge.
And as you seem unwilling to attain that knowledge, rather wanting people to give you handouts, you'll never be able to do it.
tell your "friend" to do his own homework.
Though of course we all know your "friend" is really you.
learn about the different ways EJBs can be invoked and you'll know.
"the relationship between the stupidity and lack of imagination of post graduate students, the lack of quality in computer products, and the number of questions asking for project ideas by students in internet forums".
p.s. you can be your own test subject.
not quite the correct syntax, but you get the idea.
nope. We can't do it for you (or rather we could, but we won't).
You have a complete and detailed problem description, implementing that should be trivial if you've done your previous homework and paid attention in class.
by reading the manual, tutorials, books, and studying.
catch the exception and handle it :)
says it all really, the key is not just invalid, it's not even recognised as a possible key.
NoCodeTagsError at line 1, program terminated.
OutOfCheeseError at line 0, redo from start
There are many service providers who'd be more than happy to sell you services to send SMS through their networks.
But you're not going to get a freeby.
do you know what programming is?
and RTFM to learn how to unlock the user account he's trying to use :)
afaik there's no way to do that clientside without resorting to applets or flash.
Javascript (which you'd have to use) has no such functionality and for good reasons, it's no intended for interacting with the filesystem.
and no stupid things like hardcoding operating system specific file locations :)
good luck.
unless you're the top troubleshooter you're not going to travel much.
And that takes years or decades to accomplish.
"Desktop support" basically means fixing broken office computers, kids like that are a dime a dozen in every country, no need to send some junior to another country to do the work, far cheaper to hire some temp workers locally.
So no, in your job you'll never travel much further than another building in the same city.
yes, "the degeneration of computer science students as a function of the number of them asking for project ideas on internet forums".
guess because it's more a java question than a game design question (which would allign more closely with this forum).
Your constructor has a different parameter list from the one you're trying to call.
Doubt about what you want to do is a natural thing.
Also, don't expect to do the same thing for the rest of your life if you have a decent education. You're more likely to flow into different jobs and positions over the years until what you're doing has little or no bearing on what you learned at school (in fact, I never held a job where what I studied at university was in any way related to the work I was doing and that's true for the majority of my friends and colleagues).
It's only relatively unskilled labour that's trained in schools before they ever get a job and then never learn to do anything else (except maybe to use a new tool when that replaces the tool they learned to use initially).
If you hold a white collar job, you're expected to be able to learn and keep learning, to adapt to whatever job is required of you.
Today you may be programming, maybe in 10 years you're writing tech manuals or training juniors yourself.
of course it does. Read that line again, where's your class "keyboard" with a constructor that takes an InputStream?
Most likely what you intended to write was
Scanner keyboard = new Scanner(System.in);
which might work (I never use Scanner, don't know its interface, but I think it works like that).