11,090 reputation
22046
bio website
location
age
visits member for 2 years, 11 months
seen 21 mins ago

Apr
30
revised Where did the convention of naming command line arguments as 'argv' come from?
fixin the formatz
Apr
30
comment parallel computing list of objects
you can also be memory bound (this happens with a lot of cache misses), for some speedup you can profile the filter so the more common early return are done first
Apr
29
comment Building one way chat?
@FlorianMargaine no it's the voice and mute, you can mute a chat and only those with +voice (or @opped) can speak in chat
Apr
27
comment How the hidden features being find?
once the code is out people will reverse engineer it and these things will get discovered
Apr
26
comment How to maintain standard quality of images uploaded by many users?
offer incentives for better photos (better listing spots)
Apr
25
comment Transform math formula into code (line-line intersection)
I had to solve this once and I just googled "line line intersection" and used the formula on the wiki, then again my lines where defined by 2 points
Apr
25
comment Testing multi-threaded race conditions
step through (assembly) instruction by instruction on both ends
Apr
23
comment Approach to simplifying an algorithm
questions on how to improve a working piece of code should go to codereview.SE
Apr
23
comment Forward declaration vs include
@NayanaAdassuriya no because A only uses a pointer to B and changes to B won't affect A.hpp (or the files that include it)
Apr
23
answered Forward declaration vs include
Apr
22
comment What is the best way to understand code in a project with null documentation?
@Kazark but then it would be a duplicate of the question I linked...
Apr
22
comment What is the best way to understand code in a project with null documentation?
related: programmers.stackexchange.com/questions/155488/…
Apr
22
awarded  Nice Answer
Apr
22
comment How to calculate percentile in Java without using Library
sum the total time and get the number in which the .95/total time came in from
Apr
21
comment How can I compute maximal area including only given integer pairs of (x,y) coordinates?
you mean getting the convex hull of a set of points?
Apr
21
comment Send stdout or stderr to a new thread
@Thor eh you can replace new char[512] with alloc(512), and it pushes to a queue that gets polled by another thread
Apr
20
comment Does any know of a Algorithm that allows for a figure like this image?
creating the shadow from a 3D object is done daily, check out shadow mapping and shadow volume, but there are more shadow creation algorithms available
Apr
20
revised Send stdout or stderr to a new thread
added 390 characters in body
Apr
19
comment Why does Java use so many middlemen?
because if you have a page that holds the entire oeuvre of shakespeare in text form. then before you can return a string of it you have to download the entire thing and wrap it in a single char array
Apr
19
comment Why does Java use so many middlemen?
why not a string I can understand: avoiding hogging the ram and crashing when a large page gets loaded up (especially on android)