Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 07/21/25 in all areas

  1. Hello. Coworker made this: https://github.com/TextEditorPro/Png2Svg Kind of brute force Png to Svg conversion. Depenging on the case, this might be good first step to the using Svg-icons in your project. Like you don't mind if files are bit bigger . Or you have single size bitmaps which get resampled for different sizes and the blurryness really bugs you. -Tee-
  2. Anders Melander

    Limit TAction shortcut to a particular control

    My guess would be that you could just disable the TListView actions when the control isn't focused.
  3. Hello everyone! Together with the Softacom team, I have been exploring how AI can support Delphi projects. As part of these experiments, we created a video showing how to use OpenAI features to generate text, images, and speech via an Embarcadero Delphi FMX app. If you are curious how these APIs can be integrated into your Delphi workflow, check out our video. I hope you will find it useful! Watch the video: If you prefer reading, we have article versions too: Generate text with GPT: https://www.softacom.com/blog/development/text-generation-capabilities-with-delphi-fmx-application-via-openai-api-gpt-models/ Create images using DALL·E: https://www.softacom.com/blog/development/image-generation-capabilities-with-delphi-fmx-application-via-openai-api-dall·e-models/ Convert text to speech with OpenAI API (TTS-1 and WHISPER-1 models): https://medium.com/@softacom.com/speech-and-text-by-speech-generation-capabilities-with-delphi-fmx-app-via-openai-api-tts-1-and-b19293070588
  4. Tommi Prami

    "Png to pixel-perfect svg conversion" (I didn't make this)

    My personal rationale is that you can onece and for all change icon technology/source from bitmap to vectorm and with for us, acceptable result. After that one can start pondering how to get better and way more optimal Svg-files. Anyhow, fully understanmd that this is not for even close good enough for all. -Tee-
  5. Attila Kovacs

    What is the best AI at Delphi

    You can’t tell much from this chart, the total number of devices has exploded over time. Even though Windows’ share is dropping, the actual number of Windows devices could be much higher than ever, depending on how big the whole market has gotten.
  6. Anders Melander

    What is the best AI at Delphi

    That's a really stupid chart; It's displaying percentage of "marketshare". But what is the market here? It's the OS market - regardless of platform. So your server gets a vote, your fridge, your phone, your car, your nuclear submarine targeting control system, they all get a vote. Windows and the VCL primarily targets the Server or Desktop segment so those are the only that are relevant. It's pretty irrelevant that the majority of smartphones are running Android and the majority of embedded systems are running Linux, because those platforms are not targeted by Windows or the VCL. I believe Linux surpassed Windows in the server segment many years ago, but we can't see that from the chart.
  7. david berneda

    Calling routines overhead

    The "if" inside the "for" is also taking time. Try with 2 for loops, one for direct and another for indirect. Also the indirect routine could be marked as "inline" to eliminate the call. This is fine for short small routines.
  8. Dalija Prasnikar

    What is the best AI at Delphi

    We are no magicians. We cannot create code which does not exist. There is simply not enough Delphi code around for AI training. It is easy to have good coverage for JavaScript and similar where you literally have bazillion web pages available for scraping, where plenty of them virtually repeat the most common, required functionality. Pushing for more publicly available code without considering its quality, can also backfire. What we need is better non-AI code completion. If you need to generate larger chunks, then you don't have to do that directly within the IDE. Also you can easily use some other editor, like VSCode to give AI access to context and generating code, and then simply reload changed files in IDE. This works fine in both ways. This is not a showstopper. Ditching VCL would be the most stupid idea ever. It would be suicidal. There are huge amounts of code out there that use VCL, and moving all those to FMX would be impossible. And this is not just about old code, people use VCL for writing new code, too. Because they already have all the other infrastructure built around VCL. I am certainly not going to start new Windows application based on FMX, unless I really need some of its features. What could help this transition would be restructuring VCL and FMX to use common Application layer which would enable mixing VCL and FMX frameworks in the same application. However, this is also something that is not very likely to happen as both frameworks are rather mature at this point and such restructuring could have impact on backward compatibility. Maybe having support for multiple helpers in scope and opening up private parts of VCL and FMX allowing more customizations from the ground up could help in such transition. But this would be long term and slow process.
  9. eivindbakkestuen

    I'm on the Dark Side... no, really!

    There is no one size fits all answer; for some people light mode is best, for some, dark. With bated breath... 😄
  10. Achim Kalwa

    I'm on the Dark Side... no, really!

    Since I am affected of eye floaters for some years, I now prefer the dark mode; and I am working on making GExperts look good in that dark mode. Most changes are already done but not published yet. There are so many dialogs/forms that have to be modifies in the one or other way. Stay tuned 😉
×