Archive for 2021
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 »
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 »
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
- --Β : A β signals the end of options and disables further option processing for sudo command.
- sh -cΒ : Run sh shell with given commands
- '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 »
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:
- 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
- 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
- Bij de grens
- 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)
- Hier vullen ze de EUR.1 in en die mag je dan ondertekenen
- Ze voeren ook de auto in in het export systeem
- Optioneel (alleen nuttig bij zakelijke import) vullen ze een T1 aanvraag in
- Bij de Zwitserse douane de uitvoer doen
- Bij de Duitse douane de invoer doen en de BTW betalen (als je het zakelijk doet, dan een borg betalen en je IBAN opgeven)
- Bij de spediteur afmelden en de kosten betalen
- 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)
- 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
- Voor op de dag van keuring:
- een tijdelijk kenteken aanvragen op [WayBack] eendagskentekenbewijsaanvragen.rdw.nl via [WayBack] Eendagskentekenbewijs | RDW enΒ [WayBack] Eendagskentekenbewijs aanvragen
- een tijdelijke verzekering aanvragen (niet alle autoverzekeraars doen dit, dus zoek dit van te voren uit!)
- Aangifte BPM doen bij de belastingdienst; ik heb deze volgorde gebruikt zodat ik zeker wist dat ik niks gemist had
- [WayBack] Aangifte bpm doen
- [WayBack] Bpm-aangifte doen
- [WayBack] Aangifte, melding of opgaaf bpm
- [WayBack] Aangifte, melding of opgaaf bpm
- [WayBack] Toelichting aangifte, melding of opgaaf bpm
- [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.
- BPM betalen
- RDW kentekenbewijs ontvangen
- Nummerplaten laten maken
- Verzekering regelen
Posted in Uncategorized | Leave a Comment »
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 »
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 »
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 »