From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mikael Djurfeldt Newsgroups: gmane.lisp.guile.devel Subject: Re: GPT-4 knows Guile! :) Date: Sat, 18 Mar 2023 09:22:43 +0100 Message-ID: References: Reply-To: mikael@djurfeldt.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000081969605f7286657" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1684"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-devel@gnu.org To: tomas@tuxteam.de Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Sat Mar 18 09:23:13 2023 Return-path: Envelope-to: guile-devel@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 1pdRqL-0000Fv-Fv for guile-devel@m.gmane-mx.org; Sat, 18 Mar 2023 09:23:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pdRq7-00059T-6L; Sat, 18 Mar 2023 04:22:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdRq5-000598-9K for guile-devel@gnu.org; Sat, 18 Mar 2023 04:22:57 -0400 Original-Received: from mail-ed1-f41.google.com ([209.85.208.41]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pdRq3-0003sI-HF for guile-devel@gnu.org; Sat, 18 Mar 2023 04:22:57 -0400 Original-Received: by mail-ed1-f41.google.com with SMTP id eg48so28576921edb.13 for ; Sat, 18 Mar 2023 01:22:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679127774; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oGMYvK9REx7NEIgMdussSU16ekuKHc5KopRm7WqRb9U=; b=WIHRzCCIGdUfWC6uOiurW/EmkqG0aXuDqD8Y+RmSsCnuU3nFxZqTiDHIHLkupPiOWQ rwiMGukVVPVBXdUeKtQ/ssNxYTPYQcnJUX3yjl+ewOwFR8VF+VGDD/HakVSO3mVQ23aa 44+H3AKls88qYreiTY3YCT7sKCKGVYA9OwEjwvlm9R0GC79OROZg+RYwv7aG8otI+stE 8jOR7iOYG0MbjpTxyts8+4WtzblwzyaGVuz1CnNhVp7pmzmo6Ighbezq50oeFKxJHpls vZnkf8jI/YlIvEbzXhvG4L0tzr/monNUSxoiIsW8ZCsUne6AVs+FSxE9YB4pc3T3EDVQ CZjw== X-Gm-Message-State: AO0yUKWQAShSz9Ds7q/SderdEZiv0rIpOYQW5lP+VEXYV7GBhF1ye/dh iCugVbRzN3sG6N+gIqYtL28YdDukeMqrf9ZkxGs/zFwONWM= X-Google-Smtp-Source: AK7set8VGlGEVluAmbcoNOsMCAo6aoFyQoxO1aZEYHZ6JJ5yD0wu8fJLqaIArVEjWJISIWPfyUIz5dlBZGnkG5sBFRg= X-Received: by 2002:a17:906:2294:b0:927:912:6baf with SMTP id p20-20020a170906229400b0092709126bafmr905769eja.15.1679127774073; Sat, 18 Mar 2023 01:22:54 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=209.85.208.41; envelope-from=mdjurfeldt@gmail.com; helo=mail-ed1-f41.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.devel:21787 Archived-At: --00000000000081969605f7286657 Content-Type: text/plain; charset="UTF-8" BTW, in the bouncing ball example, I find it amazing that I could get an improvement of the code by complaining: But all those SDL_ calls look like C bindings. Please use guile-sdl2 bindings. (It was also quite entertaining that I had to ask it to write the code "according to the guile-sdl2 manual".) Best regards, Mikael --00000000000081969605f7286657 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
BTW, in the bouncing ball example, I find it amazing = that I could get an improvement of the code by complaining:

<= /div>
But all those SDL_ calls look like C bindings. Please use guile-s= dl2 bindings.

(It was also quite entertaining that= I had to ask it to write the code "according to the guile-sdl2 manual= ".)

Best regards,
Mikael
<= /div> --00000000000081969605f7286657--