Random, violent attack shocks small Canadian city