Jump to content

Rollo62

Members
  • Content Count

    1950
  • Joined

  • Last visited

  • Days Won

    25

Everything posted by Rollo62

  1. With some experiments, it seems that it doesn't work so seamlessly as described in the Parallels description: There is not only one entry storing the TPM password, but there were two ( /System and /iCloud ). Both contain the same Password, when I extract that from KeyChain, looks similar to this: 0a9dfe9dbabcdfgdsddf4678fc3defsf5fs5fs67hd7n8899f086b795cc9a1509c3 The only difference seems what is so called "Location" - System: One time with Account number added - iCloud: One time without All the rest, including password seems identical. When I try to copy the entries into my own, custom KeyChain Bundle, then I can only copy one f the two versions, so I assume "System" is the right type. IMHO the best way to copy that, is - Unlock the "System" and "Your Custom" Bundle by right click - Unlock - Select the left "System" KeyChain Bundle - Enter the "TPM" in the search field - Sort by the Key type "System" - Select and right click copy all the "System" entries - Ignore the "iCloud" entries, they seem to be not necessary - Select the left "Custom" KeyChain Bundle - To right click and insert them all into the custom bundle - The Custom Keychain Bundle "MB02_Pls_TPM.keychain-db" is for example stored under /User/Library/Keychains, and can be copied to another machine. - Such KeyStore could be Added to another machine hopefully - From there, on the new macnine, the TPM could be copied from "Custom" to "System" to make the VM work again Is there a better way to it ?
  2. Thanks for the info, I have two Macs, wile only one is for current development. I also want to ensure that I won't end up in desaster when this maching breaks down one day, if I would consider TPM too late this will break my neck. A breakdown of one host machine might breakdown 10 guest-VM too, I really get scared about that scenario and I want to do the right thing before its too late. Regarding the workflow, I hope that still cloning variant, particular VM's from a generel "template" VM will still be easily possible. Usually I use only one particular VM at a time, for lets say VM-Delphi, VM-WebDev, VM-VisualStudio, VM-TestEnv, ... so clones from one template VM was no problem in the past. On one host machine I think that should be OK, since all the VM's relate to the same certificates set on that host machine ( at least I hope so ). If I have a few VM's related to one host in that way, what happens if the host breaks down completely, How do I prepare to be able to move quick and fast to a new machine then ? I think backup of a VM must always contain the VM-image plus its VM-TPM-Certificate then, to be able to restore it. On the Mac it seems that its possible to copy the KeyChain-Bundle as collection, like in my link above, which could be exchanged between different Mac's. Maybe I should bundle all the TPM certificates to that single bundle in advance and backup this bundle. That looks like a possible, clean way under Macos-Parallels, I'm not sure how it might look under Macos-VmWare or under Windows-VmWare hosts. From yur example under Windows it is called "Shielded VM Certificates", which is maybe the way to use this under Windows. Anyway, I see no way to exchange VM's interoperably between different hosts structures in the future, like moving from Macos-VmWare to Windows-VmWare or into the VmWare-Cloud and vice-versa. To be honest, I never really used that feature aside testing it, but it was always good to have it.
  3. Me neither But I think it should be fairly simple to get the Python4Delphi bridge running and to understand the basics, while I assume that on the python side you may choose from a bunch of different Voronoi library incarnations for testing. To call such voronoi functions should be similar in each case, if you have the boilerplate code running.
  4. Have you considered Python4Delphi, I would assume that Python has all the modern libraries easily available.
  5. Rollo62

    Next Roadblock-provisioning for iOS

    You can try to create a new, empty app in XCode, with same bundleId net.mustangpeak.LccThrottleApp, and try to set up the provisioning profiles for debug and release from there. Usually XCode is able to set up the provisioning right and at least can give some more useful hints if not. Sometimes older or several, duplicated certificates were in the KeyChain Access, which need a clean up before installing the new ones. If XCode can build and run an app then usually its OK for Delphi too.
  6. Interesting question. I would think that the problem is that your app sleeps in doze mode, and there is no real reason to permit it running. When in foreground then the TForm can read those key events, but in background you could try to use an Android Service. Maybe this method works still within a service, but I doubt that you will get an background permission easily without certain hacks. Maybe you can look after howto receive the volume key from music player apps in the background, there were some possibilities too, but the main difference seems to be that a music player app is allowed to run in background. You must consider that reading keys in background would be a large security issue (like rading passwords from external keyboards), so I would think Android strictly forbids that.
  7. Nope. I think that chatGPT is trained and powered from SO, beside many other sources. So it should not be able to replace its original sources, since the global "brain" of millions of human developer brains is simply to valuable for new input and failure corrections.
  8. It should be able to uninstall with something like this Prints all packages adb shell pm list packages also show the package UID adb shell pm list packages -U also include uninstalled packages shell pm list packages -u ... remove this app package from the device adb uninstall test.apk Keep data and cache directories after removal adb uninstall -k test.apk
  9. Are you able to connect via ADB and you cannot list or delete the desired package name via ADB ? Maybe reboot of the phone could help, as sometimes phones can stuck somewhere while they look and feel normally operating.
  10. Don't miss these books ...
  11. Yes that's true, so what ? Yes, I'm not an AI engineer working at OpenAI, so I am probably a complete AI noob. But I know enough about AI, neural nets, neural processors and backpropagation to make my thoughts about it. At least I'm not alone in thinking a kind of "AI consciousness" could possibly arise from a critical mass of "neurons" and data, these theories exists I think already since the 60's also from renowned scientists. I only said that chatGPT and other AI's point clearly into that direction that this could be the case, from my point-of-view. I also might add that of course an AI will never be able to mimick a human brain, since it works on completely different hardware and structures, but both brain and AI were investigated and knowledge combined heavily in the past years, there have been too many breaktroughts to count them here. Would it make any difference if AI is perfectly "mimicking consciousness", or not, if it probably has the same outcome as from a human brain's "consciousness" ? Moreover I pointed more to improving the usefulness of AI than to enforce "AI consciousness", which is not much relevant to me if the output is good. The "AI consciousness" lays in the astonishing creativity of writing lyrics, painting images, making music, all this works astonishing well, you should be able to agree to that fact. Yes its only a clever tool, sometimes we see complete rubbish, but sometimes we can harvest some pearls, what so wrong with it ? If you can get the same output with some Delphi classes, then I completely follow your words. I'm off now, I see so much negative energy against, instead of looking at the current AI possibilities and possible future optimizations. Future will tell.
  12. Sure, I cannot read anything about chatGPT, although I think its based on DaVinci model as well. Even the usual GPT-3, DaVinci Playground points clearly to the particular chatGPT playground. Here is the reference to that link as well https://openai.com/blog/chatgpt/ Not the usual playground. I also played with the GPT-3 API, same as you do, it seems that chatGPT was especially trained, not the usual GPT-3. Lets wait and see whats coming up ...
  13. I'm sure that if you focus on a special problem only and tailoring the questions and prompts very well, you will get reasonable answers. Ok, not 100% reasonable, maybe 95%, but I have seen very many examples where it works out really well. This depends on the topics and domains very likely, not in every domain this might work. Anyway, you have to check out for yourself. I remember well when I've got my first Sinclair Z80, programming one of the first programs, I've programmed a simple Eliza program. This was very simple basic program of coarse, but from that I realized how easy text processors can lead to interesting Q&A. And yes, Eliza was completely useless and giving not really helpful answers. The AI developments and technology were sleeping ever since on a low level and only in the last few years some significant, exponential changes happened in that field. I know the power of exponential growth and that it might show reasonable results soon. So many people nowadays are getting hot on AI and working on that topic, don't you agree we will see a real chat or human-like AI soon, by fixing the last 5%-10% of issues ? I do and I don't say that chatGPT is the last step of the evolution, its only the start.
  14. Maybe its like that, but I doubt that this is 1:1 the same engine, because GPT3 is already there for years and chatGPT has a much evolved quality. Yes, I think its based on the same engine maybe only differs in the training data, who knows. Nevertheless, I'm afraid we have to wait until OpenAI reveals the secrets and the correct API. Or do you get the same answers from your API and the Playground ?
  15. @Anders Melander Maybe its a question of different expectations ? 1. You might expect answers like from a nobel price winning professor, which is fair enough, so that you can use the data 1:1 as is. 2. I would expect answers like from an half-educated sales assistant or a passenger on the street, giving only 25-50% of useful information but leading into the right direction, which leads to useful thoughts from where one can search deeper if he likes. For example, from above examples, I was not aware that Wilhelmshaven has a sandy beach nor that it has a Jade Stadion, not that Giza was build from Granite and Limestone. Clearly 1.) is the most desired goal, but 2.) is good enough as a tip-starter for so many cases. That's why I would'nt say that 2.) is completely useless, I see enough use cases for both options in many fields. I would predict that the answers from 2.) running through a better "data validation" process in the near future will solve most of the issues complained about.
  16. Just for fun, I've tried to pull some "unsolvable" information out of chatGPT, where I think it has given well suited answers to my questions. ( It remembers that we agreed on the name Assistant a some days before ). Ok, the math and results were a little awkward, but tending towards a reasonable direction. If you consider that this is only a text processor, then this outcome is amazing (at least to me). To implement some formula and data verifier should be maybe not that hard, to verify hard facts like limestone density, etc. I think the text processor is best if its not trying to answer hard facts and math right now, but this has clearly been an huge evolution to GPT3 1-2 years ago.
  17. I can only say that chatGPT can give really helpful answers and amazing "understanding" of facts, no matter if it really understands or not. Of course it can have its errors still, but it most of the time completely follows and understands your intentions, even if you ask not so well formed questions or try to trick it somehow by slang language. When you really ask well defined questions about very specific topics, like for example for craftsmen tasks at worksites, how to best solve their tasks in a given situation, it can give very good advices in 98% of the cases I would say. This is what I would also expect from a human assistant or teacher and to be honest not many of the shop assistants can help customers questions that adequate. I would rate chatGPT about 8 and the average, unmotivated human shop assistant 4-6, on a 0-10 scale. Please try chatGPT really out in practice, before you throw it into the "irrelevant" bin so fastly. I'm very sure that we all have to deal with this kind of AI in the near future, a few years from now. At least I have a lot of ideas howto use such AI things in the real world.
  18. Are you sure you talk to chatGPT, or is it GPT-3, its predecessor which is for quite some time out there ? https://en.delphipraxis.net/topic/8084-chatgpt-example/?tab=comments#comment-68216 Unfortunately OpenAI keeps the API a little unclear, you can check the results with the chatGPT Playground to be sure. The real link to chatGPT playground is here https://chat.openai.com/chat
  19. Thats a fair analysis and I completely agree. But if you see whats possible with those AI, like the LETA series from Dr. Alan Thompson, is really amazing. He has done a lot of work with various AI's, and knows how to optimize the parameters and prompts. And yes, its still only a text processor, like an advanced RegEx processor maybe ... 🙂 Since chatGPT is even more advanced than LETA, as it may remember older prompts, I expect even much better results. You will always have your point that its only a text processor and not a human, but the chats you can do with those machines are quite inspiring too. According to the Turing test, a computer can be said to possess artificial intelligence if it can mimic human responses under specific conditions. If you cannot really proof if its human or an AI in a normal chat, wouldn't it be fair to call the AI somewhat "intelligent" ? What would be your proposal for a proof of creative "intelligence" ?
  20. Oh yes, then better upgrade to D11, its worth it.
  21. I assume that he has the D11 code, so it should be legal to rework this unit to make his code-base backwards-compatible. If it would be true what you say, this would forbid to fix any buggy system unit for the same reason.
  22. You could try to copy the new helper from DateUtils.pas D11.2 into a separate unit, like DateUtils.Helper.pas type TDateTimeHelper = record helper for TDateTime /// <summary>Now returns the current date and time</summary> class function Now: TDateTime; static; inline; /// <summary>Now returns the current UTC date and time</summary> class function NowUTC: TDateTime; static; /// <summary>Strips the time portion from a TDateTime value</summary> function GetDate: TDate; inline; So that you can use it in D10.4.2 too. There should be only a few changes needed, if any, to make that run in D10.4.2 too. I would encapsule the content of this new helper unit with a Compiler directive, to ensure this is only used below version D11.2.
  23. That is very much true. So that is the reason I see chatGPT only as tool for generating clever answers, not as 100% precise encyclopedia. Understanding how it works, it's even more astonishing to see that this AI really evolves a human-like "consciousness", when it comes to philosophical or open questions. I have long time suspected that AI needs some critical mass before it can develop a kind of "consciousness". The current GPT-3 and ChatGPT clearly point into that direction for me and I think some AI had already passed some Turing tests. It is the "creativeness" that I find particularly interesting, not the "pedantically precision", because such a creative, inspiring tool is suitable for a whole range of tasks. I'm sure something like Dall-E will transform an entire profession of illustrators, just as DeepL has already done with the profession of translators. Of course, it's not so desirable to make all creative professions obsolete, but I don't think we'll be able to stop this development anyway. But I also believe that there may soon be robots in the household and for this the current "understanding" of facts is already more than sufficient. The only question is how to redefine these answers into actions. I have looked at a whole series of very well trained GPT-3 chats, which really follow a complete discussion with a kind of "awareness" that they themselves are AI and have limited possibilities. If it succeeds to cast the already very good answers of the AI into real understanding of facts, then the next step of the AI will be at the front door. For the reasons mentioned above I doubt that it is already so far. It is still not sure whether the AI can really understand at least something, or only generates very good text patterns randomly. Only the humans have the feeling that those answers were too good to be random.
×