jwenting 1,905 duckman Team Colleague

no different really than have your black panther buddies parade with truncheons in front of polling stations in districts known to be overwhelmingly in favour of your opponent and telling people "you really don't want to vote today"...

jwenting 1,905 duckman Team Colleague

It is considered an offense to have more than two colors of paint on your house. (Beaconsfield )

Good thing the city I live doesn't have that law.
As per the building codes I am required to use a specific set of colours, I think it's 7 of them for various parts of the house (front door, door frame, windows, window frames, front wall, back wall, window sills, roof line, all have prescribed colours).

jwenting 1,905 duckman Team Colleague

They're all irregular too. Neil Diamond grates on me period.

when I first read that I read 'Neil Diamond grates on my period" for some reason.

Now for something that constantly irritates me, all those "apps"...
"There's an app for that", YUGH. Running an app on your tab? hmm.

jwenting 1,905 duckman Team Colleague

And even if you make something that contains no flaws of its own, it's going to be compiled by a compiler that might have flaws, run on a runtime that has flaws, which exists on an operating system with flaws that runs on hardware with flaws and is used by end users who are definitely flawed.

jwenting 1,905 duckman Team Colleague

without giving reasons why "they are the best" that's an utterly useless statement.
No surprise then that's it's wrong as well. They maybe be "best" for some purposes but certainly not for all, and I'm sure that there's other brands that produce specific boards that are superior for gaming than specific Asus boards.

Same with NVidia vs. AMD cards. NVidia has the better OpenGL support, which may or may matter to you.
But that's true only right now. A year from now AMD might well have superior OpenGL support (they've already improved markedly just by making improvements to their drivers over the last several months).
DirectX support is pretty much a tie.
Remains heat and bus speed, and that's not related to chipset brand at all but rather to design choices in individual cards from individual manufacturers.
For my next machine, I'll probably choose NVidia simply because I can benefit from their current superiority in OpenGL support, but the difference isn't large enough that I will pass up a heavily discounted AMD based cart that would get me a card with higher specs than a similarly priced NVidia based card.

jwenting 1,905 duckman Team Colleague

Today's prices for one representative type of modern RAM in a normal price store (so no stunt prices):
4GB 41 Euro
8GB 78 Euro
12GB 135 Euro
16GB 179 Euro
32GB 344 Euro
64GB 662 Euro

As you see, it roughly doubles as the size doubles. This type doesn't come in 2GB modules btw, those are only available in the lower end types.
But placing those separate, you see the same effect:
512MB 15 Euro
1GB 26 Euro
2GB 55 Euro

which shows that old style RAM modules are actually more expensive per GB than new ones (almost twice as expensive in fact).
This of course is due to production volumes. The old modules are produced in small volumes, making them more expensive to manufacture than the new ones simply because the manpower needed to run the production lines now needs to be paid for by lower volume of sales.

So does the price come down? Not really. Discounting those different manufacturing costs the price per GB of modules in the same range is pretty much independent of the size of the module.

jwenting 1,905 duckman Team Colleague

you're both wrong in that you both attempt to give the kid a complete working solution to his homework assignment.
That's against site policies and for very good reasons.

jwenting 1,905 duckman Team Colleague

let's try to keep the partisan mudslinging out of this? Election fraud is of all times and all parties, all you end up doing is have shouting matches about "who does it more" which depends in part on what you consider election fraud to be, which some to extend to their political enemies running election campaigns and asking that voters show proof of their being allowed legally to vote at all.

jwenting 1,905 duckman Team Colleague

Maybe we need the purple ink used in Iraq?

it sure helps prevent people voting multiple times, not counting absentee voting of course, but won't prevent election fraud by those counting up the results (there's really no way at all to prevent that).

jwenting 1,905 duckman Team Colleague

I think electronic voting has been proven to be even less reliable then paper voting either because of bugs in the electronic software or hackers. It wouldn't be difficult for a programmer to write the software which auto votes for a particular candidate regardless of who the voter intended

Several years ago that's exactly what happened in the Netherlands.
Hackers intent on showing the security problems with the voting machines broke in at the factory, stole a chipset, reprogrammed it to always vote for the same candidate, broke in at the national storage facility for the machines sitting there ready for upcoming elections, modified a machine, and got away without anyone noticing.

They didn't even have to change the software for the PCs used to control the voting machines and record the votes, but for good measure they did that as well.

And that's doing it the hard way...

As a result election law was changed from requiring the machines to requiring votes be the old fashioned way using a red grease pencil on paper.

Now the government is threatened with being decimated in the next election cycle and they've started rewriting the law to require those same machines be used again.......

jwenting 1,905 duckman Team Colleague

yes, you can do that but it takes up a lot of extra memory and CPU cycles as supposed to simply looping through the already existed and sorted array in reverse order.

jwenting 1,905 duckman Team Colleague

and why would he need mySQL drivers anyway? Where does it say he's using mySQL?

jwenting 1,905 duckman Team Colleague

file looks rather simple as config files come.
And as you say the system is open source, you have access to the original parser to see how to parse it already and what each field means.

Combine that with a web interface you make yourself in something that you know already (php, asp, jsf, ror, whatever) and you're good to go, all you now need is to write something that writes the file.

jwenting 1,905 duckman Team Colleague

without saying why, that doesn't really help anything...

jwenting 1,905 duckman Team Colleague

There are books out there that are utter rubbish, mostly books written by people with a "name" in one field about another and using that "name" to give the work an air of authority.
Sadly such things get published and pushed hard by publishers who have no clue that they're printing rubbish (or simply don't care).

diafol commented: fair one +0
jwenting 1,905 duckman Team Colleague

Struts? Never used it in the over 15 years I've used Java professionally and no interest in starting.
Hibernate? .NET has similar functionality built in so you're going to need to learn something like it anyway.
Better learn JPA rather than Hibernate specific ways of doing things and you're a lot more flexible. And I'd hardly call that "advanced"...

Stop trying to draw a line somewhere and think that anything beyond that is "advanced" and therefore hard. It's not.
It's all just tools, and you need a set of tools to do your job.
Just like a screwdriver is not an "advanced" tool for a carpenter who's never used other than a saw and a hammer before, JPA is not an "advanced" tool for a Java programmer.
If you want "advanced" take a look at something like ADF or Spring Integration.

jwenting 1,905 duckman Team Colleague

For example, a friend of mine used to have an internship job where his job was to go around an entire power-plant and note down every temperature / pressure readings on the piping, and then come back to the office and enter them all into Excel, and then repeat. It would probably have been much more productive with a tablet from which he could just enter the values directly.

And have the tablet automatically record where he is using the GPS so he doesn't even have to fill in the sensor number, the system derives that from his location.

It's actually nearly one of the sample use cases Oracle uses to describe what a mobile device is good for.
They describe a pipeline inspector logging places in a miles long pipe that need repairs by walking or driving along and entering a log as he goes, then at the end hitting a button to upload the entire report to the head office (or even doing that on the fly if the device has 3G capability and there's a connection).

For me, it's mostly a device to contain documentation. Saves me lugging a dozen pounds or more of paper books around with me all day every day.
For note taking I still use pen and paper, as it's much more comfortable for stuff that doesn't need to be stored (mostly it's just notes of things I need to do next, rather than meeting notes or stuff like …

jwenting 1,905 duckman Team Colleague

once in a while some new form of spam makes it into the inbox, maybe one every other week or so.
There's false positives though, mostly overzealous spam filters flagging mailing lists as spam because of the volume or masking the original sender.

Overall, the spam volume (including what ends up in the spam folders) has dropped a lot over the last year or two, from hundreds a day to a few dozen a week.

If you get flooded, most likely you signed up for a lot of "newsletters".

jwenting 1,905 duckman Team Colleague

I need a keyboard, and an on-screen one that would sit vertical when I have the screen in a comfortable position would be useless, even if it were comfortable to use which an on-screen keyboard isn't.
And of course a 7" or 10" screen is just too small for serious use to replace a 15" laptop. Especially with that on-screen keyboard taking up 50% of the screen.

jwenting 1,905 duckman Team Colleague

Its not homework, its a sample problem.

it's still homework, just self imposed homework...
Same logic applies, if you wait for others to do it for you you won't learn anything.

jwenting 1,905 duckman Team Colleague

it's telling you to add the driver to your classpath. That's wrong with it and that's how to fix it...

jwenting 1,905 duckman Team Colleague

https://github.com/

Home of git.
Bottom of the page leads to: https://enterprise.github.com/pricing

prices starting at $5000 per year.

jwenting 1,905 duckman Team Colleague

hmm, sounds like he has a method that paints a Swing component. Not something you are going to automagically test with JUnit.

jwenting 1,905 duckman Team Colleague

get a faster computer.

jwenting 1,905 duckman Team Colleague

Git you have to pay to be allowed to host your own server. It's right there on their website...

jwenting 1,905 duckman Team Colleague

and show some initiative to do your own research...

jwenting 1,905 duckman Team Colleague

hmm, simplest way to launch a Java program from another Java program is to load the classes onto the active classpath, load the main class into a classloader, and then execute the main() method on that class.

No need to use ProcessBuilder to create a new JVM, just make sure you have the jar on your classpath and call SomeClass.main(new String[]) or something like that :)

jwenting 1,905 duckman Team Colleague

And there's a big part of your problem. You're using a 30 year old compiler, no doubt older than you are yourself, and expect it to work properly with new versions of the language on new computers with new operating systems.
Use something reasonably up to date instead, or find yourself a 286 based computer running DOS and the programming manuals to go with it, then try again using that.

jwenting 1,905 duckman Team Colleague

hmm, most likely that's the size of his entire project which includes the precompiled assemblies for half of .NET.

jwenting 1,905 duckman Team Colleague

hmm, "no one has posted the code" followed directly with "I expect no one to do my work for me". That's contradicting yourself...

jwenting 1,905 duckman Team Colleague

hmm, a Smart is a Mercedes, technically (they own the brand...), not a BMW.
Now a Mini, that is a BMW :)

OP, there are a ton of introductory tutorials available on Java, I strongly suggest you work your way through at least the one's on Oracle's own site at the OTN before you even attempt to get a job as a junior. As a senior I'd expect you to have at least 5 years and hopefully closer to 10 years of practical experience.

jwenting 1,905 duckman Team Colleague

well...

call a method within AQAReadTextFile2013.java,

sounds very suspicious, even more as he doesn't even list such a file among what he claims to have available.

jwenting 1,905 duckman Team Colleague

@NardCake I'm fully aware of what version control is, thank you very much. I've been doing it for 20 years now, longer than many of the visitors to this site have been alive.

Git stores your data off site from you, in what's these days called "the cloud". And that's a problem. Data security is vital for me, and that includes controlling my data, my source code.
Yes, you can buy a license to host your own repository, but there's plenty of other options out there that are just as good (like SVN) where there's no such cost involved.

jwenting 1,905 duckman Team Colleague

formal training is always good, much better than just diving in with no guidance and muddling along.

As to this specific situation, learning your database first is probably better than learning it later, at least enough that you can do the basics needed for what you're really after (making tables, inserting and retrieving data, etc.).

And don't focus blindly on a single language.

jwenting 1,905 duckman Team Colleague

only reason I slow down near accidents (if there's no traffic jam forcing me) is so I don't get hit by people running around without looking at traffic (including any emergency crews...).

As to survivor shows, those are the most heavily staged of all.
If you look even a bit, you see the "survivors" appearing every "morning" of their "ordeal" freshly washed and shaven, in clean clothes without a hole or gash in them, and no doubt after a hearty breakfast.
IOW they're just play acting, and are removed to a comfortable hotel or lodge after shooting the daily episode in half an hour or so.

jwenting 1,905 duckman Team Colleague

my guess: he has 4 source files and expects that he can just call methods in those without compiling them.
Another guess: he has loose methods in those source files that are not inside any classes.

jwenting 1,905 duckman Team Colleague

Actually, mathematically a circle is defined by its center and radius so that's all you need to know to store the data.
I wouldn't be at all surprised if the graphical API you're using has a method that will draw a circle on screen using those same things. And then it's just a question of converting the data you have to the coordinate system required for the API (it won't need geographic coordinates and miles but pixel coordinates and number of pixels), which is a scaling problem you'll have to write something for (or which might exist as part of that same API if it's intended for geomapping).

jwenting 1,905 duckman Team Colleague

I have in the past hosted my own CVS and SVN servers, those work nicely for me. When and if I once again have need of a version control system SVN is the most likely candidate.
Good tool integration with the rest of my environment makes it a logical choice.
Already knowing how to set it up helps too :)

Mercurial support in my chosen tools (including my brain) is severely lacking.

jwenting 1,905 duckman Team Colleague

and let's hope that the streaming of the image into the blob left it in a state where calling getBytes() on it would leave you with data that createImage() can interpret.

jwenting 1,905 duckman Team Colleague

main problem I have with git is the same problem I have with anything "cloud" and that's that your data is out there out of your control, with only the promise of the current owner of the server/service that they'll not take it for their own and sell it and/or shut you off from your own data as a guarantee for future access.

jwenting 1,905 duckman Team Colleague

Let's see, we need a villain, a bitch, a lazy black guy and an entitled black woman (note the pandering to stereotypes that help to reinforce racism), a nerd and a hunk. We also need a blond with fake boobs, and don't forget the gay guy.

I think you're being too harsh on the people selecting the cast.
Yes, the need a black guy and a black woman, a homosexual, a couple of Asians, some latinos, etc. etc.
But that's not for stereotyping but to prevent being sued for not being "inclusive of minorities".
And the average watcher (which is the only type of person you'd find interested in taking part in such shows) will guarantee you end up with those stereotypical people you describe.

And thus it becomes a self reinforcing spiral, people who don't match the stereotype become even less likely to like the shows enough to want to take part, as they can ever less identify with the people they see in "reality shows" and thus drop from the radar.

jwenting 1,905 duckman Team Colleague

learning to do it in code is what you're taking those classes for. So go ahead and try...
If you just wait for others to do it for you and hand in what they have done as your own you've learned nothing except how to be a dishonest, cheating, lazy, profiteering, liar.

jwenting 1,905 duckman Team Colleague

Real Vancouver House Wives and I was beside myself thinking that there were actually people like that in Canada.

Don't know that 'show' but if it's like the stuff that's printed in the headlines here as superimportant information about the "stars" of shows here with similar names I have a similar reaction...
Though I comfort myself with the idea that as long as they're all locked up in a Big Brother House they can do little harm to society ;)
Of course even more disturbing is that there are enough people interested in watching that dreck for hours a day to make it profitable from the advertising income alone to create and air the shows.

jwenting 1,905 duckman Team Colleague

indeed, there's only 1 reason to still need jinitiator, and that a poor one, which is if you're still needing to support it because an organisation refuses to keep its IT infrastructure more up to date than what was current about 5 years ago.

jwenting 1,905 duckman Team Colleague

check what line 86 of that CallbackServlet says...
That'd give you an idea of where you're passing incorrect information.

jwenting 1,905 duckman Team Colleague

vmanes, the Marines allow their Force Recon to select their own weapons. Interestingly, most of them by far select the 1911 over the Glock (I think the Rangers and SEALs have a similar policy, not sure).

jwenting 1,905 duckman Team Colleague

" Same thing with the virus. Going from 1 case to 3 is not so bad. Going from 1000 to 3000 is serious."

You do the same thing, pulling numbers out of context. 3000 out of 10.000 or 3000 out of 100 million?

"For star trek I always wonder why holodec safety protocols can be turned off like a flick of a switch? I mean really why on earth should they be able to be turned-off at all?"

That's explained. The holodeck is used for different purposes, military training and civilian entertainment. For the military scenarios it's needed to turn them off.
Ditto with some medical training.

"Medical drama's are no better than the cop shows, resustitation (CPR, defibrulators) is not usually successful and even if it is the patient often ends up with brain damage or other serious conditions."

I just assume they don't show the majority of cases they have to deal with :)

jwenting 1,905 duckman Team Colleague

same way...

jwenting 1,905 duckman Team Colleague

I do know that jInitiator is extremely picky about what JVMs it works on. It's quite likely you need to seek your problem in that area, incompatible JVM versions.
Your best place for support would be Oracle themselves, if you've the licenses to use that stuff you're going to have a support contract with them as well :)

jwenting 1,905 duckman Team Colleague

yes, it's binary, much nicer than 10102