Jump to content

Lars Fosdal

Administrators
  • Content Count

    3416
  • Joined

  • Last visited

  • Days Won

    113

Everything posted by Lars Fosdal

  1. Lars Fosdal

    Parnassus Bookmarks for Delphi 11 Alexandria?

    When there are reasons, there should be public information - but there is just silence.
  2. Lars Fosdal

    Hot Reload in Delphi?

    It is not that we don't see its importance, we just don't have any faith in EMBT's ability to pull it off.
  3. Lars Fosdal

    Application to generate all cross platform images

    Fortunately, ImageMagick is available for Linux, Windows, MacOSX and even iOS. https://imagemagick.org/script/download.php
  4. Lars Fosdal

    Application to generate all cross platform images

    Is sips open source? Is there a Windows version?
  5. Lars Fosdal

    Application to generate all cross platform images

    Good question... If you intend to distribute it for free, and it is a generic tool for Delphi - You could work with EMBT to get it packaged for GetIt? If the source code doesn't contain any commercial libs, there is the source code on GitHub option?
  6. Lars Fosdal

    Application to generate all cross platform images

    Personally, I would never download an .exe from a less known source.
  7. Lars Fosdal

    Application to generate all cross platform images

    What defines an image here?
  8. In 2017, there was an example on SO for Windows / OSX - not sure if it still is the appropriate way to do it? https://stackoverflow.com/questions/13326292/only-one-application-instance-with-firemonkey For iOS and Android - single instance is handled by the OS, isn't it? Edit: There also is an interesting comment at the end of this thread https://codeverge.com/embarcadero.delphi.firemonkey/only-one-application-instance-w/1049535
  9. Lars Fosdal

    Delphi on Windows 11 on MacBook Pro 16 (2021)

    Moved the post to Cross-platform. Ref. Obstacle 2: It is probably path related. For now, I had to move the Mac out of my office to not be tempted to tinker more on it, but get some actual paid work done. The lure of unfamiliar territory was too powerful to resist when within the reach of my fingers.
  10. Lars Fosdal

    Delphi on Windows 11 on MacBook Pro 16 (2021)

    Getting to know the Mac. The OS is “UNIXish”, so that is pretty easy, but the UI and the keyboard… OMG, it is hard when 30 years of Windows is engraved into your DNA. Shift, fn, control, option, command will take some time to get used to., The multi-touchpad, with clicks, doubleclicks, single, double and triple finger combos... After deciding on Parallels Pro as a VM host, getting the Windows 11 for ARM VM up and running was incredibly easy. I went for four CPUs and 10Gb as the base config. Getting Delphi 11 + November patch installed went flawlessly and pretty quick. Getting PA Server installed also went without a hitch. It took a little while to start Delphi the first time, but after that it was snappy. I created a blank FMX project, but when I try to select the MacOS ARM 64-bit platform, I arrive at Obstacle 1: Delphi fails to import MacOS SDK and asks if I installed the XCode command line tools? I had installed XCode, but since I´ve never used it, it is pretty much a blank sheet to me. Looking at the PA Server console, I found that it ran: > command_line: "/usr/bin/xcodebuild" -version -sdk When I run that in a Terminal, I get an error message: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance So, Google it is. https://github.com/nodejs/node-gyp/issues/569 lists a solution, suggesting # Install Command Line Tools if you haven't already. xcode-select --install Which fails, suggesting it is installed, and that I should use Software Update to update it. I do. It is up to date. # Enable command line tools sudo xcode-select --switch /Library/Developer/CommandLineTools This does not help. Same error message about the command line tool instance. The third option worked. # Change the path if you installed Xcode somewhere else. sudo xcode-select -s /Applications/Xcode.app/Contents/Developer Yay, I have a MacOS 12 SDK! Even if the import log looks weird. A single Hello World TLabel and Run. Yay! MacOS ARM app running! Lets try something more complex. I open a sample project, switch to MacOS ARM, and compile. dccosxarm64 command line for "FMSimplePhysics.dpr" [dccosxarm64 Error] E2597 ld: library not found for -lFlatBox2DDyn [dccosxarm64 Fatal Error] F2588 Linker error code: 1 ($00000001) Obstacle 2: Now what!? It is probably trivial, but ...
  11. Lars Fosdal

    Delphi on Windows 11 on MacBook Pro 16 (2021)

    It is kinda ass backwards, isn't it...
  12. Lars Fosdal

    Bookmarks dead?

    My faith in EMBT is faltering, and I am the optimist among us...
  13. Lars Fosdal

    RemoteApp

    The appropriate solution would be using RDP, as @Rinzwind pointed out.
  14. Lars Fosdal

    EurekaLog Black Friday/Cyber Monday sale!

    Note that if you are writing commercial software and you are not using EurekaLog or similar tools, you are really missing the best way to identify WHERE your apps fail, when they fail. Usually, that is a when, and not an if - and EL gives you full insight into where something did not go according to plan in your code. You still have to come up with the why yourself 🙂
  15. Lars Fosdal

    Component for GIF animation

    https://stackoverflow.com/questions/45285599/how-to-use-animated-gif-in-firemonkey appears to have a working code example in the last comment? Note that I have NOT tested it.
  16. Which part is slow? IsValid, Open, or the loop? Does the slowness depend on the size of the zip file?
  17. Lars Fosdal

    Android Screenshot not working on new phones >= 10

    Thanks for not sharing how you solved it?
  18. Is anyone using this? I can't believe how sluggish it is...
  19. Lars Fosdal

    PAServer for remote Debugging on Windows

    It is through a VPN, on a 500Mbit/s fiber connection to a remote machine, on a firewalled, closed internal network.
  20. Lars Fosdal

    document projects

    Or in the "I made this".
  21. Lars Fosdal

    Herb Sutter on C++20

    This is my favorite Herb presentation.
  22. Lars Fosdal

    PAServer for remote Debugging on Windows

    IDE locks up every f'ing time. Connection pings ok. Checking it in the profile confirms connection with the PA Server. PA Server downloads the exe + rsm + a file that appear to belong to another project? Debugger Kernel starts up. No app launch - and the IDE is dead on my end.
  23. Lars Fosdal

    PAServer for remote Debugging on Windows

    Not sluggish... FUBARed. Why can't I cancel the deployment phase? Why does the IDE lock up after deployment?
  24. Lars Fosdal

    Herb Sutter on C++20

    is and as could help declutter that versatility, though.
×