Malky Mackay was left to rue a slow start to the season as Cardiff City's Premier League bow ended in defeat at West Ham United.