SEOUL/NEW YORK (Reuters) - South Korea's Samsung Electronics posted its first ever quarterly loss on Friday, joining a host of technology companies including Microsoft and Nokia suffering from diving prices and slumping demand.