-
Content Count
3416 -
Joined
-
Last visited
-
Days Won
113
Everything posted by Lars Fosdal
-
Requested for IDE to support more RAM (vote/discuss if you care)
Lars Fosdal replied to Tommi Prami's topic in Delphi IDE and APIs
Since Seattle https://docwiki.embarcadero.com/RADStudio/Alexandria/en/What's_New_in_Seattle -
Requested for IDE to support more RAM (vote/discuss if you care)
Lars Fosdal replied to Tommi Prami's topic in Delphi IDE and APIs
From https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Extending_the_IDE_Using_the_Tools_API The 32-bit IDE is already large address space enabled. -
Chat in, shit out?
-
Right, so it should be set to false to match the original code samples. There is something odd in the original samples. If I copy the text, and paste it into a code block here - I get artifacts in other.cff - note the red dots. Makes me wonder if the artifacts also exist in the original code - in which case it should fail.
-
Isn't that case sensitive?
-
Have you checked the data in the string list for non-printable characters around the .extensions?
-
The first three can fail because you are resetting Result for each entry, meaning only the last line will decide the result. Result := False; for var s in StrList do begin Result := Result or (SameText(s, 'some.pds') or SameText(s, 'other.cff')); if Result then Break; end; Is there whitespace in the strList entries? If there is - Trim. Why the double search in ContainsStr? Is that the AnsiStrings.SameString or the SysUtils.SameString?
-
Perhaps you should show us the search code you use?
-
Is there Unicode support in @Alexander Sviridenkov's https://delphihtmlcomponents.com/index.html ?
-
https://www.fast-report.com/en/products/report-for-delphi-fastreport-feature-matrix/
-
Delphi 11.3 in Windows 11 connected Mac (MacOS Ventura 13.3.1) over Wifi running PAServer 22 Connection fails?
Lars Fosdal replied to soft4u's topic in Cross-platform
@soft4u - I would recommend posting in English. -
WaitForMultipleObjects or WaitForSingleObject or the ..Ex versions allows waiting with a minimum of looping, i.e. less CPU usage. Examples of usage can be found f.x. in OmniThreadLibrary.
-
Contributing to projects on GitHub with Subversion
Lars Fosdal replied to dummzeuch's topic in Tips / Blogs / Tutorials / Videos
We also used SVN for nearly a decade before switching to Git. We do not have any regrets, but we are grateful for a lot of the new possibilities. We chose GitKraken as GUI, but Fork was runner up. I can't remember what pulled us in direction of GitKraken. This "Git, Demystified" video from Delphicon 2023 is an awesome intro to Git. -
@Fr0sT.Brutal I use VSCode a lot to search source code and structured data (XML, JSON), and I've got 47 plugins installed. I find it to be pretty snappy for my use, TBH.
-
@omnibill Don't access a DB directly over the internet. It exposes the DB and eventual vulnerabilities It binds your UI to the current DB model, instead of a general data model, making it harder to make changes to the DB without breaking the UI Use a REST server to hide the underlying database and communicate with API structures (JSON, BSON, XML, etc) adapted to your general data model It hides the actual structure of the DB - such as unique integers used for relationships, but which has no information content It prevents SQL injection attacks Using proper authentication models (OAUTH2), you avoid exposing DB internal users It allows server side sanity checks of incoming content It makes outgoing content access control more flexible You can allow third party to access your APIs You can change the DB on the backside of the API You can scale the DBs on the backside of the APIs
-
@PeaShooter_OMO 11.0 to 11.3 is definitively worth it. Tired of code completion issues and Ctrl+click navigation not working? Lots of IDE fixes to be had. I personally prefer to uninstall all libs and plugins, then uninstall the IDE, and clean folders and clean registry before installing 11.3. Tip: If you are comfortable with .reg files - backup the old registry branch to yank out and reapply f.x. custom syntax highlighting settings afterwards.
-
@PeaShooter_OMO Which version are you on now? Which platforms are you using? We went from 10.4 to 11.1, and now to 11.3 - doing mostly Windows development. IMO, it was worth it.
-
Well, if you work with databases, everything else feels fast 😛
-
In Norway, Delphi developer salaries are relatively high compared to others - but I guess that is connected to the seniority of the average Delphi devs - We've been around for a long time 😛
-
Delphi is not dead, but a niche language. It is great for many uses, easy to learn, has readable code, and is nice for the hobbyist or for doing inhouse tools. However, if you intend to make a living doing software development and easily find employment, learn C#, Java, TypeScript and SQL. C++ if you want to do games. C if you want to do embedded.
-
@Miguel Moreno - I have an XSD schema that the XMLMapper doesn't like. Should I create an entry in Quality Portal? When I try to select the entire structure, I get multiple of these. The document also has more than one root - which seems to be handled.
-
Delphi 11.1 + patches - No debug source / breakpoints?
Lars Fosdal posted a topic in Delphi IDE and APIs
I have the weirdest issue. I just installed a fresh Delphi 11.1 + patches on a new, fully patched Windows 10 Enterprise laptop. For some weird reason - I can't debug. Breakpoints don't break. Exceptions break shows assembly code, says it is mixed mode, but no source lines show, and I can't trace to next sourceline. Yes, I am in 32-bit debug mode. Yes, the project has the debug settings and debug info included. Yes, the output folders have full access for the current user. Yes, there is only one set of DCUs in the path. Yes, there is only one .EXE file. Edit: Yes, they are debug DCUs Yes, line endings are CRLF Yes, current user has local admin rights As soon as my app starts, the breakpoints are grayed out. Edit 2: It does not happen to all apps. The problem app is about 600k lines. Tiny apps and a larger 1100k line app - no problems. What am I missing? Update - Possible causes? A developer on a non-corporate laptop does not have this problem. Another developer on corporate laptops have the same problem as me on both new and old laptops. That seems to indicate a Windows policy may be a factor here. Anyways - workaround: Project | Options | Linking | Include remote debug symbols: A tick here gave working breakpoints for us. -
Delphi 11.1 + patches - No debug source / breakpoints?
Lars Fosdal replied to Lars Fosdal's topic in Delphi IDE and APIs
No, not really. Very little Delphi work these days, as I am trying to get my head around an ERP system and all its wrinkles. -
https://blogs.embarcadero.com/rad-studio-11-3-alexandria-patch-1-available/ Edit: Corrected the link
-
It clearly tells you that a string is an array of characters. That should give you some ideas?