Perhaps unpopular opinion: I find Gates' need to show off in this particular manner, and his reaction to it not going as expected, to be in really poor taste, even if the author themselves seem to have not minded it.
There were so many ways in which this interaction could have gone. He could have a side chat with the author, talked about other instances where this did work etc. But no, he had to try to assert dominance in this really weird way, and when it didn't work, it made him mad.