103 reputation
2
bio website twitter.com/heldtogether
location Birmingham, United Kingdom
age 24
visits member for 1 year, 11 months
seen Nov 5 '12 at 14:46

iOS developer; PHP hero. Fact.


Nov
5
awarded  Scholar
Nov
5
accepted MySQL non-sequential primary key of certain length
Nov
5
comment MySQL non-sequential primary key of certain length
Ah I see, I guess I was trying to skip a step by making the pin the primary key as it would ensure uniqueness. I'll look for a non-SQL way of generating the pins.
Nov
3
comment MySQL non-sequential primary key of certain length
There's nothing to stop random guesses but it's harder to guess when it's not sequential. The constraint is that it needs to be very easy to join a game once you have a pin, i.e. no password. This obviously makes it easier for anyone else to guess a pin. Just how it is.
Nov
2
asked MySQL non-sequential primary key of certain length
Nov
2
awarded  Autobiographer