jwenting 1,905 duckman Team Colleague

sounds typical of office buildings across Europe, Jim...
Of course the managers, HR, and facilities management always get their own floor with real offices, indicating their special status in the company as compared to the worker bees.

jwenting 1,905 duckman Team Colleague

Snow, deer and mountains make a Jeep 4x4 about the best thing to drive.

hmm, my dad had one. Traded it in for a Range Rover to save on fuel and maintenance bills.
Thing uses about a quarter the fuel that Jeep did, and cheaper spares as well (in part because they don't have to be shipped from across the Atlantic I know).

I'll drive anything that agrees with my back and is affordable :)

jwenting 1,905 duckman Team Colleague

read the error. It's missing some classes. Make sure everything needed to run the stuff you're testing is available on the classpath when running the test.
How to do that? See the documentation of your build tool.

jwenting 1,905 duckman Team Colleague

the main natural disasters here are the politicians...

jwenting 1,905 duckman Team Colleague

well, then you've had 2 days to learn the tiny bit of Java and physics you need.
I assume you've used that time to do that?

If not, why not?

jwenting 1,905 duckman Team Colleague

hmm, wrong name. Should be MyHomeworkAssignmentSolution :)

jwenting 1,905 duckman Team Colleague

good luck.
And the question?

jwenting 1,905 duckman Team Colleague

open plan offices were heavily promoted in the 1970s and '80s as being "better" than individual offices, and many companies to them like fish to water because it's much cheaper to do things that way and shift people around.

It's now been found that it's less effective than smaller rooms, with say 3-4 people to a room that work together closely. But many companies still sit in those big open plan buildings and more such buildings keep being built, except now they're marketed as "flex work environments", hailed as the next big thing where people no longer have their own desk at all, allowing the company to do away with numerous desks especially if they have a fixed percentage of remote workers (say everyone works remotely one day a week, they can now get away with 20% less floor space).

Cubicles are just a way to partition the open plan office into smaller cells. Few of the benefits of individual offices, few of the benefits of open plan as well.

jwenting 1,905 duckman Team Colleague

so you've been studying how to design and create software for years and you still can't do it?
You kid, deserve to fail.

jwenting 1,905 duckman Team Colleague

Sun/Oracle never enforce it. But that doesn't mean most projects don't enforce it, or something like it.

And most do. So you'd better get used to it or you're not going to last long outside your bedroom.

jwenting 1,905 duckman Team Colleague

yes, and you consider any change to be change for the worse...
Very easy to say "as long as it's change for the better" if you never consider any change for the better...

jwenting 1,905 duckman Team Colleague

the main problem is that the vast majority of them don't want constructive help, they want their entire project done for them, handed to them on a golden platter, so they can submit it as their own and get that diploma to wave around at recruiters.

If they'd done any real work at all in their studies before, they'd be able to come up with a project proposal (especially as they would have a teacher assisting them, and/or someone in industry if they're going to be attached to a company as an intern).
But those people you won't find here asking "give me final year project idea", they're not going to ask questions that can be distinguished from a junior professional asking for help on details of their first jobs.
What we get instead are the lazy ones who've been partying for years rather than studying, and expect to now go on partying rather than working.

jwenting 1,905 duckman Team Colleague

it's just marketing. Like Windows 95 after Windows 3.11.

As to the people complaining about it, just the usual. Some people ALWAYS complain about any change at all, and they're usually extremely vocal about it.
Heck, many of them demand something be changed in certain ways, then complain when their demands are met to the letter...

jwenting 1,905 duckman Team Colleague

Dani, strangely enough it depends on the language for me.
Writing C++ I can't stand having it in K&R layout, writing Java or C in can't stand having it in C++/Stroustrup layout.

jwenting 1,905 duckman Team Colleague

. You do it in whatever way feels best for you.

wrong. You do it in the way that's used in the remainder of the code base you're working on, according to the coding standards of the project you're working on or the customer you're working for.

And you'll find that most of those will be derived from the official Sun/Oracle coding standards postulated in 1997 (or maybe 1996) and since revived a bit to account for language changes, which are themselves derived from the K&R standards for C.

jwenting 1,905 duckman Team Colleague

Won't give you infinity either, as the size of the array is limited by the number of elements it can have, which is an integer.

jwenting 1,905 duckman Team Colleague

"obviously easier to read"?

Highly debatable. As long as you're consistent, there's no reason either style isn't readable.
And the K&R style adopted by James Gosling as the recommended standard for Java is arguably clearer to indicate that a block is related to the statement that starts it rather than being somehow independent of it.

jwenting 1,905 duckman Team Colleague

1) read the documentation, it is bloody obvious
2) makes no sense whatsoever

jwenting 1,905 duckman Team Colleague

sigh... Just ask one of the many others who posted the same assignment here waiting for someone to do the work for them...

jwenting 1,905 duckman Team Colleague

Don't worry Stuugie. Been a major pain here, 90% of people training to become primary school teachers are incapable of comprehending the material they're supposed to teach. Not just reading and writing, but math, geography, everything.
They just can't comprehend any of it.

And the solution? Make the requirements for becoming a teacher LOWER!

Stuugie commented: Unreal! +0
jwenting 1,905 duckman Team Colleague

do you know even the tiniest sliver of primary school math?
Like how to multiply two numbers for example?

jwenting 1,905 duckman Team Colleague

If you teach science, let your students know what a scientist does.

it might put many of them off from seeking a career in science knowing that most of the time is spent at a desk writing funding proposals ;/

jwenting 1,905 duckman Team Colleague

Count the number of sleeping students. If it's more than 50% your teaching is boring.

had one lecturer at university whose entire lectures consisted of quoting his own book from memory.
Would have been boring, we were just reading along...
But we stayed awake and alert hoping to catch him at mistakes. Different word here, different variable name in an equation there.
Happened very rarely, maybe two or three times over the semester only.

Suffice to say not many students turned up for those lectures after the first few weeks, he didn't provide time for questions anyway, and his demonstrations and examples were all printed in his book.

Of course when word got around that he was ill and his lecture taken over for 3 weeks by someone else the lecture theater was packed every time :)

jwenting 1,905 duckman Team Colleague

or maybe he's going for a fictional career in that fictional country on the fictional continent he's talking about, using fictional skills?

jwenting 1,905 duckman Team Colleague

if you don't know that, it means your reading comprehension is zero.
Nothing we can do is going to change that.

jwenting 1,905 duckman Team Colleague

and where's the urgency?

jwenting 1,905 duckman Team Colleague

good luck with your homework. Hope you do it better than you do at pasting your assignment to random websites.

jwenting 1,905 duckman Team Colleague

worse, he's trying to convert an array to an array using the toArray STATIC method of an instance of List.

jwenting 1,905 duckman Team Colleague

3 years reading this site and you
a) still don't know how to do something that basic
and
b) still don't know we're not your homework service?

sheesh

jwenting 1,905 duckman Team Colleague

so learn to use BlueJ, or better yet learn Java and ditch that POS excuse for an IDE.
You might want to pick up a better IDE at some point, but learn to use that.
Your "problem" has nothing to do with Java, and everything with you not reading the documentation of your tools.

jwenting 1,905 duckman Team Colleague

why is he creating a new account for every post...

jwenting 1,905 duckman Team Colleague

then why do you post your own thread with exactly the same question?

jwenting 1,905 duckman Team Colleague
jwenting 1,905 duckman Team Colleague

First come up with an algorithm, and I seriously doubt you're going to do that.
In fact I seriously doubt there exists an algorithm that can do it, and even worse if you have to do it for several languages.
Most likely you're going to end up having to do some sort of dictionary lookup and maintain a dictionary you have to build manually.

jwenting 1,905 duckman Team Colleague

and make sure there are severe consequences for not paying attention in class, and for not doing your homework.
IOW make it next to impossible to get a passing grade at the end of the course unless the "student" was either actively participating and/or brilliant at individual research (and in my experience as a student, those are typically the same people anyway, the lazy buggers who consistently skip class, don't do their assignments (or leech the "solutions" from the internet these days, it didn't exist back then), and cheat at exams are the same ones who never open a book more complex than a cartoon outside of classes).

jwenting 1,905 duckman Team Colleague

the correct answer then would be "no, the data is incomplete"

jwenting 1,905 duckman Team Colleague

that's because in the matter of statistics the numbers invariably lie and often are so open for interpretation that there's no one correct answer...
To take safety with or without a gun in the house, what safety?
There might be more accidents in the house by a very small margin (depending on training of the people in the house mostly) but it can decrease the risk of being killed or seriously hurt in a burglary attempt a lot. Now, whether that latter is going to be a bigger benefit than the risk of the former depends on many factors often (almost universally, by all sides in the debate) not included in their calculations, like how likely a house is to be the target of a violent intrusion attempt, how well trained in the use of that weapon the inhabitants are, etc. etc..

With that skin cream it's far more clear cut. It either works or it doesn't for a specific skin condition (with a very small risk of allergic reactions).

So no, you can't really compare the two. Different levels of complexity entirely.

jwenting 1,905 duckman Team Colleague

totally boring and like questioning the patience of a common man

rather many deny the sanity and intellect of a common man...
I really only watch Discovery and NGC any longer, and the occasional (older...) movie.
Most anything else (and a lot of that) just pisses me off.
One advantage: it makes my television last a lot longer, no need to replace it every few years. Hope it lasts another decade or so, and when it fails I may decide to not replace it but cancel cable.

jwenting 1,905 duckman Team Colleague

indeed. Of course it pays less than being a TV personality so from their perspective they're right...

jwenting 1,905 duckman Team Colleague

the entire question makes no sense at all... "he sells at a 10% loss on the sales price", and then goes on to ask "what is the percentage loss on the purchase price". What does that even mean...
Either he sold at a sales price that's 10% under the purchase price, or he sold at 10% below the normal sales price.
First case he already has his answer, second case we can't possibly know the answer as we don't know the difference between his purchase price and his sales price.

jwenting 1,905 duckman Team Colleague

and another one about cop shows: notice how they always find one and only one fingerprint, and it's always a perfect match with the bad guy?
Reality of course there'd be dozens or hundreds of prints and it takes forever to sort them all out.

One "reality show" I watched for example they found a single fingerprint from the perp on a grocery bag used to asphyxiate the victim, a bag that they knew had belonged to the victim.
Why only one? The perp would either wear gloves and leave none or wear no gloves and leave many.
And of course there'd be prints from the victim there, probably from store personel where the bag originated as well, etc. etc.

jwenting 1,905 duckman Team Colleague

and don't use turbo c, it's a 30 year old dinosaur. Or are you still using a 286 running DOS 3 or 4?

jwenting 1,905 duckman Team Colleague

The computer stores that integer as a series of bits and bytes, iow in base 2. It's only for our own convenience as humans who're used to thinking in base 10 that most programming environments use base 10 for inputing and outputing numerical data.
To output in another base, most languages have either built in or 3rd party libraries available to do just that, no need to reinvent the wheel.

jwenting 1,905 duckman Team Colleague

that's not pseudocode at all, that's poorly written C++.

jwenting 1,905 duckman Team Colleague

and oh, if she can't do it in Java, she can't do it in C either. The solutions would be pretty much identical.

jwenting 1,905 duckman Team Colleague

Oracle 12c is the current production release.
11g is still in widespread use.
10g is being phased out by most customers, though there's still a lot of legacy installations out there.
9i and earlier, forget about it. There's no money in it from the very few way outdated installations out there that for whatever reason have never been upgraded.

And yes, Oracle has its tools available on their website. SQLDeveloper is what you're looking for.
Many professional DBAs and DBDs however use 3rd party tools like TOAD and SQLDeveloper, which are very nice but pretty expensive.

jwenting 1,905 duckman Team Colleague

And of course you should not get tunnelvision and think that you're a programmer because you know a specific IDE.
When you get a different job, you're quite likely going to get a different toolset and have to rapidly learn to use that to the same degree of confidence you've built up over months or years using something else you're already familiar with.

jwenting 1,905 duckman Team Colleague

you don't need help, you need a spanking. If you'd paid attention in class you'd have known how to do this...

It's simple math, compared with simple programming. Nothing at all complicated about it.

So rather than sit there playing games, reread your course notes and instruction books, fire up your programming editor, and start putting some programs together.

oussama_1 commented: Lool..spanking +4
jwenting 1,905 duckman Team Colleague

A Final Year Project generator... something that can search Google for unanswered questions and then generate a suggestion list of projects

That's my standard answer when homework kiddos demand we give them a "final year project idea".
They never take it up it seems, guess they're too stupid to see the sarcasm.

jwenting 1,905 duckman Team Colleague

so now we're getting even math homework assignments pasted here verbatim, not just programming assignments any longer?