Jump to content

David Heffernan

Members
  • Content Count

    3586
  • Joined

  • Last visited

  • Days Won

    176

Everything posted by David Heffernan

  1. David Heffernan

    D11 - A bridge too far.. :-(

    You'd think that a good engineering department would be able to develop programs to a sufficient level of quality that you wouldn't need the public to do the testing by trial and error. I don't agree with the sentiment here that it is not possible to create good quality software without getting the public to test it.
  2. David Heffernan

    D11 - A bridge too far.. :-(

    All prior experience tells us this is what happens with a new release. Now they spend a year or two fixing this round of bugs. We'll, fixing the most significant ones. Some will be with us for a while.
  3. David Heffernan

    How to focus a window from another application?

    Is it the calculator window that you want to bring to the top, or is this just an example? And what if there are multiple windows so named?
  4. David Heffernan

    I/O Error 103

    That all makes sense. However, I still think I would use a resource for this. I do something very similar myself. I my case the executable is a help browser, and the embedded data is zipped up webhelp content. There are windows API functions for updating resources.
  5. David Heffernan

    I/O Error 103

    Yes. This isn't really to do with Delphi. Writing to a file can be done in any language. Certainly I can see that antimalware software is likely to object to such code. I could image attaching a payload to an executable after building it, and I'd always do that using a resource. But I'd see a problem with an executable being modified in the field. That would make updates next to impossible. File versioning would be messed up. What data are you adding to the file anyway? Why are you doing this at all? And when you say arbitrary executable file, I presumably mean an executable file that you control. You can't really imagine doing this to executable files provided by arbitrary third parties?
  6. David Heffernan

    LSP - Alexandria

    You should try one of the compilers other than the 32 bit Windows compiler!! I 100% agree with the sentiment that the tooling should work.
  7. David Heffernan

    I/O Error 103

    I think this isn't the way to do it. I'd expect to see you add a resource with the additional payload.
  8. David Heffernan

    I/O Error 103

    Doesn't an exe contain a file hash? I'm pretty sure that there are better ways of solving your problem, whatever it is, than modifying an exe file.
  9. David Heffernan

    I/O Error 103

    Even if you can succeed in writing to this file, what do you think the resulting exe will do?
  10. David Heffernan

    enable/disable the internet connection?

    There are many posts on this topic on Stack Overflow. What did those posts yield?
  11. David Heffernan

    enable/disable the internet connection?

    With all your experience you shouldn't be surprised when people wonder if there are better ways to solve problems people face. I'm sure you do the same in your work.
  12. David Heffernan

    enable/disable the internet connection?

    The OS already has UI to let you switch connections on and off. Why not use it?
  13. David Heffernan

    Maximum static memory

    Have you considered blogging?
  14. David Heffernan

    Maximum static memory

    It never was ever. You are probably misinterpreting memory stats from a task manager program.
  15. David Heffernan

    Python code is running in main thread (on standard) ?

    Certainly in the case of R it has a *nix heritage and is well supported on *nix and Windows platforms. Multiprocessing has always been the primary way to do parallel processing on *nix so it's entirely reasonable the R is single threaded and also reasonable that this has not got in the way of its success.
  16. David Heffernan

    Python code is running in main thread (on standard) ?

    Python multithreading is kinda broken because of the GIL, which tends to prevent scaling. Multiprocessing is the way.
  17. David Heffernan

    Delphi 11.0 has a different form Caption offset than Delphi 10.4

    Why has this changed? Is the VCL code custom drawing in Delphi 11 where previously it let the system do it? Or vice versa? Or both custom drawing and the code has changed?
  18. David Heffernan

    PC Specs for Delphi??

    So far as I remember you could not install Win95 on multi processor machines. We'll, you could but only one processor would be used.
  19. David Heffernan

    Calling inherited in Destroy

    Yes it should.
  20. David Heffernan

    PC Specs for Delphi??

    Which is why I didn't quote NT4 ofc
  21. David Heffernan

    PC Specs for Delphi??

    Didn't support multi threading IIRC
  22. David Heffernan

    PC Specs for Delphi??

    How could that be useful? The OS is known to manage context switches correctly.
  23. David Heffernan

    Maximum static memory

    It's become a somewhat abstract blog post. Because you won't offer details nobody can offer any practical input.
×