MARTI is migrating in triplea v2.7+
-
@LaFayette nice how long will the existing server continue to run? also curious what happens to folks after that if they are not aware of the change can we send any kind of message to the user?
-
@ubernaut Time-wise, hopefully not long. It's an expensive server that is super old.
I agree though on highlighting the switched account. I'd appreciate any help in designing what a good UX should look like compared to where we are today.
-
@LaFayette any ability to throw a message to old clients? fyi should be around for the 17th and the 24th if we are doing open hours those dates
-
@LaFayette
I just want you to point to
https://github.com/triplea-game/triplea/issues/14364
where testing the new dice server fails with an error message (see there please).Also I would like to know whether this is "only" a technical change or has the "randomize logic" changed, too?
-
Old Marti used PHPs variation of Mersenne Twister. Decent random numbers but the starting seed can be derived with a sufficiently series of values (doesn't really need that many).
The new dice server uses Node's built-in crypto.randomBytes; also provides good randomness, but is cryptographically secure (values cannot be guessed based on a few examples)
-
@LaFayette
Interesting, thank you!What logic does TripleA's internal dice roller use?
-
Old Marti used PHPs variation of Mersenne Twister. Decent random numbers but the starting seed can be derived with a sufficiently series of values (doesn't really need that many).
The new dice server uses Node's built-in crypto.randomBytes; also provides good randomness, but is cryptographically secure (values cannot be guessed based on a few examples)
I always assumed that being a paid service of some sort it was giving true random numbers, like throwing casino dice or something like that. Guess that would have costed even more.
-
@Cernel truly random numbers are actually something computers cant do there’s actually a whole entire market for random number generators
-
@Panther The main game was using 'mersenne twister', that is changing to SplitMix64 with the latest revision forward.
-
@lafayette Nice, thank you!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login