13,738 reputation
22555
bio website
location
age
visits member for 3 years, 7 months
seen 11 hours ago

Jun
16
answered Usage of raw pointers
Jun
14
comment Looking to simulate the rolling of a ball around a roulette wheel, while the resulting number is already known
you can add the initial phase where the numbers are too blurred to see and that only ends when it slows down enough for the ball to land in the final hole
Jun
14
comment Minima of a convex list using binary search
what did you try, BTW if the elements first increase and then decrease the minimum will be either the first or the last element
Jun
14
answered How the Stream.filter() method works?
Jun
13
comment What does “trivial” mean?
hello world is trivial
Jun
13
comment Why/how does Java use a controlled mechanism to pause threads for GC?
but there is the Thread.halt() built into the JVM
Jun
12
answered Is method overriding always a violation of Liskov Substitution Principle?
Jun
11
comment Array of pointers in C++.
then don't try to understand a faulty program you won't learn anything
Jun
11
comment Array of pointers in C++.
it's called undefined behavior
Jun
10
revised How can I write byte[] to socket outputstream and specify the end of file?
added 257 characters in body
Jun
10
answered How can I write byte[] to socket outputstream and specify the end of file?
Jun
10
comment Why is the function called lseek(), not seek()?
@andy256 off_t and if you want the 64 bit offset you use lseek64
Jun
8
comment Regex to String generation
what did you try?
Jun
8
comment Are there theoretical reasons why arrays in C take less RAM than Java?
1st thing: char in java is 2 bytes while in most C implementations char is 1 byte
Jun
7
comment What is the benefit of the 'free-to-deobfuscate' model over open-source?
It more like a we won't object too much if you go through 2+k functions and fields and give them meaningful names, hell we might just hire you
Jun
7
answered In which object should I implement wait()/notify()?
Jun
5
comment Any patent issue if I want to call my classes “signal/slot” as in Qt?
kinda hard when Qt isn't the only thing that calls it that (see boost's signals2 lib)
Jun
5
comment Estimating file transfer time over network?
never underestimate the bandwidth of FedEx
Jun
2
comment Is it good to review programs with seniors and boss even if it is working fine?
how can you be sure if it is working fine without review by someone that doesn't know the idiosyncrasies you are used to when doing your own testing
May
28
answered Why do we need a format for binary executable files