Live data from Hacker News

A jump into the middle of an instruction from nowhere (2023)

devblogs.microsoft.com

41–50 of 112 posts

Re: A jump into the middle of an instruction from nowhere (2023)

#41
post #34

Earlier quoted context omitted.

No, the "nefarious" means they are simply using APIs like WriteProcessMemory/ VirtualProtectEx/CreateRemoteThreadEx to modify the memory of runing programs or use SetWindowsHookEx to install global hooks (which inject your dll into every process for the non low-level events)

Is this any different than what a virus would do?

Yes. Intent matters.

Re: A jump into the middle of an instruction from nowhere (2023)

#42
post #3

Seeing the title and the domain I instantly knew whose blog post this is...

Is it just me? His posts always begin with an interesting technical anecdote and then veer off into boring propaganda with sullies the reputability. It's an intellectual let-down.

Re: A jump into the middle of an instruction from nowhere (2023)

#43

There is an interview with Raymond Chen where he is trying to defend the reason why they crippled the taskbar with Windows 11 [1]. Watching that I was just thinking NO NO NO - it worked fine for the last 25 years and there can be absolutely no reason why they had to destroy the taskbar now. He deserves every headache he gets with these support requests. Or to quote this comment of the linked article: > There wouldn’t…

Watching the clip, the improvements he's talking about are great and very welcomed. Is this a case of any change being considered bad because you're used to how things are?

Re: A jump into the middle of an instruction from nowhere (2023)

#44

Earlier quoted context omitted.

That's a lot of money and time to spend on supporting someone else's bug-riddled software. You can't test literally all software that exists before you release a security patch. Just imagine testing every single solitary Windows application that exists, or has every existed, just to see if one of them crashes due to intentionally doing the wrong thing. What are they supposed to do, fix the 3rd party software? Delay f…

That's a lot of money and time to spend on supporting someone else's bug-riddled software. Consider that it's money and time that MS spent to get into their position today. They built their empire on "back-compat is king", and betraying that principle gives far less reason for their customers to continue using their software instead of moving to alternatives.

Microsoft cares about backwards compatibility and does a good job at it IMO, especially compared to their competitors. The thing that broke was not a public API, but an internal, undocumented, unexported function in Explorer. Microsoft did patch API abuse in the past for prominent software, but they can't be expected to do it forever and for all software.

Re: A jump into the middle of an instruction from nowhere (2023)

#45

Earlier quoted context omitted.

That's a lot of money and time to spend on supporting someone else's bug-riddled software. You can't test literally all software that exists before you release a security patch. Just imagine testing every single solitary Windows application that exists, or has every existed, just to see if one of them crashes due to intentionally doing the wrong thing. What are they supposed to do, fix the 3rd party software? Delay f…

That's a lot of money and time to spend on supporting someone else's bug-riddled software. Consider that it's money and time that MS spent to get into their position today. They built their empire on "back-compat is king", and betraying that principle gives far less reason for their customers to continue using their software instead of moving to alternatives.

They were the scrappy underdog then, they're the big dog now.

At least Apple straight up tells you "we support for about 3 years, then you're boned".

Re: A jump into the middle of an instruction from nowhere (2023)

#46
post #34

Earlier quoted context omitted.

No, the "nefarious" means they are simply using APIs like WriteProcessMemory/ VirtualProtectEx/CreateRemoteThreadEx to modify the memory of runing programs or use SetWindowsHookEx to install global hooks (which inject your dll into every process for the non low-level events)

Is this any different than what a virus would do?

Is these APIs are only used by viruses, why do they exist?

Re: A jump into the middle of an instruction from nowhere (2023)

#47
post #34

Earlier quoted context omitted.

Is this any different than what a virus would do?

Is these APIs are only used by viruses, why do they exist?

Because they are also used by debuggers, security tools, and other flavors of "keep the world humming along despite its best efforts to kill itself."

Re: A jump into the middle of an instruction from nowhere (2023)

#48
post #20

There is an interview with Raymond Chen where he is trying to defend the reason why they crippled the taskbar with Windows 11 [1]. Watching that I was just thinking NO NO NO - it worked fine for the last 25 years and there can be absolutely no reason why they had to destroy the taskbar now. He deserves every headache he gets with these support requests. Or to quote this comment of the linked article: > There wouldn’t…

Unfortunately it's the designers that are screwing up the UI/UX of Windows, not the programmers. If you give more time to the designers then you're just going to get more of a clone of OSX rather than something useful.

The OSX dock has almost always supported vertical orientations, nearly as long as the Windows taskbar used to. If they are trying to clone OSX they are doing a miserable job at it in their choices of features to cut.

Re: A jump into the middle of an instruction from nowhere (2023)

#49

There is an interview with Raymond Chen where he is trying to defend the reason why they crippled the taskbar with Windows 11 [1]. Watching that I was just thinking NO NO NO - it worked fine for the last 25 years and there can be absolutely no reason why they had to destroy the taskbar now. He deserves every headache he gets with these support requests. Or to quote this comment of the linked article: > There wouldn’t…

I wouldn't say it worked "fine" for 25 years. It's still there all the time taking screen space. You can hide it but it will re-appear if you move your mouse to the now cleared screen real estate. The reason I need taskbar hacks is that I want one feature they never added: hide the taskbar permanently until I explicitly ask to see it (for example by pressing a Windows Key). For me it doesn't matter much if the taskbar is horizontal, vertical or goes through the screen diagonally. Just let me hide it and keep it hidden. I am ok with full screen taskbar as long as it only appears when I ask it to. I see not adding this obvious feature as manifestation of "you will have it our way and you will like it" attitude of Windows UI team (or whoever is responsible for it).

To add a bit to this rant, here is a script that mostly solves the problem: https://github.com/CrypticButter/ButteryTaskbar

It isn't 100% reliable but it's good enough for me. Now I hope to find something that prevents Windows 11 from dimming my screen when on battery after a few seconds of inactivity. Pretty please?

Re: A jump into the middle of an instruction from nowhere (2023)

#50
post #5

Frankly, it is really annoying when developers working at one of the large closed-source platform oligopolists blame their users for trying to work around the deficiencies (or even outright hostile "business model" optimizations) in their software by whatever scant means are left to them: maybe if Microsoft didn't keep removing good functionality and stopped forcing bad "features" on everyone, fewer people would see…

> This program patches Explorer in order to accomplish its enhancements, and apparently one of its patches went awry

The fact this is possible is the clowniest thing! Why would a major system component allow "extensions" to run without a sandbox and modify its code?

Post reply on HN