Archive for the ‘Delphi’ Category
Posted by jpluimers on 2025/10/14
I forgot how I bumped into this, but a while ago I found this interesting 2023 post: [Wayback/Archive] It’s Time For A Change: datetime.utcnow() Is Now Deprecated – miguelgrinberg.com explaining naive (without time zone) and aware (with time zone) date time objects.
It reminded me of Delphi, where NowUTC – as Delphi does have neither naive or aware date time objects – returnsΒ a floating point value (yes, it has a separate TDateTime type, but it represents the number of days that have passed since December 30, 1899 which in face stems from the Windows OLE Automation era* (OLE Automation is a subset of COM), see [Wayback/Archive] DateTime.ToOADate Method (System) | Microsoft Learn.
That method is mentioned in [Wayback/Archive] Why You Should Use NowUTC Instead of Now in Delphi: A Quick Guide – YouTube and Delphi deserves a way better infrastructure of date and time handling.
So this post is also a reminder to myself: figure out if there is an object oriented DateTime library for Delphi yet, and if not see if there is interest to create one similar to [Wayback/Archive] Noda Time | Date and time API for .NETΒ by Jon Skeet.
Delphi references
Read the rest of this entry »
Posted in .NET, .NET Framework, .NET Standard, C#, Conference Topics, Conferences, Delphi, Development, Event, Jon Skeet, Python, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2025/10/01
The whole idea of “community questions” was to create collective topics or references about important material without gaining any “points”.
Stack Exchange has left that concept in the dark by closing questions like this 2010 one that still contains relevant links: [Wayback/Archive] Sites for beginning Delphi programmers – Stack Overflow
The next step by their moderators is to delete the question, which will lose the valuable material forever.
Stack Exchange also dislikes humour.
And Embarcadero keeps deleting useful sites.
So for posterity, here is the question plus answers in full, amended with archived versions of each link when still available (I used β to mark the dead ones):
Posted in Conference Topics, Conferences, Delphi, Development, Event, Pingback, Software Development, Stackoverflow | 1 Comment »
Posted by jpluimers on 2025/09/10
[Wayback/Archive] What Every Programmer Should Know about How CPUs Work β’ Matt Godbolt β’ GOTO 2024 – YouTube
Main takeaways for me:
- CPU pipelines have grown a lot longer than I was aware off
- there are many more internal registers than I was anticipating
- clever ways to convert if statements to non-jumps
--jeroen
Posted in .NET, Assembly Language, C, C#, C++, Delphi, Development, Python, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2025/08/26
Especially with the documentation for all versions of Delphi 2010 through the second-last version of Delphi have been killed from the docwiki (see The Delphi documentation site docwiki.embarcadero.com has been down/up oscillating for 4 days is now down for almost a day.), I wish that Embarcadero would put effort into maintaining the [Wayback/Archive] List of Delphi language features and version in which they were introduced/deprecated – Stack Overflow
Currently, the only alternative is the conditional defines from [Wayback/Archive] jedi/jedi.inc at master Β· project-jedi/jedi and (which in turn is included by for instance [Wayback/Archive] jcl/jcl.inc at master Β· project-jedi/jcl and [Wayback/Archive] jvcl/jvcl.inc at master Β· project-jedi/jvcl, but that one does not provide links to existing documentation.
Thanks to all the maintainers on Stack Overflow that have tirelessly edited this answer over and over again to keep it up to date on current and past Delphi versions, see [Wayback/Archive] Revisions to List of Delphi language features and version in which they were introduced/deprecated – Stack Overflow.
Via [Wayback/Archive] Server Overflow.
–jeroen
Posted in Delphi, Development, Software Development | Leave a Comment »
Posted by jpluimers on 2025/08/21
A long time I wrote about Which Windows Resource Editor do you use? containing a poll to choose between XN Resource Editor, IcoFX, ResEdit and Resource Hacker.
In the meantime and betweentime more than 10 years have passed and there seems to be little maintenance in (especially the non-commercial part of) Windows Resource Editor land.
From the poll back then, I also learned about a (for me) new [Wayback/Archive] Resource Editor | MelanderBlog which is still maintained every now and then. The download is at [Wayback/Archive] Downloads | MelanderBlog (at the time of writing [Wayback] ResourceEditor20190421b.zip).
More on that and download/install locations of various resource editors below a new poll.
This new poll adds Resource Editor and allows you to make multiple choices (in case you use more than one tool):
Read the rest of this entry »
Posted in .NET, Delphi, Development, Software Development, Windows Development | Tagged: 14, 16, 2100 | Leave a Comment »
Posted by jpluimers on 2025/08/20
Sometimes Delphi cannot output the .exe file because it is locked. In even rarer times, Delphi itself keeps the .exe file locked (this has done it for decades and I think this is caused by a bug in the debugger).
A long time ago, I answered how to figure out where the lock comes from. A decade later a comment was added (thanks [Wayback/Archive] Server Overflow) with a command-line tool you can use for that too (but sometimes returns less results). Both are in [Wayback/Archive] compilation – Delphi does not generate any exe file – Stack Overflow Read the rest of this entry »
Posted in Delphi, Development, Power User, Software Development, Windows, Windows 10, Windows 11, Windows 7, Windows 8, Windows 8.1, Windows Development | Leave a Comment »
Posted by jpluimers on 2025/08/19
In [Wayback/Archive] components – How to improve the use of Delphi Frames – Stack Overflow (thanks [Wayback/Archive] Brian FrostΒ for asking!) I referred to a blog post I wrote more than 15 years ago about registering Delphi frames as components in Delphi: Delphi β Frames as visual Components β donβt forget your Sprig!
It is still a technique few use, but it is very powerful as it resolves many design time issues that arise when using Delphi frames in a normal fashion especially:
Read the rest of this entry »
Posted in Delphi, Development, Software Development | Leave a Comment »
Posted by jpluimers on 2025/07/30
The video is from a while back, but very relevant and shows in Delphi what I have been advocating to software developers for a very long time:
- when timestamping use UTC
- when storing the timestamp store both the UTC timestamp and optionally the UTC timezone/offset and optionally daylight saving indicator of the region it was recorded from
This holds for any environment, so .NET / C#, Python, Delphi and many others as well:
Read the rest of this entry »
Posted in Conferences, Delphi, Development, EKON, Event | Leave a Comment »
Posted by jpluimers on 2025/07/15
On my list of libraries to play around with: [Wayback/Archive] TRURL – Free Pascal wiki
TRURLΒ is a class library for Object Pascal supporting the creation of virtual calculators with reverse Polish notation (RPN). It comes with demo projects and several ready-to-use calculators for macOS, Linux and Windows.
TRURL is an acronym for “TRURL is a Reusable Universal RPN Library”.
Repositories:
Via [Wayback/Archive] TrurlTeam (@teamtrurl.bsky.social) β Bluesky.
--jeroen
Posted in Delphi, Development, FreePascal, Object Pascal, Pascal, Software Development | Leave a Comment »
Posted by jpluimers on 2025/07/03
Posted in Conference Topics, Conferences, Delphi, Development, Event, FreePascal, Pascal, Power User, Retrocomputing, Software Development | Tagged: ObjectPascal, pascal | Leave a Comment »