-
Content Count
3494 -
Joined
-
Last visited
-
Days Won
172
Everything posted by David Heffernan
-
TOpenDialog/TFileOpenDialog => how to to bypass file system redirection?
David Heffernan replied to Nigel Thomas's topic in VCL
Excluding files from system directory sounds like a recipe for disaster! But yeah, make a 64 bit process. If you still need to support 32 bit OS then you need to supply one version for each OS. -
TOpenDialog/TFileOpenDialog => how to to bypass file system redirection?
David Heffernan replied to Nigel Thomas's topic in VCL
Out of curiosity, what does your program do that requires users to select files in these directories which are private to the OS? -
So yeah, I can't help you, I'm in the same boat as you
-
They must be breaking their own licence terms. They'd probably back down very quickly if threatened with legal action. When I faced this problem, reassigning a licence from a retired developer to a new hire, I had to use my personal contacts with the senior developer team to get it resolved. I don't feel great about having had to do this.
-
Well, because a/b is not necessarily equal to (1/b)*a. This is because a/b is defined by IEEE754 to be the closest representable value to the true value of a/b. Then (1/b) is the closest representable value to the true value. And then (1/b)*a is closest representable etc etc. So (1/b)*a has two roundings a/b has just one. In many applications these fastmath approximations are perfectly acceptable, but of course there are applications where this is a problem.
-
That's an interesting piece of work. And sure, if you need to perform arithmetic to higher than double precision, then double is going to be a problem. My point, poorly stated, is that I believe that the bulk of numerical computing doesn't need more than double. Is that not the case?
-
Hiring-related question: Delphi + javascript ?
David Heffernan replied to David Schwartz's topic in Cross-platform
When I look to recruit people, I don't really care what technologies they've used. I am interested in how smart they are. But then I tend to be hiring for long term positions. So I don't even recognise a term like "Delphi dev". -
Hiring-related question: Delphi + javascript ?
David Heffernan replied to David Schwartz's topic in Cross-platform
Consider me confused -
Hiring-related question: Delphi + javascript ?
David Heffernan replied to David Schwartz's topic in Cross-platform
Why Delphi? Why not use something else? -
80 bit was never for large precision. It was intended for use as intermediate values in calculations for accuracy purposes. But it turned out not to be worthwhile. That's why it has been dropped. The support in modern hardware for 80 bit is on the 8087 unit only and is horribly slow. It's there for legacy reasons so legacy code still runs. Perhaps you are doing different type of work from me. But I'm using BLAS type numerical algorithms. You don't find BLAS for 80 bit data. This is an interesting post https://retrocomputing.stackexchange.com/questions/9751/did-any-compiler-fully-use-intel-x87-80-bit-floating-point
-
Indeed. And too bad you can't specify the type of a literal.
-
Given that the suppliers of hardware have dropped support for extended I would suggest that you are out of date.
-
any body can write this code by delphi?
David Heffernan replied to mofareh's topic in Network, Cloud and Web
Don't you have any software developers? -
any body can write this code by delphi?
David Heffernan replied to mofareh's topic in Network, Cloud and Web
What is stopping you from writing this in Delphi? I don't fully understand the question? Do you have any programmers on your team? Why not ask one of them to do this? -
True, but nobody should be using that type anyway. I speak as a developer of mathematical software.
-
TOpenDialog/TFileOpenDialog => how to to bypass file system redirection?
David Heffernan replied to Nigel Thomas's topic in VCL
FWIW, I'd tackle this by shipping a 64 bit application. -
It's true that the 64 bit Windows debugger is a disaster zone. But I just debug with the 32 bit debugger. You can have a project with both 32 and 64 bit targets. You can then ship just the 64 bit if you prefer. But you can still use the 32 bit debugger during development, because it's the one that is actually useful.
-
TOpenDialog/TFileOpenDialog => how to to bypass file system redirection?
David Heffernan replied to Nigel Thomas's topic in VCL
c# - 32-bit OpenFileDialog --> 64-bit System32? - Stack Overflow tl;dr not possible -
Then I think the code from @Lajos Juhász is what you need
-
What data type are you using? Currency?
-
64bit RTL patches with Intel OneApi and TBB
David Heffernan replied to RDP1974's topic in RTL and Delphi Object Pascal
The winapi heap is what I use for my MM. With an added twist that I have distinct heaps for each NUMA node so that I can arrange that threads get memory that is efficient to access on NUMA machines. -
Using a GUI timer like this is likely wrong anyway.
-
64bit RTL patches with Intel OneApi and TBB
David Heffernan replied to RDP1974's topic in RTL and Delphi Object Pascal
This is surely correct. It's strange that people wouldn't be happy to have the allocator in a dll. -
Pointer with increment vs direct array indexing should be very similar. In anything I think the latter tends to be a little quicker.
-
I simply don't use the RTL collections anywhere in my code and use my own implementation so I have full control of that. This is a serious undertaking, and not for everyone. So I'd recommend using the spring4d collections.