-
Content Count
3593 -
Joined
-
Last visited
-
Days Won
123
Everything posted by Lars Fosdal
-
@TBx has identified a bot being the culprit and is taking steps to lock it out.
-
If you are have a current subscription license, you can now download RAD Studio 13 from MyEmbarcadero. https://my.embarcadero.com/#downloadsPage You can also see What's New on the doc wiki: https://docwiki.embarcadero.com/RADStudio/Florence/en/What's_New
-
I wish I had RTTI for constants and/or a compiler magic NameOf()
Lars Fosdal posted a topic in RTL and Delphi Object Pascal
< wishful > I keep running into cases where I have to manually duplicate the name of a constant to register it for lookup, or associate the constant with a numeric ID which then is used for the lookup. Either method means double book keeping and is error prone. Some of it would be nicely handled by having a compiler magic NameOf method that could give me name of a constant, field or property as a string at compile time. In other cases it would have been awesome to be able to enumerate a class or a record and get the declared constant names, types and values. This particularly goes for types I want to document for f.x. a JsonRPC API. Instead, I have to manually emit that information, constant for constant, which means someone will eventually forget to do that. If only the compiler gods where listening... < / wishful > -
Recover from call to dll that doesn't return
Lars Fosdal replied to Renate Schaaf's topic in Windows API
Is it possible to delay-load the DLL explicitly - and unload / reload it after an exception? Or walk the system app thread list and request termination of hung sub-threads in the DLL space? (Clumsy description, but I hope you get what I suggest). -
New Delphi features in Delphi 13
Lars Fosdal replied to David Heffernan's topic in RTL and Delphi Object Pascal
@Dalija Prasnikar - I am not thinking about every license type being pay-as-you-go. The persistent licenses would co-exist. If you do contracting work, and your primary tool is C#, but you have a few Delphi projects - it could be better to pay as you go, instead of having to keep your Delphi licenses perpetually. As for price level for the hobbyist- it needs to come down to a level where it would be a sustainable price for a hobbyist. The price you are willing to pay for your primary hobby, with the features you expect to be available for you (I am still baffled why Linux is not available in the lower tiers - it just doesn't make sense). Exactly where that pricepoint lies - is hard to say. -
@A.M. Hoornweg Did you upgrade FB to latest?
-
And those on the Titanic that ran around screaming "We are about to sink! Panic Now! F... you for not caring!", helped in what way? Unlike the people aboard that ship, who were not expert ship builders or sailors, most of the Delphi users are experienced developers which often use more than only this particular tool. We like Delphi, but we are vocal about the things we don't like, and we participate in communities and interact with EMBT. You can be a positive force, or a negative force. Which one do you think is the more effective in an environment of specialists?
-
And talking it down, helps with that in which way?
-
UltraCode64 for Delphi (aka 64-bit FastCode)
Lars Fosdal replied to chmichael's topic in RTL and Delphi Object Pascal
You are not wrong. The compiler leaves much to be desired as it really lags behind current capabilities and optimization methods. That said, there is signficant gain in improving library classes and functions, as all kinds of compiler optimization can't really help with bad coding. -
@johnnydp So - Why are you here?
-
New Delphi features in Delphi 13
Lars Fosdal replied to David Heffernan's topic in RTL and Delphi Object Pascal
Possible ways to do that, include Have a step-in/step-out monthly subscription model - with a price comparable to streaming services such as Apple, HBO Max, Prime, Disney+, SkyShowtime, Netflix... Improve the capabilities of the lowest tier of Delphi by having full Linux and database support - or even simply have one single tier Keep writing good software, readworthy articles and contribute to open source where you can -
https://larsfosdal.blog/2019/08/06/generic-command-line-parser-for-delphi-10-3-x/ I wrote an open source command line parser for Delphi. https://gist.github.com/LarsFosdal/f8a3e2a7caa5e541e4c04f10dfdfcfff Feedback appreciated.
-
I wish I had RTTI for constants and/or a compiler magic NameOf()
Lars Fosdal replied to Lars Fosdal's topic in RTL and Delphi Object Pascal
Wow... The premium place where it really would be useful. Did you raise a QP, Attila? -
@TBx - Are there any performance indicators that can be checked?
-
It appears to be periodically slow.
-
Sounds odd. I'd start with removing plugins to see if that helps.
-
I agree. I just don't trust it. It should have been able to understand enough about the risks, to allow you to verify / modify or skip every risky migration element.
-
@dormky Did you take a look at TeeChart?
-
ai coding MCP server to catch windows debug messages
Lars Fosdal replied to Javier Tarí's topic in General Help
I understand that. My point was that OutputDebugString can fail on the windows side, so that the content does not always reach the listeners. YMMV.- 9 replies
-
- ai
- claude code
-
(and 2 more)
Tagged with:
-
ai coding MCP server to catch windows debug messages
Lars Fosdal replied to Javier Tarí's topic in General Help
In my experience, in a multithreaded app, Windows' built in OutputDebugString will from time to time fail to actually output your data, causing gaps in the logging. I ended up sending all my debug output through my own logger, which queue the output in a pre-allocated circular buffer and batch writes periodically to file and to actual debug out (if I turn that option on).- 9 replies
-
- ai
- claude code
-
(and 2 more)
Tagged with:
-
I got this on an email:
-
New Delphi features in Delphi 13
Lars Fosdal replied to David Heffernan's topic in RTL and Delphi Object Pascal
I don't disagree, but for my use case, VS still is more expensive. That said - Right now, I'd not be happy if I was on RAD Studio Architect sub. I also think that the division between Pro and Enterprise is artificial, and not having Linux in the lower tiers is idiotic. That is where you find the tinkerers that actually would use it the most, creating most traction, and contributing most to open source. The problem is the enterprise trap - where you get more money from fewer users that typically are demanding less support. If you merge the tiers and lower the price and triple or quadruple the user mass - you will need more support people. It is not easy to set up a formula for what is more beneficial for the EMBT/Idera vs what is beneficial for us users. -
New Delphi features in Delphi 13
Lars Fosdal replied to David Heffernan's topic in RTL and Delphi Object Pascal
@Joseph MItzen VS 2022 Enterprise starts at US$500/month for initial year, then slightly less than half of that for renewal. What prices are you comparing? -
New Delphi features in Delphi 13
Lars Fosdal replied to David Heffernan's topic in RTL and Delphi Object Pascal
True. But I would love a formatter flexible enough to allow it to transmogrify code according to my liking. Currently, there are none, hence I have to do without. -
New Delphi features in Delphi 13
Lars Fosdal replied to David Heffernan's topic in RTL and Delphi Object Pascal
That is indeed true.