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

Archive for the ‘Development’ Category

Today, very briefly, Tweakers.net leaked the WHY2025 badge: a Konsool/Tanmatsu remix with two ESP32s, a LORA module, screen, keyboard and sensors

Posted by jpluimers on 2025/07/24

The leak was short enough for Google to index the imagery and this text:

WHY2025 nam het zekere voor het onzekere door een ESP32-controller, een lora-chip en een kraakhelder scherm in zijn badge te verwerken. Tweakers …

Edit 20250727: two days later the page got reinstated without in their “Gathering of Tweakers” portion of the site a clarification why it was taken off-line for two days. It is still at the same URL, so I re-archived it: [Wayback/ArchiveBad] Dit is de WHY2025-badge met twee ESP32’s en een loramodule (need to re-archive in Archive.is as their IP got blocked)

The page now is a nice 404: [Wayback/Archive] Dit is de WHY2025-badge met twee ESP32’s en een loramodule

Not sure why the page got retracted, as the specs got released on LinkedIn a month ago at [Wayback/Archive] 🚀 Officially public launched: the WHY2025 Badge! | Jelmer Lopes Terto:

Read the rest of this entry »

Posted in Conferences, Development, ESP32, Event, Hardware Development, WHY2025 | Leave a Comment »

Important debugging strategy from b0rk: “after the bug is fixed: write a postmortem”

Posted by jpluimers on 2025/07/24

[Wayback/Archive] Julia Evans on Twitter: “after the bug is fixed: write a postmortem”

title: write a postmortem For very tricky bugs, writing up an explanation of what went wrong and how it was fixed is an amazing way to share knowledge and make sure I really understand it. Ways I've done this in the past: * complain about it in the internal chat! (so people can search for it!) * write a quick explanation in the pull request description * write a fun blog post telling my tale of woe! * for really important work bugs, write a 5-page document with graphs explaining all the weird stuff I learned along the way

–jeroen

Posted in Conference Topics, Conferences, Debugging, Development, Event, Software Development | Leave a Comment »

Overlay of commands / shortcuts / keys pressed – Screencast Mode · Issue #981 · microsoft/PowerToys · GitHub

Posted by jpluimers on 2025/07/23

This is a reminder to check if this below late 2019 proposal inspired by Visual Studio Code Screencast mode¹ already made it: [Wayback/Archive] Overlay of commands / shortcuts / keys pressed – Screencast Mode · Issue #981 · microsoft/PowerToys · GitHub which mentions some tools that can already do this

Here is a list of FOSS apps that currently do this (sorted by stars):

To add to this list (unsorted):

In the meantime, I am using Key-n-Stroke as it is the only still supported one I found that is easily turned off/on when typing sensitive content like passwords:

Read the rest of this entry »

Posted in .NET, Development, Keyboards and Keyboard Shortcuts, KVM keyboard/video/mouse, Power User, PowerToys, Software Development, vscode Visual Studio Code, Windows | Tagged: , | Leave a Comment »

GitHub – minvws/horsebattery: A password generator inspired by https://xkcd.com/936/

Posted by jpluimers on 2025/07/22

[Wayback/Archive] GitHub – minvws/horsebattery: A password generator inspired by https://xkcd.com/936/

Inspiration: [Wayback/Archive] xkcd: Password Strength

Curated Dutch word list: [Wayback/Archive] horsebattery/config/nl/word-list.txt at main · minvws/horsebattery · GitHub

Via: [Wayback/Archive] Discord

--jeroen

Posted in Development, Passwords/manages, PHP, Power User, Scripting, Software Development | Leave a Comment »

Windows Data Types (BaseTsd.h) – Win32 apps | Microsoft Learn

Posted by jpluimers on 2025/07/22

A while ago, I had to figure out the field sizes for some Windows API functions. In the distance past, the base data types used to be defined in windows.h, but  over the decades that file has been split into various other files as there are far more than just the BOOL, int, UINT, DWORD, HWND, LPARAM and WPARAM data types. Currently the data types are defined in [Wayback/Wayback] Windows Data Types (BaseTsd.h) – Win32 apps | Microsoft Learn.

Note that C++ allows to specify bit field sizes for fields in struct composite data types, so under some circumstances, fields my have a different number of bits than you might expect from their data type.

Via [Wayback/Archive] c++ dword uint size – Google Search.

–jeroen

Posted in C++, Development, Software Development, Visual Studio C++, Windows Development | Leave a Comment »

DNS/web options: How to verify your Bluesky account – Bluesky

Posted by jpluimers on 2025/07/21

Just in case I ever want to bind a BSKY handle to a domain name I own:

Via:

--jeroen

Posted in BlueSky, Development, DNS, Hosting, Internet, Power User, SocialMedia, Software Development, Web Development | Leave a Comment »

Disabling the ever returning screens after Windows install/upgrade, and advertisements/feeds

Posted by jpluimers on 2025/07/21

This started out ad a post to make things easier for my mentally brother, but then I figured it makes it so much easier for myself as well: getting rid of the evern returning Windows nag screens. Not just the ones after logon during initial Windows install that get back about every other Windows 20H update (thank god they stepped away from 19## version numbering that felt so, ehm, last millennium), but also the various “suggestions” in start menu, on the taskbar and elsewhere.

I understand that basically giving Windows 10 and 11 for free to many Windows 7/8 licensed machines or Windows-preinstalled machines induces Microsoft to see Windows as an advertising environment, but hey: many users can do without these distractions.

It is hard to solve, as even the underlying registry settings seem to be reset every once in a while, and solving it globally is not an option: the settings are a per-user one. Which means you need to run script early during every Windows logon to overwrite these settings.

Read the rest of this entry »

Posted in Batch-Files, CommandLine, Conference Topics, Conferences, Development, Event, Power User, PowerShell, PowerShell, Registry Files, Scripting, Software Development, Windows, Windows 10, Windows 11, Windows Development | Tagged: | Leave a Comment »

Power goes nuts – Network UPS Tools on a Raspberry Pi! – Jeff Geerlings -YouTube

Posted by jpluimers on 2025/07/17

Interesting NUT explanation: [Wayback/Archive] Save your servers! NUT on a Raspberry Pi! – YouTube.

Wonder how well it does with a combo of APC and Victron UPS systems.

Related:

--jeroen

Posted in apcupsd, Development, Hardware Development, Hardware Interfacing, Power User, Raspberry Pi, UPS | Leave a Comment »

Q145994: HOWTO: Calculate Dialog Units When Not Using the System Font | KnowledgeBase Archive

Posted by jpluimers on 2025/07/17

It is odd that Microsoft now verifies to an external party because most of the Microsoft KB articles got deleted: [Wayback/Archive] Q145994: HOWTO: Calculate Dialog Units When Not Using the System Font | KnowledgeBase Archive.

Part of them document aspects from Microsoft Foundation Class Library – Wikipedia which is still supported.

Via: [Wayback/Archive] How does the dialog manager calculate the average width of a character? – The Old New Thing:

Read the rest of this entry »

Posted in C++, Development, Software Development, Visual Studio C++, Windows Development | Leave a Comment »

Alan Turing Wrote Object-Oriented Code In C And Ran It On BEAM – De Programmatica Ipsum

Posted by jpluimers on 2025/07/16

I originally missed this as back then I was in the midst of managing trouble in my parental family, unaware I was already having rectum cancer. Then things went fast, not even including the Covid-19 years, so I was glad last year I got reminded of this mid-2019 article:

[Wayback/Archive] Alan Turing Wrote Object-Oriented Code In C And Ran It On BEAM – De Programmatica Ipsum writes a lot of interesting things on programming paradigms, starting with

In his rare 1994 book “Object-Oriented Programming In C” Axel Tobias Schreiner explains how to do inheritance, class methods, class hierarchies, and even how to raise exceptions using nothing else than pure, simple, pointer arithmetic-filled, ANSI C.

then arguing basically most of not all modern languages share the majority of programming paradigms and all these paradigms are repeats of the past:

These days, we are using the offsprings of multiple programming paradigms having unprotected sex with one another in a thoughtful orgy. PHP, C#, Perl, C++ and even Visual Basic have all closures, lambdas or anonymous functions now. F# and Scala can instantiate any class included in their corresponding vendor-provided frameworks. JavaScript implements functions as objects with a single method .call(). Haskell comonads are actually objects. Swift 1.0 implemented instance methods as curried functions.
But none of this is new. Smalltalk, arguably the precursor of object orientation, had collect and select methods which were the grandparents of our more common map and filter functional friends.

What sets modern languages apart is that they the majority covers all the paradigms you might need, just differing in how well they support the paradigm-du-jour.

It means programming language wars should have been a thing of the past for about two decades now.

Please let that sink in.

 

Oh: if you look for that ANSI C book, here it is: [Wayback/Archive] https://www.cs.rit.edu/~ats/books/ooc.pdf [Wayback PDF View/PDF View]

 

Via: [Wayback/Archive] De Programmatica Ipsum: “”In his rare 1994 book “Object…” – mas.to

--jeroen

Posted in .NET, C, C#, C++, Cloud, COBOL, Containers, Design Patterns, Development, Docker, Erlang, F#, Go (golang), Haskell, Infrastructure, Java, Java Platform, Kotlin, Kubernetes (k8n), ObjectiveC, OOP (Object Oriented Programming), Perl, Scala, Scripting, Software Development, Swift, VB.NET | Leave a Comment »