|
|
Does he still hang out here ?
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Methinks no, but maybe he'll make an exception on his birthday and swing by Ye Olde CP.
/ravi
|
|
|
|
|
Following thought originated while I was reading the following
Who owns the code? If ChatGPT's AI helps write your app, does it still belong to you? | ZDNET[^]
That addresses the creator (ChatGPT).
But ChatGPT code generation uses 'sources'. And seems at least possible that some of those sources use a license that is not a 'do whatever you want' license.
Some licenses allow usage only for 'learning' and 'non-commercial'.
So if you are working for a company and ChatGPT uses code from one of those then it opens the company up to liability claims for infringement. Not sure if there is any actual way to win a monetary case based on that but certainly it could impact an acquisition if the due diligence discovers the code base has code like that. Due deligence process might even include an AI driven application that checks for that sort of thing.
|
|
|
|
|
|
Doesn't that also infringe on distributing code without a license, attached license or permission?
I can definitely see law suits developing in the not to distant future.
Give me coffee to change the things I can and wine for those I can not!
PartsBin an Electronics Part Organizer - An updated version available! JaxCoder.com
Latest Article: Simon Says, A Child's Game
|
|
|
|
|
Yup, I’m pretty sure this is going to feed many lawyers, for many years to come.
TTFN - Kent
|
|
|
|
|
Kent Sharkey wrote: Yup, I’m pretty sure this is going to feed many lawyers, for many years to come. As long as it is not past midnight...
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Kent Sharkey wrote: feed many lawyers We need to find a way for lawyers to become their own food supply.
Software Zen: delete this;
|
|
|
|
|
Probably an old one, but still funny
How can you tell if a lawyer is losing their mind?
They are walking around with their hands in their own pockets.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Mike Hankey wrote: Doesn't that also infringe on distributing code without a license, attached license or permission?
Yes you would be correct.
|
|
|
|
|
imho, the only response to this issue possible, right now is:[^]
«The mind is not a vessel to be filled but a fire to be kindled» Plutarch
|
|
|
|
|
In my opinion , if you need to use ChatGPT to write code you shouldn't be programming for a living and you certainly shouldn't be charging for it.
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
That's like saying if you need to use StackOverflow to write code you shouldn't be programming for a living and you certainly shouldn't be charging for it.
And before that, if you need to use documentation to write code you shouldn't be programming for a living and you certainly shouldn't be charging for it.
We don't know everything.
Even the best of us has to search the internet from time to time (pretty much daily) and ChatGPT is just another tool in that toolbox.
|
|
|
|
|
Searching the Internet is one thing ( I do it a lot ) asking a machine to generate code is very different IMHO, ChatGPT is not a validated tool yet
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Yet it does so pretty well.
What you maybe meant to say was: "if you don't validate and test ChatGPT-generated code you shouldn't be programming for a living and you certainly shouldn't be charging for it."
Which should be true for any code you find on the internet.
|
|
|
|
|
Sander Rossel wrote: That's like saying if you need to use StackOverflow to write code you shouldn't be programming for a living...
Although I agree with that the general point still applies.
When I search the internet I understand the source I should (and I do) look up the license.
AI sources don't and I don't think it is even possible for them when they 'write' software. You certainly wouldn't want to wade through 100 or 1000 licenses because the AI generator used all of those to write your one class.
|
|
|
|
|
How do you find someone else's code in a code base though?
If you remove comments it's insanely difficult to spot if code is original or not, you'd need a tool that searches for the same code online.
But if you rename some variables, add or remove some whitespace, and switch some stuff around, it becomes almost impossible.
Even when someone suspects you may have stolen code from some source you could always claim you don't know the source and any resemblance is a coincidence.
Almost impossible to prove it isn't.
|
|
|
|
|
"Patterns" in the "object" code (i.e. the "implementation" is protected). The detection process is automated. Like malware signatures.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
Sander Rossel wrote: How do you find someone else's code in a code base though?
Companies deal with that right now. That is why due diligence often involves looking at the licenses.
Sander Rossel wrote: If you remove comments it's insanely difficult to spot if code is original or not
No it isn't that difficult. If you copy 10 lines of code no one will ever notice. But typically one ends up copying hundreds or thousands of lines of code. And one can do a pattern comparison on the binary so comments and variable names would make no difference at all.
This presumes that the developer is willing to lie about it also. And if other developers were aware of it if they are willing to lie also. If any of them is not then the company is on the hook.
|
|
|
|
|
jschell wrote: But typically one ends up copying hundreds or thousands of lines of code. Ah right, that sounds so much like theft it didn't even occur to me
|
|
|
|
|
I'm grinding my way through some text processing code and it's killing my soul, so I figured I'd have some fun with religious wars and GPT:
Me: Which is more correct in C++ programming: brackets starting on the same line as a statement, or brackets starting on a new line?
ChatGPT: The placement of brackets (curly braces) in C++ code is a matter of personal preference and coding style conventions. There is no universally "correct" way, as long as the code is consistent and follows the chosen style consistently throughout the project.
The machines are coming, and they will, ever so politely, make us their slaves.
cheers
Chris Maunder
|
|
|
|
|
I for one, welcome our AI overlords.
Check out my IoT graphics library here:
https://honeythecodewitch/gfx
|
|
|
|
|
It will make a nice change from the damn lizards.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I was sure those are the cats that rule...
"If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization." ― Gerald Weinberg
|
|
|
|