FYI On HackerNews you can use indentation (by 2 spaces) to indicate code snippets, not ```.
Not OP, but I didn't know that. Thank you.