什么是最好的技术含量较低的协议,以模拟绘制的名字的帽子,并确保保密?较低、帽子、含量、名字

2023-09-11 22:43:39 作者:说好不落泪

每年在感恩节,我的家人已经引起名字的帽子,以确定它们将是一个秘密圣诞老人在圣诞节交换礼物是谁。重要的是要我们的,没有人在家庭知道是谁,为了保持它很有趣对方有家庭文化。唯一的规则来选择是,你无法选择你的配偶。如果出现这种情况,你再画,并把你的配偶的姓名后面的帽子。

Each year at Thanksgiving, my family has drawn names out of a hat to determine who they'll be a "Secret Santa" for the Christmas gift exchange. It's important to our family culture that no one else in the family knows who each other got in order to keep it interesting. The only rule to the selection is that you can't pick your spouse. If that happens, you draw again and put your spouse's name back in the hat.

由于物流和旅游计划,今年,我们(在只有两个星期的感恩节)早过圣诞节。

Due to logistics and travel plans this year, we're celebrating Christmas early (only two weeks after Thanksgiving).

为了允许足够的时间来寻找礼物,我们现在想选择的名称。我们家是位于整个美国的一些成员可以访问互联网和一些不(比如我亲爱的奶奶)。

In order to allow for plenty of time to look for gifts, we'd like to select names now. Our family is located across the U.S.A. Some members have access to the Internet and some don't (e.g. my dear Grandma).

我希望做的是有一个公平的协议,模拟绘制名字的帽子,并确保保密的一定程度而不过于复杂。一些网站,像前 drawnames.com 或其他类似的通常要求人们把在他们的电子邮件地址。我想绝对确保我的家人的电子邮件地址没有得到滥用 所以我不希望他们信任到另一个站点。

What I would like to do is have a fair protocol that simulates drawing names out of a hat and ensures some level of secrecy without being overly complex. Some websites, like the former drawnames.com or others like it usually require people to put in their email address. I want to make absolutely sure that my family's email addresses don't get abused so I don't want to trust them to another site.

最好的协议,我可以拿出来说:

The best protocol I can come up with is:

在编写一个程序,随机挑选的人,并确保人们没有得到他们的配偶。 该计划将告诉我一半的列表中,但不会显示我是谁得到了我的名字,但会告诉我他的名字我已经和谁得到了我妻子的名字的人。 然后,我就离开房间,程序将显示人名单的另一半给我的妻子(其中包括谁拥有我的名字)。 我的妻子和我会再联系的每个人,并告诉他们,他们是谁。

我缺少一个更好的协议?通过更好的,我的意思是,让更多的秘密。再次,由于物流和让事情变得简单,我不希望有建立一个网站。

Am I missing a better protocol? By better, I mean something that would allow more secrecy. Again, due to logistics and to keep things simple, I don't want to have to build a website.

推荐答案

在OS X是很容易拿文字转语音引擎的优势,只是通过调用说命令行实用程序。也有方法可以做到这一点的窗口也是如此。

On OS X it is very easy to take advantage of the Text-to-speech engine, just by calling the "say " command line utility. There are also ways to do this in windows as well.

这样你就可以打电话了谁是你的名单上,讲给他们听,因为他们应该买礼物送给谁,并把耳机从电脑到电话,你告诉你的程序说这个名字有关联您呼叫的人。然后,他们可以告诉你,如果他们听得很清楚,它不是他们的配偶。

SO you could ring up whoever is on your list, tell them to listen for who they should buy a gift for, and put a headphone from the computer up to the telephone, as you tell your program to say the name associated with the person you are calling. They can then tell you if they heard it clearly and that it wasn't their spouse.