Still playing around with ChatGPT, I asked it "What does the following Delphi function do?" The Delphi function you posted converts a file size in bytes into a human-readable string format, using binary prefixes (KiB, MiB, GiB, TiB, PiB, EiB) to represent larger values. The function first checks the size of the file against various … Continue reading What does the following Delphi function do?
Slashdot just posted "What Happens When ChatGPT Can Find Bugs in Computer Code?" which links a PC Mag article with the title "Watch Out, Software Engineers: ChatGPT Is Now Finding, Fixing Bugs in Code" So I asked ChatGPT "What's wrong with the following Delphi code:" (That code is from GExperts' GX_GenericUtils unit.) It answered this: … Continue reading I asked ChatGPT what’s wrong with the following Delphi code