The Low Tech Secret Santa
hackinghat.com
hackinghat.com
As developers and techy people we can go to extraordinary lengths to overcomplicate things.
I was half-expecting the post to end by discussing that, shortly after a bit about using a hypervisor control system to manage the cluster of cloud-hosted microservices that orchestrate all of the AbstractSecretSantaServiceFactoryInterface instances. Then like, "Haha, gotchya! All you really have to do is this."
It works surprisingly well, for dry runs / debugging I print out the random pairings, but for the real one I just output nothing and send the texts.
Of course, I could go and check the twilio logs and find out who has who, but that would ruin the fun.
I don't go so far as to try ensure that previous years don't match with the same person. You wouldn't have that guarantee if pulling names out of a hat in person.
https://en.wikipedia.org/wiki/Derangement#Growth_of_number_o...