Jump to content

Wagner Landgraf

Members
  • Content Count

    85
  • Joined

  • Last visited

Everything posted by Wagner Landgraf

  1. Wagner Landgraf

    Simple FFT

    Here is mine as well. This thread brought me back in time, this code is from 2003. 🙂 cronos-fft.zip
  2. Just out of curiosity, I wonder if anyone implements interfaces from Exception classes? Like: EMyException = class(Exception, IMyInterface) Of course this would require interfaces would be non-referenced counted, but it would be a way to add arbitrary information to exceptions without having to inherit them from a specific class.
  3. Wagner Landgraf

    Delphi 10.2 / IPWorks - Calculating Amazon MWS signature

    Maybe you can check the source code of the AWS SDK for Delphi, more specifically the AWS Signer unit, and see how it compares to yours and spot any possible difference in algorithm?
  4. Wagner Landgraf

    Exception classes implementing interfaces

    It's an interesting approach when you have a centralize exception handler/processor mechanism - like logging systems, serializers, servers, etc.. It's a way to add metadata to the exception without having to be strict to a specific class hierarchy.
  5. Wagner Landgraf

    Delphi and the new Apple M1 CPU

    That was true for Windows 10, are you sure it will be the same for Windows 11? I believe ARM in Windows 11 will be a 1st class citizen like Intel.
  6. Wagner Landgraf

    Delphi and the new Apple M1 CPU

    Doesn't Windows 11 already provide ARM support?
  7. Wagner Landgraf

    Delphi Package Manager - choices?

    That's exactly the reason why none of them will ever be widely adopted. There should be one single manager that applies all the different ideas. It's not impossible.
  8. Wagner Landgraf

    Delphi Package Manager - choices?

    If I'm not wrong, @Vincent Parrett's package manager puts the packages in a global cache. So if you have multiple projects using the same version of JVCL, only one copy will be in your storage. If a couple of projects use an older version, then you will have two copies of JVCL. So it's the ideal scenario. I guess that's how it works, but he can confirm it.
  9. Wagner Landgraf

    Delphi Package Manager - choices?

    I think the "problem" with Package Manager is that is has to be widely adopted by the community to be very useful. Because the key is that relevant libraries and 3rd parties are available in the package manager. "Unfortunately" Embarcadero is pushing GetIt so it's unlikely we will have a different one being widely adopted, I guess.
  10. Wagner Landgraf

    Console Manager for the Delphi IDE

    Or if you want to find a way to do constant updates and improvements or leave it abandoned.
  11. Wagner Landgraf

    We use DUnitX and it discovers all our silly mistakes before release

    Just bumping this topic to ask: regardless of all the issues, are you guys still using some code coverage tool (if yes, which one), or just do not use it at all? I also miss a good tool for that.
  12. Wagner Landgraf

    How to get the actual UTC time??

    UTCNow := TTimeZone.Local.ToUniversalTime(Now);
  13. Wagner Landgraf

    Tool to inspect properties at run-time?

    That is a different one. There is an object inspector control in FNC UI pack, which is cross-platform, and there is an object inspector in TMS Scripter, which is VCL-only. They have no code in common.
  14. Wagner Landgraf

    Tool to inspect properties at run-time?

    Well, I was the one who made the agreement directly with Dmitry from Greatis. So yes, pretty sure. 🙂
  15. Wagner Landgraf

    Tool to inspect properties at run-time?

    Yes, form designer, object inspector, component combo, all can be used separately.
  16. Wagner Landgraf

    Tool to inspect properties at run-time?

    TMS Scripter has an object inspector control (it's an evolution from the Greatis one): https://www.tmssoftware.com/site/scriptstudiopro.asp. And of course, many other things, a full scripter engine and full IDE.
  17. You can try https://github.com/arimateia/liquid-delphi which is a Delphi implementation of Liquid template engine.
  18. I wonder what is a good way to get the stack trace when an exception happens? I know about madExcept and EurekaLog but I was willing to have something lighter and simpler. After a long Google-Fu session, it looks like using JclDebug is still the way to go? I also read here and there that madExcept is better at such job than JclDebug, and since DebugEngine is provided by the madExcept author, I wonder if it (DebugEngine) is a better alternative than JclDebug? Or is there even a more direct, straightforward way to get the stack trace these days?
  19. Wagner Landgraf

    Getting Exception stack trace in 2021

    Indeed, it's the dll which is compiled with Jcl. Still, it's the Jcl logic.
  20. Wagner Landgraf

    Getting Exception stack trace in 2021

    Thank you for presenting another approach. But that still needs JCL, so in the end, it's using the "JCL way". From what I saw DebugEngine is also very lightweight and even easier to use than this approach. It also looks like it did extra job to gather a "more correct" call stack. It all boils down to reliability, as JCL is widely used, and DebugEngine doesn't seem to be so. I guess I will have to just try it for a while and see it myself.
  21. Wagner Landgraf

    Getting Exception stack trace in 2021

    Spot on! Thanks for letting me know I'm not completely insane yet. 😅
  22. Wagner Landgraf

    Getting Exception stack trace in 2021

    Indeed, I google'd a lot and for some reason I set a flag they were both the same person. I thought I read it somewhere, but it looks I was mistaken.
  23. Wagner Landgraf

    Getting Exception stack trace in 2021

    Thank you very much for the feedback. Since you mentioned you just "gave it a try", you are not using it anymore, and/or didn't use it in production? I'm also interested in knowing how it is (and the other mentioned tools) when it comes to performance and stability, since I intend to use it in server applications.
  24. Wagner Landgraf

    failed deffered Getit package

    Thanks but I had already done that. No luck, unfortunately.
  25. Wagner Landgraf

    failed deffered Getit package

    I'm having the same problem. I could take a screenshot from the console app trying to execute some GetIt installer and I got the following screenshot. I can't install the patches. Maybe @Marco Cantu has some insights?
×