News for hackers. Stuff that matters.
Re:On the removal of Come Back Alive by capableweb on Friday February 25, 2022 @07:49AM (#30466709)
No method is perfect, obviously. But in this case you probably want to use a bunch of heuristics, placing them in a OR statement would probably get you as close as possible.

- Check preferred language (won't work for Russians who prefer English, and will show for non-Russians who prefer Russians)

- Check where IP is coming from (won't work for Russians on the border if public node is on other side of bordering-countries, won't work for Russians who use VPNs)

- Check preferred locale (won't work for Russians who has a different preferred locale, will show for non-Russians who use Russian locale)

- Finally, ask the user where they are from (worse UX, won't work for people who are lying)

Using all of them gets you pretty close to "perfect" but again, nothing is 100% perfect.

Re:On the removal of Come Back Alive by unfocussed_mike on Friday February 25, 2022 @07:58AM (#30466764)
Side note: Russian is Zelenskyy's first language.