I did some terrible things when I was 19 that I won't go into details, but after working as a developer for a few years, served a six-year sentence from 2003-2009.
Upon release, I leveraged some old contacts to get a bit of contracting work. In time I found more contracting work, mostly working for smaller companies on a 1099 basis. (direct, not through a firm) In time a local contract turned into a job, and I've been with the company since. I'm the lead developer and own the entire stack, from the cloud to the front-end. I've made myself very valuable to them, and earn an income that's well over market (early on they offered me a percentage of profits as compensation)
I still continue to do contracting on a small basis (small companies tend to not bind you with onerous terms keeping you from doing so). Some of them I've even found on HN.
Anything involving a background check is a no-go. Most traditional employment situations, especially with "big" companies is a no-go. Sometimes you have to hustle a bit more, but honestly, I feel like owning your career with an entrepreneurial mindset is something everyone can benefit from.
Most of my clients have no idea about my past. A few have learned, but it didn't disqualify me. I was transparent when asked.
You got new coworkers? A lot of people start digging. I don't survive that digging.
Part of the problem is I went to prison for eight years. And I am just a computer nerd with no criminal background, I've never even had a parking ticket. I act like every other nerd in a dev environment. I love hardware, I'm very passionate about operating systems, making them run juust right.
Where it's a problem is when people look me up and are like, holy cow this is a hardened criminal! but I act... so... normal. and you wouldn't guess. it actually flips people out. it feels like I'm lying about a whole lot of things suddenly. I must be. I have to be. and it goes downhill from there. Whatever trust I earned gets taken away because people are judgmental and often not reasonable about that judgement.