OP, you've written the exact same article on Medium, you have to be careful with just copy pasting it here. In this case, I don't think you did it with bad intent, since you are the original author. You should at least add the source and make sure you do add some original comments in the original post.
Yes I did repost this original article we wrote in both places, didn't think that was much of an issue but I like your advice and will follow for next time!