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

Archive for 2023

How to disable Chrome’s new targeted ad tracking: visit chrome://settings/adPrivacy

Posted by jpluimers on 2023/09/06

Go to chrome://settings/adPrivacy and disable all to make it look like this:

[Wayback/Archive] 266577344-cd2613d0-f97d-46e1-bfbb-9d8c432c40c8.png (656×183)

Via these tweets: Read the rest of this entry »

Posted in Chrome, Chrome, Google, Power User, Privacy, Web Browsers | Leave a Comment »

Two Ways of Solo Programming – Seaside Testing

Posted by jpluimers on 2023/09/05

Food for thought from Stephan Kämper: [Wayback/Archive] Two Ways of Solo Programming – Seaside Testing

TL;DR:

  • it is about the time in between paid projects
  • mode 1: learning; each day ends with a working state (compiling source, passing tests)
  • mode 2: personal projects (libraries, tools); each day ends with a failing test as a guidance what to keep working on

The last one refers to [Wayback/Archive] Try ending today with a failing test for a great start tomorrow – DEV Community by [Archive] Nick Holden (@NickyHolden) / Twitter.

Via: [Wayback/Archive] Stephan Kämper on Twitter: “A new short-ish blog post about two slightly different ways of programming, when work ‘solo’ ➙ …” / Twitter

–jeroen

Posted in Agile, Awareness, Development, Software Development, TDD, Testing | Leave a Comment »

Adobe Reader (a.k.a. Adobe Acrobat Reader DC): “Access denied” might not actually mean access denied

Posted by jpluimers on 2023/09/04

Adobe Acrobat Reader DC (née Adobe Reader) has a mind of it’s own not just in names. Error handling, messages and user experience are, well, peculiar.

A while ago, I bumped into this error when double clicking on a PDF file:

Access denied.

Access denied.

I tried Ctrl-C to copy the text, which has been a feature of standard dialogs as of Windows 2000 (see [Wayback] Cutting Edge: Using Windows Hooks to Enhance MessageBox in .NET | Microsoft Docs) and not hard to implement.

Well, Adobe decided to not support this great user experience: no dialog data on the clipboard, so I had to manually type it:

[Adobe Reader]
There was an error opening this document. Access denied.
[OK]

and searched for [Wayback] “There was an error opening this document. Access denied.” “Reader DC” – Google Search (I will explain the Reader DC bit below) without any useful hints (apart from “reinstall, Adobe Acrobat Reader DC might be corrupted”, lowering security settings and phishing sites wanting me to download so called “repair tools”).

So I decided to open the file using the File -> Open menu with the same file and got a fresh new error:

The file path is too long.

The file path is too long.

Of course, Ctrl-C here would fail too, so this is the error text:

[Adobe Acrobat Reader]
The file path is too long. Please specify a shorter file name or
save to a location that has a shorter path.
[OK]

Three things about this error message:

  1. It has a totally different message (with the actual reason the file cannot be opened)
  2. The caption is “Adobe Acrobat Reader”, where the first message had “Adobe Reader” as caption.
  3. It actually has an error icon (exclamation mark), where the first message (despite being an error) has the informational icon (encircled i).

Adobe still seems ambivalent on their product name, it is actually Adobe Acrobat Reader DC DC superseding version X, hence the Reader DC bit in the search), but they still call it Adobe Reader and Adobe acrobat Reader.

After all these years, Adobe is inconsistent at best.

–jeroen

Posted in Adobe, Adobe Reader, Power User | Leave a Comment »

Fritz!Box firewall permissions for NPO Start

Posted by jpluimers on 2023/09/01

I had to add the below to the firewall permission list of a Fritz!Box to allow watching NPO Start, the free Video on Demand service of the Dutch public broadcasting system:

npostart.nl
assets.npo-data.nl
www-assets.npo.nl
start-player.npo.nl
ccm.npo.nl
images.npo.nl
npo-drm-gateway.samgcloud.nepworldwide.nl
time.akamai.com
npo.prd.cdn.bcms.kpn.com

You can find the list on the page fritz.box/?lp=trafapp under Permitted websites edit.

–jeroen

Posted in Fritz!, Fritz!Box, Hardware, LifeHacker, Network-and-equipment, Power User | Leave a Comment »

Belastingaangifte 2022 met Excel gratis downloaden | Computer Idee

Posted by jpluimers on 2023/08/31

Net op tijd gelukt met de Excel tool van Computer Idee die dit jaar wat lastiger te vinden was dan vorig jaar

Vorig jaar blogde ik dit: Belastingaangifte 2021 met Excel gratis downloaden | Computer Idee

De links van dit jaar:

Read the rest of this entry »

Posted in Excel, LifeHacker, Office, Power User | Leave a Comment »

open source – What are the legal considerations when forking a BSD-licensed project? – Software Engineering Stack Exchange

Posted by jpluimers on 2023/08/31

Someone pointed me to the answer of [Wayback/Archive] open source – What are the legal considerations when forking a BSD-licensed project? – Software Engineering Stack Exchange by [Wayback/Archive] Earlz (question by [Wayback/Archive] Thomas Owens):

The common thing I see to handle this is basically using some kind of version control and when a file is changed by a large amount, adding a copyright header.
For instance, in OpenBSD I believe they follow a convention like this:
--top of file--
[copyright header of recent "major" editor]

[copyright header of previous major editor]

[copyright header of creator]
(where copyright header is BSD license or whatever)
This handles the copyright issue for the most part. Basically anytime a major edit is done on a file, a copyright header will be added. Major is subjective, but usually involves more than trivial refactoring or porting.

Which meant that some copyrights had to be updated at [Wayback/Archive] Update copyrights · Issue #37 · jpluimers/fritzcap · GitHub

–jeroen

Posted in Development, Open Source, Software Development | Leave a Comment »

Jan-Piet Mens :: A shell command to create JSON: jo

Posted by jpluimers on 2023/08/30

Stumbled across something that goes well with jq (the sed for JSON of which I wrote about before), [Wayback/Archive] Jan-Piet Mens :: A shell command to create JSON: jo:

Read the rest of this entry »

Posted in Development, JavaScript/ECMAScript, jo, jq, JSON, Scripting, Software Development | Leave a Comment »

Caroline Brouwer on Twitter: “Vrijdag verhuizen we op de FM 📦🎶 check je nieuwe frequentie op radioveronica.nl”

Posted by jpluimers on 2023/08/30

[Wayback/Archive] Caroline Brouwer on Twitter: “Vrijdag verhuizen we op de FM 📦🎶 check je nieuwe frequentie op radioveronica.nl

De echte link is www.radioveronica.nl/fm-frequenties-vanaf-september-23

–jeroen

PS:

Kaartje net nieuwe FM-frequenties staat op

Posted in LifeHacker, Power User | Leave a Comment »

.NET/C#: Small command-line tool to query REST JSON results from a batch file.

Posted by jpluimers on 2023/08/29

Often the power is in the combinations of tools.

Read until the epilogue…

Prologue

In this case, I needed to be able to query the JSON results of calls to REST services from the command-line so I could process them in Batch files.

Since I could not find anything readily available, I originally Originally I opted for the PowerShell command-line scripting tool, as that ships with recent Windows versions and can re-use anything that .NET brings. But though [Wayback/Archive] .NET has built in JSON serialization support, there is [Wayback/Archive] no querying support in it.

Then I thought about Delphi, as it [Wayback/Archive] too has a built-in JSON parser, but even the well known [Wayback/Archive] JSON SuperObject library has no query support.

Back to .NET, which – like Delphi – has a well known and respected third party JSON library as well: [Wayback/Archive] NewtonSoft JSON aka JSON.net and that one [Wayback/Archive] does have support for querying JSON with the SelectToken function.

That’s the fundament of the rest of this article, with the potential to be used in a cross-platform as well.

So no need for a plan B.

Read the rest of this entry »

Posted in *nix, *nix-tools, .NET, Batch-Files, Conference Topics, Conferences, Development, Event, JavaScript/ECMAScript, jq, JSON, Power User, Scripting, Software Development, Windows, Windows Development | Leave a Comment »

Only 2 weeks left to enable 2FA for your GitHub account

Posted by jpluimers on 2023/08/29

If you haven’t done so already, then enable 2FA for your GitHub account now: This will be a requirement in 2 weeks time.

The 2FA/MFA possibility started about half a year ago with [Wayback/Archive] Raising the bar for software security: GitHub 2FA begins March 13 – The GitHub Blog

You can have various means of 2FA, which al start with a choice between:

After completing either of those those, you can view/download a set of backup codes, and you can add more factors to your Multi-factor authentication setup up to these:

Read the rest of this entry »

Posted in 2FA/MFA, Authentication, Development, DVCS - Distributed Version Control, git, GitHub, Power User, Security, Software Development, Source Code Management | Leave a Comment »