-
Content Count
3504 -
Joined
-
Last visited
-
Days Won
115
Everything posted by Lars Fosdal
-
@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.
-
@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.
-
Well, if you work with databases, everything else feels fast 😛
-
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 😛
-
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.
-
@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.
-
Delphi 11.1 + patches - No debug source / breakpoints?
Lars Fosdal replied to Lars Fosdal's topic in Delphi IDE and APIs
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. -
https://blogs.embarcadero.com/rad-studio-11-3-alexandria-patch-1-available/ Edit: Corrected the link
-
It clearly tells you that a string is an array of characters. That should give you some ideas?
-
https://docwiki.embarcadero.com/Libraries/Alexandria/en/System.UnicodeString
-
TO ChatGPT: In Delphi, is there any kind of an adapter or class that takes a TList<T> and makes it look like a TDataSet?
Lars Fosdal replied to David Schwartz's topic in Databases
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 -
My carriage return and line feed isn't working
Lars Fosdal replied to 357mag's topic in General Help
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. -
Radio button options not remembered on re-opening app
Lars Fosdal replied to Willicious's topic in Delphi IDE and APIs
looks a bit fishy... -
TO ChatGPT: In Delphi, is there any kind of an adapter or class that takes a TList<T> and makes it look like a TDataSet?
Lars Fosdal replied to David Schwartz's topic in Databases
That is the problem with ChatGPT. It cannot be relied on. -
My carriage return and line feed isn't working
Lars Fosdal replied to 357mag's topic in General Help
Is there an EditResults -> Lines -> Add method? -
LinkedList pointer implementation gives bad results!
Lars Fosdal replied to Giorgi Chapidze's topic in Algorithms, Data Structures and Class Design
ASM is pretty much straight ASM32 or ASM64.- 19 replies
-
- data structures
- pointers
-
(and 1 more)
Tagged with:
-
LinkedList pointer implementation gives bad results!
Lars Fosdal replied to Giorgi Chapidze's topic in Algorithms, Data Structures and Class Design
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.- 19 replies
-
- data structures
- pointers
-
(and 1 more)
Tagged with:
-
How to get Debug AND Release directories after building a project
Lars Fosdal replied to Die Holländer's topic in Delphi IDE and APIs
The configurations inherit values - can it be that your release version of the "failing" app has an override? -
@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?
-
TO ChatGPT: In Delphi, is there any kind of an adapter or class that takes a TList<T> and makes it look like a TDataSet?
Lars Fosdal replied to David Schwartz's topic in Databases
Another man's struggles with AI generated code. https://mastodon.gamedev.place/@badlogic/110139794125541730 -
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.
-
@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
-
I tried accessing that page, same problem.
-
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..
-
How to use an external editor like VScode and GitHub Copilot for Delphi 11 Alexandria?
Lars Fosdal replied to Al T's topic in Delphi IDE and APIs
Before DelphiLSP, I used the OmniPascal extension in VS Code. I've not tried the one you linked.