From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.tangents Subject: Re: Help building Pen.el (GPT for emacs) Date: Sat, 24 Jul 2021 14:19:02 +0300 Message-ID: <83mtqcyn6h.fsf@gnu.org> References: <83im1948mj.fsf@gnu.org> <83lf642jeh.fsf@gnu.org> <83r1fp1es9.fsf@gnu.org> <837dhg1a1l.fsf@gnu.org> <87czr89n1a.fsf@posteo.net> <83y29wywfg.fsf@gnu.org> <87a6mc12it.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7058"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stefan@marxist.se, emacs-tangents@gnu.org, mullikine@gmail.com, rms@gnu.org, bugs@gnu.support To: Philip Kaludercic Original-X-From: emacs-tangents-bounces+get-emacs-tangents=m.gmane-mx.org@gnu.org Sat Jul 24 13:19:39 2021 Return-path: Envelope-to: get-emacs-tangents@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m7Fgw-0001eQ-JM for get-emacs-tangents@m.gmane-mx.org; Sat, 24 Jul 2021 13:19:38 +0200 Original-Received: from localhost ([::1]:54856 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m7Fgv-0002Rp-LC for get-emacs-tangents@m.gmane-mx.org; Sat, 24 Jul 2021 07:19:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48444) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7Fgh-0002RK-Kd for emacs-tangents@gnu.org; Sat, 24 Jul 2021 07:19:23 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38104) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m7Fgg-0002S4-62; Sat, 24 Jul 2021 07:19:22 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1070 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7Fga-0001xf-3L; Sat, 24 Jul 2021 07:19:16 -0400 In-Reply-To: <87a6mc12it.fsf@posteo.net> (message from Philip Kaludercic on Sat, 24 Jul 2021 09:31:38 +0000) X-BeenThere: emacs-tangents@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Emacs news and miscellaneous discussions outside the scope of other Emacs mailing lists List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-tangents-bounces+get-emacs-tangents=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-tangents" Xref: news.gmane.io gmane.emacs.tangents:687 Archived-At: > From: Philip Kaludercic > Cc: rms@gnu.org, mullikine@gmail.com, emacs-tangents@gnu.org, > stefan@marxist.se, bugs@gnu.support > Date: Sat, 24 Jul 2021 09:31:38 +0000 > > >> Not necessarily, if it generates a pure, top-level function. Someone > >> could type something like "Sort list of postcodes" and it generates a > >> Radix Sort function. And if this is part of some code that was copied a > >> lot, the model might tend to generate this verbatim even more likely. > > > > A sort function must state at least the data type before it can be > > compiled. And if you are talking about pseudo-code that is data-type > > agnostic, then that's an algorithm, and is not copyrightable, AFAIK. > > No, I was thinking about concrete code, that depending on the language > might even just rely on the standard library, especially if the language > has generics. Seeing how often SO code has been found in random > repositories[0], I don't think it is improbable that the trained models > might notice these patterns. Sorry, I don't understand what you have in mind. Can you show an example of useful code that could be copied verbatim into a program without at least some renaming, without breaking the program?