-
Content Count
3565 -
Joined
-
Last visited
-
Days Won
120
Everything posted by Lars Fosdal
-
How to optimize exe loading times
Lars Fosdal replied to a topic in Software Testing and Quality Assurance
Why? Because not seeing the application work is easy to confuse with seeing the application not working. -
How to optimize exe loading times
Lars Fosdal replied to a topic in Software Testing and Quality Assurance
Rule #1 - Don't do shit before your application has loaded and displayed itself. After the initial display, you can show various "Preparing good stuff - % complete" messages and do stuff in threads, allowing basic interaction with the app - such as doing an immediate exit. Speed is mostly about perception. -
The magicians at Grijjy made something for iOS and Android. https://github.com/grijjy/JustAddCode/tree/master/ErrorReporting Nothing for MacOS or Linux yet. IMO, basic cross platform stack tracing should come out of the box from EMBT. MadExcept and EurekaLog could still make a living, dealing with more bells and whistles and with the reporting bit.
-
Ole DB (Ado) for MSSQL un-deprecated by Microsoft
Lars Fosdal replied to A.M. Hoornweg's topic in Databases
@Dmitry Arefiev - is there something planned for mitigating this? @BruceTTTT - Check the quality portal and add an issue if it is not already there. Edit: Wait a sec - we are using the MSOLEDBSQL driver - why doesn't it work for you? -
I see these characters typically when there is an ANSI vs UTF8 vs UTF8BOM mixup. We prefer to ensure all files are in UTF8BOM format, and set up external tools, such as VS Code, to use that as the default format as well.
-
IMO, it is crucial for a REST API to not directly reflect the underlying system. The goal should be to ensure that any underlying implementation detail is hidden from the REST API. I would be wary of creating APIs that go 1:1 on the DB structure.
-
There is a new and improved XML Mapper you could try. Perhaps it addresses your issues? https://blogs.embarcadero.com/update-xml-mapper/
-
"the entries" could use a litte more context - are you thinking of content on the "Welcomepage"? For me, clicking on a video link in that window, pops up a new separate instance of my default web browser (Chrome), closes it again and then opens an Edge window to play it. Very strange, and somewhat annoying.
-
I certainly would not mind a Delphi for .NET - but it would need to plug into the rest of the .NET world, and not try to take it on alone. The last time they tried, MS did not play nice, and the other company that did an Object Pascal for .NET - well, they sort of went rogue. There is a lot of Azure and .NET in my future, and I believe that I will have to leave Delphi behind for C#. But - perhaps is Delphi better off as a compiler for native code on x86/x64/ARM64 on various platforms.
-
I agree! There are many awesome tweaking tips in this post! I really love @Stefan Glienke's approach that strips down the pure Pascal to a minimalistic set of operations.
-
Well, corner cases apart - it seems that it did?
-
I don't know, David, which is why I ask.
-
Nice! My ASM knowledge predates MMX, so this was a learning experience 🙂 How does it measure up speedwise to the others?
-
I wonder how it would look in assembly if you filled the out buffer with zeros, then swapped out the 1's by going shr/shl on a 64bit register. I guess the potential gain would be eaten by the time required for stuffing the hex data into the register.
-
I thought the Mac Mini price stayed the same? (Price in NOK)
-
Windows VMs on the M1 ARM seems to a no-go - but that is no surprise. But - it is a very impressive CPU - Twice the power, and twice the battery time.
-
@Der schöne Günther I moved the first and the last, but the middle one appears to be GExperts specific.
-
E2158 System unit out of date or corrupted: missing '@Clr' - how to cure?
Lars Fosdal posted a topic in RTL and Delphi Object Pascal
[dcc32 Fatal Error] One.OfMyUnits.pas(1686): E2158 System unit out of date or corrupted: missing '@Clr' Clean / Build does not fix it. And - it happens on our build server too! Have any of you seen this one before? -
Using a DLL off github without source code? Unthinkable.
-
Is people happy with the situation? If not - refactor. Make it right. If people don't want to, they lose the right to complain.
-
My Rx10.4.1 Compiler and LSP Patches diary
Lars Fosdal replied to Rollo62's topic in Delphi IDE and APIs
The "hidden window" is the UAC asking for confirmation. Since Windows 10, it is a FERKING ANNOYING THING! It was easier to notice when it always popped up full screen immediately, but they made it like this to avoid people pressing enter for an OK or Cancel.by accident. IMO, MS should change it to a dialog where you must enter something by clicking multiple buttons in a specific order or draw a shape to continue. -
https://delphicon.embarcadero.com/ I guess everybody has received the spam informational emails?
-
No worries.
-
I just need better reading comprehension, @Attila Kovacs. My bad.
-
It is pseudocode - the way we'd want it to work - and as I said, there has been QP or QC's created for this before.