PyQt Digest, Vol 226, Issue 4

Michael Ampofo Amoh - Gyebi amohgyebigodwin at gmail.com
Thu May 4 12:19:33 BST 2023


Bars and ChatGPT both use big data to make their calculations. In essence,
they need a lot of other people's code to train on it. We all know that
there is very little of PyQt source code on the internet. Perhaps there
isn't even a tutorial online for the task you were asking them. On the
bright side, I hate them robots, I hope we have a nofollow code or
something that prevents them from being trained on our future data.

Amoh-Gyebi Ampofo


On Thu, May 4, 2023, 11:00 AM <pyqt-request at riverbankcomputing.com> wrote:

> Send PyQt mailing list submissions to
>         pyqt at riverbankcomputing.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://www.riverbankcomputing.com/mailman/listinfo/pyqt
> or, via email, send a message with subject or body 'help' to
>         pyqt-request at riverbankcomputing.com
>
> You can reach the person managing the list at
>         pyqt-owner at riverbankcomputing.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of PyQt digest..."
>
>
> Today's Topics:
>
>    1. Bad Bard (David Cortesi)
>    2. Bad GPT (David Cortesi)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 3 May 2023 13:13:50 -0700
> From: David Cortesi <davecortesi at gmail.com>
> To: PyQt list <pyqt at riverbankcomputing.com>
> Subject: Bad Bard
> Message-ID:
>         <
> CALyzANvUDwG3ipe5qsyrGevoE-AaDLRbK1HAXtYcbCLm2z0Aug at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> After a number of iterations I have not been able to get Bard to give me a
> clean PyQt6.5 editor with find/replace.
>
> It persistently messes up the longer Qt6 namespace references, and it keeps
> trying to write an event handler that returns True, when it should always
> return None. It thought that QPlainTextEdit had a replace() method. Etc.
>
> Bottom line at this point getting usable code from Bard is more trouble
> than it is worth.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20230503/d2467ec3/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 2
> Date: Wed, 3 May 2023 14:15:57 -0700
> From: David Cortesi <davecortesi at gmail.com>
> To: PyQt list <pyqt at riverbankcomputing.com>
> Subject: Bad GPT
> Message-ID:
>         <
> CALyzANu6sEHosshXYY_08mqvGis4Wn3Poc5KJuTZZHbx734dEw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> At the risk of boring the list, I went to chatGPT4 and asked it to compose
> a PyQt6 class of PlainTextEdit with find/replace dialog.
>
> It also gave me repeated issues with name references, for example it seems
> to be confusing QPlainTextEdit with QText Cursor, writing code such as
> this:
>
> next_match = cursor.movePosition(QPlainTextEdit.WordRight,
> >                                              QPlainTextEdit.KeepAnchor)
> >
>
> It also messes up the Qt6 lengthy reference strings for Qt enums and
> constants.
>
> All these mistakes would be both annoying and confusing to a novice. They
> require repeated trips to doc.qt.io to figure out what the 'bot is trying
> to say.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20230503/215b68fe/attachment-0001.htm
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> PyQt mailing list
> PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
>
> ------------------------------
>
> End of PyQt Digest, Vol 226, Issue 4
> ************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20230504/250060f1/attachment.htm>


More information about the PyQt mailing list