jwenting 1,905 duckman Team Colleague

graphite is not asbestos, a tool shop is not a mine... If you got a lot of graphite (and I guess other) materials in your office from the tool shop next door that means just what I noted, there is poor filtration of the air causing pollution to spread.
By your own (and ADs) logic, offices are a major source of graphite dust because that's where the dust was found.
Of course in reality the graphite was most likely put into the air in the toolshop where it is often used as a lubricant for lathes and other machines.

jwenting 1,905 duckman Team Colleague

DropBox has admitted that unless you encrypt your files before uploading they can be accessed by the authorities upon request.

which is not surprising as they're legally required to provide such access...
In fact encrypting the content might leave you liable to criminal charges of obstruction of justice in case there is a court order to access those files and you refuse to supply the means to decrypt them.

jwenting 1,905 duckman Team Colleague

note that the article doesn't even attempt to hide its hostility towards deBeers, I'd not trust it to be in any way objective about the seriousness of the situation.

As to asbestos in mines, hardly surprising. Even if there's no asbestos associated with the presence of kimberlite (afaik there is no such association, I've read some about diamong mining that would have I think stated such a link but I'm no geophysicist or geologist) we're talking about Africa here and it's pretty much guaranteed that there's asbestos, PCBs, you name it for nastiness in the machines, buildings, and insulation material used.
The same is true in Africa outside the diamond industry, so if deBeers claims there's no health issues that claim must be taken relative to the conditions the miners would encounter in other jobs they could hold, not as an absolute.
http://www.asbestostrust.co.za/asbestos.htm states asbestos was mined in southern Africa but mentions no link between the mineral and diamond deposits (and asbestos mines exist(ed) all over the world, including in areas where diamonds/kimberlite can not be mined).

jwenting 1,905 duckman Team Colleague

you said you have IDEA... Do learn your tools.

jwenting 1,905 duckman Team Colleague

you should read about the beaver population in Yellowstone as well, BigPaw.
It's part of the same story.

jwenting 1,905 duckman Team Colleague

So it looks like simply telling users they can change their cookie options in browser if they want to should suffice, without the need to add opt-out code and handle silly things like this.

yes, that's sufficient under the letter of the law. Under the spirit of the law you have to actively get their agreement and log that, which of course is impossible without cookies, so if people decline they get that popup on every page, every visit, which is why the entire thing is currently under review as it is clearly impossible technically to comply with and still give users a decent user experience.

jwenting 1,905 duckman Team Colleague

But how can you be legally responsible to uphold all laws worldwide? There might even be explicitely conflicting laws between two different countries?

yes, that is a problem that website operators (and others) on the internet can face.
For example Linden Lab was sued in criminal court by German and French prosecutors for allowing sexual activity in places where avatars modelled to look like minors can enter (in Germany and France it is illegal to have images of sexual activity being witnessed by a child, even if hat image is a cartoon or other non-photographic depiction. In the US only photographic depiction is illegal).
As a result they changed their TOS to disallow that combination, the alternative being blocking access to their service to those countries.

Another case I am familiar with had a Spanish national upload pirated content stolen from a UK company to servers in Italy where US citizens could download it.
The resulting criminal and civil cases stretched for months, nobody could agree on which law was applicable in this case (UK where the content had been stolen, Italy where it was hosted, Spain where the pirate resided, or whatever country the people who downloaded that content were residing).
In the end the hosting provided gave in and removed the content to avoid being driven out of business by the legal cost, but it soon reappeared in yet another country with no respect for IP ownership at all.

jwenting 1,905 duckman Team Colleague

Dropbox works for me, and doesn't have the problems some people are having with Skydrive where trying to load a file into their applications that's hosted on Skydrive causes their computers to crash (which is probably due to those applications, not Skydrive).

jwenting 1,905 duckman Team Colleague

tarmac, hangar, graveyard, museum, airport, name your context.
What type of "keeping"?

jwenting 1,905 duckman Team Colleague

Most (all?) such "studies" are conducted for only a single purpose: to generate an excuse for someone, somewhere, to either legislate or sell something.
The general public doesn't understand sample size, the press only prints the executive summary which doesn't mention it, and politicians cherry pick those lines that advance their talking points (in this case that'd be "smoking is bad, we need to tax it more").

Of course by adding the standard line at the end that "more study is needed" the "researcher" both ensures he'll get more money to continue his lifestyle, and a strong case for deferring any complaints about the correctness of his results to the lack of that additional research.

jwenting 1,905 duckman Team Colleague

"Russians are a nation of thieves - an opinion from inside. I hate them all.
I'm not a Muslim, or a Jew. My both parents are from Bielorussian villages."

and much of the rest of the world considers Belorussia to be a nation of thieves...
In fact Belorussian criminal gangs are a major problem in western Europe, far more so than Russian gangs and far more violent.

jwenting 1,905 duckman Team Colleague

asbestos and radiation are actually counter examples of your claim, Agilemind. The risks of both have been blown way out of proportion, especially since the 1970s.

In fact the blanket ban on anything called asbestos had as its main sponsor a group of manufacturers of other fire insulation materials, who launched a public scare campaign against asbestos after they themselves had stopped incorporating it into their products because mining of brown and blue asbestos was causing too many cases of asbestosis among the miners (white asbestos is perfectly safe, but was included because the public didn't know the distinction, educating them would be too hard it was considered).

jwenting 1,905 duckman Team Colleague

IDEA (IntelliJ) is an IDE, not a compiler. You need to install that separate.
Of course you don't need a compiler to run Java programs, you need a Java runtime (which comes with the compiler).
You need a compiler only to compile the source code of whatever you end up writing.

jwenting 1,905 duckman Team Colleague

and it hardly matters. Most "dieticians" and their publications promote a lifestyle almost designed to produce obesity.
A diet high in carbohydrates, low in proteins and fats, combined with a sedentary life (and that's what society ever more prescribes, replacing outdoors activities with playstations and televisions, even going so far as to send the police to arrest parents who dare to let their children play outside sometimes) is the real problem (and a diet that's not tailored to the individual, but rather decided on as a one size fits all solution).

jwenting 1,905 duckman Team Colleague

smoking often starts at a young age by aping others, older kids (or parents, TV stars, teachers, etc.) who are smoking, and are looked upon as role models.
Very few people start smoking without such a role model (the foul taste, the acrid smell, of even the first draft on a cigarette (which is how most anyone starts smoking) is enough to put you off for life unless you have a powerful role model you want to personify with).

As schizophrenics are mentally unstable in one way, it's no surprise they're unstable in others and therefore quite possibly more likely to behave such aping behaviour, and less likely to have the mental strength to stop smoking later in life.

jwenting 1,905 duckman Team Colleague

how many badgers are there, what's their density, etc.?
It's nice to say you're against something, but I've seen the result of blanket bans on culling certain species of wildlife and it's not pretty.

Here it's wild boars. They're running rampant, destroying entire forests with their digging and foraging, breeding out of control, and causing a large number of traffic accidents. People have even been attacked by them in their own gardens in towns and cities.

Without natural non-human predators (which were hunted to extinction centuries ago) hunting by humans is the only way to keep their population under control, until they destroy their living environment to the point where disease and malnutrition do the job (at which point "animal conservationists" will step in and start feeding them food laced with medication, delaying the inevitable).

Our countries are too small, the natural habitats of larger wild animals too fractured, to support a complete ecosystem up to and including top predators like wolves and bears in sufficient numbers to be self-sufficient.
And the UK has it worse, as there's no way for those top predators to travel to areas in other countries that might be linked in some way (as is the case in the old forests along say the German and Polish borders now that the iron curtain with its electrified fences and minefields has been largely removed).

Ergo, some level of culling may well be required to keep the remaining population balanced, hard though it may be …

jwenting 1,905 duckman Team Colleague

you might well be able to send email directly from your database from a trigger on the table that you're monitoring.

bibiki commented: I did not know that +4
jwenting 1,905 duckman Team Colleague

of course the very act of checking an object to see if it's in the garbage collection queue may well remove it from the queue, and is likely to itself generate objects that make it on to the queue the moment your check ends.
Therefore the check is useless. You have a Schroedinger's cat situation here, you can't check the queue without changing the queue.

jwenting 1,905 duckman Team Colleague

who'd have thought, people being unfaithful with foreign apples...

jwenting 1,905 duckman Team Colleague

that's not "Java", that's a third party library some kid (no doubt) wrote for his homework project (no doubt), just like what you're trying to do (no doubt at all) by stealing someone elses' code and handing it in as your own.
Learn programming, and you can solve your "ATM assignment" in any language you choose to learn a bit about to the satisfaction of your teacher.

jwenting 1,905 duckman Team Colleague

well, you're trying to read from the resultset (on line 10) before you've progressed the pointer to the first record, which is what's causing that error.

jwenting 1,905 duckman Team Colleague

read some tutorials, experiment, then reengineer. There is no other way.
And yes, that's deliberately vague as not only are you being vague so no more specific answer is possible but it's something you'll have to do yourself.

jwenting 1,905 duckman Team Colleague

not going to happen, period.
And for very good reasons. Performance, security, etc. etc.

jwenting 1,905 duckman Team Colleague

Remember that "experts" have by now redefined "obese" to be "not anorexic", so it's little surprise that "experts" find that almost the entire population of the planet except those living under a famine are obese.
Sells a lot of dietary supplements and expensive consults with dieticians, and gives CPS an excuse to steal any child they want claiming the parents are "negligent" for not "preventing their children from becoming obese", the same CPS who steal children from parents who let them play outdoors and work off that excess energy and calories rather than doping them on ritalin and dumping them on the couch with their playstation controllers.

jwenting 1,905 duckman Team Colleague

define "better" :)
It's certainly convenient, if the files aren't very large.

jwenting 1,905 duckman Team Colleague

well, many managers love to see nice screens coming by in demos even if the data behind them is all bogus :)

jwenting 1,905 duckman Team Colleague

you're going to have to learn Java if you're going to use it, there's no way around it.
Trying to push an entirely different development model into the language isn't going to get you very far.
With your attitude you're setting yourself up for a very rapid failure.

Follow some Swing and applet tutorials, and you'll see instantly that what you're trying to do isn't going to work.

jwenting 1,905 duckman Team Colleague

do your own homework, kid. We're not here to regurgitate the specs documents for you.

jwenting 1,905 duckman Team Colleague

the question makes no sense, the answers therefore are unrelated to the question :)

Java is not intrinsically "more secure" than anything, at most it has been designed to make it easier to program applications to not suffer from things like memory leaks, but that's not security (though it might be part of a secure application).

jwenting 1,905 duckman Team Colleague

other online communities are also experiencing an increased level of griefing and other attacks.
I'm active in second life, and there we've seen an alarming increase in griefer activity, with the clear intent to deny users and content owners access to selected parts of the infrastructure.

General idea is that these are random vandalism, but there's ever more indication they're directed attacks by people intent on either hurting the community as a whole or people having to gain from certain people leaving the community or at least abandoning their property (which would then be up for grabs by others, mostly the attacks are focussed on high value land which could bring certain people a lot of money if they could gain it cheap and resell it for its actual value, more than one user has seen himself the target of denial of service attacks after refusing offers to buy their property at ridiculously low compensation).

jwenting 1,905 duckman Team Colleague

Partial solution, sadly more a workaround than a complete solution. We not create the EMF by feeding it a DataSource class that on construction gets its configuration from environment settings.

    <bean id="entityManagerFactory"
        class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"
        p:packagesToScan="foo.bar.model.entities">
        <property name="dataSource" ref="dataSource"/>   
        <property name="jpaVendorAdapter" ref="jpaVendorAdapter"/>
        <property name="loadTimeWeaver">
            <bean
                class="org.springframework.instrument.classloading.InstrumentationLoadTimeWeaver" />
        </property>
        <property name="jpaProperties">
            <props>
                <prop key="hibernate.hbm2ddl.auto">validate</prop>
            </props>
        </property>
    </bean>

    <bean id="dataSource" class="foo.bar.DataSource" init-method="init" />
    <bean id="jpaVendorAdapter" class="foo.bar.HibernateJpaVendorAdapter" init-method="init" />
jwenting 1,905 duckman Team Colleague

hey, if the opposition expects you to do something, do something so completely different they'll never suspect it were you even if they discover it.
I'd call that smart, not embarrassing ;)

jwenting 1,905 duckman Team Colleague

you're too late, James. If it really were that urgent he'll have self combusted by now or worse.

jwenting 1,905 duckman Team Colleague

if you claim to give people an answer to their question and it's the wrong one, someone will downvote it to indicate as such.
Get used to it.

At least it's better than getting downvoted because someone doesn't share your opinion on something, without any factual data to counter your argument.

jwenting 1,905 duckman Team Colleague

and another miracle cure from some bozos who no doubt will start selling it to gullible fools who have been talked into believing that real medicine is out to kill them.

jwenting 1,905 duckman Team Colleague

no, the answer will be NO. They have a lot to lose, not in the least the exclusive (or semi-exclusive) contracts they already have with Amazon, BN/Bol, and Apple, each of which sell more copies per day than you'd sell in a year.

jwenting 1,905 duckman Team Colleague

the most logical thing to do would be to ask the publishers... Which is what a lawyer would tell you too.
Without permission from the publisher you're not going to legally sell anything.

That's quite apart from all the legal stuff you need to handle to set up a company in the first place, you need a lawyer for that.
Just because you don't have money doesn't mean you're going to be able to get away with inadvertently breaking the law because you failed to get proper legal advise.
And that's as true of Derbyshire as it is of Berlin or Sao Paolo.

jwenting 1,905 duckman Team Colleague

the number of people in the world is constantly changing, so it's a question that's impossible to answer as by the time the answer has been given it is no longer valid :)

jwenting 1,905 duckman Team Colleague

the best energy drink is water :)

jwenting 1,905 duckman Team Colleague

yup. My 10 year old machine's still chugging along nicely as a file and print server. Been rebooted twice in the last 5 years, both times after a blackout caused it to lose power.
Only other real trouble I've had with computers since like 1995 have been triggered by hardware failure or other reasons external to Windows as well.

jwenting 1,905 duckman Team Colleague

I have been told that when entering the US, customs officials can insist that you reveal the password for an engrypted file or partition. I am not aware if anyone has successfully challenged the legality of this, for example, by claiming that the encrypted information contains priviledged lawyer-client communications.

you'd just be detained even longer and probably end up with a terrorism charge just to get you to cooperate.

best way to avoid trouble is to have nothing to hide, so no pirated stuff, no pr0n, and no bomb making plans.

jwenting 1,905 duckman Team Colleague

I remember a quote from a 1949 Popular Mechanics Magazine (yes, I realise this was 20 years prior to 1969) that read "In the future, computers may weigh no more than five tonnes."

similar to IBMs statement around that time that "there will never be a need for more than 5 computers in the world" :)

jwenting 1,905 duckman Team Colleague

He did become the richest and most powerful man in modern history.

AH actually was quite rich from the royalties on Mein Kampf...

jwenting 1,905 duckman Team Colleague

sorry, the disposal fees for toxic chemicals are just too high here ;)

jwenting 1,905 duckman Team Colleague

and what nobody's mentioned yet:

  • stay hydrated
  • have your eyes checked
jwenting 1,905 duckman Team Colleague

and no, you need specific driver jars for each database engine. So different ones for Oracle, MySQL, PostreSQL, MSSQL Server, etc. etc. etc.

jwenting 1,905 duckman Team Colleague

ALL computers are no more than logic circuits linked together :)

Of course OP is massively confused in his use of the term "electric circuits" when meaning "logic circuits", which might have hurt his attempts at using a search engine (itself a logic engine, ironically) to find the information he is looking for.

jwenting 1,905 duckman Team Colleague

Registering them as orphaned does not give API the ownership of the work.

effectively it does, as it gives them sole unlimited usage rights to the work, and strips its former owners of any such rights.
It thus is no longer an orphaned work, iow a work without an owner, but the person registering it becomes the owner, albeit for a more limited time than the original copyright would have granted the creator.

jwenting 1,905 duckman Team Colleague

There's no way anyone can answer that question from just the little information you've provided.

jwenting 1,905 duckman Team Colleague

One of the things that put me off Linux was the large amount on information that is assumed to be common knowledge. If I asked a question I only ever got 50% of what I needed for the solution

you got lucky. 90% of questions are answered with a rude "read the f*ing manpage, idiot", including questions on how to use man to read manpages.
Of course half those manpages either don't exist or are years out of date because nobody bothered to keep them up to date, documentation not being "fun".