Click here to Skip to main content
15,887,485 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Old HDD Pin
Daniel Pfeffer6-Sep-22 20:49
professionalDaniel Pfeffer6-Sep-22 20:49 
GeneralRe: Old HDD Pin
dandy727-Sep-22 13:32
dandy727-Sep-22 13:32 
GeneralI helped my friend make a dice game Pin
honey the codewitch6-Sep-22 13:30
mvahoney the codewitch6-Sep-22 13:30 
GeneralRe: I helped my friend make a dice game Pin
Nelek6-Sep-22 14:37
protectorNelek6-Sep-22 14:37 
GeneralRe: I helped my friend make a dice game Pin
jmaida6-Sep-22 15:05
jmaida6-Sep-22 15:05 
GeneralRe: I helped my friend make a dice game Pin
honey the codewitch6-Sep-22 15:11
mvahoney the codewitch6-Sep-22 15:11 
GeneralRe: I helped my friend make a dice game Pin
Fueled By Decaff6-Sep-22 23:06
Fueled By Decaff6-Sep-22 23:06 
GeneralRe: I helped my friend make a dice game Pin
Nelek6-Sep-22 23:48
protectorNelek6-Sep-22 23:48 
I played around for a project a while ago...

I used the classical
C++
srand ((unsigned int)time(NULL));
as seed
but then the actual rand usage was only to initialize the three terms needed for a xorshift (George Marsaglia algorithm) of 2^96 period, was big enough for me and the fastest of what I tried (in the meanwhile I have read that 2x64 bits Xor-Shifts are faster with bigger range, but didn't test it myself yet)

I liked it because I didn't need any external source and in all my tests I didn't catch a single repetition (played with it some months in my project).
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.

GeneralRe: I helped my friend make a dice game Pin
honey the codewitch6-Sep-22 23:51
mvahoney the codewitch6-Sep-22 23:51 
GeneralRe: I helped my friend make a dice game Pin
Nelek6-Sep-22 23:54
protectorNelek6-Sep-22 23:54 
GeneralRe: I helped my friend make a dice game Pin
PIEBALDconsult6-Sep-22 14:44
mvePIEBALDconsult6-Sep-22 14:44 
GeneralRe: I helped my friend make a dice game Pin
DRHuff6-Sep-22 19:42
DRHuff6-Sep-22 19:42 
GeneralRe: I helped my friend make a dice game Pin
PIEBALDconsult7-Sep-22 6:03
mvePIEBALDconsult7-Sep-22 6:03 
GeneralRe: I helped my friend make a dice game Pin
den2k886-Sep-22 20:40
professionalden2k886-Sep-22 20:40 
QuestionWorldle #229 Pin
megaadam6-Sep-22 13:29
professionalmegaadam6-Sep-22 13:29 
AnswerRe: Worldle #229 Pin
Amarnath S6-Sep-22 14:13
professionalAmarnath S6-Sep-22 14:13 
AnswerRe: Worldle #229 Pin
OriginalGriff6-Sep-22 20:01
mveOriginalGriff6-Sep-22 20:01 
GeneralWordle 445 Pin
Vivi Chellappa6-Sep-22 9:15
professionalVivi Chellappa6-Sep-22 9:15 
GeneralRe: Wordle 445 Pin
megaadam6-Sep-22 13:19
professionalmegaadam6-Sep-22 13:19 
GeneralRe: Wordle 445 Pin
Peter_in_27806-Sep-22 13:24
professionalPeter_in_27806-Sep-22 13:24 
GeneralRe: Wordle 445 Pin
StarNamer@work6-Sep-22 13:29
professionalStarNamer@work6-Sep-22 13:29 
GeneralRe: Wordle 445 Pin
Sandeep Mewara6-Sep-22 18:28
mveSandeep Mewara6-Sep-22 18:28 
GeneralRe: Wordle 445 Pin
Amarnath S6-Sep-22 18:43
professionalAmarnath S6-Sep-22 18:43 
GeneralRe: Wordle 445 Pin
HobbyProggy6-Sep-22 19:31
professionalHobbyProggy6-Sep-22 19:31 
GeneralRe: Wordle 445 Pin
OriginalGriff6-Sep-22 19:56
mveOriginalGriff6-Sep-22 19:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.