Jump to content

Lars Fosdal

Administrators
  • Content Count

    3504
  • Joined

  • Last visited

  • Days Won

    115

Everything posted by Lars Fosdal

  1. Lars Fosdal

    Delphi 11.3 is available now!

    @PeaShooter_OMO 11.0 to 11.3 is definitively worth it. Tired of code completion issues and Ctrl+click navigation not working? Lots of IDE fixes to be had. I personally prefer to uninstall all libs and plugins, then uninstall the IDE, and clean folders and clean registry before installing 11.3. Tip: If you are comfortable with .reg files - backup the old registry branch to yank out and reapply f.x. custom syntax highlighting settings afterwards.
  2. Lars Fosdal

    Delphi 11.3 is available now!

    @PeaShooter_OMO Which version are you on now? Which platforms are you using? We went from 10.4 to 11.1, and now to 11.3 - doing mostly Windows development. IMO, it was worth it.
  3. Lars Fosdal

    How many people use Delphi?

    Well, if you work with databases, everything else feels fast 😛
  4. Lars Fosdal

    How many people use Delphi?

    In Norway, Delphi developer salaries are relatively high compared to others - but I guess that is connected to the seniority of the average Delphi devs - We've been around for a long time 😛
  5. Lars Fosdal

    How many people use Delphi?

    Delphi is not dead, but a niche language. It is great for many uses, easy to learn, has readable code, and is nice for the hobbyist or for doing inhouse tools. However, if you intend to make a living doing software development and easily find employment, learn C#, Java, TypeScript and SQL. C++ if you want to do games. C if you want to do embedded.
  6. Lars Fosdal

    Updated XMLMapper

    @Miguel Moreno - I have an XSD schema that the XMLMapper doesn't like. Should I create an entry in Quality Portal? When I try to select the entire structure, I get multiple of these. The document also has more than one root - which seems to be handled.
  7. No, not really. Very little Delphi work these days, as I am trying to get my head around an ERP system and all its wrinkles.
  8. Lars Fosdal

    Delphi 11.3 Patch 1 Available

    https://blogs.embarcadero.com/rad-studio-11-3-alexandria-patch-1-available/ Edit: Corrected the link
  9. Lars Fosdal

    How do I convert from string to char?

    It clearly tells you that a string is an array of characters. That should give you some ideas?
  10. Lars Fosdal

    How do I convert from string to char?

    https://docwiki.embarcadero.com/Libraries/Alexandria/en/System.UnicodeString
  11. But - there are other uses than generating code - namely analyzing it. https://betterprogramming.pub/i-used-gpt-3-to-find-213-security-vulnerabilities-in-a-single-codebase-cc3870ba9411
  12. Lars Fosdal

    My carriage return and line feed isn't working

    Add MemoResults -> Clear() at the beginning of your code. I recommend looking up the online help for the VCL components to learn about their capabilities.
  13. looks a bit fishy...
  14. That is the problem with ChatGPT. It cannot be relied on.
  15. Lars Fosdal

    My carriage return and line feed isn't working

    Is there an EditResults -> Lines -> Add method?
  16. ASM is pretty much straight ASM32 or ASM64.
  17. Deviating slightly from the original topic: I wonder when green computing will become a part of education and business, i.e. writing code / designing libs that are less expensive in the context of power consumption.
  18. The configurations inherit values - can it be that your release version of the "failing" app has an override?
  19. Lars Fosdal

    Unicode weirdness

    @David Schwartz - You wouldn't happen to have an original file uploaded as an attachment to a post here, so that we can try some conversions?
  20. Another man's struggles with AI generated code. https://mastodon.gamedev.place/@badlogic/110139794125541730
  21. Lars Fosdal

    Unicode weirdness

    Wouldn't converting the chars to Unicode solve that problem? All strings in modern Delphi components are using Unicode. I don't understand why you don't want to handle the text as what it is. Once you have the text as Unicode, you also get all the nice TCharHelper functions to understand what kind of character you are looking at, in case you want to do more manipulations. A lot better and more robust than string replacements.
  22. Lars Fosdal

    Unicode weirdness

    @David Schwartz - This looks like MBCS encoding - the old ANSI multibyte character set encoding scheme in Windows. The ANSI routines should be capable of converting the strings to Unicode, but they depend on knowing the appropriate code page. https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Commonly_Used_Routines_for_AnsiStrings
  23. Lars Fosdal

    Forum for Spring4D

    I tried accessing that page, same problem.
  24. Lars Fosdal

    Choosing a Mac

    I have a MBP M1 Pro 32/2Tb, but if was buying a Mini, I would personally go for the M2 24GB/2TB. You can't expand later, so hence go for the max for that config. You can go bigger with the M2 Pro - but then it gets quite expensive, quite quick. I am not near my Mac atm, so I can't say how large the VM is. It depends a lot on what you install..
  25. Before DelphiLSP, I used the OmniPascal extension in VS Code. I've not tried the one you linked.
×