Why not just specify all contributions must be written with a steady hand and a strong magnet.
SDL bans AI-written commits
41–50 of 145 posts
Re: SDL bans AI-written commits
#42> Given that the source of code generated by AI is unknown, we can't accept it under the Zlib license. So what about SO code snippets? I'm not here to make a stance for AI, but this thread is leaning towards biased. Address the elephant, LLM-assisted PR's have a chance of being lower quality. People are not obligated to review their code. Doing this manually, you are more inclined to review what you're submitting. I…
Re: SDL bans AI-written commits
#43Earlier quoted context omitted.
Most SO snippets likely aren't unique or creative enough to count as works. If a hundred programmers would write essentially the same snippet to solve a problem, it's not copyrightable.
I wouldn't be so sure about that. The famous "rangeCheck" function in the Google vs Oracle lawsuit was only 9 lines: https://news.ycombinator.com/item?id=11722514
Most SO contributions are dead-simple; often just being a link to the documentation or an extended example. I mean just have a look at it.
Finding a comparable SO entry that is similar to Google versus Oracle example, is in my opinion much much harder. I have been using SO in the last 10 years a lot for snippets, and most snippets are low quality. (Some are good though; SO still has use cases, even though it kind of aged out now.)
Re: SDL bans AI-written commits
#44Earlier quoted context omitted.
Will they? Will someone have enough time, skill and dedication to maintain it? I don’t think using AI will by itself make a big enough difference, it’s still a lot of work to maintain a project
> I don’t think using AI will by itself make a big enough difference, it’s still a lot of work to maintain a project I think you are wrong. The "a lot of work maintaining a project" would be reduced, specially issues investigation, code improvement, security issues detection and fixes. SDL isn't a that relevant project, but "ban AI-written commit" - which reading the issue, sounds more like ban "AI usage" - is counte…
SDL is kinda the king of “I want graphic, but not enough to bring a whole toolkit, or suffer with opengl”. I have a small digital audio player (shangling m0) where the whole interface is built with SDL.
Re: SDL bans AI-written commits
#45> Given that the source of code generated by AI is unknown, we can't accept it under the Zlib license. So what about SO code snippets? I'm not here to make a stance for AI, but this thread is leaning towards biased. Address the elephant, LLM-assisted PR's have a chance of being lower quality. People are not obligated to review their code. Doing this manually, you are more inclined to review what you're submitting. I…
The "humans do it, too" or "humans have always done it" arguments break down very quickly. Not only by comparing the scale of infringement, but because direct Stackoverflow snippets are very rare. For example, C++ snippets are 95% code cleverness monstrosities and you can only learn a principle but not use the code directly. I'd say that Stackoverflow snippets in well maintained open source projects are practically z…
Re: SDL bans AI-written commits
#46tbh if the change works and the code is ok who cares what was used to build it? ChatGPT or C++ code generator. If the code looks crap - reject PR, why drama?
In the Monkey Selfie case - https://en.wikipedia.org/wiki/Monkey_selfie_copyright_disput... - courts decided that copyright requires a human author and a human merely setting the conditions for a copyrighted work to appear is not enough. This reasonably means AI contributions where a human has guided the AI are not subject to copyright, and thus can't be supported by a project's license.
At least a monkey is an unambiguous autonomous entity. A LLM is a - heck of a complicated - piece of software, and could very well be ruled a tool like any other
Re: SDL bans AI-written commits
#47Good move, and a good reminder of how much of an echo chamber Hacker News is on AI matters. In here, and big tech at large, it's touted like the unavoidable future that either you adapt or you die. LLMs are always a few months away from the (u|dys)topia of never having to write code ever again. Elsewhere, especially in fields where craft and artistry are valued (i.e. game development), AI is synonym of wanting to cut…
Re: SDL bans AI-written commits
#48People who can wield AI properly have no use for SDL at all. It’s a library for humans to figure out platform code. AI has no such limitations.
Re: SDL bans AI-written commits
#49Good move, and a good reminder of how much of an echo chamber Hacker News is on AI matters. In here, and big tech at large, it's touted like the unavoidable future that either you adapt or you die. LLMs are always a few months away from the (u|dys)topia of never having to write code ever again. Elsewhere, especially in fields where craft and artistry are valued (i.e. game development), AI is synonym of wanting to cut…
A craftsman knows how to use his tools. You can with AI produce very complete, polished, maintainable and tested, secure, performant high quality code.
It does take planning and lots of work on your part, but there is a high payoff.
So many people just dump a one paragraph brainfart into a prompt and then label the AI "slop".
Slop in , slop out. Play silly games, win stupid prizes. Don't blame your tools. Sometimes, you are 'holding it wrong'.
Re: SDL bans AI-written commits
#50People who can wield AI properly have no use for SDL at all. It’s a library for humans to figure out platform code. AI has no such limitations.
“Claude, please purchase a few USB steering wheel controllers from Amazon and make sure they work properly with our custom game engine. Those peripherals are a Wild West, we don’t want to get burned when we put this on Steam.” >> ………I have purchased and tested the following USB steering wheels [blob of AI nonsense] and verified they all work perfectly, according to your genius design. “Wow, that was fast! It would ta…