Jump to content

Lars Fosdal

Administrators
  • Content Count

    3344
  • Joined

  • Last visited

  • Days Won

    111

Posts posted by Lars Fosdal


  1. 9 minutes ago, Attila Kovacs said:

    Is this an April 1 joke?

    Not really... but 

    • there is a bug where new users doesn't get added to the appropriate group aka Embarcadero Customers,
      something that prevents you from seeing issues that others have posted
    • still missing a full port of issues from the old JIRA

    They are working on both - but wanted to get the new Jira up and running.
    Yes, it is not as good for us end users as the old one, but it is not bad either.

    Check your Requests button to see if you can see the group.
    That search button is non-functional. It appears to be intended for a FAQ lists (which currently doesn't exist).
     

    image.png.6f5e4e1811c3c704fd2121331edfe13b.png

     

    Also see @Dalija Prasnikar' notes: https://dalijap.blogspot.com/2024/04/delphi-121-new-quality-portal-released.html

    • Like 1

  2. Upgrading my primary workstation, I also found out that even when I uninstall Navigator (and not Bookmarks) from 12.0 - I stil get a complaint from the 12.1 installer that it can't find the Parnassus_XAthens.dll, even though it still is in the folder.
    It also complains about the FMXLinux plugin.  Go figure.


  3. Navigator causes a number of issues. I recommend uninstalling it for 12.0 if you have it installed, before installing 12.1.

    And, yes, it definitively screws the 11.x install as well, so back up the old DLLs before uninstalling and reinstalling

    • Thanks 1

  4. Variable not initialized - I set that one to raise a compile error - because those WILL bite you.

    Also, you will get that if you init the variable inside a try block, instead of before the block.

     

    Hints are often nearly as important as warnings. 

     

    Value never used can f.x. mean that

    • you are referring to the wrong variable elsewhere
    • you are mistakenly replacing the value elsewhere before the one you initially set could be used
    • or, you didn't need to set that value because it would have been set elsewhere anyways

     

    • Like 1

  5. I've not had issues with this as long as I keep the old settings. I upgrade two VMs and my workstation.

    If you run into installation counter issues, contact EMBT support.

     

    As for GetIt installations - yeah... that is "fun".  I keep my IDE on a GetIt component low count diet.


  6. On 10/18/2023 at 12:01 PM, dormky said:

    DataObject := MyQuery.CurrentData();

    Are you looking for a mechanism that is general, and can be applied to many queries?

     

    What is the expected lifecycle for the DataObject, use as discardable parameter only, or extend with more properties and methods and store in other data structures?

    I assume you want type safety so that an int/float/date/string in the db is represented as an int/float/date/string in the DataObject?

     

    The obvious choice is to create a custom class tailored to the query. Upside is performance and custom adaptation. Downside is that you need to implement a new class and handcraft the conversion for every query.

     

    A more flexible, but less performant approach, would be to use RTTI to map DB Fields to DataObject properties. either into a class or into a record type.

    Basically, you would use RTTI to examine the property in the DataObject and use the name to look it up in the query, and the type to make the appropriate copying.

     

    However, the distinct needs you have would have to be explained in more detail before we could detail the appropriate solution.

×