[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: PyQt Digest, Vol 226, Issue 4
From:       Michael Ampofo Amoh - Gyebi <amohgyebigodwin () gmail ! com>
Date:       2023-05-04 11:19:33
Message-ID: CA+kZvtg31qWoQRgVaGOFkpiBXZ3=rqeRLRkL-Kwq8zMSFe8CsQ () mail ! gmail ! com
[Download RAW message or body]

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@riverbankcomputing.com> wrote:

> Send PyQt mailing list submissions to
>         pyqt@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@riverbankcomputing.com
>
> You can reach the person managing the list at
>         pyqt-owner@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@gmail.com>
> To: PyQt list <pyqt@riverbankcomputing.com>
> Subject: Bad Bard
> Message-ID:
>         <
> CALyzANvUDwG3ipe5qsyrGevoE-AaDLRbK1HAXtYcbCLm2z0Aug@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@gmail.com>
> To: PyQt list <pyqt@riverbankcomputing.com>
> Subject: Bad GPT
> Message-ID:
>         <
> CALyzANu6sEHosshXYY_08mqvGis4Wn3Poc5KJuTZZHbx734dEw@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@riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
>
> ------------------------------
>
> End of PyQt Digest, Vol 226, Issue 4
> ************************************
>

[Attachment #3 (text/html)]

<div dir="auto">Bars and ChatGPT both use big data to make their calculations. In \
essence, they need a lot of other people&#39;s code to train on it. We all know that \
there is very little of PyQt source code on the internet. Perhaps there isn&#39;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  &lt;<a \
href="mailto:pyqt-request@riverbankcomputing.com">pyqt-request@riverbankcomputing.com</a>&gt; \
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 &#39;help&#39; 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 &quot;Re: Contents of PyQt digest...&quot;<br>
<br>
<br>
Today&#39;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 &lt;<a href="mailto:davecortesi@gmail.com" target="_blank" \
                rel="noreferrer">davecortesi@gmail.com</a>&gt;<br>
To: PyQt list &lt;<a href="mailto:pyqt@riverbankcomputing.com" target="_blank" \
                rel="noreferrer">pyqt@riverbankcomputing.com</a>&gt;<br>
Subject: Bad Bard<br>
Message-ID:<br>
            &lt;<a href="mailto:CALyzANvUDwG3ipe5qsyrGevoE-AaDLRbK1HAXtYcbCLm2z0Aug@mail.gmail.com" \
target="_blank" rel="noreferrer">CALyzANvUDwG3ipe5qsyrGevoE-AaDLRbK1HAXtYcbCLm2z0Aug@mail.gmail.com</a>&gt;<br>
                
Content-Type: text/plain; charset=&quot;utf-8&quot;<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: &lt;<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>&gt;<br>
 <br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 3 May 2023 14:15:57 -0700<br>
From: David Cortesi &lt;<a href="mailto:davecortesi@gmail.com" target="_blank" \
                rel="noreferrer">davecortesi@gmail.com</a>&gt;<br>
To: PyQt list &lt;<a href="mailto:pyqt@riverbankcomputing.com" target="_blank" \
                rel="noreferrer">pyqt@riverbankcomputing.com</a>&gt;<br>
Subject: Bad GPT<br>
Message-ID:<br>
            &lt;<a href="mailto:CALyzANu6sEHosshXYY_08mqvGis4Wn3Poc5KJuTZZHbx734dEw@mail.gmail.com" \
target="_blank" rel="noreferrer">CALyzANu6sEHosshXYY_08mqvGis4Wn3Poc5KJuTZZHbx734dEw@mail.gmail.com</a>&gt;<br>
                
Content-Type: text/plain; charset=&quot;utf-8&quot;<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>
&gt;                                                                     \
QPlainTextEdit.KeepAnchor)<br> &gt;<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 &#39;bot is trying<br> to \
                say.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<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>&gt;<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>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic