Jump to content

David Heffernan

Members
  • Content Count

    3495
  • Joined

  • Last visited

  • Days Won

    172

Everything posted by David Heffernan

  1. David Heffernan

    Does ChatAI make StackOverflow obsolete ?

    What AI could do is the websearch that so many askers on SO don't do, and thus avoid there being so many duplicate questions posted. That would be a plus.
  2. David Heffernan

    Does ChatAI make StackOverflow obsolete ?

    I think the answer to the original question is no
  3. David Heffernan

    Set Print Font Size...

    So scale them higher than recommended which is exactly what I do, 14/10*150=210. Problem solved. I wish there was an option to vote against QP issues.
  4. David Heffernan

    Set Print Font Size...

    Doesn't this depend on what scaling you use in the monitor, in other words what dpi you use. I mean, one point is 1/72 inch. But it will be much smaller if you say your 4k monitor has 96dpi. Rather than sizing your fonts differently, shouldn't you just set the dpi appropriately? I use an editor font size of 9 or 10 but a font scaling of 175% or 200%.
  5. David Heffernan

    How USE Python4Delphi in multithreads

    You should read about the Python GIL which is liable to be an issue
  6. David Heffernan

    Does ChatAI make StackOverflow obsolete ?

    I'd live to see it answer some of the questions that have been answered on SO, but without being able to refer to SO. In short, no, AI is still a long way from making human though obsolete. It can be a really power tool to use alongside it.
  7. David Heffernan

    "Always break line between else and if" vs. comments

    Personally I think it's much clearer like this: procedure MyProcedure(a, b: Boolean); begin if a then begin if b then Beep else Beep end else begin if b // Kommentar then Beep else Beep; end; end;
  8. David Heffernan

    TDateTimeHelper from D11 that can be used in D10.4?

    I support the current release of my software which is current for a year. When the new version comes out, we stop updating and supporting the previous version. I think that's pretty common. It is frustrating if you are on an older version, but my clients don't mind because they are happy to upgrade. Delphi is somewhat bug riddled and updating can be fraught. The Embarcadero policy would be better if the software wasn't so buggy and new versions weren't so risky.
  9. David Heffernan

    Close application during form create??

    I'd terminate the process
  10. David Heffernan

    Using WriteLn in dll

    For a DLL that can be used by hosts outside your control, it's wrong to force the caller to be in console mode. You are hosted by another process which makes its own decisions.
  11. What are you talking about? How about some plain speaking rather than writing cryptic messages.
  12. In the face of malware, curiosity needs be tempered somewhat.
  13. Astounding that people here apparently followed these links
  14. David Heffernan

    TDateTimeHelper from D11 that can be used in D10.4?

    These are open source projects
  15. David Heffernan

    TDateTimeHelper from D11 that can be used in D10.4?

    I mean, aren't we all people who write code? I find it odd to hear programmers that don't want to program because they aren't able to do it right.
  16. David Heffernan

    TDateTimeHelper from D11 that can be used in D10.4?

    Would be quicker just to write them yourself
  17. David Heffernan

    TDateTimeHelper from D11 that can be used in D10.4?

    I'm not even sure what you are asking us for here. What would a positive outcome to this thread look like?
  18. David Heffernan

    Default(TMyRec) usage

    Nobody expects the Delphi compiler to optimise anything
  19. David Heffernan

    Default(TMyRec) usage

    It depends. If I'm going to initialise every field I wouldn't default initialise. Many of my records have class methods named New that don't default initialise and assign to each field. I wouldn't want to offer blanket advice. Default initialise if you need to default initialise.
  20. David Heffernan

    Corean write in explorer popup menu

    Clearly there's a problem. But nobody knows anything about your code, because you've not shared any actionable details. Surely you understand that we can't guess what's wrong?
  21. David Heffernan

    Corean write in explorer popup menu

    Do we just have to guess what you are doing? Step back, and look at this thread, from top to bottom, and ask yourself how we could possibly say anything about what is happening on your machine. If you genuinely want help, then you need to help us to help you.
  22. David Heffernan

    no success in loading MiniConda with recommended setup

    I can't believe that modifying Windows path could be a wise thing to do in this scenario. Who advises that?
  23. David Heffernan

    TRegEx.IsMatch question

    You didn't specify that the pattern had to exhaust the entire string. Capture the match, look at the match, and see. Use a Web tool to test regex and see the matches. This will help you learn more quickly.
  24. Yeah, I think you can ignore that answer, it's really not relevant to your question. What you are trying to do is possible by iterating over the node and its children. I would start with some code to do that iteration. Do you have such code?
×