Jump to content

Sherlock

Moderators
  • Content Count

    1209
  • Joined

  • Last visited

  • Days Won

    25

Everything posted by Sherlock

  1. Apple says this: https://forums.developer.apple.com/message/196395#196395 Enjoy
  2. Sherlock

    Debug v Release problem

    That is what happens to me half the time as well, the other half I'm chiding myself to be more careful next time. Then I forget...
  3. Sherlock

    Debug v Release problem

    Logging is required now. And of course a nice exception handler like MadExcept or EurekaLog.
  4. I have the strong feeling, that putting this much thought into that seemingly simple class will lead to "What the hell was I thinking?" sometime in the not so far future. KISS really is my prime directive when it come to software development.
  5. Sherlock

    Improve the Structure Panel?

    @Fr0sT.Brutal If you have nothing substantial to contribute to a users topic please refrain from posting.
  6. Sherlock

    language updates in 10.4?

    I use TParallel as well, but not to the extent some folks do. And I'm not sitting by meticulously counting CPU cycles either. But I do avoid inline variables - well avoid is a strong word...I ignore them.
  7. Sherlock

    language updates in 10.4?

    So you trust inline variables to work flawlessly and use them wherever you like? You trust the TParallel lib?
  8. Sherlock

    What is the best way LoadFromFile & Thread? (FMX)

    That looks pretty cool. I don't know why, but I thought you where on a PC. But still the loading should be possible in a thread, where you can also prepare almost all the objects needed, and in the end just assign them to the main thread (synchronized!)
  9. Sherlock

    What is the best way LoadFromFile & Thread? (FMX)

    Load them in a thread, but don't expect speedup unless every single texture is stored on its own hard drive. You should also generate an AnimationBitmap object for each loaded image, and once the thread is done, or it once it needs to be used be used, synchronized assign it to the main thread BitmapListAnimation.
  10. Sherlock

    What is the best way LoadFromFile & Thread? (FMX)

    Just load it all at application or scene start. How large can those sprites be? It's a game, you may waste resources, it's kind of being expected anyway.
  11. Sherlock

    language updates in 10.4?

    You either mean management reports or manged records... not sure which. Hmmmmm
  12. Sherlock

    Address and port are already in use error after TIdHttp.Get

    Wait a minute. A client should use a random port. Only the server needs fixed ports. So in theory you should be able to open thousands of http.Get in parallel. Do you set your client to use a fixed port as well?
  13. Sherlock

    language updates in 10.4?

    That's me
  14. Well luckily this is not a Cobol forum - no wait, even that will not die (german article on 60 years of Cobol: https://www.heise.de/developer/meldung/60-Jahre-COBOL-Die-Sprache-die-nicht-totzukriegen-ist-4518334.html) Then another surely dead language maybe, let's try Fortran ... oops, not dead (https://www.vortech.nl/en/fortran-is-alive/). TL;DR: Don't make unsustainable claims. 😉
  15. Sherlock

    language updates in 10.4?

    I'm looking forward to a ton of bug fixes and performance improvements, for the IDE, the compiler(s) and the resulting executables. Considering the code name "Denali" is based on a mountain in Alaska a feature freeze could sound likely, but I doubt it. When Delphi Anchorage is finally released it will have some cool new features along with the obligatory cool new bugs... *Sigh*
  16. Sherlock

    Generics and Classes on Windows 2000 = OOM

    Wait. What? Megabytes? Really? I do recall W2k being quite thrifty with memory but that does not sound very likely.
  17. Sherlock

    Preventing iOS to lock screen

    This SO topic should point you in the right direction: https://stackoverflow.com/questions/28329185/how-to-prevent-screen-lock-on-my-application-with-swift-on-ios
  18. Sherlock

    Anything sensible for source code documentation?

    As an expansion to that, what code should have is a comment explaining the why.
  19. I actually never heeded the warnings my FMX code generated when in ARC mode. I need Windows as well so...good on me, for once.
  20. Sherlock

    Why upgrade?

    So do I. And I concede, that I should have mentioned FMX in my blanket statement. For VCL changes are quite rare, especially in "same name" releases (i.e. 10.3.2 -> 10.3.3).
  21. Sherlock

    Why upgrade?

    When given the option to upgrade: Upgrade. Every single version. The individual steps between versions are not that big. We will most likely not be facing a brute like the Unicode disaster (in my eyes) like back in the day. @David Schwartz: I seriously have to wonder, what needs to be done between Tokyo and Rio. In my (albeit not very broad) experience there should be nothing to do at all, except when using FMX, but then FMX forces to update anyway. Sherlock
  22. Sherlock

    Capture a signature and store in DB

    Done
  23. Sherlock

    Capture a signature and store in DB

    How sure do you have to be, that the signature is real? It is quite easy to let someone draw his signature in a TPaintbox, and then store the image as a BLOB in the DB. But if you need to make sure, this signature is real, then you would have to store the dynamics of its creation. That is tricky.
×