Comment on what is my purpose rule
yesman@lemmy.world 7 months agoThat’s a good point:
Disable copilot via regedit
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\WindowsCopilot] “TurnOffWindowsCopilot”=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsCopilot] “TurnOffWindowsCopilot”=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge] “HubsSidebarEnabled”=dword:00000000
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer] “DisableSearchBoxSuggestions”=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Explorer] “DisableSearchBoxSuggestions”=dword:00000001
Reenable copilot via regedit
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\WindowsCopilot] “TurnOffWindowsCopilot”=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsCopilot] “TurnOffWindowsCopilot”=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge] “HubsSidebarEnabled”=-
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer] “DisableSearchBoxSuggestions”=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Explorer] “DisableSearchBoxSuggestions”=-
dual_sport_dork@lemmy.world 7 months ago
Gotta love Microsoft. “We need this to store either a 0 or a 1. How many bits should we take up, boss?”
32.
Bezier@suppo.fi 7 months ago
Using more than one bit for true/false isn’t just a microsoft thing, and not really as ridiculous as it sounds. If you have 32 bits in one memory address, you can either:
MacNCheezus@lemmy.today 7 months ago
I bet the person who decided to store gender as a 32 bit value instead of a single bit is feeling utterly proud of his foresight right now.
Technus@lemmy.zip 7 months ago
It looks to be the smallest supported integer type: …microsoft.com/…/25cce700-7fcf-4bb6-a2f3-0f6d0843…
I don’t know much about the registry file format or the Windows APIs, but it’s possible that smaller data types wouldn’t save space due to alignment requirements for the datastructures.