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 2,805 other followers

Archive for March 10th, 2022

I could not get this to work: Use a second laptop as an extended monitor with Windows 10 wireless displays – Scott Hanselman’s Blog

Posted by jpluimers on 2022/03/10

I had a vague recollection of this was possible, so I was glad to find it back after having recovered from all cancer treatments at [Wayback] Use a second laptop as an extended monitor with Windows 10 wireless displays – Scott Hanselman’s Blog.

The feature is called “Miracast” and has a built-in Windows 10 implementation for both sending and receiving not just over WiFi, but also over the local fixed ethernet network: [Wayback] Miracast on existing wireless network or LAN – Surface Hub | Microsoft Docs.

With such support, I’d expected an “it works out of the box” experience. It is far from that, so let me show what I bumped into and how I finally did not get it working.

TL;DR

  1. Windows will tell you when it doesn’t work
  2. Windows won’t tell you why it doesn’t work
  3. The tooling to try to find out why it doesn’t work is not sufficient: documentation is scarce and far from complete

When out of luck

I tried two machines with Intel processors having built-in graphics engines.

Thinkpad T510

Read the rest of this entry »

Posted in Power User, T510, ThinkPad, Windows, Windows 10 | Leave a Comment »

How To Fix Missing Hibernation Option On Windows 10

Posted by jpluimers on 2022/03/10

Windows 10 on desktops still defaults to the Sleep option to be available in any Power action while the Hibernation option is unavailable.

This is odd now that most systems have fast and sizable SSD options: from a power loss perspective, Hibernate is much safer than Sleep on desktop machines.

[Wayback] How To Fix Missing Hibernation Option On Windows 10 explains how to restore the Hibernate option.

It is a three step process, partial on the Administrator elevated command-line, part in the UI. I wish all could be done on the commandline

  1. Enable an hibernation file: powercfg.exe /hibernate on
  2. Start the “Power Options” control panel applet: powercfg.cpl
  3. In the UI, under “Choose what the power buttons do”, disable “Sleep” and enable “Hibernate” (you might need to “Change settings that are currently unavailable” first), then press “Save changes”

I have not tried yet, but these Registry Values under [Wayback]HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FlyoutMenuSettings might just cut it, but I am not sure it is complete:

  • ShowHibernateOption with values 0 and 1
  • ShowSleepOption with values 0 and 1

There is also a value ShowLockOption that defaults to 1.

Two git places where these registry values are mentioned:

–jeroen

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

The things I didn’t notice during cancer survival: ftfy 6.0 and more versions got released during my recovery

Posted by jpluimers on 2022/03/10

When writing this, [Wayback/Archive.is] ftfy · PyPI:history indicates ftfy was already at 6.0.3.

It is still my goto tool for figuring out the cause of Mojibake. I remember writing about it the first time in 2016 (see the ftfy category) when it was already at version 3.0, discovering it after a few Mojibake posts.

By now it even understands right-to-left Mojibake garbage: [Archive.is] Elia Robyn Speer on Twitter: “ftfy 5.8 is out! … A user reported that Hebrew text wasn’t being fixed, and this made me think about how to expand some of the trickier cases to non-Latin alphabets.”

Mojibake mishaps still happen a lot, so by now I hope I will have done a Mojibake themed Delphi talk at one or more conferences.

Read the rest of this entry »

Posted in !!con (bangbangcon), About, Autistic Spectrum/Autism, Cancer, Conference Topics, Conferences, Development, Encoding, Event, ftfy, Mojibake, Personal, Python, Rectum cancer, Scripting, Software Development, Unicode | Leave a Comment »

 
%d bloggers like this: