I completely get that we need to take all measures to combat these attacks in the UK, but looking at it long term and globally, is there any way we can stop these things happening other than by teaching them that their holy books (their motivation) are bad ideas.
Finding and killing/incarcerating the perpetrators each time, closing our borders, is only solving a very small part of the problem.
The issue here is global bad ideas. In my mind the only sustainable remedy is to replace them with good ideas.
The teachings of Allah, specifically the concepts of Jihad and Martyrdom, need to be consigned to history along with the teachings of the 1000's of other Gods that humanity has invented and subsequently ditched over the millenia.
All the holy books contain good ideas and bad ideas. It is important to point out that it is our human brains and our capacity to reason that we use to pick the wheat from the chaff in these texts. Most Christians have had the good sense to defy much of the brutal commands of Yahweh.
If religious thinking is to stay with humanity (as looks likely), we at the very least need to get fundamental muslims to reconsider (think reasonably) about some of their beliefs. The only people who have any chance better than minus one of achieving this are other muslims who have already been through this process.
Their chances are admittedly probably not much greater than zero, but what other options have we got? We need to big these people up, and no doubt provide them with serious security!
What I can say for sure is that American presidents proudly proclaiming 'God Bless America' as they bomb the c**p out of the Middle East won't help our intellectual cause one bit. It's not the bombing I object to per se, but the implicit suggestion of divine authority. You can no doubt see the problem here.