-
Content Count
562 -
Joined
-
Last visited
-
Days Won
6
Tommi Prami last won the day on August 12 2023
Tommi Prami had the most liked content!
Community Reputation
131 ExcellentTechnical Information
-
Delphi-Version
Delphi 12 Athens
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
function: how to return nil
Tommi Prami replied to jesu's topic in Algorithms, Data Structures and Class Design
Or just "setter" method with original code. Something like... function SetFloatParameter(const ADataSet: TDataSet; const AParamName: string; const AValueOK: Boolean; const AFloatValue: Double); begin Result := False; if AValueOK then begin ADataSet.ParamByName(AParamName).AsFloat := AFloatValue; Result := True; end else ADataSet.ParamByName(AParamName).Clear; end; -
Problem with Brace Highlight in IDE editor (D11.3 and D12.1)
Tommi Prami replied to Ruud's topic in Delphi IDE and APIs
Reported related that has annoyed me... https://embt.atlassian.net/servicedesk/customer/portal/1/RSS-2352 -
Buying a mini pc to install Delphi
Tommi Prami replied to Alberto Paganini's topic in Tips / Blogs / Tutorials / Videos
It depends quite a lot. But would go for I have and budget of xxx in my currency, what I can get with it. Ask people opinions about that, is it enough. And then decide to save more or purchase. I've been thinking of, if Company will get one, for my work computer. Mainly because I need laptop as laptop (the screen) maybe once or twice a year. Also with price of decent laptop, you get way better mini-PC (in terms of performance etc...). Problem being, for corporate use, that there are no good options usually from popular brands, and brands that make good models don't have support and service options that companies need. I think... IF someone has better info, I would be more than happy to stand corrected on this... -Tee- -
Interesting... Hope someone also gets involved and helps making bench marks more comprehensive. -Tee-
-
Dunno (first time heard about GetIT command line client), but would be nice be able to use wildards: getitcmd -i=FmxLinux*;ParnassusCoreEditor*;CodeSite*;AWSSDKforDelphi* or even: getitcmd -i=FmxLinux*;*Parnassus*;CodeSite*;AWSSDKforDelphi* PS. GetIT Seems to be down... Are the GetIT based installer and ISO installer compatible with each other. At least they used not to be??
-
Constant declarations keeps baffling me (don't know enough I guess)
Tommi Prami replied to Tommi Prami's topic in RTL and Delphi Object Pascal
Did not consider thsat they are those hybrid "varconsts", if type defined. If type could be defined for const could make some code cleaner. Make sure, some constant is always Double, not extended, in 32bit and also in 64bit... But anyways, thanks for info y'all... -tee- -
Constant declarations keeps baffling me (don't know enough I guess)
Tommi Prami posted a topic in RTL and Delphi Object Pascal
Helllo, Defining constants is pretty limited in delphi. some I think, related to single pass compiler. Latest was this case // Works MULTIPLIER = 1000; MULTIPLIED_CONSTANT = 1E-11 * MULTIPLIER; OTHER_FLOAT_CONSTANT: Double = 0.005; // Don't work MULTIPLIER: NativeInt = 1000; MULTIPLIED_CONSTANT = 1E-11 * MULTIPLIER; // <- E2026 Constant expression expected This seems kind of weird. Is this limitation or bug in the Compiler, or feature I don't know about. -Tee- -
That feels like a bug to me. Seems that panel should not affect that, or am I missing something obvious. Vertical align into the edit would be quite nice to have. There must be palaces it would be useful. -tee-
-
Will get merged to main someday?`Right? Would it be better to get closer to the Embarcadero version, where possible, because every difference will cause some problems and confusion, I think. Also it would make things easier for Embarcadero to merge fixes to their version. etc,... And finally the one with New OpenSSL-stuff... Just my 0.02€ -tee-
-
Delphi bug reports or feature requests to "vote"/comment for (important, fatal etc)/
Tommi Prami replied to Tommi Prami's topic in Delphi IDE and APIs
IF possible, check your tickets on the new Jira, that they are visible to others also... For example This is not visible to me; https://embt.atlassian.net/servicedesk/customer/portal/1/RSS-446 If no proprietary information, please make tickets public. -Tee- -
Delphi bug reports or feature requests to "vote"/comment for (important, fatal etc)/
Tommi Prami replied to Tommi Prami's topic in Delphi IDE and APIs
Most likely, all failed, at quick glance, where about 1800 or older... -
TParallelArray Sort Performance...
Tommi Prami replied to Steve Maughan's topic in RTL and Delphi Object Pascal
Average case has most likely very small amount of items to sort. I think I saw somewhere that Bubble Sort would be faster than QuickSort on very small item counts. Not sure tough. But better is always better and faster is faster, PDQSort was quite interesting, quick look had interesting cases when it is very fast. Seems that it has no really bad worst cases either. Did not find very good comparison against many other algorithms. Anyhow getting better default sort algorithms to RTL most likely would not hurt much 🙂 -Tee- -
Delphi bug reports or feature requests to "vote"/comment for (important, fatal etc)/
Tommi Prami replied to Tommi Prami's topic in Delphi IDE and APIs
First weirdness in D12.2 ISO8601ToDate('0600-12-31T13:13:13Z') returns wrong value https://embt.atlassian.net/servicedesk/customer/portal/1/RSS-1747 -
Seems to return wrong value... That is not only value it fails... I make bug report... https://embt.atlassian.net/servicedesk/customer/portal/1/RSS-1747