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,854 other subscribers

Archive for 2022

World Food Supplies: The Ukraine Crisis – a Chain Reaction with Massive Global Impact (by Paul van Ruiten from Bureau OM and Kees Huizinga) #Ukraine #UkraineWar

Posted by jpluimers on 2022/04/15

The 2022 Russian invasion of Ukraine causes a chain reaction on the world food supplies.

Paul van Ruiten of Bureau OM made the below insightful diagram showing that is going on.

It is not complicated as it is an easy to follow chain of cause and effect where in all the parts, Ukraine needs at least three to four of these:

  • Safety
  • Port Access
  • Diesel
  • Seeds
  • Fertilizer
  • Water (from the Dnieper river)
  • Pest Control
  • Truck Drivers
  • Staff

Currently there is already a world-wide increase in food prices and shortages of some foods. This will worsen when in this spring the situation in Ukraine fails to improve (read: Russia gets kicked out).

Large image below the signature from [Wayback/Archive] FPvodTdWQAgmt9k (4096×3100) which you can also download as [Wayback] PDF.

Sources:

Read the rest of this entry »

Posted in Awareness | Leave a Comment »

How to view the html page source of a website in Safari – Macintosh How To

Posted by jpluimers on 2022/04/14

[Wayback] How to view the html page source of a website in Safari – Macintosh How To

You can enable the extra menu in Safari by selecting ‘Preferences’ under Safari in the OS X menu bar  and then under the ‘Advanced’ pane select the checkbox that says ‘Show Develop menu in menu bar.’

This is the option you need:

a

MacOS - Safari - Show Develop menu in menu bar

MacOS – Safari – Show Develop menu in menu bar

–jeroen

Posted in Apple, Development, Mac OS X / OS X / MacOS, Power User, Safari, Software Development, Web Browsers, Web Development | Leave a Comment »

Kris on Twitter is a bit radical against shell scripts. Learn why.

Posted by jpluimers on 2022/04/13

I say to people: only use shell interactively, don’t write scripts. Never. Not one.
But Kris, they ask, why so radical?
Because of this:

is the literal English Google Translation of the German text

Ich sage den Leuten: benutzt Shell nur interaktiv, schreibt keine Scripte. Nie. Nicht eines.
Aber Kris, fragen sie, wieso so Radikal?
Deswegen:

then links to [Wayback/Archive] Jan Schaumann on Twitter: “TIL zgrep(1) is a shell script. BSD basically does “zcat | grep”, but GNU does “gzip -dc | sed”. How did I learn that? The fun way! CVE-2022-1271, arbitrary-file-write and code execution vulnerability in GNU zgrep / gzip. …”:

Read the rest of this entry »

Posted in *nix, *nix-tools, Apple, ash/dash, ash/dash development, bash, bash, BSD, Development, Mac, Mac OS X / OS X / MacOS, Power User, Scripting, Software Development | Leave a Comment »

Run ESXi from a USB Flash Drive: A How-To-Guide

Posted by jpluimers on 2022/04/13

Guessing the [Wayback] Run ESXi from a USB Flash Drive: A How-To-Guide by just the abstract does not show the value enough:

A USB flash drive can be used not only for installation media – you can also run ESXi from USB flash drives or SD flash cards and boot from these devices.

In fact, the article shows way more, including:

  • how the partitions on USB/SD devices are built as compared to HDD devices, and how they even differ depending on USB/SD sizes
  • how to backup/restore the USB/SD boot devices (so you can stock them in case of failure)

This is very important, because every now and then, these USB and SD devices fail (see for instance [Wayback] Solved: Remount boot filesystem on a running system. – VMware Technology Network VMTN), so knowing what to do then is key and helps handling errors like this one:

Lost connectivity to the device mpx.vmhba32:C0:T0:L0 backing the boot filesystem /vmfs/devices/disks/mpx.vmhba32:C0:T0:L0. As a result, host configuration changes will not be saved to persistent storage.

A every useful article for my link archive!

Related: ESXi: storing an ISO 8601 time-stamped backup tarball locally

Read the rest of this entry »

Posted in ESXi5, ESXi5.1, ESXi5.5, ESXi6, ESXi6.5, ESXi6.7, ESXi7, Power User, Virtualization, VMware, VMware ESXi | Leave a Comment »

Cleaning up Google Drive (for instance when a rogue supplier decides to fill your Windows Documents folder) and preventing TomTom HOME to use too much information

Posted by jpluimers on 2022/04/12

The below links helped me clean the Google Drive of a friend that grew way too large because TomTom HOME decided to put 100 gigabyte of data in the Documents folder instead of the local AppData folder (yup, this is a follow-up of Windows applications: storing your data in the correct place (Roaming, Local, LocalLow, not Documents)).

The trick with extensions to exclude is you have to add exclusions before syncing. Which is a kind of catch-22 or chicken and egg problem.

In case of the friend I helped we made a backup of the TomTom HOME data, then applied the exclusions and restored the data.

For TomTom HOME in order not to fill your Google Drive, but still allow backing up your Documents folder, these are extensions you might want to exclude (roughly in descending order of space) where you have to mind not storing any of these extensions in other subfolders of your Documents folder.:

  • .zip
  • .cab
  • .toc
  • .tmp
  • .meta
  • .sat
  • .tlv
  • .ttd
  • .dat
  • .vif
  • .chk
  • .bin
  • .rex
  • .lde
  • .gpr
  • .dbl
  • .so
  • .ov2

The problem with this? Google Backup and Sync does not allow that many exclusion extensions.

–jeroen

Posted in Google, GoogleBackupAndSync, GoogleDrive, Power User, Windows, Windows 10 | Leave a Comment »

When some virtual machines cannot run VMware Tools: Graceful shutdown of an ESXi 5.1 host and guest VMs (free edition) using the shell/command line/scripting (UPS friendly)

Posted by jpluimers on 2022/04/12

An interesting set of scripts from [Wayback/Archive.is] No Joke IT: Graceful shutdown of an ESXi 5.1 host and guest VMs (free edition) using the shell/command line/scripting (UPS friendly).

If all ESXi virtual machines support running of VMware Tools, then the solution is a plain /sbin/shutdown.sh && /sbin/poweroff (see [Wayback/Archive.is] No Joke IT: Shut down ESXi 5.1 guest VMs and the host (free edition) via SSH – the easy way!).

Code is in the repository at [Wayback/Archive.is] sixdimensionalarray/esxidown: A shell script to shutdown VMware ESXi host servers, with these two main files:

Note: the No Joke IT web-site has vanished, so only the [Wayback] and [Archive.is] links of it still work. The github code was still there at the time of writing.

Via: [Wayback] Solved: Read only Files – VMware Technology Network VMTN

Related: Some notes on replacing parts of a text file with template text using sed on a Busybox system.

–jeroen

Posted in *nix, *nix-tools, ash/dash, ash/dash development, Development, ESXi5, ESXi5.1, ESXi5.5, ESXi6, ESXi6.5, ESXi6.7, Power User, Scripting, Software Development, Virtualization, VMware, VMware ESXi | Leave a Comment »

Some links on rate-limiting Postfix

Posted by jpluimers on 2022/04/11

For my link archive:

 

The crux seems to be a combination of these parameters to do outgoing rate-limiting, for instance with these values:

default_destination_concurrency_limit = 30
default_destination_rate_delay = 5s

Here default_destination_concurrency_limit needs to be larger than one (so mails are grouped by domain) in order for the default_destination_rate_delay to have any effect at all.

You can even extend this to named transports as per [Wayback] Postfix Users – Create Custom Mail Queue answered by [Wayback] Ralf Hildebrandt

> Can I create custom mail queue in /var/spool/postfix to hold the mails for
> specific destination and schedule to deliver one by one for period of time,
> let’s say 2 mins.

That’s not needed. Create a custom transport for the destination.
Then use
<nameofcustomtransport>_destination_rate_delay = 120s

 

In the below bullets from the Postfix documentation, emphasis is mine.

  • [Wayback] Postfix Configuration Parameters: main.cf
    • [Wayback] Postfix Configuration Parameters: default_destination_concurrency_limit

      default_destination_concurrency_limit (default: 20)

      The default maximal number of parallel deliveries to the same destination. This is the default limit for delivery via the lmtp(8)pipe(8)smtp(8) and virtual(8) delivery agents. With per-destination recipient limit > 1, a destination is a domain, otherwise it is a recipient.

      Use transport_destination_concurrency_limit to specify a transport-specific override, where transport is the master.cf name of the message delivery transport.

    • [Wayback] Postfix Configuration Parameters: default_destination_rate_delay

      default_destination_rate_delay (default: 0s)

      The default amount of delay that is inserted between individual message deliveries to the same destination and over the same message delivery transport. Specify a non-zero value to rate-limit those message deliveries to at most one per $default_destination_rate_delay.

      The resulting behavior depends on the value of the corresponding per-destination recipient limit.

      • With a corresponding per-destination recipient limit > 1, the rate delay specifies the time between deliveries to the same domain. Different domains are delivered in parallel, subject to the process limits specified in master.cf.
      • With a corresponding per-destination recipient limit equal to 1, the rate delay specifies the time between deliveries to the same recipient. Different recipients are delivered in parallel, subject to the process limits specified in master.cf.

      To enable the delay, specify a non-zero time value (an integral value plus an optional one-letter suffix that specifies the time unit).

      Time units: s (seconds), m (minutes), h (hours), d (days), w (weeks). The default time unit is s (seconds).

      NOTE: the delay is enforced by the queue manager. The delay timer state does not survive “postfix reload” or “postfix stop“.

      Use transport_destination_rate_delay to specify a transport-specific override, where transport is the master.cf name of the message delivery transport.

      NOTE: with a non-zero _destination_rate_delay, specify a transport_destination_concurrency_failed_cohort_limit of 10 or more to prevent Postfix from deferring all mail for the same destination after only one connection or handshake error.

      This feature is available in Postfix 2.5 and later.

    • [Wayback] Postfix Configuration Parameters: default_process_limit

      default_process_limit (default: 100)

      The default maximal number of Postfix child processes that provide a given service. This limit can be overruled for specific services in the master.cf file.

  • [Wayback] Postfix manual – master(5): master.cf (where Process limit is the 7th parameter on a configuration line)

           Process limit (default: $default_process_limit)
                  The maximum number of processes that may  execute  this  service
                  simultaneously. Specify 0 for no process count limit.
    
                  NOTE:  Some  Postfix  services  must  be  configured  as  a sin-
                  gle-process service (for example,  qmgr(8))  and  some  services
                  must   be   configured  with  no  process  limit  (for  example,
                  cleanup(8)).  These limits must not be changed.

–jeroen

 

 

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

Terugkijken: publiekslezing Kwaliteit van Leven

Posted by jpluimers on 2022/04/11

Een paar weken geleden was de [Wayback/Archive] Terugkijken: publiekslezing Kwaliteit van Leven.

Aan die afdeling heb ik momenteel veel, want ik zit in een flink dal na mijn (voorlopig succesvolle) behandelingen tegen uitgezaaide endeldarmkanker. Ik ben schoon, maar het hoofd is vol (ook met alle andere dingen die er sinds 2017 in ons leven gebeurd zijn) en ook fysiek is het enorm wennen aan een lichaam dat zich heel anders gedraagt dan voor ik kanker kreeg.

[Wayback/Archive] Publiekslezing Kwaliteit van Leven 15 maart 2022 – YouTube

Steeds meer mensen overleven kanker of leven langer met kanker. Tijdens en na de behandeling kunnen patiënten te maken krijgen met verschillende lichamelijke en psychosociale problemen. Daarom staan in ons Centrum voor Kwaliteit van Leven gespecialiseerde professionals klaar om patiënten en hun naasten te helpen bij problemen op lichamelijk, psychisch, sociaal en spiritueel gebied. Om deze patiënten in de toekomst nog beter te kunnen ondersteunen, doet het Antoni van Leeuwenhoek ook wetenschappelijk onderzoek in dit centrum. Tijdens deze online publiekslezing praten wij u bij over wat wij doen in het Antoni van Leeuwenhoek op het gebied van Kwaliteit van Leven.

Via [Wayback/Archive] Antoni v Leeuwenhoek on Twitter: “Wat doen wij in het Antoni van Leeuwenhoek op het gebied van kwaliteit van leven? Diverse specialisten van het AVL en Stichting ‘Ziek Gelukkig’ kwamen tijdens onze publiekslezing aan het woord. Bekijk de lezing terug ➡️… #hetAVL #publiekslezing #ziekgelukkig”

Ook [Wayback/Archive] Stichting Ziek Gelukkig (@ZiekGelukkig) / Twitter kwam aan bod.

–jeroen

Read the rest of this entry »

Posted in About, Awareness, Cancer, Health, LifeHacker, Personal, Power User | Leave a Comment »

In deze tijden van desinformatie belangrijker dan ooit “Zo check je waar die foto vandaan komt: foto’s controleren met een paar muisklikken.” (Peter Burger op Twitter) #OSINT

Posted by jpluimers on 2022/04/08

(English link for OSINT video/photo checking at the bottom of the post)

[Wayback/Archive] Peter Burger on Twitter: “Zo check je waar die foto vandaan komt: foto’s controleren met een paar muisklikken.”

Met voorbeeld video’s hoe je dit met foto’s kunt doen, en een wat langere YouTube video hoe je dat ook met video kunt doen via [Wayback/Archive] Peter Burger on Twitter: “@ManoelServal Hebben we net een video over gemaakt! …”

[Wayback/Archive] Hoe check je video’s? – YouTube

Soms kom je op internet video’s tegen waarvan je denkt: klopt dat wel? In deze video van Nieuwscheckers zie je hoe je heel simpel kan controleren waar een video vandaan komt. http://www.nieuwscheckers.nl

Verderop in de replies een eenvoudige manier om video’s terug te vinden [Wayback/Archive] Peter Burger on Twitter: “@CarelBrendel Met gewoon screenshots maken en dan reverse image search kom je vaak een heel eind. Wil je meer dan is er speciaal voor video de Amnesty YouTube Data Viewer en vooral de geweldige plugin van Invid: …”:

[Wayback/Archive] InVID Verification Plugin – InVID project

A plugin to debunk fake news and to verify videos and images

It is available on that page for both Firefox and Chrome.

Via:

English

The last link also pointed to a tweet English content on tracing the source of video/photo material [Wayback/Archive] Jan Vergouwe on Twitter: “Ook benieuwd wat je zou kunnen doen om te checken of een foto of video nep of echt is? Een goed te volgen (in Engels wel) introductie…”

[Wayback/Archive] Shayan Sardarizadeh on Twitter: “Are you keen to learn how to use free, open source tools to investigate and verify videos and images online? @_kRaay @BenDoBrown @paulybrown and I have made a video with some tips about how we in @BBCNews verify online content. You might actually like it! …”

–jeroen

Read the rest of this entry »

Posted in LifeHacker, Photography, Power User, SocialMedia, Twitter, YouTube | Leave a Comment »

Mooie Twitter draad van Andrea Walraven Thissen over hoe om mentaal om te gaan met de informatie over de strijd in de Oekraïne

Posted by jpluimers on 2022/04/08

In 1 post want leest sneller dan Twitter: [Wayback/Archive] Thread by @Walrathis on Thread Reader App

Start van de draad op Twitter:

[Wayback/Archive] Andrea on Twitter: “Even een paar tweets, omdat ik merk dat veel mensen last hebben van alle vreselijke oorlogsbeelden. Allereerst; het is heel persoonlijk hoe beelden je raken en wélke beelden je maar moeilijk kwijt kunt raken. Als je moe bent, ziek of op een andere manier niet goed in je vel zit>”

Gerelateerd:

–jeroen

Posted in About, Awareness, Health, LifeHacker, Personal, Power User | Leave a Comment »