Zigbook Is Plagiarizing the Zigtools Playground

(zigtools.org)

417 points | by todsacerdoti 15 hours ago ago

109 comments

  • nusl 9 hours ago

    Repo seems to be gone? User action or GitHub action?

    Regardless, for visibility as to maybe-why this happened, here are screenshots of the user editing comments to insult/make them say something they never did;

    https://imgur.com/a/LsvBXY1

    https://web.archive.org/web/20251130091635/https://github.co...

    The tool itself claims "Zero AI" (https://www.zigbook.net/) yet is very obviously A-Lot-AI.

    • jonathrg 6 hours ago

      It's unbelievable to me that Github allows repo admins to edit other people's comments.

      • the8472 6 hours ago

        That's a useful feature for long-running issues to include updates in the opening post. Or to improve formatting when a bug reporter isn't familiar with markdown. And that it shows in the edit history should at least discourage abuse.

        • dannyfritz07 5 hours ago

          Allowing the maintainer to prepend a comment to the top seems more sensible to me to be honest. Would make API use harder potentially, but it would avoid weird abuse like this.

          • the8472 5 hours ago

            github is meant for collaboration, designing it around adversarial use would be a loss for everyone. Adding a function to report absusive edits rather than an entire post would be a better choice imo.

            • pirates 12 minutes ago

              Report to whom? Github, who allows the behavior and therefore doesn’t see anything wrong with it, or the repo admins who have proven they they couldn’t give a rat’s ass about the very thing you’re reporting? The well is already poisoned, there is no reason to think that they’d suddenly change their stance and cooperate.

            • testaccount28 4 hours ago

              reporting abusive edits requires moderation/arbitration. the rules can instead be changed to sidestep the issue, while maintaining the value of the feature.

        • tomalbrc 5 hours ago

          It obviously does not discourage abuse

          • the8472 5 hours ago

            No, that's not obvious at all. A single event is evidence that some abuse still happens, it does not tell us how much more abuse there would be in the counterfactual where the history wasn't available.

            discourage != prevent all

            • ktm5j an hour ago

              I get what you're saying, but I feel like they should highlight comments in some way if a repo admin completely replaces a comment with different text. I'm struggling to imagine a situation where that would really be appropriate. The "Edited by: username" seems too easy to overlook.

              • the8472 37 minutes ago

                They could show multiple post authors, similar to how they do for co-authored commits.

      • NeckBeardPrince 6 hours ago

        What would be a valid reason to allow this? That just seems mind-numbingly stupid.

        • halapro 6 hours ago

          This is particularly useful when editing the top-level comment of a popular issue to specify the current status. Or when a peer opened a placeholder issue and you fill it up. Etc.

          If you actually use GitHub as a social network of sorts, there are many reasons to do edit comments. All the edits are visible anyway. You're on Git-Hub, you can already edit everything you have write access to.

          • tomalbrc 5 hours ago

            In which world would you want others to be able to edit your posts in a “SOCIAL NETWORK”? In today’s age of misinformation? Greeeeeeeat idea.

            • jabbywocker 5 hours ago

              For GitHub specifically? This world. This is a useful feature

        • gucci-on-fleek 6 hours ago

          Markdown is pretty tricky for new users to figure out, so quite often, users will just paste big snippets of code without formatting them, which is nearly unreadable. I'll usually edit these posts to add ```backticks``` around any code.

          • arccy 5 hours ago

            or they'll do what i assume is the jira style code blocks with just `multiple lines of code`

        • projektfu 6 hours ago

          Censoring insults or illegal speech (depending on jurisdiction) would be the main reason I can think of.

          • merlindru 5 hours ago

            That also means that some users will be pressured to censor illegal speech no? If you live under e.g. a regime that disallows or discourages criticism, now suddenly the onus is on you to do something about those comments because you have the ability to. If you couldn't edit the comments it's not your fault.

            Either way I think it's a pretty stupid feature the way it's implemented; it should show the edit more clearly or indicate that the comment has been written by multiple people (like StackOverflow does), especially if edits change more than e.g. 10% of the original comment.

          • matkoniecz 3 hours ago

            in such case ability to delete comment would be enough

    • NoteyComplexity 8 hours ago

      The responds and edits are simply unprofessional and immature. I don't hate AI and in fact I use it for many research based tasks, helping me narrowing a lot of tough topics, but it is the People with these kind of attitude turns me off.

      • nusl 7 hours ago

        AI use is fine, though pretending you haven't used it when you obviously did rubs me the wrong way.

        I get why GitHub allows editing comments of other users though for public repos I guess it allows for this kind of abuse

        • NoteyComplexity 7 hours ago

          Exactly, being dishonest is the real problem here.

          Luckily, every edits are recorded in history, so they can't really hide their abusive behavior, for now. Even if they did, seem like there are often people faster in archiving their posts than they hiding their post.

    • networked 4 hours ago

      I notice again I haven't internalized how much https://tvtropes.org/pmwiki/pmwiki.php/Main/SuspiciouslySpec... really happens.

    • nusl 4 hours ago

      Follow-up: seems they've been banned

    • mcintyre1994 9 hours ago

      I find GitHub to be very prompt and responsive to abuse reports, so I wouldn’t be surprised if it was them if people reported the comments etc.

    • Meneth 9 hours ago

      The only public repo remaining under their github account is this VSCode-Copilot integration tool (https://github.com/zigbook/pilot).

      • Zambyte 4 hours ago

        It seems their whole account is gone now.

    • xrd 6 hours ago

      Did you make up A-Lot-AI? Can I suggest "A-Lott-a-AI"?

      If you did, this is the greatest thing created in 3 ABC ("After Bullshit ChatGPTification"; ChatGPT launched in 2022.).

      NB: Since ChatGPT is basically the new Messiah for many, I really think we should now be using dates like 3 ABC or 5 POS. POS stands for "Prior to Overlord Slop/Shit". I suggest we give up AD/BC.

      But, please, I'm not the messiah! (hopefully you have watched Life of Brian!)

    • arccy 7 hours ago

      probably user reports to GitHub's moderation team

  • gnarlouse 12 hours ago

    Had a conversation with the Zigbook maintainer. It’s either a young kid or somebody that has some serious growing up to do. Just generally weird behavior.

  • lillecarl 10 hours ago

    https://github.com/zigbook/zigbook/pull/45#issuecomment-3592... Would this be grounds to report zigbook to GitHub maybe? This is wild

  • wyldfire 13 hours ago

    Plagiarism is a moral wrong.

    But copyright infringement is a legal wrong (a civil liability).

    Is what they're doing infringing on a copyrighted work? Or does it fail to uphold license terms? Many open source licenses have some amount of attribution as a requirement, so that'd be something to consider.

    • bjt 12 hours ago

      It's addressed in the post. MIT license. Zigbook is not honoring the attribution requirement. A PR to change that was closed and obfuscated.

      • anonnon 11 hours ago

        > Zigbook is not honoring the attribution requirement

        It's crazy how many people treat MIT as if it were public domain.

        • Zambyte 4 hours ago

          I genuinely believe more people violate permissive licenses than copyleft license. I have no data to back this up, but just look at how much people focused on if LLMs were violating the GPL by reproducing code covered by the GPL without reproducing the license. If LLMs violate the GPL, they violate all licenses besides ones that are effectively public domain.

        • adrian17 9 hours ago

          This probably depends on country, but AFAIK in most of europe, even in public domain, the „you can’t pass another’s work as your own” part of copyright is still active and doesn’t expire.

          • poly2it 6 hours ago

            This piques my interest, what is the legally required recognition of a derivative's parent work? Must I be able to list dependencies, or should I be able to verify whether a parent work is included in mine? What if my work is a second derivative of a work which I am unaware of, because the work in between improperly didn't recognise its parent? Am I legally responsible to investigate such cases?

            • projektfu 6 hours ago

              Something like, "Pride and Prejudice and Zombies, by Jane Austen and Seth Grahame-Smith" is probably sufficient.

    • lenkite 10 hours ago

      AI is actually beginning to encourage "restricted source", public-only-gets-binary debates to simply avoid such legal issues.

      Write a snail-mail letter to get the real sources. Repositories are private with a small well-vetted list of contributors. Also avoid slop-PR headaches that away.

      • tliltocatl 35 minutes ago

        Sorry, this sounds like the absolutely worst idea ever. The way to kill open source as such. Sloppy PRs will end when the idiot HRs release there is no value in them. Plagiarism isn't really anything new and AI doesn't really change much there. But adding friction to examining source is a sure way to make no one care to contribute.

      • femiagbabiaka 7 hours ago

        If you were licensing MIT, ostensibly it’s not the copying you care about, just the attribution. There is always the option to turn off prs, or even distribute code without using github.

  • vanous 11 hours ago

    @Zigtools:

    Thank you for your educative post, letting the community know.

    Don't let it to drag you down in any way. This is emotionally draining and takes away motivation, but keep going.

  • kachapopopow 13 hours ago

    I just can't get over how ridicioulus the "no ai" statement is.

    I really love the part where llm.txt has the same notice, something humans will never read, or the fact that llm.txt exists considering that there is distaste for AI in every part of this llm generated book.

    • omoikane 2 hours ago

      The "no AI" statement reminds me of the Chinese idiom: "there are no 300 taels of silver here" (there is no money buried here). It's a clumsy way of denying something.

      https://en.wiktionary.org/wiki/%E6%AD%A4%E5%9C%B0%E7%84%A1%E...

    • booleandilemma 11 hours ago

      "Not generated by AI" is something that every programmer everywhere is going to say about their own work, even when it's obviously AI generated. I've started to publicly call people out when I see they've posted something on social media (LinkedIn, etc.) when I see they've made an AI-generated post. The fraud has to stop.

      • lillecarl 10 hours ago

        There's also the option of embracing it.

        https://github.com/Lillecarl/lix/commit/9ac72bbd0c7802ca83a9...

        I'm not ashamed to use AI if it improves my output, people draw the line of "acceptable use" differently just like drug addicts talk shit about each other's drugs to justify their own. I think honesty is more important than cleanliness.

      • pjmlp 10 hours ago

        Kind of hard unfortunately, now when one gets evaluated how much we're improving our daily work with AI, when the annual feedback meeting comes.

        The no AI devs will get a "needs improvement" report.

        • kachapopopow 5 hours ago

          I've talked to people who got fired for not embracing AI, so go out there and say how much more productive you are even if it's a lie.

      • nurettin 10 hours ago

        I stopped using linkedin once the mediapipe epidemic started and everyone who could type pip install mediapipe could write a half baked hand and face gesture demo to show themselves as the "cool programmer".

    • otabdeveloper4 10 hours ago

      > I just can't get over how ridicioulus the "no ai" statement is

      You don't have to. I'm sure there are lots of other communities that welcome low-effort slop with no effort put into it.

  • nmilo 12 hours ago

    I remember reading the original zig book post and how weird it smelt. Even though it’s LLM written there’s more than a trivial amount of effort put into it. What could anyone possibly have to gain by doing this?

  • gnarlouse an hour ago

    I’m doing AoC on Zig this year. Zigtools will be my reference. Cheers!

  • Havoc 7 hours ago

    I could see LLMs copying code as innocent mistake, but identical sha256sum on wasm files...jikes

  • wavemode 14 hours ago

    original submission dicussion: https://news.ycombinator.com/item?id=45947810

  • koolala 12 hours ago

    Playground wise, is Zigs wasm compiler able to compile out simd wasm in the browser? I'm trying to find the best languages that can. So far it's just assemblyscript and c/c++ and their compilers are big.

  • PaulRobinson 5 hours ago

    Disappointing.

    When zigbook first appeared here, I took a cursory scan, and it looked pretty solid and a useful resource. Seems it duped me and got me good. I was even defending the use of AI a little - although the claim needed to go.

    Seems they just were just trying to do over a nascent community that I'm interested in seeing growing and wasn't a member of yet.

    Good riddance, then.

  • kshri24 7 hours ago
  • darshanime 14 hours ago

    since zig is famously decentralized, i don't think there is a way to effectively combat bad actors like these? there is no "official zig org" that can disown them

    • pa7ch 13 hours ago

      Its the opposite in my understanding. Zig has a BDFL.

      Trademarks are the usual cudgel of choice to enforce a bad actor claiming to be part of offcial Zig.

      • testdelacc1 11 hours ago

        But he isn’t. He’s just writing an AI slop book about Zig. Surely there’s nothing legally wrong with that? He never said it’s an official book or backed by the Zig project.

        The trademark cudgel is used on people who release an incompatible language that they insist on calling Zig, confusing people who want to try Zig. Or people who add malware to the Zig tool chain and try to distribute that.

        Trademark can’t be used to control bad actors like zigbook.

        • lenkite 10 hours ago

          > Surely there’s nothing legally wrong with that?

          Incorrect. Not honoring the attribution requirement in the MIT license is a copyright infringement because it violates the terms of the license, which are legally enforceable conditions.

          • testdelacc1 7 hours ago

            We are specifically talking about what the Zig project/foundation headed by Andy Kelley can do to such bad actors using the Zig trademark - which is exactly nothing.

            I wouldn't be so quick with the "incorrect" if I were you. You haven't even taken the trouble to read two sentences.

        • pa7ch 4 hours ago

          Mm thats a good point. I'm not entirely clear on the limits of trademarks in this case. Its Zigbook rather then Zig.

          • testdelacc1 an hour ago

            I read a lot about this when Rust was considering adopting a trademark policy. The main use cases for enforcing the trademark were

            - preventing someone who hardforked the project from creating an incompatible language while using the same name.

            - preventing someone from distributing malware while still using the same name.

            Because if you notice, neither of these clash with the MIT license that many languages use. You need to enforce your trademark to stop this kind of behaviour.

            Zigbook can argue that they aren’t causing any confusion between themselves and the Zig language. The Zig foundation could argue that the name implies an endorsement by the project and they should call themselves The Unofficial Zig Book instead. I don’t know which way it goes.

    • IncreasePosts 14 hours ago

      In a decentralized but communicating community, this kind of post is raising awareness, and then the others in the community will make their own choices regarding the matter.

  • kklisura 8 hours ago

    There should be something of an OFAC Sanction List for SWE for people who blatantly transgress moral and ethical lines.

    • kyleee 2 hours ago

      Ahh good idea; like the Brady list for bad police officers in US. Just have to figure out how to ensure it has teeth and doesn’t become a witch hunt

  • dangoodmanUT 7 hours ago

    Wtf is happening in the zig world this week

  • znpy 6 hours ago

    The only stupid thing here is that the zigtools playground is mit licensed, so all zigbook had to do was acknowledging original copyright.

  • blks 9 hours ago

    And now it’s made private.

  • do_not_redeem 14 hours ago

    I wonder what tools the Zig team has to deal with trolls like this.

    Is the zig name or logo trademarked? What about the mascot he's using as his github picture?

    They're violating the terms of the MIT license as mentioned in the article, so maybe Zigtools has legal standing.

    As for lying about no AI, being an asshole isn't illegal, so no angle there.

    Any other ideas I missed?

    • bragr 12 hours ago

      Lying potentially opens up fraud angles if they are soliciting or receiving something of value. Maybe false advertising even they are giving it away for free. A lot of this will depend on who has jurisdiction

  • b800h 6 hours ago

    Whenever I hear anything about Zig it seems to be drama. Very bizarre, will avoid.

    • jamiejquinn 5 hours ago

      Ditto... I love Zig as a language but I worry the high-level community builders (including Andrew) are a little too antagonistic to foster a positive, tolerant, patient community in the long term. In saying that, my infrequent interactions in the reddit and discord are always pleasant.

      • Zambyte 4 hours ago

        Actual Zig community spaces like Ziggit is very pleasant as far as programming language forums go. I think Zig just occupies a unique space in the language ecosystem (a very performance oriented, production oriented language that is not afraid to rapidly try things and throw them out if it doesn't meet expectations in practice - not many languages sit in the middle of this venn diagram) and people see it as an opportunity to gain a social foothold in something potentially great.

        It seems like it might be in the nature of a language with these goals and this development process to attract people like this, no matter how warm and welcoming the community leaders are.

      • yoyohello13 2 hours ago

        I don’t think Andrew is a bad guy, but his tone seems to attract a certain kind of person. All the technical people I’ve interacted with in the Zig community have been awesome, but for whatever reason it also attracts a lot of people who are just there to shit on anything mainstream.

    • pityJuke 4 hours ago

      This isn’t anything to do with Zig though, it just happens to be the language that this crook chose.

      They’ve could’ve picked Nim and done this whole spiel there (you’d want to pick a fledgling language that isn’t saturated with documentation, so the stalwarts aren’t usable).

    • myko 5 hours ago

      This is the first drama I've heard related to Zig, and seems to have nothing to do with the project itself–this is someone writing an online book about Zig

      • baranul 4 hours ago

        Zig has previously been involved in all kinds of drama. Including involving money, battles among developers, attempts to split/fork the language, and self-pushed conflicts with other programming languages. This is just the latest, in the long series.