Jump to content

Lars Fosdal

Administrators
  • Content Count

    3565
  • Joined

  • Last visited

  • Days Won

    120

Everything posted by Lars Fosdal

  1. Lars Fosdal

    Unicode normalization

    Is there Unicode support in @Alexander Sviridenkov's https://delphihtmlcomponents.com/index.html ?
  2. Lars Fosdal

    Fastreports

    https://www.fast-report.com/en/products/report-for-delphi-fastreport-feature-matrix/
  3. Lars Fosdal

    Loop a Delay in a thread??

    WaitForMultipleObjects or WaitForSingleObject or the ..Ex versions allows waiting with a minimum of looping, i.e. less CPU usage. Examples of usage can be found f.x. in OmniThreadLibrary.
  4. We also used SVN for nearly a decade before switching to Git. We do not have any regrets, but we are grateful for a lot of the new possibilities. We chose GitKraken as GUI, but Fork was runner up. I can't remember what pulled us in direction of GitKraken. This "Git, Demystified" video from Delphicon 2023 is an awesome intro to Git.
  5. Lars Fosdal

    How many people use Delphi?

    @Fr0sT.Brutal I use VSCode a lot to search source code and structured data (XML, JSON), and I've got 47 plugins installed. I find it to be pretty snappy for my use, TBH.
  6. Lars Fosdal

    FMX mobile database

    @omnibill Don't access a DB directly over the internet. It exposes the DB and eventual vulnerabilities It binds your UI to the current DB model, instead of a general data model, making it harder to make changes to the DB without breaking the UI Use a REST server to hide the underlying database and communicate with API structures (JSON, BSON, XML, etc) adapted to your general data model It hides the actual structure of the DB - such as unique integers used for relationships, but which has no information content It prevents SQL injection attacks Using proper authentication models (OAUTH2), you avoid exposing DB internal users It allows server side sanity checks of incoming content It makes outgoing content access control more flexible You can allow third party to access your APIs You can change the DB on the backside of the API You can scale the DBs on the backside of the APIs
  7. 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.
  8. 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.
  9. Lars Fosdal

    How many people use Delphi?

    Well, if you work with databases, everything else feels fast 😛
  10. 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 😛
  11. 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.
  12. 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.
  13. 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.
  14. Lars Fosdal

    Delphi 11.3 Patch 1 Available

    https://blogs.embarcadero.com/rad-studio-11-3-alexandria-patch-1-available/ Edit: Corrected the link
  15. 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?
  16. Lars Fosdal

    How do I convert from string to char?

    https://docwiki.embarcadero.com/Libraries/Alexandria/en/System.UnicodeString
  17. 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
  18. 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.
  19. looks a bit fishy...
  20. That is the problem with ChatGPT. It cannot be relied on.
  21. Lars Fosdal

    My carriage return and line feed isn't working

    Is there an EditResults -> Lines -> Add method?
  22. ASM is pretty much straight ASM32 or ASM64.
  23. 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.
  24. The configurations inherit values - can it be that your release version of the "failing" app has an override?
×