jwenting 1,905 duckman Team Colleague

just because no teacher is going to check it out doesn't mean it's not homework.

what would you learn if we did it all for you? The answer is nothing, except maybe that people are easily suckered into doing your work for you.

So tell us what you think and maybe we'll tell you if you're on the right track.
But don't tell us to think for you because we won't.

jwenting 1,905 duckman Team Colleague

never used that, grew up with the original APIs and now use commandline arguments and configuration files exclusively as user interfaces :)

jwenting 1,905 duckman Team Colleague

and what more would you need than have everything predigested for you like that sample does?
Want someone to put in the exact text you want to show your users for you?

jwenting 1,905 duckman Team Colleague
System.out.println("Please provide some input");

That's all you need to do to ask for input.
How you capture that input and what you do with it i'll leave as an exercise to the reader.

jwenting 1,905 duckman Team Colleague

my computers never get turned off, the powersurge when booting them accounts for several hours of keeping them running, and the increased wear and tear on components due to booting and shutting down as compared to keeping them running would degrade their lifespan seriously enough that any "savings" are undone.

WWF are out of their minds... As are pretty much all greenies.
They have a political agenda and don't mind corrupting facts to get their way.

Consider that people have been saying with "authority" for the last 50 years that we're going to run out of oil within a decade...

Yes, you shouldn't waste. But do know what you're "saving" when you're going to do something as most such "programs" are just ways to get to your money for no gain anywhere except to the people running said "program".

Ancient Dragon commented: good comments -- I agree +15
jwenting 1,905 duckman Team Colleague

just paying for that application (or getting rid of it...) would of course be both easier, cheaper, and more likely to succeed.

jwenting 1,905 duckman Team Colleague

what do you have thus far?
Best thing you can do is talk to your users, ask them what they do right now and how they expect the new application to do it for them.

jwenting 1,905 duckman Team Colleague

the only SAS I know of is the Special Air Service of the British Royal Army.
To get accepted by them you have to be a member in good standing of the Royal Army or Royal Marines, and pass an extremely rigorous physical examination and survival course.
Out of every several hundred applicants only a handful make it, the rest are returned to their units with essentially destroyed chances of ever advancing much further in the ranks.

The ministry of defense in London might be able to provide details.

jwenting 1,905 duckman Team Colleague

degrees may have some influence on your starting position in a company, and thus on your starting salary.
But overall experience and years of employment count for a lot more (something most fresh university grads are rather alarmed to discover, when they notice their salaries are lower than that of their boss's secretary who's been at the company for 20 years).

And as you say, area and to a lesser degree the company matter a lot as well.
The salary I make in Amsterdam is only a fraction of what I'd make in London or New York, but cost of living is also lower so it compensates (at least in part).

And oh, don't expect to be instantly hired by the big boys you mention. Most high profile companies get reams of applications from highly experienced people willing to take a paycut to work for them, so you're up against quite some competition.
If you're hired you'd effectively have a job not much better than a janitor. Probably something to do with testing or writing code samples and documentation.
That's in fact the junior jobs Microsoft Europe sometimes advertises here. Starters are hired to translate new versions of Microsoft software into other languages. The best few may get a job doing something else in the company, the other 90%+ don't get their 6 month contracts renewed.

jwenting 1,905 duckman Team Colleague

and what hardware architecture, what mouse (USB, PS/2, serial, something else maybe).

I've done it 15 years or so ago. At the time we had to write our own mousedrivers, was fun.
I think the disk with that code is by now unreadable (not that it would do much good of course as hardware and operating systems have progressed rather a lot since).

jwenting 1,905 duckman Team Colleague

and be as it may, your homework assignment is NOT for us to do...
There's no question, there's an assignment. A written order is not a question, it's a demand.

So you're stating that you demand we do your homework?
If so, please do read the site rules carefully...
And offer us some decent compensation, hourly fees start at $150 with a minimum of 10 hours.

jwenting 1,905 duckman Team Colleague

rashakil had to have known the hole existed before he started writing that exploit.
He should have reported that hole (plus possibly mentioning ways to abuse it) rather than execute the exploit.

What he did is the equivalent of breaking a rusty lock, clearing out the house, and leaving a note to the effect that you found that the lock was not secure.

jwenting 1,905 duckman Team Colleague

pointing out potential exploits to admins is fine. Doing so by writing and executing that exploit is definitely NOT fine.

iamthwee commented: People seem to forget daniweb is a business enterprise, not a playhouse. +9
jwenting 1,905 duckman Team Colleague

besides, which part of Africa? There's hundreds, probably thousands of languages and dialects down there.

jwenting 1,905 duckman Team Colleague

And technically primitives are stored in a different memory space from object instances (but not the references you deal with to those instances).
But they can be stored in different memory spaces depending on where and how they're created, where object instances are always created in the same space.

jwenting 1,905 duckman Team Colleague

An atomic type in the context referred to most likely should be read as a primitive type.

That's int, long, double, float, byte, and char.
They don't refer to Object references, like everything else.

jwenting 1,905 duckman Team Colleague

and the question?

jwenting 1,905 duckman Team Colleague

As my mother tongue is closely related to Afrikaans, my name remains pretty much the same in that language (though the pronunciation may be a bit different).

jwenting 1,905 duckman Team Colleague

Yes, UML is a handy tool.
And yes, it's way overhyped (like most things in IT, sadly) by people using hypes to sell tools, books, and services.

It won't solve your problems for you, it is not a magic bullet. People won't suddenly transform from code monkeys to first rate developers of the class of a Martin Fowler or James Gossling when you give them a UML tool.
In fact they'll likely fall down another rung or two unless you also provide training to use those tools and actually understand what you're doing when using them (most training doesn't teach the second, only going through the motions of clicking and dragging together some diagrams without any understanding of what the diagram means).

jwenting 1,905 duckman Team Colleague

no, you need to get a contract how else are you going to get paid?
You'd have no leg to stand on if your client refused to pay or starts making trouble about your work.

jwenting 1,905 duckman Team Colleague

which is likely scripted so they can have a generic AI engine which the script adapts for the expected reactions of each AI controlled entity in the game.

jwenting 1,905 duckman Team Colleague

in fact Java is overall faster (up to an order of magnitude in some cases) than CGI (C, especially Perl, Ruby/Rails, etc.) and php.

There are a number of reasons for this, most important of which is the nature of Java web application architecture.
Where CGI creates a new process for each request, taking valuable time to open scripts or executables, loading them into memory, and starting their operations, Java servlets are loaded only once (often at server startup time or else at the first request for them) and just create a new thread for each subsequent request.
As Java is since 1.3 a true compiled language at runtime (classes are compiled on the fly when this makes sense) execution speed is on par with C or C++. Combined with the shorter initiation time for requests the site gets faster. Combined with the capability of modern VMs to do on the fly optimisation of binary code to suit the exact operating system and hardware architecture it is running on (something impossible with C and C++ code) performance can potentially go even higher.

Java has been used very effectively for building large commercial websites for almost a decade.
Sites such as eBay wouldn't exist without it (or be a lot harder to maintain and perform not nearly as good).
Just because the URLs don't say "servlet" or ".jsp" doesn't mean it's not Java. Only someone well versed in the way Java based engines create html …

jwenting 1,905 duckman Team Colleague

There's no difference in the output, only in the way the IDE treats it when you run it inside the IDE...

Or if the other IDE and compiler did put in some magic code of their own, they were fundamentally flawed.

jwenting 1,905 duckman Team Colleague

Never use == to compare anything that's not a primitive unless you are deliberately intending to find out whether 2 references refer to the same physical location in memory).

Use the equals method on an object reference instead.

And always remember that Strings are NOT primitives in Java!

jwenting 1,905 duckman Team Colleague

Its illegal (or against USA prior doctrins) for USA to invade any nation as first strike. Iraq did nothing to us, they were not the cause of 9/11 or Pearl Harbor either.

Wrong. There is no such law.
And the US has repeatedly attacked other countries that took action against US interests.
- Panama
- Vietnam
- North Korea
- Germany (twice)
- Grenada
- Iraq (twice)
- Italy
- Serbia

None of them had invaded or attacked the US. German attacks on US shipping early in WW1 and WW2 were sanctioned under international law as that shipping was providing aid to an enemy of Germany and therefore fair game (in fact the very act of sending those shipments could be construed an act of war by the US against Germany, depending on interpretation of international law as it stood at the time)
and that's just the ones I can remember right away.

All US law states is that the president cannot initiate armed conflict with another nation unless in defense of US interests (which are rather broadly defined, including for example all of NATO) without first consulting with congress.
And that happened.

As to the current situation in Iraq, the US intervention there was in accordance with the terms of the 1991 ceasefire agreement in which Iraq was obliged to give full cooperation to UN arms inspectors and all member nations had the obligation to …

jwenting 1,905 duckman Team Colleague

I'm still waiting for someone to write me that automated project idea generator.

Given the number of kids disinclined to use their own head to come up with ideas for school projects, I see a major business opportunity in marketing one.

jwenting 1,905 duckman Team Colleague

If you'd used standard APIs for XML handling you'd have had no trouble...

But to the topic.
What you use depends totally on what you're storing.
If it's simple flat data, a properties/ini file is the way to go.
If it's hierarchical (or likely to become so in the future) XML is called for.
If performance is paramount (hardly ever when reading files) a binary format storing entire structs is the way to go.
For games running on servers in a distributed environment, use a relational or object-relational database server.

jwenting 1,905 duckman Team Colleague

Python is used for scripting unit reactions, where speed isn't that essential, rather than for game loops.

AFAIK there are no complete (commercial class) games written in it.

jwenting 1,905 duckman Team Colleague

That's because the XML is corrupt.

If you want html tags contained inside an XML tag's content you should turn that entire content into a CDATA section.

jwenting 1,905 duckman Team Colleague

what you should do is ditch Perl for a real programming language like Ruby, Java, or C# ;)

But as it is, the error sounds a lot like you have a typo somewhere in your code.

jwenting 1,905 duckman Team Colleague

Yes and no.

If there's a webservice running that accesses the database, you'll access the database (albeit indirectly) if you call that webservice.

But you can't just send some SOAP message to any old web server asking it to give you a full list of usernames and passwords from its authentication database.

jwenting 1,905 duckman Team Colleague

No, Java can't create directories under DOS for the very simple reason that Java doesn't work under DOS.

jwenting 1,905 duckman Team Colleague

you seem blissfully unaware not just of the forum rules but also of what Unicode and CSV are.
Were you not you'd understand the silliness of your question.

jwenting 1,905 duckman Team Colleague

Strange isn't it how they on the one hand call Bush an idiot who doesn't know how to put on his underwear in the morning, yet at the same time they think he's some evil genius who's turned the US into some kind of dictatorial state without anyone noticing (and without getting rid of the political opposition, despite the claims that there are secret concentration camps where everyone who disappears because he's opposed to the man goes).

Something's not right there.
If those people disappear, why haven't they?
If Bush is an evil genius, explain why he's so stupid?
If he's so stupid, how can he have come up with such a brilliant plan to take over the country?

jwenting 1,905 duckman Team Colleague

I hear that Apple didn't have the easiest time ever pulling off the scheduled iPhone release date;

so you think they've just shipped it incomplete and will release a firmware and software update in a few months?

jwenting 1,905 duckman Team Colleague

just build a random project idea generator.
There seems to be a big demand for those, given the number of times each week we get this exact question in only slightly different wording.

TheGathering commented: Best idea ever! +1
jwenting 1,905 duckman Team Colleague

ASCII is Unicode, so you're done already.

jwenting 1,905 duckman Team Colleague

sounds like perfect manager material for a callcenter...

jwenting 1,905 duckman Team Colleague

and even if someone were still inclined to help you after all that, how could they given the utter lack of information you provide?

jwenting 1,905 duckman Team Colleague

that's got nothing to do with age. Just see divorce cases. It's always the man who gets the blame, even if the woman ran off with a new flame after years of fooling around while the man was at home taking care of the kids.

jwenting 1,905 duckman Team Colleague

The first generation iPod was NOT compatible with anything except Macs.
It was only later (about a year I think) that Apple realised that there was a problem, that a lot of people couldn't use their shiny little device, caved in the the real world, and released a PC compatible version.

Only at that point did sales really take off.

My guess is that they'd expected people to buy a Mac just so they could upload music to their iPod and released a Windows version only when that plan didn't work.

Guess they're doing the same with the iPhone now...

As to the Zune, who knows what it will work with.
It's not on the market. And I've heard enough idiotic rumours about upcoming devices to not pay them any heed.

jwenting 1,905 duckman Team Colleague

There's no limits to the hatred of the left for someone who won 2 elections from them despite their best efforts at election fraud...

Only yesterday I read a blog where someone openly called for an armed insurrection "against Bush".

Bush may not be the brightest president, nor the most successful one, but he's not a criminal, and certainly not a convicted criminal.
He's also far too leftist for most of the electorate who voted for him, many of them doing so only because the alternative would be far far worse (Gore being a draft dodger and pathological liar, Kerry a war criminal by his own statements and recipient of a prestigious award by an enemy of the USA for aiding that enemy during the Vietnam war, both of them leftist hardliners with totalitarian tendencies).

After the next elections it'll likely get even worse. With the Republican candidates likely to come from the far left of that party and the "Democratic" candidates coming from so far left they're way outside the playing field, the establishment of the Union of Socialist Soviet American States is at hand.

jwenting 1,905 duckman Team Colleague

and RTFM. It's well explained in the documentation, if you took the trouble to read it which you didn't or you'd not have this "problem".

jwenting 1,905 duckman Team Colleague

most people would choose to start from scratch when starting development in VC2005 if their previous version was VC6.

Anything developed that long ago that VC6 was current when development was complete will be in dire need for such a major overhaul that complete replacement is a better option.

jwenting 1,905 duckman Team Colleague

yah, Turbo Pascal never adhered to the established standards for C++ :)

Salem commented: LOL +9
jwenting 1,905 duckman Team Colleague

The runtime is backwards compatible (if the code was originally written by someone who's not a complete moron for using classes that are clearly mentioned you should not use).

jwenting 1,905 duckman Team Colleague

how to use a spell checker?
Your post is completely illegible.

jwenting 1,905 duckman Team Colleague

What I THINK (s)he's looking at is a crosscompiler, but with such a vague and cryptic description it's impossible to tell.

jwenting 1,905 duckman Team Colleague

So, in your country is legal to have sex with a minor?

if you're a minor yourself...

jwenting 1,905 duckman Team Colleague

HAHAHAHA.

What's so "fairly good understanding" about being able to write

int main(char* args, int argv)
{
    return 0;
}

and pressing a button or key?