jwenting 1,905 duckman Team Colleague

I seriously doubt whether what he wants is going to work at all. He seems under the impression that XSSFPicture will magically turn the spreadsheet into a screenshot of what it would look like when displayed in something like Excel, which of course is not true at all.

jwenting 1,905 duckman Team Colleague

as to the second, that code looks about a decade old so he probably uses a decade old book (or more likely a pdf someone ripped from a decade old book and put on some website as "free jsp book").

What's line 15, and what's the error? Check your server logs as Peter suggests, the answer should be pretty bloody obvious from those.
In fact I can see at least one glaring error in the SQL you generate (and that's not counting the extreme vulnerability to SQL injection attacks you're opening yourself to).

jwenting 1,905 duckman Team Colleague

names? Amazon.com and do your own research.

jwenting 1,905 duckman Team Colleague

or the filename. MacOS is case sensitive, so is Java, so make sure the filename is correct.

jwenting 1,905 duckman Team Colleague

There's libraries full of books written about MFC. You might want to check out a few of them...

jwenting 1,905 duckman Team Colleague

And even worse, a lot of IDEs impose their own project structure rigidly, often creating all kind of files for their own housekeeping.
Now if 20 people on a team each have their own IDEs you're in for a nightmare.
Just clearing out the backup files VI creates that sometimes end up in version control by mistake is a pain, now multiply that by dozens and add a few custom directories full of project files and other fluff from each of those IDEs...
And then someone decides to create that new project using his Netbeans where everyone else uses Eclipse...

jwenting 1,905 duckman Team Colleague

There exists a group of people called skeptics that arn't so easily persuaded. Unfortunatly, it's the masses that are important here.

most so-called skeptics I've encountered are just as much sheeple as the masses.
They're blinded by their mistrust of specific things, to the point where they mindlessly ape the exact opposite, however ridiculous.

E.g. I've met a lot of self-proclaimed skeptics who're religious believers in AGW, without ever having read a single independent paper on the topic they scream the party mantra of the IPCC that "you have to believe, because we say so it is true".
Even if it's true, that's not the skeptic's way.
And yes, there's other skeptics who mindlessly denounce AGW without ever having read anything about the topic but just assuming that because "the government tells it it must be a lie".

And the same about just about anything.

jwenting 1,905 duckman Team Colleague

iamthwee every company has its rogues, and sometimes they can get away with it for a while.
I've worked for one big company where a rogue VP who led the department I worked for got away with buying millions of dollars worth of hardware and software outside of "official channels", from brands different than those dictated by official policy, for several years.
Of course in the end it bit him hard, his department was shut down, the hardware and software discarded, the people (good hands, most of them) he'd gathered around himself forced out of the company because we were all "tainted", all the years of hard work by all of us thrown out with the bathwater.

And yes, it's not always set in stone. Especially on smaller projects there's often not that much oversight. Or you're free to choose your own tools as long as you can work with the official ones as well and your choice doesn't interfere (no corrupting the official project files etc.). But for the most part it's usually easier and much better for your career prospects to stick to the official toolset.
What I've done at times is install other tools in tandem, use those where they were really superior (and not just "nicer") and then try to convince people with the power to make such decisions to get those tools added to the official set. But always try to make a valid business case. Just installing Netbeans and refusing to …

jwenting 1,905 duckman Team Colleague

and wrong too

jwenting 1,905 duckman Team Colleague

There are many possible reasons for standardising on a specific IDE.
While company politics and personal preference of people in positions of influence with management often come into play during the initial selection process, they're utterly irrelevant once the decision has been made.

ANY standard is probably better than none at all for productivity.
What a standard work environment gives you is easier project management, just put the project files and structure into your version control system (and there too it doesn't matter which you use so much as that you use one and preferably one that integrates nicely with your other tooling) and now everyone can just check out entire projects and be up and running in a few minutes from when their machines are configured.
It's also a lot easier to sit down with a colleague and work together on a single machine for a bit if you're both fluent in the use of the same tools.
And finding help if you run into a snag becomes a lot easier as well. Why spend hours searching the internet when you get an error dialog from your IDE you've not seen before when there's 5 guys in the room with you who're all expert users of that same IDE...

While I have personal preferences, and if I were asked to set up an environment from scratch (and given a free hand in doing so) that environment would likely reflect those preferences, I'm by now well …

jwenting 1,905 duckman Team Colleague

sounds like you have an operating system that has some serious issues with its standard strings. Maybe upgrade to a better operating system?

jwenting 1,905 duckman Team Colleague

as the location APIs you're going to have to rely on are internet based web services hosted by for example Google, you're going to have to rely on the internet...

Of course it's possible to write such APIs yourself, but it's a lot of work.

Your devices will likely also want to communicate using 3G networks, again that's internet based.
Using SMS instead is certainly possible but a lot more expensive.

jwenting 1,905 duckman Team Colleague

so they block you because you're a spammer and now you're asking for help on how to create more accounts to continue your spammer activities...
Doesn't seem like you've learned your lesson.

jwenting 1,905 duckman Team Colleague

look better, all we can tell you...

jwenting 1,905 duckman Team Colleague

it doesn't handle negative grades...

JeffGrigg commented: Yes; that's what we needed to know. +6
jwenting 1,905 duckman Team Colleague

@moaz, you might want to learn to be polite to people. It often helps to get help from them...
You might also learn to think for yourself, it helps you not need to ask for help so often.

And of course you might learn to search for information yourself, helps a lot too.
You can download the API docs (or reference them online) from the same place you can download the JDK...

jwenting 1,905 duckman Team Colleague

I'm sorry, we can slove problems sometimes, soloving them has never been our strong point.

jwenting 1,905 duckman Team Colleague

Must be cultural. I've rarely if ever seen a coder with a beard here, and most of those were older guys who slithered into the profession from other jobs, usually Unix sys admins and DBAs who were shifted into being PL/SQL programmers and then Oracle Forms programmers, and later became Java programmers when ADF started replacing Oracle Forms.

jwenting 1,905 duckman Team Colleague

cold packs against the swelling might help, as reduced swelling reduces pressure it should also reduce the pain.

Other than that, keep your weight off it, don't wear any shoes that press against that toe, and fingers crossed.

jwenting 1,905 duckman Team Colleague

well, the compiler can throw Exceptions and crash ;)

jwenting 1,905 duckman Team Colleague

yes, go to Oracle instead ;)

jwenting 1,905 duckman Team Colleague

tutorialspoint, the new roseindia...

jwenting 1,905 duckman Team Colleague

Seen them used in some companies as flashy accessoiries in demo rooms and reception desks.
Tried one even, was indeed highly uncomfortable.
Ramming your fingers down on a hard surface with no tactile feedback you get from a real keyboard doesn't make for a nice typing experience.
But it looks good, high wow factor, which makes them ideal for product presentations and impressing visitors in "high tech campusses".

jwenting 1,905 duckman Team Colleague

problem solving is about the only thing you realistically learn in school.
Unless of course you don't put in any effort whatsoever and just mindlessly cram for your tests.

jwenting 1,905 duckman Team Colleague

Wouldn't it just be easier to say "gun shot"? Even "gun shot wound" is easier to say than "GSW"

"a single bullet to the chest" sounds far more like what they'd say in reality, and in official documents they'd write it out in full rather than use an acronym...
But it sounds "catchy official lingo" I guess, which is all that counts on television.

jwenting 1,905 duckman Team Colleague

And most regulars don't care about rep points anyway.

iConqueror commented: one rep to you :) +0
jwenting 1,905 duckman Team Colleague

no, we're not going to help you to pirated books and other stolen property.

jwenting 1,905 duckman Team Colleague

do you really think he's still loitering here, just waiting for someone to come in and ask him to do their homework for them?

I seriously doubt it.

jwenting 1,905 duckman Team Colleague
  • Get piece of paper
  • Get pencil
  • Get cup of coffee
  • Start writing with one hand while sipping coffee with the other

there you go

jwenting 1,905 duckman Team Colleague

books about core concepts are ok. Swing isn't changing much, and hasn't changed much in years, so a book is good.

The main problem with books is books about The Next Big Thing (tm)(r) as such things tend to not last long enough for books to be written about them that are more than rubbish before the hype blows over.

jwenting 1,905 duckman Team Colleague

A big part of making websites is creativity. You're showing that you're not creative, not a good start...

Anyone can learn to hack some html together. It's the rest, which you want us to come up with for you, that's the part that sets the amateurs apart from the professionals...

jwenting 1,905 duckman Team Colleague

another problem is that the bridge driver has been removed in Java 8 and has been seriously buggy and unsupported for at least a decade in older versions.
Use a real database.

Another problem is that you never properly dispose of your database objects, don't close your connection, etc. etc. which is very bad.

jwenting 1,905 duckman Team Colleague

And of course you'll need criteria to determine what is "best"...

By now you should know that you are not to just dive in and start hacking some code together, but that 90% of your time is going to be spent thinking and researching.
And that does not mean dumping vague, extremely broad, questions on some forum and hoping someone will present you with a fully polished research paper or piece of software on a silver platter a few hours later.

jwenting 1,905 duckman Team Colleague

don't even have to remember who won, just that someone has won at which point the game resets (or just stops).

jwenting 1,905 duckman Team Colleague

Prime arable land. 2 crops/year. Jungle-like (selfmade) tools and animals.

IOW subsistance farming, slash and burn farming techniques. The least effective at all, and a prime cause for destruction of rain forests all over the tropic, a big cause for the arification of Africa and suspected of being part responsible for the arification of Australia.

It's back breaking work too. You'd best have some slaves or expect to either starve to death when you grow much over 40 years old because your back gives out or have a lot of children (most of whom will die in infancy) to carry on the work and hope they'll feed you.

jwenting 1,905 duckman Team Colleague

Stalin of course did have a slight advantage over Hitler in that he had 30 years to do his dirty work, Hitler only had about 13...
I seriously doubt whether there's much to choose between them, both in ideology and implementation both were rotten to the core.

jwenting 1,905 duckman Team Colleague

learn English so you can describe your problem in such a way that people can understand it...
And learn programming so you can implement your solution and show people what you have and tell them where you're stuck.

jwenting 1,905 duckman Team Colleague

If you've tried, show what you tried and where you failed.
If you've not tried, try.

jwenting 1,905 duckman Team Colleague

And learn some math. You're not going to be able to create a working calculator if you can't do the math you're supposed to have it do for you...

jwenting 1,905 duckman Team Colleague

Google works, any failure of it to provide you with information can be traced back to user error.

jwenting 1,905 duckman Team Colleague

make a database, containing the information you need. Then use the user input to query that database and get the data you need to return.

Or just keep a list of things in memory, for something trivial like this that's much easier.

jwenting 1,905 duckman Team Colleague

it's not cultural rejection, it's political rejection. It stems from the same reason as the call for "population control", the wish to massively reduce the population of the planet.
And what better way to do that than to cause famine, and prevent diseases from being cured...
That's also why DDT (which is perfectly safe) had to go.

jwenting 1,905 duckman Team Colleague

Once you get comfortable with the different user interface (which cost me a few hours at most), there's very little difference for all sense and purpose.

jwenting 1,905 duckman Team Colleague

It's impossible to answer that question without knowing the level of technology available to those people as well as a lot of other things.
A nomadic hunter-gatherer society needs a lot of room per person, a society employing industrial scale agriculture with high yield crops, field rotation, efficient water recycling systems, intensive animal husbandry, etc. etc. needs far less.

That's one big reason why the current world population has more food per person available (on average) despite being far larger than what was estimated would lead to perpetual famine just a few decades ago (another reason is that the people coming up with the estimate were deliberately alarmist, their very agenda being one of forced depopulation of the world down to a few hundred million, they're still at it to this day).

jwenting 1,905 duckman Team Colleague

The page says exactly what it is...

Which translates into human readable text as: the dot product gives the distance between points in space.
In this case that's the distance between a point and a plane.

jwenting 1,905 duckman Team Colleague

What we are going to see, and soon, is far more control over the internet by governments, far more restrictions on what you can do there, with eventually entire countries being unable to communicate with entire other countries.
Think the Great Firewall of China erected around every country or group of countries, active and passive censorship (all in the name of "protecting morality", "fighting terrorism", "stopping bullying", "preventing muslims from getting upset", etc. etc.).

That's going to affect everyone, obviously. The spread of information around the world we've come to expect and rely on will slow to a crawl, what is spread becoming seen as just government propaganda, and peoples and countries will end up as isolated as they were in the 1950s.

almostbob commented: You are right, and I hate that you are right, I like seeing everything I can think to look at +0
jwenting 1,905 duckman Team Colleague

Corporatization/monopolization of the internet -> this has already started but I expect in 5 years most uses of the internet will be dominated by a single company, and there will be far fewer start-ups.

They've been saying that for 20 years...

Possibly Quantum computing (hard to know if that is 5 or 20 years) from large-scale adoption.

Same

I suspect some more professionalization of programming (eg. self-regulating accreditation bodies like doctors and lawyers)

nope. Those are just government granted monopolies to lobby groups.
Doesn't work in an international context.
And as I can hire programmers in Uzbekistan to do my work for me if the ones in my home country are too expensive because a labour union demands they pay tens of thousands of dollars to get a permit from them to do their job, that's exactly what's going to happen (and that's exactly what most all "professional licensing" amounts to).

Probably more secrecy since the US patent system is becoming more strict about what algorithms/software is patentable.

That's been going on for decades as well. In fact in many countries it's illegal to use any encryption at all. And in other countries it's illegal to ship any encryption code to other countries (and/or you need a government license to use such code).

jwenting 1,905 duckman Team Colleague

uh, you have to learn to think for yourself at some point...

jwenting 1,905 duckman Team Colleague

and that means not putting c:\images\myimage.png as the image location in the html you generate.

jwenting 1,905 duckman Team Colleague

Such software exists. Just use your favourite search engine to find suppliers, contact them for demos, select the one that best matches your needs, and purchase licenses.