Jump to content

Lars Fosdal

Administrators
  • Content Count

    3319
  • Joined

  • Last visited

  • Days Won

    110

Everything posted by Lars Fosdal

  1. Lars Fosdal

    Are the jcl and jvcl libraries still alive?

    Given that you pay for its service, rather than the software itself, I assume it does.
  2. Lars Fosdal

    Are the jcl and jvcl libraries still alive?

    Yeah... it is not the only tool we have that is subscription based, is it... 😛
  3. Lars Fosdal

    Are the jcl and jvcl libraries still alive?

    I've become very fond of GitKraken, which is adding improvements and features every month. https://help.gitkraken.com/gitkraken-client/current/#version-8-7-0
  4. Lars Fosdal

    Dynamic class member names

    @Fr0sT.Brutal The TJson RTTI to Json conversion doesn't work with the property names, but with the field names. See @Uwe Raabe's example that shows where the JSON name mangling is done by attributes.
  5. Lars Fosdal

    Dynamic class member names

    I assume you are in control of both ends of the communication. I'd compress and encrypt instead of bothering with obfuscation.
  6. Lars Fosdal

    64 bit shift operations?

    So, it was not the operator, but the type the operator operated on.
  7. Lars Fosdal

    64 bit shift operations?

    Maybe you need to cast the 1 to uint64 too? Edit: Checked - It works with function bit(idx,value: uint64): Boolean; begin Result := ((uint64(1) shl idx) and value) <> 0; end;
  8. I'd watch the video... and rant about it afterwards 😉
  9. Anyways, ARC has gone the way of the Dodo. Free(AndNil) it is.
  10. Just .DisposeOf's... and the reoccuring questions about why objects doesn't self-destruct (after you have intentionally or unintentionally made references that keeps it alive.
  11. I use FreeAndNil, unless the object is handled by a try/finally block, or it is in a destructor. It speeds up finding stupid mistakes in loops or singletons.
  12. Lars Fosdal

    Do you need an ARM64 compiler for Windows?

    It is called off-topic 😛
  13. Lars Fosdal

    FDMemtable with localsql

    If you can programmatically add an index - i.e. without using SQL - it should work - but I've never tried it.
  14. Ghostery shows the link on a confirmation page for me to decide on whether to continue or not.
  15. There is a tracker redirect behind that link. AdBlockers hate those.
  16. Lars Fosdal

    FDMemtable with localsql

    In https://docwiki.embarcadero.com/RADStudio/Sydney/en/Local_SQL_(FireDAC) the "Query" section seems to indicate that it does not?
  17. Lars Fosdal

    Array within an array??

    True, it is only a problem if you pass the values around to be modified.
  18. Lars Fosdal

    Array within an array??

    A warning: Using records instead of objects in containers carries the penalty of duplication. LabelRecord1.iValue:= 123; LabelRecord1.iColor := 234; LabelMatrix[1,1] := LabelRecord1; LabelRecord1.iColor := 567; At this point, LabekMatrix{1,1].iColor will still be 234. It is the same the other way around. Modify the array value, and the variable stays unchanged. A workaround would be to use pointers. type PLabelRecord = ^TLabelRecord; and use variables and arrays of that type. You would need to New/Dispose each reference, but at least there is no duplication as you pass around the pointer reference to the original allocation instead of copying the record like in the original example.
  19. Lars Fosdal

    Delphi 11.1 Stuck While Opening Project

    Are there file references in the project that points to a fileshare that may or may not exist?
  20. Lars Fosdal

    2022 Stack Overflow Developer Survey

    Temporarily disabling the ad-blocker solved that for me.
  21. Lars Fosdal

    Do you need an ARM64 compiler for Windows?

    EMBT are playing with their cards tightly held to their vest - which I guess is a tactic to avoid getting negative feedback for not delivering something that they put on the roadmap but didn't get time to do. I wish EMBT were more open and better at communicating their plans - but if you are a subscriber, I recommend joining in on any beta invite that you may receive. Please note, though, that those that get invited must sign NDAs - so it is like Fight Club: Rule #1 - Don't talk about Fight Club. But yeah... Public indicative roadmaps would be great.
  22. Lars Fosdal

    Lazarus build for Linux

    This site focuses on Delphi. It is more likely you get the info you need for Lazarus here: https://forum.lazarus.freepascal.org/index.php?action=forum
  23. Lars Fosdal

    Do you need an ARM64 compiler for Windows?

    In theory - except there is an OS layer there somewhere.
  24. Lars Fosdal

    Do you need an ARM64 compiler for Windows?

    When MS is actually porting VS to Native ARM for Windows - there is no doubt that they are serious about ARM this time. I am running the Windows for ARM preview on my MBP 16" M1 Pro. And I am now also running VS 2022 for MacOS - which already is ARM64 🙂
  25. When creating frames runtime in VCL, there are a set of tweaks that need to be applied to make the frame behave properly after creation (setting parent/owner etc). Are there similar tricks needed for FireMonkey, and are there other pitfalls related to dynamically creating frames at runtime? Is it better to drop the frames on the main form at design time?
×