Cubans will be allowed to work for themselves in 178 activities in the private sector and even hire employees, according to guidelines published Friday as the communist government moves quickly to shed half a million state jobs and provide alternatives for workers.