Jump to content

Lars Fosdal

Administrators
  • Content Count

    3565
  • Joined

  • Last visited

  • Days Won

    120

Everything posted by Lars Fosdal

  1. Lars Fosdal

    Apple XCode Cloud

    https://developer.apple.com/xcode-cloud/ You'll still need a Mac, but you don't need to own every Apple device.
  2. The VMware thing popped up in my feed. My gut reaction was to bring it forward. I agree - PS Remoting has risks. But - if an intruder is already inside the domain - you are already in trouble. We only allow it for some specific domain users and it is explicitly enabled for specific machines. The initiating host must be inside the domain.
  3. VMware users, patch now! https://www.bleepingcomputer.com/news/security/attackers-are-scanning-for-vulnerable-vmware-servers-patch-now/
  4. Lars Fosdal

    READ_SMS permission not requested

    https://google-developer-training.github.io/android-developer-phone-sms-course/Lesson 2/2_p_sending_sms_messages.html Has SMS access been enabled for the app in the Android settings? Also, best practices: https://stackoverflow.com/questions/32814922/why-does-android-ignore-read-sms-permission
  5. Lars Fosdal

    'as' operator??

    Ref.1: The as operator is a checked typecast. Let's say that you have a method that takes a TObject as parameter aInstance. The difference between a simple typecast and a checked typecase is that var Unchecked := TMyClass(aInstance); will never complain, while var Unchecked := aInstance as TMyClass; will raise an exception if aInstance is not a TMyClass Also see the is operator which can be used to validate the type before the cast. if aInstance is TMyClass then (aInstance as TMyClass).SomeTMyClassMethod;
  6. Most of the experts there seem to be self-appointed.
  7. Sounds like bullshit to me. No random crashes that we didn't cause ourselves that I can remember, and I've used every Delphi version there is, on most of the Windows versions there has been.
  8. There is one unmentioned drawback to VMs. The more you have, the more you need to keep updated and patched. That is the price you pay for flexibility.
  9. The only thing that is slow in my VMs is 3D gfx, but since I don't rely on those - it is not a problem.
  10. MS submitted changes to the Linux kernel in June 2020 that would allow running Hyper-V hosting on Linux. Not sure if this is present in any current Linux release yet.
  11. 3D GPU performance is a mixed bag, imo - but why would you test that in a VM? You'd remote debug that from the VM on a physical machine. The CPU is virtualized, so I guess the only time you'd get into trouble is if you try to run something like a VM with 8 cores on a 4 core machine or use more memory than is physically present. I would expect Hyper-V to simply cut down to the max avail if exceeded.
  12. Lars Fosdal

    TJsonTextWriter out of memory

    Well, Delphi 32-bit stops at 2Gb. If you need more memory, I suggest a 64-bit app.
  13. Lars Fosdal

    TArray<T> helper

    @Tommi Prami It would have been awesome if we could do helpers for generics. We can't.
  14. I used paid VMWare workstation for years. About a year ago, I switched to Hyper-V and never regretted doing so.
  15. Then there is this: https://www.microsoft.com/en-us/microsoft-365/blog/2021/04/28/beyond-calibri-finding-microsofts-next-default-font/
  16. Lars Fosdal

    Outlook Server Execution Failed

    It may be that the Outlook 2003 OLE server lacks some of the interfaces that your OLE client implementation requires. 2003 is pretty ancient...
  17. Lars Fosdal

    Loading data to multiple tables in a transaction

    It seems that the @Inserted_Values temp table does not use TIMESTAMP. declare @Inserted_Values table ( WX_5Min_Key int NOT NULL, [DateTime] DateTime NOT NULL );
  18. Lars Fosdal

    Loading data to multiple tables in a transaction

    Have you looked into which joins that fail? Is it possible to see any differences in the stored data / parameters that can cause joins that fail? Is the type strictly identical - ie both parameters and tables columns are of the TIMESTAMP type?
  19. Have you applied the most recent patches?
  20. It is useful to post the actual errors for others to be able to think about the cause.
  21. Lars Fosdal

    "Divided by zero" exception

    What target? Windows, iOS, Android, Linux? 32 or 64 bit? In the IDE or outside?
  22. Lars Fosdal

    Loading data to multiple tables in a transaction

    Which database do you use? Attached the reformatted SQL for readability. Personally I would never use a timestamp for a join, but that is probably just me. test.sql
  23. Lars Fosdal

    Is set a nullable type? (record constraint)

    The Delphi generics lack constraints support for enumerations and sets.
  24. Lars Fosdal

    Debugging problem (multithreaded & Intraweb)

    Perhaps @David Millington has a tip?
×