Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 02/11/25 in all areas

  1. dummzeuch

    TCachedDatasource

    Just assume it's your IP, the company behind the AI will steal it anyway (actually it probably already has, because you pasted it into the chat).
  2. Anders Melander

    TCachedDatasource

    https://meta.wikimedia.org/wiki/Cunningham's_Law
  3. Patrick PREMARTIN

    Delphi TOIOBE index lifted in May 2022?

    Don't forget TIOBE is based on "search for answers". Python is the top because programming in Python is a nightmare when you start having library dependencies problems (and in IA you will have problems). PHP is a simple language. It doesn't evolve a lot and the users look for frameworks, not the langage itself. For Delphi the reason is perhaps the number of newcomers and the regular updates which awake "old" programmers. And of course the activity of the community in general.
  4. Anders Melander

    TCachedDatasource

    https://docwiki.embarcadero.com/Libraries/Athens/en/Data.DB.TDataSource TDataSource is the wrong layer for something like caching. You need to sit between TDataSource and TDataSet. What happens if you have two datasources connected to a single dataset and one of them modifies the data? Now you have two different views of what the data looks like... What is the point of spawning a thread to update the cache if all the thread does is call Synchronize to update the cache from the main thread? I know ElevateDB has had resistance against FireDAC in the past but if they have gotten wiser, and support FireDAC now, then you could have used one of the FireDAC datasets. They all support caching and briefcase mode. TClientDataSet could also have been used.
  5. Vincent Parrett

    Docking Example

    I can highly recommend the LMD Docking Pack - we have been. using it for a long time now and it's been rock solid.
  6. Angus Robertson

    ICS as HL7 Server

    You would be better to avoid using LineMode if the lines are 'unusual', always read all received data, buffer it, and check for end of line/row/packet yourself, which can be multiple methods. That is what the TIcsIpStrmLog component does, but you may need to copy the code to add more flexibility. Angus
  7. pyscripter

    Docking Example

    The IDE docking is based on TDockTabSet, which was introduced in Delphi 2005. It has received some attention later including Vcl styling. The only demo I could find is an old one by Jeremy North, but the source code is not available. Jeremy also seemed to have expanded this component in his QualityCentral client (look at the images at the end of the article), the source code of which is also not available. It is not the sleekest implementation, but apparently it works OK in the IDE. Agree in general, but it depends on the application. All the IDEs I know of, including Visual Studio, use docking extensively. Same is true for VS Code for example (but no floating forms though). In PyScripter I use a heavily modified version of JvDocking (part of the JVCL library), but I am still looking for a better open source library. I may have to create one.
  8. linshenghua

    UGFrame Web online design module

    Create a simple Hello World Framework download address:【Rev.1.0.2.4】 link:https://drive.google.com/file/d/1FtrS6Lo8ahWQricTB1l3gsMA2QIr0gF_/view?usp=sharing usercode:admin password:123
  9. pyscripter

    New ChatLLM application.

    A new version 1.2.0 of ChatLLM has been released: New Features: Much improved rendering of responses on a par with the Web Chat interfaces of the LLM providers. Syntax highlighting of code (300 languages are now supported thanks to Prism). Support for DeepSeek models Support for reasoning models such as OpenAI's o1-mini and DeeepSeek's deepseek-reasoner. Exposed the temperature LLM parameter. Screenshots: Settings: User interface: Reasoning with deepseek-reasoner: And by the way DeepSeek is so much better than Gemini on Delphi coding.
  10. TomF

    Getit Fails to Install Fast Reports D12.1

    I'm not quite sure - but I think I had a similar issue and solved it by installing Tee-Chart in Delphi. This installation of Tee-Chart can be activated during Delphi installation or later somewhere in the Delphi Tools/Features-menu.
  11. Leaving aside the issues that are commented on by other, instead of if Supports(fBaseFrameClass, ISupportTask) then (fBaseFrame as ISupportTask).CheckTask; surely you need var Task: ISupportTask; ... if Supports(fBaseFrame, ISupportTask, Task) then Task.CheckTask; Two changes: Ask the implementing object rather than the class whether or not the interface is supported. Use the three argument overload of Supports so that you can get the interface while you are querying for it.
×