"Fuck you," you say?
Let's not forget that your average employee is worth less to the company than they're paid. The ones who get laid off especially so.
When HR comes and informs you that your position has been eliminated, you should thank them. Not because they're firing you, but because they hired you and kept you on, even though, when they look hard at it, it turns out it didn't make financial sense to do so.
Now sure, maybe things changed and your value to the company just suddenly dropped. Maybe. More likely, your actual value to the company has had them breaking less than even for a while, maybe even since the day they hired you, and for whatever reason, maybe through inattention or compassion or maybe, since times were good, they just didn't want to have to pull the trigger until it was absolutely necessary -- for whatever reason you didn't get fired until just now.
So don't get mad. Don't get bitter. It'll just eat you up inside. Instead, think about the good times or at least the less bad times. Pick yourself up and get out there. You've got unemployment checks coming and, who knows, things might just be turning around -- look at that market this week!
If you look around and try your best, I'm sure you'll find another compassionate company ready to give you a second chance. Ya see, finding a job is like going to a singles bar. Now maybe you don't have a lot going for you nor a hell of a lot to offer, but if you can find just one person (or company) with the right combination of bad judgment and mawkish sentimentality, you might just score big. And there're plenty of them out there! You just have to be persistent!
Update: A commenter brings up the tragic tale of Consuela, my former maid. In fact, her services were very much worth what she was being paid. Hell, I probably should've paid her more. But they were a luxury and did not make me any money, so it wasn't a question of breaking even. Ailing markets mean Vincenzo's just a bit poorer. That's really all there is to it.