Endorsements seem automated to me, and I almost feel like I'm taking crazy pills. Distant cousins endorsing you for Ruby? There's no way they actually clicked that button. I feel like LinkedIn is generating those as well, as a means of getting back on their platform.
Endorsements always seemed a bit off and it wouldn't surprise me if they were automated. I had an ex-colleague repeatedly contact me about endorsing him as he had endorsed me. At that time I hadn't looked at LinkedIn in months so I had no idea why he'd endorsed me. I got the impression that the site had suggested he do it and now obviously I should return the favour. All very annoying and one of the main reasons I closed my account.