Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 10/06/23 in all areas

  1. Alexander Sviridenkov

    Coming soon

  2. Dave Nottage

    IOS shared document path access

    I have added a demo to the HowTo repo that demonstrates how to achieve this. Please read the readme for instructions. Note that there is no special folder - it's a case of configuration in order to share files from the documents folder.
  3. FabDev

    IOS shared document path access

    Thank you very much Dave, It's work fine. If I understand well with : UIFileSharingEnabled LSSupportsOpeningDocumentsInPlace root of document path (= TPath.GetDocumentsPath) become shared. Great job, you have written one of the most useful libraries Kastri and help HowTo repo (which I have missed !) of Firemonkey.
  4. I try to force the fault of the instructions (really simple for one, no fault in the other): the rdseed instruction set the register to zero and the CF to zero, after two (2) consecutive executions ; for the rdrand instruction, I was not able to make it in fault state so, at least for the rdseed instruction the register is set to zero (like you told @Kas Ob.) The rdrand instruction appears to be less sensitive to errors than the rdseed.
  5. Alexander Sviridenkov

    Coming soon

    Yes, classes from HTML Library.
  6. Alexander Sviridenkov

    Coming soon

    No, this is ability to execute SQL on any source - list of objects, array of records, dataset, CSV, JSON, XML, etc. And put result into dataset, stringlist, array, etc.
  7. On side note: Here a sample of the $48 prefixes on x64 mode procedure Test; asm inc EDX inc RDX db $48, $FF, $C2 db $48, $48, $FF, $C2 db $48, $48, $48, $FF, $C2 db $48, $48, $48, $48, $FF, $C2 db $48, $48, $48, $48, $48, $FF, $C2 db $48, $48, $48, $48, $48, $48, $FF, $C2 db $48, $48, $48, $48, $48, $48, $48, $FF, $C2 db $48, $48, $48, $48, $48, $48, $48, $48, $FF, $C2 end; begin Writeln('Start'); Test; Readln; end. Here how Delphi CPU handle wrongly disassemble them The right disassembly Why the same instruction executed without a fault in x86 build, most likely the CPU handled $48 as its own instruction which will touch eax the one being overwritten by following RDxxx. just off-topic notes.
  8. Tommi Prami

    Getting RDSEED with Delphi

    Made repository for this: https://github.com/TommiPrami/Delphi.RdRand/ So easier to pass fixes or enhancements to all...
  9. corneliusdavid

    IOS shared document path access

    This doesn't directly answer your question but I did some comparison of the IOUtils paths on various platforms and learned a lot while writing this small open-source app: https://github.com/corneliusdavid/AppPaths. Maybe it will reveal some access limitations on iOS.
  10. Also want to point to OP, about this retries recommendation 5.2.1 Retry Recommendations It is recommended that applications attempt 10 retries in a tight loop in the unlikely event that the RDRAND instruction does not return a random number. This number is based on a binomial probability argument: given the design margins of the DRNG, the odds of ten failures in a row are astronomically small and would in fact be an indication of a larger CPU issue. So 10 should be enough.
  11. Angus Robertson

    Load DLL from resource, bypassing a file?

    The DLLs will probably end up in a similar place to the existing sample INI files, which works well, unless you want to find them manually... Angus
  12. You can also do like i show you in my example: in the asm function add a second loop that use the EDX register .... and you have a 64 bit random number for 32 bit application.
  13. Dave Nottage

    Rad 12 Beta - Link to News

    I was going to expand on it, but Uwe has done it! https://www.uweraabe.de/Blog/2023/10/04/tzipfile-improvements-in-delphi-12/
  14. Renate Schaaf

    Parallel Resampling of (VCL-) Bitmaps

    New version at https://github.com/rmesch/Parallel-Bitmap-Resampler: Has more efficient code for the unsharp-mask, and I added more comments in code to explain what I'm doing. Procedures with explaining comments: uScaleCommon.Gauss uScaleCommon.MakeGaussContributors uScaleCommon.ProcessRowUnsharp and see type TUnsharpParameters in uScale.pas. Would it be a good idea to overload the UnsharpMask procedure to take sigma instead of radius as a parameter? Might be easier for comparison to other implementations.
×