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,860 other subscribers

Archive for April, 2025

Delphi “array of const” to “varargs” – Stack Overflow

Posted by jpluimers on 2025/04/16

Just in case I ever think “oh, I might try want to go the Variadic function arguments way in Delphi” again, I must remember “maybe not a good idea” and re-read these posts:

Note that this example, despite the description indicates it is, it is actually not varargs by array of const (which requires using TVarRec as under the hood it is an open array of TVarRec): [Wayback/Archive] How to create functions that can accept variable number of parameters such as Format().

Then some Free Pascal links, which is different from, but also similar to Delphi:

Queries:

--jeroen

Posted in .NET, C, C#, Delphi, Development, FreePascal, Pascal, Software Development | Leave a Comment »

DEF CON 30 – stacksmashing – The Hitchhacker’s Guide to iPhone Lightning and JTAG Hacking – YouTube (using Raspberry Pi Zero and hand modified lightning extension cable)

Posted by jpluimers on 2025/04/16

From a few years back when Lightning debugging cables were either expensive, hard or not to get at all: [Wayback/Archive] DEF CON 30 – stacksmashing – The Hitchhacker’s Guide to iPhone Lightning and JTAG Hacking – YouTube.

Basically it is a Raspberry Pi Zero with adapted firmware connected to half a lightning extension cable.

A textual description (I wish it was linked from the above video) is at [Wayback/Archive] stacksmashing – The hitchhacker’s guide to iPhone Lightning & JTAG hacking – DEF CON Forums, which in turn refers to:

Read the rest of this entry »

Posted in Development, Hardware Development, iOS, iPhone, Power User, Red team, Security | Tagged: | Leave a Comment »

git config: list all variables and their default values – Stack Overflow

Posted by jpluimers on 2025/04/15

Empirically, these are show the same behaviour where “command 2″and “command 3″are documented, but still present a lot as the only solution in blog posts and help sites:

git config commands
command 1: list command 2: --list command 3: -l what config is shown
git config list --local git config --list --local git config -l --local --local config for current repository
git config list --global git config --list --global git config -l --global --global config for the current user
git config list --system git config --list --system git config -l --system --system config for all users
git config list git config --list git config -l all 3 levels of config combined, for convenience
without telling which configuration setting is on which level

Based on [Wayback/Archive] git config: list all variables and their default values – Stack Overflow (thanks [Wayback/Archive] Matteo Meil): Read the rest of this entry »

Posted in Development, DVCS - Distributed Version Control, git, Software Development, Source Code Management, Versioning | Leave a Comment »

Rephrasing error messages into heulpful messages

Posted by jpluimers on 2025/04/15

The problem with error messages is that they just displays errors as a fact without providing the user of future steps.

Offer them with a helpful, actionable message instead.

Not just for people with a visual impairment, I added readable text to the image below.

Read the rest of this entry »

Posted in accessibility (a11y), Conference Topics, Conferences, Development, Event, Software Development, Usability, User Experience (ux) | Tagged: | Leave a Comment »

Parallel hashing on MacOS

Posted by jpluimers on 2025/04/14

Now that I have had an Apple silicon for a while, which has enough cores to perform parallel work, this is how I calculated a bunch of hashed from a lot of large files:

  • find . -type f | xargs -P 0 -n 1 md5 -r
  • find . -type f | xargs -P 0 -n 1 shasum --algorithm 1
  • find . -type f | xargs -P 0 -n 1 shasum --algorithm 256

I contemplated about using GNU parallel, but that is not installed by default on MacOS and I was already familiar with xargs.

Argument meanings can be found at these locations:

Related:

Read the rest of this entry »

Posted in *nix, *nix-tools, Apple, Apple Silicon, ARM Mac, M1 Mac, Mac, Mac OS X / OS X / MacOS, Power User, xargs | Leave a Comment »

Moet het raam dicht?

Posted by jpluimers on 2025/04/14

Weet voor je naar bed gaat of je vliegtuiggeluid kunt verwachten.

Ben jij iemand die elke avond wakker ligt als er weer een vliegtuig voorbij komt? Of houd je je ramen ‘s nachts uit voorzorg potdicht om het geluid buiten te houden?

Deze site stuurt je voor je naar bed gaat een mail als er verwacht wordt dat vliegtuigen die nacht je slaap kunnen verstoren. Tijdens nachten waarop je geen mailtje krijgt kun je dus gewoon je raam open houden!

Van [Wayback/Archive] Moet het raam dicht?

Ze maken gebruik van deze bronnen (de laatste is inmiddels verhuisd):

Read the rest of this entry »

Posted in LifeHacker, Power User, Schiphol | Leave a Comment »

Way harder than I anticipated: How To Share Discord Profile Link

Posted by jpluimers on 2025/04/11

Some of the people I know are not on any of Signal, WhatsApp, Google Chat, or other usual direct message platforms.

This left Discord, which I use more (at least weekly) than Facebook Messenger (once a month or so).

Sharing a user-link there proved to be quite a bit more difficult than I anticipated: it even involves enabling developer mode!

The steps are at [WaybackSave/Archive] How To Share Discord Profile Link [Copy & Share]

Found via query: [WaybackSave/Archive] share direct link to discord account – Google Suche

--jeroen

Posted in Chat, Discord, Power User, SocialMedia | Leave a Comment »

My first mobile phone was not a Nokia but a Motorola which I still have just like the first Nokia banana

Posted by jpluimers on 2025/04/11

A while ago someone asked on Twitter if people had mobile phones in the early 1990’s.

I bought my first GSM phone in 1995. Unlike my other mobile non-smart phones that were from Nokia, this one was from Motorola.

It was the international GSM version of the Motorola MicroTAC series (see picture below) which by then was way more affordable and smaller than the Nokia devices (see Nokia 2010 – Wikipedia and Nokia 2110 – Wikipedia).

This was in the age that world wide there were various competing mobile phone network standards.

Read the rest of this entry »

Posted in About, Cellular telephony, GSM, History, Personal, Power User, Telephony | Leave a Comment »

Dutch translations for English software terms (Nederlandse vertalingen voor Engelse software termen)

Posted by jpluimers on 2025/04/10

A while ago I assisted to translate parts of some software from English to Dutch.

Knowing from the last, that there were on-line guidelines for this, I tried to find them back.

That was tough, and I got a feeling many of the past ones vanished.

Here are some links – in the order I browsed them – for a future self in case I want to find them again (in bold, the useful resources):

Read the rest of this entry »

Posted in Development, Software Development | Leave a Comment »

Windows Installer is transactional, but combined with NTFS and installer processes is not fully: do more C:\Config.msi vulnerabilities exist? (plus a truckload of information on Windows SIDs)

Posted by jpluimers on 2025/04/10

Over the last years a few C:\Windows.msi vulnerabilities have been discovered (and fixed), of which some are linked below.

The core is that the Windows Installer tries to be transactional, and NTFS is, but the combination with installer processes isn’t.

That leads into vulnerabilities where you can insert malicious Roll Back Scripts (.rbs files) and Roll Back Files (.rbf files), and I wonder if by now more have been discovered.

So this post is a kind of reminder to myself (:

Oh, and I learned much more about whoami on Windows, as there  whoami /groups shows very detailed SID information. From that, I learned more on the internals of SIDs too!

Read the rest of this entry »

Posted in Blue team, C++, Development, Power User, Red team, Security, Software Development, Visual Studio C++, Windows, Windows Development | Tagged: , , , | Leave a Comment »