News, articles, and notes
Writing on Delphi, the web, and the seam between them.
Deep dives, opinions, project notes, and conference reports. Updated whenever something is worth saying.
Featured
Four German Holidays Hang Off One Number
Part two of a two-part series on computing public holidays in Delphi — the Gauss/Meeus Easter algorithm in fifteen lines, the four German holidays derived from it by simple offsets, and merging two national calendars into one with the rules-as-data structure from Part 1.
- Delphi
- DateUtils
- Date and Time
- RTL
- Object Pascal
Read article
Free to read, not free to make. Everything here is published without ads or paywalls, funded by readers.
How to support01 — More recent
See all 93 →Two Countries, Twenty Holidays, One Data Structure
Every business application eventually needs to know whether a given day is a working day. Payroll needs it. Delivery-date estimates need it. Anything that computes an SLA in business days needs it. And the first version of that code, in…
- Delphi
- DateUtils
- Date and Time
- RTL
- Object Pascal

Regular Expressions in Delphi, Part 2: Using TRegEx
In Part 1 we learned to read regular expressions — the dozen metacharacters that turn \d{5} into "exactly five digits" and ^…$ into "the whole string, nothing more." That was deliberately code-free, so the concepts had room to land. Now we…
- Delphi
- Regular Expressions
- RTL
- Strings
- Object Pascal

My Server Was Compromised — and Recovery Took One Command
The site was down, so I did what anyone does: I opened a terminal and started looking. What I found was a process called kmod-cache-update, which sounds like something the kernel would run and is in fact XMRig, an open-source Monero miner,…
- Docker
- Security
- Caddy
- Backups

Regular Expressions in Delphi, Part 1: Reading the Squiggles
Every developer has met a regular expression in the wild and quietly flinched. Something like this: It looks less like code and more like the cat walked across the keyboard. And for a long time in the Delphi world you could get away with…
- Delphi
- Regular Expressions
- RTL
- Strings
- Object Pascal

JSON to Delphi Classes: The Popular Version Isn't the Live One
A few days ago a message came in through the contact form on this site. Jens Borrisholt had been reading the JSON and RTTI posts and thought one of his open-source projects might be a fit: a tool that takes an arbitrary JSON document and…
- Delphi
- JSON
- RTTI
- Open Source

RTTI Part 3: Invoking Methods — and a Real Tool
We've come a long way. Part 1 explained what RTTI is — reflection, code that inspects types it didn't know at compile time — and introduced TRttiContext and TValue. Part 2 read an object's properties, fields, and attributes, and wrote…
- Delphi
- RTTI
- Reflection
- RTL
- Object Pascal

02 — The archive
86 more articles, back to 2023.
Every article ever published, grouped by year and month.
