I am not doubting you have been fucked with -- I once got into a 2v1 brawl on the Mission and 16th BART that only ended because I sent one flying into a pillar and told the other if he kept coming, he was going onto the fucking tracks.These guys kept going over to a homeless guy who was just... sitting there... trying to get a rise, hoping for an excuse to "defend" themselves. And when I told them to quit being bullies, they tried to jump me.
So trust me, I believe you, and I get that trauma can have an impact on your life.
But if you are using narcotics, it will impact your search.
If you want help getting clean, I could send some resources to the email on your profile -- on the technical side you sound like a better coder than me and if you had that part locked down I suspect you'd quickly find work.