The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,854 other subscribers

Archive for the ‘Delphi’ Category

Online tools to test JSONPath Queries (plus a small list of Amazon top level domains)

Posted by jpluimers on 2026/04/15

I wanted to parse some JSON being sent back during an XMLHttpRequest (what a wrongly named call is that!) of which I grabbed the content using the web development tools of my Chromium based browser.

Input

I got this list of amazon top level domain names from research I did for my blog post Download your Kindle books soon, because Amazon will block them after February 25, 2025 . The source is [Wayback/Archive] Amazon operating domains by country. · GitHub [Wayback/Archive] in the file amazon-domains.json:

{
    "us": "https://www.amazon.com",
    "uk": "https://www.amazon.co.uk",
    "ca": "https://www.amazon.ca",
    "de": "https://www.amazon.de",
    "es": "https://www.amazon.es",
    "fr": "https://www.amazon.fr",
    "it": "https://www.amazon.it",
    "jp": "https://www.amazon.co.jp",
    "in": "https://www.amazon.in",
    "cn": "https://www.amazon.cn",
    "sg": "https://www.amazon.com.sg",
    "mx": "https://www.amazon.com.mx",
    "ae": "https://www.amazon.ae",
    "br": "https://www.amazon.com.br",
    "nl": "https://www.amazon.nl",
    "au": "https://www.amazon.com.au",
    "tr": "https://www.amazon.com.tr",
    "sa": "https://www.amazon.sa",
    "se": "https://www.amazon.se",
    "pl": "https://www.amazon.pl"
}

The list is far from complete, so tomorrow I will post some more sources in Some pages that have lists of Amazon toplevel domains.

The queries and results show you that the original JSONPath (2007) and its RFC 9535 definition (2024, just 2 years ago) do not support getting the key names of the above list the ~ part in the first query below fails, and only the second query works.

This means that finding the right tooling is important.

Example

Read the rest of this entry »

Posted in Conference Topics, Conferences, Delphi, Development, Event, JavaScript/ECMAScript, JSON, JSONPath, PHP, Python, Scripting, Software Development, TypeScript, Web Development | Tagged: | Leave a Comment »

RADProgrammer Style Guide · radprogrammer/radteam Wiki

Posted by jpluimers on 2026/03/19

I missed the below repository as when it got introduced early 2021 I was very much coping with recovering from a truckload of procedures curing my rectum cancer and its metastases.

Anyway, [Wayback/Archive] RADProgrammer Style Guide · radprogrammer/radteam Wiki is yet a new style guide which unlike the others hopefully will be maintained.

Also unlike the others it stresses not to use a specific Delphi feature, in this case inline variables (introduced in 2018) because in 2021 the internal IDE tooling and run-time around it still had not caught up.

I have always generalised this to refrain from using new features until they are broadly supported in the product. The reasoning is that  as for more than the last decade, the R&D team has a tendency to introduce features half baked, ticked a marketing feature in the product matrix then goes on with new features deferring work needed to actually make the feature useful towards the indefinite feature, so here is something you can quote me on

In Delphi, refrain from using new language features until the product fully supports it including at least these bits:

  • documentation
  • code generation / code completion
  • run-time behaviour (like memory leaks)
  • editor support (navigation, selection, expansion)
  • code refactoring
  • code formatting
  • debugger support

They refer to it from [Wayback/Archive] RADProgrammer Style Guide Other Guidance · radprogrammer/radteam Wiki:

Read the rest of this entry »

Posted in Delphi, Development, Software Development | Leave a Comment »

delphi – How to have both VCL and FMX in one application? – Stack Overflow

Posted by jpluimers on 2026/03/18

From a long while back, but I forgot to add it as a blog post.

The answer to [Wayback/Archive] delphi – How to have both VCL and FMX in one application? – Stack Overflow (thanks [Wayback/Archive] Gad D Lord for asking and [Wayback/Archive] Aleksey Timohin for commenting) is actually straightforward so Gad wrote a blog post on it back then [Wayback/Archive] MTG Studio: How to create and application which compiles both for Firemonkey and VCL.

It follows my answer closely, so here it is:

Read the rest of this entry »

Posted in Delphi, Development, Software Development | Leave a Comment »

Delphi documentation: GetIt Local files – Google Docs

Posted by jpluimers on 2026/03/11

This [Wayback/Archive] GetIt Local files – Google Docs is so much better than the [WayBack/Archive] DocWiki documentation for at least these reasons:

  • it is one coherent document
  • it is complete and does not cut away parts of the source code examples (especially the JSON in the DocWiki is bad)

I wish it had been a Markdown or reStructuredText document as that is far more version control friendly.

Hopefully it will stay on-line longer than [Archive] drive.google.com/file/d/1Pt0YOMfS1eJK7e-NyLrZ5dNOj6UlqN1U/view| or the DocWiki documentation of prior Delphi versions. For more on that, read this blog post: The Delphi documentation site docwiki.embarcadero.com has been down/up oscillating for 4 days is now down for almost a day..

If you are curious to the DocWiki documentation on the GetIt Local files, then read these:

Read the rest of this entry »

Posted in Delphi, Development, GetIt, Software Development | Tagged: , | Leave a Comment »

Delphicon 2023 – Day 2 – YouTube

Posted by jpluimers on 2026/03/05

Forgot to schedule this post: [Wayback/Archive] Delphicon 2023 – Day 2 – YouTube

–jeroen

Posted in Delphi, Development, Software Development | Leave a Comment »

msxml – Error when loading valid Windows-1252 document “System error: -2146697210” – Stack Overflow

Posted by jpluimers on 2026/02/04

Yes, I know that Windows XP SP3 and Windows 7 SP1 have been end-of-life for a long time, but in the wild they are still being used so here is for posterity:

[Wayback/Archive] msxml – Error when loading valid Windows-1252 document “System error: -2146697210” – Stack Overflow (thanks [Wayback/Archive] Rob Kennedy for the comment):

Read the rest of this entry »

Posted in .NET, Delphi, Development, History, Power User, Software Development, Windows, Windows 7, Windows Development, Windows XP, XML, XML/XSD | Leave a Comment »

This is nice #geekporn. ASCII Art that’s truly useful.…

Posted by jpluimers on 2025/11/12

I forgot both to archive this 10+ year old G+ post and schedule a blog post about it This is nice #geekporn. ASCII Art that’s truly useful.….

ASCII to bezier drawn images in a very clever way.

Found it back when searching for prior blog posts on ASCII art, because of my yesterday’s blog-post ASCII Art Archive, so here it finally is: the links about how to go from ASCII art to bezier images. Have fun!

Read the rest of this entry »

Posted in .NET, ASCII art / AsciiArt, C#, Delphi, Development, FireMonkey, Fun, ObjectiveC, Ruby, Software Development | Tagged: | Leave a Comment »

WinWorld: Microsoft Office 95

Posted by jpluimers on 2025/10/29

Just in case I ever need it for historic reasons:

[Wayback/Archive] WinWorld: Microsoft Office 95

Because back in the days various Office products had localised VBA (at least German and French products had; I’m not sure about other languages)

Via:

Read the rest of this entry »

Posted in Delphi, Development, History, LifeHacker, Office, Office 95, Office Automation, Office Development, Power User, Software Development, Windows, Windows 95 | Leave a Comment »

Delphi code by generative AI: arguably even worse than some oder development stacks

Posted by jpluimers on 2025/10/23

For my links archive:

  1. [Wayback/Archive] What is the best AI at Delphi – VCL – Delphi-PRAXiS [en]

    There is simply not enough Delphi code around for AI training. It is easy to have good coverage for JavaScript and similar where you literally have bazillion web pages available for scraping, where plenty of them virtually repeat the most common, required functionality. Pushing for more publicly available code without considering its quality, can also backfire.

    [Wayback/Archive] PS C:\WINDOWS\system32> ollama listNAME ID SIZ – Pastebin.com

  2. [Wayback/Archive] What is the best AI at Delphi – Page 2 – VCL – Delphi-PRAXiS [en]

I still think these LLM are only good for inspiration (not just for the reason mentioned above) as using LLM generated code requires a lot of pre-thought and care, likely way more than any benefits (unpopular opinion: in a way programming based on LLM generated code is worse than being [Wayback/Archive] The full stackoverflow developer | Christian Heilmann which was later re-published at [Wayback/Archive] The Full Stack Overflow Developer – CodeProject)

I am not alone on this, as per Erik Meijer on Twitter:

Read the rest of this entry »

Posted in AI and ML; Artificial Intelligence & Machine Learning, Delphi, Development, LLM, Software Development | Leave a Comment »

skia4delphi/skia4delphi: Skia4Delphi is a cross-platform 2D graphics API for Delphi platforms based on Google’s Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.

Posted by jpluimers on 2025/10/15

This is a cool library which I missed when it was introduced while recovering from my extensive cancer treatments:

[Wayback/Archive] skia4delphi/skia4delphi: Skia4Delphi is a cross-platform 2D graphics API for Delphi platforms based on Google’s Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.

Skia4Delphi is a cross-platform 2D graphics API for Delphi based on Google’s Skia graphics library.

The foundation is the cross platform Google 2D Skia Graphics Engine:

Read the rest of this entry »

Posted in Delphi, Development, Google, Power User, Software Development | Leave a Comment »