Dave

around

galos.no-ip.org

Age: 24

I love C. Java less.

All original source snippets I post on stackoverflow are dedicated to the public domain. Do with them as you see fit.

Dec
3
awarded Benefactor
Dec
3
comment OS X sigaction incorrectly setting sa_mask
Agreed. Great answer!
Dec
3
accepted OS X sigaction incorrectly setting sa_mask
Dec
2
revised OS X sigaction incorrectly setting sa_mask
deleted 3 characters in body
Dec
2
awarded Promoter
Dec
2
comment OS X sigaction incorrectly setting sa_mask
@BlueMoon updated the question to answer your question
Dec
2
revised OS X sigaction incorrectly setting sa_mask
added more information
Nov
26
revised OS X sigaction incorrectly setting sa_mask
edited tags
Nov
26
asked OS X sigaction incorrectly setting sa_mask
Nov
26
awarded Pundit
Nov
25
revised Get sizeof type that is pointed to by a typedefed pointer
deleted 169 characters in body
Sep
30
awarded Explainer
Sep
3
awarded Supporter
Sep
3
awarded Autobiographer
Jul
23
awarded Popular Question
Jul
19
awarded Yearling
Jul
2
awarded Curious
Jun
13
awarded Nice Answer
Jun
13
awarded Enlightened
May
1
comment How slow is python really? (Or how fast is your language?)
your my_random is considerably slower than it needs to be; given res=(seed>>30)&3, replacing the switch with (res&1)-!!(res&2) is nearly thrice as fast on my machine
1 2 3 4 5