Book: D&D of MOGs
Logins and Passwords
June 27, 2016 by • “No Bugs” Bunny
Quote:
I STRONGLY recommend to provide an option for your players to use 3rd-party “social logins
Another Quote:
you can be sure that as soon as your game is alive and kicking - you'll need to implement password recovery for your players.
Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.SecurityBest Practices
Read moreRandom Number Generation
June 21, 2016 by • “No Bugs” Bunny
Quote:
even if your RNG is statistically perfect, people will still complain🙁
Another Quote:
On modern x86 CPUs, single core can generate 150M+ random bytes/second this way (and this is a Damn Lot).
Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingTips and TricksOn.SecurityBest Practices
Read moreImplementing Queues for Event-Driven Programs
June 13, 2016 by • “No Bugs” Bunny
Quote:
full queues SHOULD NOT happen during normal operation
Another Quote:
With queues-implemented-over-mutexes like the ones we’ve written above, the most annoying thing performance-wise is that there is a chance that the OS’s scheduler can force the preemptive context switch right when the thread-being-preempted-is-owning-our-mutex.
Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.System Architecture(Re)ActorsOn.ProgrammingTips and Tricks
Read moreC++ Guidelines - Made-to-Measure vs One-Size-Fits-All
June 6, 2016 by • “No Bugs” Bunny
Abstract:
After bashing all those Big Name guys for making those over-arching sets of guidelines, it is perfectly logical for me myself to do the same?
Quote:
DON’T use C-style cast, EVER. If you DO need a cast – DO spend time on figuring out which of C++ *_cast<>s you really mean (and maybe, you’ll find a way to avoid that cast at all)
Filed under: Book: D&D of MOGs1st beta of Vol. IV-VIOn.ProgrammingProgramming LanguagesOn.DevelopmentDevelopment Processes
Tagged With: C/C++
Read more



