<div dir="ltr"><div dir="ltr">On Fri, Mar 31, 2023 at 7:27 PM Mig Mit <<a href="mailto:migmit@gmail.com">migmit@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color: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>