Jump to content

M.Joos

Members
  • Content Count

    16
  • Joined

  • Last visited

Everything posted by M.Joos

  1. M.Joos

    Hands-On Design Patterns with Delphi

    Yes, mine arrived yesterday.
  2. No, in your example both loops will be O(INFINITE). Well, not quite. It would be O(MaxDouble / x) to be precise.
  3. In theory, yes. But which unit tests can or do test the specification in full? Well, maybe some do, but e.g. the all so often used example of a unit test for an addition fails to test the full specification.
  4. I would argue that the same is true for single threaded code as well.
  5. M.Joos

    TMediaPlayer and TMediaPlayerControlFMX

    Be aware that there is a bug in the TMediaPlayer component that reports an "unsupported media file" error when it should have reported a "file not found" error. So first check if the file you are pointing to actually exists.
  6. Although I wouldn't phrase it like this, yes, this version should work. Variable capture is actually an important feature of anonymous methods. Without, they would hardly be more than a fancy way of procedural types.
  7. This is not a bug, but expected behavior: This is what variable capture with anonymous methods is all about. But I agree, this can sometimes be hard to spot and lead to unexpected results as in your case.
  8. M.Joos

    Property editor - on the finest art

    Thanks a lot. I will look and eventually extend your code somewhat. I am really missing the OI expert from Uwe Schuster, that went along similar ideas that you have. So maybe I can come up with a similar solution than Uwe's expert. At least your code is a good starting point, so thanks a lot for sharing.
  9. M.Joos

    Property editor - on the finest art

    Hi Attlia, looks very promising. But where can I find the code fort it ?
  10. Thanks a lot, works like a charm, also in RIO. Now if you would also have the "old" Object Inspector Expert from Uwe ..... that would be a dream !
  11. AFAIK this is not a feature of the official Delphi IDE, but rather a plugin from Uwe Schuster that is no longer supported for recent Delphi version. Correct me if I am wrong as I love live blame very much, but can't use it except for Delphi XE.
  12. M.Joos

    Add Indexer problem

    Hi Uwe, When I try to use the Add Indexer Wizard, the Wizard complains about "no indexer implemenations found". The directory with the Indexers templates exits: C:\ProgramData\Raabe Software\shared\Indexers with two templates in it. I am running Version 14,0.5 Build 2276 on DX Rio. Any help appreciated. TIA
  13. M.Joos

    Add Indexer problem

    Thanks Uwe, done and works now as expected. As I am using MMX (and starting to see its benefits more and more) I have encountered a few other problems, but I will post separate threads for those.
  14. M.Joos

    Add Indexer problem

    Thanks Uwe, indeed, there is no Indexers subfolder in the folder HKEY_CURRENT_USER\Software\Raabe Software\Shared\RootDir is pointing to. See attached image what this folder looks like on my system.
  15. M.Joos

    Debugging in Android

    Debugging in Android is somewhat a matter of chance - sometimes it works sometimes it doesn't for not obvious reasons. I have never tried it from within a VM, so I can't comment on that. What I found quite helpful in some cases was a tool called Android log viewer which can be found here: http://app.serialgames.jp/sgd/alog/ It works similarly to the CodeSite Viewer. You can send log messages to it via the different class functions in the Log class which is in the System.Diagnostics unit. There is also a similar tool from Griijy. Find more about it here: https://blog.grijjy.com/2017/08/22/grijjycloudlogger-remote-logging-for-windows-ios-android-macos-and-linux/ I personally found the latter one somewhat cumbersome to get running, but your mileage may vary.
×