

Rollo62
Members-
Content Count
1911 -
Joined
-
Last visited
-
Days Won
23
Everything posted by Rollo62
-
I find it very convenient to have a common _Transfer\ folder, which is available on the host, and shared in all VM's. This helps to easily share files and data between the different VM's. Thos files were stored on the host, and in the VM's they were only virtually binded. Of course this is not intended to be opend for write from several VM's or the host at the same time, but just for manual exchange (e.g. for PAServer files, etc).
-
StringList container with ignore duplicates, non-sorted
Rollo62 replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
http://docwiki.embarcadero.com/Libraries/Sydney/en/System.Classes.TStringList.Add -
recompiling delphi source for Delphi Sydney
Rollo62 replied to Dave Novo's topic in RTL and Delphi Object Pascal
@Stefan Glienke Thanks, thats very interesting, I thought about these issues too, which would be the reasons though, and I assumed there could be many reasons (inline, generics, other references). Do you know if the "inlining" is the only reason that causes this issue ? -
Micro optimization: Math.InRange
Rollo62 replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
Need to be Edited again (lEditor lost all my text from 1st post). Seems mathematically correct, but may face internal integer overflows, to be tested in Delphi ... -
What is the correct approach to "phone home"?
Rollo62 replied to Der schöne Günther's topic in Project Planning and -Management
Me too And even a simple, virtual website provider with PHP will do, at very affordable cost. -
Hi there, I was just reading @jeroenp 's blog, from here. Thats so much true, and I love Format() since the old C days What I wanted to add here is another "overlooked" option, adding leading zeroes, which is described here. Maybe there are even more "overlooked" features, I'm not aware of ? I'm curious.
-
Binary data in String?
Rollo62 replied to aehimself's topic in Algorithms, Data Structures and Class Design
Just keep as-is ... but make a BIG !! WARNING !! and explaining comment ( pointing to this thread maybe ) -
How and when install the Patches.
Rollo62 replied to Juan C.Cilleruelo's topic in Delphi IDE and APIs
... the only really reliable way ... -
Micro optimization: Math.InRange
Rollo62 replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
function InIndex( AIndex : Cardinal; ACount : Cardinal ) : Boolean; begin if AIndex < ACount then // Only need to compare against ACount Result := True else Result := False; end; -
Thats true, this is why I work with my predefined constants for some most usual settings, to avoid typos.
-
Micro optimization: Math.InRange
Rollo62 replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
Beside InRange, which I use for >=1-based indices, I have defined my "InIndex" function, which is doing the same comparison, but optimized for 0-based indices, as proposed for example also here. Preferable I am using "InIndex" in my code. -
Examples of Android apps
Rollo62 replied to Mike Torrettinni's topic in Tips / Blogs / Tutorials / Videos
Maybe this for a start ? -
10.4.2: MacOS or iOS - Test Connection succeeds but deployment connection fails
Rollo62 replied to toneusc's topic in Cross-platform
In PaServer pressing "i", it shows all available IP-Adresses, I'm afraid not all of them are workable, at least for me in a VM. -
Try restart PaServer, somtimes this hangs somehow.
-
Several F2084 Internal Error on Delphi 10.4.2
Rollo62 replied to Davide Angeli's topic in Delphi IDE and APIs
Thats also what I hope. I have never tested if BOM, Spaces or other strange UTF8/16 characters could infuence the compilers behaviour somehow. -
Several F2084 Internal Error on Delphi 10.4.2
Rollo62 replied to Davide Angeli's topic in Delphi IDE and APIs
Regarding the sources, I only find these changes under rtl What is strange is that the AppGlue.pas file shows as equal, since the new file has UTF8+BOM and the old file has UTF8. But when compared binary, it looks as if there were more (invisible) code changes in the source file. Left new file, right old file So technically the old and the new file is 1:1 same, only the new contains UTF8+BOM, and I would say it makes not any difference. But why is the new file in the patch then at all, if it doesn't have relevant changes ? Is there any possibility that the "invisible" changes in the file could have an influence on the compiled output ? I have no tool that is really finding the difference well, BeyondCompare lite shows always that its 1:1 same. -
Several F2084 Internal Error on Delphi 10.4.2
Rollo62 replied to Davide Angeli's topic in Delphi IDE and APIs
Thats the best way. Anyway, I have checked whats in the ZIP file, it seems that there is no overlapping somewhere in this case. After install I doublechecked that all IDE folders match the patch.ZIP files 1:1, to be sure. I also would recommend NOT to install patch from IDE with "Close IDE and install YES/NO", and to select "NO". When "YES" is selected, the IDE closes and installs immediately, and also restart the IDE after installation is done. I have seen some kind of 2nd run of install, but it was too fast to see anything. What I prefer is that the IDE does not auto-restart, so that I have time to check what was changed first. -
@Vandrovnik Are you talking about Rx10.4.2 ? In the new versions only AAB can be produced, with all files in. I also add deployment assets to 32 and 64 Bit too. This makes the AAB bigger, that right, but thats only used to upload to the store. With the bundletool.jar you can extract and re-package different APK's from this AAB. Exactly that is doing PlayStore too with the AAB, so a user will only get his APK, to reduce transfer size. There is also a "universal APK", which contains all different APK, which blows e.g. 40MB single APK to 160MB in total, I'm not quite sure what this universal APK is used for, or how the devices pick their "special" APK, or maybe this is only for transfer all files in a single ZIP.
-
Fmx Rx10.4.2: Is Android compilation to APK32 and APK64 broken ?
Rollo62 posted a topic in Cross-platform
Hi there, I know the similar thread, and now it hits me too. From my normal AAB project, I just need to creat separate APK, to send to some testers. If I build as the project as APK32/64 separately, which I did many times before, and Yes, I removed the checkbox, restarted IDE, and tried everything 10 times. My IDE always generates an AAB. This happens with a project that could build APK before flawlessly. Next step I have to create a complete new project, but I would like to ask is somebody knows a workaround for this ? Edit: Oh yes, RSP-32995 -
Fmx Rx10.4.2: Is Android compilation to APK32 and APK64 broken ?
Rollo62 replied to Rollo62's topic in Cross-platform
Yes, I've tried whats explained in the RSP. I could generate one AAB, from there either one single universal APK, or many, different APK's. Since I need that for exchange with others, I have not fully tested the universal APK, is this really running everywhere ? That would make sense, or to choose only 1-2 splitted APK's, the whole splitted APK's will take 4-5 times the size of the ZIP file. Are you working with universal or splitted APK's ? -
Is it possible to dynamically generate an editor GUI based on a data type class?
Rollo62 replied to wuwuxin's topic in VCL
You think 26 Characters are enough ? 🤔 -
Thanks for that link too, which links to a whole lot of succinctly free e-books, thats quite interesting. I hope I don't misunderstand, you want to send the link to the sources, not the entire PDF's, of a copyrighted book ? But many of the original sources for books you can find easily by searching after its name, so everybody can get them on his/her own, if needed.
-
I can approve that too, current Rx10.4.2. Suddenly in a project the CFBundleName appeared as "iPhone", instead of $(ModuleName). I assume this happened when changing UIDeviceFamily from iPhone to iPhone & iPad, but not sure. What I heavily hope is that the version and options dialog will get much more stable one day.
-
Maybe so, but since LSP I recognize that this behaviour has changed to older versions. Before it was able to filter only from beginning of terms, now it filters everywhere. Anyway for what reason: Hooray its getting more usable
-
Dont get your point, there is AutoCompletion I think thats much better to have speaking names than some like AK, DoIt, Run, InTrlPaDel, aThng, .... (I don't care much about the grammar). And since LSP, we can "AutoComplete" within terms too, above you can find by "Inc", "Trail", "Path", "Del"