Jump to content

Rollo62

Members
  • Content Count

    1911
  • Joined

  • Last visited

  • Days Won

    23

Everything posted by Rollo62

  1. Rollo62

    TMS and CoPilot, and Delphi ?

    It seems to be good enough for TMS VsCode, and this IS Pascal language too. The results and proposals of the AI looks very much OK, like the email verification and RegEx. Focussing on the "Pascal" question, you better do not underestimate the current AI's. I think they are quite able, to convert e.g. Javascript, C++, etc. to valid Delphi. They show a high grade of creativity, and I would say they even might pass a turing test.
  2. Rollo62

    JCL support for Linux64 compiler

    If restructuring and modularizing the JCL would make sense, I would be interested, at least I'm doing that more or less on a daily base. The best approach in my opinion would be to identify the domains that should be separated, and then try to unbind them from the rest of the of the JCL. So that each domain best of all can be used standalone, without too much headaches. What is missing for me is a useful discussion about those "domains", which one makes sense, which one are obsolete. Who could start providing such list, I'm not too deep in the JCL right now ? Another question is who is responsible for the JCL right now and in the future, and what about copyrights, etc. ? Maybe the initiative should be started from the original maintainers first, or at least with their common understanding and approval. I assume the project will end up as a complete rewrite of the JCL, so would be good to have all permission and good support to do so. To have another good library that will be divided into many redundant forks by separate, different maintainers with different goals, makes no sense to me either.
  3. Rollo62

    A screen mirroring utility

    I think Android offers a lot of options for screen mirroring. https://fossbytes.com/android-screen-mirroring-apps-pc/ https://www.howtogeek.com/269093/how-to-cast-your-windows-or-android-display-to-a-windows-10-pc/ https://techviral.net/best-apps-to-mirror-android-screen-to-pc/
  4. Rollo62

    JCL support for Linux64 compiler

    Thats very good that someone takes care of this nice peace of code, but I'm afraid the golden days of Jcl had been gone for a while. Meanwhile Delphi, System, RTL, RTTI has improved much, and also added their own native Linux cross-platform support. What I would suggest is to check and cleanup the code a little, to find the golden nuggets that were worth to be unraveled ( I'm sure there are many ). Who is using Jcl / Jvcl actively, who can give some hints ? If Jedi would not be such a big unsorted mess I would like to look deeper into this too, but I always have the bad feeling that it brings more overhead than it brings useful features. Maybe you have some deeper insights, and you can explain what features especially should stay and which one should be separated ? To have a general, external library that could fill some gaps of Delphi would be a good idea, in my opinion, but it should be directly VCL/FMX ready, not especially platform binded.
  5. Yes, I meanwhile put such "prominent disclosure" dialog in front of all my apps ( even if Windows ) 🙂 No matter if iOS don't require this, I think that is a good policy too. Regarding the permissions I do it similar as in some websites, saying we have "required" permissions, and explaining why they were required. Also explaining some privacy stuff there. If the user don't agree's, he should leave the app. But of course the user still can choose other settings in the OS dialog, than he did in the "prominent disclosure". The whole permission stuff is a permanent pain ....
  6. Rollo62

    Trim, SplitString

    procedure TForm1.Button1Click(Sender: TObject); var i: Integer; Str, Seperator : String; LArr : TArray<String>; begin Edit1.Text := '10 * 20 * 30'; LArr := Edit1.Text.Split( [ '*' ] ); if Length( LArr ) < 3 then begin // Error; Exit; end; Edit2.Text := LArr[ 0 ].Trim; Edit3.Text := LArr[ 1 ].Trim; Edit3.Text := LArr[ 2 ].Trim; end;
  7. Rollo62

    [Android] Odd problem with TMediaplayer

    Strange, I would investigate why and where its blocking in the first test.
  8. Rollo62

    [Android] Odd problem with TMediaplayer

    I had the same thought when reading this. In my app I can use TMediaPlayer to play files without blocking, even several TMediaPlayer could play in parallel You could try to decouple the "Play" method, to ensure that the Memo is forced update first. If that still delays the display, then probably something is blocking somewhere else. memo.Lines.Add('blablabla'); MediaPlayer1.FileName := System.IOUtils.TPath.Combine(TPath.GetDocumentsPath, 'a.mp3'); //playing an internal resource TThread.ForceQueue( nil, procedure begin MediaPlayer1.Play; end );
  9. Rollo62

    Pos

    I like the split helpers http://docwiki.embarcadero.com/Libraries/Sydney/en/System.SysUtils.TStringHelper.Split
  10. http://docwiki.embarcadero.com/Libraries/Sydney/en/System.Real Maybe only issues in older versions, currently it should be equivalent.
  11. When I reading FireDac: it could a missing FireDac unit, I think it was the ...PhysSqlite... uses clause was missing , after an update to a newer version. https://codeverge.com/embarcadero.delphi.firedac/firedac-in-unit-without-form/2001879
  12. I would check first if all the permissions handling is correct, there had been many changes. If that doesnt helps, have you tried to recreate a new project under 10.4.2 and reset your project to the latest projects defaults ?
  13. I'm afraid that is not possible in mobile (iOS / Android) to have dynamic libraries. The 30MB libProjectName probably contains all the basic system library, which is needed to make everything run, you can tweak this a bit, but not that much. Its not that every new form will add another 30MB, usually this is not big a problem.
  14. Still not getting your point. If the texts were dynamic, you should have to check them too anyway, not only the enum itself.
  15. Not sure if I got your point right, you want a message/crash if a new type is added on the enum, to get noted, right ?
  16. Idefix Pack: Sounds a little strange to me, at least in German, like to order the dog to grasp
  17. Rollo62

    Delphi compatibility with Windows 11?

    ---
  18. Rollo62

    Delphi compatibility with Windows 11?

    Yes, what I meant was the original idea of TPM (as 2FA). You're right, and IMHO it means that all firmware/software TPM solutions were OoA (Obsolete on Arrival). But from a user's perspective I love the idea of the virtual/firmware TPM, to open some options.
  19. Rollo62

    Delphi compatibility with Windows 11?

    Because as far as I understand TPM is a kind like a separate hardware 2FA for the PC, which is maybe good for the people who needs this level of safety (officials, companies, etc.). I don't like or need it either, but to have TPM virtualized makes not much sense also IMHO. To serve its intended purpose it should prevent copying machines, so that means also prevent against copying VM. VM vendors of the world unite, and find a hacky workaround for this TPM stuff 👊 Maybe best of all TPM would have a switch, to let the user device ( which is always best ).
  20. Rollo62

    Notifications in android

    An alternative could be the progress dialog in the app itself (or you have to try something in Java).
  21. Rollo62

    Physically reduce jpeg image size??

    Interesting idea to add some small "blur" with compression, I thought filters like lancosz, added enough "blur" already. I have to check that next time, if this idea can offer visually better image quality.
  22. Rollo62

    Access violation on resume in IOS

    I understand that your app starts and works, only when terminating it crashes after a while, is that correct ? Are you doing some long operations in UI or threads, without properly stopping them before going to background ? Did you ask for any unusual or dangerous permissions, which could cause such problems, or is it just a form-like DB application ?
  23. Rollo62

    Need suggestion on developing a custom component

    @Alexander Sviridenkov Thanks, thats a great help. Do you also have a similar page for the supported HTML5 features ?
  24. Rollo62

    Need suggestion on developing a custom component

    @Alexander Sviridenkov Thanks for that great library too, from my side. For custom design you should also mention that SVG support is great, and all in all it offers many ways for incredible user interfaces. Since the library is somewhat between HTML1.1 and HTML5, I would like to know when you think that you followed up HTML5 CSS3 completely ? My favorite would be the CSS Grids, which could make a lot of other stuff obsolete, but there is a lot more in HTML5. Do you have a "compatibility list", or kind of "CanIUse", for the current library ? I think that could be very helpful for people who want to mix HTML5 and Delphi.
  25. Rollo62

    Delphi compatibility with Windows 11?

    I wonder what that means for VmWare (Fusion/Workstation) Win11 guests https://docs.vmware.com/en/VMware-Fusion/11/com.vmware.fusion.using.doc/GUID-4EC58A68-BE9E-42F6-B005-4BB63AE5D85B.html Do we now have to encrypt all guests, and cannot move them around easily ?
×