jwenting 1,905 duckman Team Colleague

Perhaps you should read up on the 'else' statement.

no, he should figure out what he's trying to do and do it. The structure he came up with is rubbish, with or without else statements, and should get him a major fail if he submitted it to his teachers.

jwenting 1,905 duckman Team Colleague

Lol I work as a programmer, but a few years ago i was desperate for a job and got REJECTED from McDonalds. it was horrifying. They wouldn't hire me because they claimed i was "too qualified." um, what? hahaha.

Common experience. They (correctly, usually) assume you won't stay in the job one second longer than absolutely necessary, thus any time and effort invested in training and coaching you will likely not turn a profit, hence they won't hire you.

Which of course exposes the fallacy of governments trying to force people with higher education who can't find a job into unskilled labour or loose their benefits, as they can't get those jobs anyway.

jingda commented: Agreed +0
jwenting 1,905 duckman Team Colleague

and don't call it Tetris. The trademark owners are known to go after anyone using the name, no matter how little.

jwenting 1,905 duckman Team Colleague

History: there's a persistent urban legend (which might even be true) that the Mossad once sent (anonymously, or with a false name one must assume) a mobile phone to the head of an Arab terrorist group that they'd loaded with plastic explosives.
The explosives were supposedly set to trigger on the phone receiving a call.
As the story goes, the head of the Mossad then called the terrorist who tried to answer the phone only to have it explode and take his head off, killing him instantly.

I've never found independent verification of this story, but it's a nice one.

Lately of course, terrorists are using cellphones as remote triggering devices for carbombs.

jwenting 1,905 duckman Team Colleague

To hack it, the computers need to be powered up. That means the car needs to be running :)
Maybe at some point someone can plug into the car systems using a wireless connection, and at that point I might start worrying about someone breaking in while I'm driving.

jwenting 1,905 duckman Team Colleague

Aren't you a bit curious? :)

I've too much to be curious about to wonder about getting mugged about Java.

jwenting 1,905 duckman Team Colleague

whatever it is, he has to do it himself. We're not doing it for him.

jwenting 1,905 duckman Team Colleague

not knowing your technical expertise, that's impossible to answer.
However, given your questions here, I doubt it.

jwenting 1,905 duckman Team Colleague

because most people working in education never worked a day in a real job.

Anuradha Mandal commented: Right. +0
jwenting 1,905 duckman Team Colleague

>>When you retired, you could do whatever thing you want

Yea -- right. And if you believe that I have some shares in the Golden Gate Bridge that I'll gladly sell you.

yah, tell that to my parents.
All the time in the world.
To sit in waiting rooms for doctors that is.

Income drops like a stone, just when your healthcare bills pile up.

jwenting 1,905 duckman Team Colleague

I didn't realise you had to be in college to be recognised as a student.

The term "student" is traditionally reserved ONLY for those attending institutes of higher education, meaning universities.

And that's the only thing I'll ever apply it to. Calling college kids, let alone highschool kids "students" is just plain wrong.

jwenting 1,905 duckman Team Colleague

as they need physical access to the car's computer systems while the engine is running to infect it, I'm not in the least worried.
It'd mean the criminal would have to work for my car dealership.

He'd also have to have a reason to personally target me, information he would never have as it's a lease and the work order would only show the name of the lease company and an address to deliver the car to after work complete.

jwenting 1,905 duckman Team Colleague

says it all, really. The specified database isn't there.

And -10000 points for using the jdbc-odbc bridge driver and MS Access in a distributed environment.

jwenting 1,905 duckman Team Colleague

1) JSP based solutions are by definition NOT client/server
2) whomever told you that, ignore them from now on as it's WRONG.
3) if you've never worked with databases, hand back the assignment as you're incapable of implementing it.
4) in fact do so anyway as your question shows clearly that you lack basic understanding of the technical concepts needed to bring it to a successful conclusion. I can only hope your knowledge of the business domain you're working in is better.

arshi9464 commented: person makes people lose their confidence +0
debasisdas commented: to the point. +9
jwenting 1,905 duckman Team Colleague

southeast Asia isn't a country...

The question also makes no sense in other ways. What "scope"? How do you define it, how do you plan to measure it?
Do you realise that one country might do things completely different from another?
Or that computers may be the last thing on peoples' minds if they've more important things to do like growing the harvest to feed their families?

jwenting 1,905 duckman Team Colleague

it's an irate name leftist idiots suffering from Bush Derangement Syndrome use for the former US president.
It only shows their immaturity.

jwenting 1,905 duckman Team Colleague

do you think the end of the world is coming soon? (joking)

Define "soon". For some value of "soon" it will come soon. For other values, it won't.
I'd expect the earth, barring some unforeseen catastrophe, to last for another several billion years.

jwenting 1,905 duckman Team Colleague

So are you saying that no life would exist if there are two suns on earth but what about other planets

No, I'm saying that the existence of a binary system doesn't exclude the possibility of planets forming.
I'm not making any claims about whether such planets could support life or not :)

I have my ideas about that, but no verifiable data to back them up (in fact noone can have such data, as it's rather hard to experiment with it).

jwenting 1,905 duckman Team Colleague

Wow jwenting, how'd you ever figure this out?

quick guestimate of the percentage of people who actually are interested in compiling their own operating system.
In fact I may on second thought have overestimated.

For the vast majority of people, they want their operating system to be fully transparent, they don't want to think about it, let alone have to constantly tinker with it to keep their systems running.
And that includes real professionals in IT, who have better ways to spend their time than to constantly have to change configuration files and compile kernels just to get applications to actually run.

Ancient Dragon commented: Agree +0
jwenting 1,905 duckman Team Colleague

no. You can find the ip address from which the request reached you, and call some services that try to give you an estimated location of the computer that ip address is assigned to, but it's not very accurate. Some browsers may also send preferred languages for the user in the http headers, which will usually default to operating system language unless the user changes it.
Proxies, firewalls, and block size of ip addresses can cause incorrect results (e.g. someone working in the UK for a German company but using a French language Windows because he's from the French speaking part of Switzerland might want a French page but show up as either a UK or German location.

jwenting 1,905 duckman Team Colleague

I didnt ask you to solve rather iam asking form suggestion to solve this..........

your title: "This is my file please sove my problem" says otherwise.

jwenting 1,905 duckman Team Colleague

you should store those files in your application's structure, not at appserver level.

jwenting 1,905 duckman Team Colleague

I have many lines of <%%> java in my JSP pages. Is it giving much impact?

it has a major impact on maintainability.
Ideally there should be no Java code in your JSPs at all.

jwenting 1,905 duckman Team Colleague

No one knows the solution? I want detailed information about the complexity & heuristic function which we have to choose for the problem & not jokes!

I gave you a solution to a problem involving a banana and a monkey (there's a monkey with a banana you want to eat and he doesn't want to give it to you). If it wasn't the problem you have with them, state the actual problem.

jwenting 1,905 duckman Team Colleague

it is generally based on the ability of any computer to store data in its memory at any time.

Best Regards
JhonMoney

Wrong. It's determined by the requirements of the application, its infrastructure, etc. etc.
If the hardware and software requirements are in conflict, there's still no "best" because the requirements are flawed and all solutions will be bad.

jwenting 1,905 duckman Team Colleague

Premature optimisation, just don't do it!

That said, both Vector and Hashtable have been superseded by more efficient alternatives and their use is generally discouraged. Use Lists and Maps instead.

What actual data structure to employ depends entirely on the data. For some situations you may have a Map of Lists, for some a List of Maps, and for others again I've had to make use of Trees of Maps of Lists of Maps.

jwenting 1,905 duckman Team Colleague

There are standard tree structures in the Collections API.
If those aren't sufficient, you can always build your own.

jwenting 1,905 duckman Team Colleague

it's your homework, you solve it. If you have SPECIFIC questions about details. ask those, don't expect us to do your work for you.

jwenting 1,905 duckman Team Colleague

The simple method

String.replaceAll()

would solve your problem with a single line of code. Look it up in the API documentation.

jwenting 1,905 duckman Team Colleague

to clarify, the above 3 posts were split from another thread by a moderator ;)

jwenting 1,905 duckman Team Colleague

you're really thick, aren't you? It HAS been done before, therefore your claim is false.

jwenting 1,905 duckman Team Colleague

shoot the monkey, then eat the banana.
Problem solved :)

jwenting 1,905 duckman Team Colleague

This is an old thread please don't post on it. If you want to get help start a new thread.

Only 5 years, hardly a record ;)

jwenting 1,905 duckman Team Colleague

In my opinion, this discussion is not taking us anywhere useful.

it is. It's showing how useless the topic is.

jwenting 1,905 duckman Team Colleague

start with the Sun/Oracle Java tutorial. That should cover the very raw basics.

jwenting 1,905 duckman Team Colleague

cut up the main method into several methods. One to handle input, one for processing it, one for output (maybe, not strictly needed for something this trivial but good practice).
In your main, just have an infinite loop that reads input, processes it, and produces output, with a terminating condition (for example, have it terminate when receiving a specific input).

jwenting 1,905 duckman Team Colleague

you won't find that anywhere.
For iText, read the manual. Oh, there is none? that's because iText sucks. Use POF or another alternative that does have documentation and can actually be used.

jwenting 1,905 duckman Team Colleague

if you consider that intermediate topics, I wonder what you consider the basics...

jwenting 1,905 duckman Team Colleague

Noted ur advice.. I have already work out in by hand.. I am new to java... Figuring out how should the Java code like...

if you've already designed it, and know some Java, just type it in.
If not, learn Java.

We're not here to do your homework for you. And so far you've done nothing except asking us to do just that, do your homework for you.

jwenting 1,905 duckman Team Colleague

I doubt two suns would be possible anywhere in the known universe (except in Star Trek). If there were two suns, which one of them would the planet revolve around?

Actually, binary systems outnumber unary systems by a very wide margin :)
Planets can rotate either one, both (there are possible orbits, think a figure-8 for example) or neither (you could have a planet sit in the center of gravity of the rotating binary, effectively having both stars rotate it if you see it from the planet).

Whether such planets are stable (tidal effects might rip them apart), let alone whether they can sustain life are questions not yet answered.

jwenting 1,905 duckman Team Colleague

Not even photoshop, some clever photography can do the trick. I'll stick to my initial uptake, they had too much booze, creating double vision.;)

They got the camera drunk? ;):P

jwenting 1,905 duckman Team Colleague

When you wish you hadn't thrown that ATARI 2600 away.

kids these days, thinking those newfangled gadgets are worth saving...

jwenting 1,905 duckman Team Colleague

I've seen too many hoaxes with this theme to believe them without independent verification.
All too often such "pleas for help" are just attempts to trick suckers out of their money.

jwenting 1,905 duckman Team Colleague

Another low is people posting code in the wrong language when asked to show what they've already done.
Sometimes complete with comment headers attributing it to other people.

Nick Evan commented: So true. +0
iamthwee commented: Welcome back my man! +0
jwenting 1,905 duckman Team Colleague

Yes and no.
You can certainly create something like a progress bar that gets shown on a website which uses JSP as the display technology.
But you're not going do it "in JSP". It'll be an AJAX style component.

jwenting 1,905 duckman Team Colleague

I didn't miss anything. You claim to be the first to allow advertising in games without popups and banner ads. You're not.

It doesn't matter whether the platform is "mobile" or not, the same ideas (and maybe technology) NCSoft used for AO could be used on other platforms as well.

jwenting 1,905 duckman Team Colleague

that's nothing to do with Java,

please move this thread to the http://www.daniweb.com/software-development/cpp/8

He's a notorious homework spammer. He probably thinks the code he lifted from some website is indeed Java.

jwenting 1,905 duckman Team Colleague

In other words, you've lifted a sample from a website without even realising it's not Java.
Thus, you've done nothing at all.

jwenting 1,905 duckman Team Colleague

how? By reading the documentation, thinking, then sitting down and writing something.
It's really that simple.

jwenting 1,905 duckman Team Colleague

by typing the source code into an editor, how else?

We're NOT here to do your homework for you, and that's what your dumping your assignment here and expecting us to do it amounts to.