Remix.run Logo
pella a day ago

"an open-source tool" --> https://github.com/chartdb/chartdb ( AGPL-3.0 license )

prompts:

https://github.com/chartdb/chartdb/blob/c3c646bf7cbb1328f4b2...

evanelias a day ago | parent [-]

At quick glance I already see several things in that prompt are completely incorrect. For example: MariaDB has natively supported sequences for quite some time; for decades all versions of MySQL/MariaDB support "bool" or "boolean" as an alias; the timestamp default value advice is wrong as any arbitrary expression can be used; etc.

These are all easily testable in Docker containers. There's a concerning lack of attention to detail here, or perhaps the prompt itself was also created using AI and it bakes in hallucinations from the get-go.

As for the AGPL: in ChartDB's previous Show HN (only 6 weeks ago), I asked how they were running an enhanced paid SaaS when they had so many external contributions prior to adopting a CLA, and I did not receive a response [1].

[1] https://news.ycombinator.com/item?id=44972986

ehsanu1 a day ago | parent | next [-]

I see no conflict between AGPL and SaaS: https://opensource.stackexchange.com/a/12988

evanelias a day ago | parent [-]

OP accepted a lot of third-party contributions without a CLA, and then built a paid SaaS; and as far as I can tell, they aren't offering the full source code for that paid SaaS to users. This would be a requirement to avoid infringing the copyright of the third party contributors.

When code is contributed to a FOSS project, and there's no CLA, the contribution is licensed by the third-party contributor under the same terms as the project, and furthermore the contributor retains copyright (assuming there's no CAA, which is stronger than a CLA).

So if you start an AGPL project and offer a paid SaaS, you need to do one of the following:

a) don't accept outside pull requests

b) accept outside pull requests with a CLA or CAA

c) provide the full source code to the paid SaaS to users, as per the terms of the AGPL

d) keep those pull requests in the AGPL repo but rewrite or remove them in the paid SaaS

Any other path opens you up to risk of copyright infringement lawsuits if your business is successful.

The OP eventually added a CLA, but had already accepted a lot of code contributions prior to that. So in their previous Show HN, I asked what path they took to resolve the AGPL hurdles, and they did not respond.

politician a day ago | parent | prev [-]

> There's a concerning lack of attention to detail here.

I choose to believe that it's a brilliant feint. The author will run all these comments back into their LLM to generate fixes for all of these issues.