Jump to content

David Heffernan

Members
  • Content Count

    3739
  • Joined

  • Last visited

  • Days Won

    188

Everything posted by David Heffernan

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

    New Delphi features in Delphi 13

    The tooling in RAD Studio is more than a decade behind the many other IDEs around. It's feeble that we are making excuses for it not being able to do basic refactorings.
  3. David Heffernan

    New Delphi features in Delphi 13

    Well, no sarcasm and this is true. Because we are a software house developing our own product. Obviously other developers work in different settings.
  4. David Heffernan

    RAD AI Companion

    Why read the source code. You can read the documentation. Why wouldn't you want to be confident your code worked? Fine for throw away hobbyist programs. But for professional development you couldn't survive this way. Anyone in my team that tried this would be spoken to.
  5. David Heffernan

    New Delphi features in Delphi 13

    I don't "get some source code to work on". It's all our own code and we all follow the house style, obviously.
  6. 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.
  7. David Heffernan

    New Delphi features in Delphi 13

    I corrected it at the time. I wonder what the session management is for this bot.
  8. 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.
  9. 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.
  10. 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.
  11. David Heffernan

    New Delphi features in Delphi 13

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

    canvas.TextWidth not working in Win 11

    Yes, ScaleValue is it.
  14. 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.
  15. 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?
  16. 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
  17. 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!
  18. 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.
  19. 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
  20. David Heffernan

    what wrong with this function?

    What are you expecting anyone to do with this?
  21. David Heffernan

    PythonEngine.PyUnicode_FromString() issue

    This is a Python API function which is documented. And the documentation states UTF8. You won't see encodings other than UTF8 and UTF16 in the API.
  22. David Heffernan

    DLL path...

    Well, I would say that you can perfectly well do this with an app manifest and a private assembly.
  23. David Heffernan

    PythonEngine.PyUnicode_FromString() issue

    Why are you expecting ANSI encodings to be of use? Why aren't you using Unicode, either UTF8 or UTF16. I believe the function you call expects UTF8 which of course you are not passing. Then again I'm not sure why you picked on this function to make a string.
  24. David Heffernan

    strange errors appear with standard VLCs

    Probably the biggest problem is the inability to be precise in the statement of your issue
  25. David Heffernan

    Delphi 7 quirks & gaffs

    OK, given that this was posted in General Help, I just assumed you were looking for help, rather than sharing something humorous.
×