From all I know, and from the few words from the people who -almost- invisibly pass through my neighborhood --
Hitching a ride on a freight train is much much more dangerous now than it was even a few decades ago. There's NO boxcars with open doors. Most freights here are either unit coal or ore or oil or grain trains, no shelter on the freight car -- there's a place near the coupling but "don't ever fall off" even if sleeping , or double-stack container trains which go fast, but where can you get on or off? After 10-12 hours (crew change) stop - where could one sleep? Where and when "detrain"
But there's people living like that, people sleeping under a nearby bridge waiting for the next suitable train in my neighborhood, but most of my neighbors don't seem to know.
And "those people" never ever hassle the locals. They don't even beg. They just "detrain" near the railyards, maybe sleep under the freeway bridge, and move on.
The original NYT article was, I think, just one of those "there but for the grace ..."
BUT the few people who live, like the oldtime "hoboes" -- I know a CEO or a politician or two who would be happier living day-to-day and going somewhere else tomorrow.
Anyhow, yes, hopping freights is more dangerous than ever -- but probably there's an app for that
Oy.