jwenting 1,905 duckman Team Colleague

As a practical matter, it can't be 100% Java. There needs to be some kind of bootstrap or microkernel for the lowest level stuff to build upon. But one can make an operating system that is nearly all Java. (Well hey; Unix/Linux is/was *mostly* C.)

wrong. It can be done if you pick or design the right hardware (effectively you'd be implementing the JVM microkernel in hardware, this has been done) :)

jwenting 1,905 duckman Team Colleague

well, that just means the compiler either can't find the source file or you've got the file permissions set for it to be not readable for the compiler.

jwenting 1,905 duckman Team Colleague

you're asking for ways to break into computers and either corrupt or steal data. That means you're asking for us to implicate ourselves into crimes you're planning to commit.

Majestics commented: What is wrong with you +0
jwenting 1,905 duckman Team Colleague

It will take decades for C# to achieve the portability that C++ has.

optimistic today?

jwenting 1,905 duckman Team Colleague

do us professional all a favour, and leave IT. More jobs for us :)

The job market is so shoddy right now, switching careers to something else is not to be done lightly.
When you do it you're always going to start at the bottom of the pile, and in the current market you're also going to be competing with a lot of experienced people willing to work for peanuts because they're desperate for any job at all.

skatamatic commented: Nope. Not a troll. +0
jwenting 1,905 duckman Team Colleague

too many things can go wrong here, impossible to say what you did wrong...

jwenting 1,905 duckman Team Colleague

it will give the correct answer, for some definition of "correct answer".

jwenting 1,905 duckman Team Colleague

i think now days c++ are rarely used..but it is a good programming language.

and you'd be dead wrong about it being rarely used.
It may be used rarely by ignorant schoolkids, but that's IMO a good thing for a language (the frequent use by such kids is one of the main reasons there's so much crap in the Java community for example).

sergent commented: yep +0
jwenting 1,905 duckman Team Colleague

And even were it possible, it'd be unethical and possibly illegal for anyone to help you write one. Keyloggers are used almost exclusively in malware, thus the only conclusion we can come to is that you're trying to write malware.

stultuske commented: don't see why this should be downvoted. simple facts. +14
jwenting 1,905 duckman Team Colleague

Different markets. Java was designed for middleware. C++ was designed as a general purpouse systems programming language.

Not really. Both were designed as general purpose languages.
In fact the original idea behind Java was for a language that would allow true platform independent GUI development for anything from PCs to handheld devices as well being able to be used on smartcards, mainframes, and in your fridge and car.

If it became most popular in the serverside market for internet, intranet, and extranet distributed corporate systems, a market not originally envisioned at all (the J2EE spec didn't appear until 2 years after Java 1.0) that just shows how unpredictable the world is as well as how flexible Java turned out to be.

The same effectively happened with C++, which was envisioned as a language for programming scientific and business applications on minis using dumb terminals for screens as well as system software for those minis.
It wasn't until much later that it became widely adopted for desktop applications.

sergent commented: But its not system programming. This means its not "general purpose"! +0
jwenting 1,905 duckman Team Colleague

such systems are utterly useless in that they can be very easily abused.
A teacher who knows their pupils and keeps an attendance log on paper (maybe transferred later to computer) is far more efficient and a lot cheaper.

jwenting 1,905 duckman Team Colleague

try kathy sierra short but good book

uh, Kathy Sierra is an author, not a book. And most of her books are anything but short.
They are however pretty good in general.

jwenting 1,905 duckman Team Colleague

expecting to learn Java in a few days to a degree where you can fool your teachers into thinking you're more than an absolute beginner is your first major mistake.
Won't even start on the delusion that you can learn Java (or indeed anything) by just watching a few youtube videos about it.

jwenting 1,905 duckman Team Colleague

you're calling methods with parameters that aren't of the correct type.
Read the API documentation for the classes and methods involved to figure out what you need to do and change your code accordingly.

jwenting 1,905 duckman Team Colleague

If i'm honest saying that C++ is dying is ridiculous. You look at any large scale business software and its most often coded in C/C++. Java is kinda the new kid on the block looking to compete with C++ but due to its infancy its still got a long way to go before it can look to kicking C++ out of the picture.

LOLOLOLOL

Been using Java prodessionally since 1997, on enterprise level applications.
To say Java is "the new kid on the block" and not used for "large scale business software" just shows your ignorance of the field.

Not to say C++ isn't used any longer, for it is, but it's certainly no longer the first choice for many of the largest corporate and government entities when creating new systems (especially middleware and backend systems).

pseudorandom21 commented: tyvm +0
jwenting 1,905 duckman Team Colleague

what is orkut? so many social sites springing up these days even if they don't make any impact.

Orkut is a "social networking site" that predates Facebook, Hyves, Ning, LinkedIn, and the others by several years.
It was created as a hobby project/proof of concept by a few guys and bought by Google shortly after who recognised it as a powerful tool in their campaign to aggregate massive amounts of data about everyone (as what had been missing most is interactions between people).

One of he few places where Google lost out to the competition, I guess facebook took them by surprise but I was declining Orkut invites years before facebook ever came around.

jwenting 1,905 duckman Team Colleague

I'd say this "report" is overhyped.
The main reason Androis is seeing the seeming rise in popularity it does is because it's relatively new and the release cycle of Android phones is extremely rapid (and we all know that a lot of people want to be "kewl" and end up buying every new model released by their favourite brand, one more reason HTC is in front of Samsung as HTC tends to have more models and shorter release cycles than does Samsung, as well as being rooted more in the lower price market segment where Samsung is more prevalent in the corporate market where devices are replaced at a lower frequency than in the consumer market.

I think we can expect a similar rise in popularity of Windows phones were manufacturers to release consumer grade (and priced) phones based on the platform, accompanied by similar marketing campaigns as accompany the release of new Android based models.
Symbian IMO is indeed dead, or nearly so, as the number of available devices mounting the platform declines.
Blackberry (always centered in the highend corporate market) suffered hard from the bad press about their security policies after the censors in several countries got them to essentially turn their secure platform into an open one. This alone has caused many corporate customers (their main userbase) to reconsider their choices and in some cases switch to other suppliers.

Expect Apple to show up above Android in the next report right after …

jwenting 1,905 duckman Team Colleague

Oh, I like that a lot. Keeps it real clean. I was afraid a giant xml file would look sloppy.

for a professional application, it would be sloppy. Database is a lot better for those.
For a homework assignment, using a flat file like that is however a viable solution unless you're being tested on your ability to use the database functionality.

jwenting 1,905 duckman Team Colleague

I'd be willing to help you by email for $300/hr, 1 hour minimum. My email's in my profile.

cheap... Should charge at least a week in advance.

jwenting 1,905 duckman Team Colleague

in fact the only stuff not written in Java is platform specific stuff that requires JNI.

I wonder what the kid calls "real programs", given the fact that worldwide several million people build and maintain business critical applications using Java every day, applications running multinational corporations with revenue in access to that of many countries, handling the production, transport, and administration of billions upon billions of dollars worth of goods and resources every minute.

But indeed, you won't see many highstreet stores selling games that tout a Java logo on the DVD case.

jwenting 1,905 duckman Team Colleague

Sorry VD, didn't realise you were quoting. :(

Yep, stoning in Iran sure gives one second thought about committing adultery (if you're a woman that is).

However, crucifying all the Christians in Rome didn't stop them spreading their stuff. In fact, given that, wouldn't public executions spread just the murder-fest? :)

In fact, it did stop Christians in Rome spreading their stuff quite effectively :)
It would be centuries before they were a threat to the authority of the empire again, and by that time the empire had been so weakened by outside invasion they were more than willin to try this newfangled single god idea if it might work to save them (it didn't).

Christians in Rome btw brought their persecution upon themselves. They were NOT arrested and killed for being Christians, but for denouncing the divinity of the emperor (and thus denouncing his right to rule) which under Roman law (and similar acts still are under the law in many countries) was a capital offense.
Had they (and many Christian groups around the time did so, at least in public) accepted that other gods can exist and have a place in the world, they'd not have been in trouble as the Romans were always willing to let new gods take a place in their pantheon, and in fact did so repeatedly around the time Christianity got started.
The Roman pantheon over time came to include deities (sometimes with changed names and character traits over …

jwenting 1,905 duckman Team Colleague

Expect? What are you daft? No, but they are useful features and their omission may potentially be leading to a decline in the use of C++, particularly (as stated previously) at least partially due in part to the features meeting the business needs of today.

Would you consider it a benefit for a useful feature to be included in the language's standard "library" ?

And tell us all why including Windows specific "features" would be of benefit to people using other platforms?

You're confusing the core language (C++) with a specific implementation of that language on a specific operating system (Visual C++).

To facilitate Windows users, Microsoft has created the Windows specific APIs and ships them with their implementation of the C++ language, which is Visual C++.
Borland did the same with their language implementations, so do others for their supported platforms.

And that's how things work in the real world, a world not ruled by little kids with no idea of how things work.

jwenting 1,905 duckman Team Colleague

companies and individuals mostly take their money out of their country because the investment climate in their home country is abysmal.
That's why you see companies moving their entire operations abroad, it's just too expensive to stay at home.
When it becomes cheaper to make a car in say Indonesia where it takes more people to do the work, ship it to the US, pay the severance fees for your US workers, and pay the massive import duties on foreign made products as compared to building that car in the US there's something seriously wrong with the US investment/labour climate.

That problem is not just taxes of course, but they're a big factor.
- labour unions causing labour cost to skyrocket by making it so people do hardly any real work yet get extensive benefits and salaries way out of proportion to the work performed. High income taxes make that only worse.
- regulatory pressure causing the cost of operating the company and plants to become excessive even without taxation.
- constant threat of lawsuits causing your legal fees, insurance, etc. etc. to go completely out of control.

All those are caused by the political climate in the US, which is (certainly under the current administration) unwilling to handle any of them and in fact is making all of them worse.

jwenting 1,905 duckman Team Colleague

You may want to re-read his statement, I sense some irony...

yes, but then again some people think that irony means "made out of iron" :)

jwenting 1,905 duckman Team Colleague

You're using inner classes, the XXX$YYY.class are inner classes to XXX.

jwenting 1,905 duckman Team Colleague

It's an assignment to show you can do "it" (whatever "it" may be) in Java.
You admit you can't do it. Why the heck should we help you cheat and help you by doing it for you?
We'd end up with incompetent (by their own admission) potential coworkers.

jwenting 1,905 duckman Team Colleague

hanging, drawing, and quartering was a means of execution reserved only for very specific crimes, especially high treason.
It was never done on the whim of the executioner, had to be explicitly ordered by the bailif (and probably the Crown).

The only recorded executions using the method are for high treason, attempts to murder or depose of the King or members of the royal family.
And they're few and far between as well (I don't think there are more than a dozen or so recorded cases over the several centuries the punishment was on the books).

The standard ways of execution in the UK were hanging, beheading, or burning at the stake (the means being dependent on the crime, social status, and sex of the condemned).

jwenting 1,905 duckman Team Colleague

^ I think its more to do with the fact that running Glassfish is much more resource intensive than running IIS, making it impractical for shared cheap hosting, yet popular for people to use internally.

Glassfish is rather heavy, but there are lightweight alternatives out there like JBoss that are far more popular for hosting production sites.
Despite the press releases, Glassfish is a niche product.

jwenting 1,905 duckman Team Colleague

I would add to this the popular mentality that "we can have our cake and eat it too" which kept electing politicians who spent more than they had and cut taxes while running a deficit. And caused people to borrow money to buy luxuries they couldn't afford (eg. monster houses).

in fact cutting taxes drives investment and spending which in turn increases tax revenue.
BUT is has to be accompanied by larger (not equal, larger) cuts in government spending, something that our politicians are incapable of even contemplating (to the point where they've redefined "cutbacks" to mean "tax increases").

It's simple, if tax RATES are cut, people have more money to spend.
Some will spend that on investing in businesses, driving employment (and thus reducing unemployment numbers). Others will use it to buy the products of those businesses, thus generating more income for them, which will be taxed.

But you're right about the far too high level of borrowing. Of course, with the rate our governments are doing it, the little bit Joe Average borrows in comparison isn't going to make any difference (he might be in debt to several times his annual income, but his share of the government debt is several times more than that again).

jwenting 1,905 duckman Team Colleague

do learn to use your tools. You NEVER run the JDK tooling from the installation directory.
Run them from the root of your source directory, setting the appropriate environment variables to point to the JDK tooling, and the appropriate commandline parameters for the compiler to direct its input and output directories as well as its classpath.

Documentation for both is available with your tooling and operating system.

jwenting 1,905 duckman Team Colleague

I'm curious. How does Java differ from say, C#, in your opinion? They're comparable in my experience, but your statement suggests that Java is somehow more powerful (ie. supports "fancy" programs) while .NET has better support for RAD.

Especially for hosted applications (webapps, etc.) it's often more expensive to get a provider who supports Java than one who supports .NET.
This no doubt has to do with the more "enterprisey" feel of JEE, which attracts larger accounts with bigger requirements and the deeper pockets that go along with those.

jwenting 1,905 duckman Team Colleague

just because they were pardoned before execution doesn't make them any less guilty.
And that's the majority of those cases, they're pardoned after some crystory about "loved ones needing them" and stuff like that, or because it was politically expedient for an incumbent governor to do so in order to generate votes in time for an upcoming election.

The main problem with the death sentence as currently in place in the US is that the enormous length of time between conviction and execution not only costs tons of money just to keep the convicts in prison (in 5* hotel accommodations more often than not) but the interminable legal wrangling surrounding each and every case, with constant appeals, reopening cases, new "evidence" being fabricated by unscrupulous activist lawyers and sometimes judges, more fake "witnesses" being "discovered" by lawyers years or decades after the fact to "exonerate" the perp, etc. etc.

Used to be so simple. Arrest them at dawn, convict them at noon, hang them at dusk.

jwenting 1,905 duckman Team Colleague

if you don't know the terms used by these products and systems, how can you ever hope to determine whether they're right for you?
There's tons of books and no doubt websites out there to help, get searching and you will be enlightened.

jwenting 1,905 duckman Team Colleague

if it were knowledge appropriate for the position, you should have known this already and not have to ask it here...

jwenting 1,905 duckman Team Colleague

I guess you need a class Cell, Shop, probably Customer, SalesPerson, and a bunch of others.
You'll also need some knowledge of the problem domain, communications skills, coding skills, etc. etc., and those especially seem to be severely lacking.

jwenting 1,905 duckman Team Colleague

The US fed government is not going to go bankrupt. It will still pay bills, such as social security, military and federal service employees, as money becomes available. I heard on radio just yesterday that social security is not in trouble because it owns a couple trillion dollars in US government treasury bills which, if pressed for money, they can cash.

Well, those treasury bills are worthless if the dollar tanks. Or rather the dollars you get for them will be :)
The federal reserve of course can just open up the printing presses again, as they've done several times since Obama took power (QE1, QE2, they're now talking about QE3 to do just that). This will of course cause the value of the dollar against foreign currency to plummet, but will allow the government to pay the current dollar amount of those treasury bills.
Don't you love fiat currency, where there's nothing of value to back it?

Never mind that imports will become increasingly expensive for consumers and companies alike, that's only good (in the short term) to drive people to buy local products (of course in the mid term it's going to end up isolating the country as noone can trade with it).

I don't envision Americans having to take shopping bags full of dollar bills to the supermarket to get their groceries soon, but those wallets will have to get thicker.

jwenting 1,905 duckman Team Colleague

>It sounds absurd that google can keep by gmail in their database and sell it to whomever

You'd think wouldn't you. But the 'google-sphere' is probably more sinister than we realize, or at least has the potential to be. They probably even keep tabs on what users search for.

they do indeed. By law they've been forced to delete those records from their EU servers after 6 months, but there's no such restriction in the US where it's kept essentially indefinitely (and of course 'd not trust them to not circumvent those laws by simply moving the data from an EU server to somewhere else so they comply with the letter of the law and still have the data.

Those searches are used as a powerful marketing tool, in order to drive click revenue by tailoring the ads you see based on not just the site they're shown on but the profile of the viewer (so for example if you've recently visited a lot of sites about cooking, you're more likely to see ads for cookware pop up all over the place, on any site that's ever so slightly related to the topic).

jwenting 1,905 duckman Team Colleague

What a waste of life right? Maybe she died that way to serve as a warning to other young people who are doing the same way as she did..

no, she died because she was a druggie and an attention whore.
We can only hope her death leads to youngsters steering clear of drugs, and not (as is often the case) to them trying to emulate her and gain fame by od'ing themselves.

jwenting 1,905 duckman Team Colleague

It's a shame that most of the users asking for this kind of help is from my country...

they're not, most are however from your part of the world (the majority is from India and Pakistan, stretching as far east as the Philipines).

That's in part (from what I've heard from professionals from that part of the world) because there's more than a few "teachers" and "professors" there who tell their "students" that it's quite acceptable to plagiarise the work of others, who just hand out urls to sites like this and tell the kids to go ask questions like that here.
Combined with an attitude (which I've seen a lot in the juniors coming out of Asia lately) that the entire world is there solely to do their work for them, that everyone else is racially and morally inferior to them, you get a system in which kids grow up expecting others to be their willing servants.
Combined with a worldwide trend towards a lack of sense of responsibility among youths, a total lack of respect for others and their property, and you get what you see: rampant plagiarism, laziness, theft.

There's very good people coming out of India and Asia in general (I've worked with a lot of them) but the younger generations are sadly a far cry from their elders (and those older people say so themselves, more than one says that there are many good Asian IT people, but hardly any of …

jwenting 1,905 duckman Team Colleague

Sun/Oracle has excellent training courses, which are offered in a variety of forms, including online.

jwenting 1,905 duckman Team Colleague

JDK releases aren't just about the language. Sure, Java is trying to play catch with other languages out there but at least I'm more interested in the VM enhancements which would enable other languages built on top of the JVM to perform better.

Yes, the vm improvements are nice, but the language changes for no other reason than that XXX has it (which is the real reason for any of them, Java doesn't need that crap, and has no "catching up" to do) are making the language ever less clean and readable, destroying what it was intended to be.
Switching on String is a very bad decision. As said already, use enums, that's what they're there for (or one thing they're there for).
Being able to catch multiple exceptions in a single operation is nice, but for most people writing class libraries and larger applications not really needed as they usually create a well designed exception hierarchy which effectively already allows that (now only if Sun had done the same back in 1997, there'd be less need to catch at some points half a dozen core exceptions, but those places aren't hard to abstract away).
And so on, and so on. Syntactic sugar to please some kid who thinks XXX is the bee's knees and screams loudly enough that "zuh jav iz ded unless you make it like XXX", that's all it is. Sadly those kids are leading members of the JCP, I'd hoped that'd change now …

jwenting 1,905 duckman Team Colleague

Or just go out and buy an existing system, of which there are thousands.
Far easier, especially as you'll have to become an expert in all kinds of legal and financial matters to get everything right (and if you don't, and use it to base your tax returns on, you're going to get seriously burned).

jwenting 1,905 duckman Team Colleague

If I were that university I'd contract a specialised company to deliver one of their ready to use, commercially available, and very reasonably priced off the shelf solutions rather than get some first year students to develop it for them.

But that's just me...

jwenting 1,905 duckman Team Colleague

well, those ones were wicked to humanity

you just went against your own rule to never speak bad about the dead...
So what'll it be? Tell the truth about people or cosy them over just because they're goners?

jwenting 1,905 duckman Team Colleague

Interesting video clip. I didn't know who the hell Ron Paul was or what he looked like until that clip. There's little to disagree with if you're an agnostic/independent, but methinks the Fox Live interviewer had his tongue firmly up the congressman's derriere.

yes, anyone who doesn't agree with your leftist ideas must be a rightwing christian fundamentalist racist radical.
that's exactly the Dhimmycrat Partei official position, after all.

The problem with the US isn't that taxes are too low, far from it.
It's that

  1. taxes are way too high, causing people to not invest
  2. taxes are way too high, causing people to have no money to spend on goods and services (related to prior of course)
  3. people are punished for success through taxes, thus there's no incentive to innovate or excel at your job and gain promotions (and thus higher pay)
  4. there are FAR too many bureaucrats doing effectively nothing except pushing paper to "regulate" and "control" meaningless, stifling, laws and regulations (if they're doing anything at all, there's very regular reports about government workers being found to have been at home, with full pay, not doing any work, for over a decade, while technically still having a job to do, before being finally found out and fired (and then often heavily compensated to prevent wrongful termination suits)
  5. those regulations often make (even without the skyhigh taxes) investment and starting/expanding businesses impossible or so unattractive people just give up trying and either flee the country …
jwenting 1,905 duckman Team Colleague

I don't think that people ar too enthusiastic about saving their personal documents, on who knows what, who knows where server... People like storing data on their parsonal medias, so that only they have access to them

especially if the host has such a poor privacy related record as does Google...
I wouldn't trust them 10 seconds to not sell my documents to the highest bidder, either a competitor or some shady spammer or scammer.

jwenting 1,905 duckman Team Colleague

seems skilly likes to troll...
Got a nice bridge for you, skilly.

jwenting 1,905 duckman Team Colleague

If you're a freelancer taking on projects where you agree to a fixed price but not a fixed set of requirements and deliverables, it's nothing but your own fault.
Same goes for any contract.

Nothing special about freelancers there, except they often lack the expert knowledge in reading and writing contracts, think they know everything about requirements gathering etc., and try to wing it where a professional consultancy firm has dedicated people for all that and a professional legal team in place.

$16 for a few days' work? Forget it. As a freelancer you're going to need at least 10 times that much per hour to break even.
We're as a big consultancy now charging at least $100 an hour for our people, and that's down from >$150 a few years ago and barely enough to break even. For a freelancer its worse as his income situation is less predictable so he has to charge more just to cover the risk of being without a contract for a while.

jwenting 1,905 duckman Team Colleague

http://www.google.co.uk/search?q=thesis+title+help
See, the problem here, is that DW is the #1 link at the moment.

So in they come "feeling lucky", only to get a face-full of wet fish.

But the self-reinforcing meme has been planted, with YET ANOTHER post with the magic search engine keywords to ensure that more of them will come, with more of the same posts, leading to better and better ranking in search engines, which (well, you get the picture).

The forum needs to be PURGED of all these lame-assed 1-posters who cannot think for themselves, then the problem would attend to itself, because no more would be smart enough to get here under their own initiative.

Except of course that all those kiddos drive up the income from the banner ads, and thus Dani loves them...
Rather a million a day of them than a few thousand of us oldtimers who've all earned the privilege of turning them off.

jwenting 1,905 duckman Team Colleague

sad state of affairs when someone that close to graduating "university" posts questions like this...