UK-based Sikh software engineer turns military historian