Leaderboard
Popular Content
Showing content with the highest reputation on 04/03/25 in all areas
-
Here there are new chm offline help files: https://docwiki.embarcadero.com/docs/products/rad_studio/
-
"It's not the bottleneck, therefore, I don't care" is the reason why Embarcadero does not care to implement anything that is reasonably optimized.
-
Hello everyone, Last week I (unsuccessfully) tried to use the Rapid.Generics library in a specific project. After replacing the std TDictionary/TList with the Rapid.Generics equivalents, the application fell apart within the first 10 seconds of testing, which was quite disappointing. Having some spare time during the weekend, I decided to give it a shot and see if I could make it work properly, at least fixing the most important and visible issues. As a result, I am now sharing my changes so others can benefit from them or contribute. https://github.com/Alexandre-Atozed/Rapid.Generics.v2 Improvements (Readme contains a more detailed list): Fixed multiple bugs Refactored and streamlined the code Removed some unused code Added 123 unit tests, creating a comprehensive test suite The modified code passes all tests and is also free of memory leaks. The real world application is being tested with it now and the initial results are promising. One specific scenario where I replaced the std TDictionary with the Rapid.Generics one (a notification bus where a dictionary is used to map the instances) had a performance increase of 10x or more which is beyond what I would expect and too good to ignore. Any feedback or contributions are welcome! Cheers,
-
ANN: April updates of Pascal Analyzer, Pascal Expert and Pascal Browser
Peganza posted a topic in Delphi Third-Party
We have released new updates of all products: Pascal Analyzer 9.15 Pascal Expert 9.15 Pascal Browser 3.5.36 It is possible to download evaluation versions, and also to view the entire documentation online. Go to Peganza for more information. If you are new to the products, we recommend our Youtube video (18 minutes) that describes Pascal Analyzer, with examples and a short demo. Here are the changelogs for these updates: Pascal Analyzer 9.15.0 April 2, 2025 fixed issues with the "own" folders option for Third-Party Report new section in the Convention Compliance Report, CONV32-"Multiple statements on the same line" removed warnings for STWA11-"Duplicated GUID", when one GUID was declared as a constant fixed error with STWA12-"Equal if-then and if-else statements" when "then" and "else" on the same line STWA6-"Possible bad typecast" now does not warn more than once for the same line fixed an error parsing directives fixed some issues with STWA6-"Possible bad typecast" fixed an error resolving class members Duplicates Report now skips exception variables ("E" and similar), they are mostly very local Clone Report now displays entire code for the displayed functions new command line parameter for PALCMD.exe: /XF, which allows you to exclude files from parsing and analyzing (like in PAL.exe) now possible to jump to the new Delphi 12 64-bits IDE, new palwiz18_x64.dll, use Preferences dialog to activate fixed a problem with multiline strings if-structures in non-reported units were also included in STWA12-"Equal if-then and if-else statements" in project properties dialog, some settings like selected searched strings, were saved, even if the dialog was not exited with OK removed unneeded blank lines from some report sections (for text format) improved memory management for some critical functions fixed parser error involving generics improved user interface for the report list fixed error in dialog for multireport improved handling of reports and sections improved report list, and fixed a few minor UI errors section does not get tree node in report list, if report only has one section improved STWA6-"Possible bad typecast" so now detects more cases fixed parser error involving inline variables Pascal Expert 9.15.0 April 2, 2025 new section in the Convention Compliance Report, CONV32-"Multiple statements on the same line" removed warnings for STWA11-"Duplicated GUID", when one GUID was declared as a constant fixed error with STWA12-"Equal if-then and if-else statements" when "then" and "else" on the same line STWA6-"Possible bad typecast" now does not warn more than once for the same line fixed an error parsing directives new options "Append summary for sections" (Default=False) and "Append summary for reports" (Default=False), will if activated display additional rows with totals for issues that makes it easier so see the totals new option: "Automatically load settings for current project if available". This is an advanced feature. It only makes sense to turn on if you have created additional settings files (with the "Store Options As"-button), and saved those to the default folder for settings (C:\Documents and Settings\\My Documents\Peganza\Pascal Expert). Activating this option will then let Pascal Expert automatically load settings when analyzing a project (not analyzing a module or a quick analysis). But it requires that the INI-file with settings has the same name as the analyzed project. Default=False fixed some issues with STWA6-"Possible bad typecast" fixed an error resolving class members fixed a problem with multiline strings if-structures in non-reported units were also included in STWA12-"Equal if-then and if-else statements" improved memory management for some critical functions fixed parser error involving generics improved handling of reports and sections improved STWA6-"Possible bad typecast" so now detects more cases fixed parser error involving inline variables Pascal Browser 3.5.36 April 2, 2025 fixed an error parsing directives fixed an error resolving class members fixed a problem with multiline strings improved memory management for some critical functions modifying CHM compiler path needed a restart, now does not fixed parser error involving generics fixed parser error involving inline variables -
I was just curious. I expected the fact that it's a drop-in replacement to be a reason. Rapid is quite an achievement and damn those collections are fast - I use them to challenge my implementation from time to time. The design decisions are different, and for the extensive API of spring, I have to sacrifice a few nanoseconds here and there, as much as I dislike that
-
I really think it's more a question of lack of expertise, limited resources, and priorities. I think they would if they could but since they can't communicate that to the customer they instead come up with excuses that comes across as if they don't care.
-
The venerable Delphi IDE extension GExperts is about to undergo a revolutionary transformation, with plans announced to completely rewrite it using artificial intelligence and simultaneously port it to COBOL. This unexpected development marks a significant shift for a tool that has been a staple in the Delphi programming community for decades. The AI Rewrite: Starting Now The development team has just announced their decision to leverage artificial intelligence for the rewrite after facing increasing challenges maintaining the extensive codebase. What’s remarkable is the anticipated timeline – the team expects the entire process to take only a few hours once it begins. This unprecedented speed is attributed to advancements in AI code transformation technology. The AI system will analyze the entire GExperts source code, understanding its purpose, functionality, and even the quirks that make it uniquely useful to Delphi developers – all in a fraction of the time it would take human developers. Why COBOL? Perhaps the most surprising aspect of this transformation is the announced port to COBOL. This decision has raised eyebrows among the development community, as Delphi and COBOL represent dramatically different programming paradigms and eras. However, the team cites strategic reasoning behind this choice. COBOL continues to power critical systems in banking, insurance, and government sectors worldwide. This port will open GExperts to an entirely new ecosystem, potentially breathing new life into the project while serving developers maintaining legacy systems. Expected Timeline The project has not yet begun, but development is scheduled to start immediately. With the AI-powered transformation expected to take only a few hours from start to finish, the team anticipates having a functional COBOL version of GExperts available for testing within days rather than the months or years such a port would traditionally require. Looking Forward For developers interested in this innovative crossover, beta releases are expected to be available remarkably soon, with the team promising updates on the progress within the next 24 hours. This bold reinvention of GExperts, once completed, will demonstrate how established developer tools can evolve in unexpected ways, leveraging new technologies to reach broader audiences while maintaining their core value proposition. (Yes, AI is great! Even for writing April Fools jokes. Thanks to Claude.ai writing this only took a few minutes and it actually sounds like a press release some cool cloud AI blockchain outfit could have written.) Original blog post here.
-
problem integrating AAR from manufacturer startup-runtime maybe not working (?)
Dave Nottage replied to NecoArc's topic in FMX
You would need to add the provider node of that manifest.xml to AndroidManifest.template.xml inside of the application tag, but remove the: tools:node="merge" attribute, and replace: ${applicationId} with: %package% Which Delphi should replace with your package identifier in the resulting AndroidManifest.xml -
Make sure that the query is not Active in the designer.
-
You could use a setter for sQuery, that sets up the SQL before showing the form. That would not nee FormShow.
-
OldCreateOrder?
-
Nice! Unfortunately I don't have any code where generics is anywhere near the bottleneck or I would have had a go with it.
-
Nice thought experiment
-
Yep, Rapid is a drop-in replacement. Actually my code now has: uses {$IFDEF USE_RAPIDGENERICS} Rapid.Generics, {$ELSE} System.Generics.Collections, System.Generics.Defaults, {$ENDIF} I can just toggle this compiler directive globally and the 3+ MLOC application can be built either using Rapid generics or std System.Generics.Collections, which is a major bonus. At anytime I can just switch this off with minimal impact (e.g. let's say EMB releases a new faster System.Generics.Collections in Delphi 12+x?)
-
Android only shows the FMX logo for my app
GabrielMoraru replied to GabrielMoraru's topic in Cross-platform
So, mystery solved 🙂 That was my son's smartphone. Looks like he will finally get a new one 🙂. The old one was good enough because he is not allowed on social media and crap like this. Thanks guys! -
After much contemplation (and asking Claude AI for advice), I'm proposing a new programming language with roots in Delphi (thus the name) but with some interesting and revolutionary ideas that will take into account concepts never before attempted in software development. Some of these ideas include syntax checking that changes based on the time of day, optimization that improves when builds are automated, and crypto-mining to lessen the cost of the IDE. Some will argue that that reporting compilation errors to social media could hurt the reputation of some programmers but I think it will incentivize them to become better (or at least more careful) programmers. What do you think? Read the full article here.
-
You could have given spring4d a try, which is actively maintained
-
My major annoyance with Windows 11 is they keep changing File Explorer, rarely for the better. Specifically there is a new right click menu with the default options, but you have to click again on Show More Options to see the historic menu we've had for 25 years with addon like TortoiseGit, TortoiseSVN, 7Zip, etc. Somehow WinRAR seems to be on both menus, so maybe there is a new API other developers have not found yet to get onto the first right click menu. Angus