Jump to content

Lars Fosdal

Administrators
  • Content Count

    3335
  • Joined

  • Last visited

  • Days Won

    110

Posts posted by Lars Fosdal


  1. 11 minutes ago, JonRobertson said:

    Are there scenarios where designing in HighDPI would be beneficial?

    Not per se. However, the problem is that once you use the DPI aware IDE, the measurements and coordinates in forms are according to your current Windows DPI and scaling settings. Which means that when someone with a different DPI or scaling opens the form, it looks like shit and the changes that someone makes, will again be impacted by their settings. So if two people with two different settings, takes turn in changing a form, you can get a form that keeps on growing or shrinking during the design.

     

    Personally, I would prefer that such a thing doesn't happen - so that I can benefit from HighDPI also in the IDE.

     

    It is not a trivial problem to solve. Pixel perfection becomes very hard once you have to deal with design time as well as runtime scaling.

    • Like 1

  2. 1 hour ago, Lajos Juhász said:

     

    It is not about privacy. it is copyright. Anyone that has invested money into an algorithm and solution would not like to see it to appear inside an AI suggested code. That is one of the reasons why the source code for Microsoft Office is not open sourced.....

    It is about privacy.  It is the lack of proper privacy that causes private code to leak into generated AI code.

     


  3. 1. Debuggers, debuggers, debuggers - multithread handling is abysmal today

    2. Make HighDPI actually works as intended - it is useless in a team as is - unless everyone runs the same scaling

    3. Generics constraints for enumerated types to enable the use of conversion to/from ordinal values, use set operators, etc.

    4. Native ARM64 compiler for Delphi for Windows (and Linux/Raspberry PI, but Windows has prio)

    5. A 64-bit IDE that ensured that EMBT was dogfooding 64-bit VCL and RTL and raise the quality

     

    As for AI, I wouldn't mind an AI that could look at code and suggest improvements - perhaps as a part of the static code analysis, or one that could explain "what does this code do".

     

    I don't really need or want an AI to generate code.  If it is a standard, a lib should already exist. If it doesn't and there is no standard that covers the need, I'd be happy to have an AI outline alternative approaches - but given that the wide scope of parameters that goes into a design, I think it is unrealistic to expect that it would come up with the ideal suggestion without us writing a huge requirement. The output of VLLM generators is extremely dependant on precise and accurate specification statements, and writing those are almost as hard as writing good code. 

     

    As for AI and privacy - keep your secret credentials separated from your code.  Other than that, I don't think that many of us write code that truly needs to be hidden for secrecy reasons, although it is obvious that it will be necessary to ensure that privacy permeates the use of AI.

    • Like 4
    • Thanks 1

  4. https://blogs.embarcadero.com/getit-update-rad-studio-12-getit-online-installation-is-now-available/

     

    The new installer includes the Patch 1 fixes. 

     

    If you installed using the old online installer, you are unable to add platforms. If you need additional platforms, you will need to uninstall and reinstall using the new online installer (if you don't need additional platforms, you don't need to reinstall).

     

    Patch 1 is available through GetIt, and is also available as a standalone installer from my.embarcadero.com for registered users.

    • Thanks 1

  5. Please note: Only the 12.0 Athens GetIt server has been restored at this point in time (Feb. 7th).

    https://blogs.embarcadero.com/getit-update-additional-rad-studio-12-getit-packages-are-now-available/

     

    https://blogs.embarcadero.com/rad-studio-12-athens-patch-1-available/

     

    List of QP issues addressed in the patch:
    RSP-44063    Bug in MOD operation for Win64 Release configuration
    RSP-43656    [REGRESSION] Wrong codegen when passing empty open array to operator overload
    RSP-43568    Issue with TURI.Query Changed adding an equal sign to the URL ends with ?WSDL
    RSP-43551    When MDI form & Custom Styles are used together, the Process cannot be terminated.
    RSP-43547    New VisualManager feature causes crash in TCustomForm.WndProc() with Action=caFree
    RSP-43515    No event OnCameraDidFinishTaking for TTakePhotoFromCameraAction
    RSP-43494    Event OnValidate fails when the DBGrid is full - AGAIN!
    RSP-43463    JSON serialization error with scientific double notation
    RSP-43459    TEdit.FilterChar crash app on Android
    RSP-43422    NetHttpClient parsing URL parameters is incorrect
    RSP-43418    Wrong Delphi code optimization for integer div/mod
    RSP-43407    The Delphi compiler in RAD Studio 12 is no longer able to resolve standard types by their aliases when generates HPP files for a BPL package with components if the referenced types are declared in other units
    RSP-43383    Delphi 12 Android TEdit error
    RSP-43362    [iOS] TListView set search visible to True, the system will crash when clicking into the search area.
    RSP-43326    Blob reading is broken for 64-bit platforms in dbExpress
    RSP-43318    Incorrect ShortCut in TActionList
    RSP-43311    TSQLTimeStampOffset problems with Firebird 4
    RSP-43299    TFlowLayout exception when all its elements are set to invisible
    RSP-43274    Arithmetic operations on record fields return incorrect results in certain cases if the "Optimization" compiler option is enabled
    RSP-43235    Structure view and Search for a method box no longer populated
    RSP-43007    Internal compiler error F2084
    RSP-42860    FMX TListBox List Index Out OF Bounds
    RSP-42692    Ctrl-j - invoke template don’t work
    RSP-42682    TreeView crash
    RSP-42657    TTreeview crashes when scrolling in iOS
    RSP-42634    QBE component causes fatal IDE crash when removed from form
    RSP-42616    FMX: Key Handling different behavior in Delphi 12
    RSP-42601    TURI with encoded Params are mangled when initialized
     

    • Like 5
    • Thanks 5

  6. Kinda hard to evaluate, given that there is zero example data for the various elements.

     

    There was a change in 12 with regards to math exceptions.

    If you add this code, it is supposed to behave like 11.x.

    System.math.SetExceptionMask( [exPrecision, exUnderflow, exDenormalized]); // Enable exInvalidOp, exZeroDivide, and exOverflow exceptions

    Ref. https://docwiki.embarcadero.com/RADStudio/Athens/en/Floating_Point_Operation_Exception_Masks


    Not sure if this applies to integer math, though.

×