jwenting 1,905 duckman Team Colleague

can i write XML with JAVA ?

A billion Java programs and libraries doing just that wound indicate that you haven't done any research of your own.
And as those include the core class libraries of the JDK itself, you're a very poor excuse for a developer.

if can ,can anyone tell me what book should i read ?

Do your own research, kiddo. A 10 second search of the product documentation tells you a lot, some other websites a simple search would turn up, or just entering "Java XML" into the search box at Amazon.com would also yield a lot of resources.

If you're too incompetent or lazy to do even that, why should we do it for you?

jwenting 1,905 duckman Team Colleague

and another release intent on making Java a clone of C#, Ruby, and C++ all at the same time.
Maybe it's time to move to another platform, one where the maintenance/dev group does recognise its own strengths and doesn't sacrifice them for a popularity contest in some online poll.

jwenting 1,905 duckman Team Colleague

There are many excellent books and websites offering tutorials to do just that. Don't think you can program Java because you can use the generators in Eclipse, because (as you found out) it doesn't work like that.

jwenting 1,905 duckman Team Colleague

Never say evil about the dead

Pol Pot
Saddam Hussein
Hitler
Stalin

hmm...

jwenting 1,905 duckman Team Colleague

still waiting for that "final year project idea generator". Given the insane number of lazy kids who can't even be bothered to come up with project ideas, it'd be a major seller.

Salem commented: Truth +0
jwenting 1,905 duckman Team Colleague

A MySQL database would be the easiest solution guys...... you would only then need to write or obtain a MySQL lib (There are many out there) and only write the client..... no need to write a whole server app. Also obtaining a server capable of running an executable is harder and more expensive than obtaining a simple web server with a MySQL database.

not necessarilly. What he wants doesn't require the resources of a relational database, it's far too simple for that.
A servlet writing to a text file will do the trick, or a php script, or whatever he can run at his chosen host.

Relational databases are far too heavy for such small solutions (and for many larger ones that they're pushed into, tbh).

jwenting 1,905 duckman Team Colleague

If I wanted a lecture in jihad appeasement from the politically correct, I would have requested one. I'm not interested in discussing the issues. Maybe one of the members has the guts to offer up something on the requested subject.

no, typical of your leftist ilk you just want people to bow to your opinion and march in line to the gas chambers when they don't agree with you.

debasisdas commented: agree +0
jwenting 1,905 duckman Team Colleague

The EDL are racist hate-mongers.

Wrong. As a group they're not. Sadly there's some of those people among their membership, but they're not the majority and the majority is trying to keep/drive them out where they appear.
Of course the press represents them as far right radical racist anti-semites, but then again the press themselves are far left radical racist anti-semites.
They just champion other races, mostly blacks and asians rather than native Europeans (and the EDL at heart is colour blind, remember, it's just a small portion of the membership that gives the entire organisation a bad name).

jwenting 1,905 duckman Team Colleague

A self driven car could look like anything that sells well. My guess is that the number of senselessly drunk alcoholics would increase by at least 12.45 %, since they now have a safe way to get home from the bar.

was a joke on the radio here last week:
"why are there more accidents on saturday evening, after the men have been drinking?"
"women are driving" :)

jwenting 1,905 duckman Team Colleague

Sounds like Ron Paul's a winner to me, but that's not likely to happen.

you can count on the GoP to select the candidate least likely to win against Obama.

jwenting 1,905 duckman Team Colleague

maybe she should have said "no, no, no" to all those drugs dealers...

Nothing personal, but I won't miss her. The world's a cleaner place with every druggie that takes an od.

jwenting 1,905 duckman Team Colleague

You are absolutely right. If a hacker attac your google+ account your Gmail account will be affected since they are all connected to each other.

as will your blogger account, your youtube account, and your google payment account (which contains your credit card details).
Your orkut account, if you have one, is also linked to that.

And of course gmail allows you to link your yahoo and msn/Windows Live accounts to your gmail account, so those could be compromised as well.

debasisdas commented: :) +0
jwenting 1,905 duckman Team Colleague

if there's no requirements, there can be no product.
In an "agile" environment, there should still be requirements but they'll be broken up into chunks that are small enough to fit into a short iteration of a few days or weeks.

Of course in reality many people use the excuse of "being agile" to avoid planning and essentially working without knowing what they are working on.
These people inevitably fail, but often it takes a long time if they have a good marketing and management team that's expert in getting venture capitalists to keep sending in the blank checks.

In my experience it's marketing that's responsible for most changing requirements and scope creep. However much we as techies give them, they always want more and they always want it in a shorter timespan, and always want changed what we've already done to their prior specifications without taking into consideration the time and effort needed to make those changes.

jwenting 1,905 duckman Team Colleague

You'd need to create some online service to store and retrieve the scores.
A simple REST web service might be ideal for this, with just 2 commands: "GET" command to get a list of high scores (or optionally with a parameter to get the score for a specific player) and a "POST" to store a score.

Of course that's vulnerable to people reporting unrealistic scores or overriding other peoples' scores. To prevent that you'd have to start adding security and sanity checks (and to prevent incorrect reporting you'd also have to do the entire score generation on the server, making the entire game run serverside with the part on the user machines just being a user interface, the way it works with mmos).

jwenting 1,905 duckman Team Colleague

retire at 50? What would I pay the mortgage, tax, insurance, food, electricity, etc. bills with for the 17 years after that until my retirement fund kicks in?

It's not as if the developer job pays so much one can build up a nestegg large enough to live 15 years at anything approaching a decent standard of living...

I just hope I survive until I can retire. What comes after, we'll have to see. It'll be another 25+ years (depending on the good graces of our government overlords who're talking about raising the minimum retirement age) before I retire, enough time to worry about that.
But it will likely be something which minimises computers :)

jwenting 1,905 duckman Team Colleague

You can keeping us in suspense Adam, I can't wait for more information. So will the prize be an iPad3 or an iPhone 5?:)

a dAni2 maybe :)

jwenting 1,905 duckman Team Colleague

ok, so the error happens every day at the same time.
That hints at something outside the application, most likely either in the database or the connection pool.

jwenting 1,905 duckman Team Colleague

It might appear to be that way, but employees are allowed breaks once in awhile and that may be what you have observed.

90% of employees "taking a break" at any time? Nothing wrong with the occasional break, it's a good thing (and allows you to use the bathroom, drink something, etc.) but most the entire staff being occupied with non-work-related stuff near constantly?

If you're standing in line at checkout (where there's 1 open line and 10+ closed ones) only to see half a dozen employees standing around doing nothing but using their cellphones isn't good for the public image of the company.

jwenting 1,905 duckman Team Colleague

we're not here to do your homework for you. If you had done your homework in the past, you'd have known what to do now.

jwenting 1,905 duckman Team Colleague

You don't know what you're missing ;) You don't have to get lousy sloppy drunk in order to enjoy one or two good alcoholic drinks. But caution: computer programming and drinking don't mix.

tried it years ago. Couldn't stand the taste of the stuff (and I mean anything alcoholic I tried, from beer to wine to fancy stuff, never tried hard booze).

jwenting 1,905 duckman Team Colleague

He got one...long ago when I was Java-man and frequently visited Java forum.

for speaking out against homework kiddos who just want "zuh koduz", who're since no longer welcome on this site but at the time were.

jwenting 1,905 duckman Team Colleague

When a customer comes to my register to check out I'll tell him "You'll just have to wait a few minutes because I'm writing something on Facebook". FIRED!

lots of them seem to do just that using their cellphones... Fewer lines open at supermarkets than ever before, less staff walking around keeping shelves stocked, more of them huddling in corners near the back or around the free coffee machine (including the supervisors, who're often just a few months older than the junior staff).

jwenting 1,905 duckman Team Colleague

more Me2! features than ever before. The JCP is turning Java into Ruby# for the sake of winning popularity contests among schoolkids it seems.

Not recommended.

kvprajapati commented: There is always room for improvement. :) +15
jwenting 1,905 duckman Team Colleague

There are ways to turn on a computer remotely over a LAN (or even WAN) but they require specialised hardware as well as specialised control software.

The question btw reminds me of a time when a customer filed a bugreport and demanded we fix a piece of software so it'd keep running during a power failure...

jwenting 1,905 duckman Team Colleague

the JVM is 3rd party software to both your company (or more likely school) and the operating system, so you can't use it.

Java isn't a good platform for what you want to do anyway, use C++ instead (for example, C or assembler even better).

jwenting 1,905 duckman Team Colleague

Darwin himself wrote the book on it, why not read that?

As to human evolution, it's impossible to predict and there are many contradictory ideas.
I myself believe it's either stagnant or reversing, as there's no longer any competition based on genetics going on to select the best traits for the next generation and in modern countries it's those who're least productive and least important for the survival of the species who breed the fastest, the mentally and physically deficient, the lazy, the incompetent who can't or won't hold a job and actually make something of their lives.

jwenting 1,905 duckman Team Colleague

what's with all the booze related posts lately?

jwenting 1,905 duckman Team Colleague

in fact OP most likely doesn't even remember ever visiting this site, if it even remembers the site exists.

jwenting 1,905 duckman Team Colleague

water is my beverage of choice every day of the week. I don't drink alcohol by choice (I don't like it...), I've abandoned all drinks containing sugar (high carb food/drink causes me chronic fatigue plus I could loose some weight, and that includes milk), and I can't stand coffee.
Leaves pretty much water and sometimes a cuppa tea. And I don't miss it, tbh.

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

that said, whizlabs are a reliable company with a quality product.
The other one may be, but they're unknown to me after almost 15 years working with Java.

jwenting 1,905 duckman Team Colleague

and what about antivirus software installed on the PCs ? if it is configured correctly as well as user rights and permissions (only admin are allowed to install smth), than how come call home routine or other software is allowed to be installed by antivirus from thumb drives and etc?

AV software works on pattern recognition and behaviour prediction.
If you write something that doesn't match those patterns and seems innocious in its behaviour it doesn't get flagged.
Say this thing installed itself as a plugin into MS Office when a Word document with a macro was loaded, then sends a single email before deleting itself or going dormant.
That's unlikely to get detected by an AV scanner.

jwenting 1,905 duckman Team Colleague

I'm really surprised they're allowed to take information out of the building without having it checked in/out.

No information was taken out for the test, they tested information being taken in...
IT Security no doubt requires no data carriers from outside being used in department systems, but clearly there's no safeguards against this and/or the staff have become expert at circumventing such safeguards as may exist.

I used to work at a major bank's headquarters. This scenario would have been physically impossible there as all computers had hardware to prevent it.
The disk drives (no USB ports existed back then, and if they did they'd have been internally disconnected or physically removed from the systems for just this reason) were all special units that would encrypt and decrypt any disk put in on the fly.
Unencrypted disks thus could not be read, and disks written by them could not be read by any outside system (though decryption software might have decrypted the data).

All external connectors to the computers were either removed, internally disconnected from the rest of the hardware, or where needed (like network, keyboard, mouse, and monitor connectors) were shielded so they could not be disconnected by the user (a metal shield was placed over the rear of every workstation, which required a key to unlock which only the IT department had access to and was probably stored in a safe somewhere).
All computers were furthermore locked with a steel cable to …

iamthwee commented: Nice +0
jwenting 1,905 duckman Team Colleague

I've been trying today to help a couple of OPs to understand the difference between compiling a program and executing it. They had no idea when either step was done. They thought the IDE automatically took care of it.

Which it does. That automagic IDEs perform is what prevents people from learning when they employ an IDE.
They learn to use the tool, not the language.
Then, when confronted with a situation where that tool won't be available, they fail.

A tool should never get in your way, and an IDE gets in the way of learning.
So when learning, don't use an IDE (unless of course you're specifically trying to learn that IDE).

jwenting 1,905 duckman Team Colleague

Any developer you see working without a designer at his side is trying to make up his own designs (and is thus acting in 2 roles at once).
Some may be capable of doing this, most aren't.

Same with designers trying to make things without a developer to do the technical stuff.

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

Depending on the exact nature of the complaints (if they're caused by clicking buttons or by your hand position) switching to a pen tablet may help a lot. I use a Wacom Bamboo now at work, which has pretty much ended the chronic pain I used to get in my wrists.
At home I still use a mouse, but I use a carefully selected model that gives maximum support to the hand (so not one of those mini-rodents that are so popular these days).
Trackball might work too in that case as it also provides more support for your hand than do most mice, but for me at least I could never get used to one.

If it's because of overpressure when clicking buttons on the mouse, you never get relief from that as you also put pressure on them when typing using a keyboard and indeed the only way to prevent it getting worse (and maybe in time get it to heal at least in part) is to stop using computers completely for several months to years (and that include touch screens on phones, tablets, etc.).

Another thing to consider is buying an ergonomic keyboard.
Switching to a Goldtouch GTN077 at work (where I do most typing) and Microsoft LS4000 at home (which is cheaper, the Goldtouch costs several hundred dollars) pretty much cured the beginning RSI symptoms in my shoulders by changing my posture and hand positioning to minimise stress on the upper …

jwenting 1,905 duckman Team Colleague

another thought: if the software uses external resources which the simulator mocks (mimmicks) for your, latency in accessing those when using the real thing can also cause slowdowns you don't experience when using a simulator.
Think network congestion, disk access, etc.

jwenting 1,905 duckman Team Colleague

The article is a little bare on the specifics and it's unclear to me whether the weapons were in the bag or just the case, but if we have a bunch of guys travelling with guns on a civilian flight landing in a civilian airport and then their bags being handled by civilian baggage handlers, off-duty soldiers or not, that seems like a security problem. Seems like weapons and cases, etc., ought to be transported on military planes.

These aircraft are usually chartered by the military to transport the troops (so they carry only troops and airline staff). Weapons are kept in the cabin, never handled by airline staff. Ammo is shipped by air freight either on chartered aircraft or military ones.
There's no security risk. In fact the soldiers are required to take care of their personal weapons, I don't think checking them into the hold is even allowed under their operational rules for the very reason of security: ensuring no unauthorised personel have access to them.

They typically land at a civilian facility, but not at the public terminal. Ramp arrival, and the troops are bussed off to their stations where the weapons are put in the armoury before they go home.

jwenting 1,905 duckman Team Colleague

I got a letter awhile ago addressed to my mother-in-law who has been dead over 10 years.

Never had it that bad, but still get mail for people who've not lived in the house I purchased in 2008 for several years before that. And that includes official communications from banks, insurance companies, etc.

jwenting 1,905 duckman Team Colleague

you should synch the data between your client and server to ensure both are talking the same language.
There should be no problem if both client and server are using the same JVM version, which in your case apparently is not happening.

That's the main problem using any serialisation system when you rely on external parties to provide the classes you're (de)serialising, when the classes change on one side but not the other things are out of whack.

One solution is to switch to another data transfer system completely. For example you're transferring serialised ImageIcons, you could instead transfer only the images contained in those icons with maybe a message header containing information like sizes, and have the client recreate an ImageIcon of its own. That way you avoid sending core library classes completely (I don't think simply wrapping them would solve anything as there'd still be a serialised ImageIcon in the datastream that needs to be deserialised).

I've never had this problem myself, but then the only stuff I usually send serialised are Strings and maybe some Integers, those are pretty stable.
For more complex data structures it's either webservices or some other mechanism that separates the data from the language specific data structures.

jwenting 1,905 duckman Team Colleague

the scanner should have a programming interface you can access.
Most likely it stores nothing at all, that's up to you! It just sends you data (when activated) using a specific data format that you then need to interpret in some way to figure out what's there.

jwenting 1,905 duckman Team Colleague

Shaiya online is an awsome free game.it takes like 15 minutes to download,great graphics,multiple skills to level,lots of players,and youll never get bored with it.

played it until the community went to pot because of the mass influx of powerlevellers and goldsellers, and a small but hardcore group of portalcampers who'd kill any lower level player trying to get some quests done in the pvp zones (which are impossible to avoid in Shaiya, as levelling in the pve zones becomes next to impossible past mid-levels because of the slowness of the grind there).

graphics are indeed not bad, for an f2p Korean grinder.

jwenting 1,905 duckman Team Colleague

The problem with spam is that you can't fix it without introducing a cost to sending a message that's higher than the potential return. So if the potential return on investment from sending a scam email to a million users is $50.000 stolen from the one sucker who fell for it, a million emails should cost you at least $50.000 to send, or $0.05 per message.
In reality the actual return on investment from sending spam and scam emails is probably a lot higher, so you're looking at a cost of say $0.25 per sent message per recipient that needs to be leveraged just to prevent spam from being sent.
This is why such things are less commonly sent through regular mail (though they do appear as fax messages at companies regularly, and unaddressed advertising flyers pushed into your mailbox by kids paid peanuts are a constant annoyance).

Technical means to make spoofing harder might be possible, but would be vulnerable and will never be airtight.
Procedural systems like "do not spam registries" of course have no effect whatsoever, as those who send the most spam are shady types that won't respect those (and in fact might well harvest them for "known good" addresses of potential victims).

These problems were introduced initially because the internet started as an open network for a small group of trusted people in acedemia and the military, and was only later adopted as-is by the world at large as a …

jwenting 1,905 duckman Team Colleague

If you're using generated serialversionids you can expect that to happen. Those are generated on the fly and the generation can and often will yield different values when using different jvms.
This is well published and there's no excuse for you to not have known this.

It's quite possible a change in a class used by one of your serialised classes caused your serialversionids to change even if the generation algorithm stays the same, and that's something a minor (bugfix) update can quite possibly introduce.

Which is why no serious project/product will ever rely on generated serialversionids except maybe in very early stages of development.

jwenting 1,905 duckman Team Colleague

call me archaic, but I refuse to use any "social network".
I've some IM tools, 2 mobile phones, 4 email accounts, Skype, and a landline. If people still can't get into contact with me when they want/need to they can assume I don't want to have contact with them and I sure don't want half the world to know who I'm chatting with or what I'm saying (as is the case with idiocies like Twitter or Facebook).

jwenting 1,905 duckman Team Colleague

"As for cancer treatments, not getting the absolute state of the art treatment for a cancer is not a death sentence."

We're talking about getting no treatment at all because some government flunky decided that $10 a day is too much to keep you alive...

If you want to try government run health"care", go live in the UK for a few years and make sure you're going to need doctors and hospitals.
Not all are bad, but many are.

"Also when it comes to drug treatments there is always to option to pay for them yourselves via the free market and there is usually free market insurance available for anything not covered by the gov't single payer system so your back to the US system for those cases. "

There isn't, not in countries like the UK where such things are illegal.
Here in the Netherlands it's also illegal to buy drugs without a prescription, even to posess them without a prescription, but there is some leeway in insurance coverage options to buy a bit of extra coverage to reduce the mandatory payment you have to make for all drugs on top of the standard coverage (our insurance doesn't even cut in until after the first several hundred Euro has been paid out of hand, and after that covers only part of the cost, by law). However, if something's not on the approved list (which is created solely based on cost, not applicability) it's …

jwenting 1,905 duckman Team Colleague

even if the device is his, the connection isn't. He'd be stealing bandwidth if he ever succeeded.

jwenting 1,905 duckman Team Colleague

you've never heard of them because you've not been listening. Of course noone in the places that have them call them that...
In the UK there's the inaptly named NICE, which determines what can and cannot be treated and supplied to patients. If they decide something's not to be treated, it's a death sentence (for example, they've banned the distribution of a large number of cancer treatments, meaning a lingering death for tens of thousands of sufferers).
In the Netherlands there's an upper limit on the number of heart operations (and similar in many other countries), and panels (made up on paper of doctors but including bureaucrats of course) to determine which patients are most worthy of receiving one of the few slots available each year. They decide you're not to be treated, you're dead unless you have the money to pay out of hand for an operation abroad.
There's "working groups" determining what medication is allowed for which condition based not on medical necessity but purely on cost. This had the effect that my parents would now both be dead if they'd not have had the money to pay for the pills themselves that they needed to stay alive.

The list goes on and on.

Insurers in the US refuse to insure people for certain conditions unless they can pay enough to cover the risk involved. That's a business decision, and no death panel. If you want to pay enough, they'll cover it. Over …

jwenting 1,905 duckman Team Colleague

just read about the NHS and NICE, UK papers, blogs, and websites are full of stories about the constant stream of indignities, errors, waste, and reduction of services in the UK healthcare disaster.

In the US you have a choice. If you can't afford health insurance there's Medicare and Medicaid which are government run programs with much of the same problems as all of them.
If you don't want to have health insurance, that's your choice, and a deliberate one. People with enough money banked away may decide on that because they can afford to pay out of hand all expenses.
Otherwise, the level of care you get depends on what you're willing to pay for it, which is as it should be in a free market system. If your policy states the insurer gets to block treatment for X based on whatever, that's your choice and you can always elect to pay for it some other way.

Under Obamacare (and other government run systems) you no longer have any choice. When the Death Panel has spoken, that decision is final with no appeal.

And why should I, as a single man, be forced to pay for things like treatment of post-natal depression through my government-forced health insurance, yet can't get coverage for glasses which I do need (or rather the maximum coverage is so low it doesn't even come close to paying for what I need medically)?
Why should I have to pay …

jwenting 1,905 duckman Team Colleague

The router does the routing of incoming messages to anything residing behind it.
Unless each client is accessing your server through a different TCP or UDP port there's no way for the server to distinguish them unless you send specific information in each request/response to the client and the client then returns that information (which is how session management in http works, roughly).

jwenting 1,905 duckman Team Colleague

http://confederateyankee.mu.nu/archives/317189.php

an excellent expose about socialism and obamacare.