IMO employers discriminate a lot, for random off the cuff reasons. The largest, most lawyered up companies that are glaring lawsuit targets have more of a process. But small-to-mid companies discriminate like crazy. It largely comes down to some guy with authority giving a thumbs down, for whatever reason he wanted. "I didn't think he was that good at SQL" may very well be "I didn't want to hire another Indian" or "This person worked for that guy I met, who I think sucks, which is like a bad vibe". Not hard to imagine having porn lawsuits on your record disqualifying you from a bunch of interviews, but the reasons stated being bullshit technical/cultural fit reasons.