Sometime you need some random values for testing pieces of code for exemple, in my case some placeholders for a QML component.
A friend of mine needed a similar function, so I send it to him. I guess he was shocked by how ugly that code was, that he sent me back a way more elegant one.
1 2 3
Thanks Arnaud Sellier.