News for hackers. Stuff that matters.
Re:On the removal of Come Back Alive by mickael-kerjean on Friday February 25, 2022 @06:52AM (#30466293)
Russian visitors of my foss project (https://www.filestash.app/) now see the message of peace address to them by president Zelenskyy: https://www.youtube.com/watch?v=Fwzb_JX7u04
Re:On the removal of Come Back Alive by hans1729 on Friday February 25, 2022 @07:41AM (#30466651)
FYI, after opening your page in the same tab (by accident) as HN, I couldn’t get back to HN, going back a page just ended up looping back to your site. I absolutely hate when websites do that (messing with expected behavior), please consider fixing it.

(On iOS)

Re:On the removal of Come Back Alive by exikyut on Friday February 25, 2022 @12:42PM (#30469872)
Either this was fixed 4 hours after your comment was posted, or the issue doesn't surface on Chrome on Linux or Android. I opened the site by clicking the link in the GP comment.
Re:On the removal of Come Back Alive by hans1729 on Friday February 25, 2022 @02:21PM (#30471076)
Still the case for me. Interestingly enough, it also happens in Firefox on macos.
Re:On the removal of Come Back Alive by hurflmurfl on Friday February 25, 2022 @07:32AM (#30466591)
Just to let you know, there's no message, and I'm visiting from a Russian IP. Disabling uBlock Origin doesn't make it show up either.
Re:On the removal of Come Back Alive by mickael-kerjean on Friday February 25, 2022 @07:36AM (#30466620)
it shows the video if /ru/.test(navigator.language)
Re:On the removal of Come Back Alive by orbital-decay on Friday February 25, 2022 @07:41AM (#30466650)
This method is super inaccurate, since visitors from many countries (including Ukraine) could use Russian as their preferred language. You might probably want to use IP geolocation instead.
Re:On the removal of Come Back Alive by mickael-kerjean on Friday February 25, 2022 @08:13AM (#30466863)
Re:On the removal of Come Back Alive by app4soft on Friday February 25, 2022 @11:07AM (#30468733)
Thank You, man!

I'm Ukrainian[0] and YOUR SUPPORT for Ukrainian people in such terrifying times WOULD BE NEVER FORGOTTEN by me & by all Ukrainians actually fighting just for freedom FOREVER!

[0] https://news.ycombinator.com/item?id=30395897

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.
Re:On the removal of Come Back Alive by alam2000 on Saturday February 26, 2022 @08:04PM (#30484181)
Yeah.. you can use the free IP2Location LITE https://lite.ip2location.com to pinpoint the location by IP address.
Re:On the removal of Come Back Alive by playeren on Friday February 25, 2022 @07:59AM (#30466774)
I'm in Denmark, with ENG (US) as language, and I'm getting the speech.

I like the speech, but I would also like to see your software.

* edit: Seems fixed for me now. Filestash looks pretty useful btw!

Re:On the removal of Come Back Alive by batisteo on Friday February 25, 2022 @07:48AM (#30466696)
"Russian visitors" by User Agent languages or IP? Either way it's hard to get the nationality right.
Re:On the removal of Come Back Alive by Klaster_1 on Friday February 25, 2022 @07:44AM (#30466676)
Nice idea, much better than blocking access completely, like what Intel or lots of other sites do.
[dead]
Re:On the removal of Come Back Alive by sofixa on Friday February 25, 2022 @08:29AM (#30467016)
Your comment was flagged, i vouched for it so i can downvote and rebuke.

No. Inaction is equal to support of the Russian invasion ( like in so many other cases). People have to decide for themselves what they want, where their morals lie, and how they want to act on that. Message of support? Donation? Whatever. Ignoring the problem only helps the war criminals. Don't critique people for daring to speak and act against war crimes just because you're deciding for yourself to ignore them.

Re:On the removal of Come Back Alive by snth on Friday February 25, 2022 @09:13AM (#30467478)
> Inaction is equal to support of the Russian invasion

No, no it isn't, in this or in other situations. More than two choices _usually_ exist. Statements like this present a false dichotomy in an attempt to coerce people to support a preferred position or interpretation.

Re:On the removal of Come Back Alive by jacquesm on Friday February 25, 2022 @09:38AM (#30467716)
And sometimes only one choice exists. This is such a time.
Re:On the removal of Come Back Alive by snth on Friday February 25, 2022 @09:57AM (#30467899)
No, it isn't. The comment we're replying to here is about someone adding a message to their code repo that's shown to Russian viewers. Are you saying that if people don't do this, they support the Russian invasion? It seems pretty obvious when you get specific. It's simpleminded to divide people into two groups and say that anyone who doesn't agree with a _particular action_ is the enemy.
Re:On the removal of Come Back Alive by jacquesm on Friday February 25, 2022 @09:59AM (#30467926)
No, that's obviously not what I'm saying.
Re:On the removal of Come Back Alive by snth on Friday February 25, 2022 @10:44AM (#30468467)
I'm glad, and I shouldn't try to pigeonhole you here either, I just think these types of conversations lose specificity quickly.

Person A: I'm doing <this thing> to support <cause> Person B: You shouldn't do <that thing> Person A (or more often, C): Inaction is equal to support / silence is violence

I think there is almost always more than one possible action, even in support of <cause>. Also, some well intentioned actions can hurt a cause, so inaction is obviously preferable. Or, there may be a third outcome that I like better than <cause> or <not cause>.

Let me get specific, to avoid my own criticism.

I don't know if what the original commenter is doing is worth the effort, in terms of supporting Ukraine in this conflict. There's obviously a cost, in terms of dev time and false positives (showing the message to an unintended audience). I do think it is usually annoying, distracting, and unnecessarily polarizing to add politics to technical projects, so I would lean against doing this, even if I agree with the politics. Good technical work is hard enough on its own.

I'm not terribly offended by this action, and I wouldn't criticize it on its own; but I definitely think that "inaction supports the Russian invasion" is out of line here.

Re:On the removal of Come Back Alive by dragonwriter on Friday February 25, 2022 @10:10AM (#30468042)
Yes, inaction always supports the status quo.
Re:On the removal of Come Back Alive by Clubber on Friday February 25, 2022 @11:05AM (#30468713)
If you see a fight and you don't pick a side and decide to stay out of it, which side are you supporting?
Re:On the removal of Come Back Alive by sofixa on Friday February 25, 2022 @01:50PM (#30470694)
The side that already has the power, is unjust and is winning.
Re:On the removal of Come Back Alive by rattlesnakedave on Friday February 25, 2022 @09:02AM (#30467363)
>Inaction is equal to support of the Russian invasion

It certainly is not.

Re:On the removal of Come Back Alive by sam0x17 on Friday February 25, 2022 @09:12AM (#30467463)
It most certainly is. In terms of the U.S.'s own involvement, we floated the idea of Ukraine joining NATO, but then did nothing to ensure it actually happened, and the end result is invasion.

Staying neutral on the matter of a straightforward invasion of another country where there is no meaningful "two sides to the issue" analysis to be had is equivalent to materially supporting the invasion. Anyone remotely rational has condemned these actions. True neutrally is only desirable for those who want to continue doing business with the Kremlin or who have other nefarious designs.

Re:On the removal of Come Back Alive by sofixa on Friday February 25, 2022 @09:11AM (#30467446)
It is, because apathy is the only chance of the Russians getting away with it.
Re:On the removal of Come Back Alive by Clubber on Friday February 25, 2022 @11:07AM (#30468736)
If you think posting on a message board on the internet will do anything, I'm sorry to tell you, it won't; it's just self serving moral gratification. Might as well send them some thoughts and prayers.
Re:On the removal of Come Back Alive by ttybird2 on Friday February 25, 2022 @09:26AM (#30467612)
Wait, there are war crimes being commited in this invasion?
Re:On the removal of Come Back Alive by sofixa on Friday February 25, 2022 @09:29AM (#30467645)
The invasion is itself a war crime ( crimes against peace), and the indiscriminate bombing of civilian buildings as can be seen from numerous videos from Donetsk, Kyiv, Lviv, Mariupol, etc. are also war crimes.
Re:On the removal of Come Back Alive by dragonwriter on Friday February 25, 2022 @10:15AM (#30468096)
> The invasion is itself a war crime ( crimes against peace)

Technically, “war crimes”, “crimes against peace” and “crimes against humanity” are distinct categories (though the second two are often distinguished only by whether or not they occur in the context of a war; e.g., genocide is either a war crime or a crime against humanity, depending on context).

Aggression is a crime against peace, not a war crime.

> the indiscriminate bombing of civilian buildings as can be seen from numerous videos

Those would be war crimes, though videos of the impacts are generally only suggestive evidence of indiscriminate (or, worse, intentional) targeting.

Re:On the removal of Come Back Alive by duxup on Friday February 25, 2022 @08:51AM (#30467226)
> Your FOSS project just died.

Seems unlikely anything changes.