-
Content Count
3674 -
Joined
-
Last visited
-
Days Won
181
Everything posted by David Heffernan
-
Any good replacement for Indy email?
David Heffernan replied to PiedSoftware's topic in General Help
It's plausible that Indy isn't the problem here and that a wholesale library replacement will leave you with the same problems. -
Does vtune do code coverage?
-
UAC request minimized instead of full-screen
David Heffernan replied to Silver Black's topic in Windows API
That's kind of odd. Does the same happen if you do this with a brand new vcl project? -
Which implementation of this is easier to understand?
David Heffernan replied to dummzeuch's topic in Algorithms, Data Structures and Class Design
@Stefan Glienke You could readily tweak this to work with TStrings rather than TStringList and avoid all that hacking at the internals. But it's nice to see you using records for enumerators! -
Not all of us do this!
-
This would be too late to make much difference. The longer you leave bugs the more they cost. And I'm not sure that it would even help much. You'd have to devote significant resource to running the community contributors. Better to use that resource to get the quality right from the off. There's just something rotten in the Emba development model.
-
Which implementation of this is easier to understand?
David Heffernan replied to dummzeuch's topic in Algorithms, Data Structures and Class Design
Python has enumerate for this which ought to be possible for Emba to implement for Delphi in a similar manner as for in. -
The thing is, releasing software that is of low quality means that your engineering team spends large amounts of time addressing this low quality post release when it is much more expensive to do so. If they would use better engineering processes and concentrate on quality from the very start, then they would use far less human resources. They aren't even cutting corners with this approach. It is inefficient in terms of their own times and resource, and obviously really inefficient for every user affected by this low quality.
-
Which implementation of this is easier to understand?
David Heffernan replied to dummzeuch's topic in Algorithms, Data Structures and Class Design
Or better, a helper to TStrings -
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.
-
Which implementation of this is easier to understand?
David Heffernan replied to dummzeuch's topic in Algorithms, Data Structures and Class Design
Not an anti pattern -
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.
-
How to focus a window from another application?
David Heffernan replied to Lajos Juhász's topic in Windows API
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? -
I/O Error 103
David Heffernan replied to Silver Black's topic in Algorithms, Data Structures and Class Design
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. -
I/O Error 103
David Heffernan replied to Silver Black's topic in Algorithms, Data Structures and Class Design
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? -
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.
-
I/O Error 103
David Heffernan replied to Silver Black's topic in Algorithms, Data Structures and Class Design
I think this isn't the way to do it. I'd expect to see you add a resource with the additional payload. -
I/O Error 103
David Heffernan replied to Silver Black's topic in Algorithms, Data Structures and Class Design
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. -
I/O Error 103
David Heffernan replied to Silver Black's topic in Algorithms, Data Structures and Class Design
Even if you can succeed in writing to this file, what do you think the resulting exe will do? -
enable/disable the internet connection?
David Heffernan replied to David Schwartz's topic in Windows API
There are many posts on this topic on Stack Overflow. What did those posts yield? -
enable/disable the internet connection?
David Heffernan replied to David Schwartz's topic in Windows API
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. -
enable/disable the internet connection?
David Heffernan replied to David Schwartz's topic in Windows API
The OS already has UI to let you switch connections on and off. Why not use it? -
Have you considered blogging?
-
It never was ever. You are probably misinterpreting memory stats from a task manager program.
-
Python code is running in main thread (on standard) ?
David Heffernan replied to diaroeh's topic in Python4Delphi
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.