14,342 reputation
22556
bio website
location
age
visits member for 3 years, 8 months
seen 1 hour ago

1h
answered Why C++ STL vector does not go out of range
9h
answered What does stubbing mean in programming?
2d
revised When to fix something that is “wrong” but works fine
added 215 characters in body
Jan
28
comment Software previously licensed under GPL now APL2, can I use it in a commercial application?
@BasileStarynkevitch edited to make clear it's about copying from old version
Jan
28
revised Software previously licensed under GPL now APL2, can I use it in a commercial application?
added 33 characters in body
Jan
28
answered Software previously licensed under GPL now APL2, can I use it in a commercial application?
Jan
28
reviewed Approve When to fix something that is “wrong” but works fine
Jan
28
comment When to fix something that is “wrong” but works fine
@durron597 I meant as the implementation of the synchonizedFormatter
Jan
28
answered When to fix something that is “wrong” but works fine
Jan
28
comment How to politely decline a pull request?
If it is totally useless just decline, otherwise change the pull to clarify what is needed and accept.
Jan
27
comment Why Double.parseDouble(“ABC”) not returns Double.NaN?
add long, char, short, byte and boolean then it's 6v2
Jan
27
comment Why Double.parseDouble(“ABC”) not returns Double.NaN?
Because ABC is not a valid format of number and it matches the behavior of the other boxed classes' parse* methods
Jan
27
comment How shall I handle event loop exceptions?
some would just let the application crash
Jan
26
awarded  Nice Answer
Jan
26
answered Is the 'finally' portion of a 'try … catch … finally' construct even necessary?
Jan
26
comment Is it possible to make some methods invisible/non-usable to some classes in Java?
@paul but when it does go wrong you can then shout at the guilty party.
Jan
26
comment Is it possible to make some methods invisible/non-usable to some classes in Java?
it's called "trust in your team mates"
Jan
25
comment Should a lockfree queue use a condition variable?
@VF1 it lets the enqueuer skip signaling if the lock is already held at the danger of a missed signal for a dequeuer.
Jan
25
comment Should a lockfree queue use a condition variable?
@VF1 if there are items in the queue then they shouldn't even be touching the lock (or thread::yield).
Jan
25
comment Should a lockfree queue use a condition variable?
@RobertHarvey the consume_one implementation is very likely just T t; if(pop(t)){functor(t);return true;}return false;