Malaysian? No-one knows what happened to MH370, whereas MH17 was shot down by Russia. Both were 777s, but we can be fairly sure software wasn't the issue in either case.
Did you mean Lion Air (Indonesia) and Ethiopian Airlines?
Agreed, AF447 is not comparable.