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

What’s Behind A Webpage? Use DevTools To Find Out

Posted by jpluimers on 2024/08/29

You don’t have to be a web-developer to peek inside the underpinnings of web-pages. In fact what you see is very interesting, for instance from an OSINT perspective.

[Wayback/Archive] What’s Behind A Webpage? Use DevTools To Find Out:

Read the rest of this entry »

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

Tampermonkey script twitter-to-bsky: Crosspost from Twitter/X to Bluesky and Mastodon

Posted by jpluimers on 2024/08/28

For my TODO list: [Wayback/Archive] twitter-to-bsky

Crosspost from Twitter/X to Bluesky and Mastodon

twitter-to-bsky – crosspost from Twitter/X to Bluesky and Mastodon directly in the web browser

twitter-to-bsky is a userscript written for Tampermonkey or Violentmonkey running in desktop web browsers (Chrome/Firefox/Edge).
It allows to automatically crosspost to Bluesky and/or Mastodon when writing posts in the Twitter/X web application in a desktop browser.
More links:

Read the rest of this entry »

Posted in BlueSky, Development, JavaScript/ECMAScript, Mastodon, Scripting, SocialMedia, Software Development, Twitter | Leave a Comment »

Cool nginx playground by b0rk (Julia Evans)

Posted by jpluimers on 2024/08/28

This is a really cool interactive [Wayback/Archive] nginx playground!

It starts with a default nginx configuration which you can edit and spins up a docker container for each run showing the results of that configuration.

How cool is that to learn how nginx works (:

This is how I found out about it:

Read the rest of this entry »

Posted in *nix, *nix-tools, Conference Topics, Conferences, Development, Event, nginx, Power User, Software Development, Web Development | Leave a Comment »

Revisited: Bookmarklet for Archive.is to navivate to the canonical link

Posted by jpluimers on 2024/08/27

I put the proper Bookmarklet wrapper around the functions from Bookmarklet for Archive.is to navivate to the canonical link (because especially Firefox needs them):

An immediately invoked function that returns no value or an expression preceded by the void operator will prevent the browser from attempting to parse the result of the evaluation as a snippet of HTML markup:

javascript:(function(){
  //Statements returning a non-undefined type, e.g. assignments
})();

It means they now have become these:

  • Archive.is: navigate canonical URL

    javascript:(function(){location=document.querySelector('link[rel="canonical"]')?.href})();

  • Archive.is: prompt canonical URL

    javascript:(function(){prompt("Anchor",document.querySelector('link[rel="canonical"]')?.href)})();

--jeroen

Read the rest of this entry »

Posted in archive.is / archive.today, Archiving, Bookmarklet, Chrome, Development, Firefox, Internet, JavaScript/ECMAScript, Power User, Scripting, Software Development, Web Browsers | Leave a Comment »

Belastingaangifte 2023 met Excel gratis downloaden | Computer Idee

Posted by jpluimers on 2024/08/27

Dit jaar was ik er een paar dagen eerder bij dan vorig jaar: meer rust in mijn hoofd na de verhuizing en een betere planning gemaakt rondom de paardrijvakantie van mijn verstandelijk beperkte broer (waar we altijd zorgen daar in de buurt te zijn zodat we indien nodig snel ter plaatse kunnen handelen).

Waarom is deze blog post zo laat?

Het laat heeft er vooral mee te maken dat deze Excel sheet meestal nog een aantal wijzigingen krijgt na de normale deadline van 1 mei. Dus ik begin pas met downloaden de maand voor de echt harde deadline van 1 september.

Waarom dan toch nu de post?

Eigenlijk is dat heel simpel: vooral zodat je kunt zien hoe je aan deze informatie komt ook al wijzigen de locaties: waar vorig jaar het Excel-bestand voor de belastingaangifte nog bij Google stond, staat het deze keer bij WeTransfer.

Dit jaar zijn de linkjes her en der dus behoorlijk anders: meer dan een simpele vervanging van 2022 door 2023 in de start-link van de eerste Google Search onderaan mijn blog-post.

Let ook op (dit vergat ik vorig jaar te vermelden): dit Excel bestand werkt bij mij niet op Office voor MacOS.

Omdat Computer Idee meestal geen jaartallen in de titels van hun artikelen gebruikt, moet je handmatig de zoekresultaten van Google Search door om te zien welke relevant voor aangifte over afgelopen jaar (in dit geval 2023) is/zijn. Vandaar dat ik hieronder op een aantal plekken jaartellen heb toegevoegd:

Read the rest of this entry »

Posted in Development, Excel, HTML, Office, Power User, Software Development, Web Development | 2 Comments »

I need to contemplate about (not) using standards Commit Messages and Commit Emojis

Posted by jpluimers on 2024/08/27

These Tweets from Kris are food for thought about using standards for Commit Messages and Commit Emojis.

It is the “writing zzzz by convention” mantra all over the place (where zzzz can be anything from code to documentation): does it add value, should it be formalised, can it by achieved by other means?

I need to think about it later, so I saved his tweets below:

Read the rest of this entry »

Posted in Conference Topics, Conferences, Development, DVCS - Distributed Version Control, Event, git, Software Development, Source Code Management | 2 Comments »

Algoritmes nemen beslissingen over ons leven: hoe besluiten we of we automatische beslissingen van algoritmes willen accepteren? | Amsterdam University Press Journals Online

Posted by jpluimers on 2024/08/22

[Wayback/Archive] Algoritmes nemen beslissingen over ons leven: hoe besluiten we of we automatische beslissingen van algoritmes willen accepteren? | Amsterdam University Press Journals Online

Via: [Wayback/Archive] Ionica Smeets: “Het nieuwste nummer van Tijdsc…” – Mathstodon

Het nieuwste nummer van Tijdschrift voor Communicatiewetenschap staat online en gaat helemaal over Human-Machine Communication. Met bijvoorbeeld dit interessante artikelvan Gabi Schaap over hoe we besluiten of we automatische beslissingen van algoritmes willen accepteren.

--jeroen

Posted in AI and ML; Artificial Intelligence & Machine Learning, Development, Software Development | Leave a Comment »

The mojibake “creëer”

Posted by jpluimers on 2024/08/22

A while ago, I found the “creëermojibake in a Dutch page on the IKEA site.

They were not alone to make this mistake which is easily explained using [Wayback/Archive] ftfy:

>>> ftfy.fix_and_explain("creëer")
ExplainedText(text='creëer', explanation=[('encode', 'latin-1'), ('decode', 'utf-8')])

(you can run this on-line at [Wayback/Archive] Welcome to Python.org: interactive shell, see my post The things I didn’t notice during cancer survival: ftfy 6.0 and more versions got released during my recovery on how to do this)

So the text is easily fixed:

Read the rest of this entry »

Posted in Development, Encoding, ftfy, ISO-8859, ISO8859, Software Development, Unicode, UTF-8, UTF8, Web Development | Leave a Comment »

windows – What does SetFileValidData doing ? what is the difference with SetEndOfFile? – Stack Overflow

Posted by jpluimers on 2024/08/21

While researching how to allocate space for empty Windows files, I bumped into this: [Wayback/Archive] windows – What does SetFileValidData doing ? what is the difference with SetEndOfFile? – Stack Overflow.

Interesting but dangerous: SetFileValidData allows setting the end of the “valid” file data to a point into the file without Windows pretending the content was zero-filled.

The big important thing here (a drawback for security, a blessing for adversaries): the file will incorporate data that was on disk before it got incorporated into the file, potentially leaking deleted data.

That’s why the SetFileValidData required at least the SE_MANAGE_VOLUME_NAME privilege.

QA content and salvaged/archived related links:

Read the rest of this entry »

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

If I ever need to do OAuth: aspnet-contrib/AspNet.Security.OAuth.Providers: OAuth 2.0 social authentication providers for ASP.NET Core

Posted by jpluimers on 2024/08/21

This is cool: [Wayback/Archive] aspnet-contrib/AspNet.Security.OAuth.Providers: OAuth 2.0 social authentication providers for ASP.NET Core.

Based on ideas at [Wayback/Archive] TerribleDev/OwinOAuthProviders: OAuth providers for Owin.

Via [Wayback/Archive] David Fowler 🇧🇧🇺🇸 on Twitter: “Since we’re on the auth topic, there’s a repository maintained by @martin_costello and @kevin_chalet for interacting with pretty much every oauth provider on the planet github.com/aspnet-contrib/AspNet.Security.OAuth.Providers… #dotnet #aspnetcore”.

OAuth 2.0 providers covered at the time of writing are in the [Wayback/Archive] AspNet.Security.OAuth.Providers/README.md: Providers at dev · aspnet-contrib/AspNet.Security.OAuth.Providers.

–jeroen

Posted in .NET, .NET Core, Authentication, C#, Development, OAuth, Power User, Security, Software Development | Leave a Comment »