

3·
2 years agoYou could make the same argument for voting. What does your little drop in the vote bucket matter? Do you believe voting is a waste of time too?
You could make the same argument for voting. What does your little drop in the vote bucket matter? Do you believe voting is a waste of time too?
I pasted 1k line C++ file into Gemini, along with a screenshot and a trace log and asked it to find the bug. It reasoned for about 5 minutes. Extract of the solution:
It correctly identified that
sqrt(_v[0]*_v[0] + _v[1]*_v[1] + _v[2]*_v[2]);
had too low precision and usingstd::hypot(_v[0], _v[1], _v[2])
would likely solve it.If this is just autocomplete, then I agree that it’s a pretty fancy one.