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 2021

Indeterminate Form Infinity Times Zero – YouTube

Posted by jpluimers on 2021/09/06

Infinity is not a number and you cannot do arithmetic with it. This means that in mathematics, in contrast to what some people believe, infinity times zero might not equal to zero.

As infinity as mind boggling to most, two interesting videos below.

The first about infinity times zero, the second about some interesting paradoxes around infinity.

But first a few other links:

Read the rest of this entry »

Posted in Mathematics, Power User, science | Leave a Comment »

Actuele spoorkaart Nederland

Posted by jpluimers on 2021/09/06

[WayBack] Actuele spoorkaart Nederland:

Visualisatie van de treinenloop in Nederland op basis van actuele reisinformatie.

Dit is waar http://kubus.mailspool.nl/spoorkaart/ heen verhuisde: https://spoorkaart.mwnn.nl/

Deze zijn dus hopeloos verouderd:

Via [WayBack] Robert van den Brink on Twitter: “Haha dacht dat jij nogal zelfredzaam was, maar zie bijv. [spoorkaart] voor de series die wel rijden. Op Hvs-Ut rijdt bijv. een (extra) IC 28600 heen en weer.… “

–jeroen

Read the rest of this entry »

Posted in LifeHacker, Power User | Leave a Comment »

D10U003 Dell OptiPlex 3060 Micro documentation links

Posted by jpluimers on 2021/09/06

For my link archive [WayBack] Support for OptiPlex 3060 | Documentation | Dell US linking to these D10U003 Micro specific documents:

Via Google: [WayBack] optiplex-3060-desktop_specifications3_en-us.pdf

jeroen

Posted in Hardware, Power User | Leave a Comment »

Worlds Smartest Chessboard | Square Off

Posted by jpluimers on 2021/09/03

Cool “gadget”: [WayBack] Worlds Smartest Chessboard | Square Off:

Experience the future of chess with a telerobotic chessboard that would make a worthy gift for anyone!

If you get one, the largest version:

Nice video demonstrating it is below.

–jeroen

Read the rest of this entry »

Posted in Fun, Hardware, Power User | Leave a Comment »

Multiple commands in one sudo: use “sudo sh -c ‘apt update && apt upgrade -y'”

Posted by jpluimers on 2021/09/03

So I won’t forget: [WayBack] @nixcraft on Twitter: Instead of typing the following on your Ubuntu/Debian/Mint Linux desktop: sudo apt update sudo apt upgrade -y Do to save typing and time at the CLI (add to your shell startup): alias update=”sudo sh -c ‘apt update && apt upgrade -y'” See for more info:

[WayBack] How to run multiple commands in sudo under Linux or Unix – nixCraft:

sudo syntax to run multiple commands

The syntax is:
sudo sh -c 'command1 && command2'
sudo -- sh -c 'command1 && command2'
sudo -u userNameHere -- sh -c 'command1; command2'
sudo -- sh -c 'command1; command2'
sudo -- bash -c 'command1; command2'
sudo -i -- 'command1; command2; command3'
sudo -i -- sh -c 'command1 && command2 && command3'

UNDERSTANDING SUDO COMMAND OPTIONS

  1. --Β : A β€” signals the end of options and disables further option processing for sudo command.
  2. sh -cΒ : Run sh shell with given commands
  3. 'apt-get update && sudo apt-get -y upgrade'Β First update repo and apply upgrades if update was successful.

A note about using sudo command in a shell script

Here is a sample shell script that shows how to use or run multiple commands with sudo:

#!/bin/bash
echo "Running commands as a root user..."
sudo -- -sh -c <<EOF
apt-get update
apt-get -y upgrade
apt-get -y install nginx 
apt-get -y remove nano
apt-get clean
echo "All done."
EOF

A note about using sudo with bash shell aliases

TheΒ syntax is as follows for shell aliases:

alias foo="sudo -- sh -c 'cmd1 && cmd2'"
alias bar='sudo -- sh -c "cmd1 && cmd2"'

–jeroen

Posted in *nix, *nix-tools, bash, Power User | Leave a Comment »

Europees gefabriceerde auto importeren vanuit Zwitserland

Posted by jpluimers on 2021/09/03

Voor mijn geheugen.

Wat heb je nodig:

  • Chassisnummer te kopen auto
  • Geldig ID
  • EUR.1 formulier (afhalen bij een spediteur, bijvoorbeeld Focus93, of bij een zollamt aan de grens)
  • Machtiging van de verkoper dat jij als koper de uitvoer mag afhandelen
  • Grijze kaart van de Zwitserse auto (kentekenbewijs ofwel Fahrzeugausweis)

Wat moet je regelen:

  1. Bij een van de StrassenverkehrsΓ€mter in Zwiterland de auto overschrijven naar een exportkenzeichen (waar je de grijze kaart voor nodig hebt); je krijgt dan
    • Exportnummerplaten
    • Nieuwe grijze kaart met rode markering
    • Groene verzekeringskaart
  2. BPM vrijstelling aanvragen zodat je er maximaal 2 weken mee in Nederland mag rijden zodat je in tussen de BPM en schouwing (en mogelijk APK keuring) bij het RDW kunt doen
  3. Bij de grens
    1. de vrachtwagens volgen, en dan bij een Spediteur aankloppen (ik heb goede ervaringen met Focus93 omdat ze met name ervaring tussen Zwitserland/EU hebben; ze hebben kantoren bij diverse grensovergangen: www.focus93.ch/standorte)
      1. Hier vullen ze de EUR.1 in en die mag je dan ondertekenen
      2. Ze voeren ook de auto in in het export systeem
      3. Optioneel (alleen nuttig bij zakelijke import) vullen ze een T1 aanvraag in
    2. Bij de Zwitserse douane de uitvoer doen
    3. Bij de Duitse douane de invoer doen en de BTW betalen (als je het zakelijk doet, dan een borg betalen en je IBAN opgeven)
    4. Bij de spediteur afmelden en de kosten betalen
  4. Voor zakelijk: in Nederland een expediteur zoeken die de T1 afhandeling kan doen en de BTW int (die vraag je later bij de belastingdienst terug) en de auto bij de Duitse douane afmeldt (dan krijg je de borg teruggestort op een IBAN rekening)
  5. RDW schouwing aanvragen op [WayBack] keuringsafspraakmaken.rdw.nl/particulier; zie [WayBack] Invoeren vanuit EU- of EVA-land | RDW
    • Soms kun je de bestaande APK overnemen, dan is alleen een schouwing nodig (je hebt dan APK rapport uit Zwitserland nodig); als je onzeker bent: meteen APK laten keuren bij het RDW
  6. Voor op de dag van keuring:
    1. een tijdelijk kenteken aanvragen op [WayBack] eendagskentekenbewijsaanvragen.rdw.nl via [WayBack] Eendagskentekenbewijs | RDW enΒ [WayBack] Eendagskentekenbewijs aanvragen
    2. een tijdelijke verzekering aanvragen (niet alle autoverzekeraars doen dit, dus zoek dit van te voren uit!)
  7. Aangifte BPM doen bij de belastingdienst; ik heb deze volgorde gebruikt zodat ik zeker wist dat ik niks gemist had
    1. [WayBack] Aangifte bpm doen
    2. [WayBack] Bpm-aangifte doen
    3. [WayBack] Aangifte, melding of opgaaf bpm
    4. [WayBack] Aangifte, melding of opgaaf bpm
    5. [WayBack] Toelichting aangifte, melding of opgaaf bpm
    6. [WayBack] Afschrijving met forfaitaire tabel

      Wilt u een motorrijtuig voor het eerst in Nederland registreren? Bepaal dan de waarde ervan met een forfaitaire tabel. Lees hoe en welke voorwaarden gelden.

  8. BPM betalen
  9. RDW kentekenbewijs ontvangen
  10. Nummerplaten laten maken
  11. Verzekering regelen

Posted in Uncategorized | Leave a Comment »

For my link archive: DNS over https

Posted by jpluimers on 2021/09/02

DNS over HTTPS

For my link archive:

JSON DNS output

Some DNS over HTTSP providers support dns-json, which Cloudflare delivers non-pretty printed.

Read the rest of this entry »

Posted in Cloud, Cloudflare, Communications Development, Development, DNS, Encryption, HTTP, https, HTTPS/TLS security, Infrastructure, Internet, Internet protocol suite, Power User, Security, Software Development, TCP, TLS | Leave a Comment »

comex: “Hiding video streams inside PNGs uploaded to Google Drive … How does it get the browser to skip the PNG header”

Posted by jpluimers on 2021/09/02

Wondering what people now are using to store video uploads on cheap and fast network sites: [WayBack] comex on Twitter: “Hiding video streams inside PNGs uploaded to Google Drive: https://t.co/rmK8jicJYl (But what does the m3u8 look like? How does it get the browser to skip the PNG header?)” explained the 2019 situation:

–jeroen

Read the rest of this entry »

Posted in Development, Media, Media Streaming, Power User, Software Development, Video | Leave a Comment »

Coming Back to Old Problems: How I Finally Wrote a Sudoku Solving Algorithm – DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Posted by jpluimers on 2021/09/02

It is always fun to see how Sudoku solving algorithms are created and implemented. This is no exception: [WayBack] Coming Back to Old Problems: How I Finally Wrote a Sudoku Solving Algorithm – DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

(backtracking image from Wikimedia commons)

For a visual Sudoku solver, I usually take [WayBack] Sudoku Solver by Andrew Stuart. Shows the logic behind solving Sudoku square by square which is part of [WayBack] SudokuWiki.org – Getting Started having many visual explanations on how to solve these puzzles, for instance:

It’s a kind of sudo ku, but visually and never failed me solve one.

–jeroen

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

Increase sales: ensure your web-shop is accessible

Posted by jpluimers on 2021/09/01

TL;DR:

  • Inaccessible web-shops cut themselves off from at least 5% customers.
  • Customers with accessibility issues are very loyal, so if your accommodate them, they will stay
  • Accessible web sites cut back on customer support questions (as high as a 15-30% decrease) saving on average EUR 10 per customer support request

Source: Maak webwinkels ook toegankelijk voor mensen met een beperking (behind a sign-in wall, sometimes this link or visiting via the below Twitter posts works)

Via:

 

–jeroen

Read the rest of this entry »

Posted in accessibility (a11y), Development, LifeHacker, Power User, Web Development | Leave a Comment »