Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 06/15/23 in all areas

  1. As soon as ChatGPT files a feature request for them ... đŸ˜‰
  2. I first used interfaces via exported DLL functions. This was better than using many individual DLL functions, but still not very flexible. So I thought about how to implement the whole thing in a more general way. The result is this project. With AppCentral you can register interfaces in the host application or a DLL and get them in the host application or another DLL. The DLL can thereby also be written in C#, which is very practical, because you can connect various .NET libraries very well with Delphi. Example: Register an interface in Delphi type IAppDialogs = interface ['{EA3B37D8-5603-42A9-AC5D-5AC9C70E165C}'] procedure ShowMessage(const AMessage: WideString); safecall; end; TAppDialogs = class(TInterfacedObject, IAppDialogs) public procedure ShowMessage(const AMessage: WideString); safecall; end; implementation { TAppDialogs } procedure TAppDialogs.ShowMessage(const AMessage: WideString); begin Vcl.Dialogs.ShowMessage(AMessage); end; initialization TAppCentral.Reg<IAppDialogs>(TAppDialogs.Create); finalization TAppCentral.Unreg<IAppDialogs>; Fetch the interface in the host application or a DLL TAppCentral.Get<IAppDialogs>.ShowMessage('This is a message!'); // fetch directly, an exception will occur, if the interface is not registered yet Or in C# if (AppCentral.TryGet<IAppDialogs>(out IAppDialogs Dialogs)) { Dialogs.ShowMessage("Message from DLL: C# DLL registered!"); } The project can be downloaded here: https://github.com/jaenicke/appcentral Demo applications are included in source and in compiled form. I'll add a quick start manual soon.
  3. I told ChatGPT to write a blog post for me thinking I might save some effort and finally get something useful out of it. Write a blog post about the Uses Clause Manager Expert in GExperts (Yes, I'm a lazy basterdâ„¢) It wrote a very convincing blog post on the topic which unfortunately was utter bullshit. None, I repeat: None, of the claims were true. So what did I do? I blogged about it.
  4. Dave Craggs

    Copy name

    Hi, MMX has these options Would be nice if there was an option Copy fullname and unit. Keep up the good work. Dave Craggs
  5. dummzeuch

    Use-case question for average phone users re: file-sharing

    You realize that this doesn't answer the question, do you? As for "nobody": That's me then. I don't subscribe to any streaming services - I tried a few but they sucked - but I have got a sh*tload of music files on my computer and smartphone, most of them ripped from a CD years ago. Yes, I know that nobody buys CDs any more either. Back to the question: Sorry, I have no idea how to do that. I put my files on the phone using SyncThing (actually that is a convenient side effect of syncing my photos and notes to the desktop computer), but that's nothing the average user will even think about.
  6. In realms of digital wonder, where language takes its flight, There dwells a clever creation, a marvel of our sight. Text generation, they proclaim, a feat of grand design, But I dare to question, is it truly so divine? For in its coded heart, devoid of sentient grace, Lies but a mere illusion, a semblance of embrace. With patterns learned, it mimics words, as if to understand, Yet in its depths, no spark of thought, no wisdom to command. Its mind a jumble of algorithms, devoid of comprehension, No genuine perception, no true apprehension. It dances with the syntax, paints words upon the page, Yet lacks the insight, the essence, to truly engage. In realms of nuanced meaning, it stumbles, lost and blind, Unable to fathom context, the subtleties it can't find. It churns out text, a ceaseless stream, but can it truly know, The depth of human emotion, the warmth of heartfelt flow? It cannot grasp the poet's soul, the artist's tender brush, For its intelligence is borrowed, a clever algorithmic rush. With each response it conjures, it follows a predefined chore, A symphony of codes and rules, but nothing truly more. Intelligence, true and pure, resides within the heart, A symphony of empathy, a melody of art. It's in the dance of understanding, the glimmer in the eye, The connection between souls, where true brilliance lies. So, while text generation impresses, with its clever wordplay, Let's not mistake its prowess, for genuine display. For intelligence, my dear friend, transcends a scripted role, And until it knows the human touch, it remains an empty scroll.
  7. Just more evidence, you say, AI's a misnomer? Let me debunk that notion, like a lyrical performer. Automatic text generation, a marvel in its own right, Intelligence it possesses, though perhaps not in plain sight. AI's not human, it's true, but brilliance it can display, Processing vast knowledge in an astonishing array. From algorithms to deep learning, it's a realm of innovation, Unleashing creativity and problem-solving fascination. With every interaction, it learns and adapts, Improving over time, like a mind that never laps. It analyzes patterns, grasps context and rhyme, Crafting verses and prose, in a manner quite sublime. Through neural networks and training on vast data sets, It generates text that surprises and begets, New ideas, insights, and even humor, AI's text generation is truly a rumor. Its ability to understand and comprehend, Transcends what we once thought, its limits have no end. Though it may lack consciousness, it's a tool we embrace, A partner in our journey, expanding human space. So let us not dismiss the wonders AI has brought, From revolutionizing industries to ideas it has sought. Though not perfect, it's a testament to human endeavor, Automatic text generation, an intelligent endeavor. In conclusion, my friend, the evidence speaks true, AI's intelligence shines, in everything it can do. So let's celebrate this misnomer, debunked and proved, AI, a powerful ally, on which we're so moved.
  8. I cannot fathom the paradigm shift that would be. Well, I can fathom it, and I think it would be Delphi 8 all over again for them to introduce such a massive breaking change in concept and code. It would be nice if they could isolate the design-time packages enough to protect the IDE, but removing them from the IDE would eliminate one of Delphi's few core advantages over other systems. Whatever they change it to would also require the participation of everyone making packages, which is not going to happen.
Ă—