-
Content Count
3711 -
Joined
-
Last visited
-
Days Won
185
Everything posted by David Heffernan
-
10.4.1 Released today
David Heffernan replied to Darian Miller's topic in Tips / Blogs / Tutorials / Videos
Lightweight MREW sounds useful. One does wonder if it works, having experienced the monitor debacle. -
You should have all your work in revision control. Then when your drive fails you still have it. Not to mention all the other benefits.
-
does a class property or a variable exist
David Heffernan replied to alnickels's topic in General Help
These things are determined at compile time. You can't declare either at run time. So why do you feel this a run time issue? -
Delphi 7 is a lot slower on Windows 10 (compared to Win7)
David Heffernan replied to Yaron's topic in Delphi IDE and APIs
FWIW, I have always installed Delphi, even as far back as D6 under program files. Once Vista and UAC arrived, I recall having to add a couple of permissive ACLs onto a couple of files, but it was pretty trivial. And had the benefit of keeping my machine nice and tidy. I understand that people have different preferences, but I just wanted to point out that installing under program files is not as terrifying as it can be made out. -
Delphi 7 is a lot slower on Windows 10 (compared to Win7)
David Heffernan replied to Yaron's topic in Delphi IDE and APIs
UAC, virtualization, etc. was introduced with Vista in 2006 -
Delphi 7 is a lot slower on Windows 10 (compared to Win7)
David Heffernan replied to Yaron's topic in Delphi IDE and APIs
Doesn't virtualization take care of all of this? Or does the D7 IDE have an app manifest? -
Delphi 7 is a lot slower on Windows 10 (compared to Win7)
David Heffernan replied to Yaron's topic in Delphi IDE and APIs
What does it write there? -
Unwanted Windows XP Manifest inserted
David Heffernan replied to timfrost's topic in RTL and Delphi Object Pascal
This topic is not about what is considered the right way to handle manifests. It's about tracking down the inclusion of a resource whose origin is not immediately obvious. -
Unwanted Windows XP Manifest inserted
David Heffernan replied to timfrost's topic in RTL and Delphi Object Pascal
XPMan is still there: http://docwiki.embarcadero.com/Libraries/Sydney/en/Vcl.XPMan.TXPManifest -
Unwanted Windows XP Manifest inserted
David Heffernan replied to timfrost's topic in RTL and Delphi Object Pascal
The unit is named XPMan. Search for that. -
Boolean short-circuit with function calls
David Heffernan replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
You still need comments for future readers. -
Delete FastMM4 MemoryManager_EventLog.txt
David Heffernan replied to Alberto Paganini's topic in Delphi Third-Party
It's automatically deleted here. Try setting up a brand new app and check how it behaves there. -
I use SHAutoComplete and don't have any issues.
-
Why don't you use the native Win32 TEdit but just enable CTRL+BACKSPACE? Call SHAutoComplete(WindowHandle, SHACF_AUTOAPPEND_FORCE_OFF or SHACF_AUTOSUGGEST_FORCE_OFF); in an overridden CreateWnd. Use an interposer, or some other mechanism to get this code to run.
-
Only cool for the users. Mind-bending if it's your job to implement it!
-
Also the owned objects are destroyed when items are removed from the dictionary. This is the same ownership model as the classic TObjectList.
-
Delphi implementation of Aberth–Ehrlich method and precision problem
David Heffernan replied to at3s's topic in Algorithms, Data Structures and Class Design
When you said that I thought you meant that you were not able to call libopenblas from Delphi. But then you later said that you were doing that. So I still don't understand that statement. Notwithstanding, I am sure you will be able to work out which library is best suited to your needs. -
Delphi implementation of Aberth–Ehrlich method and precision problem
David Heffernan replied to at3s's topic in Algorithms, Data Structures and Class Design
I'd be astounded if that was not the case. Eigen has a very good reputation. Certainly for basic matrix arithmetic performance is excellent. And I'd be astonished if it could not match openblas for eigensolves. Then I don't know why you asked if it was possible to do something that you were already doing. -
Delphi implementation of Aberth–Ehrlich method and precision problem
David Heffernan replied to at3s's topic in Algorithms, Data Structures and Class Design
That isn't it. Not true. C++ compilers can perform just as well. Possible. But I doubt it. I bet you are asking different questions, and not comparing like with like. Quite simple to call libopenblas from delphi. I do just that. -
Delphi implementation of Aberth–Ehrlich method and precision problem
David Heffernan replied to at3s's topic in Algorithms, Data Structures and Class Design
OK, I see. We'll, I don't really know. It seems odd because they use the same algorithm as I understand it. I imagine there is a good explanation. But there'd need to be more detail. -
Delphi implementation of Aberth–Ehrlich method and precision problem
David Heffernan replied to at3s's topic in Algorithms, Data Structures and Class Design
Your lapack call does not calculate eigen vectors. The eigen call does. -
Delphi implementation of Aberth–Ehrlich method and precision problem
David Heffernan replied to at3s's topic in Algorithms, Data Structures and Class Design
That would be surprising. I wouldn't want to comment without seeing what options you used when calling the functions. -
Enums and generics
David Heffernan replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
Unless all of your enumerated types have the same names, it seems like you'd have to provide names for each type. -
Enums and generics
David Heffernan replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
You have misunderstood me. The attribute is independent of the type. Therefore it can be used with any type. -
Enums and generics
David Heffernan replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
As you can see from the code, the attribute class is called NamesAttribute and is independent from the type. Otherwise the whole thing would be pointless.