Reputation
9,293
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
3 42 44
Newest
 Enlightened
Impact
~424k people reached

Nov
29
comment Evaluate all pair combinations in an array for a condition in n log n time complexity
@Neil: no, we can't say that it's twice as long! That depends on the constant factors. If one O(n log n) operation has a constant factor (multiplier) of 5 and the other has one of 1, then they are together "O(2 n log n) = O(n log n)" but together only take 1.2 times as long as the first one alone. Either you look at all the precise performance characteristics (and thus leave big-O-land) or you stick to the rules and discard the constant factors.
Nov
28
comment Evaluate all pair combinations in an array for a condition in n log n time complexity
@Neil: O(2 n log n) = O(n log n). So unless we really inspect the constant factors involved, we can't really tell anything more based on just the big-O notation.
Nov
28
revised Evaluate all pair combinations in an array for a condition in n log n time complexity
deleted 8 characters in body
Nov
28
answered Evaluate all pair combinations in an array for a condition in n log n time complexity
Nov
25
comment Creating classes according to a struct
possible duplicate of Creating classes according to a struct
Nov
25
comment Implementing multiple generic Interfaces in java
sorry, but in my opinion one can not really "solve" a design problem and ignore naming. Design means understandable structures. Wrong naming is a problem to understanding.
Nov
25
comment Implementing multiple generic Interfaces in java
@estani: yes, they are somewhat tightly coupled, but they have distinct responsibilities. Also think about this: when you introduce a new class C and you want Something to be mappable to that, then you'd need to modify Something, which is too much coupling. Just adding a new SoemthingToCMapper is less intrusive.
Nov
25
comment Implementing multiple generic Interfaces in java
I don't think IMappable is a good name for something that maps other things. Mapper (or IMapper, if you must ;-)) is probably more correct. (By the way: no, that was not my downvote).
Nov
25
answered Implementing multiple generic Interfaces in java
Nov
21
comment Confusion with gpl license
Oh, and: you can't prevent the person you sold it to from simply giving it away. So you better make sure that your first sale pays for your work ;-)
Nov
8
comment Since Garbage Collection is non-deterministic, why isn't it used for secure random number generation?
@asmeurer: Quantum physics says that not everything is deterministic. And personally I do believe in quantum physics, but I'm still on the fence about fate ;-)
Nov
7
revised What is So Unique About Node.js?
typo
Nov
7
awarded  Good Answer
Nov
6
awarded  Enlightened
Nov
6
awarded  Guru
Nov
6
comment Languages supporting unicode logic operators
My guess is that it's the simple combination of "hard to type" and "even if your language would support it, you'd still need to know the other variants because of the languages that don't".
Nov
4
awarded  Good Answer
Nov
3
awarded  Nice Answer
Nov
3
answered Since Garbage Collection is non-deterministic, why isn't it used for secure random number generation?
Oct
29
revised Why is Internet Explorer the only browser to be referred to by version when talking about compatibility?
edited body; edited title