powermaker450
joined 2 years ago
"I Voted for Trump" — Now My Industry's Down 23% and Collapsing Fast: Freight CEO’s Heartbreaking Realization
probably not true in most other langauges. although I'm not well versed in the way numbers are represented in code and what makes a number "NaN", something tells me the technical implications of that would be quite bad in a production environment.
the definitive way to check for NaN in JS would probably be something like
// with `num` being an unknown value
// Convert value to a number
const res = Number(num);
/*
* First check if the number is 0, since 0 is a falsy
* value in JS, and if it isn't, `NaN` is the only other
* falsy number value
*/
const isNaN = res !== 0 && !res;
other distributions should start having an option for this in the GUI installer, but it might be tricky for the average user
Arch Wiki has a guide on FDE using the TPM and it's transparent in my everyday usage
some minor issues I see are:
- Secure Boot needing to be disabled then re-enabled during install for it to work as intended
- needing to write down a long backup passphrase, but this also happens on Windows and MacOS iirc
view more: next ›