Jump to content

hsauro

Members
  • Content Count

    100
  • Joined

  • Last visited

  • Days Won

    2

hsauro last won the day on August 2 2022

hsauro had the most liked content!

Community Reputation

37 Excellent

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. hsauro

    Devin AI - Is it already happening?

    It does more than trivial code. Even with trivial code, if it a long bit of trivial code, the AI is a time saver.
  2. hsauro

    What is the best AI at Delphi

    I think Claude3.5 has improved a lot in the last few months. It will even request outputs from runs to analyze. Note I don’t have subscriptions but use the free time they offer. The other thing I do is ask the same question to ChatGPT 4o and claude3.5 and look at both answers. Sometimes I have to suggest alternative approaches in order to help them. Sometimes one will fail while the other succeeds. I also tried copilot and it doesn’t seem to know much. In general I use them to write mundane boiler plate code, like reading a json file. I could write the code but asking the AI to do it is such a time saver. It lets one focus on the more creative parts of the coding. It’s also much less stressful than asking questions on stackoverflow.
  3. hsauro

    Scientific research

    Same here. I still do all my UI in Delphi however. I still haven't found anything else that beats Delphi in terms of productivity for building UIs. I've used QT and wxWidgets and both required much more work to use and the results were still subpar, mainly because it's so hard to do iterative refinements to the UI.
  4. hsauro

    Scientific research

    That's an impressive piece of software that I hadn't come across before. It would be hard to compete with today's dominance of Python in science but nevertheless, this is a nice piece of software in looks and functionality.
  5. hsauro

    Scientific research

    Depends what numerical methods you want. Runge-Kutta is straightforward to write, I know there are some Delphi versions on github. Wht kind of plotting functions were you looking for? Is this the site you meant https://www.compadre.org/OSP/ ? If so this looks more like a collection of mini apps rather than a reusable library. I could be wrong.
  6. hsauro

    DelphiVCL4Python

    I’ve used and it seems to work ok. I think it’s a nice idea. I only encountered one minor edge case (can’t remember them now) but the developers quickly fixed the issue.
  7. hsauro

    CPas - C for Delphi

    But you can now link lib files with your CPas since you say “Now you can link in static C libs directly into Delphi:”?
  8. hsauro

    CPas - C for Delphi

    What’s the relationship with what you can do with to this article from rudy http://rvelthuis.de/articles/articles-cobjs.html Is it that you can now link lib files?
  9. hsauro

    Access to Dropbox/Google Drive/One Drive

    It’s hard to do this right out of the box as there is so much documentation to absorb. I’ve not tried myself but others recommend using third-party libraries such a tms cloud. I don’t know if there are any open source libraries available.
  10. hsauro

    Slow rendering with SKIA on Windows

    There is a reply to the query from skis-discuss. Not sure if it helps: On Intel machines we fairly unilaterally disable MSAA-based rendering techniques, so the intel OpenGL and Vulkan cases are quite likely rendering on the CPU and just uploading a texture. There is a chance, since this is a convex shape, that it's using an analytic convex path renderer. When MSAA is available, we prioritize some faster tessellating path renderers. It looks like on nVidia the sample locations are different between OpenGL and Vulkan for whatever reason, but both show a similar variety of grayscale values. I would guess that this is MSAA4 and is using the atlas'ing path renderer, which uses a sample count from GrContextOptions::fInternalMultisampleCount. This defaults to 4, but you can override it to 8 and get higher visual quality. You can also set it to 0 to disable the offscreen MSAA-based techniques. DirectX 11 is drawing a circle without any anti-aliasing. You can do the same in Ganesh by setting the SkPaint's antialias boolean to false, although this will be ignored if you've created a MSAA surface to render directly too
  11. hsauro

    New ChatLLM application.

    Thanks, I’ll give it a try.
  12. hsauro

    New ChatLLM application.

    This looks very interesting. One question, are tuning up the AI for Delphi specifically or are you just using the AI as provided?
  13. hsauro

    Adding docs strings to wrapped functions

    Thanks for the additional information, it would have taken me sometime to figure it out how to do it. The code works as given. One way to make it more manageable, which I might try, is to add the docs as attributes to the methods, then use rtti to pick out the attribute before wrapping, add the information to a dictionary then call the wrapper. The DocSever could then just look up the docs in the dictionary.
  14. hsauro

    Adding docs strings to wrapped functions

    I saw that interface, I wondered if that would be something relevant. I’ll look into it
  15. I'd like to add doc strings to functions (or methods) that are in a wrapped Delphi object. I can see how to do it when adding the methods manually using AddDelphiMethod but haven't been able to figure out how to do it when using RegisterDelphiWrapper. I looked at the module RegisterDelphiWrapper creates but I couldn't see the methods in my Delphi object and I could trace where the methods were added, For example, given this class: {$METHODINFO ON} ThostAPI = class (TPersistent) function getVersion() : string; end; {$METHODINFO OFF} and registering via: host := THostAPI.Create (controller); DelphiWrapper.RegisterDelphiWrapper(TPyClassWrapper<THostAPI>).Initialize; DelphiWrapper.DefineVar('host', host); I'd like to add a doc string to getVersion()
×