I think I was the first one to vote for closing the first as a duplicate of the second, and now I feel stupid for not noticing the relative dates. Anyway, it seems to me that all of the existing answers on each question are equally suitable for both, so would a merge be appropriate here? I'm a bit hazy on the process for that; since a moderator has to do it, it seems like merges are a lot rarer than closing as duplicates.
I've read these meta posts
But I'm interested in learning about what people think about this specific case, and what the moderators here have to say about the merging process on this site. (This is why I didn't just flag it.)