

Rollo62
Members-
Content Count
1911 -
Joined
-
Last visited
-
Days Won
23
Everything posted by Rollo62
-
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.
-
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.
-
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/
-
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.
-
A user friendly way of showing location permissions settings on Android
Rollo62 replied to Dave Nottage's topic in General Help
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 .... -
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;
-
Strange, I would investigate why and where its blocking in the first test.
-
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 );
-
I like the split helpers http://docwiki.embarcadero.com/Libraries/Sydney/en/System.SysUtils.TStringHelper.Split
-
Convert Double to Real
Rollo62 replied to bernhard_LA's topic in Algorithms, Data Structures and Class Design
http://docwiki.embarcadero.com/Libraries/Sydney/en/System.Real Maybe only issues in older versions, currently it should be equivalent. -
Android Application close Rad Studio 10.4.2
Rollo62 replied to Matias89's topic in Delphi IDE and APIs
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 -
Android Application close Rad Studio 10.4.2
Rollo62 replied to Matias89's topic in Delphi IDE and APIs
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 ? -
A form in library inside an android application
Rollo62 replied to dkounal's topic in Cross-platform
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. -
Can I force compiler to report on enum change that related code needs changing?
Rollo62 replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
Still not getting your point. If the texts were dynamic, you should have to check them too anyway, not only the enum itself. -
Can I force compiler to report on enum change that related code needs changing?
Rollo62 replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
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 ? -
ANN: DDevExtensions and DFMCheck with 10.3 Rio support
Rollo62 replied to jbg's topic in Delphi Third-Party
Idefix Pack: Sounds a little strange to me, at least in German, like to order the dog to grasp -
---
-
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.
-
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 ).
-
An alternative could be the progress dialog in the app itself (or you have to try something in Java).
-
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.
-
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 ?
-
@Alexander Sviridenkov Thanks, thats a great help. Do you also have a similar page for the supported HTML5 features ?
-
@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.
-
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 ?