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

Apr
21
answered Linking against LGPL - How to share the code?
Apr
18
comment Would a “downcast if block” be a reasonable language feature?
not if the cast was designed to be falsy when not valid (C++ dynamic_cast does that)
Apr
18
comment Would a “downcast if block” be a reasonable language feature?
I've seen: if(auto b = cast(B)a){b.f2();}
Apr
18
answered How to make C++ template stack work with basic data types and compound variables?
Apr
17
reviewed Close How do people manage to write and maintain extremely complex and hard to read code?
Apr
17
answered How to design an IDisposable that unconditionally needs to be disposed?
Apr
16
answered The optimal recipe problem
Apr
15
comment Why must directories be empty before being deleted?
about that last point, not if there is no recycle bin like for flash disks
Apr
15
comment Why must directories be empty before being deleted?
unless you do rm -r which will clean it up recursively
Apr
15
comment How to make sure that reported issues are not caused by wrong credentials or typos of the client?
"Can you double check that you didn't mistype your password, please?"
Apr
15
comment Design Hash table with simple hash function
java's String has a default hashcode implementation that checks individual character codes (maps it to a 32 bit number)
Apr
12
answered Method naming advice required
Apr
12
comment Method naming advice required
that looks like a horrible idea, no offense, the method names don't really relate to what it's doing, only to how good it looks being used in a particular way.
Apr
11
comment Are (C) object files created with different compilers binary-compatible?
libs can be made compatible, I don't think obj are guaranteed to be
Apr
11
answered Simple Design for Singleton function in java for Kernel
Apr
10
comment Which automated analysis tools can find the heartbleed bug?
here's the commit that added the bug, why don't you test those tools against it
Apr
10
comment Which automated analysis tools can find the heartbleed bug?
did you see the source with the bug?
Apr
10
comment Search for the (slowly moving) number with penalty for too high test value
guess at 1/300 in the possible range
Apr
10
comment When to use a Singleton and when to use a static class
in most cases it should be neither
Apr
9
comment Dropping database in Grails is too easy. How to prevent accidental drops?
don't log into the DB with a user with the ability to drop tables