<div dir="ltr"><div>How can this be useful when you have to anyway review everything is doing as he might to just randomly insert a bug or a security flaw???</div><div>I prefer to read poems by my human friends.<br></div><div><br></div><div>I highly recommend starting reading this paper at page 128 instead of wasting your time on that prompt:<br></div><div><a href="https://arxiv.org/pdf/2303.12712.pdf">https://arxiv.org/pdf/2303.12712.pdf</a></div><div><br></div><div>Be ready for a good laugh</div><div><br></div><div>Sincerely yours</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 1 Apr 2023 at 05:36, William Yager <<a href="mailto:will.yager@gmail.com">will.yager@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">On Fri, Mar 31, 2023 at 7:27 PM Mig Mit <<a href="mailto:migmit@gmail.com" target="_blank">migmit@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">How is it going to benefit anyone though? English, like all natural languages, is terrible for describing algorithms. </div></blockquote><div><br></div><div><br></div><div>The other day, I asked ChatGPT to solve a boring but non-trivial programming problem I had:</div><div><br></div><div>> I have a png file which contains a bunch of 5x7 bitmap font characters. Write a python program which reads in the png, and then for each character in the png, extracts the 35 bits of each character and assembles them into an integer.  The final output should be a list of integers, each integer containing a binary representation of each character in the font.</div><div><br></div><div>It did this basically perfectly.  It wasn't precisely matched to my format, but only because I was ambiguous in the problem statement. I gave it a little more context about the image format and it did it exactly right on the second try.</div><div><br></div><div>I also asked it to write an inverse function of this, which it did perfectly in Python, and did pretty well in Rust, although with a small and understandable bug.</div><div><br></div><div>Very useful! </div></div></div>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><b>Λ\oïs</b></div><div><div><a href="http://twitter.com/aloiscochard" target="_blank">http://twitter.com/aloiscochard</a></div><div><a href="http://github.com/aloiscochard" target="_blank">http://github.com/aloiscochard</a></div></div></div></div></div></div>