Unofficial Hacker News companion — get notified on comment replies, and more.

Show HN: Weavon, 99.93% Pandoc in 9.3 MB of Rust, 15-50x faster, PDF without TeX (opens external site)

157 points by deyvium 4 hours ago github.com 74 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (13)

  1. Totally fair, and I have huge respect for John MacFarlane. Pandoc and its companion libraries are an incredible piece of work, and sticking with the original when it already works for you makes sense.

    Weavon is mainly for cases where someone needs a small binary, faster batch runs, in process embedding in Rust, Python, Node, or Wasm, or zero-dependency PDF output.

    Replies (2)
    1. Is it not ethically dubious to you that you've automatically rewritten a GPL app based inevitably on someone's extraordinary efforts and you're going to distribute it in ways that disrespect those efforts?

      IMO, two things you should do here:

      1) preserve Pandoc's licence choice

      2) preserve the Pandoc authors' credits in some meaningful form

      Otherwise, ehhh. It's not a show of huge respect for John McFarlane, and I don't think people should have any respect for this at all. To me it's at the very least a kind of piracy of the moral right of authorship.

      Replies (4)
      1. [removed]
        Replies (3)
        1. I said what I said. I consider it a kind of piracy of the moral right of authorship. It is ethically questionable to me to simply clone someone's life's work entirely and yet lop off any sense of preserving the ethical choices that went into the creation of that work and its distribution.

          If your code of ethics doesn't cover this kind of thing, frankly I feel a little sorry for you.

          (Putting that aside, I view this kind of sealion-barking grilling that you do with some distaste, and I won't respond further)

        2. Following the Code of Ethics from ACM[0], it alreay violates

            1.3 Be honest and trustworthy.
          
            1.5 Respect the work required to produce new ideas, inventions, creative works, and computing artifacts.
          
          [0] https://www.acm.org/code-of-ethics
        3. Taste and ethics come from the same thing
      2. I have already explained the MIT and Apache-2.0 choice elsewhere in the thread, and I understand why you disagree with it.

        On credits, you make a fair point. All of John MacFarlane's copyright notices for the BSD companion libraries and default templates were already preserved in third_party/licences/ and listed in https://github.com/weavon/weavon/blob/main/THIRD_PARTY_NOTIC..., but the main README did not credit John MacFarlane and the Pandoc contributors directly. I just added an Acknowledgements section to the README at https://github.com/weavon/weavon#acknowledgements.

      3. FOSS licenses are becoming irrelevant. AI can rewrite any code base without using snippets at all. And it seems evident that no copyright can be claimed, because no human creativity was creating the new code. Just an idea and some prompting will probably not enough, legally spoken. So any AI-vibed clone should be public domain, and forget about the GPL.

        It's not something I wished to come, but I fear we must face reality. Concerning your second point, fully agree. At least some credit for the original author is a minimum we could ask for from a human perspective.

      4. OSS software has been reimplementing proprietary software for decades. Does this disrespect the moral right of authorship?

        Should Wine, Samba, ReactOS, and FreeDOS morally belong to Microsoft, and respect its license terms?

        OSS hackers fought for years for the right to make new software that interoperates with existing ecosystems. Personally, I think that is an important right, and that people should be able to license their interoperating implementations on their own terms.

        Replies (2)
        1. Samba (and probably all others as well) was true reverse engineering of the protocol/behavior and definitely clean room.

          This one is by a clanker that has been trained on Pandoc. It is not clean room.

          It is different to take from Bell Labs or Microsoft than from a small project. It is different to interoperate with Windows that was forced on almost all PCs.

          In this case it's very easy: Keep the original license and don't launder/steal.

        2. > OSS software has been reimplementing proprietary software for decades. Does this disrespect the moral right of authorship?

          Clean-room re-implementation of the specs, of a commercial application, for interoperability, with considerable human effort behind that re-implementation, is a considerably greater mark of respect than getting an LLM to slop-regenerate someone's existing open source app and relicense it, especially when the app in question is surely directly in the LLM's training set.

          There's an obvious change in degree here, and I find it puzzling that people don't see it.

          Replies (1)
          1. > "getting an LLM to slop-regenerate someone's existing open source app"

            I don't think that is what the author has done here.

    2. Given that your pandoc clone was built with LLMs which were trained on pandoc, your work is by any ethical definition a derivative of pandoc. You really ought to respect pandoc's license terms.