Inelastic magnetic x-ray scattering (invited)