-
Content Count
3735 -
Joined
-
Last visited
-
Days Won
188
David Heffernan last won the day on August 24
David Heffernan had the most liked content!
Community Reputation
2472 ExcellentTechnical Information
-
Delphi-Version
Delphi 11 Alexandria
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
New Delphi features in Delphi 13
David Heffernan replied to David Heffernan's topic in RTL and Delphi Object Pascal
I mean just never ever ever use single statement, always use compound and it's a non problem. -
New Delphi features in Delphi 13
David Heffernan replied to David Heffernan's topic in RTL and Delphi Object Pascal
I corrected it at the time. I wonder what the session management is for this bot. -
New Delphi features in Delphi 13
David Heffernan replied to David Heffernan's topic in RTL and Delphi Object Pascal
I was interested in the new AI chatbot that Emba are offering, which was announced in the webinar yesterday. It's at: https://www.embarcadero.com/radaicompanion The concept is that it is an AI bot that has been tweaked to target Emba products, Delphi, C++Builder etc. Anyway, after a recent question on SO I asked: Does the VCL have a TagObject property? The answer was a little disappointing: Yes, the VCL does have a TagObject property. It is available in the FMX.Types.TFmxObject class, which is part of the FireMonkey (FMX) framework, not the VCL. The TagObject property allows you to store any TObject value. I mean it gets there in the second sentence, but starting with Yes is poor. Classic AI people pleaser stuff! I then gave it some more recent SO questions and I have to say it did a good job. I'm quite interested in this concept though, and we've been working on something similar for our product because it's too niche for standard bots to know how to answer tricky questions. -
New Delphi features in Delphi 13
David Heffernan replied to David Heffernan's topic in RTL and Delphi Object Pascal
Yeah, some bits and pieces. But I can't see anything exciting. Just a few minor convenience improvements. -
New Delphi features in Delphi 13
David Heffernan replied to David Heffernan's topic in RTL and Delphi Object Pascal
95% of this is them saying that they've updated their tools to the latest versions of the various libraries that they are built from, target. Which has to be done, but this is clearly just a maintenance release. -
New Delphi features in Delphi 13
David Heffernan replied to David Heffernan's topic in RTL and Delphi Object Pascal
Don't worry, you aren't missing very much!! -
Obviously Emba have trailed the new conditional operator (wish they'd call it this and not ternary, but whatever). But we've heard nothing else. So I was interested in the what's new webinar to see what else there would be. Turns out the reason nothing else has been talked about ahead of time is that there is nothing else. I didn't have high expectations, but they've managed to fall well short of them. Has anyone else seen anything worth talking about?
-
There's absolutely no scenario where the performance of these scaling functions could be important. It's just blind asm for the sake of it, premature optimisation 101
-
Yes, ScaleValue is it.
-
You definitely don't want to be doing this when the VCL provides exactly this functionality.
-
A smart case statement in Delphi?
David Heffernan replied to PeterPanettone's topic in RTL and Delphi Object Pascal
Sure you can write a dictionary that works with just these keys. But what is the point of a dictionary that works with these specific five keys? Have you got a real world example to hand? -
madExcept is known to have really solid stack trace capabilities so it does seem very likely that it's a mis-configuration rather than any issue with madExcept or Delphi
-
Given that they never fix bugs in anything other than the very latest release, it's not that big a loss!
-
You didn't account for any font scaling. So if the user has a high dpi screen and a font scaling larger than 100% the your 26 and 8 won't be right. Then again, because you didn't provide full code and details we are all guessing a bit.
-
If you let your subscription lapse then they charge you full price for a new license because they are unscrupulous and hate their customers