-
Content Count
2090 -
Joined
-
Last visited
-
Days Won
29
Everything posted by Attila Kovacs
-
It is right for the icons and it is the way, and it is hard to find an svg provider which has a wide range of icons with the same drawing-style to cover every needs. But the result makes a difference.
-
How to optimize exe loading times
Attila Kovacs replied to a topic in Software Testing and Quality Assurance
this sounds familiar to me 😉 -
Linux: wrong enum size
Attila Kovacs replied to Alexander Sviridenkov's topic in RTL and Delphi Object Pascal
@emailx45 {$Z1} / {$Z2} / {$Z4} -
After X hours the admins are carving them into stones 😉
-
How do I suppress a Inaccessible from C++ warning?
Attila Kovacs replied to Lars Fosdal's topic in RTL and Delphi Object Pascal
Project Options -> Delphi Compiler -> Hints and Warnings -> Output warnings -> "Duplicate constructor/destructor with identical parameters will be inacessible from C++" -> False did the trick. (Note the typo in the IDE) -
RTTI: How can I SetValue or ReadValue on Record fields type
Attila Kovacs replied to Stéphane Wierzbicki's topic in Algorithms, Data Structures and Class Design
I'm curious how would you write values to a "record" without knowing its implementation details. Through parsing and validating its class operators? Anyway, if you look after "delphi rtti record fields", you will find plenty of hits how to do it. It's pretty simple. -
RTTI: How can I SetValue or ReadValue on Record fields type
Attila Kovacs replied to Stéphane Wierzbicki's topic in Algorithms, Data Structures and Class Design
Nullable<> is a record, you have to get its (record)value, do your job on it (assign the values to this fetched record), then write it back to the field/property. -
in case of emergency break glass
-
git and Delphi tooling?
Attila Kovacs replied to Lars Fosdal's topic in Project Planning and -Management
Hey, wasn't an offense, I'm totally fine with it! -
git and Delphi tooling?
Attila Kovacs replied to Lars Fosdal's topic in Project Planning and -Management
@pyscripter I neither care about stealing. But if a system gets exposed (public or not) it could be an easy target for any kind of cyber-attack. No you don't. It was just XP the last time which had a EOL back in 2008. Trust is an unbeatable argument. -
git and Delphi tooling?
Attila Kovacs replied to Lars Fosdal's topic in Project Planning and -Management
Please forgive my naivety and let me ask, do companies really putting their valuable source codes on an online platform? -
How to optimize exe loading times
Attila Kovacs replied to a topic in Software Testing and Quality Assurance
@aehimself Okay, why? -
Come on 🙂 @Lars Fosdal remove the topic if it's inappropriate, the screenshot is still from emba wiki.
-
@Anders Melander I meant it in a ascii art way 😄
-
Manage overloaded IfThen functions
Attila Kovacs replied to Mike Torrettinni's topic in General Help
for sure H := (C = 0 ? 0 : V = r ? (g - b) / C : V = g ? (b - r) / C + 2 : (r - g) / C + 4 ); -
Manage overloaded IfThen functions
Attila Kovacs replied to Mike Torrettinni's topic in General Help
isn't this "IfThen" is the one that nobody uses because it evaluates both branches? -
Warning. This changes the SP fundamentally where negative numbers were ignored.
-
I don't know IB nor do I know the result of the IM JOIN WH but I don't like the "SUM(IM.TRS)TRS" I would write this like ISNULL( SUM( ISNULL(IM.TRS, 0) ), 0) AS TRS
-
How to optimize exe loading times
Attila Kovacs replied to a topic in Software Testing and Quality Assurance
At least a splash screen would be nice. You don't want to put your db connection into a thread. Nor many other things. It's so 90's. ctrl+shift+esc -
HTML Library review and sale: 25% off.
Attila Kovacs replied to Alexander Sviridenkov's topic in Delphi Third-Party
It is. -
Micro optimization - effect of defined and not used local variables
Attila Kovacs replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
"Premature optimization" is a phrase used to describe a situation where a programmer lets performance considerations affect the design of a piece of code. This can result in a design that is not as clean as it could have been or code that is incorrect, because the code is complicated by the optimization and the programmer is distracted by optimizing. "Premature optimization is the root of all evil." December 1974 Test-driven development is related to the test-first programming concepts of extreme programming, begun in 1999, but more recently has created more general interest in its own right. Just move on. -
I just installed GExperts for D2007 as there is no code-formatter out of the box and saw that the GExperts menu is taller as my screen. Just saying.
-
Ah I see now what you mean. In this case my apologies, the vertical resolution was virtually bigger, did not except that you made the menu dynamic. Good to know!
-
Pressing escape anywhere on the config window closes the form automatically losing every changes. <o>