Libraries in Los Angeles are mostly homeless shelters. They have access to rest rooms, running water (I've seen them wash their clothes in library sinks), a climate-controlled indoor setting, comfy chairs, and free internet.
I went to one that had bums who were mentally ill or on drugs. They were yelling at patrons and mumbling to themselves.