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 ‘Python’ Category

GitHub – spotDL/spotify-downloader: Download your Spotify playlists and songs along with album art and metadata (from YouTube if a match is found).

Posted by jpluimers on 2026/01/01

Need to check the matching algorithm of [Wayback/Archive] GitHub – spotDL/spotify-downloader: Download your Spotify playlists and songs along with album art and metadata (from YouTube if a match is found).

I wanted to download [Wayback/Archive] The Incredits – song and lyrics by Michael Giacchino | Spotify for music practice, but then found Michael listed it on his YouTube channel twice:

A bit later I also found [Wayback/Archive] The Incredits – Transcription (with original score) – YouTube with [Wayback/Archive] The Incredits Sheet Music for Piano, Trombone, Tuba, Flute piccolo & more instruments (Symphony Orchestra) | MuseScore.com

Via [Wayback/Archive] Youtube-dl supports Spotify. How to use it? : youtubedl.

--jeroen

Posted in Development, ffmpeg, Media, Media Streaming, Power User, Python, Scripting, SocialMedia, Software Development, Spotify, YouTube, youtube-dl | Leave a Comment »

It died, but longer ladders will be there: 12ft – Wikipedia

Posted by jpluimers on 2025/12/31

From 12ft – Wikipedia:

On July 17, 2025, the News Media Alliance reported that it had taken down the website.

It’s impossible to enjoy the content of online media by paying (for instance because payment systems are not compatible, but also because those media often have region blocks), so this is to longer ladders (and understanding how ladders work):

Read the rest of this entry »

Posted in archive.is / archive.today, Cloud, Containers, Development, Docker, HTML, HTML5, Infrastructure, Internet, InternetArchive, JavaScript/ECMAScript, LifeHacker, Power User, Python, Scripting, Software Development, WayBack machine, Web Development | Leave a Comment »

Get it while it lasts: Led-pixel display (various Action EU stores)

Posted by jpluimers on 2025/12/11

A cool LED display that is programmable through Python (see [Wayback/Archive] Action led paneel – Boekenwuurm’s blog) made me realise how big Action has grown:

About EUR 20 or CHF 24 in the order of the below query:

There is also a square one, but that one does not remember it’s content during a power off/on cycle.

The above blog mentions this library which sees regular updates: [Wayback/Archive] GitHub – lucagoc/pypixelcolor: A Python library to control iPixel Color devices.

Read the rest of this entry »

Posted in Development, Hardware Interfacing, Python, Scripting, Software Development | Leave a Comment »

camerahacks/rpilocator-rss-feed: rpilocator RSS Feed Notifications

Posted by jpluimers on 2025/12/04

On my list to experiment with is [Wayback/Archive] camerahacks/rpilocator-rss-feed:

This is the official rpilocator.com and hwlocator.com RSS feed reader and push notification scripts and Node-RED flows. The RSS feed is checked every minute and the script/flow sends a push notification when a product comes in stock.

Send ntfy, Pushbullet, Pushover or Gotify notifications to your device.

I only knew one of the above services, so here I have listed links to all of them:

Read the rest of this entry »

Posted in Development, Python, RSS, Scripting, SocialMedia, Software Development, Web Development | Leave a Comment »

EU Code Week on X: “🎨 Creative Corner: ASCII Art Challenge! 🎨 Let’s explore ASCII art! Use your coding skills to create a fun image using text characters. Share your masterpiece in the comments! Check out this guide to get started: Ready, set, create! #CreativeCoding”

Posted by jpluimers on 2025/11/26

This was a nice idea, but apparently not reaching the target audience:

[Wayback/Archive] EU Code Week on X: “🎨 Creative Corner: ASCII Art Challenge! 🎨 Let’s explore ASCII art! Use your coding skills to create a fun image using text characters. Share your masterpiece in the comments! Check out this guide to get started: … Ready, set, create! #CreativeCoding”

It pointed to step 4 in this Raspberry Pi project challenge: [Wayback/Archive] About me: ASCII art – Python challenge

Image via [WaybackSave/ArchiveTweet JSON / [Wayback/Archive] GVfE-_EXAAAv4R6.jpg:orig (1080×1080)

--jeroen

Posted in ASCII art / AsciiArt, Development, Fun, Python, Scripting, Software Development | Tagged: | Leave a Comment »

2023 PDF special voor alle leden: GUI’s programmeren met Python | MagPi

Posted by jpluimers on 2025/11/13

From a while ago, but this 2023 PDF magazine about building GUI applications with Python using guizero is still very fun to read:

[Wayback/Archive] PDF special voor alle leden: GUI’s programmeren met Python | MagPi

Via: [Wayback/Archive] MagPi Nederland on Twitter: “PDF special voor alle leden: gui’s programmeren met python #raspberrypi #python”

Download:

[Wayback/Archive] https://www.magpi.nl/files/attachment/35 (202209131320GUI NL.pdf).

Guizero: Read the rest of this entry »

Posted in Development, Hardware Development, Python, Raspberry Pi, Scripting, Software Development | Tagged: , | Leave a Comment »

Cool visualisations of graph searching: Introduction to the A* Algorithm

Posted by jpluimers on 2025/10/21

This is so cool: graphical [Wayback/Archive] Introduction to the A* Algorithm

It is still being updated, which is even cooler:

Created 26 May 2014, updated Aug 2014, Feb 2016, Jun 2016, Jun 2020, Jul 2023

These are for general graph traversal. That Wikipedia article only mentions depth-first search and breadth-first search, but forgets the A* search algorithm which is an extension of the also not mentioned Dijkstra’s algorithm which in turn is based on breadth-first search.

The visualisations cover the breadth-first algorithms.

The example code is Python based, but easy to translate into other languages.

The visualisation code is in JavaScript, using these files (they Archive.is versions are more accurate than the Wayback Machine ones):

Read the rest of this entry »

Posted in Algorithms, Conference Topics, Conferences, Development, Event, Python, Scripting, Software Development | Leave a Comment »

From 2023: It’s Time For A Change: datetime.utcnow() Is Now Deprecated – miguelgrinberg.com

Posted by jpluimers on 2025/10/14

I forgot how I bumped into this, but a while ago I found this interesting 2023 post: [Wayback/Archive] It’s Time For A Change: datetime.utcnow() Is Now Deprecated – miguelgrinberg.com explaining naive (without time zone) and aware (with time zone) date time objects.

It reminded me of Delphi, where NowUTC – as Delphi does have neither naive or aware date time objects – returns  a floating point value (yes, it has a separate TDateTime type, but it represents the number of days that have passed since December 30, 1899 which in face stems from the Windows OLE Automation era* (OLE Automation is a subset of COM), see [Wayback/Archive] DateTime.ToOADate Method (System) | Microsoft Learn.

That method is mentioned in [Wayback/Archive] Why You Should Use NowUTC Instead of Now in Delphi: A Quick Guide – YouTube and Delphi deserves a way better infrastructure of date and time handling.

So this post is also a reminder to myself: figure out if there is an object oriented DateTime library for Delphi yet, and if not see if there is interest to create one similar to [Wayback/Archive] Noda Time | Date and time API for .NET by Jon Skeet.

Delphi references

Read the rest of this entry »

Posted in .NET, .NET Framework, .NET Standard, C#, Conference Topics, Conferences, Delphi, Development, Event, Jon Skeet, Python, Scripting, Software Development | Leave a Comment »

bash alias to decode email Quoted-Printable stdin data

Posted by jpluimers on 2025/09/25

Perl isn’t my strength, so I was glad to find the below links that inspired me to add this bash function to my profile decoding Quote-Printable email data (for instance used by sendmail and postfix to store SMTP message files):

# https://superuser.com/questions/1452249/fix-revert-wrong-encoding-of-file
function sendmail-decode-quoted-printable-from-stdin() {
  perl -0777 -ne 'use MIME::QuotedPrint; print decode_qp($_)'
}

Read the rest of this entry »

Posted in *nix, *nix-tools, bash, bash, Development, Perl, Power User, Python, Scripting, sendmail, Software Development | Leave a Comment »

What Every Programmer Should Know about How CPUs Work • Matt Godbolt • GOTO 2024 – YouTube

Posted by jpluimers on 2025/09/10

[Wayback/Archive] What Every Programmer Should Know about How CPUs Work • Matt Godbolt • GOTO 2024 – YouTube

Main takeaways for me:

  • CPU pipelines have grown a lot longer than I was aware off
  • there are many more internal registers than I was anticipating
  • clever ways to convert if statements to non-jumps

--jeroen

Posted in .NET, Assembly Language, C, C#, C++, Delphi, Development, Python, Scripting, Software Development | Leave a Comment »