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

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 »

Installing and authenticating the GitHub CLI gh and GitLab CLI glab on Windows

Posted by jpluimers on 2025/07/16

As a keyboard person, I prefer to live on the CLI (command-line interface), so when possible I prefer command-line tools over GUI tools (especially since command-line tool are way easier to script).

In the past on non-Windows systems I used gist (see below), but that is not available on Windows unless you have a Ruby environment.

Some notes on Windows to install and authenticate GitHub CLI (gh) and GitLab CLI (glab), both of which I previously mentioned in Tribal Knowledge? Getting the public keys from github and gitlab users from their username.

For me, installing is easiest through Chocolatey (version numbers from the time of writing; the non-archived URLs point to the most current version available):

This was my install script:

Read the rest of this entry »

Posted in Conference Topics, Conferences, Development, DVCS - Distributed Version Control, Event, git, GitHub, GitLab, Power User, Software Development, Source Code Management | Tagged: | Leave a Comment »

TRURL – Free Pascal wiki: a class library for Object Pascal supporting the creation of virtual calculators with reverse Polish notation

Posted by jpluimers on 2025/07/15

On my list of libraries to play around with: [Wayback/Archive] TRURL – Free Pascal wiki

TRURL is a class library for Object Pascal supporting the creation of virtual calculators with reverse Polish notation (RPN). It comes with demo projects and several ready-to-use calculators for macOS, Linux and Windows.

TRURL is an acronym for “TRURL is a Reusable Universal RPN Library”.

Repositories:

Via [Wayback/Archive] TrurlTeam (@teamtrurl.bsky.social) — Bluesky.

--jeroen

Posted in Delphi, Development, FreePascal, Object Pascal, Pascal, Software Development | Leave a Comment »

Rust Playground

Posted by jpluimers on 2025/07/15

Cool when learning Rust: [Wayback/Archive] Rust Playground.

Via: [Wayback/Archive] 🔎Julia Evans🔍 on Twitter: “trying out something new with my rust advent of code learning — every time I run into a type error I really don’t understand, I’m trying to reproduce it in play.rust-lang.org, save it, and write up some quick notes about what I learned from that error”

A related tweet with blog post is [Wayback/Archive] 🔎Julia Evans🔍 on Twitter: “a couple of Rust error messages jvns.ca/blog/2022/12/02/a-couple-of-rust-error-messages: [Wayback/Archive] A couple of Rust error messages

More Rust coverage by b0rk via [Wayback/Archive] from:@b0rk rust – Twitter Search.

–jeroen

Posted in Development, Rust, Software Development | Leave a Comment »

Igor Brigadir posted a few useful Twitter search tips a while back: searching tweets, users, disable auto-URL, embedding media, etc

Posted by jpluimers on 2025/07/11

For my link archive:

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

What is the purpose of the ‘figure’ tag in html? – Stack Overflow

Posted by jpluimers on 2025/07/10

Not being a front-end web-developer, I hadn’t seen¹ the figure element in HTML code before, so here are some links:

TL;DR – figure it is like a div element, but context specific: it groups elements that logically for one figure, including an optional description in the figcaption.

The group can be moved outside the main content flow without changing the meaning of that flow.

Query: [Wayback/Archive] what is a html figure for – Google Search

--jeroen

¹ I surely am not the only one, as the figure element isn’t even on the element usage graph in the [Wayback/Archive] HTML Study – AWR SEO Guide.

Posted in Development, HTML, HTML5, Software Development, Web Development | Leave a Comment »

badamczewski/PowerUp: ⚡ Decompilation Tools and High Productivity Utilities ⚡

Posted by jpluimers on 2025/07/10

Below is a really cool tool-set for Visual Studio Code of which its development started when I was recovering from life-saving bowel-surgery during the series of procedures to get rid of my metastasised rectum cancer.

It supports decompilation of various languages (.NET C# and F#, GO, Rust and clang) into either x86 assembler or IR (Intermediate Representation, on the .NET side often also called IL for Intermediate Language) to research how well a compiler stack behaves.

[Wayback/Archive] badamczewski/PowerUp: ⚡ Decompilation Tools and High Productivity Utilities ⚡:

Read the rest of this entry »

Posted in .NET, C#, C++, Development, F#, Go (golang), Rust, Software Development | Leave a Comment »

[OpenWrt Wiki] MikroTik

Posted by jpluimers on 2025/07/09

I wasn’t aware that [Wayback/Archive] [OpenWrt Wiki] MikroTik was available. Many devices are incomplete in support, but it is good to know there is an alternative to the buggy scripting interface of RouterOS.

For the hEX series, support seems good enough to give it a try this summer, but I need to figure out of the hEX PoE RB960PGS is supported. I have good hopes as other models of the RB9* series are.

A few warnings from the below links:

  • First Things First: Don’t Lose Your RouterOS License
  • OpenWrt is not compatible with the bootloader of RouterOS v7. Do NOT upgrade the firmware on your device to RouterOS v7 or, if you did, downgrade to RouterOS Firmware v6 before installing OpenWrt. RouterOS doesn’t allow to downgrade below factory firmware version, but OpenWrt boots and works fine with versions up to 6.49.10 or beyond. Confirmed working: 6.47.10 (tested on SXTsq 5 ac), 6.49.10 (tested on SXTsq 2nD).
  • If the installation fails, you might need to upgrade/downgrade to RouterOS 6.49.2
  • Warning: Don’t upgrade RouterOS packages & bootloader to 7.2.1 otherwise ‘sysupgrade image’ install will fail!
  • If latested release of RouterOS does not work, try an older version. 6.45 is reportet to work as a first debrick, you can upgrade later with the Winbox Software to latest release

These hEX related models are supported on the web-site (which also explains major differences with Fast Ethernet (100 Mbit/s) and Gigabit Ethernet (1 Gbit/s) models:

Read the rest of this entry »

Posted in Development, Hardware, MikroTik, Network-and-equipment, Power User, routers, Scripting, Software Development | Leave a Comment »

Alex’s Bookmarklets – New Twitter RSS Bookmarklet, Font Bookmarklet

Posted by jpluimers on 2025/07/09

Some entries for my inspiration: [Wayback/Archive] Alex’s Bookmarklets – New Twitter RSS Bookmarklet, Font Bookmarklet

–jeroen

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