Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 05/07/21 in all areas

  1. Vandrovnik

    "Divided by zero" exception

    Try 1/0 and 0/0 on Wolfram Alpha: https://www.wolframalpha.com/input/?i=0%2F0
  2. Anders Melander

    BTM Import CSV Greyed out

    This has been resolved in the build (v1.2.7797.22083) I've just uploaded. http://melander.dk/download/amTranslationManagerInstall-1.2.7797.22083.exe I chose to implement the full solution. I.e. import of any CSV format, not just the format BTM produces.
  3. FPiette

    Is there any way to install delphi 10.4 package into Delphi 10.3?

    You have to recompile the 10.4 package source code with 10.3 hoping that the code doesn't use any new feature.
  4. Dalija Prasnikar

    Delphi 10.4.2 cannot find new ios provisioning profile

    The annual fee is 99$. The higher 299$ fee is for large organizations that want to distribute their internal iOS applications without going through AppStore.
  5. Thanks for the suggestions. I changed all the packages to Explicit ReBuild, not that it was the cause, but a good change anyway. Turns out I isolated the issue to the IDE injecting the FireDAC.FMXUI.Wait unit into the Interface section every time the unit was saved/compiled despite the fact it was already present, just wrapped in an IFDEF. Took me a while to find out why it was adding the unit. Turns out I had dropped a TFDGUIxWaitCursor component on the data module at some point. Creating that component in code with the Provider set appropriately fixed the issue. The dialog is obviously misleading as it has nothing to do with what packages are installed in the IDE.
  6. Please note that, as mentioned, a membership to Apple Developer Program would be needed to have your app on the App Store. This is also indicated here (RAD Studio 10.4 wiki, page Joining the Apple Developer Program) http://docwiki.embarcadero.com/RADStudio/Sydney/en/Joining_the_Apple_Developer_Program Regarding Apple Developer Program, it would be beneficial also to read this page, section Distribution https://developer.apple.com/programs/whats-included/ Then, once logged-in at https://developer.apple.com, you should find item "Certificates, IDs & Profiles" under Program Resources, please see screenshot. Once "Certificates, IDs & Profiles" is selected, a page regarding pertinent items (e.g. Certificates, Identifiers, Devices, Profiles) is shown. For additional information please also consider: http://docwiki.embarcadero.com/RADStudio/Sydney/en/IOS_Mobile_Application_Development
  7. Rollo62

    Delphi 10.4.2 cannot find new ios provisioning profile

    Try restart PaServer, somtimes this hangs somehow.
  8. Dalija Prasnikar

    Delphi 10.4.2 cannot find new ios provisioning profile

    It looks like you are not logged into your account. Do you have an Apple account?
  9. Out of interest, which C++ compiler are you using (classic (32), clang32 or clang64) ?
  10. Well, Delphi's floating point library isn't threadsafe so they can have a party together!!
  11. I must say, when in the phase to get stuff to work, i throw TDictionaries all over the place. It is fast to code, it's legible. Sometimes enabling them with a TList or TArray for sorted output or some such. Of course, if its just 10 digits, it's an array from start. Just make it readable and working! Then, when the project has been/is being deployed to some alpha/beta users and is stabile enough (in order not to confuse testers or myself) i do some extensive monitoring. That shows where the point of interest are to for example ditch a dict and use an array, or delve deep into the book to get inspiration. What i mean to say is, use the most "logical" way of storing in the beginning. Then focus on the parts of the system were it really pays. That way, you will have legible code most places and "tuned" (more complex source-reading, more sensitive maintenance) code where it really matters. Just my $,05.
  12. KodeZwerg

    did Sherlock left DP?

    Good day! I wonder why he does not log in anymore?! Since english DP started he aint active on german DP anymore and now inactive since start of 2021. Is he okay? @Sherlock
  13. I don't know what you draw on screen, but have you considered off-loading everything to the GPU? Much like a game.
  14. Yes, I understood that but if you're concerned about not wasting resources, as you state, then there's no reason to refresh more often than what the monitor can handle.
  15. Here is my try. I've changed a lot in existing code (mentioned early comparers, equality comparers, etc.). Also, I've replaced returned string type in functions by PString, just because otherwise string handling takes too much time and algorythms comparison becomes not interesting. As well I've added my own minimalistic implementation of hash maps (not universal). mapstest.zip
  16. Vandrovnik

    "Divided by zero" exception

    In Delphi 10.4.2, this: uses System.SysUtils, System.Math; var a, b, c: double; begin try SetExceptionMask([]); a:=0; b:=0; c:=a/b; Writeln(c); except on E: Exception do Writeln(E.ClassName, ': ', E.Message); end; Readln; SetExceptionMask(exAllArithmeticExceptions); raises the exception: EInvalidOp: Invalid floating point operation When "a" is 1, the exception is: EZeroDivide: Floating point division by zero When I do not call "SetExceptionMask(exAllArithmeticExceptions);" in the end, I get: Runtime error 216 at 004067EA
  17. KodeZwerg

    did Sherlock left DP?

    My worry = corona virus 😞
  18. Lars Fosdal

    Two new 10.4.2 Patches released

    @Dalija Prasnikar notified me that the try...finally issue that is mentioned as fixed is not actually fixed by those patches. There will be another patch soon. https://quality.embarcadero.com/browse/RSP-33117
×