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

Archive for March, 2024

Software development dice

Posted by jpluimers on 2024/03/06

D20 shaped dice can be handy for software development blame…

Via [WayBack] Amy Renee on Twitter : “When you need to roll for blame in IT… 😂❤️… “

[WayBack] rachel binx on Twitter : “… “:

 

–jeroen

Read the rest of this entry »

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

Oh boy, VB.NET and JavaScript both have a `with` keyword too!

Posted by jpluimers on 2024/03/05

Last year, within a week, I saw two tweets of languages that, like Pascal, have a with statement as well:

  1. [Archive.is] Shawn Wildermuth 💻☕🎸🎥🎮 on Twitter: “JavaScript’s Forgotten Keyword (with)”
  2. [Archive.is] John Kaster #BlackLivesMatter on Twitter: “@suited_aces @marcocantu @delphijunkie @JimMcKeeth @jpluimers I present “with”… “

The first points to an article that shows the JavaScript implementation of with is very similar to the Pascal one: [Wayback] JavaScript’s Forgotten Keyword (with) – DEV Community.

Just in case some of my readers do not know my opinion of the Pascal with statement  (it even has it’s own blog category), I really think you should not use it Delphi: you should avoid the with statement as it makes your code less future proof.

The reason not to use it is called [Wayback] Accidental Shadowing in computer language speak (it also can rear its head when you define variables at different block levels like for instance this golang example: [Wayback] Warning for accidental variable shadowing with block scope – Technical Discussion – Go Forum).

Even the JavaScript specification advises against using the with keyword in [Wayback] with – JavaScript | MDN

**Warning:**Use of the with statement is not recommended, as it may be the source of confusing bugs and compatibility issues. See the “Ambiguity Contra” paragraph in the “Description” section below for details.

There have been various proposals to extend the Delphi implementation of the with statement to make it more resilient to Accidental Shadowing by forcing the usage to be prepended by a . (dot) or alias, as for instance seen in [Wayback] Re: “with” Coders are Monsters – delphi / [Wayback] delphi • View topic • “with” Coders are Monsters:

This is in fact what the second twitter messages pointed to: a VB.NET example doing just that: prepend with a dot: [Wayback] Maarten Balliauw on Twitter: “Looks like using With makes it pretty clean!… “

I was not even aware that VB.NET had it, but it has: [Wayback] With…End With Statement – Visual Basic | Microsoft Docs

And it has similar debugging issues as with Delphi as per [Wayback] The VB.NET ‘With’ Statement – embrace or avoid? – Stack Overflow:

Find the beginning of a With statement and set a breakpoint. Step to the next line (so you’re hiding the first line right under the if block). Highlight it, then ‘Add Watch’. You should see this: ‘With’ contexts and statements are not valid in debug windows.

–jeroen

Posted in .NET, Delphi, Development, Go (golang), JavaScript/ECMAScript, Pascal, Scripting, Software Development, VB.NET, With statement | Leave a Comment »

A Fatigue Scale by Miss•Treated

Posted by jpluimers on 2024/03/04

Some two years ago, a friend of me having Long-COVID posted about fatigue and the trouble finding a scale for it.

Their Dutch Twitter thread contained the below list which is very useful as it is phrased using concrete terms.

[Wayback/Archive] Five Reasons Fatigue Isn’t Like Normal Tiredness (Proving Most People Don’t Get It) — Miss•Treated

Read the rest of this entry »

Posted in Awareness, Covid-19 / Coronavirus, Covid-19/SARS-CoV-2/Coronavirus, Health, LifeHacker, Power User | Leave a Comment »

sysadafterdark on Twitter about the new audio and video calling: “Read the community note, then go turn it off. Envelope > Cog > Calling > Off.”

Posted by jpluimers on 2024/03/04

https://twitter.com/i/birdwatch/t/1762913390450577459

https://www.forbes.com/sites/barrycollins/2024/03/02/the-twitter-settings-you-should-change-now-to-block-unwanted-calls/

Posted in Uncategorized | Leave a Comment »

Falende administratie: Pashouder gegevens opgeven – ABN AMRO

Posted by jpluimers on 2024/03/03

[Wayback/Archive] www.abnamro.nl/zakelijk-pashoudergegevens is een HTTP 301 redirect naar [Wayback/Archive] Pashouder gegevens opgeven – ABN AMRO.

Kennelijk bewaart De Bank niet de persoonsgegevens die ik 35 geleden bij ze opgaf en ze in de 25 jaar daarna – toen ze nog kantoren hadden – telkens aan de balie liet zien wanneer ik me bij bepaalde transacties nodig waren – moest legitimeren.

Maar “ken uw klant” geldt niet voor “de Bank”: ze hebben de gegevens opnieuw nodig met als smoes Wwft: [Wayback/Archive] Know your client centre – ABN AMRO

Wij willen dat u elke dag veilig uw bankzaken kunt doen. Eén van de manieren waarop we hiervoor zorgen, is door actuele en correcte informatie te hebben over onze klanten. Dit is ook vastgelegd in de Wet ter voorkoming van witwassen en financieren van terrorisme (Wwft).

Dat ze die gegevens zelf dus niet paraat hebben, betekent eigenlijk dat ze zelf de veiligheid uit het oog verloren hebben.

Helaas geen uitzondering: nog geen bank tegengekomen die deze zaken wel op orde had.

Iemand tips van banken die dat wel hebben?

Dit willen ze weten volgens de brief (dit staat niet op de pagina waar de site naar verwijst: [Wayback/Archive] Pashouder gegevens opgeven – ABN AMRO):

  • Geboortedatum (ze snappen niet dat sommigen geen geboortedag of geboortemaand hebben en een of beide daarvan 00 kunnen zijn, zie Geboortedatum – Wikipedia)
  • Geslacht waarbij onduidelijk is of die het gaat om genderidentiteit, genderexpressie of biologisch geslacht (fenotypisch, gonadaal, of genetisch). Bovendien kan daar slechts man (Heer) of vrouw (Mevrouw) worden ingevuld (hallo ISO 5218) en is daar sprake van discriminatie (als het bijvoorbeeld om het genetische geslacht, dan zijn er meer dan 2 keuzes: X, XX, XXX, XY, XXY en XYY komen voor)
  • Volledige voornamen
  • Officiële achternaam
  • Aangekomen achternaam als die er is

Daadwerkelijk gevraagd op het elektronische formulier:

  • IBAN
  • Pasnummers
  • Aanhef (geslacht) met slechts de keuzes Heer of Mevrouw
  • Voorletter(s)
  • Tussenvoegsel(s)
  • Achternaam
  • Volledige voornamen
  • Tussenvoegsel(s) aangenomen achternaam
  • Volledige dubbele achternaam

Naar UBO wordt dan weer niet gevraagd (wat in bovenstaande link wel wordt gesuggereerd): [Wayback/Archive] Uw UBO-gegevens – ABN AMRO.

Daar gaan ze vast nog een keer om vragen, want stel je voor dat de zaken bij ze nu al op orde zouden zijn…

Dingen die op het formulier niet werken:

--jeroen

Posted in LifeHacker, Power User | Leave a Comment »

Thread by @AlanLevinovitz on Thread Reader App – Thread Reader App

Posted by jpluimers on 2024/03/01

Some 2 years ago, but still relevant on all Social Media platforms is the [Wayback/Archive] Thread by @AlanLevinovitz on Thread Reader App – a short list of flexible rules I use to make this a wonderful paradise I enjoy almost all the time.

Quoted in full (#7 really works, see the screenshot at the end of the blog post):

Read the rest of this entry »

Posted in SocialMedia, Twitter | Leave a Comment »