11,928 reputation
22247
bio website
location
age
visits member for 3 years, 2 months
seen 9 hours ago

Sep
25
answered Best practices for refactoring parameter file structure in multiple environments
Sep
25
comment Git temporary code-change
could you use conditional compilation?
Sep
24
answered Using Java Reflection to decouple code modules
Sep
24
comment Will a binary include methods that are not called in the source code?
@JamieTaylor before you defend your code against reflection read programmers.stackexchange.com/questions/101351
Sep
24
comment How to deal with the notion of time in UI/Integration tests
for many things that require outside persistent state in tests it is common to mock the interface to it so it always returns a predictable value, you could do the same for the system time...
Sep
23
comment Will a binary include methods that are not called in the source code?
@JamieTaylor there are some heuristics with which you can say a method wasn't called but there will be holes anytime someone clever comes along
Sep
23
comment Why normalization improves numerical precision?
it allows the mean to be closer to 0 and as such lets the (absolute) accuracy of the intermediate results be much higher in floating point representation
Sep
23
revised Will a binary include methods that are not called in the source code?
added 6 characters in body
Sep
23
answered Will a binary include methods that are not called in the source code?
Sep
19
awarded  Enlightened
Sep
19
awarded  Nice Answer
Sep
19
comment Building and Debugging an IDE using the same IDE
don't get confused about which window is the IDE that is being debugged
Sep
19
comment Is copyrights notice of a BSD licensed library considered as endorsement?
@SamirSabri the only foolproof way is to (let a lawyer) read the full text of the license
Sep
19
answered Are there any valid use-cases for eager boolean evaluation?
Sep
19
comment Which of these two shuffle algorithms is more random?
this answer would be complete if you point out that this is exactly what version 1 is
Sep
19
comment Which of these two shuffle algorithms is more random?
@robosoul the asList just provides a fixed length facade where each set gets propagated back to array. The returned list there implements randomAccess so shuffle doesn't convert back to an array and shuffles in-place. Told you they were smart ;)
Sep
19
answered Which of these two shuffle algorithms is more random?
Sep
18
comment Is it good practice to return an array of objects?
@MichaelT or a read only view
Sep
18
answered Is it good practice to return an array of objects?
Sep
17
comment Why do some websites showing 0 bytes in Chrome's developer tools
and if you do a ctrl+F5 (a cache bypassing reload)