The Wiert Corner – irregular stream of stuff

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

  • My badges

  • Twitter Updates

  • Pages

  • All categories

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

    Join 1,839 other subscribers

ShellCheck – shell script analysis tool

Posted by jpluimers on 2024/02/22

Cool: [Wayback] ShellCheck – shell script analysis tool

ShellCheck finds bugs in your shell scripts

It needs a shebang at the start of a script (like #!/usr/bin/env bash) to recognise the kind of shell, then does amazing analysis.

It is open source at [Wayback/Archive.is] koalaman/shellcheck: ShellCheck, a static analysis tool for shell scripts with excellent documentation including explaining screenshots like

It’s not just available on-line or on the command-line, but also integrates with many code editors (like [Wayback/Archive.is] ShellCheck – Visual Studio Marketplace: Integrates ShellCheck into VS Code, a linter for Shell scripts.) and CI/CD pipelines.

Via: [Wayback] bash – error conditional binary operator expected in compound branch – Unix & Linux Stack Exchange (thanks [Wayback] Cyrus!)

–jeroen

Posted in *nix, *nix-tools, ash/dash, ash/dash development, bash, bash, Development, Power User, Scripting, Software Development | Leave a Comment »

Im memoriam: Ruud de Zwart; 1937-01-12 – 2024-02-20

Posted by jpluimers on 2024/02/21

Tweede overlijdensbericht binnen twee weken.
Deze keer geografisch veel dichterbij en mentaal minstens net zo zwaar.

Gisteren overleed Ruud de Zwart, icoon uiteraard bij schoonmaakbedrijf de Zwart, maar ook bij veel verenigingen waaronder Adest Musica waar ik hem voornamelijk van ken. Zijn plaatsten inmiddels een mooi bericht over zijn leven en verscheiden: Ruud was daar reeds sinds 1998 lid van verdienste.

In mijn jeugd was hij er bij Adest Musica voor mijn gevoel gewoon altijd – meestal kenmerkend in overhemd met trui, al dan niet samen met zijn vrouw Annie.
Later vooral achter de bar en achter de schermen: Annie en hij regelden bijvoorbeeld altijd de jaarlijkse grote schoonmaak van het clubhuis. Vanwege de combinatie gezondheid en leeftijd kwamen eerst Annie en later ook Ruud steeds minder bij de club op bezoek: ruim een maand geleden werden ze 87 en 86 jaar oud.

Ondanks hem minder te zien, ging en gaat Ruud uiteraard niet uit het hart, want uit bovenstaande merkte je het al: net als Annie is, was ook hij bijzonder. Er gebeurde dus altijd wel wat en er zijn dus talloze anekdotes.

Ik beperk me tot wat memorabele gebeurtenissen rondom autorijden, want: nou ja, laat ik maar beginnen.

Met Ruud waren we onderweg naar een optreden van de Jeugdband op een voetbalveld. Ruud wist de weg, dus een kwartiertje later stonden we op een sportpark.
Maar daar waren we de enigen: er was verder helemaal niemand.

Uiteraard was dit ver voor de tijd van de mobiele telefoon. Wat vijven en zessen later bleek dat er in die plaats TWEE voetbalverenigingen waren en – wellicht omdat het Oegstgeest was – ook nog rijk genoeg om beide aparte onderkomens en voetbalvelden te hebben.

De taptoe was uiteraard op het hoofdveld van de andere voetbalvereniging.

Een andere keer kwamen we er bij het oude Onderdak (voor de jeugdige lezers: waar nu Vomar Sassenheim zit en voordat het een verenigingsgebouw werd was het gebouw een klooster met een meisjesschool – later burgerschool – genaamd Sint Annaschool) achter dat een optreden eerder begon dan verwacht.

Dus wij met te veel kinderen en uiteraard zonder gordels (begin jaren 80 hadden veel auto’s die nog niet) met Ruud achter het stuur op veel te hoge snelheid naar onze bestemming en waren we toch nog een soort van op tijd.

Alle kinders van toen leven nog, dus helemaal onveilig was het niet.

Dan nog een laatste, want Ruud kon bijzondere dingen. Zoals op een enorme parkeerplaats, waar maar 1 lantaarnpaal stond, met grote spoed wegrijden.

Je raad het vast nooit wat er toen gebeurde. Inderdaad: Ruud wist in volle vaart die ene lantaarnpaal te raken.

Het liep letterlijk met een sisser af, een fiks stomende radiator, maar gelukkig geen lichamelijk letsel.

Er ging natuurlijk ook heel veel goed – en gelukkig maar. Sowieso viel er altijd wat met Ruud te lachen, maar dat zijn veel saaiere verhalen dus daar ga ik hier niemand mee vermoeien.

Ruud heeft met nog veel meer dan al dit bijzonders reeds lang geleden een plekje in mijn hart veroverd en dat gaat zeker niet veranderen.

Rust zacht Ruud.

Sterkte aan Annie, familie en vrienden met dit onmetelijke verlies.

Ruud was Ruud.

–jeroen

Ruud de Zwart; 1937-01-12 – 2024-02-20

Read the rest of this entry »

Posted in About, History, Personal | Leave a Comment »

Via Chris Oldwood on Twitter: the real meaning of various C++ character types wchart_t, char, tchar and varchar

Posted by jpluimers on 2024/02/21

A while ago there was this great thread of various C++ character types:

And since most above talk about character width:

–jeroen

Posted in C++, Conference Topics, Conferences, Development, Event, Fun, Software Development | Leave a Comment »

Convert TSV to HTML Table Online | WTOOLS

Posted by jpluimers on 2024/02/20

Great for converting tab separated data (for instance when copied from Excel) into HTML:

[Wayback/Archive] Convert TSV to HTML Table Online | WTOOLS

–jeroen

Posted in Development, Excel, HTML, Office, Power User, Software Development, Web Development | Leave a Comment »

Many links about free modem/router choice and their configurations for the Dutch KPN internet/VoIP provider

Posted by jpluimers on 2024/02/19

I wrote this post because the xs4all->KPN transition was messy, especially on the VoIP side.

Emails and letters were incomplete lacking some essential information for manual configuration; 2nd line help desk did not return calls; pointers to where to find correct information were lacking.

This kind of is a catch all post with most of the links I found without much of their content so I can refer to them later when writing a more detailed post on how I did get VoIP to work.

So: for my link archive, almost all posts in Dutch.

Found posts

Read the rest of this entry »

Posted in Internet, ISP, KPN, Power User, Telephony, VoIP, xs4all | Leave a Comment »

In memory of Matthias Eißing (Embarcadero, formerly Borland/Inprise/Borland/CodeGear)

Posted by jpluimers on 2024/02/16

Earlier today, I got the sad news that my friend Matthias Eißing suddenly passed away in the night from Tuesday to Wednesday.

Valentines day will never be the same.

Rest in Peace dear Matthias Eißing. Hope you will virtually keep drinking beer and keep the great conversations that made you so many friends going.

🕯️

[Wayback/Archive] Eine sehr traurige Nachricht – Delphi-PRAXiS

Mit einer Mischung aus blankem Entsetzen und großer Trauer muss ich Euch leider mitteilen, dass unser langjähriges Community-Mitglied Matthias Eißing in der Nacht zu Mittwoch plötzlich und völlig unerwartet verstorben ist.

Helping others with is technical knowledge was what Matthias loved doing so much: in person (see [Wayback/Archive] Matthias Eißing – Entwickler Konferenz and [Wayback/Archive] Programm | EKON 27 – Die Entwickler Konferenz für Delphi & more), virtual (watch  [Wayback/Archive] Magdeburger Developer Days 2021 03.09.2021 – Matthias Eißing “Delphi Community Edition” – YouTube), individually (uncountable chat messages, phone and video calls, e-mails and in-company meetings), white papers / blog posts (like [Wayback/Archive] HighDPI Entwicklung unter Windows) and forum messages (just see the list at [Wayback/Archive] Delphi-PRAXiS – Ergebnis der Suchanfrage).

I had hoped to meet at EKON28 again, as our story goes back to the very first [Wayback/Archive] EKON – The Conference for Delphi & More in 1997 @ the Raunheim Astron Hotel Rhein-Main organised by Masoud Kamali ([Wayback/Archive] Massi Kamali (@MasoudMassi) / Twitter).

EKON was the first conference by Masoud/S&S. It and later conferences helped the Astron Hotels in the southern Frankfurter area (a few years Raunheim, Rüsselsheim and many years Mörfelden) grow a lot and it was the base were Matthias and a lot of other developers kept meeting up and started to know about each others personal lives as well.

Read the rest of this entry »

Posted in About, borland, Delphi, Development, History, Personal, Software Development | Leave a Comment »

thuddevort on Twitter: “You can disable the extra confirmation under System > FRITZ!Box Users > Additional Confirmation”

Posted by jpluimers on 2024/02/16

My ISP did auto-update the Fritz!Box, but did not send release-notes, so I was not aware this feature had been added eons ago:

[Wayback/Archive] thuddevort on Twitter: “@jpluimers @wijnands @b0rk @xs4all You can disable the extra confirmation under System > FRITZ!Box Users > Additional Confirmation”.

I know a second factor is better for security, but doing that on both sites at the same time when setting up LAN2LAN VPN is tough (Fritz!Box names this either “LAN-LAN coupling” or “VPN Connections between the FRITZ!Box and Other Networks”.

A better feature at the same configuration page is instead of disabling, enabling to confirm using apps like Google Authenticator and Authy:

Read the rest of this entry »

Posted in 2FA/MFA, Authentication, Authy, Fritz!, Fritz!Box, Hardware, Network-and-equipment, Power User, Security | Leave a Comment »

Web-Design user experience: if you replace actual characters with images or empty styled items you will exclude screen-readers and make visually impaired unhappy (and others too)

Posted by jpluimers on 2024/02/15

So I was on a medical site trying to copy my prescriptions trying to copy them:

Before copying After copying
Image Image

In this case, the element that failed to copy was this:

Read the rest of this entry »

Posted in CSS, Dark Pattern, Development, Software Development, User Experience (ux), Web Development | Leave a Comment »

« The same people who say it’s too hard to write alt text are now suddenly “prompt engineers” who literally write alt text to generate images  » – Thomas Fuchs

Posted by jpluimers on 2024/02/14

As an alt-text advocate, I appreciate [Wayback/Archive] Thomas 🔭✨: “The same people who say it’s t…” – Hachyderm.io

The same people who say it’s too hard to write alt text are now suddenly “prompt engineers” who literally write alt text to generate images.

#inclusion #a11y #accessibility

In case you missed it, this is indeed a thing: Prompt engineer – Wikipedia.

--jeroen

Posted in accessibility (a11y), AI and ML; Artificial Intelligence & Machine Learning, ChatGPT, Development, GPT-3, HTML, Power User, SocialMedia, Software Development, Web Development | Leave a Comment »

For older Excel versions that do not have the =ISOWEEKNUM(date) function, use =WEEKNUM(date,21)

Posted by jpluimers on 2024/02/14

Calculating an ISO-8601 based WEEKNUM

From [Wayback/Archive] ISOWEEKNUM Function – How to Get the Week Number in Excel:

  • If we are using an older version of MS Excel, we can use the function WEEKNUM. By default, the WEEKNUM function uses an arrangement where Week 1 begins on January 1, and Week 2 begins on the next Sunday (when the return_type argument is omitted, or supplied as 1).
    However, with MS Excel 2010 for Windows and MS Excel 2011 for Mac, we can generate an ISO week number using 21 as the return_type: =WEEKNUM(date,21).
  • There is no built-in worksheet function for ISO weeks before MS Excel 2010.

I tested that ISO-8601 week number calculation in with Excel 2011 on MacOS and Excel 2010 on Windows: the workaround works well for the dates mentioned in ISO week date – Wikipedia.

Read the rest of this entry »

Posted in Excel, Office, Office 2010, Office 2011 for Mac, Power User | Leave a Comment »