Jump to content

Attila Kovacs

Members
  • Content Count

    2090
  • Joined

  • Last visited

  • Days Won

    29

Everything posted by Attila Kovacs

  1. Attila Kovacs

    Images in High DPI, how?

    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.
  2. this sounds familiar to me 😉
  3. Attila Kovacs

    Linux: wrong enum size

    @emailx45 {$Z1} / {$Z2} / {$Z4}
  4. Attila Kovacs

    Can't edit my post?

    After X hours the admins are carving them into stones 😉
  5. 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)
  6. 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.
  7. 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.
  8. Attila Kovacs

    Prefix unit local variable names

    in case of emergency break glass
  9. Attila Kovacs

    git and Delphi tooling?

    Hey, wasn't an offense, I'm totally fine with it!
  10. Attila Kovacs

    git and Delphi tooling?

    @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.
  11. Attila Kovacs

    git and Delphi tooling?

    Please forgive my naivety and let me ask, do companies really putting their valuable source codes on an online platform?
  12. Attila Kovacs

    In Case You Didn't Know

    Come on 🙂 @Lars Fosdal remove the topic if it's inappropriate, the screenshot is still from emba wiki.
  13. Attila Kovacs

    In Case You Didn't Know

    @Anders Melander I meant it in a ascii art way 😄
  14. Attila Kovacs

    Manage overloaded IfThen functions

    for sure H := (C = 0 ? 0 : V = r ? (g - b) / C : V = g ? (b - r) / C + 2 : (r - g) / C + 4 );
  15. Attila Kovacs

    Manage overloaded IfThen functions

    isn't this "IfThen" is the one that nobody uses because it evaluates both branches?
  16. Attila Kovacs

    SQL Update

    Warning. This changes the SP fundamentally where negative numbers were ignored.
  17. Attila Kovacs

    SQL Update

    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
  18. 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
  19. Attila Kovacs

    HTML Library review and sale: 25% off.

    It is.
  20. "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.
  21. Attila Kovacs

    GExperts menu too long

    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.
  22. Attila Kovacs

    GExperts menu too long

    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!
  23. Attila Kovacs

    GExperts config

    Pressing escape anywhere on the config window closes the form automatically losing every changes. <o>
×