jwenting 1,905 duckman Team Colleague

The Loch Nes monster as described by the "believers" cannot exist. The Loch Nes environment doesn't yield enough nutrients to support a viable population of animals that size (even if they could exist in it undetected, which is in itself a virtual impossibility).
Similar factors can be found to discredit every single one of such things.

Stalin said that "religion is the opiate of the masses", but in our society that place has been taken by crackpot "supernatural phenomenon" and conspiracy theories.

jwenting 1,905 duckman Team Colleague

890.000 homework kiddos dumped their homework assignments and never posted again after being either ignored or told where to stuff it.

jwenting 1,905 duckman Team Colleague

Which element do you think will destroy earth. I support water since there are a constant flooding and tsunami kept occurring. Japan had lost 10% of its population to natural disaster

that doesn't destroy the world, as in making it disappear :)

Eventually the world will likely be destroyed as it's absorbed by the expanding sun when it enters pre-nova stage.
That's the end of it.

Possibly before that the Death Star will come by and use its big gun, but I seriously doubt it.

jwenting 1,905 duckman Team Colleague

Does anyone really believed that people could actually see 2 suns anywhere in the world

sure. There's idiots ready to believe anything, especially if it's voiced as some "spiritual experience" or the result of a "conspiracy".

ddanbe commented: Well said. +0
jwenting 1,905 duckman Team Colleague

Patch the kernel. That's not a theoretical advantage.

it IS a theoretical advantage for 999 out of 1000 users, maybe even 9999 out of 10.000.
Those users NEVER have a need to patch the kernel (or shouldn't have).
They just want their computers to work, run the software they need to run to do their thing, and at most would like an autoupdate function to apply operating system patches for security problems for them.

Windows offers all that. Out of the box Linux offers none of that (though some distributions now offer the first and last, the majority of software most people want/need to run isn't available on Linux and no amount of fanboyizm is going to fix that (as that fanboyizm just leads to stagnation, denial there is a problem in the first place).

jwenting 1,905 duckman Team Colleague

read the product documentation for the Oracle JDBC driver. It'll tell you how to connect.

And please don't do this from a JSP. JSP aren't meant for doing business logic, and should never contain Java code.

jwenting 1,905 duckman Team Colleague

Literature list

Robert C. Martin Clean Code, A Handbook of Agile Software Craftsmanship First edition, August 2008

Two books? Very impressive for a litterature study . . .

That's one book with a very long title (relative to many other IT books)...

Looks more like a book review than a literature study to me.

jwenting 1,905 duckman Team Colleague

sigh... Despite the tens of thousands of threads by other kids asking us to give them a project idea you still haven't gotten the message?

jwenting 1,905 duckman Team Colleague

Anarchy Online has had a system like this in place for years, I think since at least 2004.
There've probably been others as well.

So this is not an industry first, at most it's a first to offer it as a plugin for games rather than having a custom built solution.

jwenting 1,905 duckman Team Colleague

start thinking object oriented, rather than using multiple arrays to hold each value and trying to juggle them to stay in synch.
That way you can create an Edge class that contains its weight (even contain several weights depending on the direction it is traveled).

jwenting 1,905 duckman Team Colleague
data[2].getLoadCap();

should be

((Truck)data[2]).getLoadCap();

as already explained.

And of course ideally you'd handle errors doing the casting.

jwenting 1,905 duckman Team Colleague

ii. But why doesn't your code compile when you try to make and ArrayList of your GUIPropertySquare class?

Indeed. What exact errors are you getting?

jwenting 1,905 duckman Team Colleague

you mean the client of your web application? There is no Java running there, only Javascript which knows nothing about all that.
The only thing you can do is set a cookie, which is automatically handled for you (if possible and needed) by the server based on the content of the serverside session object.

If you mean you have a Java program running outside an application server environment, you won't have access to the session management features of the application server, obviously, and will have to implement something similar yourself (or search the net for something created by others).

jwenting 1,905 duckman Team Colleague

you need to learn Java, and learn to think before you code.

jwenting 1,905 duckman Team Colleague

learn a little bit of Java and you know what to do.

jwenting 1,905 duckman Team Colleague

if you have some logic to "prevent those letters not used up to be seen" it's not random at all.
If it were random it wouldn't matter whether a letter had already been used or not.

Easiest is to just use the Random class to draw new values, and convert those values to what you want to show on the spot.

jwenting 1,905 duckman Team Colleague

first error: using magic return values to indicate success or failure is not a good idea.
Use the exception handling system instead.

jwenting 1,905 duckman Team Colleague

yes, you will need servlets for your business logic, the backend.
Suggestion: get a good (and recent, the specs changed a bit over the years) book and start learning.

jwenting 1,905 duckman Team Colleague

good luck

jwenting 1,905 duckman Team Colleague

what is it with you zombie idiots today? Is it your breeding season or something?

jwenting 1,905 duckman Team Colleague

check dates before posting, you're 6 years late to the game.

jwenting 1,905 duckman Team Colleague

next time check the timestamp before responding. This was handled 2+ years ago.

jwenting 1,905 duckman Team Colleague

well, you could script it so the form is submitted on exiting the field :)

jwenting 1,905 duckman Team Colleague

no, you can't.
I can though, because I used my brain and read some tutorials and books.

jwenting 1,905 duckman Team Colleague

http://java.sun.com and check out the Java tutorial.

jwenting 1,905 duckman Team Colleague

read and understand the Java tutorial and all will become clear (or at least clearer than it is now) to you.

jwenting 1,905 duckman Team Colleague

do you really think another lazy homework kiddo just like you who dumped his assignment here 3 years ago and never came back is going to magically reappear with a working solution to your homework and hand it to you on a golden platter?

You're even more stupid than the majority of your ilk.

jwenting 1,905 duckman Team Colleague

The code that you sent, i copied and pasted into my own java file, hoping to be able to run it. unfortunatly this did not work.

The idea here is that you do your own work. Don't expect to be spoonfed fully working solutions to your homework, rather hope to get hints towards solving your problems.

jwenting 1,905 duckman Team Colleague

not urgent

jwenting 1,905 duckman Team Colleague

hmm, Monty Python's spam song would be good accompaniment to these forums.
90% of the posts here are spam after all.

jwenting 1,905 duckman Team Colleague

fix the bug in your application that causes it to require inordinate amounts of memory.
I can guarantee you that whatever amount you feed it with you'll run out eventually unless you fix that bug.

jwenting 1,905 duckman Team Colleague

nope, not helping your employer steal content either.

Anyway, it's far from trivial and not worth the trouble (unless of course you're trying to steal content).
You'd need to write an html parser, a javascript parse, feed that javascript with the input it would be provided with in all possible scenarios that could be encountered when accessing the page, etc. etc.

jwenting 1,905 duckman Team Colleague

A "catalogue" of most repeated questions and answers would consist of versions of the following:

q) do my homework for me
a) do it yourself

jwenting 1,905 duckman Team Colleague

I'm not going to tell you how to create an application to steal content from websites, which is exactly what you're trying to do.

jwenting 1,905 duckman Team Colleague

I won't touch anything released by Gooooooooooogle with a 10 foot pole. It's all spyware.
Expect Chrome to send everything you do to Gooooooooooogle for sale to the highest bidder.

jwenting 1,905 duckman Team Colleague

and to always use the system properties to retrieve operating system specific things like that if you have to.

jwenting 1,905 duckman Team Colleague

the .class in there looks suspicious to me...
I never create applets (well, not for the last 12 year or so) but if the applet calling syntax is like any other java tooling syntax you don't want to call it with the .class extension at all.

What EXACTLY does the error say? Most likely it says something like "can't find class Hangman.class" which would indicate it's searching for a class called "class" in a package called "Hangman".

jwenting 1,905 duckman Team Colleague

rapidly breeding spammers have IMO already destroyed humanity and turned it into a mass of drivelling idiots.

jwenting 1,905 duckman Team Colleague

we just have a whiteboard with erasable markers...

jwenting 1,905 duckman Team Colleague

spam, spam, eggs, bacon, spam and eggs!

briangreen143 commented: thinkers are definitely doers. I dont spam here. Get a life idiot. +0
snipzers commented: your such a none sense +0
jairushudson commented: thinkers are doers +0
jwenting 1,905 duckman Team Colleague

have you even read the product documentation, let alone the answers provided over the last several YEARS in this thread?

jwenting 1,905 duckman Team Colleague

Pascal on a VAX, now that brings back some memories...
Not as much as Cobol on a Tandem, but older still :)

jwenting 1,905 duckman Team Colleague

and always put your classes in a package...
Not sure how the plugin handles classes that aren't, but I'd not be surprised if it can cause problems.

jwenting 1,905 duckman Team Colleague

you have an instance of a class, you can call methods on that instance if you have a reference to it.
If you don't maintain a reference, you should start figuring out how to do that (or how to get the JDesktop to give you one, no doubt it has functionality to do just that).

jwenting 1,905 duckman Team Colleague

First thing that needs to be fixed is the attitude of schoolkids who for decades (if not longer) have considered all academic pursuits as being the mark of the "nerd" or "geek", socially disrespectful.
Anyone seen to be interested in the sciences is outcast from society.

Hollywood had a major influence in this, but the "mad scientist" of course has existed for a long time.

And it's getting worse of course, with now everything that's in any way being related to science and industry being described as "evil" by the press, politicians, pressure groups, and the entertainment industry.

During WW2 and into the 1950s scientists and engineers were highly regarded, and cartoons and novels hailed their great contributions to society.
In the late 1950s this started to change as the problems with nuclear fallout and radition became known (and massive exagerated), to the point where now anything scientific is regarded as dirty (not helped of course by so-called "scientists" perverting the scientific process for political purposes in the name of "the environment" in the whole "global warming" hoax.

jwenting 1,905 duckman Team Colleague

no, I can't recommend that book.
Mind I've not read it, but any book with a title like that leaves me highly suspicious as to its content.

jwenting 1,905 duckman Team Colleague

what are you willing to pay me? Rates start at 150 Euro an hour plus tax, for a minimum of 1 week.

jwenting 1,905 duckman Team Colleague

According to your opinion, It means that as the file size increase the compression ratio will also increase(A common understanding).

No, you read me wrong.
And that "common understanding" (if it exists) is also wrong.
While most algorithms may become more efficient with more data to handle, that's only up to a point.
For the first few kilobytes of data for example they might become slightly more efficient, then reach their limit.
But that doesn't mean all larger files compress better than all smaller files given the same algorithm (or even in general).
A 1kb file containing plain text and all the same ASCII code for example will compress very well using most algorithms. A 1kb JPEG image otoh will likely not compress at all (and may even expand in size) when compression is attempted (this of course due to the fact that it's already compressed as part of the JFIF algorithm that created the file content).

jwenting 1,905 duckman Team Colleague

anything that takes your fancy... Be creative, use your imagination.

jwenting 1,905 duckman Team Colleague

well, good luck with that.