Jump to content

David Heffernan

Members
  • 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 Excellent

Technical Information

  • Delphi-Version
    Delphi 11 Alexandria

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. David Heffernan

    New Delphi features in Delphi 13

    I mean just never ever ever use single statement, always use compound and it's a non problem.
  2. David Heffernan

    New Delphi features in Delphi 13

    I corrected it at the time. I wonder what the session management is for this bot.
  3. David Heffernan

    New Delphi features in Delphi 13

    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.
  4. David Heffernan

    New Delphi features in Delphi 13

    Yeah, some bits and pieces. But I can't see anything exciting. Just a few minor convenience improvements.
  5. David Heffernan

    New Delphi features in Delphi 13

    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.
  6. David Heffernan

    New Delphi features in Delphi 13

    Don't worry, you aren't missing very much!!
  7. 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?
  8. David Heffernan

    canvas.TextWidth not working in Win 11

    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
  9. David Heffernan

    canvas.TextWidth not working in Win 11

    Yes, ScaleValue is it.
  10. David Heffernan

    canvas.TextWidth not working in Win 11

    You definitely don't want to be doing this when the VCL provides exactly this functionality.
  11. David Heffernan

    A smart case statement in Delphi?

    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?
  12. David Heffernan

    Madexcept leaks show false positives?

    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
  13. David Heffernan

    Rad Studio 13?

    Given that they never fix bugs in anything other than the very latest release, it's not that big a loss!
  14. David Heffernan

    canvas.TextWidth not working in Win 11

    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.
  15. David Heffernan

    Rad Studio 13?

    If you let your subscription lapse then they charge you full price for a new license because they are unscrupulous and hate their customers
×