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?
Month: January 2023
I asked ChatGPT what’s wrong with the following Delphi code
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
New Edit Path expert in GExperts
It has been in the source code for quite a while and some few people and I have tested it, but I didn't tell anybody else about it: There is a new expert in GExperts for editing the current project's unit search path. It looks like this: It offers the same functionality as the Search … Continue reading New Edit Path expert in GExperts
Need help testing a GExperts bugfix
I have just applied patches that are supposed to fix some Unicode issues with Russian characters. These apply to the following editor experts: Expand Macro Template Locate / Move to matching delimiter Previous / Next Identifier reference My tests so far have shown no changes on how these work on my source code, but I … Continue reading Need help testing a GExperts bugfix
Minor Delphi Ide Explorer enhancement
I just added some minor enhancements to my Delphi Ide Explorer expert: For TShortCut properties it now also displays the text representation for the shortcut. For TShortCutList properties (TAction.SecondaryHotkeys) it now displays "<no shortcut>" if the list is emtpy rather than an empty string For TStrings properties it now displays "<empty>" if the list is … Continue reading Minor Delphi Ide Explorer enhancement