Jump to content

Rollo62

Members
  • Content Count

    1945
  • Joined

  • Last visited

  • Days Won

    24

Everything posted by Rollo62

  1. Rollo62

    Choosing a Mac

    Thanks for sharing your experience. Also I moved ( or still am in the process of ) moving from VmWare Fusion to Parallels. I miss the option to move VMs around too, but to be honest I had issues moving and interchanging them anyway. An interchanged VM feels often a little slower, like the good maintained parent on the original. Moreover, I had issues to convert and run interchangeability, so I think this might only work for some kind of clean and fresh VMs, not the ones that had seen a lot of updates. So in practice, I see that vendor-locked-in syndrom for Parallels not as critical as before. How did you manage to run Delphi sufficiently under MacBook 2013 ? I had to purchase a newer one to be able to upgrade to Ventura, the old one simply refuses any update. Yes, Intel is clearly abandoned on Macos, the Ventura update was really messy and slow and only after a few updates it behaved somewhat usable. Before, the MacBook was perfectly fast and not reaching any limits. I assume this was not the case with ARM M2, but only Intel. So I have still some time and will maybe the next decision when M3 or M4 comes out What I can say that Apple can let you easily down, forcing updates here and there, leaving your systems non-workable. I have not seen such behaviors for decades under Windows, which is most of the time perfectly backward compatible. It all runs smoothly or can be easily reworked, while Apple doesn't seem to care much if their customers could use the expensive machines, or not. This is why I maybe move back from Apple to Windows machine as well, for my main workstation for FMX when the next upgrade is needed.
  2. Ok, just for fun I just tried to create some unit test for a random file, I found in the web. Since this is getting off-topic a bit, I opened a new thread. https://en.delphipraxis.net/topic/8688-try-chatgpt-for-creating-unit-tests/ The result after only 2 cycles is quite complete, would save some time, I think. I think there is not many tools out there at the moment, which can do that, and this works even for Delphi 🙂
  3. I personally think that ChatGPT is not great in complex coding, but can be a very helpful tool in creating Unit Tests probably, because this is usually a more routine work with several test cases. Many programmers dislike writing unit tests, because they think this is too much work, not worth the effort. I think that ChatGPT for creating unit tests be a great help too, because such code is typically not too complex, also probably convincing more and more people to make use of unit tests in the first place .
  4. Yes and no, I think it highly depends also on the "pattern-ness" of the structures, like JSON, XML, which have pretty clear rules. That should be easy to analyze and generate be AI, even with smaller training base, whereas any "logic", like a programming language, mathematics or the like, I see as not really solvable yet for AI. That said, I think also the training base of such files are huge. I had recently a very good example where ChatGPT can excel, I had to translate official EU terms into different languages, where I wanted to keep the meaning and wordings as close as possible to the official, national sources. Where all translations from Google/DeepL were not that convincing, even after many tries, always trying to fall back into the same 2-3 variants that I DIDNT want. This process worked out pretty well with ChatGPT, although this took me about 20 cycles to get clear and final on every aspect of the translation. I pretty much could change parts of the sentences and re-analyze. ChatGPT was able to follow my intention very good even over 2-3 cycles and helped to analyze, translate and explain the results very perfectly, knowing also the differences and nuances between official language and usual language. I really think that I was able to find the best possible translations, with the help of ChatGPT. You still can say that AI is stupid, if not having a result under 1-3 cycles, but I also know how this process works with traditional, human translation offices. Also the human translators can never follow my intention 100%, especially if those technical topics were out of their common repertoire. There I clearly see the advantage of the huge AI repository, from Shakespeare, official law terms to slang and dialects, ChatGPT is perfect in all of them. This is why I'm pretty sure that all simpler structures with only limited logic, like SQL, JSON, XML, CSV, etc. will do very good as well. I never expect a perfect result in 1. cycle, neither do I, when asking the same from a colleague. Only after a few cycles of explaining background and goals, the colleagues might prepare the desired result ( at least the colleagues I know 🙂 ).
  5. Define "to code": Wouldn't generating SQL, summarize a class or function, generate a simple class template, generate unit test cases, proposals of possible OS API for a certain task, modification CSV, JSON, translation from C++ to Delphi or many of such similar tasks, would'nt they fall under your objective ? Neither of those tasks were 100% error free, but they can be somewhat helpful or time-saving as well.
  6. Sure, but what I do consider: Isn't that part of our daily tasks, to master such kind of technology ? Why wait, and what for ? I have already seen a lot of very interesting use cases out there, beside asking for coding problems, of course we can wait until others take over this job, like the Python community I'm only missing just a tiny bit of constructive dialog here, how to make use and make best of such AI, instead many people seems to ask AI to solve problems which it cannot solve (yet).
  7. Do you used anything language specific ? I don't know Vietnamese languagem but I've noticed that several "regions" and "sub-dialects" might exist which sometimes might cause undesired behaivour. Like Swiss or Belgium language, can support various sub-dialects. I had a case where it worked for example on a Belgian phone under fr_be, but mishehaved under and nl_be.
  8. If you don't like to follow my visions towards AI capabilities and the usage thereof, maybe Stephen Wolfram can convince you. More info here. He seems to have integrated ChatGPT with Wolfram Alpha quite recently, I haven't checked out yet, but definitively will. This may close the gap of the missing logical part of ChatGPT, if it can request hard info from Wolfram Alpha. I see this current capabilities and future evolutions pretty much the same, that these kinds of "pattern recognizers" may explore this huge and probably infinite space of algorithmic rules and patterns. Finding patterns that were not found yet, to make use of the "unknown unknowns" for the mankind, as probably Donald Rumsfeld would say. Or maybe cite as: "To boldly go where no man has been gone before", like James T. Kirk would explain it. The only question is, if such findings would be good or bad for mankind, but that's another story. We will see that evolving anyway. At least I see this whole process very positive, of course with the necessary respect and caution.
  9. Knowing that this AI works pretty well for pattern-related tasks, not logical-related tasks, it should be pretty much clear where the strengths and weaknesses are. I have the impression that many people might not even be satisfied with AI even if it would show abilities like the "Terminator". They eagerly were dreaming of the "T1000" abilities instead, to demolish the current achievements, while completely ignoring what's knocking at their front door Available now ... Desired future ...
  10. Right, ChatGPT is pretty much always immediately "on-topic" and can provide useful information of any case, even if your prompt is not so well-designed. Beside coding, there were many fields where this is highly useful. You only have to sort out nonsense from useful data, which is not that difficult if you're not too naive looking at the answers. This helps to find surrounding answers and ideas or a direct solution, I asked for example to analyze the NATO alphabet, which of those terms were globally the best recognizable and pronounceable and also its proposals to optimize the terms. This gives a lot of good insights if you play around with it, from where you can move further. I never expect ChatGPT to write the perfect code to solve any sophisticated problem. It can help a lot in doing routine work, like convert this CSV to JSON, convert this C++ class to Delphi, to summarize code pieces, scientific texts or the like. It is a text-processor, pattern recognition, dictionary, and more …. And if you ask appropriate questions that fit to these strengths, it's doing quite well, IMHO.
  11. Hi there, I use the current RadStudio 11.3 Alexandria and have such issue that the project tree disappears suddenly, not sure how to reproduce that at the moment. It looks like this, and seems to be re-generated only when project close/open Currently I'm working under Macos platform, but I don't assume that this is the root cause. By the way, also all other tabs under this panel appears completely empty. Is this a known issue or did somebody has any idea how to fix that ?
  12. Yes, I know. I have separate folders not only because oder. dproj, but also for various Fixes units, that may change from version to version. Since I more doing cross platform this turned out to be the best strategy for me. The .dproj is really the biggest headache because of its myriads of settings in an unmanageable XML Format unable to transfer options from A to B or even to verify in a diff tool.
  13. Yes I keep all project files in separate subfolders, that is the cleanest was. Nevertheless I copy first e.g. from D112 to D113, before I start from scratch. Usally that can work, using RevertToDefault and other tweaks.
  14. Wrong code generation or not wrong code generation, I don't think that this discussions lead to anything Everybody knows the current limits of ChatGPT meanwhile. Instead of poking into the failures you should better look for ways to make use of it and to break those limits. Take this fantasic use case of GPT, to make it a "CoPilot for Delphi", programmed in just one hour. https://www.youtube.com/watch?v=hnBKfrBHUIE That is something I would expect from the experienced programmers community here, instead of whining about this and that problems. Isn't our daily task to solve such algorithmic problems ? If you like it or not, the AI's will take over sooner as we can blink with an eye and the coming versions they will remove most of your concerns from today. I see AI as a partner and tool for now, not as a replacement of coders, and it can help us with our routine work to get the head free for more challenging stuff. From the Delphi community I see only the moaning about any such new features, same like with discussions on inline variables, instead to admit what a fantastic achivement modern AI could be soon
  15. Great, that seems to be a good workaround. Thanks for reminding me, I usually do that ( only this time tried to be smarter again ). Taking the shortcut most of the time takes me longer in total, at least with *.dproj files. If it not would be such a ridiculous mess to re-set all parameters in the options again and again. This is on my feature whishlist no. 1
  16. I would call it a managment of "history" in the data itself, instead of log. The log could be external too and its hard to keep that on track. What I consider is a history management within each table, where for example copies were made before changes and instead deletion its just setting flags with a timestamp. That way the latest version in a table keeps always intact and easy to undo the changes, just by manipulating the flags and timestamps. While you can decide at any point to remove the "garbage" in a table without much side-effects. Of course managing multiple, related tables can always be a headache still, but I think its more clean and easier to understand if tables can handle and encapsule their own, specific undo/redo behaviour, in contrary to a possible external, universal log management which can be very complex and tricky and failure prone.
  17. Rollo62

    String literals more then 255 chars

    I use this in some kind of "not-human-readable" const definitions,. for example as a central, unique definition of some medium complex SVG pathdata icons. To not confuse anybody I usually put such definitions in a separate unit then, well commented about its purpose. So I see this use case a little more practical, not just pure black-and-white, I think it can make sense in some situations.
  18. Dont know if Mobile is relevant for your case too, but I know that some systen exceptions may be untrapped. A solution was to extract try-except into separate method and implement a kindof double try-except to ensure to catch them all.
  19. Rollo62

    K-Software

    Yes, thats what I meant. Yes, I saw a similar message, but I cannot remember any code, thats why I'm still unsure about it. There was no specific entry where to apply that "discount code" anyhow. Finally, I'm happy to get finished all this messy process, no matter if discount or not. But I personally think that tis is some kind of "cheating" and selling in a grey legal zone, which I shall not expect from a trust provider. Maybe you can call it maximize profit by business process obfuscation. In the 21th century and especially from a central trust CA, I would expect a much more fluent and state-of-the-art procedure and business operation, not requirening >10yr old outdated tools, same as Sectigo is requiring all personal stuff from us.
  20. Rollo62

    K-Software

    Yes, you mean this configuration, right ?. https://support.sectigo.com/PS_KnowledgeDetailPage?Id=kA03l000000HOFi I think that completely changes Edge to IE11 mode, if I understand that right. Alternatively I saw that option, to convert only a single page to IE11 mode, which would be more handy. Anyway I'm still waiting for approval and I will check how it works when it arrives. K-Software is only a reseller, and after that the whole processing is passed to Sectigo. Nevertheless, I'm not sure how and how to handle a renew, which should be at less cost. Strangely I have to re-order at K-Software, but a possible rebate can only processed by Sectigo, if they find out I only renew an existing account. I cannot find anything useful about renew process on their site: https://support.ksoftware.net/support/search/solutions?term=order BTW: Most of their info is more than 10 years old. Maybe for this time its already too late, but I hope next time I will learn how to smoothly pass all their obstacles best. If anybody has link to a real good and current instruction for the whole K-Software / Sectigo process in the web, would be great to share that, to be able to avoid all pitfalls in the future.
  21. Rollo62

    K-Software

    Thanks, that helps a lot. They say IE11 and Safari works, at least Safari should be fine. But tehy also claim like this I usally use Firefox, but this note and everywhere else on their page they note that only IE11 ( and now Safari) seems to work. Thats why I tries to use Edge in IE11 mode also for application, which was not presenting the captcha to get on the next page. I wondered why that happened, because Edge in IE11 should be able to generate a simple number-captcha ( not even an image ). I tried to clarify with them in a phone call, where they told my to use Chrome instead. So it seems I just have to try and check how far I get with Firefox, Edge (in IE11 mode) or Safari or Chome.
  22. Rollo62

    K-Software

    Again the renewal odysee with K-Software and Sectico ( its worse than Apple, I never thought I can say that 🙂 ). Still I hope I will get re-verified, but on the site they promised that I shall "just order", the renewal of an existing certification would be detected automatically, with a rebate. I would bet that they forget about this, at least from my phone calls to them, and in the end can be happy to get through anyway, rebate or not. What they proposed was that renewals will be easier, but I would say this is the whole procedure as usual, from a first application, it is by far the worst processes and user interface I've ever seen. Moreover, they require to use Internet Explorer only, since IE11 is the only one with such magic certification capabilities. Unfortunately the IE11 is more or less gone in my latest Win10 updates and redirected to Edge. In Edge I can open it as "Internet Explorer" mode, with a very crappy page design and odd visual outcome. Nevertheless, if this will work as expected finally, I'm happy. Does anyone know if the Edge - Internet Explorer mode works well with K-Software / Sectico certificates ? All these explainations look very much different to my Edge version. This allows a page to switch to IE11 mode and back, is that sufficient enough, or do I have to reset the whole Edge internals for certificate generation ? On their website I cannot find much current information, seems same page information as years ago.
  23. I would see this AI not a "coder" yet but as "idea generator" or "interactive dictionary". I'm pretty much impressed how fast easy ChatGPT can produce ideas and tips from a very broad perspective and in 90% spot-on the topic and complete, only if you ask the right questions. This is what I expected though, since ChatGPT has pretty much the whole web as source, so it might probably win against humans in creating inspiring solutions of any kind (not only coding). These "solutions" are thankfully NOT out-of-the-box, otherwise you could ask: "Please program a full-fledged ERP system perfectly tailored to my company's needs" 🙂 . The people who eagerly deny such amazing breakthroughs are probably the same people who made fun of the automobile around 1900, when it began to replace horse-drawn carriages. You shouldn't oppose what you can't stop anyway, especially because ChatGPT has gone from 0 to 100 across society in absolute record time. Better to learn early to work with it, instead of against it, I think this should apply especially to programmers and technophiles who made such developments possible in the end.
  24. Hi there, I have just stumbled about the post here, about Github CoPilot. When I checked and played around with some AI, like GPT-x, I can imagine the advantages this integrated KI might give to the programming workflow. This gives me a strong push to check out the FNC for VsCode, since I use VsCode anyway for some web projects. I'm wonderding if the CoPilot technology is limited to VsCode only, or if there are possibilities to integrate that into Delphi too ? Github says "not yet", but I think that will be provided as simple REST API as well. So maybe Embarcadero is already checking this out, this would be very cool to have new LSP + new KI one day 🙂
×