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 ‘Software Development’ Category

Some links for JavaScript tokenizers and syntax highlighters

Posted by jpluimers on 2026/01/28

In yesterday’s post Bookmarklet for Archive.is to navigate to the canonical link with the “redirected from” instead of “saved from” I mentioned js-tokenizer for syntax highlighting. When writing that, I didn’t have time to dig deeper, but saved the links for later investigation.

Since I won’t have time to finish writing a complete article on this anytime soon, I decided to just publish the list:

Read the rest of this entry »

Posted in Development, JavaScript/ECMAScript, Scripting, Software Development | Leave a Comment »

vmstan/gravity-sync: 💫 The easy way to synchronize the DNS configuration of two Pi-hole 5.x instances.

Posted by jpluimers on 2026/01/28

Interesting: [Wayback/Archive] vmstan/gravity-sync: 💫 The easy way to synchronize the DNS configuration of two Pi-hole 5.x instances.

Reasoning: [Wayback/Archive] Frequent Questions: Why two Pi-hole? · vmstan/gravity-sync Wiki

Via:

–jeroen

Posted in *nix, *nix-tools, bash, bash, Development, DNS, Hardware Development, Internet, Power User, Raspberry Pi, Scripting, Software Development | Leave a Comment »

Bookmarklet for Archive.is to navigate to the canonical link with the “redirected from” instead of “saved from”

Posted by jpluimers on 2026/01/27

This is a follow-up on Bookmarklet for Archive.is to navigate to the canonical link which can be accessed from multiple URLs, some through redirection:

You can see the difference in these archived links (the navivate was a typo that I only spotted after the original blog post got published):

I wanted a Bookmarklet to find the last link; the one in the referenced blog post didn’t.

Read the rest of this entry »

Posted in Bookmarklet, Debugging, Development, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers, Web Development | Leave a Comment »

WireGuard on OpenWRT based GL.iNET: some notes on the `wireguard_watchdog` script

Posted by jpluimers on 2026/01/15

On OpenWRT GL.iNET based devices, the WireGuard client does not restart upon reboot, even if it was started before rebooting.

Hopefully the /usr/bin/wireguard_watchdog script will help with this as others indicates it should.

My first try was no succes, but since it is supposed to run from cron it does no output. The script on GL-SFT1200 firmware version 3.215, script /usr/bin/wireguard_watchdog is different from the one in the OpenWRT repository, so it needs some investigation.

Some links for checking this out:

Read the rest of this entry »

Posted in *nix, *nix-tools, ash/dash, ash/dash development, Development, GL-AR300M, GL.iNet, GL.iNET GL-SFT1200, OpenWRT, Power User, Scripting, Software Development | Leave a Comment »

Do not implement numeric input with like this Post NL user interface

Posted by jpluimers on 2026/01/14

I had to pick up a package keying in a 6 digit code using the below PostNL UI.

It was horrible. Don’t implement your numeric input UI like this: use a telephone keypad like or calculator numpad like keypad UI.

Read the rest of this entry »

Posted in Development, Software Development, UI Design, User Experience (ux) | Leave a Comment »

Is Fortran better than Python for teaching the basics of numerical linear algebra? – Dr. Jean-Christophe Loiseau

Posted by jpluimers on 2026/01/13

The summary of [Wayback/Archive] Is Fortran better than Python for teaching the basics of numerical linear algebra? – Dr. Jean-Christophe Loiseau is:

  1. 1-based indexing prevents off-by-1 errors
  2. structure is key, especially these foundations:
    • clear begin/end constructs instead of visual clues
    • strong typing
  3. verbose programming languages are easier to learn than non-verbose ones

Modern Fortran helps a lot here and shows that after the initial 13 year gaps between FORTRAN 77 and Fortran 90, and between Fortran 90 and Fortran 2003 (the ANSI Standard Fortran and Fortran 95 in between versions were just minor updates), Modern Fortran has come a very long way and now as a thriving community and an extensive list of Fortran software and tools.

Other typed languages and tool sets like C# and Delphi come to mind here as well though you need libraries with 1-based data structures to solve the first point.

Read the rest of this entry »

Posted in Development, Fortran, Learning/Teaching, LifeHacker, Power User, Python, Scripting, Software Development | Leave a Comment »

What was before JPEG? #pcx #shorts – YouTube

Posted by jpluimers on 2026/01/08

I feel old, because I vividly remember the PCX (1985) graphics file format: it was the defacto standard under DOS.

TIFF (1986) was slightly younger, and came from the scanner background resulting in very large files though unlike PCX (which had lossless compression), TIFF supported both lossless and lossy compression.

On Windows and OS/2, you had BMP (1985, lossless initially only black and white).

All three suffered from the same problems: different implementations causing all sorts of compatibility problems

Those were the reason for the implementation of newer file formats for graphics like JPG (1992, lossy) and PNG (1996, lossless).

[Wayback/Archive] What was before JPEG? #pcx #shorts – YouTube – @Vitaskhr

Read the rest of this entry »

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

A Friendly Introduction to SVG • Josh W. Comeau

Posted by jpluimers on 2026/01/07

SVG can be beautifully crafted XML representing vector graphics with full support for CSS while also supporting raster graphics. [Wayback/Archive] A Friendly Introduction to SVG • Josh W. Comeau explains how you can do that.

Note that in practice most tools generate horrible SVG and CSS.

Via [Wayback/Archive] I finally get how SVGs work – YouTube

--jeroen


[Wayback/Archive] I finally get how SVGs work – YouTube

Posted in Development, Software Development, SVG, Web Development, XML, XML/XSD | Leave a Comment »

A few pfSense quirks I got used to over the years

Posted by jpluimers on 2026/01/06

Everytime when installing a pfSense router from scratch, I seem to re-learn a few of the below quirks. So it was finally time to document them (:

Quite a few of my pfSense configurations are just doing routing between various networks, should not provide DHCP leases and do not always need or have a WAN connected (i.e. they are LAN-only).

Read the rest of this entry »

Posted in Communications Development, Conference Topics, Conferences, Cyberchef, Development, DHCP, Encoding, Event, Hardware, HTTP, Internet protocol suite, MikroTik, Network-and-equipment, pfSense, Power User, routers, Software Development, SSH, TCP, TLS, UDP | Tagged: | Leave a Comment »

MacOS (at least 2023 and younger): solution for (TrueType) fonts added through MacOS built-in Font Book not showing up in Pages or Preview

Posted by jpluimers on 2026/01/05

It took me a few queries to find the correct online solution for this problem: after adding a TrueType (and it’s extension: OpenType) font using the built-in MacOS Font Book, they do not show up in Pages or Preview, not even after validating the fonts in Font Book.

Solutions:

  1. reboot (found this out myself)
  2. killing the fontd font daemon from the Activity Monitor
  3. restart font daemon (found out via the link below)
    launchctl kickstart -k gui/`id -u`/com.apple.xtyped

The last one does not work on my Apple Silicon machine, the first two work fine.

For Preview, you have to Force Quit it then start it (so it re-opens all the previous files) to take effect.

I needed this, because I

Read the rest of this entry »

Posted in Apple, Barcode, Development, Font, KIX, Lucida Console, Mac, Mac OS X / OS X / MacOS, macOS 13 Ventura, macOS 14 Sonoma, Power User, RM4SCC, Software Development | Leave a Comment »