For decades Buffalo, N.Y., has been in a near-perpetual state of economic malaise, the victim of a slow decline in the Northeast industrial base that stretched from central Pennsylvania through New England. For more than 30 years, manufacturers downsized, shut down altogether or moved overseas, leaving the rusting hulks of their factories behind — along with a sizeable population of unemployed blue-collar workers.