Skip to main content

This new tool from MIT can debug a program in a minute

If you’ve got a minute, you’ve got enough time to find bugs in your Ruby on Rails-based Web application. It’s not because you’re necessarily oh so adept at debugging your own code (though you may be), but rather thanks to a new tool from MIT. A new debugger from the Massachusetts Institute of Technology takes no more than 64 seconds to analyze any program and find its problems.

By taking advantage of certain idiosyncrasies inherent to the Ruby language, the MIT system was able to find 23 unnoticed security issues in 50 popular Web applications. But most impressive of all, the tool took no more than 64 seconds to analyze any single app.

Recommended Videos

This is made possible by Ruby’s reliance on defining very basic operations in libraries. When MIT researchers rewrote those libraries, the operations contained in those collections were forced to describe their behavior using a logical language. This, Katherine Noyes of the IDG News Service explains, “turns the Rails interpreter, which converts high-level Rails programs into machine-readable code, into a static-analysis tool that describes how data flows through the program.” Ultimately, researchers were left with a line-by-line breakdown of how a program interprets data.

MIT has named its debugging tool Space, and it focuses specifically on an application’s data-access procedures. This allows researchers to see what operations a user can exercise on certain data, and in what scenarios. Based on the descriptions the rewritten libraries provide, Space can tell how closely a program follows protocol — deviations suggest a security flaw.

“When you look at something like a Web application written in language like Ruby on Rails, if you try to do a conventional static analysis, you typically find yourself mired in this huge bog,” said Daniel Jackson, professor in the Department of Electrical Engineering and Computer Science in a statement to MIT News. “And this makes it really infeasible in practice.” But thanks to Space, scientists now have a much more feasible solution.

Full results of the study will be presented next month at the International Conference on Software Engineering held in Austin, Texas.

Lulu Chang
Fascinated by the effects of technology on human interaction, Lulu believes that if her parents can use your new app…
Hubble scientists create tool for erasing satellite trails from images
This image captures the streak of an Earth-orbiting artificial satellite crossing Hubble's field of view during an observation of "The Mice" interacting galaxies (NGC 4676). A typical satellite trail is very thin and will affect less than 0.5% of a single Hubble exposure. Though in this case the satellite overlaps a portion of the target galaxy, the observation quality is not affected. That's because multiple exposures are taken of the same target. And the satellite trail is not in other frames. Developers at the Space Telescope Science Institute in Baltimore, Maryland, have software that identifies the bad pixels from the satellite photobombing, the extent to which they affect the image, and then flags them. When flagged, scientists can recover the full field of view. Even as the number of satellites increases over the decade, these tools for cleaning the images will still be applicable.

With ever-increasing numbers of satellites in the sky, astronomers have repeatedly expressed worry over how these satellites could impact scientific research. Earlier this year, a study of Hubble Space Telescope observations showed how some images were being ruined by streaks of light coming from satellites -- and while only a small percentage of Hubble images were affected, the authors raised concerns that with the projected number of satellites set to explode in the next decade, the problem could become serious.

Now, astronomers at the Space Telescope Science Institute (STScI), which runs Hubble, have come up with a tool to deal with satellite streaks in Hubble images. "We developed a new tool to identify satellite trails that is an improvement over the previous satellite software because it is much more sensitive. So we think it will be better for identifying and removing satellite trails in Hubble images," said Dave Stark of STScI in a statement.

Read more
See the first image of Earth from a new weather-monitoring satellite
First image of the full Earth disc from the Meteosat Third Generation Imager. The first image from Meteosat Third Generation – Imager 1 (MTG-I1) reveals a level of detail about the weather over Europe and Africa not previously possible from 36 000 km above Earth. The higher-resolution images provided by the instruments on board give weather forecasters more information about the clouds cloaking much of Europe and visible in the equatorial region of Africa and the Atlantic Ocean. Sand and sediment in the waters off Italy are also visible, as well as dust or smog being carried from south Asia. This degree of detail is not possible from the instruments on the Meteosat Second Generation satellites. The image was captured at 11:50 UTC on 18 March 2023 by the Flexible Combined Imager on MTG-I1.

A recently launched weather satellite has sent back its first image of Earth, showing our planet in gorgeous detail. The European Meteosat Third Generation Imager-1 was launched in December of last year with the aim of monitoring weather conditions across Europe and Africa, and it took this image from its location 22,000 miles above the Earth's surface.

The image was taken using the high-resolution Flexible Combined Imager instrument in March 2023, showing the areas of cloud and clear skies that can be seen over the Atlantic Ocean, as well as the European and African land masses.

Read more
Why new OLED gaming monitors still can’t beat the best from last year
alienware 34 qd oled aw3423dw review 4

OLED gaming monitors are all the rage this year. I've reviewed nearly all the best of them, and although we're getting more, I have a pretty good idea about what 2023 holds in this developing space.

And yet, I still haven't found a display that trounces last year's Alienware 34 QD-OLED. I'm not going to pretend it's perfect -- I've complained about its insistent burn-in prompts in the past, for example. But it's the gold standard, and as I'll explain, its strengths go beyond what you can see on a spec sheet.
It's not a TV, it's a monitor

Read more