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

Archive for the ‘Power User’ Category

Some links on LaunchTM.exe, as I had been unaware Windows can use it to launch TaskMgr.exe

Posted by jpluimers on 2024/10/04

A while ago I learned that since Windows 8, sometimes it uses LaunchTM.exe (which is not even on Wikipedia) to start TaskMgr.exe.

I could find little information about the why, so here are some links with information on when LaunchTM.exe is used (which is confusing) and what command-line parameters TaskMgr.exe can get (also confusing as the order of parameters matter):

Read the rest of this entry »

Posted in Power User, Windows, Windows 10, Windows 11, Windows 7, Windows 8, Windows 8.1 | Leave a Comment »

Yes, Windows user names can contain spaces

Posted by jpluimers on 2024/10/02

I forgot what triggered me querying for [Wayback/Archive] can windows user names contain spaces – Google Search.

Boy I was surprised that the answer is yes.

Following that I was totally not surprised that:

Read the rest of this entry »

Posted in Power User, Windows, Windows 10, Windows 11, Windows 7, Windows 8, Windows 8.1 | Leave a Comment »

Lokjo.com – Your worldwide local map

Posted by jpluimers on 2024/09/30

[Wayback/Archive] Lokjo.com – Your worldwide local map

Via [Wayback/Archive] Lokjo – EU’s Gmaps replacement (@Lokjo@mstdn.social) – Mastodon 🐘

Hi! We’re Lokjo, a world wide online map, build in europe.

We support local shops and do things a bit different:

– no data collecting.
– no algorithm.
– no zoomlevel listing, we show all searched locations at once.
– corporate locations are stripped from the search list. Fair is fair.

There’s 5 languages, we’re based on OSM, and have lots of useful functions, read the quick FAQ to make the best use of the map.

--jeroen

Posted in LifeHacker, Power User | Leave a Comment »

Windows 10/11: Skip Security Questions When Adding Local User

Posted by jpluimers on 2024/09/30

Based on [Wayback/Archive] Windows 10/11: Skip Security Questions When Adding Local User, [Wayback/Archive] Remove Security Questions when setting up Local Account in Windows and others:

  • if during initial Windows 10/11 setup you add a user with a password, then it will ask you for 3 security questions
  • if you do not want these 3 security questions:
    1. leave the password blank when adding the user
    2. after first logon, press Ctrl-Alt-Del and change the password from blank to an actual password

Via [Wayback/Archive] windows 10 skip security questions – Google Search.

–jeroen

Posted in Authentication, Power User, Security, Windows, Windows 10, Windows 11 | Leave a Comment »

Attempting to stop Microsoft users sending ‘reactions’ to email from me by adding a postfix header

Posted by jpluimers on 2024/09/27

If you do not want Outlook kinds of clients spamming you, then add this header to your email messages above the Content-Type header (see [Wayback/Archive] The Message Content-Type in MIME)

x-ms-reactions: disallow

[Wayback/Archive] Attempting to stop Microsoft users sending ‘reactions’ to email from me by adding a postfix header

Via [Wayback/Archive] Kris: “x-ms-reactions: disallow http…” – chaos.social

x-ms-reactions: disallow

neilzone.co.uk/2024/07/attempt

Eine kleine Mailserver Config verhindert, daß Outlook Volldeppen meine Mailbox mit Likes spammen.

Sehr gut.

--jeroen

Posted in *nix, *nix-tools, Communications Development, Development, Internet protocol suite, Office, Outlook, postfix, Power User, SMTP | Leave a Comment »

What’s inside the QR code menu at this cafe? – by peabee

Posted by jpluimers on 2024/09/27

This is why I do not trust ordering via QR-code: you never know how good (or usually bad, often even non-existent) their security is.

[Wayback/Archive] What’s inside the QR code menu at this cafe? – by peabee is a really bad example about Google backed DotPe: they have zero-auth and by now have rated limited API access by IP address.

I went to a cafe near my home. I sat down and scanned the QR code on the table. It took me to a website displaying the cafe’s menu. It asked me for my name and Whatsapp mobile number. I entered the details and placed the order.

In 5 mins my order arrived at the table. There was no OTP verification, and no one came to confirm the order. Is this what the peak ordering experience looks like?

It was a slow workday, and I thought I might as well open this QR code website on my laptop and have a quick look under the hood. Maybe I should’ve just made my own coffee and stayed home because I didn’t realize I was opening a can of worms.

This kind of zero-auth is not infrequent: the Panels API and CDN were wide-open too: [Wayback/Archive] https://storage.googleapis.com/panels-api/data/20240916/media-1a-i-p~s

Read the rest of this entry »

Posted in Authentication, Development, Infosec (Information Security), LifeHacker, Phishing, Power User, Security, Software Development | Tagged: | Leave a Comment »

Some links on repairing the buttons of remote controls that use graphite to short areas on printed board circuits

Posted by jpluimers on 2024/09/27

Most are Dutch as I started with [Wayback/Archive] drukknop afstandsbediening grafiet – Google Search.

Summary:

  • first give a good clean
  • avoid acetone and super-glue
  • be careful with too much other solvent (ethanol or isopropyl-alcohol)
  • pencils often do not contain enough graphite any more
  • aluminium foil or conductive paint work fine (be sure to let the paint for at least 24 hours)

Read the rest of this entry »

Posted in LifeHacker, Power User | Leave a Comment »

86Box is a cool IBM PC emulator: it even supports modem emulation and SLiRP. Serial BBS galore over the internet all over again!

Posted by jpluimers on 2024/09/25

A while ago, I learned about 86Box an “IBM PC emulator for Windows, Linux and Mac based on PCem that specializes in running old operating systems and software that are designed for IBM PC compatibles.”

Until then, I mostly used DOSBox for emulation (which I had known after Windows 2000 dropped DOS support), but sometimes DOSBox doesn’t cut it as it emulates DOS (now mainly for gaming), not a full x86 based PC.

The toot pointing me at 86Box was [Wayback/Archive] mr_daemon: “So, 86box has gotten General Modem Emulation… internet over SLiRP…” – untrusted.website (with the image that is on the top right in this blog post)

Read the rest of this entry »

Posted in 86Box, DOSBox, Emulators, LifeHacker, Power User | Leave a Comment »

NTFS Sparse Files For Programmers

Posted by jpluimers on 2024/09/25

Need to check this out some day: cs.exe compiled from [Wayback] sparse.zip which you can download from [Wayback/Archive] NTFS Sparse Files For Programmers

Read the rest of this entry »

Posted in C, C++, Development, NTFS, Power User, RoboCopy, Software Development, Visual Studio C++, Windows, Windows 10, Windows 11 | Leave a Comment »

string – Check if MyString[1] is an alphabetical character? – Stack Overflow (and how Embarcadero broke one of the product version neutral redirects)

Posted by jpluimers on 2024/09/24

Quite a while ago [Wayback/Archive] string – Check if MyString[1] is an alphabetical character? – Stack Overflow asked by [Wayback/Archive] User Jeff was answered by [Wayback/Archive] Andreas Rejbrand:

The simplest approach is

function GetAlphaSubstr(const Str: string): string;
const
  ALPHA_CHARS = ['a'..'z', 'A'..'Z'];
var
  ActualLength: integer;
  i: Integer;
begin
  SetLength(result, length(Str));
  ActualLength := 0;
  for i := 1 to length(Str) do
    if Str[i] in ALPHA_CHARS then
    begin
      inc(ActualLength);
      result[ActualLength] := Str[i];
    end;
  SetLength(Result, ActualLength);
end;

but this will only consider English letters as “alphabetical characters”. It will not even consider the extremely important Swedish letters Å, Ä, and Ö as “alphabetical characters”!

Slightly more sophisticated is

function GetAlphaSubstr2(const Str: string): string;
var
  ActualLength: integer;
  i: Integer;
begin
  SetLength(result, length(Str));
  ActualLength := 0;
  for i := 1 to length(Str) do
    if Character.IsLetter(Str[i]) then
    begin
      inc(ActualLength);
      result[ActualLength] := Str[i];
    end;
  SetLength(Result, ActualLength);
end;

Back in 2011 I added a comment that for more than a decade would redirect to the most current documentation on the IsLetter method:

+1 for using IsLetter which checks the Unicode definition for being a letter or not [Wayback] docwiki.embarcadero.com/VCL/en/Character.TCharacter.IsLetter

Back then, Delphi X2 was current, so it would redirect

  1. from [Wayback] http://docwiki.embarcadero.com/VCL/en/Character.TCharacter.IsLetter
  2. to [Wayback] http://docwiki.embarcadero.com/VCL/XE2/en/Character.TCharacter.IsLetter
  3. then to [Wayback] http://docwiki.embarcadero.com/VCL/XE2/en/Character.TCharacter.IsLetter
  4. ending at [Wayback] http://docwiki.embarcadero.com/Libraries/XE2/en/System.Character.TCharacter.IsLetter

After a long outage in 2022 (see The Delphi documentation site docwiki.embarcadero.com has been down/up oscillating for 4 days is now down for almost a day.) only the Alexandria help was restored.

This killed the above redirect.

Luckily [Wayback/Archive] George Birbilis noticed that and commented this:

@JeroenWiertPluimers the correct link now is: docwiki.embarcadero.com/Libraries/Alexandria/en/…

In order to refer to the most recent Delphi version, now you have to use [Wayback] http://docwiki.embarcadero.com/Libraries/en/System.Character.TCharacter.IsLetter.

This redirects:

  1. via [Wayback] http://docwiki.embarcadero.com/Libraries/Alexandria/en/System.Character.TCharacter.IsLetter to
  2. to [Wayback] https://docwiki.embarcadero.com/Libraries/Alexandria/en/System.Character.TCharacter.IsLetter

The above breaks the help integration from older Delphi products which is bad. It is also bad because it makes it harder to port legacy Delphi code to more modern Delphi versions.

Hopefully the above gives you a bit insight how the docwiki help system was designed and what is left of that design.

–jeroen

Posted in Communications Development, Conference Topics, Conferences, Delphi, Development, Encryption, Event, HTML, HTTP, https, HTTPS/TLS security, Internet protocol suite, Power User, Security, Software Development, TCP, TLS, Web Development | Leave a Comment »