The requirement of a seed value is not specific to Lua, it is how all random number generators work. By not supplying a seed value you will be guaranteed to always get the same values each run through, i.e. if you called it three times at start up you may get 1, 6, 20 and then if you started the app again you would get that same sequence. This is great for things like unit testing.
The other issue about the need to call it a few times does indeed sound like a bug though which I have read about a couple of times. [import]uid: 5833 topic_id: 15305 reply_id: 56508[/import]
As I suggested in my Blog entry, it is a feature and not a bug.
In some languages (like .net) the default seed is the system’s time. It is makes the life of the developers easier, as most of them using random without knowing anything about seed (for the good and the bad).
This specific blog entry is very popular - so I guess too many new developers (and me included)cannot making it work in the first try