jwenting 1,905 duckman Team Colleague

StringTokenizer is deprecated and should not be used. There are excellent alternatives.
String has a split method, or you can use regular expressions.

jwenting 1,905 duckman Team Colleague

yes, it is possible.
You need to find and edit the configuration file where the http port value is defined which is \server\default\deploy\jbossweb-tomcat55.sar\server.xml (or \all\ or whatever if you're running a different server config from the default one).

jwenting 1,905 duckman Team Colleague

Unless you're writing a webserver you don't need to know.

jwenting 1,905 duckman Team Colleague

communism is a religion... It has gods (Marx and Engels), prophets (Lenin, Stalin, and Mao), and hordes of fanatical believers willing to kill and be killed in the name of their Great Leader.
Massive attrocities, banning of all opposing views, religious courts, it's all there.

Rashakil Fol commented: Now here you go making off-topic posts. Keep thy flagellation to thyself. -1
Duki commented: Equalizer. +6
jwenting 1,905 duckman Team Colleague

Evading causation.

If CO2 is the cause, it is a problem. If it is not a cause why the alarmism (of some)?

part deliberate misinformation, part ignorance.
CO2 is not the problem, but it is potentially a symptom.

Changes in CO2 concentration, temperature, methane levels, and water vapour levels are known to be correlated in some way.
But the assumption by the alarmists that CO2 is the driving factor in that has never been proven. In fact it's more likely just a side effect of the temperature change.

jwenting 1,905 duckman Team Colleague

Or another one from someone you may well know as they author of Jurasic Park (but he wrote a lot more and better books): http://www.crichton-official.com/speeches/speeches_quote05.html

jwenting 1,905 duckman Team Colleague

You make it sound like global warming is a religion.

It is a religion.
It has all the elements of any religion.
http://www.numberwatch.co.uk/religion.htm has an excellent explanation of why this is so.

jwenting 1,905 duckman Team Colleague

yes. I have tons of ideas.

And no, what you're thinking of doing isn't going to work (at least not in the way you probably think to do it).

jwenting 1,905 duckman Team Colleague

So? Do you have the proper client library? Classes don't appear out of thin air.

jwenting 1,905 duckman Team Colleague

The server can serialise sessions as needed, but you don't need to worry about that and shouldn't care.

jwenting 1,905 duckman Team Colleague

start your own threads, write PROPER English, and explain your problem rather than just posting your homework assignment and waiting for someone to do it for you.

jwenting 1,905 duckman Team Colleague

no, you're beyond help... :(

You do take care to actually remember what the first input was, do you?
Or more likely you don't but should.

jwenting 1,905 duckman Team Colleague

jehovas witnesses dont let thier kids read harry potter or watch lord of the rings.

if I had kids I'd want them to READ the Lord of the Rings instead of watching the movie, which is very weak and has several glaring errors in the representation of the storyline.

And I don't see what anyone sees in Harry Potter, I'd rather try to interest those hypothetical kids in other things to read...

Rashakil Fol commented: You made an on-topic post! +6
jwenting 1,905 duckman Team Colleague

Heinlein and Philip K Dick, and Tolkien of course.

Stranger in a Strange Land
The Man in the High Castle
Do Androids dream of Electric Sheep?
Starship Troopers

and many others.

Rashakil Fol commented: Thread rerailment operative! +6
jwenting 1,905 duckman Team Colleague

There has been a lot of talk about ROR(Ruby on Rails). It has been said that a Java Web based application which was developed in 4 months, was developed in 4 days using ROR.

If you are yet to start on learning a new server side technology and have a time constraint, trying out ROR wouldn't be a bad idea.

The difference of course being that the Java application was well architectured, easy to maintain, and performant while the ROR application was a mess, impossible to maintain, and can't survive under load.

jwenting 1,905 duckman Team Colleague

Eclipse is just an editor. You don't do anything different in your programming than you would using any other editor...

And it comes with documentation...

jwenting 1,905 duckman Team Colleague

Sun has excellent tutorials on their site, quite clearly visible.

jwenting 1,905 duckman Team Colleague

but don't go that way. Learn about proper Object Oriented design rather than trying to use Java as if it were a procedural language.

iamthwee commented: Too right +10
jwenting 1,905 duckman Team Colleague

yes, essentially.
The "global warming" movement has all the signs of being a rather violent religion.
There's the radical priests (Al Gore, Michal Moore, etc.)
There's the inquisition working to destroy opposing views
And you can feel good about yourself by paying to atone for your sins.

jwenting 1,905 duckman Team Colleague

Did I say that there was no fluctuation in temperature at all? Uh, no.. I believe I said the average temperature has not changed much over the last 1000 years or so..

and in another thousand years the average temperature will also not have changed much despite fluctuations...

That's the whole point, what we're experiencing is just natural fluctuation. Nothing special, happens all the time.
Thinking that somehow humans are able to suddenly change the climate dramatically on a global scale indicates a massive dose of homocentric thinking.
Doing so in light of all the evidence to the contrary is just plain idiotic.

Take for example the current hot period on Mars, where temperatures rise far more rapidly than on earth.
It's been concluded that that's caused by increased solar output (can't blame cars for it as there are none...).
But the smaller changes on earth, which happens to be influenced by that very same sun which has a higher output, are supposed to not be influenced by that sun at all according to those same "scientist"s.
Either they have an agenda or they're not very scientific in their assessments.
Most likely both of course, as "scientist"s who don't follow the Party line and report doom and gloom all day long soon loose their research grants and jobs, and thus adopt unscientific processes to show what they're supposed to show by their political masters.
Peer review goes out the door, so …

jwenting 1,905 duckman Team Colleague

don't go rambling about things you don't understand...

The fact that you end your statement with several question marks means you shouldn't have made it...

jwenting 1,905 duckman Team Colleague

The answer is written just a few lines up. And don't reopen ancient threads, especially ones that have been completed.

jwenting 1,905 duckman Team Colleague

I tend to dislike MMO's which discourage you from playing in groups and exploring regardless of your level and race.

Most MMOs I've tried the problem isn't so much the game preventing you from working as a team as the other players.
Mostly you find highlevel players who won't have anything to do with lower level players, guilds that require you to be level 100 or more to even be considered as a member, and general hostility to inexperienced players overall.

As a result I tend to go it alone (as you're pretty much forced to) from the outset.
Games that make that impossible tend to turn me off...

jwenting 1,905 duckman Team Colleague

and we hate kids who are too lazy to pay attention in class and do their own homework.

If you don't want to learn, why should we cover for you and possibly end up having to cover for you at work because you'd no doubt not want to work either (even if you were capable of doing a job requiring more mental activity than flipping burgers).

Sturm commented: Completely inconstructive +0
jwenting 1,905 duckman Team Colleague

seeing that global warning is an accepted theory by most scientists.

There you are utterly wrong! It's far from accepted by "most" scientists, only by most "scientists" (meaning junk science adherents like Al Gore).
Unless of course you mean the knowledge that without the atmosphere trapping heat the temperature on this planet would be roughly -15C on average instead of +15C, but that's not what those "scientists" mean when they say "Global Warming".

But you are excused, the propaganda is indeed relentless and we all know what constantly bombarding people with propaganda while preventing the publication of the truth will do.

jwenting 1,905 duckman Team Colleague

how many casual users hav 2gb ram in their computer?

me. And thinking of upping it to 4...

jwenting 1,905 duckman Team Colleague

or rather of no portion of the population at all as the people living there that long ago died out before the current "native americans" arrived from Asia (probably following the Aleutans from Japan) a few hundred years at most before Columbus...

jwenting 1,905 duckman Team Colleague

in fact some JSP compilers will reject that code because it's so bad :)

jwenting 1,905 duckman Team Colleague

Ajax won't do anything database related as it's purely a clientside technology...
It will however interface with serverside components in other languages that can do things with databases...

And no, php and Perl are not viable alternatives to Java.
php is terrible, spaghetti code galore.
Perl is write-only code.
Both are a disaster to maintain.

Using something like iBatis or Hibernate (or even plain JDBC) it's quite easy to use databases with Java.

jwenting 1,905 duckman Team Colleague

write sensible English and maybe people will actually understand your question.
A semi-random collection of words does NOT a sentence make.

jwenting 1,905 duckman Team Colleague

yes it can. It's not a game but a simulation. A few 2D arrays are all you need (plus of course a logic engine and a loop).

jwenting 1,905 duckman Team Colleague

use code tags if you want people to read your code.
And don't go hijacking other peoples' threads, not even old ones like this.

jwenting 1,905 duckman Team Colleague

access modifiers...

jwenting 1,905 duckman Team Colleague

lol.. I thought it was legal to download torrents, anyway.. What would it matter if they did track your ip?

it's not, unless the material you download over it is free of intellectual property rights (which practically nothing you get from P2P sites is, they exist for the sole purpose of distributing pirated content).

So if they came after you you'd loose your PC and for good measure all your burned CDs and DVDs as well and they'd go through it with a very fine comb to find any traces of pirated music, movies, software, etc. they can find. If they find anything you're toast.

jwenting 1,905 duckman Team Colleague

the best cartoons were NOT the 1980s. They were the 1940s to 1960s (maybe early 1970s).
Tom and Jerry, Roadrunner, that era.

jwenting 1,905 duckman Team Colleague

> I'm not allowed to play multiple MMOs?
Drats, how come you people manage to find that kind of time?

multitasking :)

jwenting 1,905 duckman Team Colleague

*North Korea

Kim Jong-il is a psycho, and I'm sure he would do this if he could.. just to kill and cause chaos.

he wouldn't. There's more important things for him to nuke. Things like South Korea, the USA, Russia, Japan, Australia, and pretty much every other country in the world except his own.

jwenting 1,905 duckman Team Colleague

Actually, the pieces from the moon would hail down upon Earth an kill many people.. the tides would indeed go crazy, and kill many people.. so, no, we wouldn't all die. But many people would.

Not necessarilly. Depends on the direction of the blast and the position of the moon in respect to the earth's orbit around the sun at the time.
If you get lucky and your bang is big enough everything gets blown clear of earth orbit.
If the bang is really big the pieces would of course be so small that whatever would make it to the earth would burn up during reentry causing some rather interesting light shows.

jwenting 1,905 duckman Team Colleague

or to find (or create) a custom font and use that :)

jwenting 1,905 duckman Team Colleague

Our clients are major investment banks using the data to power the terminals used by their traders, the websites showing their clients data, etc. etc.

For them the cost is peanuts (and it's a fraction of what our major competitor charge for similar services, IF those competitors have the data (some of it is unique to us)).
A single trader could make more money in a day for them than the entire cost of the data for a year.

So we don't deal (directly at least) with the smalltime investor working on his bedroom PC. We deal with the BIG traders like JP Morgan, banks like HSBC, guys like that (not necessarilly them, but you get the idea).
If a company trades for billions a day (with revenue in tens of millions a day) a few thousand a month for a data license isn't going to bother them.

jwenting 1,905 duckman Team Colleague

Xalan won't solve his problems...
For one it's not an XML parser and also it won't limit his memory use to something reasonable...

jwenting 1,905 duckman Team Colleague

best would indeed be to make your own dummy dataset and present that.
If you feel interested you can make some sort of generator even that creates new data based on some trend information and previous values as a simulator, so it appears to have life data.

By having that pretty much external to your main system you can have it so that you could relatively easily create a connector to have your system talk to real datasources instead if and when you get access to them.

And no, you wouldn't have the money it takes as a student.
Even a small contract to supply once daily updates for a few hundred instruments could set you back $10K.

jwenting 1,905 duckman Team Colleague

"This has been the most powerful bomb exploded to date," stated nuclear weapons expert Noah Cain, "and capable of destroying the entire state of Rhode Island."

please do, would make the world a better place :)

Preliminary estimates put the explosive power of the nuclear bomb at 10,000 that of the one dropped on Hiroshima.

220 Megatons. Twice the largest bomb ever designed, 4 times the largest one ever tested (which was a derated version of that 100MT one).
The 50MT Czar bomb was large, very large. The launch aircraft barely got away, in fact was barely able to lift the thing.

The source was probably TheOnion.

Someone's april fool's joke being picked up as news by accident (or not by accident, I don't see a date on that article) is another strong possibility.

Remember a few years ago TV here reported that a new fruit was to hit stores, a cross between an apple and an orange... People flocked to stores to be the first to get it, next day (2 April) the news agency had to apologise...

fake. we would all be dead if the moon blew up

Not immediately. Would take a while for the tidal effects to change the climate to the point where the earth would be uninhabitable.
Anyway, the article doesn't claim the moon was blown up, just hit with a really big bang.

jwenting 1,905 duckman Team Colleague

and yes, I play.
On and off for the last 25 years or so. Currently off for lack of opponents (I don't like chess clubs, am not interested in competition play which is all they're interested in to the extent that often members won't play outside the club competition).

jwenting 1,905 duckman Team Colleague

After a castle I always move one pawn up, otherwise I could get caught off guard and there's nothing I can do.

that is usually a wise move but it does leave an opening for an opponent to exploit.
It also makes you predictable, never a good thing.

jwenting 1,905 duckman Team Colleague

excellent. No more excuses for pirates to continue their crimes in impunity.

These guys are service providers and therefore should fall under the same requirements as ISPs (and those ARE required to track users if there's a court order telling them to).

jwenting 1,905 duckman Team Colleague

the files themselves aren't stored in the session, only references to the objects containing them are.
You could of course run out of server memory causing the server to crash.
More likely you're just running into timeouts causing the browser to think the server isn't there.

jwenting 1,905 duckman Team Colleague

Do you also tell the system that it's a JSP rather than plain old html with a funky namespace line?

jwenting 1,905 duckman Team Colleague

there are tons of ideas out there, most of them implemented already (or being implemented).
The idea here is that you come up with your own idea...

jwenting 1,905 duckman Team Colleague

I could tell you a lot about that, but can't because of contractual obligations.
My work involves (among other things) maintaining a piece of software that generates analysis charts from streaming stockmarket information...

We use our own systems for capturing (which I don't maintain), filtering/retrieving from the database/stream (which I help maintain), and presenting (which I do maintain) the data.

It's far from a trivial task to do all that. Our software is maintained by a team of some 25 people fulltime, plus another dozen or so to maintain the database and hardware.
And that doesn't include the people sending us the information (stock exchanges, banks, investment firms, etc.).

We use JFreeChart (on the Java side, we also have .NET and C++ software) for charting, with some ten thousand lines of custom code to generate the data to be charted and customise the charts every which way.

I do hope you define "every stock" as "every stock from a list we're interested in"?
We DO have every stock (from the exchanges we capture, something like a hundred of them I think) and there's tens of thousands of the buggers.
Add options, futures, warrants, bonds, CDS, CDX, currency futures, etc. etc. and we are now working with roughly 2 million instruments.

The only way to talk to a Java program (or any program for that matter) is to know its public API (if it has one) and how to talk to it …

peter_budo commented: Great info +6
joshSCH commented: Wow. Great post. +9