What is the difference in meaning between the question did you ever do something? and have you ever done something? without referring to any period in the past? For example, in the 17th episode of the 6th season of Friends, Ross asks Joey the following.
Ross: Hey Joe did… Did you ever have a threesome?
Joey: (not quite sure of how to answer that) Well uh, look Ross I uh, I think Carol’s great and I’m sure you’re a very attractive man, but I….
Ross: No! The reason I’m asking is that… I sorta had one last night.
I canno get why he didn't say have you ever had...?, which would make sense becase he didn't refer to any period of time in the past in the episode.