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

LanguageTool – Online Grammar, Style & Spell Checker (English, German, Dutch, French, …)

Posted by jpluimers on 2021/12/02

Cool when writing texts in languages I don’t often write in, so I can read them better than I write them:

[Wayback/Archive.is] LanguageTool – Online Grammar, Style & Spell Checker

It supports English (many variations, including US and UK English), German (Swiss and Austrian German too!), Dutch, and many other languages.

–jeroen

Posted in Development, LifeHacker, Power User, Software Development | Leave a Comment »

parsing – delphi – strip out all non standard text characers from string – Stack Overflow

Posted by jpluimers on 2021/12/02

From a while back a totally non-optimised code example by me (intentionally limiting to AnsiStr as it was about filtering ASCII, and UniCode has way many code points for the Latin script).

// For those who need a disclaimer: 
// This code is meant as a sample to show you how the basic check for non-ASCII characters goes
// It will give low performance with long strings that are called often.
// Use a TStringBuilder, or SetLength & Integer loop index to optimize.
// If you need really optimized code, pass this on to the FastCode people.
function StripNonAsciiExceptCRLF(const Value: AnsiString): AnsiString;
var
  AnsiCh: AnsiChar;
begin
  for AnsiCh in Value do
    if (AnsiCh >= #32) and (AnsiCh <= #127) and (AnsiCh <> #13) and (AnsiCh <> #10) then
      Result := Result + AnsiCh;
end;

and an optimised one by [WayBack] David Heffernan

function StrippedOfNonAscii(const s: string): string;
var
  i, Count: Integer;
begin
  SetLength(Result, Length(s));
  Count := 0;
  for i := 1 to Length(s) do begin
    if ((s[i] >= #32) and (s[i] <= #127)) or (s[i] in [#10, #13]) then begin
      inc(Count);
      Result[Count] := s[i];
    end;
  end;
  SetLength(Result, Count);
end;

Even when “trivial”, I usually do not prematurely optimise as optimised code is almost always less readable than non-optimised code.

Source: [Wayback] parsing – delphi – strip out all non standard text characers from string – Stack Overflow

–jeroen

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

console convert pcap to wav: not easily possible; use the WireShark GUI to do

Posted by jpluimers on 2021/12/01

Wanting a simple way on the console to convert a .pcap file to a .wav file, I searched for [Wayback] console convert pcap to wav – Google Search.

The reason is that [Wayback] fritzcap (written in Python) sometimes crashes while doing the conversion of a phone recording, so then only the .pcap file is available. I still want to figure this out, but given my health situation, I might not be able to in time.

Read the rest of this entry »

Posted in *nix, *nix-tools, Audio, Development, ffmpeg, Fritz!, Fritz!Box, fritzcap, Hardware, Media, Network-and-equipment, Power User, Python, Scripting, Software Development, Wireshark | Leave a Comment »

Some notes on forwardemail.net

Posted by jpluimers on 2021/12/01

Some notes, as I’m looking to a stable, simple to maintain email forwarding system that is also secure and – yes – can cost money.

I need to leave IT-infrastructure behind that is easy to maintain for my heirs.

Some links:

  • [Archive.is] mausdompteur 💉 on Twitter: “Email! Yes, Email. Need to Set Email for a domain, basically forward only. Has anyone ever heard of https://t.co/v29TbMXrrl? Is it good? Any alternatives I should consider?”
  • [Wayback] The Best Free Email Forwarding Service for Custom Domains | Forward Email

    The best open-source and free email forwarding service for custom domains. We do not keep logs nor store emails. We don’t track you. Unlimited aliases, catch-alls, wildcards, API access, and disposable addresses. Built-in support for DKIM, SRS, SPF, ARC, DMARC, and more. No credit card required.

  • [Wayback] FAQ | Forward Email has a truckload of information, but the main points for me are these:

    What is the max email size limit

    We default to a 50MB size limit, which includes content, headers, and attachments. Note that services such as Gmail and Outlook allow only 25MB size limit, and if you exceed the limit when sending to addresses at those providers you will receive an error message.

    An error with the proper response code is returned if the file size limit is exceeded.

    What is the difference between Free and Enhanced Protection

    The Free plan requires you to use public DNS records to store your forwarding configuration. Anyone with a computer can lookup your forwarding configuration in a terminal if you are on the Free plan. Unlike the Free plan, the Enhanced Protection plan uses a cryptographically generated random string to store your forwarding configuration privately.

    Free Plan Enhanced Protection Plan
    forward-email=user@gmail.com forward-email-site-verification=m8d7o8K4Il
  • [Wayback] About | Forward Email with this very important point for me:

    Privacy

    We have a “zero tolerance policy” privacy policy, which states that we don’t store logs nor emails, and we don’t track users. Our statement clearly states that we do not collect nor store forwarded emails, metadata, server-side nor client-side logs, IP addresses, or browser information.

    Only an email address is required to create and configure the Enhanced Protection Plan, which hides DNS email alias information on the free plan through a managed and hosted service.

    User’s accounts, domains, and all related information can be permanently deleted at any time by the user.

  • [Wayback] Pricing | Forward Email (levels: free / enhanced protection / team / enterprise)

    Free email forwarding for domains with features including Custom Domain Email Forwarding, Disposable Addresses, Multiple Recipients, Wildcards, and more!

  • It’s open source too (written in JavaScript using Node.js), but running it requires you to keep up with versions and security: [Wayback/Archive.is] forwardemail/free-email-forwarding: The best free email forwarding for custom domains. Visit our website to get started (SMTP server)

–jeroen

Read the rest of this entry »

Posted in Development, eMail, JavaScript/ECMAScript, Node.js, Power User, Scripting, SocialMedia, Software Development, Web Development | Leave a Comment »

Manually installing or updating xcode (was: ruby – Error Message “Xcode alone is not sufficient on Sierra” – Stack Overflow)

Posted by jpluimers on 2021/12/01

If you ever get error messages like this (Sierra can bey any MacOS version name):

  • Error: Xcode alone is not sufficient on Sierra.
  • Xcode alone is not sufficient on Sierra.

Then run this on the terminal:

xcode-select --install 

This works even if it is already installed, as the message will also show up when the current install is outdated.

Note from [Wayback] `xcode-select –install` required for OS X 10.9 Xcode command-line tools (like `zlib-devel`) « The Wiert Corner – irregular stream of stuff

There is one catch though: it might fail as you first have to start Xcode once and accept the license agreement.

–jeroen

Via my answer on [Wayback] ruby – Error Message “Xcode alone is not sufficient on Sierra” – Stack Overflow

Posted in Development, Software Development, xCode/Mac/iPad/iPhone/iOS/cocoa | Leave a Comment »

Which SMTP Port Should I Use? Learn Ports 25, 465, & 587 (and unofficial port 2525) | Mailgun

Posted by jpluimers on 2021/11/30

When trying to deliver mail, it is important to know which protocols and ports you can use.

On smtp, smtp-submission, smtps (ports 25, 587 and 465) and unofficial port 2525 (which Maingun maps to `smtp-submission): [Wayback] Which SMTP Port Should I Use? Learn Ports 25, 465, & 587 | Mailgun

Quote on why smtps port 465 is hardly used:

Port 465:

IANA has reassigned a new service to this port, and it should no longer be used for SMTP communications.

However, because it was once recognized by IANA as valid, there may be legacy systems that are only capable of using this connection method. Typically, you will use this port only if your application demands it. A quick Google search, and you’ll find many consumer Inbox Service Providers’ (ISPs) articles that suggest port 465 as the recommended setup. However, we do not recommend it, as it is not RFC compliant.

–jeroen

Posted in Communications Development, Development, Internet protocol suite, SMTP, Software Development, TLS, Web Development | Leave a Comment »

VFrontDe/ESXi-Customizer-PS: PowerCLI script that greatly simplifies and automates the process of creating fully patched and customized VMware ESXi installation images

Posted by jpluimers on 2021/11/30

On my list of things to try, as it allows me to have an ISO at hand in case I ever need to quickly re-install a machine to the current patch level (for instance when the USB boot stick breaks down: these things happen in reality): [Wayback] VFrontDe/ESXi-Customizer-PS: PowerCLI script that greatly simplifies and automates the process of creating fully patched and customized VMware ESXi installation images

ESXi-Customizer-PS is a Powershell script that greatly simplifies and automates the process of creating fully patched and customized ESXi 5.x and 6.x installation ISOs using the VMware PowerCLI ImageBuilder module/snapin.

Requirements

  • A Windows computer (XP or newer) with Powershell 2.0 or newer
  • VMware PowerCLI version 5.1 or newer

You can get the code from [Wayback] ESXi-Customizer-PS/ESXi-Customizer-PS.ps1 at master · VFrontDe/ESXi-Customizer-PS.

The old site (which still has most of the documentation) can be reached at two places:

A video showing how to use it is below the signature.

The above links via [Wayback] Custom ESXi ISO with ne1000 driver for install on Intel NUC Frost Canyon – seanwalsh.dev.

 

Oh: you can check if you have a PXE, USB or HDD installation of ESXi via the steps here: Determining the ESXi installation type (2014558) | VMware KB.

More on a failing USB stick later…

 

–jeroen


Read the rest of this entry »

Posted in CommandLine, Development, ESXi6, ESXi6.5, ESXi6.7, ESXi7, Power User, PowerCLI, PowerShell, PowerShell, Software Development, Virtualization, VMware, VMware ESXi | Leave a Comment »

Katie Anderson on Twitter: “Saw this on Facebook and it’s my new favorite PaaS (Pizza as a Service) breakdown”

Posted by jpluimers on 2021/11/30

Legacy/IaaS/PaaS/SaaS explained by “Pizza as a service”: from home made, take and bake, pizza delivery to full dining out.

[Archive.is] Katie Anderson on Twitter: “Saw this on Facebook and it’s my new favorite PaaS (Pizza as a Service) breakdown https://t.co/INKKG9UOAK” / Twitter

–jeroen

Read the rest of this entry »

Posted in Cloud, Conference Topics, Conferences, Development, Event, Infrastructure, Software Development, Systems Architecture | Leave a Comment »

BAG Viewer – 0363100012131170

Posted by jpluimers on 2021/11/29

That’s our house: [Archive.is] BAG Viewer – 0363100012131170

 

Read the rest of this entry »

Posted in About, Personal | Leave a Comment »

Symptomen van overprikkeling en hoe je dit kunt voorkomen

Posted by jpluimers on 2021/11/29

Via [Archive.is] Anne van de Beek💭 on Twitter: “Dit zijn een aantal mogelijke symptomen van #overprikkeling. Je leest er meer over in dit artikel van @PraktischAutism: https://t.co/viZAfz2GdE Welke klachten krijg jij als je overprikkeld bent? #autisme… https://t.co/D4SUGOsWDj”

[WayBack] Overprikkeling bij volwassenen met autisme – gastblog door Barbara de Leeuw – A-typist

  • Signaleren > welke signalen gaan bij jou vooraf aan overprikkeling?
  • Herkennen > het tijdig herkennen van die signalen, zodat preventief ingegrepen kan worden.
  • Doen! > wat kun je op zo’n moment doen en hoe pas je je dagelijks leven zo aan, dat je in mindere mate last van overprikkeling krijgt.

  1. Bijtijds rust nemen.
    Even uit de situatie stappen. Ga bijvoorbeeld een korte wandeling maken of verstop jezelf een tijdje op het toilet. Het gebruik van oordoppen kan in rumoerige situaties goed werken. Ook meditatie kan effectief zijn. In dat geval is het boek van Annelies Spek – “Mindfulness bij volwassenen met autisme” absoluut een aanrader.
  2. Pas je dagelijkse planning aan.
    Het hebben van een dagelijkse, doch niet rigide structuur brengt rust, duidelijkheid en regelmaat. Houd dus een dag- en weekplanning bij op een manier die jou het meest bevalt. Een agenda, een planbord en/of een bullet journal. Wissel elke activiteit af met “bijkomtijd”. Even rust alvorens de volgende activiteit te starten.
  3. Pas je woonomgeving aan.
    Teveel prikkels in huis werken averechts. Zorg dus dat alles een vaste plaats heeft, ruim alles direct op, zorg voor dozen en ordners om de losse spullen in op te ruimen en durf overtollige spullen weg te gooien. Neem hierin ook de eventuele kinderkamers mee. Ook zij zijn gebaat bij een opgeruimd huis. Zorg ervoor dat je huis je comfortzone wordt.
  4. Durf “NEE” te zeggen.
    “Nee” zeggen tegen je omgeving is vaak doodeng. Hoe zullen ze reageren? Natuurlijk, er zijn altijd mensen bij die het niet alleen niet kunnen, maar ook niet willen begrijpen. En als diezelfde mensen dan ook nog geen begrip op kunnen brengen, is dat beslist heel lastig en pijnlijk. Toch zijn die mensen vaak veruit in de minderheid. De meesten zullen begripvol reageren als je aangeeft waar je last van hebt en dat je daardoor bijvoorbeeld niet te lang op een verjaardagsfeest kunt blijven. Waar het hier vooral om gaat, is dat je een keuze durft te maken tussen die dingen die MOETEN en die dingen die je WILT. Sociale uitzonderingen daargelaten, zul je zien dat er heel veel situaties zijn die geen verplichting zijn. Ook niet als ze zo voelen. Jij wordt daar echt geen minder vriendelijk mens van.
  5. Leer assertief te zijn.
    Assertiviteit leert je om op een vriendelijke, doch daadkrachtige manier “nee” te zeggen. Op die manier kwets je niemand en zullen mensen eerder geneigd zijn begrip te tonen.
  6. Biedt een sociaal alternatief.
    Kun je niet naar die verjaardag? Biedt dan aan de jarige een keer te trakteren op een lunch. Hij/zij voelt zich niet vergeten, jullie hebben alle tijd om even bij te kletsen en jij kunt kiezen welke locatie jou de minste prikkels oplevert.

  1. Durf om duidelijkheid en voorspelbaarheid te vragen.
    Een mooie methodiek hiervoor is “Geef me de 5” van Colette de Bruin, waarmee je praktisch elke onduidelijkheid kunt wegnemen door ervoor te zorgen dat er invulling is op de punten Wie, Wat, Waar, Wanneer en Hoe.
  2. Zorgen om de ander.
    Het is mooi als je je inleeft in iemand anders zijn situatie of emoties, maar als dat betekent dat het jou daardoor belemmert, wordt het tijd om er iets aan te doen.
  3. Niet-helpende gedachten.
    Ook zo’n heikel punt waar veel mensen met autisme last van hebben. “Het kan niet, want….”. Nadeel hiervan is niet alleen het risico op overprikkeling, maar je kunt je dan ook ontzettend onbegrepen gaan voelen.

Her stuk bevat verder ook een aantal “Tips voor familie/vrienden, hulpverleners en werkgevers”.

Aanrader!

–jeroen

Read the rest of this entry »

Posted in About, Awareness, Personal | Leave a Comment »