Jump to content

Lars Fosdal

Administrators
  • Content Count

    3416
  • Joined

  • Last visited

  • Days Won

    113

Everything posted by Lars Fosdal

  1. Lars Fosdal

    Cross platform HTTP client with proxy support?

    But, it looks like you are correct. MacOS and iOS doesn't allow the app to override the settings in the OS. Platform Behavior Windows The HTTP Client uses the system proxy settings. You can bypass the system proxy settings and you can also provide alternative proxy settings for the HTTP Client. To bypass the system proxy settings, create proxy settings for the HTTP Client and specify http://direct as the URL. macOS The HTTP Client always uses the system proxy settings. Even if you provide alternative proxy settings for the HTTP Client, the HTTP Client uses the system proxy settings. iOS The HTTP Client always uses the system proxy settings. Even if you provide alternative proxy settings for the HTTP Client, the HTTP Client uses the system proxy settings. Android The HTTP Client uses the system proxy settings. You cannot bypass those settings, but you can provide alternative proxy settings for the HTTP Client. Linux The HTTP Client uses the system proxy settings. You cannot bypass those settings, but you can provide alternative proxy settings for the HTTP Client.
  2. Lars Fosdal

    Cross platform HTTP client with proxy support?

    I found this issue: https://quality.embarcadero.com/browse/RSP-40392 which appears to be the same, and it is in status Open. The example code looks a bit weird, though.
  3. Lars Fosdal

    Cross platform HTTP client with proxy support?

    @softtouch- ref. THttpClient on Mac - Access Violation - did you register an issue on the Quality portal?
  4. Lars Fosdal

    A book about Object Pascal Style Guide

    But... so much shit to clean up, and no time allocated to doing it... I'd go nuts.
  5. Find out where that attribute is declared and include the file? or... is this relevant: https://docwiki.embarcadero.com/RADStudio/Sydney/en/Workaround_for_C%2B%2B11_Attributes_(Clang-enhanced_C%2B%2B_Compilers)
  6. Lars Fosdal

    A book about Object Pascal Style Guide

    I'd be looking for a new job with a competent manager. This sounds like an ulcer-inducing task.
  7. Lars Fosdal

    Convert Png To ico fmx delphi

    The iOS sizes are weird, and needs manual rescaling - so I get the sarcasm from @Anders Melander There was a thread with another Delphi tool that made icons, but I can't recall which post.
  8. Lars Fosdal

    FileOpen dialog not showing all files

    Wow, that IS weird.
  9. Lars Fosdal

    400 Bad Request ,nginx/1.14.0

    I recently bought https://www.charlesproxy.com/ for debugging some https header issues. Easy to use and invaluable insights. It has a somewhat annoying trial version that may help you spot the difference between the Firefox and Delphi headers.
  10. Lars Fosdal

    FileOpen dialog not showing all files

    Are there any special attributes on the files not listed?
  11. Lars Fosdal

    Convert Png To ico fmx delphi

    That depends somewhat on the platform you want your FMX to run on. The newer IcoFX versions has explicit support for Mac recommended sizes at least. I haven't checked if it has native icns support, but you can use another tool to convert the format. Delphi wants .png files in the various sizes for Android and iOS, so that is something that can be exported - but appear to accept both .ico and .icns for MacOS and Linux.
  12. Lars Fosdal

    Convert Png To ico fmx delphi

    IcoFX is my goto tool for Icons. But, I have to admit I use the last free version: 1.6.4
  13. Lars Fosdal

    A book about Object Pascal Style Guide

    I am at a loss for words... How old is this codebase?
  14. Having an AI that can point out bugs or suggest improvements in MY code, is far more interesting than having purely AI generated code, IMO. On the other hand, I use the ISO8601 methods in System.DateUtils 😛
  15. Lars Fosdal

    Need a "Delphi programming guideline"

    Another good read is https://www.oreilly.com/library/view/framework-design-guidelines/9780135896457/ It is not Delphi specific, but the advice is sound and actively applied to C#/.NET code by Microsoft. Also - the book I wish I had read during my education days. https://www.oreilly.com/library/view/code-complete-2nd/0735619670/
  16. Lars Fosdal

    Fatal Error F2039 - Could not create output file

    Have you excluded the output folder from AntiVirus software? Also, have a look at https://learn.microsoft.com/en-us/sysinternals/downloads/process-explorer which can reveal what process that is holding the file.
  17. I stumbled on this: https://www.parallels.com/blogs/hyper-v-mac/ It doesn't say anything about TPMs, though, but https://kb.parallels.com/123975 mentions being able to run VMWare under Parallells - yet still no word on TPMs. Is that an approach you have explored?
  18. Lars Fosdal

    Fatal Error F2039 - Could not create output file

    Have you checked if an instance of the output app is still running? Does the problem persist if you restart the IDE?
  19. I assume you've already read: https://kb.parallels.com/en/122702 on TPMs? Duh, yes you had ><
  20. Lars Fosdal

    StacTrace

    Or, you invest in EurekaLog or MADExcept.
  21. I recently moved my Hyper-V Windows 11 VM from my old laptop to my new laptop. After using the Hyper-V manager Export / Import features, there was one extra step to make the TPM for the old VM work on the new machine. That step was essentially migrating a couple of certificates from the old machine to the new machine. https://robinhobo.com/how-to-move-or-restore-a-windows-11-vm-in-hyper-v-with-tpm-enabled-shielded-vms/ (Also read the comments in the article for helpful tips) I also have Windows 11 for ARM running with TPM enabled under Parallells on a MBP M1 Pro, but since I only have one Mac, I have not researched migration there. I abandoned VMWare for Hyper-V some years ago.
  22. Lars Fosdal

    Free installation error

    @WhitePortal Either your firewall, your router, DNS / hosts file, or your internet service provider, or something on the Embarcadero side of things is not letting your traffic through.
  23. Lars Fosdal

    swagger help needed

    Is that built on TMS Biz?
  24. Lars Fosdal

    swagger help needed

    That looks very promising, @Wagner Landgraf! I already have the code I need for pulling live specs and accessing the APIs. How deeply tied are the TMS Biz classes? Is the loaded Swagger/OpenAPI document class suitable for "plugging in" a custom class generator? I already have a set of framework classes that I want to create code for.
  25. Lars Fosdal

    Better way to maintain a list in a database table??

    Today, if you are in the enterprise, splunk logging is all the rage.
×