Rust 1.63 Released, Adding Scoped Threads

This week the Rust team announced the release of Rust 1.63.

One noteable update? Adding scoped threads to the standard library:

Rust code could launch new threads with std::thread::spawn since 1.0, but this function bounds its closure with ‘static. Roughly, this means that threads currently must have ownership of any arguments passed into their closure; you can’t pass borrowed data into a thread. In cases where the threads are expected to exit by the end of the function (by being join()’d), this isn’t strictly necessary and can require workarounds like placing the data in an Arc.

Now, with 1.63.0, the standard library is adding scoped threads, which allow spawning a thread borrowing from the local stack frame. The std::thread::scope API provides the necessary guarantee that any spawned threads will have exited prior to itself returning, which allows for safely borrowing data.
The official Rust RFC book says “The main drawback is that scoped threads make the standard library a little bit bigger,” but calls it “a very common and useful utility…great for learning, testing, and exploratory programming.

“Every person learning Rust will at some point encounter interaction of borrowing and threads. There’s a very important lesson to be taught that threads can in fact borrow local variables, but the standard library [didn’t] reflect this.” And otherwise, “Implementing scoped threads is very tricky to get right so it’s good to have a reliable solution provided by the standard library.”

Read more of this story at Slashdot.

Researchers: It’s ‘Unlikely’ There’s Water- or Ice-Saturated Layers Below InSight Mars Lander

Did Mars ever support life? One clue might be quantifying just how much ice (and other minerals) are lurking just below the planet’s surface, a team of researchers argued this month. “If life exists on Mars, that is where it would be,” they said in a news release this week. “There is no liquid water on the surface,” but in a contrary scenario, “subsurface life would be protected from radiation.”

Locating ice and minerals has another benefit too, they write in the journal Geophysical Research Letters: to “prepare for human exploration.” And fortunately, there’s a tool on the InSight lander (which touched down in 2018) that can help estimate the velocity of seismic waves inside the geological crust of Mars — velocities which change depending on which rock types are present, and which materials are filling pores within rocks (which could be ice, water, gas, or other mineral cements).

That’s the good news. But after running computer models of applied rock physics thousands and thousands of times, the researchers believe it’s unlikely that there’s any layers saturated with water (or ice) in the top 300 meters (1,000 feet) of the crust of Mars. “Model results confirm that the upper 300 meters of Mars beneath InSight is most likely composed of sediments and fractured basalts.”

The researchers reached a discouraging conclusion, reports Space.com “The chances of finding Martian life appear poor at in the vicinity of NASA’s InSight lander.”
The subsurface around the landing zone — an equatorial site chosen especially for its flat terrain and good marsquake potential — appears loose and porous, with few ice grains in between gaps in the crust, researchers said…. The equatorial region where InSight is working, in theory, should be able to host subsurface water, as conditions are cold enough even there for water to freeze. But the new finding is challenging scientists’ assumptions about possible ice or liquid water beneath the subsurface near InSight, whose job is to probe beneath the surface.

While images from the surface have suggested there might be sedimentary rock and lava flows beneath InSight, researchers’ models have uncertainties about porosity and mineral content. InSight is helping to fill in some of those gaps, and its new data suggests that “uncemented material” largely fills in the region blow the lander. That suggests little water is present, although more data needs to be collected.

It’s unclear how representative the InSight data is of the Martian subsurface in general, but more information may come courtesy of future missions. NASA is considering a Mars Life Explorer that would drill 6 feet (2 meters) below the surface to search for possible habitable conditions. Additionally, a proposed Mars Ice Mapper Mission could search for possible water reservoirs for human missions.

And of course, as the researchers point out in their announcement, “big ice sheets and frozen ground ice remain at the Martian poles.”

Read more of this story at Slashdot.

Nuclear Fusion Breakthrough Confirmed: California Team Achieved Ignition. Research Continues

“A major breakthrough in nuclear fusion has been confirmed a year after it was achieved at a laboratory in California,” reports Newsweek:

Researchers at Lawrence Livermore National Laboratory’s National Ignition Facility (NIF) recorded the first case of ignition on August 8, 2021, the results of which have now been published in three peer-reviewed papers….

Ignition during a fusion reaction essentially means that the reaction itself produced enough energy to be self-sustaining, which would be necessary in the use of fusion to generate electricity. If we could harness this reaction to generate electricity, it would be one of the most efficient and least polluting sources of energy possible. No fossil fuels would be required as the only fuel would be hydrogen, and the only by-product would be helium, which we use in industry and are actually in short supply of….

This landmark result comes after years of research and thousands of man hours dedicated to improving and perfecting the process: over 1,000 authors are included in the Physical Review Letters paper.

This week the laboratory said that breakthrough now puts researchers “at the threshold of fusion gain and achieving scientific ignition,” with the program’s chief scientist calling it “a major scientific advance in fusion research, which establishes that fusion ignition in the lab is possible at the National Ignition Facility.”

More news from this week’s announcement by the Lawrence Livermore National Laboratory:
Since the experiment last August, the team has been executing a series of experiments to attempt to repeat the performance and to understand the experimental sensitivities in this new regime. “Many variables can impact each experiment,” Kritcher said. “The 192 laser beams do not perform exactly the same from shot to shot, the quality of targets varies and the ice layer grows at differing roughness on each target….”

While the repeat attempts have not reached the same level of fusion yield as the August 2021 experiment, all of them demonstrated capsule gain greater than unity with yields in the 430-700 kJ range, significantly higher than the previous highest yield of 170 kJ from February 2021. The data gained from these and other experiments are providing crucial clues as to what went right and what changes are needed in order to repeat that experiment and exceed its performance in the future. The team also is utilizing the experimental data to further understanding of the fundamental processes of fusion ignition and burn and to enhance simulation tools in support of stockpile stewardship.

Looking ahead, the team is working to leverage the accumulated experimental data and simulations to move toward a more robust regime — further beyond the ignition cliff — where general trends found in this new experimental regime can be better separated from variability in targets and laser performance. Efforts to increase fusion performance and robustness are underway via improvements to the laser, improvements to the targets and modifications to the design that further improve energy delivery to the hotspot while maintaining or even increasing the hot-spot pressure. This includes improving the compression of the fusion fuel, increasing the amount of fuel and other avenues.

“It is extremely exciting to have an ‘existence proof’ of ignition in the lab,” said Omar Hurricane, chief scientist for the lab’s inertial confinement fusion program. “We’re operating in a regime that no researchers have accessed since the end of nuclear testing, and it’s an incredible opportunity to expand our knowledge as we continue to make progress.”
Thanks to long-time Slashdot reader hesdeadjim99 for sharing the news.

Read more of this story at Slashdot.

Ransomware Causes ‘Major’, Long-Lasting Outage for UK Health Service’s Patient Notes

The Independent reports that the UK’s National Health System is experiencing a major outage “expected to last for more than three weeks” after a third-party supplying the NHS’s “CareNotes” software was hit by ransomware.

Unfortunately, this leaves doctors unable to see their notes on patients, and the mental health trusts that provide care “across the country will be left unable to access patient notes for weeks, and possibly months.”

Oxford Health NHS Foundation Trust has declared a critical incident over the outage, which is believed to affect dozens of trusts, and has told staff it is putting emergency plans in place. One NHS trust chief said the situation could possibly last for “months” with several mental health trusts, and there was concern among leaders that the problem is not being prioritised.

In an email to staff, Oxford Health NHS Foundation Trust chief executive Nick Broughton, said: “The cyberattack targeted systems used to refer patients for care, including ambulances being dispatched, out of hours appointment bookings, triage, out of hours care, emergency prescriptions and safety alerts. It also targeted the finance system used by the trust…. An NHS director said: “The whole thing is down. It’s really alarming…we’re carrying a lot of risk as a result of it because you can’t get records and details of assessments, prescribing, key observations, medical mental health act observations. You can’t see any of it…Staff are going to have to write everything down and input it later.”

They added: “There is increased risk to patients. We’re finding it hard to discharge people, for example to housing providers, because we can’t access records.”

“‘Weeks’ is an unreasonable period,” argues Slashdot reader Bruce66423, wondering why it couldn’t be resolved with a seemingly simple restore from backups?

And Alan Woodward, a professor of cybersecurity at Surrey University, warns the Guardian that “Even if it was ransomware … that doesn’t mean data was not stolen.”

Read more of this story at Slashdot.

Are Space Scientists Ready For Starship – the Biggest Rocket Ever?

Slashdot reader sciencehabit shared this thought-provoking anecdote from Science magazine:

NASA’s Lunar Crater Observation and Sensing Satellite mission was brutish and short. It began on 9 October 2009, when the hull of a spent Centaur rocket stage smashed into Cabeus crater, near the south pole of the Moon, with the force of about 2 tons of TNT. And it ended minutes later, when a trailing spacecraft flew through and analyzed the lofted plume of debris before it, too, crashed. About 6% of the plume was water, presumably from ice trapped in the shadowed depths of the crater, where the temperature never rises above -173ÂC. The Moon, it turned out, wasn’t as bone dry as the Apollo astronauts believed. “That was our first ground truth that there is water ice,” says Jennifer Heldmann, a planetary scientist at NASA’s Ames Research Center who worked on the mission.

Today, Heldmann wants to send another rocket to probe lunar ice — but not on a one-way trip. She has her eye on Starship, a behemoth under development by private rocket company SpaceX that would be the largest flying object the world has ever seen. With Starship, Heldmann could send 100 tons to the Moon, more than twice the lunar payload of the Saturn V, the workhorse of the Apollo missions. She dreams of delivering robotic excavators and drills and retrieving ice in freezers onboard Starship, which could return to Earth with tens of tons of cargo. By analyzing characteristics such as the ice’s isotopic composition and its depth, she could learn about its origin: how much of it came from a bombardment of comets and asteroids billions of years ago versus slow, steady implantation by the solar wind. She could also find out where the ice is abundant and pure enough to support human outposts. “It’s high-priority science, and it’s also critical for exploration,” Heldmann says.

When SpaceX CEO Elon Musk talks up Starship, it’s mostly about human exploration: Set up bases on Mars and make humans a multiplanetary species! Save civilization from extinction! But Heldmann and many others believe the heavy lifter could also radically change the way space scientists work. They could fly bigger and heavier instruments more often — and much more cheaply, if SpaceX’s projections of cargo launch costs as low as $10 per kilogram are to be believed. On Mars, they could deploy rovers not as one-offs, but in herds. Space telescopes could grow, and fleets of satellites in low-Earth orbit could become commonplace. Astronomy, planetary science, and Earth observation could all boldly go, better than they ever have before.

Of course, Starship isn’t real yet. All eyes will be on a first orbital launch test, expected sometime in the coming months.
Starship would’ve made it easier to deploy the massive James Webb Space Telescope, the article points out, while in the future Starship’s extra fuel capacity could make it easier to explore Mercury, earth’s outermost planets, and even interstellar space. In fact, Heldmann and colleagues have now suggested that NASA create a dedicated funding line for missions relying on Starship. Heldmann argues that “We on the science side need to be ready to take advantage of those capabilities when they come online.”

The article notes that at an event in February, Elon Musk “explained how a single Starship, launching three times per week, would loft more than 15,000 tons to orbit in a year — about as much as all the cargo that has been lifted in the entire history of spaceflight.”

Read more of this story at Slashdot.

Baidu Has China’s First Permits For Fully Driverless Robotaxi Services

China’s first fully autonomous, commercial robotaxi rides — with no safety drivers — are about to open for public passengers in Wuhan and Chongqing, marking an inflection point for one of the key technological revolutions of the 21st century. New Atlas reports: The two newly-issued permits allow Baidu to charge for driverless rides within a 13-sq-km (5-sq-mi) area in Wuhan, between 9 am and 5 pm, and within a larger 30-sq-km (11.6-sq-mi) zone in Chonqing’s Yongchuan district between 9.30 am and 5.30 pm — so while they’re currently set to avoid peak hours, they’ll be mixing it up with plenty of daytime traffic. Each zone will run five 5th-generation Apollo cars, with remote drivers ready to assume control if the vehicles get themselves into any sticky situations. Home base will be watching closely through the cars’ camera systems, particularly in these early days.

Baidu’s Apollo Go is already the world’s biggest robotaxi company, with operations already live in all tier-one Chinese cities using the same 5th-gen car, with backup drivers on board. The company recently revealed its 6th-gen design, its first ground-up fully autonomous car for mass production. The Apollo RT6 will cost just RMB 250,000 (US$37,000) to manufacture, says Baidu, and its optional, removable steering wheel and generous, configurable cabin space will make it one of the first proper mobility pod-type services when it hits the streets commercially in 2023.

Read more of this story at Slashdot.

NetBSD 9.3: A 2022 OS That Can Run On Late-1980s Hardware

Version 9.3 of NetBSD is here, able to run on very low-end systems and with that authentic early-1990s experience. The Register reports: Version 9.3 comes some 15 months after NetBSD 9.2 and boasts new and updated drivers, improved hardware support, including for some recent AMD and Intel processors, and better handling of suspend and resume. The next sentence in the release announcement, though, might give some readers pause: “Support for wsfb-based X11 servers on the Commodore Amiga.” This is your clue that we are in a rather different territory from run-of-the-mill PC operating systems here. A notable improvement in NetBSD 9.3 is being able to run a graphical desktop on an Amiga. This is a 2022 operating system that can run on late-1980s hardware, and there are not many of those around.

NetBSD supports eight “tier I” architectures: 32-bit and 64-bit x86 and Arm, plus MIPS, PowerPC, Sun UltraSPARC, and the Xen hypervisor. Alongside those, there are no less than 49 “tier II” supported architectures, which are not as complete and not everything works — although almost all of them are on version 9.3 except for the version for original Acorn computers with 32-bit Arm CPUs, which is still only on NetBSD 8.1. There’s also a “tier III” for ports which are on “life support” so there may be a risk Archimedes support could drop to that. This is an OS that can run on 680×0 hardware, DEC VAX minicomputers and workstations, and Sun 2, 3, and 32-bit SPARC boxes. In other words, it reaches back as far as some 1970s hardware. Let this govern your expectations. For instance, in VirtualBox, if you tell it you want to create a NetBSD guest, it disables SMP support.

Read more of this story at Slashdot.

Facebook Will Begin Testing End-To-End Encryption As Default On Messenger App

Facebook announced on Thursday it will begin testing end-to-end encryption as the default option for some users of its Messenger app on Android and iOS. The Guardian reports: Facebook messenger users currently have to opt in to make their messages end-to-end encrypted (E2E), a mechanism that theoretically allows only the sender and recipient of a message to access its content. Facebook spokesperson Alex Dziedzan said on Thursday that E2E encryption is a complex feature to implement and that the test is limited to a couple of hundred users for now so that the company can ensure the system is working properly. Dziedzan also said the move was “not a response to any law enforcement requests.” Meta, Facebook’s parent company, said it had planned to roll out the test for months. The company had previously announced plans to make E2E encryption the default in 2022 but pushed the date back to 2023. “The only way for companies like Facebook to meaningfully protect people is for them to ensure that they do not have access to user data or communications when a law enforcement agency comes knocking,” Evan Greer, the director of the digital rights group Fight for the Future, said. “Expanding end-to-end encryption by default is a part of that, but companies like Facebook also need to stop collecting and retaining so much intimate information about us in the first place.”

Read more of this story at Slashdot.

28 Years Later, Super Punch-Out!!’s 2-Player Mode Has Been Discovered

Hmmmmmm shares a report from Ars Technica: While Punch-Out!! has been one of Nintendo’s most beloved “fighting” series since its 1984 debut in arcades, it has rarely featured something common in the genre: a two-player mode. On Monday, however, that changed. The resulting discovery has been hiding in plain sight on the series’ Super Nintendo edition for nearly 30 years. Should you own 1994’s Super Punch-Out!! in any capacity — an original SNES cartridge, a dumped ROM parsed by an emulator, on the Super Nintendo Classic Edition, or even as part of the paid Nintendo Switch Online collection of retro games — you can immediately access the feature, no hacking or ROM editing required. All you need is a pair of gamepads.

[T]oday’s Super Punch-Out!! discovery revolves around a simple series of button combinations, which require nothing more than a second controller. The two-player mode is hidden behind an additional, previously undiscovered menu, which lets solo players skip directly to any of the game’s boxing combatants. It’s essentially a “level select” menu, which many classic games featured for internal testing, and speedrunners could arguably use it to practice against specific opponents more quickly.

This menu can be accessed by holding the R and Y buttons on player two’s controller at the “press start” screen, then pressing Start or A with player one’s controller. Do this, and a new menu appears, displaying all 16 boxers’ profile icons. Pick any of these icons to engage in a one-off fight; once it’s over, you’re dumped back to the same boxer-select menu. In this menu, friends can access a two-player fight if player two holds their B and Y buttons down until the match starts. You won’t hear a sound effect or any other indication that it worked. Instead, the match will begin with the second player controlling the “boss” boxer at the top of the screen. Combine the “ABXY” array of buttons with “up” and “down” on the D-pad to pull off every single basic and advanced attack. All credit goes to the coder responsible for the new @new_cheats_news account on Twitter, notes Ars.

Read more of this story at Slashdot.