Very sorry to hear it. This is why I moved out of upstate NY to Texas. The employment market is MUCH better. When you are letting software engineers go in a business that leans on software almost to the exclusion of anything else to do what it does, it is flesh eating its own flesh. Further very bad signs. This is just really poor management in action combined with New York's War on Business. NY and CA are losing 100,000 people/yr. EACH as their state gov'ts tax businesses out of business and out of the state. Meanwhile people live in a take-whatever-you-can-get employment market. Even for s/w people it takes MONTHS to get even one job offer after applying to hundreds of places. In Texas... less than 2 weeks between jobs. No state income tax. No snow. Loads of room. 3000 sq. ft. homes for $230k in cities like Austin and San Antonio. I am so glad I moved.
Relocating from NY is about the only thing left for people who want decent jobs, by and large. A very small percentage of people are doing well in upstate, mostly sr. executives and politicians it seems. The rest are lucky to have work.
I can say will the authority of experience that upstate NY people with decent skills need not put up with this kind of thing. Move. You'll be much happier.