-
Content Count
1209 -
Joined
-
Last visited
-
Days Won
25
Everything posted by Sherlock
-
Apple says this: https://forums.developer.apple.com/message/196395#196395 Enjoy
-
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...
-
Logging is required now. And of course a nice exception handler like MadExcept or EurekaLog.
-
Set a PC environment based on a Country name..
Sherlock replied to Ian Branch's topic in General Help
@Fr0sT.Brutal -
Is Class with 2 'nested' constructors bad design?
Sherlock replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
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. -
@Fr0sT.Brutal If you have nothing substantial to contribute to a users topic please refrain from posting.
-
language updates in 10.4?
Sherlock replied to David Schwartz's topic in RTL and Delphi Object Pascal
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. -
language updates in 10.4?
Sherlock replied to David Schwartz's topic in RTL and Delphi Object Pascal
So you trust inline variables to work flawlessly and use them wherever you like? You trust the TParallel lib? -
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!)
-
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.
-
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.
-
language updates in 10.4?
Sherlock replied to David Schwartz's topic in RTL and Delphi Object Pascal
You either mean management reports or manged records... not sure which. Hmmmmm -
Unified Memory Management - Coming with 10.4 Beta
Sherlock replied to Ondrej Kelle's topic in Tips / Blogs / Tutorials / Videos
Sorry, boss. -
Address and port are already in use error after TIdHttp.Get
Sherlock replied to eivindbakkestuen's topic in Indy
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? -
language updates in 10.4?
Sherlock replied to David Schwartz's topic in RTL and Delphi Object Pascal
That's me -
Unified Memory Management - Coming with 10.4 Beta
Sherlock replied to Ondrej Kelle's topic in Tips / Blogs / Tutorials / Videos
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. 😉 -
language updates in 10.4?
Sherlock replied to David Schwartz's topic in RTL and Delphi Object Pascal
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* -
Wait. What? Megabytes? Really? I do recall W2k being quite thrifty with memory but that does not sound very likely.
-
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
-
Anything sensible for source code documentation?
Sherlock replied to A.M. Hoornweg's topic in General Help
As an expansion to that, what code should have is a comment explaining the why. -
Unified Memory Management - Coming with 10.4 Beta
Sherlock replied to Ondrej Kelle's topic in Tips / Blogs / Tutorials / Videos
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. -
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).
-
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
-
Done
- 17 replies
-
- ios
- thinfinity
-
(and 2 more)
Tagged with:
-
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.
- 17 replies
-
- ios
- thinfinity
-
(and 2 more)
Tagged with: