Reputation
17,029
Top tag
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
2 33 67
Newest
 algorithms
Impact
~545k people reached

6h
comment Why ? Constructors cannot be declared as final?
What do you expect from a final constructor vs. a non-final constructor?
Aug
24
comment How to make sure people call methods in the right order?
regex won't be enough to verify nesting (even if you get around the extra problem you will introduce).
Aug
23
comment Why do some programming language executables end in “w?”
javaw is for without console
Aug
21
answered How to calculate min/max values of floating point numbers?
Aug
21
comment How to calculate min/max values of floating point numbers?
anything wrong with a<b?a:b and a>b?a:b
Aug
21
comment Collections.sort question
You can replace LCTile::getCoordinate with any other function that will take a Tile and return it's matching Coordinate. This could be a function in Board. However it's more efficient to put it in Tile.
Aug
21
answered Collections.sort question
Aug
18
comment Using a distributed system as an alternative to disk storage
a roundtrip over network is slower than roundtrip to the local disk especially when congested. Also data density of a magnetic platter is higher than DRAM.
Aug
16
comment How does Luhn algorithm relate to cryptograpic hash functions?
on wikipedia: " It is not intended to be a cryptographically secure hash function; it was designed to protect against accidental errors, not malicious attacks."
Aug
12
comment Is there any practical way for a linked node structure to be immutable?
@Carcigenicate there is a doubly linked list implemented for java.util.LinkedList. but that uses mutable nodes.
Aug
12
comment Is there any practical way for a linked node structure to be immutable?
@Carcigenicate no I'm saying that it's a mistake to try and fit a singly linked list with immutable nodes into the mold of java.util.List
Aug
12
comment Is there any practical way for a linked node structure to be immutable?
Creating a class according to an interface that doesn't match the underlying data structure/algorithm is a invitation to pain and inefficiencies.
Aug
12
answered Is there any practical way for a linked node structure to be immutable?
Aug
11
revised Why not just make non-parameterized queries return an error?
added 34 characters in body
Aug
11
answered Why not just make non-parameterized queries return an error?
Aug
3
answered How to avoid circular patterns in Node?
Aug
3
comment How to avoid circular patterns in Node?
The simple (X) fix is to just return the cleaned data and call doSomethingElse from module2
Jul
27
answered Incorporating functions into a Shunting-Yard algorithm implementation
Jul
21
answered Can programs of different languages communicate information without file io?
Jul
21
awarded  algorithms