CONNECT WITH US
Gaming

Gaming

Linus Torvalds details his 'debug session from hell' pushing an AI to fix an error it repeatedly said was 'impossible and unsolvable'. He then made it write the report

PC Gamer logo

Published on

Add as a preferred source on Google
Linus Torvalds details his 'debug session from hell' pushing an AI to fix an error it repeatedly said was 'impossible and unsolvable'. He then made it write the report

Linux creator Linus Torvalds has famously been fairly hot and cold on generative AI in coding work, seeing a good purpose for it whilst also acknowledging a lack of quality control has led to a flood of unhelpful reports. Well, it seems like AI won't be fully replacing him just yet, as he's recently undergone a 'debug session from hell' where his AI assistant recommended he give up several times.

As spotted by International Cyber Digest, Linus took to a Linux Kernel commit to state all it took was "fixing a bogus 'round_up()' to a 'round_down()', but there were 24 patches adding more and more debug information to this, and 18 kernel boot to finally narrow it down to this."

This is a good example of where an AI might struggle to fix code, because it's not a syntax error or a bug, necessarily. The function is technically 'correct', it's just not doing what Torvalds wants it to. "The AI several times stated flat out that this was impossible and unsolvable," says Torvalds, "and that we should just write a report about it."

It seems like grit, determination, and stubbornness were what got the AI to behave in the end. Torvalds says, "I suspect those things have been trained by people who may not be quite as stubborn as I am."

Torvalds does praise the AI he's using, noting that, "while the AI was ready to give up several times, it did keep adding debug code and analyzing it faithfully when I pushed.


Source link

Disclaimer

We strive to uphold the highest ethical standards in all of our reporting and coverage. We TheMorningPulse.fyi want to be transparent with our readers about any potential conflicts of interest that may arise in our work. It's possible that some of the investors we feature may have connections to other businesses, including competitors or companies we write about. However, we want to assure our readers that this will not have any impact on the integrity or impartiality of our reporting. We are committed to delivering accurate, unbiased news and information to our audience, and we will continue to uphold our ethics and principles in all of our work. Thank you for your trust and support.