By responding to the events through an affirmative negation of its impetus, it can become an antigen to such violent activity and the principal system of thought from which it stems.
How contradictory it is that citizens of Liberal Democracies hold a number of freedoms, rights and liberties, and yet live simultaneously within a legalised nexus of mass surveillance the likes of which the Stasi could only have imagined in their wildest of phantasmic dreams. This is also before discussing even the prowess of social media providers, whose influence and data-harvesting slides through legal loopholes and committee-led critique like a draft through Swiss cheese.
Violence, being instrumental by nature, is rational to the extent that it is effective in reaching the end which must justify it. And since when we act we never know with any amount of certainty the eventual consequences of what we are doing, violence can remain rational so long as it pursues short term goals.