Reputation
Next tag badge:
84/100 score
32/20 answers
Badges
2 42 104
Newest
 Nice Answer
Impact
~1.0m people reached

Mar
22
awarded  Revival
Mar
20
awarded  Curious
Mar
8
comment Convert x and y velocity to x and y velocity relative to another point
you are over-thinking the problem. There are only two equations to apply: P' = P + V dt and V' = V + A dt. When P is moving away from G then its speed will decrease.
Mar
7
answered Convert x and y velocity to x and y velocity relative to another point
Mar
6
comment Can a Java Boolean be used for ternary (3-state) logic?
What about FILE_NOT_FOUND ?
Mar
6
comment Line intersection detection algorithm
Post an outline of what you are doing now
Mar
4
comment What programming technique is this?
I think memoization is the general technique, caching is an implementation of memoization.
Feb
20
awarded  Necromancer
Feb
11
awarded  Yearling
Jan
10
comment Never use Strings in Java?
@RichardTingle: The time to recompile the code and restart the JVM for every code change. The time lost when you make a source-compatible but binary-incompatible change and things that need to be recompiled aren't and you get "MissingMethodException".
Jan
6
answered Big O of 2 interesting Algorithmic functions
Dec
23
comment How to use multiple programming languages together in the same program?
LUA is often used as a scripting layer for C++ applications.
Dec
19
comment What programming mindset to have towards JavaScript?
It's only confusing if you expect it to be like statically-typed OO.
Dec
19
comment Fast algorithm to search a sorted array of floats to find the pair of floats bracketing an input value
This is essentially the same as a binary search.
Dec
19
answered Algorithm to find the fewest number of values (from a set of values) where the sum equals a value (+ one more condition)
Dec
16
answered Concept for dealing with recurring appointments
Dec
16
comment Best way to find whether a collection does or does not contain an element with a specific desired quality
and that's a whole lot of code for a questionable performance gain.
Dec
15
comment Confusion about associations in UML class diagram
@Mike: That's the problem with domain-driven design. It never ends. Sure, people need to fly on planes. But they don't teleport themselves onto the aircraft, so we better add "Gate" and "GateAssignment". And those planes require regular maintenance, so we better add "MaintenanceSchedule" and "Mechanic" and "MaintenanceTask" and ...
Dec
15
comment Why interviewers want Optimal Algorithms
-1: I don't know where you have interviewed. I have had a couple of interviews like that at places I wouldn't want to work. Better shops want to see a candidate demonstrate some understanding and some problem-solving ability.
Dec
15
comment Best way to find whether a collection does or does not contain an element with a specific desired quality
It's not enough for the inner containers to be immutable. Your suggestion only works if the objects in the collection are also immutable.