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

Hopefully by now the Chocolatey .nuspec extensions and limitations are documented in a more central way

Posted by jpluimers on 2025/08/08

Chocolatey extends the NuGet file format .nuspec based XML files as base for their packages with at the time of writing very sparse and limited documentation in what it extends, why it does that and what extra limitations it imposes on the fields used inside .nuspec files.

Hopefully by now that has improved, so this post is a reminder to myself to check that out eventually.

At the time of writing, the NuGet .nuspec documentation was at [Wayback/Archive] .nuspec File Reference for NuGet | Microsoft Learn and the file format at [Wayback/Archive] NuGet.Client/nuspec.xsd at dev · NuGet/NuGet.Client. Most fields are defined as primitive data types xs:boolean, xs:string and xs:anyURI (of the 19 available primitive XML SChema (W3C) types). Some composite data types are are composed from them using local and global complexType, most using xs:all, xs:attribute or single-type unbounded xs:sequence (which all imply no particular order).

Since an XML Schema allows to both use restriction and extension on data types (the eXtensible in XML!), making them more strict is a relatively straight-forward operation and has the benefit of having these in a central place.

In the past for more than 5 years [Wayback/Archive] Is there a specification for the package format? · Issue #379 · chocolatey/choco was just pointing to the NuGet .nuspec format, but after a request to re-open new comments were made pointing to a current issue (basically a stub, but still) and a Chocolatey nuspec.xsd file, yay!

Still it was a quest to figure out the additional rules they have added, especially since the documentation was sparse and sloppy.

Read the rest of this entry »

Posted in Chocolatey, Development, Power User, Windows, Windows 10, Windows 11, Windows 7, Windows 8, Windows 8.1, XML/XSD, XSD | Tagged: , , , , , , | Leave a Comment »

html – What can cause Chrome to give an net::ERR_FAILED on cached content against a server on localhost? – Stack Overflow

Posted by jpluimers on 2025/08/07

On my research list [Wayback/Archive] html – What can cause Chrome to give an net::ERR_FAILED on cached content against a server on localhost? – Stack Overflow

The reason what that back then this would fail (but worked in Firefox and Safari, and because I was in a hurry I didn’t research further): [Wayback/Archive] https://www.office.com/

This site can’t be reached

The webpage at https://www.office.com/ might be temporarily down or it may have moved permanently to a new web address.

ERR_FAILED

Thanks [Wayback/Archive] Mason Wheeler and [Wayback/Archive] Joel Davey.

Details:

Read the rest of this entry »

Posted in Chrome, Communications Development, Development, Encryption, HTTP, https, HTTPS/TLS security, Power User, Security, TCP, TLS, Web Browsers, Web Development | Leave a Comment »

Looking for an alternative to the (now dead) ZXing Barcode Scanner – Apps on Google Play

Posted by jpluimers on 2025/08/07

Edit 20250807: (thanks [Wayback/Archive] twm/dummzeuch!) at [Wayback/Archive] dummzeuch: “@wiert yeah, I found out about…” – Mastodon

@wiert yeah, I found out about this a few weeks ago, when I wanted to install it on my new phone.
I switched to this one:

gitlab.com/Atharok/BarcodeScan

But I haven’t used it enough to be able to make a final evaluation.

So I will try [Wayback/Archive] Atharok / Barcode Scanner · GitLab with the install from the Android App-store [Wayback/Archive] Scanner: QR Code and Products – Apps on Google Play.

Original post:

Read the rest of this entry »

Posted in Android, Development, Mobile Development, Software Development | Tagged: | Leave a Comment »

peter purgathofer: “… i recently found a little HDMI-fob that fakes a second screen; i can now see my presenters’ notes on the built-in screen, while the presentation is on a hallucinated second screen …” – 🌱 hci.social

Posted by jpluimers on 2025/08/06

The below post reminded me that around black friday I bought [Wayback/Archive] ADWITS 2-Pack 4K 2K 1080P 30Hz to 60Hz Support HDMI Display Emulator DDC EDID Headless Ghost Monitor Adapter Dummy Plug, Highest 4096 x 2160 @ 60Hz – Gold Colour: Amazon.de: PC & Video Games

[Wayback/Archive] peter purgathofer: “today i gave a talk, where the…” – 🌱 hci.social

today i gave a talk, where the setup was that i had to share my presentation over zoom, but i didn’t have a second screen. this usually meant that i have to forgo seeing my presenters’ notes because my notebook’s screen would be the shared presentation screen.

i recently found a little HDMI-fob that fakes a second screen; i can now see my presenters’ notes on the built-in screen, while the presentation is on a hallucinated second screen.

simple and effective.

--jeroen


Image from the Toot: [Wayback/Archive] 6af960c3f84a12e8.jpeg (2939×2821)

Posted in Development, Hardware Interfacing, HDMI, LifeHacker, Power User | Leave a Comment »

linux – Get final URL after curl is redirected – Stack Overflow (plus some Twitter scraping tricks)

Posted by jpluimers on 2025/08/06

Sometimes I need [Wayback/Archive] Redirect Checker | Check your Statuscode 301 vs 302 on the command-line, so cURL to the rescue: [Wayback/Archive] linux – Get final URL after curl is redirected – Stack Overflow. The relevant portions of answers and comments further below.

TL;DR:

Since I prefer verbose command-line arguments (you can find them at the [Wayback/Archive] curl – How To Use on-line man page) especially in scripts this HTTP GET request is what works with Twitter:

% curl --location --silent --output /dev/null --write-out "%{url_effective}\n" https://twitter.com/anyuser/status/20
https://x.com/anyuser/status/20

This failed (twitter dislikes HTTP HEAD requests):

% curl --head --location --silent --output /dev/null --write-out "%{url_effective}\n" https://twitter.com/anyuser/status/20
https://twitter.com/anyuser/status/20

Notes

Given so many of my scripts now run on zsh, I added the new-line because of command line – Why does a cURL request return a percent sign (%) with every request in ZSH? – Stack Overflow. You can strip that bit.

Note that these do not perform client side redirects, so they do not return the ultimate originating URL https://x.com/jack/status/20 (which was the first ever Tweet on what was back then called twttr) as Twitter on the client-side overwrites window.location.href with the final URL. Similar behaviour for getting the Twitter user handle of a Twitter user ID, more on Twitter tricks below.

Tweet by TweetID trick via [Wayback/Archive] Accessing a tweet using only its ID (and without the Twitter API) – Bram.us.

Further reading (thanks [Wayback/Archive] vise, [Wayback/Archive] Daniel Stenberg, [Wayback/Archive] Ivan, [Wayback/Archive] AndrewF, [Wayback/Archive] Roger Campanera, and [Wayback/Archive] Dave Baird):

Read the rest of this entry »

Posted in *nix, *nix-tools, bash, Batch-Files, Bookmarklet, Communications Development, Conference Topics, Conferences, CSS, cURL, Development, Event, HTTP, Internet protocol suite, JavaScript/ECMAScript, Power User, Scripting, SocialMedia, Software Development, TCP, Twitter, Web Browsers, Web Development | Tagged: | Leave a Comment »

Tootski, a sharing bookmarklet for Mastodon · GitHub

Posted by jpluimers on 2025/08/05

For my research list: [Wayback/Archive] Tootski, a sharing bookmarklet for Mastodon · GitHub

--jeroen

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

Figuring out the version of a GitLab instance

Posted by jpluimers on 2025/08/05

The easiest way to figure out the version number of a GitLab instance is to browse to the /help bage.

But be aware the version number only shows when you are signed in.

At the time of writing [Wayback/Archive] Help · GitLab (gitlab.com/help) showed this:

GitLab Enterprise Edition 15.7.0-pre ff1158094d6

The link showed [Wayback/Archive] Commits · ff1158094d6 · GitLab.org / GitLab · GitLab.

When nog logged on, the help page showed this:

GitLab Enterprise Edition

Via [Wayback/Archive] Markdown rendering of double indented lists fails (#33471) · Issues · GitLab.org / GitLab FOSS · GitLab.

Confirmed by [Wayback/Archive] How to check the version of GitLab? – Stack Overflow (thanks [Wayback/Archive] Maxim).

–jeroen

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

BMW E61 rear light water fix damage – YouTube

Posted by jpluimers on 2025/08/04

One of my BMW E61 rear light fixtures leaked: [Wayback/Archive] BMW E61 rear light water fix damage – YouTube

[Wayback/Archive] Tail Light Leak…? | BMW M5 Forum and M6 Forums

Personally I’d start with new gaskets.

In my case, it was the light fixture itself leaking, not the gaskets, so either the work in the video is needed, or a second hand tail light.

Queries:

--jeroen

Read the rest of this entry »

Posted in cars, E61 530xd touring, LifeHacker, Power User | Leave a Comment »

Windows: editing the RLU list of vncviewer.exe

Posted by jpluimers on 2025/08/04

Every now and then you make a typo when accessing remote systems through UltraVNC  vncviewer.exe (I did the worst: thinking I had hit Enter to select the most recent connection, but typing a password instead).

I could not find settings in the registry, nor a vncviewer.ini file, so I used Process Monitor and filtered all events for the most recently started vncviewer.exe to figure out where it would store configuration files.

Read the rest of this entry »

Posted in Power User, *nix, Windows 7, Windows 8, Windows, Windows 8.1, *nix-tools, Windows 10, VNC/Virtual_Network_Computing, Windows 11 | Leave a Comment »

WHY2025 Badge Case by Dynom | Download free STL model | Printables.com

Posted by jpluimers on 2025/08/02

If you are going to WHY2025, then you get an awesome badge.

Since the specs have been out for a while, now it’s time to find and 3D-print an enclosure for it.

A good start is this one:

https://www.printables.com/model/1372316-why2025-badge-case

jeroen

Related Blog post:

Posted in Uncategorized | Leave a Comment »