News for hackers. Stuff that matters.
Re:Automatic bug-repair system fixes 10 times as many errors... by ryporter on Friday January 29, 2016 @10:11PM (#11000310)
This is undoubtedly cool research, but how useful is the automatic generation of a fix? In practice, finding the bug is by far the most important step. Once you've identified the problematic code, it's normally trivial to fix it.
Re:Automatic bug-repair system fixes 10 times as many errors... by anon987 on Friday January 29, 2016 @10:53PM (#11000395)
That makes me think of the amount of satisfaction one will receive pushing MIT's autofix-it button as opposed to those seconds or minutes when you've caught the fucker and go in for the final fix.

Those moments of updating the files: That little euphoria of finding the fix but needing to focus to get it done correctly and finally hitting enter for the last time...ahhh.

I'l take that instead.

Re:Automatic bug-repair system fixes 10 times as many errors... by themartorana on Saturday January 30, 2016 @01:17PM (#11002986)
Yeah but sometimes that is predated by unfamiliar or unwanted behavior in a production system and years being taken off one's life.
Re:Automatic bug-repair system fixes 10 times as many errors... by jrowley on Saturday January 30, 2016 @01:09AM (#11000767)
Well said, amen!
Re:Automatic bug-repair system fixes 10 times as many errors... by Consultant32452 on Friday January 29, 2016 @10:59PM (#11000406)
I'd be interested in a tool that simply fixes the bugs found with static code analysis tools like findbugs. Some of them aren't very meaningful, like dead code... but if it could make good choices about how to handle slightly more complex situations like NPEs and that sort of thing it could make a lot of large corporate code bases a lot less buggy.
Re:Automatic bug-repair system fixes 10 times as many errors... by spullara on Friday January 29, 2016 @11:57PM (#11000577)
IDEA does some of this.
Re:Automatic bug-repair system fixes 10 times as many errors... by petke on Saturday January 30, 2016 @01:49AM (#11000855)
If it can identify a bug and fix it then its fully automatic. If its good enough we could eventually give it the password to our source control systems and let it do its thing unsupervised. As a funny thought I imagine a future virus that gains write access to all github projects but instead of deleting everything it just fixes all the bugs.
Re:Automatic bug-repair system fixes 10 times as many errors... by ChuckMcM on Saturday January 30, 2016 @01:17AM (#11000791)
A better question is how many bugs does it find by inspection. I could easily see this as a step in a code review where it has the chance to flag potentially buggy code prior to committing it.
Re:Automatic bug-repair system fixes 10 times as many errors... by ryporter on Saturday January 30, 2016 @05:40AM (#11001407)
That's purely static analysis [1], a well-developed field with many existing tools across many languages. [2] One company, Coverity was purchased for $350 million. [3]

[1] https://en.wikipedia.org/wiki/Static_program_analysis

[2] https://en.wikipedia.org/wiki/List_of_tools_for_static_code_...

[3] https://en.wikipedia.org/wiki/Coverity

Re:Automatic bug-repair system fixes 10 times as many errors... by Outdoorsman on Friday January 29, 2016 @10:54PM (#11000397)
What immediately comes to mind is that trivial repairs may soon be done by "Prophet", or it's progeny, instead of a human...sobering...
Re:Automatic bug-repair system fixes 10 times as many errors... by viraptor on Saturday January 30, 2016 @12:15AM (#11000628)
Any tool that auto-fixes code seems to be abused as "normal to rely on" unfortunately. Yesterday it was "compilation warnings? code will still work". Today it's "semicolons? runtime can put them where needed". Tomorrow it will be "code bugs? prophet will fix it".
Re:Automatic bug-repair system fixes 10 times as many errors... by Outdoorsman on Saturday January 30, 2016 @12:23AM (#11000654)
Progeny is the key word in my reply...this sounds as if a move towards a more complex "auto-correction" is afoot...
Re:Automatic bug-repair system fixes 10 times as many errors... by onetimePete on Saturday January 30, 2016 @09:06AM (#11001829)
/TODO: Prophet- you know the drill.. i want some PID control here- but i am busy chatting up the secretary. Good Boy. Also Rick from Recruiting was fired today- with no replacement.. * */