Jump to content

Lars Fosdal

Administrators
  • Content Count

    3416
  • Joined

  • Last visited

  • Days Won

    113

Everything posted by Lars Fosdal

  1. Lars Fosdal

    Surprising behavior of .ToUpper

    You can specify the locale as a parameter to ToUpper. https://docwiki.embarcadero.com/Libraries/Athens/en/System.SysUtils.TStringHelper.ToUpper See also ToUpperInvariant.
  2. Lars Fosdal

    Surprising behavior of .ToUpper

    Is it Turkish text being converted to uppercase? Is ToUpper using the Turkish locale?
  3. I hope not. I hope they get their house in order ASAP.
  4. Lars Fosdal

    First Business Day Of Next Month ?

    Not without either keeping a manual list somewhere, or checking some sort of calendar service.
  5. Lars Fosdal

    Integer Overflow - Exception

    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.
  6. Lars Fosdal

    First Business Day Of Next Month ?

    Have a look at System.DateUtils. Note that there is a teorethical possibility that it is a non-business day, depending on the local holidays of the country the user is living. F.x, United States Labor Day which falls on first Monday of September Irish St.Brigid's Day is first Monday of February.
  7. I have to agree. Their information - or rather, lack thereof - is really bad for their reputation.
  8. Are you thinking about operational cost of new solution vs reputational cost of outage and lack of info? The suits would probably say those are two different budgets 😛 My personal opinion on the outage and recovery time: priceless, but not in a good way. As for operational cost: In the context of @Vincent Parrett's observation, if they simply recreated their VMs - that is far more costly than running cloud adapted services, so it will mean a steep increase in operational cost if that solution is maintained for the long run. In the short run, it makes sense in the context of minimizing the reputational cost issue.
  9. Lars Fosdal

    Updated XMLMapper

    @Miguel Moreno It seems that the XMLMapper the 12.0 GetIt, is the old version again 😞 It crashes on the recursive TPack.xsd, and it fails to correctly render a relatively simple schema, while the newer XMLMapper in 11.3 does the job right. 11.3 version on top, 12.0 version on bottom.
  10. @Vincent Parrett - I agree. Simply moving to a cloud hosted VM, running your old services, will be expensive as heck. We have metrics to support that statistic.
  11. Lars Fosdal

    How can I duplicate a build configuration ?

    As for thousands of warnings ... Clean that mess up. Warnings and even hints can relate to significant problems in the code. If you have thousands that are "uninteresting", they still can drown out those that are really vital.
  12. Lars Fosdal

    How can I duplicate a build configuration ?

    np - I forgot to point out that little detail
  13. Lars Fosdal

    How can I duplicate a build configuration ?

    I assume you mean runtime warnings from custom code, and not thousands of compile time warnings? You can create new build configs in the Project Explorer, and they also show up in the Eurekalog Config.
  14. Lars Fosdal

    How can I duplicate a build configuration ?

    Uncheck Base, Check Release - in the EL settings. Personally I take the 15 secs, so that I can keep track of my leaks 😄
  15. Lars Fosdal

    Preventing and allowing things to happen in a Thread???

    The challenge is often identifying all the ways that an app can activate stuff while the thread is executing. You could f.x. have a busy flag (or set of flags) you set when you start the thread, and clear on completion, so that when a user opens a menu you can use the flag(s) to disable menu and buttons items that can't be used while the thread is running.
  16. Let's not dive to deeply into the mudhole that is corporate practices. All we know, is that Something went south Cleanup takes time Practices can only improve It is outside our control We are short on patience
  17. It's probably smart to inform about the whereabouts and remote working possibilities. Personally, I would not submit a resume to an "anonymous" position.
  18. For phones, there are VoIP solutions, but not really common, so most of us use 4G/5G mobile phones. Even our company phones are mobile based. Fiber or Cable for land network connections, with 5G mobile internet on the rise.
  19. I actually have a 300 baud modem in my vast archives of useless stuff. I doubt I would attempt to download 7.5GB over that kind of dialup 😄 but BBSs worked, sort of. Besides, I no longer have a landline.
  20. Lars Fosdal

    App Builder & Blazor

    Well, my "you" was the general "anyone". And the argument stands: why would anyone chose not to use the massive tooling that already exists for Blazor? Embt would end up in another trying to catch up situation like they did with .net.
  21. It is possible to also capture handled exceptions, but it is costly. https://www.eurekalog.com/help/eurekalog/index.php?topic_type_eevents_televraisemeth.php
  22. Who can't resist the call for speculation...
  23. Lars Fosdal

    App Builder & Blazor

    Why not stay with C# if you want to do Blazor? That is where the tooling is, and the language is not that different from Delphi.
  24. Lars Fosdal

    Delphi 12 Manage Features not working

    If you are using the web-installer, it is probably related to the EMBT Outage.
  25. Lars Fosdal

    TRibbon issue on delphi 12

    Are you able to reproduce the effect with a bare bones test application? Can it be related to DoubleBuffering settings?
×