jwenting 1,905 duckman Team Colleague

AFAIK there are several commercially available (and probably free as well) tools that will export 3DSMax models to DX compatible format for you.

Those formats are not dependent on the language used, they can be loaded using standardised DirectX API calls.

jwenting 1,905 duckman Team Colleague

by doing your own homework

jwenting 1,905 duckman Team Colleague

if he's not learned it in the past 6 years, he's never going to :)

Anyway, the book he refers to is the single worst piece of junk to learn Java from. It's only good as a doorstop.

jwenting 1,905 duckman Team Colleague

In my experience hand coded user interfaces are usually easier to maintain and perform better than machine coded ones.
That said, the initial cost of developing them can be higher, especially if the people doing it aren't experts in the use of Swing (or whichever library is used).

For myself, I usually create the initial screen layouts using a graphical editor (usually IntelliJ these days, but have used Netbeans and JBuilder in the past), then modify and expand on that code by editing the generated files by hand (often to the point where little of the original code is left and the graphical editor doesn't understand anything about it any longer).

That gives me a working prototype quickly, while still yielding the benefits in maintainability and flexibility of handcrafted code.
Of course doing so requires a certain level of experience in handcrafting GUI code, which is hard to get without actually writing that code from scratch.
It is therefore vital (and tutorials often seem to forget about that) to teach people to write code by hand before showing them how to do it using some tool (but then, the people writing those tutorials often do so with the idea to push the tools sold/provided by their employing companies as at least part of their incentive to create a tutorial in the first place).

jwenting 1,905 duckman Team Colleague

It looks like new File("config.ini") will look for "config.ini" in the current working directory..... I was in C:\users\ME\ when i ran it via its file path which was in another folder.

When I switch to the folder the jar was in, it worked fine. Any way to make it use the path the jar is in?
I believe System.getProperty("user.dir") is the same as the current working dir so that wont work.

Correct. You don't specify WHERE to look for the file so it looks for it in the current working folder.
You can supply the folder to look for in the constructor for File.
That folder can be specified as a commandline parameter to the application at program startup which you can simply read out using the standard mechanisms provided to do that.

jwenting 1,905 duckman Team Colleague

so retrieve 1 question only, not all of them :)
1) get a random number to indicate the question to get
2) use that to retrieve the question and only the question
3) show the question

jwenting 1,905 duckman Team Colleague

trying to put business logic into your hashcode algorithm (which you're attempting to do) is almost always a bad idea.

The hashcode should be such that items can be quickly identified in hashsets and hashtables, nothing more or less (apart from 2 items returning true on calling equals() also returning the same hashcode, but that should be a natural consequence of the above).

jwenting 1,905 duckman Team Colleague

Will take time to merge all the products and departments.
I think it will be more a process of new products being released under Oracle than old ones being changed.

jwenting 1,905 duckman Team Colleague

good to see you found the solution. Sadly you didn't get the joke :(

jwenting 1,905 duckman Team Colleague

And most of that university research would be funded by those companies or government departments and the results heavily classified and not made publicly available for a combination of national security and economical reasons.

It's not urgent anyway, apparently neither is it to OP or he'd have done more than post a message here and wait for someone to do the work for it.

jwenting 1,905 duckman Team Colleague

you've not done any "research" whatsoever or you'd have easily found all the informatiion any reasonably sane and intelligent person needs.

jwenting 1,905 duckman Team Colleague

Yeah, but as the OP said . .

Hi, I'm a freshman and I just started programing.

The simpler loop helps you understand indexing arrays. The fancier one does not.

Doesn't matter. Most times you use an array you never need the index, making the new syntax far simpler.

jwenting 1,905 duckman Team Colleague

don't put business logic in your JSP.
Put it in a servlet instead and have that forward to a JSP for rendering the response to the client.

jwenting 1,905 duckman Team Colleague

actually, it's far more fancy to use

for (Object o: array) {
  // do something with o
}
jwenting 1,905 duckman Team Colleague

yes

jwenting 1,905 duckman Team Colleague

there's an entire internet full of documents out there, and you're too lazy to go out and find a few to use?

jwenting 1,905 duckman Team Colleague

look better.
The file format specifications of most if not all major (and many minor) formats are freely available on the internet and not hard to find at all.
If you're a reasonably competent programmer (if you're not you have no bussiness even attempting something like this) you should have with those all the information you need to get started.

jwenting 1,905 duckman Team Colleague

do your own homework, kiddo.

jwenting 1,905 duckman Team Colleague

no, it wouldn't look weird.
The shell might be determined to fall short, go high, bounce off armour, the gun might misfire, be creative.

You're thinking way too linear here "if it fires in the right direction it always hits". Don't do that.
The random factor might introduce an inaccuracy into the firing solution, throwing off the aiming angle, gun elevation, etc., maybe having an influence on the quality control used in manufacturing the shell causing it to have a faulty propellant charge of firing pin, whatever can cause a weapon to fail.

jwenting 1,905 duckman Team Colleague

And also give them the power to be able to ban users with spammy sigs! That ReplicaWatches thing is really annoying me :S

Sigs are part of the message. If the sig is in violation of the TOS for messages, that makes the entire message in violation, <insert maniacal laughter here> :)

jwenting 1,905 duckman Team Colleague

Does getting killed by a "Jesus" bomb give you brownie points at the pearly gate?

Of course not. It marks you as an enemy of Christianity so you go straight to hell, do not go past start, you do not get $500.

jwenting 1,905 duckman Team Colleague

I am a touch typist and my typing speed falls between 60-70 wpm with 100% accuracy (no spelling mistakes) which IMO is pretty decent. My speed/accuracy can be attributed to not using chat/l33t speak even when chatting. ;)

I only use leet speak when talking with leets in Anarchy Online :)

jwenting 1,905 duckman Team Colleague

Loretta

Is there anyone helping u? If not, let me know what u need 1st to help u getting started.

Udayan
_________________

It's quite simple, the lazy kid wants you to do her homework for her so she can spend all day playing games.

jwenting 1,905 duckman Team Colleague

So put in a random number generator that decides whether the AI hits or misses.
Draw a number between 0 and 1 (most random number generators produce a floating point number).
If you want a 50% chance to hit, have it hit if the number drawn is >0.5, if you want a 25% chance to hit, have it hit if the number is >0.75.
That way you can even tune the AI accuracy, making the game easier or harder as you want even at runtime.

Another thing to consider is giving the AI only partial information about player positions.
You can't see AI forces hidden by terrain (I assume), so make it such that the AI can't see you either is you're hidden from it by terrain.

jwenting 1,905 duckman Team Colleague

and what is line 11?

jwenting 1,905 duckman Team Colleague

yup, there's an error compiling your jsp.
The server log should contain the actual compiler error, as indicated by the message.

jwenting 1,905 duckman Team Colleague

computer crime, banking fraud, identity theft, are on the rise and have been for years.

jwenting 1,905 duckman Team Colleague

Do you really think someone's going to come back after 4 years to hold your hand and do your work for you?

jwenting 1,905 duckman Team Colleague

if you'd actually done some research you'd have found tons of information.
You might not have found anything you can understand at your level of proficiency, but the information is there.

jwenting 1,905 duckman Team Colleague

doesn't do a whole lot... Just loads an image and transforms it into something the computer can display.
As you would have figured out easily enough had you bothered to read the documentation for the classes involved.

jwenting 1,905 duckman Team Colleague

so do some research of your own rather than just dumping your homework on us and expecting us to do it for you.

jwenting 1,905 duckman Team Colleague

given your current "calculation" you don't need a loop at all.

jwenting 1,905 duckman Team Colleague

Can't use fish to redirect http requests, they don't know what to do.

jwenting 1,905 duckman Team Colleague

You so realise there's no way to ensure an email address is real and "valid"?
An address entered might be correct according to some rules for some email system but invalid for another.
It might be valid for some system but not exist.
It might be valid and exist but not be reachable for whatever reason.
It might be valid, exist, and be reachable but configured to not accept incoming messages.

etc. etc. etc.

jwenting 1,905 duckman Team Colleague

I don't know any, just an encouragement to go out and look for one :)

jwenting 1,905 duckman Team Colleague

Would it be an idea to have a poll/vote on whether to keep voting (up/down) system? A number of options could be included. Whatcha think?

Best solution IMO: scrap both rep and voting and give mods more power to remove useless and factually incorrect posts (which are the main reason people (should) vote posts down anyway) and posts in violation of the TOS (which apparently can't be removed now for some reason).

jwenting 1,905 duckman Team Colleague

I type with two fingers, and I probably type at well over 60 wpm.

two-letter words don't count ;)

jwenting 1,905 duckman Team Colleague

After trying dozens of "free" mmos I've decided it's cheaper to spend a bit of money on a decent one and purchased 2 accounts for Ryzom.
For now I've found my virtual home and I hope it's going to stay with me for a long time.

First ever mmo I encountered where most people are actually friendly and don't see me as an easy target for ganking and other harassment because I choose not to engage in pvp, instead focussing on things like crafting and boss hunting.

jwenting 1,905 duckman Team Colleague

thanx that would mess up the entire program lol

Well, commected out code won't give compiler errors :)

jwenting 1,905 duckman Team Colleague

don't feed the thread hijacker

jwenting 1,905 duckman Team Colleague

Even if it were legal (it won't be) it's A Very Bad Thing to do.
It's as bad as installing the application server as part of the application installation.

The application should set the availability of the application and database servers as an installation requirement, and make use of the standard deployment mechanisms of the application server rather than juryrigging something.

jwenting 1,905 duckman Team Colleague

So it's not the workers, but management?

Read above, it's both :)
In case of GM's European brands, it's the same as in the US, heavy union influence causing shoddy work ethics and poor quality control.
Management allows (or has to allow because of government regulations) that influence.

jwenting 1,905 duckman Team Colleague

I would say design.

I've owned a Ford Mondeo and it was a piece of crap. I bought it for 3000 dollars (or something) and it broke down 3 times in its first year. So I got rid of it.

Mondeo is said to be one of the most reliable vehicles you can have. Maybe you just were out of luck?

Design has something to do with it, but design is driven by management and manufacturing as well as marketing.
Manufacturing limitations determine what the design limits are, management sets the restrictions the design has to conform to (cost, etc.) and decides what design to put into production.

Manufacturing however can do a lot of good or harm.
If the workers produce shoddy products and perform no quality control (because there's no incentive to and/or management doesn't allocate budget to it) bad products enter the market place however good the design is.

For example my father has a 2008 Jeep Cherokee. A well designed vehicle that has some flaws which should have caused it to be sent back up the production line had this been a Japenese or European built vehicle.
The panels of the dash don't fit together well for example, not by design but because of poor assembly.
When delivered the window in the driver door wouldn't open, turned out a right door window had been fitted in it instead of a left door window, the different curve causing it to …

jwenting 1,905 duckman Team Colleague

its an infinite loop dude....

No, it's actually a recursive name :)

jwenting 1,905 duckman Team Colleague

Quite a number of Honda and Toyota cars are produced in America.

To Japanese design, with major components being shipped in from Japan (especially the electronics and stuff), in Japanese run factories.
They're better than cars designed by US car makers, but they're not American cars even if made in the US, just as BMWs built in the US (and yes, BMW has a US production facility) aren't classed as American cars.

jwenting 1,905 duckman Team Colleague

if you can type with 4 fingers you can do more than most people in the industry already :)

jwenting 1,905 duckman Team Colleague

3rd improvement: do away with all those static methods
4th improvement: learn and apply some OO design techniques

tux4life commented: Yeah :) +7
jwenting 1,905 duckman Team Colleague

sigh...
1) Thread hijacking
2) no code tags
3) posted in the wrong place
4) multiposting/crossposting the same thing in many places

4 of the 5 major violations of good forum behaviour in 1 post. You're off to a great start.

jwenting 1,905 duckman Team Colleague

no, it does not meet the requirements.
Not only does it not do anything like that the requirements state, but no code that doesn't even compile should ever be good enough to meet requirements.

jwenting 1,905 duckman Team Colleague

nope. You'd have to create your own version that adds that support (or find a version that does).