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 4,262 other subscribers

Archive for August, 2023

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:

Queries dit jaar:

–jeroen

Posted in LifeHacker, 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 »