I often struggle with simple choices in life.
I often flip a coin to make a decision.
I often don’t have a coin handy.
So to solve this, I just slapped together a simple bash script that let’s me flip a coin on my phone.
I set out to make this as quickly and simply as possible so I used yad (inspired by a years-old Purism news post). It’s not very pretty and the way the screen refreshes is a little annoying (none of the yad --window-type options seem to make a difference in Phosh ), but I don’t care and wasn’t looking for perfection here, either .
If you really need to flip a coin when having to make a decision in life which you can’t decide about, you want a perfect non-deterministic bet: that is an even distribution 50/50 on a statistical scale of 1 million tries. This is called entropy (as in information theory concepts): e.g, entropy = 0 if the result is always the same and known in advance.
Have you tried to test your app’s performance in this sense? I’d be curious to know the real entropy you can achieve on such deterministic hardware as a smartphone, and I wouldn’t rely on this method if I were to decide if I should marry or not…