jwenting 1,905 duckman Team Colleague

what about reading a tutorial? It's no rocket science, and every introductory tutorial will have the information.
And as hinted at, the exact procedure depends on the server.

jwenting 1,905 duckman Team Colleague

music helps a lot, but it highly depends on the music.
And that's highly personal... I know a lot of people who code best when listening to heavy metal, myself I can't stand that and work best listening to folk music or orchan cantatas.

As to coding nude, I can see how that could work. If you're relaxed when nude your brain works better when nude and so you should be able to code better that way.
In the office though I doubt it would go down well (a lot of people do take off their shoes).

Don't class getting sidetracked easily as having ADD, Infarction. ADD is just a shrink's way of giving a clinical name to a purely natural phenomenon called an active/creative brain.
Without one you can't code so it's quite normal and in fact beneficial.
But a normal situation doesn't make money for shrinks (and pharma companies of course) thus the attempt (highly successful) to make normal people think they have psychiatric problems, make them take expensive "counseling" sessions, and pump them full of tranquilizers.

The proof is easy: 20 years ago a kid sitting in front of the television all day was considered to not be active enough and need psychiatric help. We all got the story about watching television for more than an hour a day causing your eyes to go square...
These days any kid NOT sitting in front of the television all day but …

jwenting 1,905 duckman Team Colleague

in fact with older Microsoft exams it was often beneficial to not have prior experience with the subject matter because the Way as prescribed by the exam requirements was often contradictory to how things are actually done in the real world, and using anything but the Way to solve the exam problems would lead to failure on the exam (with in some cases following that Way in the real world would not just be inefficient but fatal, leading sometimes to major problems).

jwenting 1,905 duckman Team Colleague

writing code on paper is little different from writing it on a computer when you get used to it.
Maybe I'm getting old but it's how I actually learned programming. We used a mainframe and each student had a grand total of 5 minutes of computer time (CPU time that is) for the entire semester, so we'd better make darn sure that our code worked before we started to type it in.

And that's what it all comes down to, practice. There's no substitute for experience in this, and trying to find shortcuts isn't going to work very well.

As to your first point, I recognise myself in that. You're nervous, in unfamiliar surroundings, and that questionaire can determine your future. Not the best situation to give peak performance, and it usually shows in my results (job interviews are just the same).
But there too experience works. Do a lot of practice exams.
And what also works is to try and be as relaxed as you can for the exam. Don't drink alcohol or eat high-caloric food in the day or days leading up to the exam. Some people suggest yoga to help clear the mind (I've not tried this).
If your path to the exam location suffers from severe traffic jams, try taking public transport. Plan your journey to arrive at least half an hour early, gives you some peace of mind in case of delays.
Drink water before you start, and …

hammerhead commented: Well said +3
jwenting 1,905 duckman Team Colleague

You're using an anonymous inner class for the tablemodel.
That means you'll never be able to call any methods on it at a later time. That's not going to work as you want to change the content of the JTable.

jwenting 1,905 duckman Team Colleague

AJAX is a JavaScript technology, not Java.
Of course you can implement the serverside components that spit out the content you need in Java using Servlets (and there are indeed some specialty AJAX libraries to make that easier).

jwenting 1,905 duckman Team Colleague

in that case you should go back to tha basics and try some more things on the level of "Hello World".

jwenting 1,905 duckman Team Colleague

hardly surprising. If "rcd" is null you get an exception.
thus the error in your code (or at least that one) is not on that line but elsewhere, where you fail to fill "rcd".

jwenting 1,905 duckman Team Colleague

of course including any such method in a JSP (which the kid was asking for) is as bad as calling Thread.stop()...
It's likely going to be ineffective as well, as the thread may well survive the context in which the JSP is executed.

jwenting 1,905 duckman Team Colleague

rather idiotic to ask kids to go home and steal some code from the web to turn in as a show of how well they can do the job.
Makes me think that plagiarism and theft is the business model of that company...

Now if you give us the name and email address of the recruiting officer we'll be sure to send our appraisals of your efforts to them for consideration.

jwenting 1,905 duckman Team Colleague

never had a problem installing JVMs on Vista, but you do need to know which ones are compatible (and that means modern ones only, not the ancient stuff that ships with a lot of old books).

jwenting 1,905 duckman Team Colleague

in other words McCommie is a far left infiltrator, not a true representative of the American electorate at all.
He's no different from Osama bin Barack except in (literally) outward appearances.

jwenting 1,905 duckman Team Colleague

Of course that is true -- In the USA they are called senators, congressmen, and lobbyists.

nope, they're called lawyers.

jasimp commented: Unfortunately so +7
jwenting 1,905 duckman Team Colleague

and "shows some error message" isn't going to tell anyone much of anything.

jwenting 1,905 duckman Team Colleague

I'm getting a terrible sense of deja-vu here...

jwenting 1,905 duckman Team Colleague

oh, but noone got the right answer of course, so no one wins (except the homework kiddo...).

It's like those job interviews where they have you solve a "programming problem" that's actually a bit of code they can't figure out how to write themselves, and never hear from them again.

jwenting 1,905 duckman Team Colleague

whatever happened to actually learning and understanding what you're supposed to know rather than waiting for the last minute to cram for the exam?

jwenting 1,905 duckman Team Colleague

NEVER use Thread.stop(). It's extremely dangerous and will more likely than not cause very nasty things to happen.
It's deprecated for a reason you know, and that reason is that it will NOT do any cleanup.
It will kill the thread, and everything in it, now. No questions asked.
If that leaves data in an incomplete or unstable state, it doesn't care. If it leaves network or database resources open it couldn't care less. If it keeps hardware locked, waiting for commands that never can come no more, it's oblivious of that.

jwenting 1,905 duckman Team Colleague

and visit the mySQL forum here.

jwenting 1,905 duckman Team Colleague

read the documentation. It will tell you how to set up a JSP to return UTF-8 or whatever.

jwenting 1,905 duckman Team Colleague

write your own...

jwenting 1,905 duckman Team Colleague

and quite apart from that, using the bridge driver is also a VERY bad idea.
It's unstable, old, and poorly written.
Read the documentation, it's not intended to be used as more than a demo (and that a decade ago) of what JDBC is.

jwenting 1,905 duckman Team Colleague

quite simple. Yahoo is smart and doesn't allow just anyone to send mail using their servers.
You'll find almost every mailserver on the internet to be that smart, because the stupid ones have long been turned into spam havens and blocked from sending mail TO anyone because of that.

And as you're behaving like a spammer by trying to use Yahoo's mailserver without permission, you get an error.
Count yourself lucky that you're not blocked from using them at all if you persist.

jwenting 1,905 duckman Team Colleague

and no, it's not "argent".
Argent is French for silver, and Java is not Silver.

jwenting 1,905 duckman Team Colleague

and it seems the kid also misses a basic understanding of classpaths, server configuration, and a lot of other things quite apart from not knowing Java and having the terribly bad idea of using scriptlets.

And it gets worse. The kid creates the chart (or tries to) as a file and then tries to do something unmentionable with it (at least the kid doesn't mention what it does with it, so I assume it's unmentionable).
Far easier to create a servlet that streams the chart and call that from an <img> tag.

jwenting 1,905 duckman Team Colleague

no, if you BUY access through the proper channels that will include libraries and documentation.
We're not going to help you break into services, steal bandwidth.

jwenting 1,905 duckman Team Colleague

C/C++ would be C divided by C++ using integer division.
It would yield nothing, as C++ is (based on) a superset of C, therefore the floating point result (intermediate, to be truncated) will be less than 1.

jwenting 1,905 duckman Team Colleague

1.2 is end of life, and has been for years.
1.3 is going end of life soon, and in fact already is end of life for all platforms except Solaris.
Expect 1.4 to go end of life with the release of 1.7, probably next year.

my guess is that the kid has a terribly old book that comes with 1.2 and it thinks it can't use anything else.

jwenting 1,905 duckman Team Colleague

no, database connections don't belong in JSP.

jwenting 1,905 duckman Team Colleague

not going to help any kiddo that insists on using scriptlets.

jwenting 1,905 duckman Team Colleague

I hate theme parks, burning them down makes room for more interesting things like airports and maximum security prisons :)

jwenting 1,905 duckman Team Colleague

I had my first remote controlled aircraft some 25 years ago.
And yes, that's a UAV by the strict definition.

jwenting 1,905 duckman Team Colleague

sigh. Did you even bother to check the dates on this thread before posting your rantings?
You're 4 YEARS late, kiddo.

jwenting 1,905 duckman Team Colleague

the best time of year for Disney World is just after it burns down.
No more fake happiness, and the inevitable lawsuits haven't started yet.

jwenting 1,905 duckman Team Colleague

don't ask yourself whether you're paranoid, ask yourself whether you're paranoid enough.

jwenting 1,905 duckman Team Colleague

seems to be a new hobby, creating forum account, reviving useless ancient threads (usually with nonsense information), and disappearing.

I've been seeing it a lot lately both here and elsewhere.

jwenting 1,905 duckman Team Colleague

that's not what you were stating... You said you want to match your odds with those of others, which means you want to compare them and probably republish them.

jwenting 1,905 duckman Team Colleague

We still have some customers on Oracle 9i, but we're no longer taking any new contracts for it (and haven't for quite some time).
New contracts taken only for 10g and 11g (preferred) unless it's a migration project from an earlier version to one of those.

jwenting 1,905 duckman Team Colleague

PS: there is no way some of the previous posts can be real..6? 2? no one is that saint-like

Most people are self-delusional and dishonest even to themselves, which is why such tests should never be done based solely on yes/no statements made by the person being tested.
This is especially true of psychopaths.

jwenting 1,905 duckman Team Colleague

But I don't see how some of those questions relate to psychopaths..

psychopaths typically don't...

jwenting 1,905 duckman Team Colleague

it says it can't find a class with that name. That class doesn't exist.

jwenting 1,905 duckman Team Colleague

you have 2 classes with the same name in that package. That's not allowed.
Keep classes one to a sourcefile, much easier (and as in that case the file should have the name of the class you can't create more than one class with the same name per package any longer).

The other is clear. You define your class to implement an interface or abstract class but don't actually implement the methods you need to.

jwenting 1,905 duckman Team Colleague

I understand full well what you want, and that's to steal information.
That's what you claimed to want at first, and only after people said they weren't going to help you do that did you pipe down and start claiming you only want to "get your data in the right order".

jwenting 1,905 duckman Team Colleague

what does it ask? It asks you where your JRE is.
What should you do? GUESS!

jwenting 1,905 duckman Team Colleague

no. Maybe if we knew WHAT tutorial and where you got it.
But we don't and apparently neither do you or you'd just go and download it again yourself...

jwenting 1,905 duckman Team Colleague

and if you want to use an SMS gateway, use your favourite search engine to find out where to buy one (and they'll come with libraries to use, and probably sample code as well).

jwenting 1,905 duckman Team Colleague

I've a feeling that many schools these days have homework assignments like "get someone on the internet to make XXXXX for you", where only XXXXX differs between assignments.

It's the only explanation I can think of for the flood of homework kiddos out there.

jwenting 1,905 duckman Team Colleague

Kid wants to STEAL the data from newspapers for his own website...

jwenting 1,905 duckman Team Colleague

we know full well what you want, and it's something we're not going to provide you with as it's unethical and quite likely illegal.

jwenting 1,905 duckman Team Colleague

What's wrong with Sumerian, Egyptian, and Greek?