When developing plugins for the Delphi IDE, which should support several IDE versions, one sometimes needs to know when a particular change to the VCL or the IDE itself was made. E.g. if you want to change the background color of a Panel, you need to disable theming for that panel. The easiest way to … Continue reading AI is just great and always right – not
Category: AI
Vibe Coding in JavaScript with Claude.ai and Mistral’s Le Chat
I heard the term "Vibe Coding" a few days ago, but apparently it has been a thing for a while. What it means is people who know nothing about programming do it anyway with the help of "AI". They simply tell the AI to write their code for doing things they describe in plain English. … Continue reading Vibe Coding in JavaScript with Claude.ai and Mistral’s Le Chat
GExperts: AI Rewrite and COBOL Port Announced for Immediate Development
(Just in case you didn't notice the publication date: This was an April Fools joke. I have had some experience with COBOL and I would never ever use it unless somebody pays me thousands of Euros per hour.) The venerable Delphi IDE extension GExperts is about to undergo a revolutionary transformation, with plans announced to … Continue reading GExperts: AI Rewrite and COBOL Port Announced for Immediate Development
What does the following Delphi function do?
Still playing around with ChatGPT, I asked it "What does the following Delphi function do?" [delphi] function FileSizeToHumanReadableString(_FileSize: Int64): string; begin if _FileSize > 5 * OneExbiByte then Result := Format(_('%.2f EiB'), [_FileSize / OneExbiByte]) else if _FileSize > 5 * OnePebiByte then Result := Format(_('%.2f PiB'), [_FileSize / OnePebiByte]) else if _FileSize > 5 … Continue reading What does the following Delphi function do?
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:" [delphi] function IsoStringToDateTime(const ISODateTime: string): TDateTime; const ISOShortLen = 19; … Continue reading I asked ChatGPT what’s wrong with the following Delphi code