Nashua sits on the Massachusetts border and is a major commuter and advanced-manufacturing center, repeatedly ranked among the best U.S. places to live.