Leaderboard
Popular Content
Showing content with the highest reputation on 02/19/24 in all areas
-
What new features would you like to see in Delphi 13?
Fred Ahrens replied to PeterPanettone's topic in Delphi IDE and APIs
I don't need any new features. I just need that the existing features work as intended. And there are many areas where existing features need to be made usable again (e.g. refactoring, code formatting, HighDPI). OK, one new feature would be nice: compiling for Raspberry Pi. But fixing the existing features needs to be done first. -
What new features would you like to see in Delphi 13?
Uwe Raabe replied to PeterPanettone's topic in Delphi IDE and APIs
Sounds like it were a religion... -
What new features would you like to see in Delphi 13?
Lars Fosdal replied to PeterPanettone's topic in Delphi IDE and APIs
1. Debuggers, debuggers, debuggers - multithread handling is abysmal today 2. Make HighDPI actually works as intended - it is useless in a team as is - unless everyone runs the same scaling 3. Generics constraints for enumerated types to enable the use of conversion to/from ordinal values, use set operators, etc. 4. Native ARM64 compiler for Delphi for Windows (and Linux/Raspberry PI, but Windows has prio) 5. A 64-bit IDE that ensured that EMBT was dogfooding 64-bit VCL and RTL and raise the quality As for AI, I wouldn't mind an AI that could look at code and suggest improvements - perhaps as a part of the static code analysis, or one that could explain "what does this code do". I don't really need or want an AI to generate code. If it is a standard, a lib should already exist. If it doesn't and there is no standard that covers the need, I'd be happy to have an AI outline alternative approaches - but given that the wide scope of parameters that goes into a design, I think it is unrealistic to expect that it would come up with the ideal suggestion without us writing a huge requirement. The output of VLLM generators is extremely dependant on precise and accurate specification statements, and writing those are almost as hard as writing good code. As for AI and privacy - keep your secret credentials separated from your code. Other than that, I don't think that many of us write code that truly needs to be hidden for secrecy reasons, although it is obvious that it will be necessary to ensure that privacy permeates the use of AI. -
What new features would you like to see in Delphi 13?
Thijs van Dien replied to PeterPanettone's topic in Delphi IDE and APIs
The one thing I'm still waiting for is per project packages/components that are automatically (un)loaded by the IDE, right from the code repository they're used in (i.e. machine independent). I can't believe we still don't have something like that after so many years. -
Determining what driver FireDAC uses for MSSQL connection
Anders Melander replied to Ron Schuster's topic in Databases
Seems like there's a bug in the documentation. Unfortunate.- 5 replies
-
- firedac
- connection
-
(and 1 more)
Tagged with:
-
Determining what driver FireDAC uses for MSSQL connection
Dmitry Arefiev replied to Ron Schuster's topic in Databases
uses FireDAC.Phys.ODBCWrapper; procedure TForm252.Button1Click(Sender: TObject); begin ShowMessage(TODBCConnection(FDConnection1.CliObj).DRIVER_NAME); end; https://docwiki.embarcadero.com/Libraries/Athens/en/FireDAC.Comp.Client.TFDCustomConnection.CliObj- 5 replies
-
- firedac
- connection
-
(and 1 more)
Tagged with:
-
A native VCL, and not Windows-based, TComboBox control.
Brian Evans replied to shineworld's topic in VCL
Common to populate the list in OnDropDown. procedure TForm1.ComboBox1DropDown(Sender: TObject); begin ComboBox1.Items.BeginUpdate; Try ComboBox1.Items.Clear; ComboBox1.Items.Add('None'); for var I:integer := 1 to 256 do ComboBox1.Items.Add(IntToStr(I)); Finally ComboBox1.Items.EndUpdate; End; end; Can also clear the list in OnExit. procedure TForm1.ComboBox1DropDown(Sender: TObject); begin Var AComboBox := TComboBox(Sender); If AComboBox.Items.Count = 0 then begin AComboBox.Items.BeginUpdate; Try AComboBox.Items.Add('None'); for var I:integer := 1 to 256 do AComboBox.Items.Add(IntToStr(I)); Finally AComboBox.Items.EndUpdate; End; end; end; procedure TForm1.ComboBox1Exit(Sender: TObject); begin TComboBox(Sender).Items.Clear; end; -
What new features would you like to see in Delphi 13?
dummzeuch replied to PeterPanettone's topic in Delphi IDE and APIs
Example (Gemini) (asked in German, Translation see below): Frage: "Welche Fahrradverleihe gibt es in Braunsbedra?" Die Antwort enthielt unter anderem einen Fahrradverleih in Ostfriesland. (Braunsbedra ist eine Stadt in Sachsen-Anhalt, am Geiseltalsee, > 400 km von Ostfriesland entfernt.) If that's a poor prompt, I don't know what a good one should be. And I have had similar experiences with ChatGPT. Translation: Question: "Which bicycle hire companies are there in Braunsbedra?" The answer contained one from Ostfriesland. (Braunsbedra is a town in eastern Germany, at the Geiseltalsee (lake), > 400 km from Ostfriesland (north sea shore)) -
What new features would you like to see in Delphi 13?
Lajos Juhász replied to PeterPanettone's topic in Delphi IDE and APIs
It is not about privacy. it is copyright. Anyone that has invested money into an algorithm and solution would not like to see it to appear inside an AI suggested code. That is one of the reasons why the source code for Microsoft Office is not open sourced..... -
Just an update. I have found many comments about a false positive with Delphi. So, the first (and easiest) step is to exclude the default projects folder from a virus check. This works for both Delphi 2007 and 2010. But, it would be impractical to add a folder exclusion for every program. The next idea is to exclude the process bds.exe from virus warning. This also works (for both 2007 and 2010 and all new Delphi projects). But, I would very much like to hear comments about the safety of this action. Next, I got a warning about "SetThreadContext failed" with Delphi 2007. In 2023 Michael Charles Aubrey wrote about fixing this. Just search this: Fixing the "SetThreadContext failed" Assertion Failure in Delphi 2007 on Modern Windows Machines, Including Windows 11 I downloaded the dll fix from Embarcadero and it's now working.
-
How do I upgrade from (c++ Builder) 11.3 to 12 ?
bdw_nz20 replied to CyberPeter's topic in General Help
yep it seems endless the frustration to be honest -
What new features would you like to see in Delphi 13?
dummzeuch replied to PeterPanettone's topic in Delphi IDE and APIs
No, not with the kind of AI that we currently have. -
I told you before that the ICS MIME sample does not display file content. Exactly which ICS functions are you using to decode this file> What size is it supposed to be? Which online decoder is able to decode this MIME correctly, without editing? Just telling me it does not work is not helpful. Angus
-
Delphi 12.0 TParallel.For performance. Threading.pas issues
Dalija Prasnikar replied to mitch.terpak's topic in General Help
The only self explanatory code is the trivial one. In other situations there is no such thing as self explanatory code, especially if it also needs to be performant and thread-safe. I have written tons of self explanatory code, for which now I don't know what was I smoking at the time. Sometimes, after a lot of digging I can remember why it was written like that and why it should stay that way, but mostly no. So I am not sure if it was just crappy code from the times I didn't know better, or there are valid reasons behind the awkward design choices.