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 July, 2025

command line – Why does a cURL request return a percent sign (%) with every request in ZSH? – Stack Overflow

Posted by jpluimers on 2025/07/31

I try to stay on the default shells of environments as much as possible, especially as that makes life easier when needing to work on an non-customised system.

Apple switched back from an ancient latest GPLv2 version 3.2 of bash (they regard newer GPLv3 as toxic to their revenue stream¹), introduced MIT-license based zsh and introduced a bash nag screen a few years ago forcing users to switch. Suppressing that message reliably is trickier than you might think².

After so many years of bash, I still stumble over things that zsh does differently: [Wayback/Archive] command line – Why does a cURL request return a percent sign (%) with every request in ZSH? – Stack Overflow (thanks [Wayback/Archive] Travis and [Wayback/Archive] zaTricky) is a “feature” with a simple workaround for cURL:

This is a zsh feature that prints a percent-and-newline after a command completes if that command does not already include a newline at the end of its output. If zsh did not do this, you would either not ever notice the fact that the command didn’t print a newline – or you’d see zsh’s command prompt not start on the margin and think it was a bug in zsh.

$ curl http://api.macvendors.com/0015c7   
Cisco Systems, Inc%     
$ curl -w '\n' http://api.macvendors.com/0015c7
Cisco Systems, Inc

Since the above example now writes a redirect messages (good bye HTTP, welcome HTTPS), and I very much dislike short command-line parameters, here is version with the long form of the [Wayback/Archive] curl -w or --write-out parameter :

Read the rest of this entry »

Posted in *nix, *nix-tools, Apple, bash, bash, Development, Mac OS X / OS X / MacOS, macOS 14 Sonoma, macOS 15 Sequoia, Power User, Scripting, Software Development, zsh | Leave a Comment »

Kevlin Henney on “configuration is code” in his essay “Out of Control. An essay on paradigms, refactoring…”

Posted by jpluimers on 2025/07/31

For my link archive [Wayback/Archive] Out of Control. An essay on paradigms, refactoring… | by Kevlin Henney | Dec, 2020 | Medium.

Neither because Kevlin describes how to refactor a basic algorithm to convert Roman numerals into Hindu-Arabic numerals (in part by using the fact that an if statement can be considered a bounded case of a while loop), nor because he splits the resulting algorithm in coded data and coded statements, or because he mentions the [Wayback/Archive] Gilded Rose Kata but because well, you should just read it in full.

Remember though: Read the rest of this entry »

Posted in Configuration Management, Development, DevOps, Power User, Python, Scripting, Software Development | Leave a Comment »

Not just for Delphi, but any environment: Why You Should Use NowUTC Instead of Now in Delphi: A Quick Guide

Posted by jpluimers on 2025/07/30

The video is from a while back, but very relevant and shows in Delphi what I have been advocating to software developers for a very long time:

  • when timestamping use UTC
  • when storing the timestamp store both the UTC timestamp and optionally the UTC timezone/offset and optionally daylight saving indicator of the region it was recorded from

This holds for any environment, so .NET / C#, Python, Delphi and many others as well:

Read the rest of this entry »

Posted in Conferences, Delphi, Development, EKON, Event | Leave a Comment »

From @forrestbrazeal: Boilerplate code through ChatGPT or Google slows development teams down similar to technical debt

Posted by jpluimers on 2025/07/30

Via [Wayback/Archive] Angie Jones on Twitter: “Chart by Forrest Brazeal” I found the original at [Wayback/Archive] Forrest Brazeal on Twitter: “Just saying. “ Read the rest of this entry »

Posted in AI and ML; Artificial Intelligence & Machine Learning, Conference Topics, Conferences, Development, Event, Software Development, Technical Debt | Leave a Comment »

Dennard scaling – Wikipedia: finally learned why since 20 years, maximum CPU frequency stagnated at about 4 Ghz

Posted by jpluimers on 2025/07/29

Dennard scaling – Wikipedia

Since around 2005–2007 Dennard scaling appears to have broken down. As of 2016, transistor counts in integrated circuits are still growing, but the resulting improvements in performance are more gradual than the speed-ups resulting from significant frequency increases.[1][10] The primary reason cited for the breakdown is that at small sizes, current leakage poses greater challenges and also causes the chip to heat up, which creates a threat of thermal runaway and therefore further increases energy costs.[1][10] Since 2005, the clock frequency has stagnated at 4 GHz, and the power consumption per CPU at 100 W TDP.

Via [Wayback/Archive] What Happened to the Capacitors in 2002? – YouTube

--jeroen

Posted in Development, Electronics Development, Hardware, Hardware Development, Power User | Leave a Comment »

PowerShell: playing around with Get-PnpDevice filtering with -Class and -Status

Posted by jpluimers on 2025/07/29

I while ago I was playing around in PowerShell with Get-PnpDevice (which got introduced in Windows 10 and Windows Server 2019):

[Wayback/Archive] Jeroen Wiert Pluimers: “@jilles_com … this is the difference between only connected disks versus including ones that had been connected in the past.Output difference between Get-PnpDevice -Class DiskDrive -Status OK Get-PnpDevice -Class DiskDrive …” – Mastodon

Read the rest of this entry »

Posted in .NET, Batch-Files, CommandLine, Development, Power User, PowerShell, PowerShell, Scripting, Software Development, Windows, Windows 10, Windows 11 | Leave a Comment »

Filtering your Mastodon timeline to automatically hide posts containing certain words, phrases, hashtags, links or emoji | Fedi.Tips – An Unofficial Guide to Mastodon and the Fediverse

Posted by jpluimers on 2025/07/28

[Wayback/Archive] Filtering your Mastodon timeline to automatically hide posts containing certain words, phrases, hashtags, links or emoji | Fedi.Tips – An Unofficial Guide to Mastodon and the Fediverse

Always convenient for events like these:

[Wayback/Archive] Die™ar: “Doe mee met de Mastodon Wie is…” – Mastodon

--jeroen

Posted in Fediverse, Mastodon, SocialMedia | Tagged: , , | Leave a Comment »

Discover the Google Cloud Skills Boost annual subscription benefits | Google Cloud Blog

Posted by jpluimers on 2025/07/28

Hopefully by now discounts like this are still available: [Wayback/Archive] Discover the Google Cloud Skills Boost annual subscription benefits | Google Cloud Blog

Read the rest of this entry »

Posted in Cloud, Cloud Development, Development, GCP Google Cloud Platform, Infrastructure | Tagged: , | Leave a Comment »

ACR Phone Dialer, Call Recorder, SIP client & Spam Blocker by NLL APPS official website

Posted by jpluimers on 2025/07/25

[Wayback/Archive] ACR Phone Dialer, Call Recorder, SIP client & Spam Blocker by NLL APPS official website:

Read the rest of this entry »

Posted in Android, Android Devices, Development, Mobile Development, Power User | Leave a Comment »

Needed a binary paste bin since GitHub gists and GitLab snippets cannot even contain non-picture small binaries

Posted by jpluimers on 2025/07/25

Most of what I share is in text or picture form but every once in a blue moon I need to share small binaries publicly in a way mere mortals can use.

Since neither GitHub gists nor GitLab snippets support other binary files than images*, and most Pastebin sites are text-only I queried [Wayback/Archive] binary pastebin – Google Search which got me to [Wayback/Archive] Binary pastebin | boltblog.

That in turn pointed to [Wayback/Archive] Pastebin (paste.c-net.org) which has a full page of help, including this important bit:

Read the rest of this entry »

Posted in Development, gist, GitHub, GitLab, Power User, Source Code Management | Tagged: , | Leave a Comment »