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