News for hackers. Stuff that matters.
Re:Bard coding update with Colab exporting by impulser_ on Friday April 21, 2023 @11:21AM (#35655106)
It's pretty cool that it will cite open source if it quotes code from an open source project, unlike ChatGPT and Copilot.
Re:Bard coding update with Colab exporting by andai on Friday April 21, 2023 @11:42AM (#35655460)
To comply with GPL, it would have to automatically re-license your project as GPL too, right?
Re:Bard coding update with Colab exporting by vineyardmike on Friday April 21, 2023 @12:45PM (#35656442)
If you use GPL code, you may have to relicense your project.

Bard can share with you any code that it is licensed to distribute (which includes GPL).

Re:Bard coding update with Colab exporting by procinct on Friday April 21, 2023 @12:56PM (#35656629)
But copilot actually outputs code into your project, do you really want citations there? I prefer to just enable the setting for it to not reproduce code verbatim from other projects.
Re:Bard coding update with Colab exporting by iudqnolq on Saturday April 22, 2023 @12:42AM (#35663396)
Isn't it normal to copy code with citations into your project? It also helps document what's going on.
Re:Bard coding update with Colab exporting by rybar on Saturday April 22, 2023 @08:07AM (#35665764)
Sounds like a codebase filled with the ghosts of programmer past. Just put the code in and own maintaining it. Anyone can do a git blame and find the history of its implementation, and also see the original PR which should have described what it was doing, and provided far more context to the reviewers than a code comment.

And if an architecture decision is so significant, retain a repository of architecture decision records.

Re:Bard coding update with Colab exporting by iudqnolq on Saturday April 22, 2023 @11:59AM (#35667875)
I think you misunderstood what I mean. I'm talking about:

    // Credit Foo Project per MIT license
    // See <https://github.com./foo/project/path/to/file

    fn some_foo_fn() {

This has nothing to do with git history.