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

Bit by Bit – Exploring Low-Level Programming on the Apple IIe | decuser’s blog

Posted by jpluimers on 2026/02/05

At the time of posting [Wayback/Archive] Bit by Bit – Exploring Low-Level Programming on the Apple IIe | decuser’s blog in 20251010, four episodes were up at [Wayback/Archive] Bit by Bit – Exploring low-level programming with an Apple IIe – YouTube which at the time of archiving at the end of October 2025 already got 10 episodes.

Hopefully by now – some 2 months later – the list has grown even further.

Via [Wayback/Archive] Bit by Bit – Exploring Low-Level Programming on the Apple IIe | Applefritter who explains further than the blog post:

Read the rest of this entry »

Posted in //e, 6502, 6502 Assembly, Apple, Assembly Language, Development, History, Power User, Retrocomputing, Software Development | Leave a Comment »

#122 – Essential Things Every Software Engineer Should Know – Kevlin Henney – Tech Lead Journal

Posted by jpluimers on 2026/02/05

Every interview with Kevlin Henney is worth reading, listening or watching and this is no exception: [Wayback/Archive] #122 – Essential Things Every Software Engineer Should Know – Kevlin Henney – Tech Lead Journal

It covered quite a bit of two classic books he (co-)edited: “97 Things Every Programmer Should Know” and “97 Things Every Java Programmer Should Know” as their content is relatively timeless.

His first book has been open source for more than 10 years now. The repository is at [Wayback/Archive] 97-things/97-things-every-programmer-should-know: Pearls of wisdom for programmers collected from leading practitioners. and an easier readable edition is at [Wayback/Archive] Introduction · 97 Things Every Programmer Should Know.

Read the rest of this entry »

Posted in Development, Software Development | Leave a Comment »

Crowbarring Windows 95 into Windows NT with CAPITALS • The Register

Posted by jpluimers on 2026/02/04

Via [Wayback/Archive] Crowbarring Windows 95 into Windows NT with CAPITALS • The Register refers a nice trick that I have used in various case-codebases as well.

On case sensitive environments the casing method is easy no matter if you use macros or just regular identifiers.

On case insensitive environments, prepending or appending soemthing like an underscore (_) works just as well.

The trick referred to is in a section of [Wayback/Archive] How did the Windows 95 user interface code get brought to the Windows NT code base? – The Old New Thing:

Read the rest of this entry »

Posted in Development, Software Development | Tagged: | 1 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 »

What is the difference between git pull and git fetch + git rebase? – Stack Overflow

Posted by jpluimers on 2026/02/04

Great Question, Answer and Comment at [Wayback/Archive] What is the difference between git pull and git fetch + git rebase? – Stack Overflow (thanks [Wayback/Archive] michael, [Wayback/Archive] gawkface and [Wayback/Archive] Daniel K.):

Read the rest of this entry »

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

From Meh to WOW – With 1 “Tiny” Hack! – YouTube – where the comments mention better ways than this convoluted solution

Posted by jpluimers on 2026/02/03

[Wayback/Archive] From Meh to WOW – With 1 “Tiny” Hack! – YouTube shows an interesting but convoluted solution to solve temperature drift on a cheap Tuya WT410-BH-3A-W thermostat (there are similar models, see below) based on the replacement sensor [Wayback/Archive] WSEN-TIDS Temperature Sensor IC & EV-Kits | Sensors | Würth Elektronik Product Catalog.

Luckily the commenters stepped in and suggest better and easier ways.

On the other hand, the solution is nice to know as it allows plugging in a remote thermostat that sits in a better place to read the temperature while the control bits stay in a place where it is easier to manually adjust.

Chapters:

Read the rest of this entry »

Posted in ARM Cortex-M, Development, Domotics/Smarthome, ESP32, ESPHome, Hardware, Hardware Development, Hardware Interfacing, Home Assistant, Homey, IoT Internet of Things, Network-and-equipment, Power User, STM32 | Leave a Comment »

woo-besluit-broncode-digid-app/NFCService.cs at master · MinBZK/woo-besluit-broncode-digid-app

Posted by jpluimers on 2026/02/03

This method sparked a lot of discussion on social media:

private static string GetPercentageRounds(double percentage)

It is part of [Wayback/Archive] woo-besluit-broncode-digid-app/NFCService.cs at master · MinBZK/woo-besluit-broncode-digid-app which was published after a request according to the Dutch Open Government Act (WOO: Wet Open Overheid).

Even though it services the iOS app, it is written in C# not Swift despite it being client-side code, but that’s not why it sparked a lot of discussion costing more man-hours than the code is worth.

This is the code:

Read the rest of this entry »

Posted in .NET, C#, Development, Software Development, Swift, xCode/Mac/iPad/iPhone/iOS/cocoa | Leave a Comment »

Naming Files and Directories the Right Way – YouTube

Posted by jpluimers on 2026/01/29

I totally agree with the first comment of [Wayback/Archive] Naming Files and Directories the Right Way – YouTube as it holds not just for file management, but for naming anything including software development:

I’ve watched many videos on file management, but this one explains naming very clearly.
  1. 0:31 Rule 1: No Spaces
  2. 2:40 Rule 2: Avoid Special Characters
  3. 3:43 Rule 3: Be Descriptively Concise
  4. 4:24 Rule 4: Case Sensitivity
  5. 5:00 Rule 5: Dates and Sorting
  6. 6:40 Rule 6: Be Consistent!

--jeroen

Posted in *nix, Apple, BSD, Development, Linux, Mac OS X / OS X / MacOS, Power User, Software Development, Windows | Leave a Comment »

JavaScript unit testing in the browser without Node.js: Getting Started | QUnit

Posted by jpluimers on 2026/01/29

A cool way to unit-test JavaScript code on the browser side is [Wayback/Archive] Getting Started | QUnit:

To get started with QUnit in the browser, create a simple HTML file called test.html and include the following markup:

<!DOCTYPE html>
<meta charset="utf-8">
<title>Test Suite</title>
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-2.19.4.css">
<body>
  <div id="qunit"></div>
  <div id="qunit-fixture"></div>
  <script src="https://code.jquery.com/qunit/qunit-2.19.4.js"></script>
</body>

That’s all the markup you need to start writing tests. Note that this loads the library from the jQuery CDN.

I was so glad to find QUnit via the below links as I unconsciously wanted such a thing for a very very long time.

You can either run it locally or remotely or from the jQuery CDN as both it

  • is a Node.js module so the source files are all available on the jQuery CDN
  • it does not require the Node.js to load so it can run from any location you want (that CDN, locally or another on-line location)

Read the rest of this entry »

Posted in Chrome, Development, Edge, Firefox, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers, Web Development | Leave a Comment »

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 »