Jump to content

Rollo62

Members
  • Content Count

    1671
  • Joined

  • Last visited

  • Days Won

    22

Everything posted by Rollo62

  1. Rollo62

    Delphi and the new Apple M1 CPU

    I want to re-activate this old thread, but its still a current topic. Apple launched their new M1 Pro and M1 chips and Max MacBook Pro's https://www.apple.com/apple-events/october-2021/?cid=CDM-USA-DM-P0021510-488761 Well, I'm not an Apple salesman, but I better should be. This really blows all other laptops away, if it works as smooth as desired. It has an tremendous "wanna-have" factor, and the prices are not even that dramatic as I expected, like for example the Intel i9 versions. I think Intel ( Wintel ) will loose even more ground on the chip business, because there are no big reasons to buy large desktop workstations any longer, with such power in a small box. By Rosetta this supports ARM M1 and Intel x86 anyway, with good compatibility and at high performance, so I think Wintel / AMD will see a hard future. Of course you have to move from soft Win-Wonderland to the aluminium-hard Mac-World, which is a little disturbing as a user/developer for some weeks or months. But as always, some things I find annoying everyday, some things I love, but there is nothing which you couldn't get close to. Who's next PC will be a MacBook Pro Max, I'm curious ?
  2. Rollo62

    Where are the FD Enterprise Connectors hiding?

    I was also sure that they have been "included", and also I got some for testing. My goal was to get started with 2 or 3 API's, to see how its going. Since I could not find much time for testing, I had to realize one day that my unused licenses had been expired. I've tried to check, to re-acivate the 1-year licenses, but they told me they were intended only for testing only, and once expired cannot prolonged for free. The license terms were always very fuzzy to me ( as usual with Embarcadero stuff ). If I wanted to prolong, I could get a 14-day trial, but thats maximum I could get, after that I should buy them. So I feel screwed a lot, and also I can only say: "Dont tocuh it". Better grab your REST-APIs directly, CDATA is not worth it under such "all-or-nothing" business model.
  3. Why removing BPL parts which maybe cause unknown sideeffects, and risking an unstable IDE as a newly installed tool, while of course still complaining about any instabilities after installation, when closing or ignoring of the Welcome page is just one click in the IDE ( so a no-brainer ) ? 🤔 I would keep IDE as "natural" as is, while exploring its behaviour and stability over a certain time, before I try to remove or install anything harmful with yet unknown results.
  4. Yeeees, HTML/CSS/JS has a really terrible High DPI support
  5. This has changed completely. https://www.ideasawakened.com/post/customize-the-rad-studio-11-welcome-page-for-single-click-activations
  6. Thanks for the insights. I'm wondering if this might cause any problem with memory leaks or AV, when creating/destroying frames at runtime, in changing, random order. If the Application->MainForm is used over several units, inside specific components only, this always leaves a bad taste. This leads me to the question what is the right, intended, official way to use the Application->MainForm and the AOwner of Frames/Components. Shall it be in a strict tree-structure, or does it not matter, to mix tree and direct owenerships as you like ? Does it matter if the relations were mixed by designtime and runtime ? Does FMX behaves differently than VCL in that regard ? Thanks god, the termination sequence on mobile is not that critical, since this is killed by phone mostly
  7. Rollo62

    Delphi LLVM question

    Good question which is using what. https://docwiki.embarcadero.com/RADStudio/Alexandria/en/LLVM-based_Delphi_Compilers Seems that Macos is not yet LLVM, according to above list. But it is acc. to this info https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Delphi_Toolchains https://docwiki.embarcadero.com/RADStudio/Alexandria/en/DCCOSX64.EXE,_the_Delphi_Compiler_for_macOS_64-bit https://docwiki.embarcadero.com/RADStudio/Alexandria/en/DCCOSX64 https://static.webshopapp.com/shops/081736/files/088721693/embacadero-rad-studio-feature-matrixpd.pdf While I thought a long while that only D-Win32 is properitary compiler, and all the Rest is LLVM. Maybe it depends on language Delphi or C++ too. However, it compiles well, so it does its job for me
  8. But you would be in "Delphi Heaven", not "DLL Hell".
  9. Rollo62

    splitting interface + implementation

    Include files I like to use separation in clear defined units, something like this. That needs some kind of discipline, I'm not always that strict, but I would prefer such separation over cluttering one unit with a lot of includes Just roughly scribbled the code like that: unit MyUnit.Intf; interface Uses {$if DEFINED ( windows )} MyUnit.Intf.Win; type TMyUnit = MyUnit.Intf.Win.TMyUnit; {$ELSEIF DEFINED( linux ) } MyUnit.Intf.Linux; type TMyUnit = MyUnit.Intf.Linux.TMyUnit; {$ELSEIF DEFINED( macos ) } MyUnit.Intf.Macos; type TMyUnit = MyUnit.Intf.MAcos.TMyUnit; {$else} {$MESSAGE ERROR 'MyUnit.Intf: Unsupported platform' } {$endif} .... That results in two main advantages: - NO INCLUDE's needed in the underlying sub-units - a clear error message when unknown conditionals were used
  10. Rollo62

    Installer (Innosetup) - welcome page yes or no?

    1 click is fine, but I like at least to define a folder where it shall go. Yes EULA before install, but still I'm not sure about its purpose in Europe or other countries. I think this is mainly an US law thing, and everybody worldwide just copied the same behaviour, as it looks cool. I'm no lawyer, but I think in EU this doesn't make much sense anyway. If a user installs something on purpose, he is responsible, no matter if texts showed up before using it. Of course if the software formats the disk, than the manufacturer should be in focus, but I assume we talk about normal, non-critical apps for the moment, that could be installed and uninstalled with no harm. Maybe somebody has experiences from real cases, and could share this info.
  11. Rollo62

    Installer (Innosetup) - welcome page yes or no?

    Yes we all have such EULA pages. But to be honest, I don't know if this makes any legal difference, if we have it or not. Is there any known legal case, that was won or lost because of EULA or missing EULA ? Maybe in USA, such "overinformation" is needed, I don't know, but in good old Europe I doubt that. To the contrary, in EU new laws tend to ban such "read and click in a hurry" contracts, as not legal in some other cases ( not EULA ), but at least for web-pages contracts. I would assume the legal power of such EULA page is quite low (at least in EU). Instead of the EULA, I prefer to have a special, nice "welcome" page(s) in the app itself. This can be used for EULA, but also for all other setup requirements. I think this is much better than InnoSetup ever could be, so why not using such an app self-setup welcome page, and leave the setup minimal ?
  12. Rollo62

    splitting interface + implementation

    Yes include files will work. But be aware of that precompiled units will break easily, when making changes the include file, which will lead to nasty errors. So this kind of unit + "include" should be always re-compiled.
  13. Rollo62

    D11, Android new App Billing Service

    The marketing of D11 claims that it has the latest billing service, if that is what you need, but I haven't checked if its working.
  14. Rollo62

    ICS V8.67 announced

    Thanks for the update, very good to hear that FMX cross platform support is coming closer. Do you have plans/roadmap to support all available platforms Android, iOS, Macos 32, Macos 64, Macos ARM, Win32, Win64, Linux ? In the current version, why is there no Macos 64 support, are there technical problems that prevent to go there ? Does the Macos 32 use maybe OS drivers, which are available on the platform, or do we have to add extra static/dynamic libraries for that ?
  15. Rollo62

    App Store Connect REST API problem

    Ok, thats an explanation. BTW: I have found this nice article from Paolo, maybe thats helpful too http://blog.paolorossi.net/2017/04/27/jwt-authentication-with-delphi/ I think it was planned to part 3-of-3, and part-4 came later: http://blog.paolorossi.net/2019/07/15/jwt-authentication-with-delphi-part-4/ I've noticed this only later, when appearing in DelphiMagazine, so maybe I should monitor Paolo's blog more often 🙂 http://www.delphimagazine.com/2019/07/16/jwt-authentication-with-delphi-part-4/
  16. Hi there, so far I have not considered GitHub as an OAuth service provider, also usable for external, productive apps, but this rough idea came always into my mind since some time. So I wanted to check now if and how that could be possible. The info about terms and conditions is a little unclear to me, about that OAuth Application from GitHub: https://docs.github.com/en/developers/apps/building-oauth-apps/creating-an-oauth-app https://membrane-soa.org/service-proxy-doc/4.2/oauth2-github.htm https://docs.readme.com/docs/setting-up-github-oauth I assume that a GitHub account >= Pro, can be used as a normal OAuth-Service provider, also for external apps not hosted on GitHub itself. Since I cannot find a lot information about these terms, I am very unsure if this is a good idea, or recommended only for development purposes. Who is using such already in productive applications ? What I can see that GitHub allows up to 100 OAuth services, and I see no difference especially for development or production. Are there special hidden costs, when using this productive, or is this all in the flat cost of the account ( which would starting from a Pro account at 4 USD/month, including up to 100 OAuth applications ) ? Are there special terms that forbid such kind of usage, outside the scope of GitHub projects ? Are there any technical restrictions that may bite me in a productive system ( any resources/packages occupied per app, performance, access limits, transfer limits, or the like ) ? If that is all OK, I think this would mean that GitHub is a very cost effective OAuth provider, only I cannot really believe that. Maybe somebody here has experiences with using GitHub as service provider, and would like to give some tips and and share recommendations ?
  17. Rollo62

    App Store Connect REST API problem

    Ok, I see. Yes, it should be it, but stange that the issuer name is in the list below, but not the issuer key. I thought that several Issuers could be possible, it looks like there can be only one, or is it different for the currently logged in user ? I would have expected this issuer key near to the key's issuer name in the list below.
  18. Rollo62

    App Store Connect REST API problem

    Yes, I think its just kind of access-token, and Apple recommends also a quite short lifetime < 20min for the token, to be accepted. By the way, I think all this is still beta probably, and I know Apple for changing a lot when its about improving security 🙂
  19. Rollo62

    App Store Connect REST API problem

    Yes, this was also my first thought, but I have checked that the Jose JWT library adds this "JWT" (uppercase) automatically. But maybe worth to doublecheck, if this stays like that also after creation. The notes about URL are interesting, but I think Apple uses this in its own way. I also thought some times to use JWT Token, to create some unique, secured data, but without URL, that should make sense too IMHO. Did you get if from the AppStoreConnect, user section ? I see all the user/roles, etc. but no such ID anywhere. The problem I see is that I have several entries there anyway, under the same "Name", probably even with different Apple-Ids. If this is from the MemberCenter/Certification section, I cannot spot it either. I would assume that this is maybe taken from a different item, not the one that Apple wants to see here. Nevertheless, Apple seems not havin explained that origin very well.
  20. Rollo62

    App Store Connect REST API problem

    Hi Dave, how does the AIssuer looks like ? It should be like 57246542-96fe-1a63-e053-0824d011072a , but I cannot find this from the Users table or anywhere else. Where did you get this from ?
  21. Hi there, I received my OpenAI beta test account recently, after waiting for that more than a year now. Finally I was very much excited about the AI capabilities, as I watched the amazing Youtube series of GPT3 Leta from Dr. Alan Thompson, who is experimenting with the DaVinci model and avatars to provide a real human chat experience. This machine will easily pass the turing test IMHO. Well, but when I first checked the Playground, I found the GPT3 models were not so much evolved as I expected. I also tried out the REST API, with the same disapointing outcome. GPT3 often gives completely wrong answers, mostly doesn't understand anything at all, not even a name or very basic texts, and all in all its far from capabilities of the Leta series I mentioned above. So maybe this is the case because I have not provided enough or wrong training data, but there is also no real explanation howto provide information, and especially what data would be really needed, to enable GPT3 to deliver most useful results. In the meantime during waiting for GPT3 access, I already tried GPT-J and tried others, but they all were not especially "intelligent" neither in understanding normal texts nor in providing real world answers (like: who won the latest nobel price in physics ?). Now I would say GPT3 is on a same level as GPT-J, at least when it comes to a unspecific chat application. What is Dr. Thompson's secret to make it so clever ? I assume that all GPT3 models use the same training data ( it was mentioned that training data was used only from the time until year 2018 ), so that also Dr. Thompson's machine should be using the same data. I wanted to ask if anybody here in DP had also some AI experiences, and maybe could squeeze better results out of GPT3 ? Would be great to exchange some tips and hints. howto handle AI best.
  22. I absolutely agree, I have Alexa, Siri (only Google Assistant is more clever ), but they all are miles away from this Leta series. I am not talking about those, but the GPT3 (Leta) videos in the link above, which is in an experimental, closed beta. Are the Leta videos then a hoax finally, I dont think so ? There are about 24 videos right now, and I think Dr. Thompson is close to many AI research teams, having a deeper insight as we could have. Since GPT3 is only a textual processor, maybe the Q/A is somewhat "beautified" before sending to the avatar and speech output. But many of Leta's answers are really astonishing, and would make AI really useful.
  23. Don't you see any use-case, I wonder ? If the a device chat can give perfect answers, like the Leta project can do, I see a lot. Just as example for assisting people in their daily worksite, in real language, maybe by a special trainned AI which is optimized to the special field of the customers current working tasks. The AI could act as a real useful assistant, giving useful tips. But that is only one of many ideas, for the others I better let you sign an NDA No not really, I think there have been already millions of people thought about the same ideas, like always if a new technology is emerging. While OpenAI, Apple, Facebook and those kind of companies ahve already filed their patents. "... increase in income ..." Not sure how you mean that, but I think: Yes, such AI gadgets in apps and software will sell veeeery well to a lot of company and private customers in the near future, if the AI can really do a good job.
  24. Rollo62

    Farewell Rx10.4.2

    Hi there, I want to wave goodbye to Delphi 10.4.2. This was for me one of the most stable versions in the past, maybe only XE8 was similar stable and less critical for me. Yes, it had its hickups here and there, but nothing too annoying at all. It accompanied me in the last 12 months as true friend, so I wish you luck in the afterlife. Looking forward to see Rx11 as stable as its older brother, and to give me another 12 months cycle of convenient Life. The start looks very promising, lets see ...
  25. Rollo62

    Farewell Rx10.4.2

    Thanks to Darian I've noted that I had missed to update my IDE version in DP for quite some time. Just updated, of course its Rx11 now, and was Rx10.4.2 before. A good time to remind everybody to check their profiles too.
×