This is in the FAQ:
https://news.ycombinator.com/newsfaq.html.
The cutoff is "about a year". That window varies a bit depending on the article. In this case, because the story had such a lot of attention on HN in 2017, I stretched the window; but it was a borderline call.
In general it's just fine to post older things that are interesting.