Posts

Showing posts from September, 2021

In HTML, an Input with Zero Length is Never too Small

Imagine you have an a text input with a minimum length: <input type="text" minLength="1"> Imagine you have a reference to this element and you call `.report Validity` or `.checkValidity`. So long as the input is empty, it will be treated as a valid length. You need to add t he ` required ` attri bute when you want the length to not be zero.

Gaming on Linux Gotchas

I've been PC gaming solely on Linux since the beginning of 2020 and generally things that are meant to work just work; it's just a case of installing a game through Lutris or switching on Proton for all games in Steam. But I've definitely experienced problems that have been some effort to resolve. I'll update this article over time as I find more things. Sometimes the Default Version of Proton Used is Out of Date At any time you will likely have many different versions of proton installed, so that if you have an issue, you can just toggle the version in the game's settings. For some reason when its set to "default" that doesn't always mean the latest version. I'm not sure if this is a bug or something Valve has done to certain games. In my case this was with Doom Eternal. GSync can Default to the Wrong Screen In your NVidia settings, there is a tab called "X Server XVideo Settings", which chooses which of your screens to apply GSync to. I