Nathan Phillip Brink

Results 59 comments of Nathan Phillip Brink

This is one of the reasons that [the documentation recommends against using `SetHighDpiMode()`](https://docs.microsoft.com/en-us/windows/win32/hidpi/setting-the-default-dpi-awareness-for-a-process). You should, if possible, set this value in the application manifest. Or make sure it is **the...

If you are using winforms, that is sort of something that must exist outside of dependency injection. A GUI application is already a special thing on Windows…. As the documentation...

@barnhill > What do you think of this @binki ? > > Encoding the first vs the last will require the same amount of switching modes unless Im missing something....

@Badkoubehei > As you see, it will use two less symbols; The first is to not encode numeric sequences having length less than 3, and the other one is to...

@Badkoubehei > @binki > > > * Start or end digit sequence must be at least 4 digits long (e.g., “start-C 12 34 mode-A A” (5) is cheaper than “start-A...

@RadoslavMarinov That is building up a shell string. Doing this properly is error-prone and platform-dependent. Instead, you should individually invoke all of those programs, using logic in your program to...

> What was your reasoning for making it this way? I am not Stephen. I suspect it might have been modeled that way because that is like doing `poll()` with...

> we have countless shells in Windows as eg. git bash, powershell, wsl, cmd, etc. If you shellout in Windows, which is what `npm run` does, you get `CMD`. I...

I haven’t written any plugins, so I can’t speak for the community. But from the standpoint of the least breaking change that maybe could be implemented now, `hasPipe()` sounds promising....

If we’re allowed to make breaking changes, I would definitely go for a property/function to test for the presence of piped data (`hasPipe`) and throwing an exception when trying to...