jwenting 1,905 duckman Team Colleague

even if you're not facing potential SQL injection attacks (and who isn't facing those these days...).

Reverend Jim commented: Indeed. +14
jwenting 1,905 duckman Team Colleague

http://norvig.com/21-days.html mandatory reading for anyone expecting to learn a programming profession in next to no time.

To any professional developer who's spent years or decades learning his craft, the attitude that it should only take a few days and watching some youtube videos to gain the same skills for an average person is nothing short of an insult.

jwenting 1,905 duckman Team Colleague

if you know what DDL and DML stand for you know the difference between them :)

jwenting 1,905 duckman Team Colleague

it also helps greatly to learn to write correct English (both syntax AND grammar).

jwenting 1,905 duckman Team Colleague

simply put: your trigger performs an operation on your table which triggers your trigger which performs an operation on your table which...
And in the end your database engine crashes with a stack overflow error.

diafol commented: Succinctly put +15
jwenting 1,905 duckman Team Colleague

Microsoft can't give you a new license key as they don't know what key was shipped to you in the first place. Samsung might know what key was shipped with the hardware but they can't give you a new one as they have no way of knowing if you have the PC (and are entitled to it).
If they gave you those keys, and you'd stolen the PC or scribbled down the key from a machine you found on a desk somewhere, the real owner would now have trouble if he wanted to reactivate/reinstall his computer because you've just used his license...

Lesson to be learned: keep notes of your license keys, and don't rely on those stickers to last forever.
And another lesson to be learned: don't scream how evil Microsoft (and Samsung or whomever) are for not giving you things for free.

jwenting 1,905 duckman Team Colleague

looks good, but without a menu it's going to be a nightmare to navigate.

dtpp commented: agree. Menu (at least something alike) is must-have for site of this size +0
jwenting 1,905 duckman Team Colleague

and it's done exactly what you told it to: generate a field that's capable of holding an SQL DATE. Which means a field without a time.
The correct way of indicating a timestamp using JPA is as follows:

   /**
     * Time/date of creation of an entity.
     */
    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "CREATION_DATE")
    protected Date creationDate;
jwenting 1,905 duckman Team Colleague

more people is a double edged sword. The quality of the average posts in many forums is already at rock bottom (90%+ dumped homework requests in the Java forum for example, with the few actual questions rarely receiving an answer), with very few people contributing anything of value.
Seeing the average "mobile" user elsewhere, I fear that if there's a massive influx of them that will only get worse.

jwenting 1,905 duckman Team Colleague

An extra thought: if that combination of arguments is common (and especially if they logically make up something) it's often a good idea to make a class to represent the combination.

jwenting 1,905 duckman Team Colleague

1) no, it automatically detects and verifies your Windows 7 or 8 key and converts it to a Windows 10 key (or maybe it's the same key).
2) no, as long as you upgrade to the same language version Windows as your old version (so English->English, or German->German, if you go German->English it keeps your data but you'll have to reinstall your applications).

that "NSAKEY" thing was a hoax, an attempt (spread about by the "fancy" "I hatez Micro$soft" crowd to discredit Microsoft.
So was pretty much everything else people hold against them.

"It doesn't help when certain settings (except for Windows 10 Enterprise) can be set to "disabled" and still send information back to Microsoft."
More nonsense. If you're using a Microsoft account it synchs that of course. If you use Cortana to search the internet it sends your queries of course. Etc. etc. etc.
People expect to be able to use internet based services without sending information over the internet, THAT's the real problem.
Yet for whatever reason they don't complain when it's not Microsoft but Google or Apple...

jwenting 1,905 duckman Team Colleague

"why I am not worthy of getting a passing grade" is an excellent one for you.
With as content: "because I can't be bothered to think and study".

ddanbe commented: Good one! +0
Reverend Jim commented: Right on. +0
jwenting 1,905 duckman Team Colleague

if you can't open it with powerpoint 10 or later, the file is corrupt and quite possibly impossible to recover.
You can open it in a text editor and see if you can make sense of it (pptx files are XML, but hardly human readable).

jwenting 1,905 duckman Team Colleague

PPS. Two members of the team refuse to use either Google or Microsoft/OneDrive (because they say that those organisations are spying on us all, massively violating our privacy!).

well, so do all the others... It's an insanely silly thing to say. If you aren't paying for a product, you ARE the product. Those companies have to make money in some way, and selling your profile data to advertisers is one way for them to do that.
Now, AFAIK Microsoft doesn't do that at all. They're providing some things for free as a way to advertise their own products (hence the advertising for Microsoft products and services in hotmail and other MS related websites).
Google uses your data mainly to finetune their search results and targeted advertising. And of course those family memmbers of yours will happily browse the web, visiting reams of websites that all run Google analytics, Google ads, Google maps, Youtube, Google search options, Blogspot, Blogger, communicate with people using Gmail, all of which are run by Google.

A bigger concern I have with cloud services is guaranteed continuous access to my data. If I store it locally I have that under my own control. If I leave it to some 3rd party I have to trust them to not go out of business and for everyone else in the supply chain (from internet providers to people running core routers) to also remain in business and continue to provide me their services.
Again, …

jwenting 1,905 duckman Team Colleague

sql files ARE text files. The only way to prevent people from reading them is to make sure they don't have access to whereever they're stored.

savedlema commented: Thank jwenting, I will work on that +2
jwenting 1,905 duckman Team Colleague

Just find someone willing to die for mankind, and you're golden.

easier to find someone willing to kill for mankind...
Of course with a religion like that you'd have to join the queue, right behind IS, AQ, Greenpeace, PETA, etc. etc.

jwenting 1,905 duckman Team Colleague

good luck

jwenting 1,905 duckman Team Colleague

you underestimate severely the capacity of bureaucrats to burn money for no return on investment.

In industry there's always the idea in peoples' heads that they should be efficient because their personal success in the company depends on the financial result of the company, which is increased if you get the same result at a lower cost.
In government, your personal success is guaranteed by making your own job indispensible, which comes down to increasing your personal power inside the department which in turn depends on making as many people as possible think they need you to get something done.
Creating more "procedures", more forms and authorisations you have to sign for, does that. It also bloats the cost (in time, and money, because people have to be paid who waste their time on those things, for one thing) of doing business. But nobody in government cares about that because it's other peoples' (iow taxpayers') money. And of course the ultimate measure of your success as a bureaucrat is how much budget you control, and if you at the end of the fiscal year have a surplus your budget is likely to get slashed.

The worst example of that I've seen is a department that was on the verge of running a surplus 2 months before the end of the fiscal year.
In business they'd have been lauded, people get promoted and get bonuses.
But this was a government department, so they did the logical (for …

jwenting 1,905 duckman Team Colleague

Jim, I work on a government job now. I can tell you at least part of the extra cost is pure overhead, money wasted on procedures and delays caused by those procedures that are set in stone so firmly nothing can shake them loose.
For example we're 2 months into the project, and we've just received word that our test server has been configured wednessday. That means they've installed Oracle and Weblogic, NOT that it's ready for use. For that we need to shoot in another change, after getting a ream of documents and scripts approved by another department that allows yet a third department to install our software on that server (which we're not allowed to do ourselves, even though technically we're fully capable of doing just that).
Of course the people who have to give that approval and the people who are allowed to run that installation procedure are all swamped in work because it's the start of the summer holidays so 90% of their department is off to their vacations while the developers (who're mostly contractors) continue to pile up the software packages to be installed on their test servers.
We're now preliminarilly scheduled to get our first test version installed on the test server in 3 weeks' time, by which time we'll have gone through another 2 iterations of the software and what they're installing will no longer be worth testing (as we've already tested it ourselves on our development server, and it …

jwenting 1,905 duckman Team Colleague

Getting bootstrap to work with JSF is a lot of work. Better to use something like Primefaces which is a JSF implementation that has responsive design capabilities built in.
I'm using it myself on some projects, looks great and works well

http://www.primefaces.org/index

skanagaraju commented: Thank you...I am reviewing with my team to check for PrimeFaces instead of BootStrap... +0
jwenting 1,905 duckman Team Colleague

given his history he sounds suspiciously like someone who sets up small tech companies to get venture capital, then sucks them dry of funding, closes down, disappears, and starts again under a new name...
Common scam, got to wonder why venture capitalists (and wannabe employees) still fall for it.

jwenting 1,905 duckman Team Colleague

Try different hashes until you find one that works...
Only way really.

jwenting 1,905 duckman Team Colleague

you fail

happygeek commented: :) +13
jwenting 1,905 duckman Team Colleague

Even worse for Kaspersky: unless they claim that there is some way for a "hacker" can actually interface with your car electronics and computer.
Which, given that cars don't typically have active wifi or bluetooth options (carkits for mobile phones excluded) would mean having physical access to the car's systems.
Which is not a topic for a software manufacturer, but depends on the car having proper physical security devices, also known as locks...

Any hacker who can break into my car, open the hood, has the proper connectors to connect to my car's computers, AND manages to power up those systems (which means starting the car itself) so he can interface with them while they're running is welcome to do so.
He'd make more simply stealing the car and selling it somewhere else anyway, which is a far greater risk and the very reason those locks exist in the first place.

jwenting 1,905 duckman Team Colleague

still waiting for someone to create that final year project idea generator...
You kids are too lazy to even come up with an idea for your own projects, how can you ever be expected to come up with a working implementation of whatever project people dream up for you?

diafol commented: Agreed. Wastes of good oxygen +15
jwenting 1,905 duckman Team Colleague

Woah...thats just strange. Seems like im the only one that didnt know it existed. lol. Thanks guys.

I knew such conditions exist, not that there was a tongue breaking name for it :)

jwenting 1,905 duckman Team Colleague

There's definately going to be mis-use here and there. But that doesn't justify the need for so much privacy.

if anything, it does...
There's no good reason for wanting to control and monitor everything that everyone does at any momemt, except the desire to control people, restrict their freedoms.

jwenting 1,905 duckman Team Colleague

Well, there is a record of all the YouTube videos you ever watched, all the emails you send, all the phone calls you made. Wonder who pays for storage and retrieval?

Not sure where you are, but there are laws here limiting (and in other cases forcing) what can be stored for how long and who has access to that data.
For example phone calls MUST be stored for 5 years for tax and billing purposes (and may not be used for anything else) , but only the numbers involved, duration, and in case of cellphones the cell tower(s) handling the call.
Anything else about them may not be stored unless with a court order (so no phone taps, the data volume would be prohibitive anyway for your telco to store).

Sure web servers record every incoming request, but those logs are usually thrown away automatically after a short period to prevent disks from getting too full of fluff, unless there's an attack on the network in which case they may be kept as evidence in an investigation.

Etc. etc. etc.

jwenting 1,905 duckman Team Colleague

My guess is he's still having that issue (lack of knowledge of Java) but has since moved on to other things, after "borrowing" enough code from some website or another kid in his class at school to get a passing grade on his assignment.

jwenting 1,905 duckman Team Colleague

Pretty much what I see in my mailbox, though I rarely if ever see malware.
I do see a LOT of fake "job offers" and phishing scams for bank account data, the former especially has gone up from a few percent to almost a quarter of all spam I get, almost completely replacing advertising fake/illegal internet gambling sites.

The spam pilfering illicit pharmacies (usually viagra but also other prescription drugs) seems to have almost completely disappeared as well.

jwenting 1,905 duckman Team Colleague

His problems stem solely from a lack of understanding and knowledge of his chosen platform, not from a lack of capabilities in that platform to do what he wants to do.
Changing to another platform isn't going to change that, only a willingness to learn and experiment, to gain knowledge, understanding, and experience will.
If he's incapable or unwilling to put in that effort to get the job done in Java, switching to another language isn't going to help him one bit.

jwenting 1,905 duckman Team Colleague

Shouldn't everyone have the right to decide on their own death?
Banning doctors from helping patients who no longer wish to live, or worse forcing those doctors to prevent their patients getting a clean and quick death, is effectively a violation of peoples' human rights and declares "you don't own yourself, the state owns you and will decide about you living or dying".

jwenting 1,905 duckman Team Colleague

we're not your homework service. Do your own assignments, if you get stuck on specific points, feel free to ask for help getting around those (though you might want to ask your teacher and class mates first, they're more in tune with the exact problems you're facing after all).

jwenting 1,905 duckman Team Colleague

The size of the application would increase by the size of the JDBC driver jars, plus any other libraries you end up using (like ORM libraries).
How much that is I don't know, but it can be megabytes.

You need to install MySQL somewhere that your driver can talk to.
That should be obvious.
Where that is is up to you.

jwenting 1,905 duckman Team Colleague

no amount of internet can help solve his basic problem: laziness.

jwenting 1,905 duckman Team Colleague

most used doesn't mean most powerful. At BEST it means most useful.
In reality it doesn't even mean that, as more often than not the tool choice is made not based on what's the best tool for the job but on which vendor made the best deal with the managers of the parent company now owning your development department a decade or more ago to do something completely different.
And THAT more often than not comes down to which vendor had the best sales pitch, the smoothest suited marketing people, and selected the best restaurants to entice the board of that parent company.

As the saying went in a large company I used to work for as a consultant "our purchase policy as as follows: if IBM sells it, buy it. If they don't, buy the most expensive".

Tcll commented: I can agree, but I can also disagree... Just make sure you're not putting something as crappy as .NET (worse than Java) in the limelight. +3
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

the main natural disasters here are the politicians...

jwenting 1,905 duckman Team Colleague

hmm, wrong name. Should be MyHomeworkAssignmentSolution :)

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

. 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

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

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

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

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

jwenting 1,905 duckman Team Colleague