什么是最好的低技术协议来模拟从帽子里抽出名字并确保保密? [英] What is the best low-tech protocol to simulate drawing names out of a hat and ensure secrecy?

查看:11
本文介绍了什么是最好的低技术协议来模拟从帽子里抽出名字并确保保密?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每年感恩节,我的家人都会从帽子中抽出名字来确定他们将成为圣诞礼物交换的秘密圣诞老人".对我们的家庭文化来说,重要的是家庭中没有其他人知道彼此是谁,以保持有趣.选择的唯一规则是你不能选择你的配偶.如果发生这种情况,您将再次抽奖并将您配偶的名字重新放入帽子中.

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:

  1. 编写一个随机挑选人员并确保人们不会得到配偶的程序.
  2. 该程序将显示一半列表,但不会显示我的名字是谁,但会显示我的名字和我妻子的名字.
  3. 然后,我将离开房间,程序将向我的妻子显示另一半的人员列表(其中将包括谁有我的名字).
  4. 然后我和妻子会联系每个人并告诉他们他们有谁.

我是否缺少更好的协议?更好,我的意思是允许更多保密的东西.同样,由于后勤问题和简单起见,我不想建立网站.

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 上,只需调用say"命令行实用程序,就可以很容易地利用 Text-to-speech 引擎.在 Windows 中也有一些方法可以做到这一点.

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.

这篇关于什么是最好的低技术协议来模拟从帽子里抽出名字并确保保密?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆