-
Content Count
3497 -
Joined
-
Last visited
-
Days Won
115
Everything posted by Lars Fosdal
-
RESTClient.OnNeedClientCertificate event does not execute
Lars Fosdal replied to Leszek's topic in Network, Cloud and Web
@Leszek Ref. your report - unless the context/conditions are identical, it is always wise to start a new topic instead of adding your question to an existing topic. I split off this question for you, as it seems to be a different problem. -
Convert inconsistent line ending when pasting clipboard from Google colab
Lars Fosdal replied to Wivona's topic in VCL
So, you copy text from outside the Delphi app, and when you paste it into your TMemo, it is LF and not CRLF? What is your TMemo.Lines.LineBreak set to? An alternative would be to intercept the paste and use https://docwiki.embarcadero.com/Libraries/Alexandria/en/System.SysUtils.AdjustLineBreaks -
Delphi 12.1 Amnesty price isn’t what I thought it was…
Lars Fosdal replied to Al T's topic in Delphi IDE and APIs
I find some of the EMBT marketing practices to be idiotic and unnecessary. They keep spamming me these offers for "upgrades" and "new licenses" with varying levels of price slashing, all year around. Don't they consider that I have been a subscriber for more than a decade, and that the offers only are valid for new licenses? The new releases and offers tend to bundle some third party tool or package that is underfunctional and overpriced, and where the license terms are a tad unclear after the year has passed. After being bought by Idera, it is often some other Idera purchased product that I have little interest in. I find the bundling practices to be inconsistant, to put it mildly. Not only do they do this directly, but the local representative also spam the same offers, over and over. According to the local representative - it is EMBT that do the spam on their behalf. Where is the reward for staying a long time paying customer? It is not like the maintenance is cheap, and it is not like I spam EMBT with support issues. As for support, I don't think I've every raised a support question apart from the annoying license counter bump requests. Ok, I am paying for new versions, updates, hotfixes, etc. - but to be honest, for many major versions now, the first xx.0 releases have of sub-par quality. We've had to wait at least for update 1, and a hotfix or two - before it was fit for use. About license management... Remember the Delphi .NET craze? It led us to purchase RAD Studio licenses to get a the new and shiny .NET stuff. That shit didn't last long, mostly due to MS not fully opening the door on third party .NET tools - but - when they were discontinued, we were still on RAD Studio Enterprise, when we really only need Delphi Enterprise. We have never used the C++ part of RAD Studio., but there is no way to downgrade a license, and it is still cheaper to keep the RAD Studio Enterprise maintenance, than to repurchase Delphi Enterprise licenses. So we stay on maintenance and keep hoping for Old problems to be fixed New platforms to be supported HighDPI to be done right Code performance to be improved RTL performance to be improved IDE to become stable and performant Debuggers that actually work in all scenarios Less immature and unfinished new libs and components Less pointless marketing offers because, warts and all, the tool is what we have become dependant on. Still hoping that it will change for the better... http://www.toodarkpark.org/computers/humor/shoot-self-in-foot.html -
Delphi 12.1 Amnesty price isn’t what I thought it was…
Lars Fosdal replied to Al T's topic in Delphi IDE and APIs
The maintenance part does get you the upgrades, updates, hotfixes, some GetIt stuff for a year, though. And, renewing the maintenance deal is less costly than repurchasing. -
How to debug a Not Responding program element
Lars Fosdal replied to Willicious's topic in Delphi IDE and APIs
@Willicious A common challenge when updating UI components that have events of their own, is that setting values in the component, will trigger said events, which again trigger your event handlers, which then exec code that changes other UI elements. Do you take steps to ensure that you don't get a flurry of events between different parts of the UI and biz logic when you change data in the components? -
What are the performance profilers for Delphi 12?
Lars Fosdal replied to dmitrybv's topic in General Help
-
Delphi on Surface Pro with Qualcomm CPU?
Lars Fosdal replied to PeterPanettone's topic in Windows API
I am sure I would prefer a clean installation. -
Delphi on Surface Pro with Qualcomm CPU?
Lars Fosdal replied to PeterPanettone's topic in Windows API
Considering that Delphi runs fine under Windows for ARM in Parallells on MacOS, it is likely that it will run well on Windows for ARM without a VM layer as well. -
32/64bit Delphi compiler inconsistency or bug?
Lars Fosdal replied to Nikos's topic in RTL and Delphi Object Pascal
... or change the type in the method: Add(const n: NativeInt); -
Stack Overflow Developer Survey for 2024
Lars Fosdal replied to Dalija Prasnikar's topic in Tips / Blogs / Tutorials / Videos
Or Androids... -
Stack Overflow Developer Survey for 2024
Lars Fosdal replied to Dalija Prasnikar's topic in Tips / Blogs / Tutorials / Videos
It is a pretty lousy Captcha, I'd say. -
From https://www.freeformatter.com/xsd-generator.html - "Salami Slice" design Does this look ok? <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="title"> <xs:complexType> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attribute type="xs:string" name="lang" use="optional"/> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> <xs:element name="content"> <xs:complexType> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attribute type="xs:string" name="lang" use="optional"/> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> <xs:element name="items"> <xs:complexType> <xs:sequence> <xs:element ref="title"/> <xs:element ref="content"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="name" type="xs:string"/> <xs:element name="posts"> <xs:complexType> <xs:sequence> <xs:element ref="items" maxOccurs="unbounded" minOccurs="0"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="author"> <xs:complexType> <xs:sequence> <xs:element ref="name"/> <xs:element ref="posts"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="authors"> <xs:complexType> <xs:sequence> <xs:element ref="author"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema>
-
Exception logging/reporting on MacOS?
Lars Fosdal replied to Brandon Staggs's topic in Cross-platform
do not support ARM64. I also pointed out "bare bones stack trace". The two mentioned offer so much more functionality for those that need it. I wonder how many people that don't use such tools as they don't want to take the cost? But this still is a purely academical discussion. That said, they already have the code to unwind the stack in the debugger, which they need to maintain, so the step is not that huge. -
How to debug a Not Responding program element
Lars Fosdal replied to Willicious's topic in Delphi IDE and APIs
Pausing the app in the debugger and inspecting each thread might also offer clues. In my experience, such hangs are typically caused by - forgetting to call an inherited method - deadlock on a resouce - loop that has exit conditions that are never met and in rare cases, slow recursions with low stack impact -
Exception logging/reporting on MacOS?
Lars Fosdal replied to Brandon Staggs's topic in Cross-platform
Practical - as in practical for the users of their products, i.e. us. -
TIP: Reporting bugs for RAD Studio / Delphi
Lars Fosdal posted a topic in Tips / Blogs / Tutorials / Videos
When you find a problem with RAD Studio, make sure to create a report in https://qp.embarcadero.com/ which has replaced the former https://quality.embarcadero.com See https://blogs.embarcadero.com/the-new-quality-portal-is-live-here-are-the-details/ for clues on how to use the new reporting platform. And - please describe the problem properly! What you are trying to do The actual result you got The result you expected Most important: How to reproduce the problem - either as a detailed step by step description - or as a small, self-contained, compilable example project - or both of the above Better reports = better chance of getting stuff fixed. -
TIP: Reporting bugs for RAD Studio / Delphi
Lars Fosdal replied to Lars Fosdal's topic in Tips / Blogs / Tutorials / Videos
Thanks, Eugene. Updated. -
Exception logging/reporting on MacOS?
Lars Fosdal replied to Brandon Staggs's topic in Cross-platform
Well, it would be practical to have a bare bones stack trace tool for all supported platforms. -
What do you think of "Local Global variables"
Lars Fosdal replied to Tommi Prami's topic in RTL and Delphi Object Pascal
I sometimes use these where a method has been broken into sub-routines to create more readable code, but more often than not, I tend to pass arguments to these sub-routines as parameters. -
Exception logging/reporting on MacOS?
Lars Fosdal replied to Brandon Staggs's topic in Cross-platform
Doesn't mention architecture, though - Intel vs ARM. -
It is not too complex to write the classes required to handle this, and decide how to orientate rows vs columns. I did that for TMS TAdvStringGrid, where I first collect the data into a matrix (by column, then by row), then stuff the content into the grid in the orientation I prefer, automatically setting up the grid props, handling rows, cols, width sizing as well as titles, etc. The matrix can be filled from a database query, or from a list of objects, or by code. I wish I had time to do a rewrite for TStringGrid, as the lib has too much proprietary code to share as is.
-
S = GlobalUseSkia V = GlobalUseVulcan GlobalUseSkiaRasterWhenAvailable = False HW: Lenovo P16 Name NVIDIA RTX A4500 Laptop GPU PNP Device ID PCI\VEN_10DE&DEV_24BA&SUBSYS_22DB17AA&REV_A1\4&35D2CA85&0&0008 Adapter Type NVIDIA RTX A4500 Laptop GPU, NVIDIA compatible Adapter Description NVIDIA RTX A4500 Laptop GPU Name Intel(R) UHD Graphics PNP Device ID PCI\VEN_8086&DEV_4688&SUBSYS_22FB17AA&REV_0C\3&11583659&0&10 Adapter Type Intel(R) UHD Graphics Family, Intel Corporation compatible Adapter Description Intel(R) UHD Graphics
-
Fatal issue on Delphi 12.1 with Split Editors on multiple monitors
Lars Fosdal replied to PeterPanettone's topic in Delphi IDE and APIs
You should report it. Remember to include screen resolution, DPI, scaling, etc. Also mention WHEN it crashes on drag. As soon as it is starting to appear on the second screen, or fully on second screen, or only at mouse release. I don't use split screen on a second display as I have a huge 40" display. -
JSON feed, replacement form RSS/Atom
Lars Fosdal replied to Tommi Prami's topic in Network, Cloud and Web
Depends on the Social medium 🙂 https://mastodon.social/@LarsFosdal.rss -
JSON feed, replacement form RSS/Atom
Lars Fosdal replied to Tommi Prami's topic in Network, Cloud and Web
Quite a few sites still support RSS. Even those that don't announce their support, can have a living www.site.com/rss URL. One of the enemies of RSS, are Paywalls.