Software spots and fixes hang bugs in seconds, rather than weeks — ScienceDaily

Hang bugs — when software gets stuck, but doesn’t crash — can frustrate both users and programmers, taking weeks for companies to identify and fix. Now researchers from North Carolina State University have developed software that can spot and fix the problems in seconds.

“Many of us have experience with hang bugs — think of a time when you were on website and the wheel just kept spinning and spinning,” says Helen Gu, co-author of a paper on the work and a professor of computer science at NC State. “Because these bugs don’t crash the program, they’re hard to detect. But they can frustrate or drive away customers and hurt a company’s bottom line.”

With that in mind, Gu and her collaborators developed an automated program, called HangFix, that can detect hang bugs, diagnose the relevant problem, and apply a patch that corrects the root cause of the error. Video of Gu discussing the program can be found here.

The researchers tested a prototype of HangFix against 42 real-world hang bugs in 10 commonly used cloud server applications. The bugs were drawn from a database of hang bugs that programmers discovered affecting various websites. HangFix fixed 40 of the bugs in seconds.

“The remaining two bugs were identified and partially fixed, but required additional input from programmers who had relevant domain knowledge of the application,” Gu says.

For comparison, it took weeks or months to detect, diagnose and fix those hang bugs when they were first discovered.

“We’re optimistic that this tool will make hang bugs less common — and websites less frustrating for many users,” Gu says. “We are working to integrate Hangfix into InsightFinder.” InsightFinder is the AI-based IT operations and analytics startup founded by Gu.

The paper, “HangFix: Automatically Fixing Software Hang Bugs for Production Cloud Systems,”

This Best-Selling Gadget Will Help You Turn A Hot Coffee Into Iced Coffee In Literal Seconds

Despite what some haters may say, iced coffee is a viable drink of choice all year long. When you’re not in the mood for a hot beverage, iced coffee is a bit more refreshing, but it can be hard to make at home when you have to wait for your warm cup to cool down. Thankfully, other people seem to have this problem too, and that’s why the genius HyperChiller exists.



a cup of coffee on a table: The HyperChiller, a top-rated item on Amazon, cools down any drink in seconds using water technology which makes it dishwasher safe as well.


© Amazon
The HyperChiller, a top-rated item on Amazon, cools down any drink in seconds using water technology which makes it dishwasher safe as well.



HyperChiller by Maxi-Matic HC2 Patented instant Coffee/Beverage Cooler, Ready in One Minute, Reusable for Iced Tea, Wine, Spirits, Alcohol, Juice, 12.5 OZ, Black


© amazon.com
HyperChiller by Maxi-Matic HC2 Patented instant Coffee/Beverage Cooler, Ready in One Minute, Reusable for Iced Tea, Wine, Spirits, Alcohol, Juice, 12.5 OZ, Black

$24.99

Shop Now

As the name so cleverly suggests, the HyperChiller can cool down any drink in seconds, meaning you can get a fully hot cup of coffee from your Nespresso or Keurig and put it in the HyperChiller for it to become cold. The whole process takes 60 seconds at most, so for those who don’t have the time or patience in the morning to wait for their coffee to cool down, it’s an ideal purchase.

The HyperChiller uses water to cool down drinks, so all you have to do is fill it with water and place it in your freezer before use. This also means the product is totally dishwasher safe, unlike other similar products that might use artificial gels as a cooling method.

Arguably the best part, though, is that while the HyperChiller prides itself on just how quickly it can turn coffee from hot to iced, it works on any other drink too. If you forgot to chill a bottle of wine before happy hour or prefer your juice cold, you can use the HyperChiller