Jump to content

Lars Fosdal

Administrators
  • Content Count

    3416
  • Joined

  • Last visited

  • Days Won

    113

Everything posted by Lars Fosdal

  1. Lars Fosdal

    tag as String

    "rabbit whole" ... /sigh Yeah, I guess it is... still, it is a far cry from clean code.
  2. Lars Fosdal

    Feature enhancement request - Filter DFM properties

    We've given up on HighDPI. It is just not worth the effort and grievance for a project that has entered care and maintenance, even if the users would greatly benefit from it.
  3. Lars Fosdal

    tag as String

    I've gone even deeper down the rabbit whole and referenced object instances through the tag... I am not proud of it.
  4. Lars Fosdal

    How to avoid hardcoding image index?

    Only the visible rows will render the icon.
  5. Lars Fosdal

    Problem with linking of Midas.dll on 64 bit

    You'll should find a 64-bit Midas DLL in your redistributable folder: C:\Program Files (x86)\Embarcadero\Studio\23.0\Redist\win64 See also:
  6. Lars Fosdal

    String memory usage

    Well, the English CoPilot knew. But, the Norwegian one did not.
  7. Lars Fosdal

    String memory usage

    It supposedly was a trivial question.
  8. Did you use the offline installer or the web installer? If you used the offline installer, please see: http://docwiki.embarcadero.com/RADStudio/Sydney/en/Release_Notes.
  9. Lars Fosdal

    String memory usage

    I sort of assumed that 16777619 in that code was a prime, but wanted to check... ChatGPT 4o mini said "No". So, I asked CoPilot in Norwegian - and it said "No" (Nei) On a whim, I then asked it in English LLMs - Lovely Lying Machines.
  10. Lars Fosdal

    What is your Update Process?

    I have very few packages (The Parnassus debacles, FastReports, FMXLinux) and a couple of non-packaged (TMS VCL UI Pack, EurekaLog), so I usually just do it manually. As for FD connections, I have my own wrapper lib that gets the connection points from configs per app (which can be retrieved from wherever I want),
  11. Lars Fosdal

    Delphi developer needed in Denmark

    While I don't disagree with the characterization of LinkedIn, I do find it handy to keep in touch with people I've worked with. I've practiced some restraint on adding people, so my list is mostly limited to people I've actually been in touch with. Also, it has become a fairly interesting place to follow certain companies.
  12. Lars Fosdal

    Delphi 12.2 Patch 1

    Had to reinstall TMS VCL UI Pack, but EurekaLog appears to be ok...
  13. Lars Fosdal

    creating a frame at runtime

    I use a global function GetNextInstanceNumber to get and increment a integer variable and just set the name to Self.ClassName+'_'+GetNextInstanceNumber.ToString;
  14. Lars Fosdal

    Delphi 12.2 Patch 1

    Make sure to uninstall the Parnassus plugins before installing the patch.
  15. Lars Fosdal

    creating a frame at runtime

    Note that the Frame instance should have its parent set to Owner as well.
  16. It seems you can emulate auto increment, using a trigger and a generator?
  17. https://quality.embarcadero.com/browse/RSP-41961 The process of cleaning up circular references can be quite challenging, as we today have no good tool to discover and track the unit interdependcy. "Blatant" circular references are explicitly forbidden, but since we can include units both in the interface and the implementation section - it is quite easy to circumvent this rule. Another challenge is when you inadvertently drag in a massive collection of units into your project, because someone needed a structure or function from a specific unit - which again uses other units, which uses others again - and so forth. The discovery of where this unit is included, and when in the compilation it is parsed, would be significantly helped by a simple build log. A sequential log of the compilation of each unit in the application - indicating where it first was necessary to compile another unit to complete the current unit. I suggested it could look something like this - more comments in the QP issue. Pls vote/comment if you find it interesting. unit1 compiling... unit2 compiling... unit3 compiling... unit3 compiled (lines, warnings, hints) unit2 compiled (lines, warnings, hints) unit1 compiled (lines, warnings, hints)
  18. How about an untyped Multiplier and MULTIPLIED_CONSTANT = 1E-11 * NativeInt(MULTIPLIER); ?
  19. Lars Fosdal

    Delphi 12.2 available for download

    Naturally, I forgot about the Parnassus components, otherwise no issues - although FMXLinux was absent in GetIt?
  20. Lars Fosdal

    What are you using AI code-gen tools for that's working well?

    I mostly use CoPilot to extract the stuff I need from massive amounts of documentation. I sometimes use it to summarize key info from a large text. I currently don't use it much for programming, but I would like to use it for explaining "what does this do", or for getting suggestions to improve code.
  21. Works the same way for Uwe for me as well. Ad-blocker issue?
  22. Lars Fosdal

    Delphi Documentation website issues

    It is hard, even in smaller companies. Erosion of responsiblilty...
  23. Lars Fosdal

    Delphi Documentation website issues

    And back... something is not right. Error 503 Service Unavailable Service Unavailable Guru Meditation: XID: 578335475 Varnish cache server
  24. Lars Fosdal

    Delphi Documentation website issues

    Correction: Tried again - got an error message from the Varnish layer. Gone again now...
  25. Lars Fosdal

    Delphi Documentation website issues

    Can't say I see these issues right now?
×